1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 04:36:57 +01:00
MadelineProto/docs/TD_docs/methods/exportChatInviteLink.md
2017-08-25 15:05:53 +02:00

23 lines
800 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|[InputPeer](../types/InputPeer.md) | Yes|Chat identifier|
### Return type: [ChatInviteLink](../types/ChatInviteLink.md)