java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageThreadInfo
- Enclosing class:
- TdApi
Contains information about a message thread.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat to which the message thread belongs.static final int
A draft of a message in the message thread; may be null.The messages from which the thread starts.long
Message thread identifier, unique within the chat.Information about the message thread.int
Approximate number of unread messages in the message thread. -
Constructor Summary
ConstructorDescriptionContains information about a message thread.MessageThreadInfo
(long chatId, long messageThreadId, TdApi.MessageReplyInfo replyInfo, int unreadMessageCount, TdApi.Message[] messages, TdApi.DraftMessage draftMessage) Contains information about a message thread.MessageThreadInfo
(DataInput input) Contains information about a message thread. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
chatId
public long chatIdIdentifier of the chat to which the message thread belongs. -
messageThreadId
public long messageThreadIdMessage thread identifier, unique within the chat. -
replyInfo
Information about the message thread. -
unreadMessageCount
public int unreadMessageCountApproximate number of unread messages in the message thread. -
messages
The messages from which the thread starts. The messages are returned in a reverse chronological order (i.e., in order of decreasing messageId). -
draftMessage
A draft of a message in the message thread; may be null. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
MessageThreadInfo
public MessageThreadInfo()Contains information about a message thread. -
MessageThreadInfo
public MessageThreadInfo(long chatId, long messageThreadId, TdApi.MessageReplyInfo replyInfo, int unreadMessageCount, TdApi.Message[] messages, TdApi.DraftMessage draftMessage) Contains information about a message thread.- Parameters:
chatId
- long Identifier of the chat to which the message thread belongs.messageThreadId
- long Message thread identifier, unique within the chat.replyInfo
- MessageReplyInfo Information about the message thread.unreadMessageCount
- int Approximate number of unread messages in the message thread.messages
- Message[] The messages from which the thread starts. The messages are returned in a reverse chronological order (i.e., in order of decreasing messageId).draftMessage
- DraftMessage A draft of a message in the message thread; may be null.
-
MessageThreadInfo
Contains information about a message thread.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-