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