View Source ExTDLib.Method.UnpinChatMessage (ExTDLib v0.0.4)

Removes a pinned message from a chat; requires can_pin_messages rights in the group or can_edit_messages rights in the channel. Returns object_ptr<Ok>.

NameTypeDescription
chat_idstringIdentifier of the chat.
message_idstringIdentifier of the removed pinned message.

More details on telegram's documentation.