Set the default peer that will be used to join a group call in a specific dialog.
Method schema is available as of layer 127. Switch ยป
Name | Type | Description |
---|---|---|
peer | InputPeer | The dialog |
join_as | InputPeer | The default peer that will be used to join group calls in this dialog, presenting yourself as a specific user/channel. |
Code | Type | Description |
---|---|---|
400 | JOIN_AS_PEER_INVALID | The specified peer cannot be used to join a group call. |