getAllReceiveMessageOpt method

  1. @override
Future<V2TimValueCallback<V2TimReceiveMessageOptInfo>> getAllReceiveMessageOpt()
override

Implementation

@override
Future<V2TimValueCallback<V2TimReceiveMessageOptInfo>> getAllReceiveMessageOpt() async {
  Map<String, dynamic> param = {};
  var resp = V2TimValueCallback<V2TimReceiveMessageOptInfo>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "getAllReceiveMessageOpt",
        buildMessageMangerParam(
          param,
        ),
      ),
    ),
  );
  log("getAllReceiveMessageOpt", param, resp.toLogString());
  return resp;
}