Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
sendButtonTemplate(
altText: string,
buttonTemplate: Omit,
options?: LineTypes.MessageOptions
) {
return this.send(
[Line.createButtonTemplate(altText, buttonTemplate, options)],
options
);
}
replyButtonTemplate(
altText: string,
buttonTemplate: Omit,
options?: LineTypes.MessageOptions
) {
return this.reply(
[Line.createButtonTemplate(altText, buttonTemplate, options)],
options
);
}
pushButtonTemplate(
altText: string,
buttonTemplate: Omit,
options?: LineTypes.MessageOptions
) {
return this.push(
[Line.createButtonTemplate(altText, buttonTemplate, options)],
options
);
}