phone.toggleGroupCallRecord

Start or stop recording a video chat/livestream, see here » for more info. The recorded audio and video streams will be automatically sent to Saved Messages (the chat with ourselves).

 Method schema is available as of layer 132. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
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
video_portrait flags.2?Bool If video stream recording is enabled, whether to record in portrait or landscape mode

Result

Updates

Only users can use this method

Possible errors

Code Type Description
403 GROUPCALL_FORBIDDEN The specified group call cannot be used in this context.
400 GROUPCALL_INVALID The specified group call is invalid.
400 GROUPCALL_NOT_MODIFIED Group call settings weren't modified.

Related pages

Group calls

How to start, join and manage group calls and video chats.