Skip to content

deleteForumTopic

Function · TDLib 1.8.67 · d1085f9c

Deletes all messages from a topic in a forum supergroup chat or a chat with a bot with topics; requires can_delete_messages administrator right in the supergroup unless the user is creator of the topic, the topic has no messages from other users and has at most 11 messages

deleteForumTopic(
  chat_id: int53,
  forum_topic_id: int32
) → Ok

chat_id

int53

Identifier of the chat

forum_topic_id

int32

Forum topic identifier