Send Chat Message
repliz_send_messageSend various message types in Repliz conversations, including text, images, videos, audio, documents, and interactive buttons.
Instructions
Send a message in a conversation. Set type and provide the matching field:
text: provide
textimage: provide
image{ url, mimetype, thumbnail? }video: provide
video{ url, duration, mimetype, thumbnail? }audio: provide
audio{ url, duration, mimetype }document: provide
document{ url, name, size, mimetype }button: provide
button{ text, buttons:{ title, url }, image? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text content (for type 'text'). | |
| type | Yes | The message type. | |
| audio | No | ||
| image | No | ||
| video | No | ||
| button | No | An interactive button message. | |
| chatId | Yes | The chat id to send to. | |
| document | No |