UNPKG

1.17 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 { RichMenuBatchLinkOperation } from "./models";
13import { RichMenuBatchUnlinkOperation } from "./models";
14import { RichMenuBatchUnlinkAllOperation } from "./models";
15export type RichMenuBatchOperation = RichMenuBatchLinkOperation | RichMenuBatchUnlinkOperation | RichMenuBatchUnlinkAllOperation | UnknownRichMenuBatchOperation;
16export type UnknownRichMenuBatchOperation = RichMenuBatchOperationBase & {
17 [key: string]: unknown;
18};
19/**
20 * Rich menu operation object represents the batch operation to the rich menu linked to the user.
21 */
22export type RichMenuBatchOperationBase = {
23 /**
24 * The type of operation to the rich menu linked to the user. One of link, unlink, or unlinkAll.
25 *
26 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users-operations">type Documentation</a>
27 */
28 type: string;
29};