public static class TdApi.SetChatAccentColor extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
int |
accentColorId
Identifier of the accent color to use.
|
long |
backgroundCustomEmojiId
Identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none.
|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
SetChatAccentColor()
Default constructor for a function, which changes accent color and background custom emoji of a channel chat.
|
SetChatAccentColor(long chatId,
int accentColorId,
long backgroundCustomEmojiId)
Creates a function, which changes accent color and background custom emoji of a channel chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public int accentColorId
public long backgroundCustomEmojiId
public static final int CONSTRUCTOR
public SetChatAccentColor()
Returns Ok
public SetChatAccentColor(long chatId,
int accentColorId,
long backgroundCustomEmojiId)
Returns Ok
chatId - Chat identifier.accentColorId - Identifier of the accent color to use. The chat must have at least accentColor.minChannelChatBoostLevel boost level to pass the corresponding color.backgroundCustomEmojiId - Identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none. Use chatBoostLevelFeatures.canSetBackgroundCustomEmoji to check whether a custom emoji can be set.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object