Function unpin_all_message_thread_messages

Source
pub async fn unpin_all_message_thread_messages(
    chat_id: i64,
    message_thread_id: i64,
    client_id: i32,
) -> Result<(), Error>
Expand description

Removes all pinned messages from a forum topic; requires can_pin_messages member right in the supergroup

ยงArguments

  • chat_id - Identifier of the chat
  • message_thread_id - Message thread identifier in which messages will be unpinned
  • client_id - The client id to send the request to