create_supergroup()

Client.create_supergroup()

Create a new supergroup.

Note

If you want to create a new basic group, use create_group() instead.

Usable by Users Bots
Parameters:
  • title (str) – The supergroup title.

  • description (str, optional) – The supergroup description.

Returns:

Chat – On success, a chat object is returned.

Example

await app.create_supergroup("Supergroup Title", "Supergroup Description")