# Shared Types ```python from beeper_desktop_api.types import Attachment, Error, Message, Reaction, User ``` # BeeperDesktop Types: ```python from beeper_desktop_api.types import FocusResponse, SearchResponse ``` Methods: - client.focus(\*\*params) -> FocusResponse - client.search(\*\*params) -> SearchResponse # Accounts Types: ```python from beeper_desktop_api.types import Account, AccountListResponse ``` Methods: - client.accounts.list() -> AccountListResponse ## Contacts Types: ```python from beeper_desktop_api.types.accounts import ContactSearchResponse ``` Methods: - client.accounts.contacts.list(account_id, \*\*params) -> SyncCursorSearch[User] - client.accounts.contacts.search(account_id, \*\*params) -> ContactSearchResponse # Chats Types: ```python from beeper_desktop_api.types import Chat, ChatCreateResponse, ChatListResponse ``` Methods: - client.chats.create(\*\*params) -> ChatCreateResponse - client.chats.retrieve(chat_id, \*\*params) -> Chat - client.chats.list(\*\*params) -> SyncCursorNoLimit[ChatListResponse] - client.chats.archive(chat_id, \*\*params) -> None - client.chats.search(\*\*params) -> SyncCursorSearch[Chat] ## Reminders Methods: - client.chats.reminders.create(chat_id, \*\*params) -> None - client.chats.reminders.delete(chat_id) -> None ## Messages ### Reactions Types: ```python from beeper_desktop_api.types.chats.messages import ReactionDeleteResponse, ReactionAddResponse ``` Methods: - client.chats.messages.reactions.delete(message_id, \*, chat_id, \*\*params) -> ReactionDeleteResponse - client.chats.messages.reactions.add(message_id, \*, chat_id, \*\*params) -> ReactionAddResponse # Messages Types: ```python from beeper_desktop_api.types import MessageUpdateResponse, MessageSendResponse ``` Methods: - client.messages.update(message_id, \*, chat_id, \*\*params) -> MessageUpdateResponse - client.messages.list(chat_id, \*\*params) -> SyncCursorSortKey[Message] - client.messages.search(\*\*params) -> SyncCursorSearch[Message] - client.messages.send(chat_id, \*\*params) -> MessageSendResponse # Assets Types: ```python from beeper_desktop_api.types import ( AssetDownloadResponse, AssetUploadResponse, AssetUploadBase64Response, ) ``` Methods: - client.assets.download(\*\*params) -> AssetDownloadResponse - client.assets.serve(\*\*params) -> None - client.assets.upload(\*\*params) -> AssetUploadResponse - client.assets.upload_base64(\*\*params) -> AssetUploadBase64Response # Info Types: ```python from beeper_desktop_api.types import InfoRetrieveResponse ``` Methods: - client.info.retrieve() -> InfoRetrieveResponse