phone.saveDefaultGroupCallJoinAs
Set the default peer used to join a video chat/livestream » associated with a specific dialog.
Set the default peer used to join a [video chat/livestream »](https://core.telegram.org/api/group-calls.md#joining-a-group-call-on-behalf-of-owned-channels) associated with a specific dialog.
| Name | Type | Required | Description |
|---|---|---|---|
peer | InputPeer | Yes | Basic group, supergroup or channel whose video chat/livestream default should be changed |
join_as | InputPeer | Yes | Eligible peer to use by default when joining the dialog's video chats/livestreams, selected from [phone.getGroupCallJoinAs](https://core.telegram.org/method/phone.getGroupCallJoinAs.md) |
Responses
Bool
MTProto RPC
- 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.