- Enclosing class:
- TdApi
Changes the background in a specific
chat. Supported only in private and
secret chats with non-deleted users.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionThe input background to use; pass null to create a new filled background or to remove the current background.long
Chat identifier.static final int
int
Dimming of the background in dark themes, as a percentage; 0-100.Background type; pass null to remove the current background. -
Constructor Summary
ConstructorDescriptionChanges the background in a specific chat.SetChatBackground
(long chatId, TdApi.InputBackground background, TdApi.BackgroundType type, int darkThemeDimming) Changes the background in a specific chat.SetChatBackground
(DataInput input) Changes the background in a specific chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
background
The input background to use; pass null to create a new filled background or to remove the current background. -
type
Background type; pass null to remove the current background. -
darkThemeDimming
public int darkThemeDimmingDimming of the background in dark themes, as a percentage; 0-100. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetChatBackground
public SetChatBackground()Changes the background in a specific chat. Supported only in private and secret chats with non-deleted users. ReturnsOk
-
SetChatBackground
public SetChatBackground(long chatId, TdApi.InputBackground background, TdApi.BackgroundType type, int darkThemeDimming) Changes the background in a specific chat. Supported only in private and secret chats with non-deleted users. ReturnsOk
- Parameters:
chatId
- long Chat identifier.background
- InputBackground The input background to use; pass null to create a new filled background or to remove the current background.type
- BackgroundType Background type; pass null to remove the current background.darkThemeDimming
- int Dimming of the background in dark themes, as a percentage; 0-100.
-
SetChatBackground
Changes the background in a specific chat. Supported only in private and secret chats with non-deleted users. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-