Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
sendTemplate(
altText: string,
template: LineTypes.Template,
options?: LineTypes.MessageOptions
) {
return this.send(
[Line.createTemplate(altText, template, options)],
options
);
}
pushTemplate(
altText: string,
template: LineTypes.Template,
options?: LineTypes.MessageOptions
) {
return this.push(
[Line.createTemplate(altText, template, options)],
options
);
}
replyTemplate(
altText: string,
template: LineTypes.Template,
options?: LineTypes.MessageOptions
) {
return this.reply(
[Line.createTemplate(altText, template, options)],
options
);
}