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