ScheduledInfo class
Represents an scheduled information on BaseMessage
- Annotations
-
- @JsonSerializable()
Constructors
- ScheduledInfo({required int scheduledAt, required int scheduledMessageId, required ScheduledStatus scheduledStatus})
-
ScheduledInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheduledAt → int
-
The time to send the message, in Unix milliseconds format.
The messages are scheduled in minutes
The term between current time and scheduledAt should be between 5 minutes
(depending on the app attribute
minimum_interval_for_scheduling
) and 30 daysfinal - scheduledMessageId → int
-
Scheduled Message Unique ID
final
- scheduledStatus → ScheduledStatus
-
Scheduled Message sending status
pending, in_queue, sent, failed, canceled, removed
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited