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 { QuickReply } from "./quickReply.js";
13import { Sender } from "./sender.js";
14import { AudioMessage } from "./models.js";
15import { FlexMessage } from "./models.js";
16import { ImageMessage } from "./models.js";
17import { ImagemapMessage } from "./models.js";
18import { LocationMessage } from "./models.js";
19import { StickerMessage } from "./models.js";
20import { TemplateMessage } from "./models.js";
21import { TextMessage } from "./models.js";
22import { TextMessageV2 } from "./models.js";
23import { VideoMessage } from "./models.js";
24export type Message = AudioMessage | FlexMessage | ImageMessage | ImagemapMessage | LocationMessage | StickerMessage | TemplateMessage | TextMessage | TextMessageV2 | VideoMessage;
25export type MessageBase = {
26 /**
27 * Type of message
28 *
29 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#message-common-properties">type Documentation</a>
30 */
31 type: string;
32 /**
33 *
34 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#message-common-properties">quickReply Documentation</a>
35 */
36 quickReply?: QuickReply;
37 /**
38 *
39 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#message-common-properties">sender Documentation</a>
40 */
41 sender?: Sender;
42};
43//# sourceMappingURL=message.d.ts.map
\No newline at end of file