ScheduledUserMessageParams class Null safety

An object consists a set of parameters to create scheduled user message.

Inheritance

Constructors

ScheduledUserMessageParams({required String scheduledDateString, required String timezone, required String message, List<String>? targetLanguages, String? data, String? customType, PushNotificationDeliveryOption pushOption = PushNotificationDeliveryOption.normal, MentionType? mentionType, List<String>? mentionedUserIds, List<MessageMetaArray>? metaArrays, int? parentMessageId})
Initializes this params instance with a text message and the date to send the message.

Properties

customType String?
Customize message's type to filter
read / write, inherited
data String?
Message data. The default value is null
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
mentionedUserIds List<String>?
Mention to specific users. If sends a message with this field, the message will be arrived to mentioned users.
read / write, inherited
mentionType MentionType?
Mention type
read / write, inherited
message String
Text message
read / write, inherited
metaArrays List<MessageMetaArray>?
Meta array with keys and values
read / write, inherited
parentMessageId int?
The unique ID of a parent message. A parent message is a message that has a thread of replies. If the message sent through the BaseChannel.sendUserMessage or BaseChannel.sendFileMessage method is a parent message, the value of this property is 0. If the message is a reply to a parent message, the value is the message ID of the parent message.
read / write, inherited
pushOption PushNotificationDeliveryOption
The push notification delivery option that determines how to deliver the push notification when sending a user or a file message.
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scheduledDateString String
The scheduled date time to send a message format (YYYY-MM-DD hh:mm)
read / write
targetLanguages List<String>
The target languages that a message will be translated into
read / write, inherited
timezone String
The timezone for the scheduled date to send a message.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited