CustomMessageActivity class
The settings for a custom message activity. This type of activity calls an AWS Lambda function or web hook that sends messages to participants.
Constructors
-
CustomMessageActivity({String? deliveryUri, List<
EndpointTypesElement> ? endpointTypes, JourneyCustomMessage? messageConfig, String? nextActivity, String? templateName, String? templateVersion}) -
CustomMessageActivity.fromJson(Map<
String, dynamic> json) -
factory
Properties
- deliveryUri → String?
-
The destination to send the campaign or treatment to. This value can be one
of the following:
final
-
endpointTypes
→ List<
EndpointTypesElement> ? -
The types of endpoints to send the custom message to. Each valid value maps
to a type of channel that you can associate with an endpoint by using the
ChannelType property of an endpoint.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageConfig → JourneyCustomMessage?
-
Specifies the message data included in a custom channel message that's sent
to participants in a journey.
final
- nextActivity → String?
-
The unique identifier for the next activity to perform, after Amazon
Pinpoint calls the AWS Lambda function or web hook.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- templateName → String?
-
The name of the custom message template to use for the message. If
specified, this value must match the name of an existing message template.
final
- templateVersion → String?
-
The unique identifier for the version of the message template to use for the
message. If specified, this value must match the identifier for an existing
template version. To retrieve a list of versions and version identifiers for
a template, use the Template
Versions resource.
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