MessageThreadInfo
Contains information about a message thread.
This is an alias for the MessageThreadInfoUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "messageThreadInfo" | |
chatId | number | Identifier of the chat to which the message thread belongs |
messageThreadId | number | Message thread identifier, unique within the chat |
replyInfo | Information about the message thread | |
unreadMessageCount | number | 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 message_id) | |
draftMessage | A draft of a message in the message thread; may be null |