findMessages method
根据 messageID 查询指定会话中的本地消息
注意: web不支持该接口
Implementation
@override
Future<V2TimValueCallback<List<V2TimMessage>>> findMessages({
required List<String> messageIDList,
}) async {
Map<String, dynamic> param = {
"messageIDList": messageIDList,
};
var resp = V2TimValueCallback<List<V2TimMessage>>.fromJson(
formatJson(
await _channel.invokeMethod(
"findMessages",
buildMessageMangerParam(
param,
),
),
),
);
log("findMessages", param, resp.toLogString());
return resp;
}