Layer 220
PhoneGetGroupCallJoinAs
Get a list of peers that can be used to join a group call, presenting yourself as a specific user/channel.
method
Users
phone.getGroupCallJoinAs#ef7c213a peer:InputPeer = phone.JoinAsPeers;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | The dialog whose group call or livestream we're trying to join |
Returns
phone.JoinAsPeersPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Gogram Example
// PhoneGetGroupCallJoinAs - positional arguments result, err := client.PhoneGetGroupCallJoinAs(&tg.InputPeerUser{UserID: int64(123456789)}) if err != nil { // handle error } // result is *tg.PhoneJoinAsPeers