Start or stop recording a group call: 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 |
The group call or livestream |
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
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. |