Add message
POST /v1/chat/message/:id
Add a new message
Path Parameters
- id any required
Object ID of the object, this can be a mongo ID but also a plain string (backwards-compatibility). When using POST or add API calls, this property is optional.
- application/json
Request Body required
- message string
Message
- channel string
ID of the channel this message should go to
- writer string
ID of the member that wrote this message
- writtenAt integer
Milliseconds since epoch for this timestamp/date
- replyTo string
Message ID this message is in reply to
Responses
- 200
- 404
OK
NOT FOUND
Loading...