Layer 227
ChatlistsLeaveChatlist
Delete a folder imported using a chat folder deep link
method
Users
chatlists.leaveChatlist#74fae13a chatlist:InputChatlist peers:Vector<InputPeer> = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Chatlist | InputChatlist | Folder ID |
| Peers | Vector < InputPeer > | Also leave the specified channels and groups |
Returns
UpdatesGogram Example
// ChatlistsLeaveChatlist - positional arguments result, err := client.ChatlistsLeaveChatlist(&tg.InputChatlist{}, &tg.VectorInputPeer{}) if err != nil { // handle error } // result is *tg.Updates
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | FILTER_ID_INVALID | The specified filter ID is invalid. |