Skip to content

closeSecretChat

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

Closes a secret chat, effectively transfering its state to secretChatStateClosed.

closeSecretChat(secret_chat_id, callback, data)
Field Type Description
secret_chat_id int32 Secret chat identifier.

Example

  • Closes secret chat id 1234567890.

    closeSecretChat(1234567890)

    Response:

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

Frequently Asked Questions
The Functions

Clone this wiki locally