OnRecvMessageReadReceipts

Introduction

The callback of receive messages read receipt event.

This callback will be triggered when the receiver users invoke sendMessageReadReceipts, if the message supports reading receipt.

Returned template

OnRecvMessageReadReceipts = void Function(
List<V2TimMessageReceipt> receiptList
)

Return value details

name type description
message List< V2TimMessageReceipt > The list of messages read receipts.

Code example

    V2TimGroupListener listener = V2TimGroupListener(
      onRecvMessageReadReceipts: (List<V2TimMessageReceipt> receiptList) {
        for (V2TimMessageReceipt element in receiptList) {
          element.groupID; 
          element.msgID; 
          element.readCount; 
          element.unreadCount; 
          element.userID; 
        }
      },
    );
    TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);

results matching ""

    No results matching ""