40 lines
1.1 KiB
TypeScript
40 lines
1.1 KiB
TypeScript
/**
|
|
* Webhook Type Definition
|
|
* Webhook event definition of the LINE Messaging API
|
|
*
|
|
* The version of the OpenAPI document: 1.0.0
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
import { AllMentionee } from "./models.js";
|
|
import { UserMentionee } from "./models.js";
|
|
|
|
export type Mentionee =
|
|
| AllMentionee // all
|
|
| UserMentionee; // user
|
|
|
|
export type MentioneeBase = {
|
|
/**
|
|
* Mentioned target.
|
|
*
|
|
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-text">type Documentation</a>
|
|
*/
|
|
type: string /**/;
|
|
/**
|
|
* Index position of the user mention for a character in text, with the first character being at position 0.
|
|
*
|
|
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-text">index Documentation</a>
|
|
*/
|
|
index: number /**/;
|
|
/**
|
|
* The length of the text of the mentioned user. For a mention @example, 8 is the length.
|
|
*
|
|
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#wh-text">length Documentation</a>
|
|
*/
|
|
length: number /**/;
|
|
};
|