ScheduledFileMessageCreateParams class

Represents a scheduled file message params.

Constructors

ScheduledFileMessageCreateParams.withFile(File file, {required int scheduledAt, String? fileName, String? customType, String? data, MentionType mentionType = MentionType.users, List<MessageMetaArray>? metaArrays, AppleCriticalAlertOptions? appleCriticalAlertOptions, PushNotificationDeliveryOption pushNotificationDeliveryOption = PushNotificationDeliveryOption.normal})
withFile
ScheduledFileMessageCreateParams.withFileBytes(Uint8List fileBytes, {required int scheduledAt, String? fileName, String? customType, String? data, MentionType mentionType = MentionType.users, List<MessageMetaArray>? metaArrays, AppleCriticalAlertOptions? appleCriticalAlertOptions, PushNotificationDeliveryOption pushNotificationDeliveryOption = PushNotificationDeliveryOption.normal})
withFileBytes
ScheduledFileMessageCreateParams.withFileUrl(String fileUrl, {String? mimeType, int? fileSize, String? fileName, String? data, required int scheduledAt, String? customType, List<MessageMetaArray>? metaArrays, AppleCriticalAlertOptions? appleCriticalAlertOptions, PushNotificationDeliveryOption pushNotificationDeliveryOption = PushNotificationDeliveryOption.normal, MentionType mentionType = MentionType.users})
withFileUrl

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
fileInfo FileInfo
The file info.
read / write
fileName String?
The file name of the file of the message. Defaults to null.
read / write
fileSize int?
The file size of the file of the message. Defaults to null.
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
metaArrays List<MessageMetaArray>?
Meta arrays of the message. Defaults to null.
read / write
mimeType String?
The thumbnail sizes the file's thumbnail 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
thumbnailSizes List<Size>?
The thumbnail sizes the file's thumbnail of the message. 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