Function unpin_chat_message

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

Removes a pinned message from a chat; requires can_pin_messages member right if the chat is a basic group or supergroup, or can_edit_messages administrator right if the chat is a channel

ยงArguments

  • chat_id - Identifier of the chat
  • message_id - Identifier of the removed pinned message
  • client_id - The client id to send the request to