setC2CReceiveMessageOpt method

  1. @override
Future<V2TimCallback> setC2CReceiveMessageOpt({
  1. required List<String> userIDList,
  2. required int opt,
})
override

Implementation

@override
Future<V2TimCallback> setC2CReceiveMessageOpt({
  required List<String> userIDList,
  required int opt,
}) async {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "setC2CReceiveMessageOpt",
        buildMessageMangerParam(
          {
            "userIDList": userIDList,
            "opt": opt,
          },
        ),
      ),
    ),
  );
}