Skip to content

@line/bot-sdkDocs


@line/bot-sdk / TemplateColumn

Type Alias: TemplateColumn

TemplateColumn: object

Type declaration

actions

actions: Action[]

Action when tapped (Max: 3)

defaultAction?

optional defaultAction: Action

Action when image is tapped; set for the entire image, title, and text area

imageBackgroundColor?

optional imageBackgroundColor: string

Background color of image. Specify a RGB color value. The default value is #FFFFFF (white).

text

text: string

Message text

  • Max: 120 characters (no image or title)
  • Max: 60 characters (message with an image or title)

thumbnailImageUrl?

optional thumbnailImageUrl: string

Image URL (Max: 2000 characters)

  • HTTPS
  • JPEG or PNG
  • Aspect ratio: 1:1.51
  • Max width: 1024px
  • Max: 1 MB

title?

optional title: string

Title (Max: 40 characters)

Defined in

lib/types.ts:1994