Values.PostWhatsAppMessageMediaInputSourceUpload a media file to the WhatsApp service. Only the specified originationPhoneNumberId has the permissions to send the media file when using SendWhatsAppMessage. You must use either sourceS3File or sourceS3PresignedUrl for the source. If both or neither are specified then an InvalidParameterException is returned.
type nonrec t = {originationPhoneNumberId : WhatsAppPhoneNumberId.t;The ID of the phone number to associate with the WhatsApp media file. The phone number identifiers are formatted as phone-number-id-01234567890123456789012345678901. Use GetLinkedWhatsAppBusinessAccount to find a phone number's id.
*)sourceS3PresignedUrl : S3PresignedUrl.t option;The source presign url of the media file.
*)sourceS3File : S3File.t option;The source S3 url for the media file.
*)}val make :
?sourceS3PresignedUrl:??? ->
?sourceS3File:??? ->
originationPhoneNumberId:WhatsAppPhoneNumberId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of WhatsAppPhoneNumberId.t
| `Structure of
(string
* [> `Map of
([> `String of String_.t ] * [> `String of String_.t ])
list
| `String of S3PresignedUrlUrlString.t ])
list ])
list ]