Skip to main content

phone.joinGroupCallPresentation

Start screen sharing in a group call.

func (c *Client) PhoneJoinGroupCallPresentation(ctx context.Context, request *PhoneJoinGroupCallPresentationRequest) (UpdatesClass, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.PhoneJoinGroupCallPresentation(ctx, &tg.PhoneJoinGroupCallPresentationRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // UpdatesClass
return nil
})

Parameters

NameTypeRequiredDescription
CallInputGroupCallClassyesThe group call
ParamsDataJSONyesWebRTC parameters

Returns

UpdatesClass

Possible errors

CodeTypeDescription
400GROUPCALL_INVALIDThe specified group call is invalid.
403PARTICIPANT_JOIN_MISSINGTrying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall.

References