Send
Send a message
messages.send(strchat_id, MessageSendParams**kwargs) -> MessageSendResponse
/v1/chats/{chatID}/messages
Send a text message to a specific chat. Supports replying to existing messages. Returns the sent message ID.
Parameters
chat_id: str
Unique identifier of the chat.
reply_to_message_id: Optional[str]
Provide a message ID to send this as a reply to an existing message
text: Optional[str]
Text content of the message you want to send. You may use markdown.
Returns
Send a message
from beeper_desktop_api import BeeperDesktop
client = BeeperDesktop(
access_token="My Access Token",
)
response = client.messages.send(
chat_id="!NCdzlIaMjZUmvmvyHU:beeper.com",
)
print(response)
{
"success": true,
"error": "error",
"chatID": "!signal_adamvy:local-signal.localhost",
"pendingMessageID": "m1694783291234567"
}
Returns Examples
{
"success": true,
"error": "error",
"chatID": "!signal_adamvy:local-signal.localhost",
"pendingMessageID": "m1694783291234567"
}