Package org.drinkless.tdlib
Class TdApi.ToggleBotCanManageEmojiStatus
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.ToggleBotCanManageEmojiStatus
- Enclosing class:
- TdApi
Toggles whether the bot can manage emoji status of the current user.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
User identifier of the bot.boolean
Pass true if the bot is allowed to change emoji status of the user; pass false otherwise.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
botUserId
public long botUserIdUser identifier of the bot. -
canManageEmojiStatus
public boolean canManageEmojiStatusPass true if the bot is allowed to change emoji status of the user; pass false otherwise. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ToggleBotCanManageEmojiStatus
public ToggleBotCanManageEmojiStatus()Default constructor for a function, which toggles whether the bot can manage emoji status of the current user.Returns
Ok
-
ToggleBotCanManageEmojiStatus
public ToggleBotCanManageEmojiStatus(long botUserId, boolean canManageEmojiStatus) Creates a function, which toggles whether the bot can manage emoji status of the current user.Returns
Ok
- Parameters:
botUserId
- User identifier of the bot.canManageEmojiStatus
- Pass true if the bot is allowed to change emoji status of the user; pass false otherwise.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-