UNPKG

1.63 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 MulticastRequest = {
14 /**
15 * Messages to send
16 *
17 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">messages Documentation</a>
18 */
19 messages: Array<Message>;
20 /**
21 * Array of user IDs. Use userId values which are returned in webhook event objects. Do not use LINE IDs found on LINE.
22 *
23 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">to Documentation</a>
24 */
25 to: Array<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/messaging-api/#send-multicast-message">notificationDisabled Documentation</a>
30 */
31 notificationDisabled?: boolean;
32 /**
33 * Name of aggregation unit. Case-sensitive.
34 *
35 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-multicast-message">customAggregationUnits Documentation</a>
36 */
37 customAggregationUnits?: Array<string>;
38};
39//# sourceMappingURL=multicastRequest.d.ts.map
\No newline at end of file