UNPKG

whatsapp-api-js

Version:

A TypeScript server agnostic Whatsapp's Official API framework

3 lines (2 loc) 467 B
import{Section}from"../types.js";function isProductSections(obj){return obj[0]instanceof ProductSection}class ProductSection extends Section{product_items;constructor(title,...products){super("ProductSection","products",products,30,title),this.product_items=products}}class Product{product_retailer_id;constructor(product_retailer_id){this.product_retailer_id=product_retailer_id}}export{Product,ProductSection,isProductSections}; //# sourceMappingURL=globals.js.map