chatlists.editExportedInvite

Edit a chat folder deep link ».

 Method schema is available as of layer 158. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
chatlist InputChatlist Folder ID
slug string slug obtained from the chat folder deep link ».
title flags.1?string If set, sets a new name for the link
peers flags.2?Vector<InputPeer> If set, changes the list of peers shared with the link

Result

ExportedChatlistInvite

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 FILTER_ID_INVALID The specified filter ID is invalid.
400 FILTER_NOT_SUPPORTED The specified filter cannot be used in this context.
400 INVITE_SLUG_EMPTY The specified invite slug is empty.
400 INVITE_SLUG_EXPIRED The specified chat folder link has expired.
400 PEERS_LIST_EMPTY The specified list of peers is empty.

Related pages

Deep links

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