Skip to content

getChatAdministrators

Sahri Riza Umami edited this page Jul 2, 2018 · 1 revision

Returns a list of users who are administrators of the chat.

getChatAdministrators(chat_id, callback, data)
Field Type Description
chat_id int53 Chat identifier

Example

  • Get a list of users who are administrators of the chat 1234567890.

    getChatAdministrators(1234567890)

    Response:

    {
      ["@type"] = "users",
      total_count = 3,
      user_ids = {
        777777777,
        888888888,
        [0] = 999999999
      }
    }

Frequently Asked Questions
The Functions

Clone this wiki locally