Skip to content

getSecretChat

Sahri Riza Umami edited this page Sep 11, 2017 · 6 revisions

Returns information about a secret chat by its identifier, offline request

getSecretChat(secretchat_id)
Field Type Description
secret_chat_id int32 Secret chat identifier

Example

  • Returns information about secret chat 697402367.

    getSecretChat(697402367)

    Response:

    {
      _ = "secretChat",
      id = 697402367,
      is_outbound = true,
      key_hash = "mDU6666UTKCI2LaVGb64dWPY/L/aONErDXh82e9jOpdiu5/Z",
      layer = 66,
      state = 1,
      ttl = 0,
      user_id = 371233995
    }

Frequently Asked Questions
The Functions

Clone this wiki locally