setPrivateDBStorageMax static method

Future<int> setPrivateDBStorageMax(
  1. int max
)

设置私信消息最大存储量 如果接入方设置存储上限为1万,那么超过一万的消息就会被删除掉【删除距离现在时间最早的消息】 @param max 最大消息存储量

Implementation

static Future<int> setPrivateDBStorageMax(int max) async {
  return await _channel.invokeMethod("setPrivateDBStorageMax", {"max": max});
}