Module tdlight.api

Class TdApi.GetMessageAddedReactions

Enclosing class:
TdApi

public static final class TdApi.GetMessageAddedReactions extends TdApi.Function<TdApi.AddedReactions>
Returns reactions added for a message, along with their sender. Returns AddedReactions
  • Field Details

    • chatId

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

      public long messageId
      Identifier of the message.
    • reactionType

      public TdApi.ReactionType reactionType
      Type of the reactions to return; pass null to return all added reactions.
    • offset

      public String offset
      Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
    • limit

      public int limit
      The maximum number of reactions to be returned; must be positive and can't be greater than 100.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetMessageAddedReactions

      public GetMessageAddedReactions()
      Returns reactions added for a message, along with their sender. Returns AddedReactions
    • GetMessageAddedReactions

      public GetMessageAddedReactions(long chatId, long messageId, TdApi.ReactionType reactionType, String offset, int limit)
      Returns reactions added for a message, along with their sender. Returns AddedReactions
      Parameters:
      chatId - long Identifier of the chat to which the message belongs.
      messageId - long Identifier of the message.
      reactionType - ReactionType Type of the reactions to return; pass null to return all added reactions.
      offset - String Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
      limit - int The maximum number of reactions to be returned; must be positive and can't be greater than 100.
    • GetMessageAddedReactions

      public GetMessageAddedReactions(DataInput input) throws IOException
      Returns reactions added for a message, along with their sender. Returns AddedReactions
      Throws:
      IOException
  • Method Details