setAllReceiveMessageOpt method

  1. @override
Future<V2TimCallback> setAllReceiveMessageOpt({
  1. required int opt,
  2. required int startHour,
  3. required int startMinute,
  4. required int startSecond,
  5. required int duration,
})
override

Implementation

@override
Future<V2TimCallback> setAllReceiveMessageOpt({
  required int opt,
  required int startHour,
  required int startMinute,
  required int startSecond,
  required int duration,
}) async {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "setAllReceiveMessageOpt",
        buildMessageMangerParam(
          {
            "opt": opt,
            "startHour": startHour,
            "startMinute": startMinute,
            "startSecond": startSecond,
            "duration": duration,
          },
        ),
      ),
    ),
  );
}