channels.createChannel
Create a supergroup/channel.
Example
TL schema
Parameters
Name | Type | Description |
flags | Flags, see TL conditional fields | |
broadcast | Whether to create a channel | |
megagroup | Whether to create a supergroup | |
title | Channel title | |
about | Channel description | |
geo_point | Geogroup location | |
address | Geogroup address |
Result
Possible errors
Code | Type | Description |
400 | CHANNELS_TOO_MUCH | You have joined too many channels/supergroups |
400 | CHAT_ABOUT_TOO_LONG | Chat about too long |
400 | CHAT_TITLE_EMPTY | No chat title provided |
403 | USER_RESTRICTED | You're spamreported, you can't create channels or chats. |
Can bots use this methd ?
yes
Related pages
How to handle channels, supergroups, groups, and what's the difference between them.
Last updated