searchCloudMessages method
Future<V2TimValueCallback<V2TimMessageSearchResult> >
searchCloudMessages({
- required V2TimMessageSearchParam searchParam,
override
Implementation
@override
Future<V2TimValueCallback<V2TimMessageSearchResult>> searchCloudMessages({
required V2TimMessageSearchParam searchParam,
}) async {
Map<String, dynamic> param = {
"searchParam": searchParam.toJson(),
};
var resp = V2TimValueCallback<V2TimMessageSearchResult>.fromJson(
formatJson(
await _channel.invokeMethod(
"searchCloudMessages",
buildMessageMangerParam(
param,
),
),
),
);
log("searchCloudMessages", param, resp.toLogString());
return resp;
}