public class ManageWhatsAppApi extends Object
| Constructor and Description |
|---|
ManageWhatsAppApi() |
ManageWhatsAppApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
WhatsAppTemplateApiResponse |
createWhatsAppTemplate(String sender,
WhatsAppTemplatePublicApiRequest whatsAppTemplatePublicApiRequest)
Create WhatsApp Template.
|
okhttp3.Call |
createWhatsAppTemplateAsync(String sender,
WhatsAppTemplatePublicApiRequest whatsAppTemplatePublicApiRequest,
ApiCallback<WhatsAppTemplateApiResponse> _callback)
Create WhatsApp Template (asynchronously).
|
okhttp3.Call |
createWhatsAppTemplateCall(String sender,
WhatsAppTemplatePublicApiRequest whatsAppTemplatePublicApiRequest,
ApiCallback _callback)
Build call for createWhatsAppTemplate.
|
ApiResponse<WhatsAppTemplateApiResponse> |
createWhatsAppTemplateWithHttpInfo(String sender,
WhatsAppTemplatePublicApiRequest whatsAppTemplatePublicApiRequest)
Create WhatsApp Template.
|
String |
deleteWhatsAppMedia(String sender,
WhatsAppUrlDeletionRequest whatsAppUrlDeletionRequest)
Delete media.
|
okhttp3.Call |
deleteWhatsAppMediaAsync(String sender,
WhatsAppUrlDeletionRequest whatsAppUrlDeletionRequest,
ApiCallback<String> _callback)
Delete media (asynchronously).
|
okhttp3.Call |
deleteWhatsAppMediaCall(String sender,
WhatsAppUrlDeletionRequest whatsAppUrlDeletionRequest,
ApiCallback _callback)
Build call for deleteWhatsAppMedia.
|
ApiResponse<String> |
deleteWhatsAppMediaWithHttpInfo(String sender,
WhatsAppUrlDeletionRequest whatsAppUrlDeletionRequest)
Delete media.
|
ApiClient |
getApiClient() |
WhatsAppTemplatesApiResponse |
getWhatsAppTemplates(String sender)
Get WhatsApp Templates.
|
okhttp3.Call |
getWhatsAppTemplatesAsync(String sender,
ApiCallback<WhatsAppTemplatesApiResponse> _callback)
Get WhatsApp Templates (asynchronously).
|
okhttp3.Call |
getWhatsAppTemplatesCall(String sender,
ApiCallback _callback)
Build call for getWhatsAppTemplates.
|
ApiResponse<WhatsAppTemplatesApiResponse> |
getWhatsAppTemplatesWithHttpInfo(String sender)
Get WhatsApp Templates.
|
void |
setApiClient(ApiClient apiClient) |
public ManageWhatsAppApi()
public ManageWhatsAppApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createWhatsAppTemplateCall(String sender, WhatsAppTemplatePublicApiRequest whatsAppTemplatePublicApiRequest, ApiCallback _callback) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)whatsAppTemplatePublicApiRequest - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic WhatsAppTemplateApiResponse createWhatsAppTemplate(String sender, WhatsAppTemplatePublicApiRequest whatsAppTemplatePublicApiRequest) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)whatsAppTemplatePublicApiRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<WhatsAppTemplateApiResponse> createWhatsAppTemplateWithHttpInfo(String sender, WhatsAppTemplatePublicApiRequest whatsAppTemplatePublicApiRequest) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)whatsAppTemplatePublicApiRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call createWhatsAppTemplateAsync(String sender, WhatsAppTemplatePublicApiRequest whatsAppTemplatePublicApiRequest, ApiCallback<WhatsAppTemplateApiResponse> _callback) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)whatsAppTemplatePublicApiRequest - (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 deleteWhatsAppMediaCall(String sender, WhatsAppUrlDeletionRequest whatsAppUrlDeletionRequest, ApiCallback _callback) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)whatsAppUrlDeletionRequest - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic String deleteWhatsAppMedia(String sender, WhatsAppUrlDeletionRequest whatsAppUrlDeletionRequest) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)whatsAppUrlDeletionRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<String> deleteWhatsAppMediaWithHttpInfo(String sender, WhatsAppUrlDeletionRequest whatsAppUrlDeletionRequest) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)whatsAppUrlDeletionRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call deleteWhatsAppMediaAsync(String sender, WhatsAppUrlDeletionRequest whatsAppUrlDeletionRequest, ApiCallback<String> _callback) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)whatsAppUrlDeletionRequest - (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 getWhatsAppTemplatesCall(String sender, ApiCallback _callback) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic WhatsAppTemplatesApiResponse getWhatsAppTemplates(String sender) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<WhatsAppTemplatesApiResponse> getWhatsAppTemplatesWithHttpInfo(String sender) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic okhttp3.Call getWhatsAppTemplatesAsync(String sender, ApiCallback<WhatsAppTemplatesApiResponse> _callback) throws ApiException
sender - Registered WhatsApp sender number. Must be in international format. (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.