this.sendMessage(message: string) : WABA
type TButton = {
id: string;
title: string;
};
await this.sendButtonMessage(
header: string,
footer: string,
message: string,
buttons: TButton[],
):WABA
type TRow = {
id: string;
title: string;
description: string;
};
await this.sendListMessage(
header: string,
footer: string,
message: string,
buttonTitle: string,
rows: TRow[],
);
Sending List Messages With Section
type TSection = {
title: string;
rows: TRow[];
};
type TRow = {
id: string;
title: string;
description: string;
};
await this.sendListMessageWithSection(
header: string,
footer: string,
message: string,
buttonTitle: string,
sections: TSection[],
);
await sendImageWithUrl(filename: string, url: string) : WABA
sendDocumentWithUrl(filename: string, url: string)