|
TDLib
|
Inherits Object.
Represents a community consisting of supergroup chats, channel chats and chats with bots.
Public Member Functions | |
| community () | |
| community (int53 id_, bool have_access_, string const &name_, object_ptr< chatPhotoInfo > &&photo_, int32 date_, object_ptr< CommunityMemberStatus > &&status_, object_ptr< communityPermissions > &&permissions_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| int32 | date_ |
| 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. | |
| bool | have_access_ |
| 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. | |
| int53 | id_ |
| Community identifier. | |
| string | name_ |
| Community name. | |
| object_ptr< communityPermissions > | permissions_ |
| Actions that non-administrator community members are allowed to take in the community. | |
| object_ptr< chatPhotoInfo > | photo_ |
| Community photo; may be null. | |
| object_ptr< CommunityMemberStatus > | status_ |
| Status of the current user in the community. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1684827592 |
| Identifier uniquely determining a type of the object. | |
| community | ( | ) |
Represents a community consisting of supergroup chats, channel chats and chats with bots.
| community | ( | int53 | id_, |
| bool | have_access_, | ||
| string const & | name_, | ||
| object_ptr< chatPhotoInfo > && | photo_, | ||
| int32 | date_, | ||
| object_ptr< CommunityMemberStatus > && | status_, | ||
| object_ptr< communityPermissions > && | permissions_ ) |
Represents a community consisting of supergroup chats, channel chats and chats with bots.
| [in] | id_ | Community identifier. |
| [in] | have_access_ | 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. |
| [in] | name_ | Community name. |
| [in] | photo_ | Community photo; may be null. |
| [in] | date_ | 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. |
| [in] | status_ | Status of the current user in the community. |
| [in] | permissions_ | Actions that non-administrator community members are allowed to take in the community. |
|
finalvirtual |