Skip to content

unpinSupergroupMessage

Sahri Riza Umami edited this page Jun 23, 2018 · 1 revision

Removes the pinned message from a supergroup or channel; requires appropriate administrator rights in the supergroup or channel.

unpinSupergroupMessage(supergroup_id, callback, data)
Field Type Description
supergroup_id int32 Identifier of the supergroup or channel.

Example

  • Removes the pinned message from chat 1234567890.

    unpinSupergroupMessage(1234567890)

    Response:

    {
      ["@type"] = "ok"
    }

Frequently Asked Questions
The Functions

Clone this wiki locally