ChatSend Docs
Messages

Messages

Messaging API for text, media, read receipts, typing indicators, and link preview sends.

Messages are outbound operations sent through a ChatSend session. This section follows docs/messages-api-spec.md.

MessageResponse

FieldTypeDescription
idstringUnique message identifier
tostringRecipient phone number or group JID
contentstringMessage content, media reference, or caption
typestringMessage type: text, image, video, document, or ptt
timestampstringISO 8601 timestamp of when the message was sent
statusstringDelivery status such as sent, delivered, or read
fromMebooleanTrue when sent by the current session
senderstringSender phone number
recipientstringRecipient identifier

SuccessResponse

FieldTypeDescription
successbooleanWhether the operation succeeded

LinkPreview

FieldTypeRequiredDescription
titlestringYesTitle for the link preview
descriptionstringNoDescription text
thumbnailUrlstringNoURL of a JPEG or PNG thumbnail

On this page