Class: Aws::SocialMessaging::Types::SendWhatsAppMessageInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::SocialMessaging::Types::SendWhatsAppMessageInput
- Includes:
- Aws::Structure
- Defined in:
- 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 ‘vVersionNumber`.
-
#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][1
-
in the *WhatsApp Business Platform Cloud API
Reference*.
[1]: developers.facebook.com/docs/whatsapp/cloud-api/reference/messages
666 667 668 669 670 671 672 |
# File 'lib/aws-sdk-socialmessaging/types.rb', line 666 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 ‘vVersionNumber`. 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*.
[1]: docs.aws.amazon.com/general/latest/gr/end-user-messaging.html
666 667 668 669 670 671 672 |
# File 'lib/aws-sdk-socialmessaging/types.rb', line 666 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][1
-
to find a phone number’s id.
666 667 668 669 670 671 672 |
# File 'lib/aws-sdk-socialmessaging/types.rb', line 666 class SendWhatsAppMessageInput < Struct.new( :origination_phone_number_id, :message, :meta_api_version) SENSITIVE = [:message] include Aws::Structure end |