Layer 227
method Users
phone.toggleGroupCallStartSubscription#219c34e6 call:InputGroupCall subscribed:Bool = Updates;

Parameters

Name Type Description
Call InputGroupCall Scheduled video chat/livestream that has not started yet
Subscribed Bool Whether to receive a service-notification message when the call starts

Returns

Updates

Gogram Example

// PhoneToggleGroupCallStartSubscription - positional arguments
result, err := client.PhoneToggleGroupCallStartSubscription(&tg.InputGroupCall{}, true)
if err != nil {
    // handle error
}
// result is *tg.Updates

Possible Errors

Code Type Description
403 GROUPCALL_ALREADY_STARTED The groupcall has already started, you can join directly using phone. join Group Call.
403 GROUPCALL_FORBIDDEN The group call has already ended.
400 GROUPCALL_INVALID The specified group call is invalid.