phone.leaveGroupCallPresentation
Stop screen sharing in a group call.
func (c *Client) PhoneLeaveGroupCallPresentation(ctx context.Context, call InputGroupCallClass) (UpdatesClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.PhoneLeaveGroupCallPresentation(ctx, call)
if err != nil {
return err
}
_ = res // UpdatesClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Call | InputGroupCallClass | yes | The group call |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
phone.leaveGroupCallPresentation#1c50d144