ScheduledUserMessageCreateParams class

Represents a scheduled user message params.

Constructors

ScheduledUserMessageCreateParams({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.
read / write
customType String?
The custom type of the message.
read / write
data String?
The data of the message.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
mentionedUserIds List<String>?
The mentioned user ids of the message. Defaults to null.
read / write
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.
read / write
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.
read-onlyinherited
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.
read / write

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