create_channel()#
- Client.create_channel()#
Create a new broadcast channel.
Usable by Users Bots- Parameters:
title (
str) – The channel title.description (
str, optional) – The channel description.
- Returns:
Chat– On success, a chat object is returned.
Example
await app.create_channel("Channel Title", "Channel Description")