Layer 227
PhoneJoinGroupCallPresentation
Start screen sharing in a non-RTMP video chat/livestream or conference. Presentations are not supported in live stories or RTMP-mode video chats/livestreams, see here for more info.
method
Users
phone.joinGroupCallPresentation#cbea6bc4 call:InputGroupCall params:DataJSON = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Call | InputGroupCall | Joined non-RTMP video chat/livestream or conference in which to start presenting |
| Params | DataJSON | Join payload generated by a separate local call-engine instance for the presentation |
Returns
UpdatesGogram Example
// PhoneJoinGroupCallPresentation - positional arguments result, err := client.PhoneJoinGroupCallPresentation(&tg.InputGroupCall{}, &tg.DataJson{}) if err != nil { // handle error } // result is *tg.Updates
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
| 403 | PARTICIPANT_JOIN_MISSING | Trying to enable a presentation, when the user hasn't joined the Video Chat with phone. join Group Call. |