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

public static class TdApi.ToggleBotCanManageEmojiStatus extends TdApi.Function<TdApi.Ok>
Toggles whether the bot can manage emoji status of the current user.

Returns Ok

  • Field Details

    • botUserId

      public long botUserId
      User identifier of the bot.
    • canManageEmojiStatus

      public boolean canManageEmojiStatus
      Pass true if the bot is allowed to change emoji status of the user; pass false otherwise.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR