Send a message
Messages
Send Message
Sends a message via the specified bot to the specified chat. Optionally replies to an existing message.
POST
Send a message
Authorizations
API key with bmx_ prefix. Obtain via /api/auth/api-keys.
Body
application/json
Response
Message sent and saved
Telegram message ID
Chat ID
Bot ID that received/sent this message
Sender user ID
Sender username
Sender first name
Sender last name
Message text content
Unix timestamp of the message
Media type if the message contains media (photo, video, animation, sticker, voice, audio, document, video_note) or callback for inline button interactions tracked as synthetic messages
Telegram file ID for media messages
ID of the message this is a reply to