unpin_all_chat_messages


Description:

public async Ok unpin_all_chat_messages (int64 chat_id) throws TDLibError

Removes all pinned messages 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

Parameters:

chat_id

Identifier of the chat