/AWS1/CL_PPM=>SENDWHATSAPPMESSAGE()
¶
About SendWhatsAppMessage¶
Send a WhatsApp message. For examples of sending a message using the Amazon Web Services CLI, see Sending messages in the Amazon Web Services End User Messaging Social User Guide .
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_ORIGINATIONPHONENUMBERID
TYPE /AWS1/PPMWHATSAPPPHONENUMBERID
/AWS1/PPMWHATSAPPPHONENUMBERID
¶
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 asphone-number-id-01234567890123456789012345678901
. Use GetLinkedWhatsAppBusinessAccount to find a phone number's id.
IV_MESSAGE
TYPE /AWS1/PPMWHATSAPPMESSAGEBLOB
/AWS1/PPMWHATSAPPMESSAGEBLOB
¶
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.
IV_METAAPIVERSION
TYPE /AWS1/PPMSTRING
/AWS1/PPMSTRING
¶
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.