CreateChannel

class pyrogram.api.functions.channels.CreateChannel(title: str, about: str, broadcast: bool = None, megagroup: bool = None)
ID

0xf4893d7f

Parameters:
  • titlestr
  • aboutstr
  • broadcast (optional) – bool
  • megagroup (optional) – bool
Raises:

Error

Returns:

Either UpdatesTooLong, UpdateShortMessage, UpdateShortChatMessage, UpdateShort, UpdatesCombined, Update or UpdateShortSentMessage