Set the default peer used to join a video chat/livestream » associated with a specific dialog.
اسکیمای روش از لایه 127 در دسترس است. تغییر »
| Name | Type | Description |
|---|---|---|
| peer | InputPeer | Basic group, supergroup or channel whose video chat/livestream default should be changed |
| join_as | InputPeer | Eligible peer to use by default when joining the dialog's video chats/livestreams, selected from phone.getGroupCallJoinAs |
| Code | Type | Description |
|---|---|---|
| 400 | JOIN_AS_PEER_INVALID | The specified peer cannot be used to join a group call. |
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Get a list of peers that can be used to join a video chat or livestream », presenting yourself as a specific user/channel.
This method cannot be used for live stories or conference calls. To comment or react in a live story as another peer, use channels.getSendAs with for_live_stories set and pass one of the returned peers to phone.sendGroupCallMessage.send_as.
How to start, join and manage group calls and video chats.