UNPKG

996 BTypeScriptView 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 { Emoji } from "./emoji";
13import { Mention } from "./mention";
14import { MessageContentBase } from "./models";
15export type TextMessageContent = MessageContentBase & {
16 type: "text";
17 /**
18 * Message text.
19 */
20 text: string;
21 /**
22 * Array of one or more LINE emoji objects. Only included in the message event when the text property contains a LINE emoji.
23 */
24 emojis?: Array<Emoji>;
25 /**
26 */
27 mention?: Mention;
28 /**
29 * Quote token to quote this message.
30 */
31 quoteToken: string;
32 /**
33 * Message ID of a quoted message. Only included when the received message quotes a past message.
34 */
35 quotedMessageId?: string;
36};