Skip to content

@line/bot-sdkDocs


@line/bot-sdk / messagingApi / ButtonsTemplate

Type Alias: ButtonsTemplate

ButtonsTemplate: TemplateBase & object

Type declaration

actions

actions: Action[]

defaultAction?

optional defaultAction: Action

imageAspectRatio?

optional imageAspectRatio: string

imageBackgroundColor?

optional imageBackgroundColor: string

imageSize?

optional imageSize: string

text

text: string

thumbnailImageUrl?

optional thumbnailImageUrl: string

title?

optional title: string

type

type: "buttons"

Defined in

lib/messaging-api/model/buttonsTemplate.ts:18