Airgram

Guides
/
/
Methods

api.getVideoChatAvailableParticipants()

Returns list of participant identifiers, on whose behalf a video chat in the chat can be joined

Parameters GetVideoChatAvailableParticipantsParams:

NameTypeDescription
chatIdnumber Chat identifier
Returns ApiResponse interface:
interface ApiResponse {
  _: 'getVideoChatAvailableParticipants' | 'error'
  airgram: Airgram
  request: {
    method: 'getVideoChatAvailableParticipants'
    params: GetVideoChatAvailableParticipantsParams
  }
  response:  | 
  setState: (nextState: Record<string, unknown>) => void
  getState: () => Record<string, unknown>
}