pub async fn delete_forum_topic(
chat_id: i64,
message_thread_id: i64,
client_id: i32,
) -> Result<(), Error>
Expand description
Deletes all messages in a forum topic; 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
ยงArguments
chat_id
- Identifier of the chatmessage_thread_id
- Message thread identifier of the forum topicclient_id
- The client id to send the request to