Group Chat Message Receipt
Users can initiate a read receipt request for messages they’ve sent. Once initiated, they can see how many people have read the message.
Initiate a Receipt Request
Initiate a read receipt request for a message.
Method
Future<int> sendGroupReadReceiptRequest(RCIMIWMessage message, {IRCIMIWSendGroupReadReceiptRequestCallback? callback});
Parameter Description
Parameter Name | Parameter Type | Description |
---|---|---|
message | RCIMIWMessage | The message for which a read receipt is requested |
callback | IRCIMIWSendGroupReadReceiptRequestCallback | Event callback. SDK supports callback from version 5.3.1. Other callback methods are deprecated starting from version 5.4.0. If the callback parameter is provided, only the callback will be triggered. |
Return Value
Return Value | Description |
---|---|
Future<int> | The status code of the current operation. 0 indicates success, and the specific result needs to be implemented in the interface callback. Non-zero indicates failure, and the interface callback will not be triggered. Refer to the error codes for details. |