UNPKG

1.62 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 PushMessageRequest = {
14 /**
15 * ID of the receiver.
16 *
17 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">to Documentation</a>
18 */
19 to: string;
20 /**
21 * List of Message objects.
22 *
23 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">messages Documentation</a>
24 */
25 messages: Array<Message>;
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/messaging-api/#send-push-message">notificationDisabled Documentation</a>
30 */
31 notificationDisabled?: boolean;
32 /**
33 * List of aggregation unit name. Case-sensitive. This functions can only be used by corporate users who have submitted the required applications.
34 *
35 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">customAggregationUnits Documentation</a>
36 */
37 customAggregationUnits?: Array<string>;
38};
39//# sourceMappingURL=pushMessageRequest.d.ts.map
\No newline at end of file