ScheduledUserMessageParams constructor
ScheduledUserMessageParams({
- required int scheduledAt,
- required String message,
- bool sendPush = true,
- bool isSilent = false,
- bool markAsRead = true,
- String? dedupId,
- String? apnsBundleId,
- AppleCriticalAlertOptions? appleCriticalAlertOptions,
- List<
String> ? translationTargetLanguages, - String? data,
- String? customType,
- PushNotificationDeliveryOption pushOption = PushNotificationDeliveryOption.normal,
- MentionType mentionType = MentionType.users,
- List<
String> ? mentionedUserIds, - List<
MessageMetaArray> ? metaArrays, - String? reqId,
Initializes this params instance with a text message and the date to send the message.
Implementation
ScheduledUserMessageParams({
required this.scheduledAt,
required this.message,
this.sendPush = true,
this.isSilent = false,
this.markAsRead = true,
this.dedupId,
this.apnsBundleId,
this.appleCriticalAlertOptions,
this.translationTargetLanguages,
this.data,
this.customType,
this.pushOption = PushNotificationDeliveryOption.normal,
this.mentionType = MentionType.users,
this.mentionedUserIds,
this.metaArrays,
this.reqId,
});