Path Parameters
The id value of the conversation you want to send a message to.
Body
application/json
new message info
Request payload for sending a new message. The payload includes the messageType, createdAt date, and a messageData field whose structure depends on the messageType.
OneOf-based union for new message data, distinguished by messageType.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
Response
message object
The message object returned from the API (or retrieved from the database) with a discriminator to determine the concrete type.
The base message object that contains common properties for all message types.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13