setAllReceiveMessageOptWithTimestamp method

  1. @override
Future<V2TimCallback> setAllReceiveMessageOptWithTimestamp({
  1. required int opt,
  2. required int startTimeStamp,
  3. required int duration,
})
override

Implementation

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