Skip to content

unpinChatMessage

Function · TDLib 1.8.67 · d1085f9c

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

unpinChatMessage(
  chat_id: int53,
  message_id: int53
) → Ok

chat_id

int53

Identifier of the chat

message_id

int53

Identifier of the removed pinned message