UNPKG

1.27 kBTypeScriptView Raw
1/**
2 * Webhook Type Definition
3 * Webhook event definition of the LINE Messaging API
4 *
5 * The version of the OpenAPI document: 1.0.0
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 { AudioMessageContent } from "./models.js";
13import { FileMessageContent } from "./models.js";
14import { ImageMessageContent } from "./models.js";
15import { LocationMessageContent } from "./models.js";
16import { StickerMessageContent } from "./models.js";
17import { TextMessageContent } from "./models.js";
18import { VideoMessageContent } from "./models.js";
19export type MessageContent = AudioMessageContent | FileMessageContent | ImageMessageContent | LocationMessageContent | StickerMessageContent | TextMessageContent | VideoMessageContent;
20export type MessageContentBase = {
21 /**
22 * Type
23 *
24 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#message-event">type Documentation</a>
25 */
26 type: string;
27 /**
28 * Message ID
29 *
30 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#message-event">id Documentation</a>
31 */
32 id: string;
33};
34//# sourceMappingURL=messageContent.d.ts.map
\No newline at end of file