api.getChatAdministrators()
Returns a list of administrators of the chat with their custom titles
Parameters
GetChatAdministratorsParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
chatId | number | Chat identifier |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'getChatAdministrators' | 'error'
airgram: Airgram
request: {
method: 'getChatAdministrators'
params: GetChatAdministratorsParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}