Layer 220
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

Possible 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