UNPKG

@line/bot-sdk

Version:
32 lines (28 loc) 798 B
/** * 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 { GroupSource } from "./models.js"; import { RoomSource } from "./models.js"; import { UserSource } from "./models.js"; /** * the source of the event. * @see <a href="https://developers.line.biz/en/reference/messaging-api/#source-user">https://developers.line.biz/en/reference/messaging-api/#source-user</a> */ export type Source = | GroupSource // group | RoomSource // room | UserSource; // user export type SourceBase = { /** * source type */ type: string; };