AWSPinpointTargetingCampaignSmsMessage

@interface AWSPinpointTargetingCampaignSmsMessage

Specifies the content and settings for an SMS message that’s sent to recipients of a campaign.

  • The body of the SMS message.

    Declaration

    Objective-C

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

    Swift

    var body: String? { get set }
  • The type of SMS message. Valid values are: TRANSACTIONAL, the message is critical or time-sensitive, such as a one-time password that supports a customer transaction; and, PROMOTIONAL, the message isn’t critical or time-sensitive, such as a marketing message.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        AWSPinpointTargetingMessageType messageType;

    Swift

    var messageType: AWSPinpointTargetingMessageType { get set }
  • The sender ID to display on recipients’ devices when they receive the SMS message.

    Declaration

    Objective-C

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

    Swift

    var senderId: String? { get set }