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, 9 more } >
get/v1/messages/search
List messages
client.messages.list(stringchatID, MessageListParams { cursor, direction } query?, RequestOptionsoptions?): CursorSortKey<Message { id, accountID, chatID, 9 more } >
get/v1/chats/{chatID}/messages
Send a message
client.messages.send(stringchatID, MessageSendParams { replyToMessageID, text } body?, RequestOptionsoptions?): MessageSendResponse { chatID, pendingMessageID }
post/v1/chats/{chatID}/messages