postWhatsAppMessageMedia
inline suspend fun SocialMessagingClient.postWhatsAppMessageMedia(crossinline block: PostWhatsAppMessageMediaRequest.Builder.() -> Unit): PostWhatsAppMessageMediaResponse
Upload 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.