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
Archive or unarchive a chat
import os
from beeper_desktop_api import BeeperDesktop
client = BeeperDesktop(
access_token=os.environ.get("BEEPER_ACCESS_TOKEN"), # This is the default and can be omitted
)
client.chats.archive(
chat_id="!NCdzlIaMjZUmvmvyHU:beeper.com",
)