searchCloudMessages method

  1. @override
Future<V2TimValueCallback<V2TimMessageSearchResult>> searchCloudMessages({
  1. required V2TimMessageSearchParam searchParam,
})
override

Implementation

@override
Future<V2TimValueCallback<V2TimMessageSearchResult>> searchCloudMessages({
  required V2TimMessageSearchParam searchParam,
}) async {
  return V2TimValueCallback<V2TimMessageSearchResult>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "searchCloudMessages",
        buildMessageMangerParam(
          {
            "searchParam": searchParam.toJson(),
          },
        ),
      ),
    ),
  );
}