AWSPinpointTargetingCampaignSmsMessage

Objective-C

@interface AWSPinpointTargetingCampaignSmsMessage

Swift

class 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 (nonatomic, strong) NSString *_Nullable body;

    Swift

    var body: String? { get set }
  • The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable entityId;

    Swift

    var entityId: String? { get set }
  • The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren’t critical or time-sensitive, such as marketing messages).

    Declaration

    Objective-C

    @property (nonatomic) AWSPinpointTargetingMessageType messageType;

    Swift

    var messageType: AWSPinpointTargetingMessageType { get set }
  • The long code to send the SMS message from. This value should be one of the dedicated long codes that’s assigned to your AWS account. Although it isn’t required, we recommend that you specify the long code using an E.164 format to ensure prompt and accurate delivery of the message. For example, +12065550100.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable originationNumber;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var senderId: String? { get set }
  • The template ID received from the regulatory body for sending SMS in your country.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable templateId;

    Swift

    var templateId: String? { get set }