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 Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    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

    Constructors
    Constructor
    Description
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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.Object
      Returns:
      this.CONSTRUCTOR