Skip to content

addRecentlyFoundChat

Sahri Riza Umami edited this page Dec 8, 2016 · 3 revisions

Adds chat to the list of recently found chats.

addRecentlyFoundChat(chat_id)

The chat is added to the beginning of the list.
If the chat is already in the list, at first it is removed from the list.

Option Description
chat_id Identifier of the chat to add.

Example

Adds 1234567890 to the list of recently found chats.

addRecentlyFoundChat(1234567890)

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally