TelegramBot.getChatAdministrators

Get a list of administrators in a chat

  1. ChatMember[] getChatAdministrators(T chat_id)
    struct TelegramBot
    @trusted
    getChatAdministrators
    (
    T
    )
  2. ChatMember[] getChatAdministrators(GetChatAdministratorsMethod m)

Parameters

chat_id T

Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)

Return Value

Type: ChatMember[]

An array of ChatMember on success

Throws

TelegramBotException on errors

See Also

Meta