public static class TdApi.ToggleBotCanManageEmojiStatus extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
User identifier of the bot.
|
boolean |
canManageEmojiStatus
Pass true if the bot is allowed to change emoji status of the user; pass false otherwise.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
ToggleBotCanManageEmojiStatus()
Default constructor for a function, which toggles whether the bot can manage emoji status of the current user.
|
ToggleBotCanManageEmojiStatus(long botUserId,
boolean canManageEmojiStatus)
Creates a function, which toggles whether the bot can manage emoji status of the current user.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long botUserId
public boolean canManageEmojiStatus
public static final int CONSTRUCTOR
public ToggleBotCanManageEmojiStatus()
Returns Ok
public ToggleBotCanManageEmojiStatus(long botUserId,
boolean canManageEmojiStatus)
Returns Ok
botUserId - User identifier of the bot.canManageEmojiStatus - Pass true if the bot is allowed to change emoji status of the user; pass false otherwise.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object