chatlists.editExportedInvite #

Edit a chat folder deep link ».

Layer 223

exportedChatlistInvite#c5181ac flags:# title:string url:string peers:Vector<Peer> = ExportedChatlistInvite;
---functions---
chatlists.editExportedInvite#653db63d flags:# chatlist:InputChatlist slug:string title:flags.1?string peers:flags.2?Vector<InputPeer> = ExportedChatlistInvite;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
chatlistInputChatlistFolder ID
slugstringslug obtained from the chat folder deep link ».
titleflags.1?stringIf set, sets a new name for the link
peersflags.2?Vector<InputPeer>If set, changes the list of peers shared with the link

Result #

ExportedChatlistInvite

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid.
400FILTER_ID_INVALIDThe specified filter ID is invalid.
400FILTER_NOT_SUPPORTEDThe specified filter cannot be used in this context.
400INVITE_SLUG_EMPTYThe specified invite slug is empty.
400INVITE_SLUG_EXPIREDThe specified chat folder link has expired.
400PEERS_LIST_EMPTYThe specified list of peers is empty.

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.