Class TdApi.SetUserEmojiStatus

Enclosing class:
TdApi

public static class TdApi.SetUserEmojiStatus extends TdApi.Function<TdApi.Ok>
Changes the emoji status of a user; for bots only.

Returns Ok

  • Field Details

    • userId

      public long userId
      Identifier of the user.
    • emojiStatus

      public TdApi.EmojiStatus emojiStatus
      New emoji status; pass null to switch to the default badge.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • SetUserEmojiStatus

      public SetUserEmojiStatus()
      Default constructor for a function, which changes the emoji status of a user; for bots only.

      Returns Ok

    • SetUserEmojiStatus

      public SetUserEmojiStatus(long userId, TdApi.EmojiStatus emojiStatus)
      Creates a function, which changes the emoji status of a user; for bots only.

      Returns Ok

      Parameters:
      userId - Identifier of the user.
      emojiStatus - New emoji status; pass null to switch to the default badge.
  • 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