chatlists.getLeaveChatlistSuggestions

Returns identifiers of pinned or always included chats from a chat folder imported using a chat folder deep link », which are suggested to be left when the chat folder is deleted.

 Method schema is available as of layer 158. Switch »

Parameters

Name Type Description
chatlist InputChatlist Folder ID

Result

Vector<Peer>

Possible errors

Code Type Description
400 FILTER_ID_INVALID The specified filter ID is invalid.
400 FILTER_NOT_SUPPORTED The specified filter cannot be used in this context.

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.