Class TdApi.SetChatAvailableReactions

Enclosing class:
TdApi

public static class TdApi.SetChatAvailableReactions extends TdApi.Function<TdApi.Ok>
Changes reactions, available in a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo member right.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Identifier of the chat.
    • availableReactions

      public TdApi.ChatAvailableReactions availableReactions
      Reactions available in the chat. All explicitly specified emoji reactions must be active. In channel chats up to the chat's boost level custom emoji reactions can be explicitly specified.
    • CONSTRUCTOR

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

    • SetChatAvailableReactions

      public SetChatAvailableReactions()
      Default constructor for a function, which changes reactions, available in a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo member right.

      Returns Ok

    • SetChatAvailableReactions

      public SetChatAvailableReactions(long chatId, TdApi.ChatAvailableReactions availableReactions)
      Creates a function, which changes reactions, available in a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo member right.

      Returns Ok

      Parameters:
      chatId - Identifier of the chat.
      availableReactions - Reactions available in the chat. All explicitly specified emoji reactions must be active. In channel chats up to the chat's boost level custom emoji reactions can be explicitly specified.
  • 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