24 lines
871 B
Markdown
24 lines
871 B
Markdown
---
|
|
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
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# 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
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Description | Required |
|
|
|----------|---------------|-------------|----------|
|
|
|chat\_id|[int53](../types/int53.md) | Chat identifier | Yes|
|
|
|
|
|
|
### Return type: [ChatInviteLink](../types/ChatInviteLink.md)
|
|
|