- class pyrogram.raw.functions.channels.CreateChannel#
Create a supergroup/channel.
str) – Channel title.
str) – Channel description.
bool, optional) – Whether to create a channel.
bool, optional) – Whether to create a supergroup.
bool, optional) – Whether the supergroup is being created to import messages from a foreign chat service using messages.initHistoryImport.
bool, optional) – Whether to create a forum.
InputGeoPoint, optional) – Geogroup location.
str, optional) – Geogroup address.
32-bit, optional) – Time-to-live of all messages that will be sent in the supergroup: once message.date+message.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well. You can use messages.setDefaultHistoryTTL to edit this value later.