Layer 220
method Users

Parameters

Name Type Description
Peer InputPeer Peer to livestream into
Revoke Bool Whether to revoke the previous stream key or simply return the existing one

Possible Errors

Code Type Description
400 CHAT_ADMIN_REQUIRED You must be an admin in this chat to do this.
400 PEER_ID_INVALID The provided peer id is invalid.

Gogram Example

// PhoneGetGroupCallStreamRtmpUrl - positional arguments
result, err := client.PhoneGetGroupCallStreamRtmpUrl(&tg.InputPeerUser{UserID: int64(123456789)}, true)
if err != nil {
    // handle error
}
// result is *tg.PhoneGroupCallStreamRtmpUrl