Module tdlight.api

Class TdApi.MessageReplyInfo

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

public static final class TdApi.MessageReplyInfo extends TdApi.Object
Contains information about replies to a message.
  • Field Details

    • replyCount

      public int replyCount
      Number of times the message was directly or indirectly replied.
    • recentReplierIds

      public TdApi.MessageSender[] recentReplierIds
      Identifiers of at most 3 recent repliers to the message; available in channels with a discussion supergroup. The users and chats are expected to be inaccessible: only their photo and name will be available.
    • lastReadInboxMessageId

      public long lastReadInboxMessageId
      Identifier of the last read incoming reply to the message.
    • lastReadOutboxMessageId

      public long lastReadOutboxMessageId
      Identifier of the last read outgoing reply to the message.
    • lastMessageId

      public long lastMessageId
      Identifier of the last reply to the message.
    • CONSTRUCTOR

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

    • MessageReplyInfo

      public MessageReplyInfo()
      Contains information about replies to a message.
    • MessageReplyInfo

      public MessageReplyInfo(int replyCount, TdApi.MessageSender[] recentReplierIds, long lastReadInboxMessageId, long lastReadOutboxMessageId, long lastMessageId)
      Contains information about replies to a message.
      Parameters:
      replyCount - Number of times the message was directly or indirectly replied.
      recentReplierIds - Identifiers of at most 3 recent repliers to the message; available in channels with a discussion supergroup. The users and chats are expected to be inaccessible: only their photo and name will be available.
      lastReadInboxMessageId - Identifier of the last read incoming reply to the message.
      lastReadOutboxMessageId - Identifier of the last read outgoing reply to the message.
      lastMessageId - Identifier of the last reply to the message.
    • MessageReplyInfo

      public MessageReplyInfo(DataInput input) throws IOException
      Contains information about replies 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