UNPKG

814 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 { GroupSource } from "./models";
13import { RoomSource } from "./models";
14import { UserSource } from "./models";
15export type Source = GroupSource | RoomSource | UserSource | UnknownSource;
16export type UnknownSource = SourceBase & {
17 [key: string]: unknown;
18};
19/**
20 * the source of the event.
21 */
22export type SourceBase = {
23 /**
24 * source type
25 *
26 * @see <a href="https://developers.line.biz/en/reference/messaging-api/#source-user">type Documentation</a>
27 */
28 type?: string;
29};