ScheduledUserMessageCreateParams class

Represents a scheduled user message params.

Constructors

ScheduledUserMessageCreateParams.new({required String message, required int scheduledAt, String? customType, String? data, MentionType mentionType = MentionType.users, List<String>? mentionedUserIds, List<MessageMetaArray>? metaArrays, AppleCriticalAlertOptions? appleCriticalAlertOptions, PushNotificationDeliveryOption pushNotificationDeliveryOption = PushNotificationDeliveryOption.normal, List<String>? translationTargetLanguages})

Properties

appleCriticalAlertOptions AppleCriticalAlertOptions?
The apple critical alert options of the message. Defaults to null.
getter/setter pair
customType String?
The custom type of the message.
getter/setter pair
data String?
The data of the message.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mentionedUserIds List<String>?
The mentioned user ids of the message. Defaults to null.
getter/setter pair
mentionType MentionType
The mention type of the message. Defaults to MentionType.users.
final
message String
The message text of the message.
final
metaArrays List<MessageMetaArray>?
Meta arrays of the message. Defaults to null.
getter/setter pair
pushNotificationDeliveryOption PushNotificationDeliveryOption
The push notification delivery option of the message. Defaults to null.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduledAt int
The schedule time to send the message, in Unix milliseconds format. The messages are scheduled in minutes, and values less than minutes are discarded. The term between current time and scheduledAt should be between 5 minutes (depending on the app attribute minimum_interval_for_scheduling) and 30 days
final
translationTargetLanguages List<String>?
The translation target languages. Defaults to null.
getter/setter pair

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