@line/bot-sdk
Version:
Node.js SDK for LINE Messaging API
36 lines (30 loc) • 1.1 kB
text/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 { DeliveryContext } from "./deliveryContext.js";
import { Event } from "./event.js";
import { EventMode } from "./eventMode.js";
import { PostbackContent } from "./postbackContent.js";
import { Source } from "./source.js";
import { EventBase } from "./models.js";
/**
* Event object for when a user performs a postback action which initiates a postback. You can reply to postback events.
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#postback-event">https://developers.line.biz/en/reference/messaging-api/#postback-event</a>
*/
export type PostbackEvent = EventBase & {
type: "postback";
/**
* Reply token used to send reply message to this event
*/
replyToken?: string;
postback: PostbackContent;
};
export namespace PostbackEvent {}