create_community()¶
- async Client.create_community()¶
Create a new Telegram Community around a channel or supergroup.
Usable by Users Bots- Parameters:
title (
str) – The title of the new community.chat_id (
int|str) – The root channel or supergroup identifier for the community.about (
str, optional) – Description of the community.hidden (
bool, optional) – Whether the community should be hidden.
- Returns:
Updates– On success, updates are returned.
Example
community = await app.create_community("Developers Hub", channel_id)