UNPKG

@line/bot-sdk

Version:
32 lines • 1.43 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 { PnpTemplatedMessageBody } from "./pnpTemplatedMessageBody.js"; /** * @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 PnpTemplatedMessageRequest = { /** * Message destination. Specify a phone number that has been normalized to E.164 format and hashed with SHA256. */ to: string; /** * Specify the key of the template you want to send. For available keys, see https://developers.line.biz/en/docs/partner-docs/line-notification-messages/template/#templates */ templateKey: string; body?: PnpTemplatedMessageBody; /** * Name of aggregation unit. Case-sensitive. For more information about assigning a unit name, see https://developers.line.biz/en/docs/messaging-api/unit-based-statistics-aggregation/#assign-names-to-units-when-sending-messages * Maximum items: 1 */ customAggregationUnits?: Array<string>; }; //# sourceMappingURL=pnpTemplatedMessageRequest.d.ts.map