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.

NameTypeDescription
chat_idstringChat identifier.

More details on telegram’s documentation.