Inherits Function.
Replaces current primary invite link for a chat with a new primary invite link. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right.
Returns object_ptr<ChatInviteLink>.
Public Fields | |
| int53 | chat_id_ |
| Chat identifier. | |
Public Types | |
| using | ReturnType = object_ptr< chatInviteLink > |
| Typedef for the type returned by the function. | |
Public Instance Methods | |
| replacePrimaryChatInviteLink () | |
| replacePrimaryChatInviteLink (int53 chat_id_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from 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 |
Static Public Attributes | |
| static const std::int32_t | ID = 1067350941 |
| Identifier uniquely determining a type of the object. | |
Default constructor for a function, which replaces current primary invite link for a chat with a new primary invite link. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right.
Returns object_ptr<ChatInviteLink>.
|
explicit |
Creates a function, which replaces current primary invite link for a chat with a new primary invite link. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right.
Returns object_ptr<ChatInviteLink>.
| [in] | chat_id_ | Chat identifier. |
|
finalvirtual |