UNPKG

@uneiotech/elisa_whatsapp

Version:

Elisa WhatsApp is a library to stable a communication between channels and server.

27 lines (23 loc) 455 B
export interface IConfig{ url:string, apiKey:string } export type typeOfMessage = "text" | "link" export interface IMessage { numberFrom?:string, numberTo:string, type:typeOfMessage, message?:string, link?:string | undefined } export interface IBodyMaytapi { to_number:string, type:string, message?:string, text? :string } export interface IResponse { ok:boolean, status:number, message:string }