...
Code Block |
---|
//currentUserId is the sender User ID var currentUserId = "<senderUserId>"; msg.payload = {session:{user:{currentUserId : currentUserId}}}; msg.payload.receipientrecipient = "<recipient1>, <recipient2>"; return msg; |
...
“msg.payload.conversationData.conversations[#].users[#].read” will have the status as “true” or “false” suggesting the message is “read by the recipient” or “not read by the recipient” respectively.
# is the number that depends on the Limit number. If the Limit number is 10, then # can take values between 0 and 9.
Related Articles
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|