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.
|
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.
|
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() |
toString
public long chatId
public long messageThreadId
public TdApi.MessageReplyInfo replyInfo
public int unreadMessageCount
public TdApi.Message[] messages
@Nullable 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.unreadMessageCount
- Approximate 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.public int getConstructor()
getConstructor
in class TdApi.Object