Skip to content

openChat

Sahri Riza Umami edited this page Jul 1, 2018 · 6 revisions

This method should be called if the chat is opened by the user.
Many useful activities depend on the chat being opened or closed (e.g., in supergroups and channels all updates are received only for opened chats).

openChat(chat_id)
Field Type Description
chat_id int53 Chat identifier

Example

  • Chat 1234567890 is opened by the user.

    openChat(1234567890)

    Response:

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

Frequently Asked Questions
The Functions

Clone this wiki locally