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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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][1

in the *WhatsApp Business Platform Cloud API

Reference*.

[1]: developers.facebook.com/docs/whatsapp/cloud-api/reference/messages

Returns:

  • (String)


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_versionString

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

Returns:

  • (String)


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_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][1

to find a phone number’s id.

[1]: docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html

Returns:

  • (String)


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