Layer 220
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

Updates

Possible Errors

Code Type Description
400 FILTER_ID_INVALID The specified filter ID is invalid.

Gogram Example

// ChatlistsLeaveChatlist - positional arguments
result, err := client.ChatlistsLeaveChatlist(&tg.InputChatlist{}, []tg.InputPeer{&tg.InputPeerUser{UserID: int64(123456789)}})
if err != nil {
    // handle error
}
// result is *tg.Updates