--- title: exportChatInviteLink description: Generates new chat invite link, previously generated link is revoked. Available for group and channel chats. In groups can be called only by creator, in channels requires appropriate rights --- ## Method: exportChatInviteLink [Back to methods index](index.md) YOU CANNOT USE THIS METHOD IN MADELINEPROTO Generates new chat invite link, previously generated link is revoked. Available for group and channel chats. In groups can be called only by creator, in channels requires appropriate rights ### Params: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |chat\_id|[int53](../types/int53.md) | Yes|Chat identifier| ### Return type: [ChatInviteLink](../types/ChatInviteLink.md)