Class: Aws::Pinpoint::Types::CampaignSmsMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::CampaignSmsMessage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pinpoint/types.rb
Overview
Note:
When making an API call, you may pass CampaignSmsMessage data as a hash:
{
body: "__string",
message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
sender_id: "__string",
}
Specifies the content and settings for an SMS message that’s sent to recipients of a campaign.
Instance Attribute Summary collapse
-
#body ⇒ String
The body of the SMS message.
-
#message_type ⇒ String
The type of SMS message.
-
#sender_id ⇒ String
The sender ID to display on recipients’ devices when they receive the SMS message.
Instance Attribute Details
#body ⇒ String
The body of the SMS message.
2681 2682 2683 2684 2685 2686 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 2681 class CampaignSmsMessage < Struct.new( :body, :message_type, :sender_id) include Aws::Structure end |
#message_type ⇒ String
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.
2681 2682 2683 2684 2685 2686 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 2681 class CampaignSmsMessage < Struct.new( :body, :message_type, :sender_id) include Aws::Structure end |
#sender_id ⇒ String
The sender ID to display on recipients’ devices when they receive the SMS message.
2681 2682 2683 2684 2685 2686 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 2681 class CampaignSmsMessage < Struct.new( :body, :message_type, :sender_id) include Aws::Structure end |