peyk.platforms.telegram.types.community¶
Classes
|
Represents a community (a group of chats). |
- class peyk.platforms.telegram.types.community.Community(id: int = 0, title: str = '', bot: User | None = None, name: str | None = None)[source]¶
Bases:
objectRepresents a community (a group of chats).
- Variables:
id (int) – Unique identifier for this community. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
name (str | None) – Name of the community
- id: int = 0¶
- title: str = ''¶
- name: str | None = None¶