Skip to content

closeChat

Sahri Riza Umami edited this page Jun 6, 2018 · 4 revisions

This method should be called if the chat is closed by the user.
Many useful activities depend on the chat being opened or closed.

closeChat(chat_id)
Field Type Description
chat_id int53 Chat identifier

Example

  • Chat 1234567890 is closed by the user.

    closeChat(1234567890)

    Response:

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

Frequently Asked Questions
The Functions

Clone this wiki locally