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 { GroupSource } from "./models";
|
13 | import { RoomSource } from "./models";
|
14 | import { UserSource } from "./models";
|
15 | export type Source = GroupSource | RoomSource | UserSource | UnknownSource;
|
16 | export type UnknownSource = SourceBase & {
|
17 | [key: string]: unknown;
|
18 | };
|
19 | /**
|
20 | * the source of the event.
|
21 | */
|
22 | export 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 | };
|