setAvChatRoomCanFindMessage method

  1. @override
Future<V2TimValueCallback<List<String>>> setAvChatRoomCanFindMessage({
  1. required List<String> avchatroomIDs,
  2. int eachGroupMessageNums = 20,
})
override

Implementation

@override
Future<V2TimValueCallback<List<String>>> setAvChatRoomCanFindMessage({
  required List<String> avchatroomIDs,
  int eachGroupMessageNums = 20,
}) async {
  Map<String, dynamic> param = {
    "avchatroomIDs": avchatroomIDs,
    "eachGroupMessageNums": eachGroupMessageNums,
  };
  var resp = V2TimValueCallback<List<String>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "setAvChatRoomCanFindMessage",
        buildMessageMangerParam(
          param,
        ),
      ),
    ),
  );
  log("setAvChatRoomCanFindMessage", param, resp.toLogString());
  return resp;
}