Class: Aws::SocialMessaging::Types::SendWhatsAppMessageInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:message]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

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.

Returns:

  • (String)


662
663
664
665
666
667
668
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 662

class SendWhatsAppMessageInput < Struct.new(
  :origination_phone_number_id,
  :message,
  :meta_api_version)
  SENSITIVE = [:message]
  include Aws::Structure
end

#meta_api_versionString

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.

Returns:

  • (String)


662
663
664
665
666
667
668
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 662

class SendWhatsAppMessageInput < Struct.new(
  :origination_phone_number_id,
  :message,
  :meta_api_version)
  SENSITIVE = [:message]
  include Aws::Structure
end

#origination_phone_number_idString

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.

Returns:

  • (String)


662
663
664
665
666
667
668
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 662

class SendWhatsAppMessageInput < Struct.new(
  :origination_phone_number_id,
  :message,
  :meta_api_version)
  SENSITIVE = [:message]
  include Aws::Structure
end