Module Values.DeleteWhatsAppMessageMediaInputSource

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.

Sourcetype nonrec t = {
  1. mediaId : WhatsAppMediaId.t;
    (*

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

    *)
  2. originationPhoneNumberId : WhatsAppPhoneNumberId.t;
    (*

    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.

    *)
}
Sourceval context_ : string
Sourceval make : mediaId:WhatsAppMediaId.t -> originationPhoneNumberId:WhatsAppPhoneNumberId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of WhatsAppMediaId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t