TDLib v0.0.2 TDLib.Method.GenerateChatInviteLink View Source
Generates a new invite link for a chat; the previously generated link is revoked. Available for basic groups, supergroups, and channels. In basic groups this can be called only by the group’s creator; in supergroups and channels this requires appropriate administrator rights.
Returns object_ptr
Name | Type | Description |
---|---|---|
chat_id | string | Chat identifier. |
More details on telegram’s documentation.