Inherits Function.
Generates a new invite link for a chat; the previously generated link is revoked. 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 | |
generateChatInviteLink () | |
generateChatInviteLink (int53 chat_id_) | |
std::int32_t | get_id () const final |
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 = 1945532500 |
Identifier uniquely determining a type of the object. | |
Default constructor for a function, which generates a new invite link for a chat; the previously generated link is revoked. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right.
Returns object_ptr<ChatInviteLink>.
|
explicit |
Creates a function, which generates a new invite link for a chat; the previously generated link is revoked. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right.
Returns object_ptr<ChatInviteLink>.
[in] | chat_id_ | Chat identifier. |
|
inlinefinalvirtual |
|
finalvirtual |