Skip to content

@line/bot-sdkDocs


@line/bot-sdk / TemplateConfirm

Type Alias: TemplateConfirm

TemplateConfirm: object

Template with two action buttons.

Because of the height limitation for confirm template messages, the lower part of the text display area will get cut off if the height limitation is exceeded. For this reason, depending on the character width, the message text may not be fully displayed even when it is within the character limits.

Type declaration

actions

actions: Action[]

Action when tapped. Set 2 actions for the 2 buttons

text

text: string

Message text (Max: 240 characters)

type

type: "confirm"

Defined in

lib/types.ts:1941