telegram api method · layer 229 · #48cdc6d8
phone.createGroupCall
Create a group call or livestream
definition
phone.createGroupCall#48cdc6d8 flags:# rtmp_stream:flags.2?true peer:InputPeer random_id:int title:flags.0?string schedule_date:flags.1?int = Updates;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
rtmp_stream | true | Whether RTMP stream support should be enabled: only the group/supergroup/channel owner can use this flag. |
peer | InputPeer | Associate the group call or livestream to the provided group/supergroup/channel |
random_id | int | Unique client message ID required to prevent creation of duplicate group calls |
title | string | Call title |
schedule_date | int | For scheduled group call or livestreams, the absolute date when the group call will start |
returns
errors (8)
| 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 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup. |
| 400 | CHAT_ADMIN_REQUIRED | You must be an admin in this chat to do this. |
| 400 | CREATE_CALL_FAILED | An error occurred while creating the call. |
| 400 | GROUPCALL_ALREADY_DISCARDED | The group call was already discarded. |
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
| 400 | SCHEDULE_DATE_INVALID | Invalid schedule date provided. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
history
present in layers 122–229 · constructor id changed 1×
| id | layers |
|---|---|
| #bd3dabe0 | 122–126 |
| #48cdc6d8 | 127–229 |