Layer 220
ChatlistsGetLeaveChatlistSuggestions
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
Users
chatlists.getLeaveChatlistSuggestions#fdbcd714 chatlist:InputChatlist = Vector<Peer>;
Parameters
| Name | Type | Description |
|---|---|---|
| Chatlist | InputChatlist | Folder ID |
Returns
VectorPossible 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. |
Gogram Example
// ChatlistsGetLeaveChatlistSuggestions - positional arguments result, err := client.ChatlistsGetLeaveChatlistSuggestions(&tg.InputChatlist{}) if err != nil { // handle error } // result is *tg.Vector