Skip to content

addRecentlyFoundChat

Sahri Riza Umami edited this page Jun 22, 2018 · 3 revisions

Adds a chat to the list of recently found chats.
The chat is added to the beginning of the list.
If the chat is already in the list, it will be removed from the list first.

addRecentlyFoundChat(chat_id, callback, data)
Field Type Description
chat_id int53 Identifier of the chat to add.

Example

  • Add chat 1234567890 to the list of recently found chats.

    addRecentlyFoundChat(1234567890)

    Response:

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

Frequently Asked Questions
The Functions

Clone this wiki locally