39 lines
1.6 KiB
TypeScript
39 lines
1.6 KiB
TypeScript
/**
|
||
* 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";
|
||
export type PushMessageRequest = {
|
||
/**
|
||
* ID of the receiver.
|
||
*
|
||
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">to Documentation</a>
|
||
*/
|
||
to: string;
|
||
/**
|
||
* List of Message objects.
|
||
*
|
||
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">messages Documentation</a>
|
||
*/
|
||
messages: Array<Message>;
|
||
/**
|
||
* `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.
|
||
*
|
||
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">notificationDisabled Documentation</a>
|
||
*/
|
||
notificationDisabled?: boolean;
|
||
/**
|
||
* List of aggregation unit name. Case-sensitive. This functions can only be used by corporate users who have submitted the required applications.
|
||
*
|
||
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#send-push-message">customAggregationUnits Documentation</a>
|
||
*/
|
||
customAggregationUnits?: Array<string>;
|
||
};
|
||
//# sourceMappingURL=pushMessageRequest.d.ts.map
|