SendUsersMessageRequest class

Specifies the configuration and other settings for a message to send to all the endpoints that are associated with a list of users.

Constructors

SendUsersMessageRequest({required DirectMessageConfiguration messageConfiguration, required Map<String, EndpointSendConfiguration> users, Map<String, String>? context, TemplateConfiguration? templateConfiguration, String? traceId})

Properties

context Map<String, String>?
A map of custom attribute-value pairs. For a push notification, Amazon Pinpoint adds these attributes to the data.pinpoint object in the body of the notification payload. Amazon Pinpoint also provides these attributes in the events that it generates for users-messages deliveries.
final
hashCode int
The hash code for this object.
no setterinherited
messageConfiguration DirectMessageConfiguration
The settings and content for the default message and any default messages that you defined for specific channels.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
templateConfiguration TemplateConfiguration?
The message template to use for the message.
final
traceId String?
The unique identifier for tracing the message. This identifier is visible to message recipients.
final
users Map<String, EndpointSendConfiguration>
A map that associates user IDs with EndpointSendConfiguration objects. You can use an EndpointSendConfiguration object to tailor the message for a user by specifying settings such as content overrides and message variables.
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