UNPKG

whatsapp-api-js

Version:

A TypeScript server agnostic Whatsapp's Official API framework

3 lines (2 loc) 369 B
import{ClientMessage}from"../types.js";class Location extends ClientMessage{longitude;latitude;name;address;get _type(){return"location"}constructor(longitude,latitude,name,address){super(),this.longitude=longitude,this.latitude=latitude,name&&(this.name=name),address&&(this.address=address)}}export{Location,Location as default}; //# sourceMappingURL=location.js.map