AWSPinpointTargetingJourneySMSMessage

Objective-C

@interface AWSPinpointTargetingJourneySMSMessage

Swift

class AWSPinpointTargetingJourneySMSMessage

Specifies the sender ID and message type for an SMS message that’s sent to participants in a journey.

  • 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 as the sender of the message on a recipient’s device. Support for sender IDs varies by country or region. For more information, see Supported Countries and Regions in the Amazon Pinpoint User Guide.

    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 }