Skip to content

setChatClientData

Sahri Riza Umami edited this page Jul 2, 2018 · 3 revisions

Changes client data associated with a chat.

setChatClientData(chat_id, client_data, callback, data)
Field Type Description
chat_id int53 Chat identifier.
client_data string New value of client_data.

Example

  • Changes client data associated with chat 1234567890.

    setChatClientData(1234567890, 'Test setChatClientData')

    Example:

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

Frequently Asked Questions
The Functions

Clone this wiki locally