MarkAsRead marks messages in an engagement as read.
POST/api/v1/engagements/:engagementId/read
Updates the read receipt in the database and publishes a message.read
event to the engagement channel. If last_message_id is provided, marks
all messages up to and including that message as read.
Errors
- NOT_FOUND: Engagement not found
- PERMISSION_DENIED: User not a participant
Request
Responses
- 200
- default
A successful response.
An unexpected error response.