UNPKG

@line/bot-sdk

Version:
33 lines 1.22 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 { Message } from "./message.js"; /** * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message</a> */ export type PnpMessagesRequest = { /** * Message to be sent. * @minItems 1 * @maxItems 5 */ messages: Array<Message>; /** * Message destination. Specify a phone number that has been normalized to E.164 format and hashed with SHA256. */ to: string; /** * `true`: The user doesn’t receive a push notification when a message is sent. `false`: The user receives a push notification when the message is sent (unless they have disabled push notifications in LINE and/or their device). The default value is false. * @default false */ notificationDisabled?: boolean; }; //# sourceMappingURL=pnpMessagesRequest.d.ts.map