Skip to content
Download Beeper

Archive or unarchive a chat

chats.archive(strchat_id, ChatArchiveParams**kwargs)
post/v1/chats/{chatID}/archive

Archive or unarchive a chat. Set archived=true to move to archive, archived=false to move back to inbox

ParametersExpand Collapse
chat_id: str

Unique identifier of the chat.

archived: Optional[bool]

True to archive, false to unarchive

Archive or unarchive a chat
from beeper_desktop_api import BeeperDesktop

client = BeeperDesktop(
    access_token="My Access Token",
)
client.chats.archive(
    chat_id="!NCdzlIaMjZUmvmvyHU:beeper.com",
)
Returns Examples