Skip to content

setPinnedChats

Sahri Riza Umami edited this page Jun 23, 2018 · 5 revisions

Changes the order of pinned chats.

setPinnedChats(chat_ids)
Field Type Description
chat_ids vector<int53> The new list of pinned chats

Example

  • Changes list or order of pinned chats 1234567890, 2222233333, and 4444455555.

    setPinnedChats({[0] = 1234567890, 2222233333, 4444455555})

    Response:

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

Frequently Asked Questions
The Functions

Clone this wiki locally