Layer 220
ChatlistsGetChatlistUpdates
Fetch new chats associated with an imported chat folder deep link. Must be invoked at most every chatlist_update_period seconds (as per the related client configuration parameter ).
method
Users
Parameters
| Name | Type | Description |
|---|---|---|
| Chatlist | InputChatlist | The folder |
Returns
chatlists.ChatlistUpdatesPossible 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. |
| 400 | INPUT_CHATLIST_INVALID | The specified folder is invalid. |
Gogram Example
// ChatlistsGetChatlistUpdates - positional arguments result, err := client.ChatlistsGetChatlistUpdates(&tg.InputChatlist{}) if err != nil { // handle error } // result is *tg.ChatlistsChatlistUpdates