setAvChatRoomCanFindMessage method

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

让avchatroom可以使用findMesasge,用于如downloadMesage,getMesasgeOnlineUrl等接口(5.0.10以后支持)

Implementation

Future<V2TimValueCallback<List<String>>> setAvChatRoomCanFindMessage({
  required List<String> avchatroomIDs,
  int eachGroupMessageNums = 20,
}) async {
  return await ImFlutterPlatform.instance.setAvChatRoomCanFindMessage(
    avchatroomIDs: avchatroomIDs,
    eachGroupMessageNums: eachGroupMessageNums,
  );
}