Appearance
@line/bot-sdk / Action
Type Alias: Action<ExtraFields>
Action<
ExtraFields> =PostbackAction|MessageAction|URIAction|DatetimePickerAction|RichMenuSwitchAction| {type:"camera"; } | {type:"cameraRoll"; } | {type:"location"; } &ExtraFields
Defined in: lib/types.ts:2050
These are types of actions for your bot to take when a user taps a button or an image in a message.
- Postback action
- Message action
- URI action
- Datetime picker action
- Rich menu switch action
- Camera action
- Camera roll action
- Location action
Type Parameters
ExtraFields
ExtraFields = { label: string; }