getC2CReceiveMessageOpt method

  1. @override
Future<V2TimValueCallback<List<V2TimReceiveMessageOptInfo>>> getC2CReceiveMessageOpt({
  1. required List<String> userIDList,
})
override

查询针对某个用户的 C2C 消息接收选项

注意: web不支持该接口

Implementation

@override
Future<V2TimValueCallback<List<V2TimReceiveMessageOptInfo>>> getC2CReceiveMessageOpt({
  required List<String> userIDList,
}) async {
  return V2TimValueCallback<List<V2TimReceiveMessageOptInfo>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "getC2CReceiveMessageOpt",
        buildMessageMangerParam(
          {
            "userIDList": userIDList,
          },
        ),
      ),
    ),
  );
}