43 lines
810 B
TypeScript
43 lines
810 B
TypeScript
/**
|
|
* LINE Messaging API
|
|
* This document describes LINE Messaging API.
|
|
*
|
|
* The version of the OpenAPI document: 0.0.1
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
import { Action } from "./action.js";
|
|
|
|
import { ActionBase } from "./models.js";
|
|
|
|
export type PostbackAction = ActionBase & {
|
|
type: "postback";
|
|
/**
|
|
*/
|
|
data?: string /**/;
|
|
/**
|
|
*/
|
|
displayText?: string /**/;
|
|
/**
|
|
*/
|
|
text?: string /**/;
|
|
/**
|
|
*/
|
|
inputOption?: PostbackAction.InputOptionEnum /**/;
|
|
/**
|
|
*/
|
|
fillInText?: string /**/;
|
|
};
|
|
|
|
export namespace PostbackAction {
|
|
export type InputOptionEnum =
|
|
| "closeRichMenu"
|
|
| "openRichMenu"
|
|
| "openKeyboard"
|
|
| "openVoice";
|
|
}
|