unarchive_chats()¶
- async Client.unarchive_chats()¶
Unarchive one or more chats.
Usable by Users Bots- Parameters:
chat_ids (
int
|str
| List[int
,str
]) – Unique identifier (int) or username (str) of the target chat. You can also pass a list of ids (int) or usernames (str).- Returns:
bool
– On success, True is returned.
Example
# Unarchive chat await app.unarchive_chats(chat_id) # Unarchive multiple chats at once await app.unarchive_chats([chat_id1, chat_id2, chat_id3])