public static class TdApi.SetUserEmojiStatus extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.EmojiStatus |
emojiStatus
New emoji status; pass null to switch to the default badge.
|
long |
userId
Identifier of the user.
|
| Constructor and Description |
|---|
SetUserEmojiStatus()
Default constructor for a function, which changes the emoji status of a user; for bots only.
|
SetUserEmojiStatus(long userId,
TdApi.EmojiStatus emojiStatus)
Creates a function, which changes the emoji status of a user; for bots only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public TdApi.EmojiStatus emojiStatus
public static final int CONSTRUCTOR
public SetUserEmojiStatus()
Returns Ok
public SetUserEmojiStatus(long userId,
TdApi.EmojiStatus emojiStatus)
Returns Ok
userId - Identifier of the user.emojiStatus - New emoji status; pass null to switch to the default badge.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object