chatlists.exportChatlistInvite
Export a folder », creating a chat folder deep link ».
Export a [folder »](https://core.telegram.org/api/folders.md), creating a [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links).
| Name | Type | Required | Description |
|---|---|---|---|
chatlist | InputChatlist | Yes | The folder to export |
title | string | Yes | An optional name for the link |
peers | Vector<InputPeer> | Yes | The list of channels, group and supergroups to share with the link. Basic groups will automatically be [converted to supergroups](https://core.telegram.org/api/channel.md#migration) when invoking the method. |
Replies
chatlists.ExportedChatlistInvite
MTProto RPC
- 400 · CHANNEL_INVALID — The provided channel is invalid.
- 400 · CHANNEL_PRIVATE — You haven't joined this channel/supergroup.
- 400 · CHATLISTS_TOO_MUCH — You have created too many folder links, hitting the chatlist_invites_limit_default/chatlist_invites_limit_premium [limits »](https://core.telegram.org/api/config.md#chatlist-invites-limit-default).
- 400 · CHAT_ADMIN_REQUIRED — You must be an admin in this chat to do this.
- 400 · FILTER_ID_INVALID — The specified filter ID is invalid.
- 400 · FILTER_NOT_SUPPORTED — The specified filter cannot be used in this context.
- 400 · INVITES_TOO_MUCH — The maximum number of per-folder invites specified by the chatlist_invites_limit_default/chatlist_invites_limit_premium [client configuration parameters »](https://core.telegram.org/api/config.md#chatlist-invites-limit-default) was reached.
- 400 · PEERS_LIST_EMPTY — The specified list of peers is empty.