java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageReplyInfo
- Enclosing class:
- TdApi
Contains information about replies to a message.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
Identifier of the last reply to the message.long
Identifier of the last read incoming reply to the message.long
Identifier of the last read outgoing reply to the message.Identifiers of at most 3 recent repliers to the message; available in channels with a discussion supergroup.int
Number of times the message was directly or indirectly replied. -
Constructor Summary
ConstructorDescriptionContains information about replies to a message.MessageReplyInfo
(int replyCount, TdApi.MessageSender[] recentReplierIds, long lastReadInboxMessageId, long lastReadOutboxMessageId, long lastMessageId) Contains information about replies to a message.MessageReplyInfo
(DataInput input) Contains information about replies to a message. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
replyCount
public int replyCountNumber 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
public long lastReadInboxMessageIdIdentifier of the last read incoming reply to the message. -
lastReadOutboxMessageId
public long lastReadOutboxMessageIdIdentifier of the last read outgoing reply to the message. -
lastMessageId
public long lastMessageIdIdentifier of the last reply to the message. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-