telegram api method · layer 229 · #8472478e

chatlists.exportChatlistInvite

usable by users

Export a folder », creating a chat folder deep link ».

definition

chatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector<InputPeer> = chatlists.ExportedChatlistInvite;

parameters

nametypedescription
chatlistInputChatlistThe folder to export
titlestringAn optional name for the link
peersVector<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)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis 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.
400CHANNEL_INVALIDThe provided channel is invalid.
400CHANNEL_PRIVATEYou haven't joined this channel/supergroup.
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
400CHATLISTS_TOO_MUCHYou have created too many folder links, hitting the chatlist_invites_limit_default/chatlist_invites_limit_premium limits ».
400FILTER_ID_INVALIDThe specified filter ID is invalid.
400FILTER_NOT_SUPPORTEDThe specified filter cannot be used in this context.
400INVITES_TOO_MUCHThe maximum number of per-folder invites specified by the chatlist_invites_limit_default/chatlist_invites_limit_premium client configuration parameters » was reached.
400PEERS_LIST_EMPTYThe specified list of peers is empty.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

history

present in layers 158–229

idlayers
#8472478e158–229