Interface UnpinChatMessage

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

interface UnpinChatMessage {
    @type: "unpinChatMessage";
    chat_id: number;
    message_id: number;
}

Properties

@type: "unpinChatMessage"
chat_id: number

Identifier of the chat.

message_id: number

Identifier of the removed pinned message.