Module tdlight.api

Class TdApi.AddedReactions

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.AddedReactions
Enclosing class:
TdApi

public static final class TdApi.AddedReactions extends TdApi.Object
Represents a list of reactions added to a message.
  • Field Details

    • totalCount

      public int totalCount
      The total number of found reactions.
    • reactions

      public TdApi.AddedReaction[] reactions
      The list of added reactions.
    • nextOffset

      public String nextOffset
      The offset for the next request. If empty, there are no more results.
    • CONSTRUCTOR

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

    • AddedReactions

      public AddedReactions()
      Represents a list of reactions added to a message.
    • AddedReactions

      public AddedReactions(int totalCount, TdApi.AddedReaction[] reactions, String nextOffset)
      Represents a list of reactions added to a message.
      Parameters:
      totalCount - The total number of found reactions.
      reactions - The list of added reactions.
      nextOffset - The offset for the next request. If empty, there are no more results.
    • AddedReactions

      public AddedReactions(DataInput input) throws IOException
      Represents a list of reactions added to a message.
      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • 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
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object