mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 17:26:58 +01:00
23 lines
792 B
Markdown
23 lines
792 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
|
|
---
|
|
## 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)
|
|
|