Conecta icon

Conecta

Integração com a plataforma Conecta API

Actions108

Profile → Mark Message As Read

AI-generated

Summary

Mark the messages in a specified chat as read to update their status accordingly.

Inputs

None.

Output shape

a single JSON response object indicating the result of the mark-as-read operation

Requires the 'chat_id' parameter (UUID of the chat) to be set elsewhere in the node configuration for the operation to succeed. The operation performs a POST request to mark all messages in that chat as read.

Examples

Example 1: Mark all messages in a chat as read

Set Resource to 'Profile' (though implemented under 'chat' resource in source), Operation to 'Mark Message As Read', and specify 'chat_id' as the UUID of the chat whose messages should be marked as read.

Discussion