How to use the messaging-api-line.Line.createImageCarouselTemplate function in messaging-api-line

To help you get started, we’ve selected a few messaging-api-line examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Yoctol / bottender / packages / bottender / src / line / LineContext.ts View on Github external
replyImageCarouselTemplate(
    altText: string,
    columns: LineTypes.ImageCarouselColumnObject[],
    options: LineTypes.MessageOptions
  ) {
    return this.reply(
      [Line.createImageCarouselTemplate(altText, columns, options)],
      options
    );
  }
github Yoctol / bottender / packages / bottender / src / line / LineContext.ts View on Github external
sendImageCarouselTemplate(
    altText: string,
    columns: LineTypes.ImageCarouselColumnObject[],
    options: LineTypes.MessageOptions
  ) {
    return this.send(
      [Line.createImageCarouselTemplate(altText, columns, options)],
      options
    );
  }
}
github Yoctol / bottender / packages / bottender / src / line / LineContext.ts View on Github external
pushImageCarouselTemplate(
    altText: string,
    columns: LineTypes.ImageCarouselColumnObject[],
    options: LineTypes.MessageOptions
  ) {
    return this.push(
      [Line.createImageCarouselTemplate(altText, columns, options)],
      options
    );
  }