UNPKG

1.73 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 { Filter } from "./filter.js";
13import { Limit } from "./limit.js";
14import { Message } from "./message.js";
15import { Recipient } from "./recipient.js";
16export type NarrowcastRequest = {
17 /**
18 * List of Message objects.
19 *
20 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">messages Documentation</a>
21 */
22 messages: Array<Message>;
23 /**
24 *
25 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">recipient Documentation</a>
26 */
27 recipient?: Recipient;
28 /**
29 *
30 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">filter Documentation</a>
31 */
32 filter?: Filter;
33 /**
34 *
35 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">limit Documentation</a>
36 */
37 limit?: Limit;
38 /**
39 * `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.
40 *
41 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message">notificationDisabled Documentation</a>
42 */
43 notificationDisabled?: boolean;
44};
45//# sourceMappingURL=narrowcastRequest.d.ts.map
\No newline at end of file