Layer 227
method Users
phone.toggleGroupCallRecord#f128c708 flags:# start:flags.0?true video:flags.2?true call:InputGroupCall title:flags.1?string video_portrait:flags.2?Bool = Updates;

Parameters

Name Type Description
Start flags .0? true Whether to start or stop recording
Video flags .2? true Whether to also record video streams
Call InputGroupCall Video chat/livestream to record
Title flags .1? string Recording title
VideoPortrait flags .2? Bool If video stream recording is enabled, whether to record in portrait or landscape mode

Returns

Updates

Gogram Example

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

Possible Errors

Code Type Description
403 GROUPCALL_FORBIDDEN The group call has already ended.
400 GROUPCALL_INVALID The specified group call is invalid.
400 GROUPCALL_NOT_MODIFIED Group call settings weren't modified.