UNPKG

1.39 kBTypeScriptView Raw
1/**
2 * LINE Messaging API
3 * This document describes LINE Messaging API.
4 *
5 * The version of the OpenAPI document: 0.0.1
6 *
7 *
8 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9 * https://openapi-generator.tech
10 * Do not edit the class manually.
11 */
12import { Message } from "./message.js";
13export type PnpMessagesRequest = {
14 /**
15 * Message to be sent.
16 *
17 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">messages Documentation</a>
18 */
19 messages: Array<Message>;
20 /**
21 * Message destination. Specify a phone number that has been normalized to E.164 format and hashed with SHA256.
22 *
23 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">to Documentation</a>
24 */
25 to: string;
26 /**
27 * `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.
28 *
29 * @see <a href="https://developers.line.biz/en/reference/partner-docs/#send-line-notification-message">notificationDisabled Documentation</a>
30 */
31 notificationDisabled?: boolean;
32};
33//# sourceMappingURL=pnpMessagesRequest.d.ts.map
\No newline at end of file