tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

How to move chat to archive list and unarchive? #2621

Closed fat-complex closed 1 year ago

levlam commented 1 year ago

//@description Adds a chat to a chat list. A chat can't be simultaneously in Main and Archive chat lists, so it is automatically removed from another one if needed
//@chat_id Chat identifier
//@chat_list The chat list. Use getChatListsToAddChat to get suitable chat lists
addChatToList chat_id:int53 chat_list:ChatList = Ok;```
fat-complex commented 1 year ago

@levlam It works for me)))

fat-complex commented 1 year ago

.