Class: Aws::SocialMessaging::Types::SendWhatsAppMessageInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::SocialMessaging::Types::SendWhatsAppMessageInput
- Defined in:
- gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:message]
Instance Attribute Summary collapse
-
#message ⇒ String
The message to send through WhatsApp.
-
#meta_api_version ⇒ String
The API version for the request formatted as
v{VersionNumber}. -
#origination_phone_number_id ⇒ String
The ID of the phone number used to send the WhatsApp message.
Instance Attribute Details
#message ⇒ String
The message to send through WhatsApp. The length is in KB. The message field passes through a WhatsApp Message object, see Messages in the WhatsApp Business Platform Cloud API Reference.
1174 1175 1176 1177 1178 1179 1180 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 1174 class SendWhatsAppMessageInput < Struct.new( :origination_phone_number_id, :message, :meta_api_version) SENSITIVE = [:message] include Aws::Structure end |
#meta_api_version ⇒ String
The API version for the request formatted as v{VersionNumber}. For
a list of supported API versions and Amazon Web Services Regions,
see Amazon Web Services End User Messaging Social API Service
Endpoints in the Amazon Web Services General Reference.
1174 1175 1176 1177 1178 1179 1180 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 1174 class SendWhatsAppMessageInput < Struct.new( :origination_phone_number_id, :message, :meta_api_version) SENSITIVE = [:message] include Aws::Structure end |
#origination_phone_number_id ⇒ String
The ID of the phone number used to send the WhatsApp message. If you
are sending a media file only the originationPhoneNumberId used to
upload the file can be used. Phone number identifiers are formatted
as phone-number-id-01234567890123456789012345678901. Use
GetLinkedWhatsAppBusinessAccount to find a phone number's id.
1174 1175 1176 1177 1178 1179 1180 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 1174 class SendWhatsAppMessageInput < Struct.new( :origination_phone_number_id, :message, :meta_api_version) SENSITIVE = [:message] include Aws::Structure end |