Skip to content
Download Beeper

Messages

Manage messages in chats

Search messages
client.messages.search(MessageSearchParams { accountIDs, chatIDs, chatType, 10 more } query?, RequestOptionsoptions?): CursorSearch<Message { id, accountID, chatID, 11 more } >
GET/v1/messages/search
List messages
client.messages.list(stringchatID, MessageListParams { cursor, direction } query?, RequestOptionsoptions?): CursorSortKey<Message { id, accountID, chatID, 11 more } >
GET/v1/chats/{chatID}/messages
Send a message
client.messages.send(stringchatID, MessageSendParams { attachment, replyToMessageID, text } body?, RequestOptionsoptions?): MessageSendResponse { chatID, pendingMessageID }
POST/v1/chats/{chatID}/messages
Edit a message
client.messages.update(stringmessageID, MessageUpdateParams { chatID, text } params, RequestOptionsoptions?): MessageUpdateResponse { chatID, messageID, success }
PUT/v1/chats/{chatID}/messages/{messageID}