Skip to content

MessageThreadInfo

Type · TDLib 1.8.67 · d1085f9c

Contains information about a message thread

MessageThreadInfo(
  chat_id: int53,
  message_thread_id: int53,
  reply_info: MessageReplyInfo,
  unread_message_count: int32,
  messages: list of Message,
  draft_message: DraftMessage
) → MessageThreadInfo

chat_id

int53

Identifier of the chat to which the message thread belongs

message_thread_id

int53

Message thread identifier, unique within the chat

reply_info

MessageReplyInfo

Information about the message thread; may be null for forum topic threads

unread_message_count

int32

Approximate number of unread messages in the message thread

messages

list of Message

The messages from which the thread starts. The messages are returned in reverse chronological order (i.e., in order of decreasing message_id)

draft_message

DraftMessage

A draft of a message in the message thread; may be null if none