Layer 220
method Users
chatlists.joinChatlistUpdates#e089f8f5 chatlist:InputChatlist peers:Vector<InputPeer> = Updates;

Parameters

Name Type Description
Chatlist InputChatlist The folder
Peers Vector<InputPeer> List of new chats to join, fetched using chatlists. get Chatlist Updates and filtered as specified in the documentation.

Returns

Updates

Possible Errors

Code Type Description
400 FILTER_ID_INVALID The specified filter ID is invalid.
400 FILTER_INCLUDE_EMPTY The include_peers vector of the filter is empty.

Gogram Example

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