UNPKG

@line/bot-sdk

Version:
34 lines (31 loc) • 1.29 kB
/** * LINE Messaging API * This document describes LINE Messaging API. * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { PnpTemplatedButton } from "./pnpTemplatedButton.js"; import { PnpTemplatedEmphasizedItem } from "./pnpTemplatedEmphasizedItem.js"; import { PnpTemplatedItem } from "./pnpTemplatedItem.js"; /** * The body object of the template you want to send. You can't specify the same item more than once in a single message. * @see <a href="https://developers.line.biz/en/reference/line-notification-messages/#send-line-notification-message-template">https://developers.line.biz/en/reference/line-notification-messages/#send-line-notification-message-template</a> */ export type PnpTemplatedMessageBody = { emphasizedItem?: PnpTemplatedEmphasizedItem; /** * Array of items to include in the message. The `itemKey` must be unique across `emphasizedItem` and `items`. * Maximum items: 15 */ items?: Array<PnpTemplatedItem>; /** * Array of buttons to include in the message. The `buttonKey` must be unique. * Maximum items: 2 */ buttons?: Array<PnpTemplatedButton>; };