MessageConfiguration class

Specifies the message configuration settings for a campaign.

Constructors

MessageConfiguration({Message? aDMMessage, Message? aPNSMessage, Message? baiduMessage, CampaignCustomMessage? customMessage, Message? defaultMessage, CampaignEmailMessage? emailMessage, Message? gCMMessage, CampaignSmsMessage? sMSMessage})
MessageConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

aDMMessage Message?
The message that the campaign sends through the ADM (Amazon Device Messaging) channel. If specified, this message overrides the default message.
final
aPNSMessage Message?
The message that the campaign sends through the APNs (Apple Push Notification service) channel. If specified, this message overrides the default message.
final
baiduMessage Message?
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel. If specified, this message overrides the default message.
final
customMessage CampaignCustomMessage?
The message that the campaign sends through a custom channel, as specified by the delivery configuration (CustomDeliveryConfiguration) settings for the campaign. If specified, this message overrides the default message.
final
defaultMessage Message?
The default message that the campaign sends through all the channels that are configured for the campaign.
final
emailMessage CampaignEmailMessage?
The message that the campaign sends through the email channel. If specified, this message overrides the default message.
final
gCMMessage Message?
The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. If specified, this message overrides the default message.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sMSMessage CampaignSmsMessage?
The message that the campaign sends through the SMS channel. If specified, this message overrides the default message.
final

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