public class ReceiveWhatsAppApi extends Object
| Constructor and Description |
|---|
ReceiveWhatsAppApi() |
ReceiveWhatsAppApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
File |
downloadWhatsAppInboundMedia(String sender,
String mediaId)
Download inbound media.
|
okhttp3.Call |
downloadWhatsAppInboundMediaAsync(String sender,
String mediaId,
ApiCallback<File> _callback)
Download inbound media (asynchronously).
|
okhttp3.Call |
downloadWhatsAppInboundMediaCall(String sender,
String mediaId,
ApiCallback _callback)
Build call for downloadWhatsAppInboundMedia.
|
ApiResponse<File> |
downloadWhatsAppInboundMediaWithHttpInfo(String sender,
String mediaId)
Download inbound media.
|
ApiClient |
getApiClient() |
String |
getWhatsAppMediaMetadata(String sender,
String mediaId)
Get media metadata.
|
okhttp3.Call |
getWhatsAppMediaMetadataAsync(String sender,
String mediaId,
ApiCallback<String> _callback)
Get media metadata (asynchronously).
|
okhttp3.Call |
getWhatsAppMediaMetadataCall(String sender,
String mediaId,
ApiCallback _callback)
Build call for getWhatsAppMediaMetadata.
|
ApiResponse<String> |
getWhatsAppMediaMetadataWithHttpInfo(String sender,
String mediaId)
Get media metadata.
|
void |
markWhatsAppMessageAsRead(String sender,
String messageId)
Mark as read.
|
okhttp3.Call |
markWhatsAppMessageAsReadAsync(String sender,
String messageId,
ApiCallback<Void> _callback)
Mark as read (asynchronously).
|
okhttp3.Call |
markWhatsAppMessageAsReadCall(String sender,
String messageId,
ApiCallback _callback)
Build call for markWhatsAppMessageAsRead.
|
ApiResponse<Void> |
markWhatsAppMessageAsReadWithHttpInfo(String sender,
String messageId)
Mark as read.
|
void |
setApiClient(ApiClient apiClient) |
public ReceiveWhatsAppApi()
public ReceiveWhatsAppApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call downloadWhatsAppInboundMediaCall(String sender, String mediaId, ApiCallback _callback) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)mediaId - ID of the media. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic File downloadWhatsAppInboundMedia(String sender, String mediaId) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)mediaId - ID of the media. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<File> downloadWhatsAppInboundMediaWithHttpInfo(String sender, String mediaId) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)mediaId - ID of the media. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call downloadWhatsAppInboundMediaAsync(String sender, String mediaId, ApiCallback<File> _callback) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)mediaId - ID of the media. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getWhatsAppMediaMetadataCall(String sender, String mediaId, ApiCallback _callback) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)mediaId - ID of the media. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic String getWhatsAppMediaMetadata(String sender, String mediaId) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)mediaId - ID of the media. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<String> getWhatsAppMediaMetadataWithHttpInfo(String sender, String mediaId) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)mediaId - ID of the media. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call getWhatsAppMediaMetadataAsync(String sender, String mediaId, ApiCallback<String> _callback) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)mediaId - ID of the media. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call markWhatsAppMessageAsReadCall(String sender, String messageId, ApiCallback _callback) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)messageId - ID of the message to be marked as read. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void markWhatsAppMessageAsRead(String sender, String messageId) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)messageId - ID of the message to be marked as read. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<Void> markWhatsAppMessageAsReadWithHttpInfo(String sender, String messageId) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)messageId - ID of the message to be marked as read. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call markWhatsAppMessageAsReadAsync(String sender, String messageId, ApiCallback<Void> _callback) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)messageId - ID of the message to be marked as read. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2022. All rights reserved.