Interface UpdateTopicMessageCount

Number of messages in a topic has changed; for Saved Messages and channel direct messages chat topics only. Subtype of Update.

interface UpdateTopicMessageCount {
    @type: "updateTopicMessageCount";
    chat_id: number;
    message_count: number;
    topic_id: MessageTopic;
}

Properties

@type: "updateTopicMessageCount"
chat_id: number

Identifier of the chat in topic of which the number of messages has changed.

message_count: number

Approximate number of messages in the topics.

topic_id: MessageTopic

Identifier of the topic.