sendConversationMessageReceiptRead method

Future<Map> sendConversationMessageReceiptRead(
  1. String conversationID,
  2. dynamic conversationType
)

Implementation

Future<Map<dynamic, dynamic>> sendConversationMessageReceiptRead(
    String conversationID, dynamic conversationType) async {
  final result = await promiseToFuture(ZIM
          .getInstance()!
          .sendConversationMessageReceiptRead(
              conversationID, conversationType))
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return jsObjectToMap(result);
}