Create a group call or livestream
Method schema is available as of layer 127. Switch ยป
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
rtmp_stream | flags.2?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 | flags.0?string | Call title |
schedule_date | flags.1?int | For scheduled group call or livestreams, the absolute date when the group call will start |
Code | Type | Description |
---|---|---|
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 | PEER_ID_INVALID | The provided peer id is invalid. |
400 | SCHEDULE_DATE_INVALID | Invalid schedule date provided. |
How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.