public static class TdApi.SetAccentColor 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.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
SetAccentColor()
Default constructor for a function, which changes accent color and background custom emoji for the current user; for Telegram Premium users only.
|
SetAccentColor(int accentColorId,
long backgroundCustomEmojiId)
Creates a function, which changes accent color and background custom emoji for the current user; for Telegram Premium users only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int accentColorId
public long backgroundCustomEmojiId
public static final int CONSTRUCTOR
public SetAccentColor()
Returns Ok
public SetAccentColor(int accentColorId,
long backgroundCustomEmojiId)
Returns Ok
accentColorId - Identifier of the accent color to use.backgroundCustomEmojiId - Identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object