Skip to content

/AWS1/CL_PPM=>DELETEWHATSAPPMESSAGEMEDIA()

About DeleteWhatsAppMessageMedia

Delete a media object from the WhatsApp service. If the object is still in an Amazon S3 bucket you should delete it from there too.

Method Signature

IMPORTING

Required arguments:

IV_MEDIAID TYPE /AWS1/PPMWHATSAPPMEDIAID /AWS1/PPMWHATSAPPMEDIAID

The unique identifier of the media file to delete. Use the mediaId returned from PostWhatsAppMessageMedia.

IV_ORIGINATIONPHONENUMBERID TYPE /AWS1/PPMWHATSAPPPHONENUMBERID /AWS1/PPMWHATSAPPPHONENUMBERID

The unique identifier of the originating phone number associated with the media. Phone number identifiers are formatted as phone-number-id-01234567890123456789012345678901. Use GetLinkedWhatsAppBusinessAccount to find a phone number's id.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PPMDELWHATSAPPMSGME01 /AWS1/CL_PPMDELWHATSAPPMSGME01