Skip to content

@line/bot-sdkDocs


@line/bot-sdk / TemplateMessage

Type Alias: TemplateMessage

TemplateMessage: MessageCommon & object

Template messages are messages with predefined layouts which you can customize. For more information, see template messages.

The following template types are available:

Type declaration

altText

altText: string

Alternative text (Max: 400 characters)

template

template: TemplateContent

Carousel template content

type

type: "template"

See

Template messages

Defined in

lib/types.ts:889