public static class TdApi.MessageThreadInfo extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat to which the message thread belongs.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.DraftMessage |
draftMessage
A draft of a message in the message thread; may be null if none.
|
TdApi.Message[] |
messages
The messages from which the thread starts.
|
long |
messageThreadId
Message thread identifier, unique within the chat.
|
TdApi.MessageReplyInfo |
replyInfo
Information about the message thread; may be null for forum topic threads.
|
int |
unreadMessageCount
Approximate number of unread messages in the message thread.
|
| Constructor and Description |
|---|
MessageThreadInfo()
Contains 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageThreadId
public TdApi.MessageReplyInfo replyInfo
public int unreadMessageCount
public TdApi.Message[] messages
public TdApi.DraftMessage draftMessage
public static final int CONSTRUCTOR
public MessageThreadInfo()
public MessageThreadInfo(long chatId,
long messageThreadId,
TdApi.MessageReplyInfo replyInfo,
int unreadMessageCount,
TdApi.Message[] messages,
TdApi.DraftMessage draftMessage)
chatId - Identifier of the chat to which the message thread belongs.messageThreadId - Message thread identifier, unique within the chat.replyInfo - Information about the message thread; may be null for forum topic threads.unreadMessageCount - Approximate number of unread messages in the message thread.messages - The messages from which the thread starts. The messages are returned in reverse chronological order (i.e., in order of decreasing messageId).draftMessage - A draft of a message in the message thread; may be null if none.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object