AWSPinpointTargetingSendUsersMessageRequest

@interface AWSPinpointTargetingSendUsersMessageRequest

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

Required parameters: [MessageConfiguration, Users]

  • 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.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSDictionary<NSString *, NSString *> *_Nullable context;

    Swift

    var context: [String : String]? { get set }
  • The settings and content for the default message and any default messages that you defined for specific channels.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSPinpointTargetingDirectMessageConfiguration
            *_Nullable messageConfiguration;

    Swift

    var messageConfiguration: AWSPinpointTargetingDirectMessageConfiguration? { get set }
  • The message template to use for the message.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSPinpointTargetingTemplateConfiguration *_Nullable templateConfiguration;

    Swift

    var templateConfiguration: AWSPinpointTargetingTemplateConfiguration? { get set }
  • The unique identifier for tracing the message. This identifier is visible to message recipients.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable traceId;

    Swift

    var traceId: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSDictionary<NSString *, AWSPinpointTargetingEndpointSendConfiguration *>
            *_Nullable users;

    Swift

    var users: [String : AWSPinpointTargetingEndpointSendConfiguration]? { get set }