telegram api method · layer 229 · #8472478e
chatlists.exportChatlistInvite
Export a folder », creating a chat folder deep link ».
definition
chatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector<InputPeer> = chatlists.ExportedChatlistInvite;
parameters
| name | type | description |
|---|---|---|
chatlist | InputChatlist | The folder to export |
title | string | An optional name for the link |
peers | Vector<InputPeer> | The list of channels, group and supergroups to share with the link. Basic groups will automatically be converted to supergroups when invoking the method. |
returns
chatlists.ExportedChatlistInvite
errors (10)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup. |
| 400 | CHAT_ADMIN_REQUIRED | You must be an admin in this chat to do this. |
| 400 | CHATLISTS_TOO_MUCH | You have created too many folder links, hitting the chatlist_invites_limit_default/chatlist_invites_limit_premium limits ». |
| 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 » was reached. |
| 400 | PEERS_LIST_EMPTY | The specified list of peers is empty. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
history
present in layers 158–229
| id | layers |
|---|---|
| #8472478e | 158–229 |