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.
    • reaction

      public String reaction
      If non-empty, only added reactions with the specified text representation will be returned.
    • 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, String reaction, 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.
      reaction - String If non-empty, only added reactions with the specified text representation will be returned.
      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