Layer 227
method Users
phone.getGroupCallStreamRtmpUrl#5af4c73a flags:# live_story:flags.0?true peer:InputPeer revoke:Bool = phone.GroupCallStreamRtmpUrl;

Parameters

Name Type Description
LiveStory flags .0? true Obtain credentials for an RTMP live story instead of a video chat/livestream
Peer InputPeer Peer that will host the RTMP video chat, livestream or live story
Revoke Bool Whether to invalidate the previous stream key and generate a new one, instead of returning the existing key

Gogram Example

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

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.