UNPKG

botbuilder-adapter-tyntec-whatsapp

Version:

A Microsoft Bot Framework adapter for handling connectivity with the WhatsApp channel in tyntec Conversations API.

9 lines (8 loc) 556 B
import { AxiosRequestConfig, AxiosResponse, Method } from "axios"; import { ITyntecWhatsAppMessageRequest } from "./messages"; export declare function composeTyntecSendWhatsAppMessageRequestConfig(apikey: string, data: ITyntecWhatsAppMessageRequest): AxiosRequestConfig; export declare function composeTyntecRequestConfig(method: Method, url: string, apikey: string, accept: string, data?: { content: any; contentType: string; }): AxiosRequestConfig; export declare function parseTyntecSendWhatsAppMessageResponse(response: AxiosResponse): string;