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 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 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 }