public static class TdApi.SetProfileAccentColor extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
profileAccentColorId
Identifier of the accent color to use for profile; pass -1 if none.
|
long |
profileBackgroundCustomEmojiId
Identifier of a custom emoji to be shown on the user's profile photo background; 0 if none.
|
| Constructor and Description |
|---|
SetProfileAccentColor()
Default constructor for a function, which changes accent color and background custom emoji for profile of the current user; for Telegram Premium users only.
|
SetProfileAccentColor(int profileAccentColorId,
long profileBackgroundCustomEmojiId)
Creates a function, which changes accent color and background custom emoji for profile of 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 profileAccentColorId
public long profileBackgroundCustomEmojiId
public static final int CONSTRUCTOR
public SetProfileAccentColor()
Returns Ok
public SetProfileAccentColor(int profileAccentColorId,
long profileBackgroundCustomEmojiId)
Returns Ok
profileAccentColorId - Identifier of the accent color to use for profile; pass -1 if none.profileBackgroundCustomEmojiId - Identifier of a custom emoji to be shown on the user's profile photo background; 0 if none.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object