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

Parameters

Name Type Description
Call InputGroupCall Scheduled group call
Subscribed Bool Enable or disable subscription

Returns

Updates

Possible Errors

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

Gogram Example

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