Community¶
- class pyrogram.types.Community[source]¶
Represents a community.
A community links together several supergroups, channels and bots around a shared topic or audience.
- Parameters:
id (
int) – Unique identifier for this community.title (
str) – Title of the community.date (
datetime) – Date when the community was created.is_creator (
bool, optional) – True, if the current user is the creator of the community.is_left (
bool, optional) – True, if the current user has left the community.is_min (
bool, optional) – True, if this community has a reduced set of fields.is_collapsed (
bool, optional) – True, if the community is collapsed in the dialogs list.dc_id (
int, optional) – Data centre ID of the community photo.