Community¶
Represents a community consisting of supergroup chats, channel chats and chats with bots
Community(
id: int53,
have_access: Bool,
name: string,
photo: ChatPhotoInfo,
date: int32,
status: CommunityMemberStatus,
permissions: CommunityPermissions
) → Community
id¶
int53
Community identifier
have_access¶
Bool
If false, the community is inaccessible, and the only information known about the community is inside this class. Identifier of the community can't be passed to any method
name¶
string
Community name
photo¶
Community photo; may be null
date¶
int32
Point in time (Unix timestamp) when the community was joined, or the point in time when the community was created, in case the user is not a member of any chat in the community
status¶
Status of the current user in the community
permissions¶
Actions that non-administrator community members are allowed to take in the community