UNPKG

1.21 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 { AllMentionee } from "./models.js";
13import { UserMentionee } from "./models.js";
14export type Mentionee = AllMentionee | UserMentionee;
15export type MentioneeBase = {
16 /**
17 * Mentioned target.
18 *
19 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-text">type Documentation</a>
20 */
21 type: string;
22 /**
23 * Index position of the user mention for a character in text, with the first character being at position 0.
24 *
25 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-text">index Documentation</a>
26 */
27 index: number;
28 /**
29 * The length of the text of the mentioned user. For a mention @example, 8 is the length.
30 *
31 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-text">length Documentation</a>
32 */
33 length: number;
34};
35//# sourceMappingURL=mentionee.d.ts.map
\No newline at end of file