TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
chatInviteLink () | |
chatInviteLink (string const &invite_link_, string const &name_, int53 creator_user_id_, int32 date_, int32 edit_date_, int32 expiration_date_, int32 member_limit_, int32 member_count_, int32 pending_join_request_count_, bool creates_join_request_, bool is_primary_, bool is_revoked_) | |
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 | |
string | invite_link_ |
Chat invite link. | |
string | name_ |
Name of the link. | |
int53 | creator_user_id_ |
User identifier of an administrator created the link. | |
int32 | date_ |
Point in time (Unix timestamp) when the link was created. | |
int32 | edit_date_ |
Point in time (Unix timestamp) when the link was last edited; 0 if never or unknown. | |
int32 | expiration_date_ |
Point in time (Unix timestamp) when the link will expire; 0 if never. | |
int32 | member_limit_ |
The maximum number of members, which can join the chat using the link simultaneously; 0 if not limited. Always 0 if the link requires approval. | |
int32 | member_count_ |
Number of chat members, which joined the chat using the link. | |
int32 | pending_join_request_count_ |
Number of pending join requests created using this link. | |
bool | creates_join_request_ |
True, if the link only creates join request. If true, total number of joining members will be unlimited. | |
bool | is_primary_ |
True, if the link is primary. Primary invite link can't have name, expiration date, or usage limit. There is exactly one primary invite link for each administrator with can_invite_users right at a given time. | |
bool | is_revoked_ |
True, if the link was revoked. | |
Static Public Attributes | |
static const std::int32_t | ID = -205812476 |
Identifier uniquely determining a type of the object. | |
Contains a chat invite link.
td::td_api::chatInviteLink::chatInviteLink | ( | ) |
Contains a chat invite link.
td::td_api::chatInviteLink::chatInviteLink | ( | string const & | invite_link_, |
string const & | name_, | ||
int53 | creator_user_id_, | ||
int32 | date_, | ||
int32 | edit_date_, | ||
int32 | expiration_date_, | ||
int32 | member_limit_, | ||
int32 | member_count_, | ||
int32 | pending_join_request_count_, | ||
bool | creates_join_request_, | ||
bool | is_primary_, | ||
bool | is_revoked_ | ||
) |
Contains a chat invite link.
[in] | invite_link_ | Chat invite link. |
[in] | name_ | Name of the link. |
[in] | creator_user_id_ | User identifier of an administrator created the link. |
[in] | date_ | Point in time (Unix timestamp) when the link was created. |
[in] | edit_date_ | Point in time (Unix timestamp) when the link was last edited; 0 if never or unknown. |
[in] | expiration_date_ | Point in time (Unix timestamp) when the link will expire; 0 if never. |
[in] | member_limit_ | The maximum number of members, which can join the chat using the link simultaneously; 0 if not limited. Always 0 if the link requires approval. |
[in] | member_count_ | Number of chat members, which joined the chat using the link. |
[in] | pending_join_request_count_ | Number of pending join requests created using this link. |
[in] | creates_join_request_ | True, if the link only creates join request. If true, total number of joining members will be unlimited. |
[in] | is_primary_ | True, if the link is primary. Primary invite link can't have name, expiration date, or usage limit. There is exactly one primary invite link for each administrator with can_invite_users right at a given time. |
[in] | is_revoked_ | True, if the link was revoked. |
|
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.