fetchReceiptTimestamps method

Future<void> fetchReceiptTimestamps()

To fetch last receipt timestamps of the Message.

After invoked this method, Client.onLastDeliveredAtUpdated and Client.onLastReadAtUpdated may will be invoked if the cached timestamp has been updated.

Implementation

Future<void> fetchReceiptTimestamps() async {
  var args = {
    'clientId': client.id,
    'conversationId': id,
  };
  return await call(
    method: 'fetchReceiptTimestamp',
    arguments: args,
  );
}