Layer 220
PhoneSaveDefaultGroupCallJoinAs
Set the default peer that will be used to join a group call in a specific dialog.
method
Users
phone.saveDefaultGroupCallJoinAs#575e1f8c peer:InputPeer join_as:InputPeer = Bool;
Parameters
Returns
BoolPossible Errors
| 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. |
Gogram Example
// PhoneSaveDefaultGroupCallJoinAs - positional arguments result, err := client.PhoneSaveDefaultGroupCallJoinAs(&tg.InputPeerUser{UserID: int64(123456789)}, &tg.InputPeerUser{UserID: int64(123456789)}) if err != nil { // handle error } // result is *tg.Bool