telegram api method · layer 229 · #f128c708
phone.toggleGroupCallRecord
Start or stop recording a group call: the recorded audio and video streams will be automatically sent to Saved messages (the chat with ourselves).
definition
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 |
|---|---|---|
flags | # | Flags, see TL conditional fields |
start | true | Whether to start or stop recording |
video | true | Whether to also record video streams |
call | InputGroupCall | The group call or livestream |
title | string | Recording title |
video_portrait | Bool | If video stream recording is enabled, whether to record in portrait or landscape mode |
returns
errors (5)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
| 400 | GROUPCALL_NOT_MODIFIED | Group call settings weren't modified. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
| 403 | GROUPCALL_FORBIDDEN | The specified group call cannot be used in this context. |
history
present in layers 125–229 · constructor id changed 1×
| id | layers |
|---|---|
| #c02a66d7 | 125–131 |
| #f128c708 | 132–229 |