api.setVideoChatDefaultParticipant()
Changes default participant identifier, on whose behalf a video chat in the chat will be joined
Parameters
SetVideoChatDefaultParticipantParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
chatId | number | Chat identifier |
defaultParticipantId | Default group call participant identifier to join the video chats |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'setVideoChatDefaultParticipant' | 'error'
airgram: Airgram
request: {
method: 'setVideoChatDefaultParticipant'
params: SetVideoChatDefaultParticipantParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}