View Source ExTDLib.Method.AddChatToList (ExTDLib v0.0.4)
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. Returns object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Chat identifier. |
| chat_list | ChatList | The chat list. Use getChatListsToAddChat to get suitable chat lists. |
More details on telegram's documentation.