setAllReceiveMessageOptWithTimestamp method
Future<V2TimCallback>
setAllReceiveMessageOptWithTimestamp(
{ - required int opt,
- required int startTimeStamp,
- required int duration,
})
override
Implementation
@override
Future<V2TimCallback> setAllReceiveMessageOptWithTimestamp({
required int opt,
required int startTimeStamp,
required int duration,
}) async {
Map<String, dynamic> param = {
"opt": opt,
"startTimeStamp": startTimeStamp,
"duration": duration,
};
var resp = V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"setAllReceiveMessageOptWithTimestamp",
buildMessageMangerParam(
param,
),
),
),
);
log("setAllReceiveMessageOptWithTimestamp", param, resp.toLogString());
return resp;
}