## Archive `client.chats.archive(stringchatID, ChatArchiveParamsbody?, RequestOptionsoptions?): void` **post** `/v1/chats/{chatID}/archive` Archive or unarchive a chat. Set archived=true to move to archive, archived=false to move back to inbox ### Parameters - `chatID: string` Unique identifier of the chat. - `body: ChatArchiveParams` - `archived?: boolean` True to archive, false to unarchive ### Example ```typescript import BeeperDesktop from '@beeper/desktop-api'; const client = new BeeperDesktop(); await client.chats.archive('!NCdzlIaMjZUmvmvyHU:beeper.com'); ```