|
TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
| chatInviteLinkInfo () | |
| chatInviteLinkInfo (int53 chat_id_, int32 accessible_for_, object_ptr< InviteLinkChatType > &&type_, string const &title_, object_ptr< chatPhotoInfo > &&photo_, string const &description_, int32 member_count_, array< int53 > &&member_user_ids_, bool creates_join_request_, bool is_public_, bool is_verified_, bool is_scam_, bool is_fake_) | |
| std::int32_t | get_id () const final |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Public Attributes | |
| int53 | chat_id_ |
| Chat identifier of the invite link; 0 if the user has no access to the chat before joining. | |
| int32 | accessible_for_ |
| If non-zero, the amount of time for which read access to the chat will remain available, in seconds. | |
| object_ptr< InviteLinkChatType > | type_ |
| Type of the chat. | |
| string | title_ |
| Title of the chat. | |
| object_ptr< chatPhotoInfo > | photo_ |
| Chat photo; may be null. | |
| string | description_ |
| Chat description. | |
| int32 | member_count_ |
| Number of members in the chat. | |
| array< int53 > | member_user_ids_ |
| User identifiers of some chat members that may be known to the current user. | |
| bool | creates_join_request_ |
| True, if the link only creates join request. | |
| bool | is_public_ |
| True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup. | |
| bool | is_verified_ |
| True, if the chat is verified. | |
| bool | is_scam_ |
| True, if many users reported this chat as a scam. | |
| bool | is_fake_ |
| True, if many users reported this chat as a fake account. | |
Static Public Attributes | |
| static const std::int32_t | ID = -469347498 |
| Identifier uniquely determining a type of the object. | |
Contains information about a chat invite link.
| td::td_api::chatInviteLinkInfo::chatInviteLinkInfo | ( | ) |
Contains information about a chat invite link.
| td::td_api::chatInviteLinkInfo::chatInviteLinkInfo | ( | int53 | chat_id_, |
| int32 | accessible_for_, | ||
| object_ptr< InviteLinkChatType > && | type_, | ||
| string const & | title_, | ||
| object_ptr< chatPhotoInfo > && | photo_, | ||
| string const & | description_, | ||
| int32 | member_count_, | ||
| array< int53 > && | member_user_ids_, | ||
| bool | creates_join_request_, | ||
| bool | is_public_, | ||
| bool | is_verified_, | ||
| bool | is_scam_, | ||
| bool | is_fake_ | ||
| ) |
Contains information about a chat invite link.
| [in] | chat_id_ | Chat identifier of the invite link; 0 if the user has no access to the chat before joining. |
| [in] | accessible_for_ | If non-zero, the amount of time for which read access to the chat will remain available, in seconds. |
| [in] | type_ | Type of the chat. |
| [in] | title_ | Title of the chat. |
| [in] | photo_ | Chat photo; may be null. |
| [in] | description_ | Chat description. |
| [in] | member_count_ | Number of members in the chat. |
| [in] | member_user_ids_ | User identifiers of some chat members that may be known to the current user. |
| [in] | creates_join_request_ | True, if the link only creates join request. |
| [in] | is_public_ | True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup. |
| [in] | is_verified_ | True, if the chat is verified. |
| [in] | is_scam_ | True, if many users reported this chat as a scam. |
| [in] | is_fake_ | True, if many users reported this chat as a fake account. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.