Uses of Record Class
com.whatsapp.api.domain.media.UploadResponse
-
Uses of UploadResponse in com.whatsapp.api.impl
Modifier and TypeMethodDescriptionWhatsappBusinessCloudApi.uploadMedia
(String phoneNumberId, String fileName, FileType fileType, byte[] file) You can use the endpoint to upload media: All media files sent through this endpoint are encrypted and persist for 30 days, unless they are deleted earlier -
Uses of UploadResponse in com.whatsapp.api.service
Modifier and TypeMethodDescriptionretrofit2.Call<UploadResponse>
WhatsappBusinessCloudApiService.uploadMedia
(String apiVersion, String phoneNumberId, okhttp3.MultipartBody.Part file, okhttp3.MultipartBody.Part messageProduct) Upload media call.