Interface UnpinAllChatMessages

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. Request type for Tdjson#unpinAllChatMessages.

interface UnpinAllChatMessages {
    @type: "unpinAllChatMessages";
    chat_id: number;
}

Properties

Properties

@type: "unpinAllChatMessages"
chat_id: number

Identifier of the chat.