Module tdlight.api

Class TdApi.GetMessageAvailableReactions

Enclosing class:
TdApi

public static final class TdApi.GetMessageAvailableReactions extends TdApi.Function<TdApi.AvailableReactions>
Returns reactions, which can be added to a message. The list can change after updateReactions, updateChatAvailableReactions for the chat, or updateMessageInteractionInfo for the message. The method will return Premium reactions, even the current user has no Premium subscription. Returns AvailableReactions
  • Field Details

    • chatId

      public long chatId
      Identifier of the chat to which the message belongs.
    • messageId

      public long messageId
      Identifier of the message.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetMessageAvailableReactions

      public GetMessageAvailableReactions()
      Returns reactions, which can be added to a message. The list can change after updateReactions, updateChatAvailableReactions for the chat, or updateMessageInteractionInfo for the message. The method will return Premium reactions, even the current user has no Premium subscription. Returns AvailableReactions
    • GetMessageAvailableReactions

      public GetMessageAvailableReactions(long chatId, long messageId)
      Returns reactions, which can be added to a message. The list can change after updateReactions, updateChatAvailableReactions for the chat, or updateMessageInteractionInfo for the message. The method will return Premium reactions, even the current user has no Premium subscription. Returns AvailableReactions
      Parameters:
      chatId - long Identifier of the chat to which the message belongs.
      messageId - long Identifier of the message.
    • GetMessageAvailableReactions

      public GetMessageAvailableReactions(DataInput input) throws IOException
      Returns reactions, which can be added to a message. The list can change after updateReactions, updateChatAvailableReactions for the chat, or updateMessageInteractionInfo for the message. The method will return Premium reactions, even the current user has no Premium subscription. Returns AvailableReactions
      Throws:
      IOException
  • Method Details