markMessageAsDelivered
Request to mark the message with the given id as delivered if:
Delivery receipts are enabled for the current user.
Delivery events are enabled in the channel config.
and if all of the following conditions are met for the message:
Not sent by the current user.
Not shadow banned.
Not sent by a muted user.
Not yet marked as read by the current user.
Not yet marked as delivered by the current user.
IMPORTANT: For this feature to function correctly and efficiently, the offline plugin must be enabled to avoid extra API calls to retrieve message and channel data.
Return
Executable async Call which completes with Result having data equal to true if the message was marked as delivered, false otherwise.
Parameters
messageId
The ID of the message to mark as delivered.