Skip to content

@line/bot-sdk


@line/bot-sdk / TemplateColumn

Type Alias: TemplateColumn

TemplateColumn = object

Defined in: lib/types.ts:1994

Properties

actions

actions: Action[]

Defined in: lib/types.ts:2028

Action when tapped (Max: 3)


defaultAction?

optional defaultAction: Action

Defined in: lib/types.ts:2024

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


imageBackgroundColor?

optional imageBackgroundColor: string

Defined in: lib/types.ts:2009

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


text

text: string

Defined in: lib/types.ts:2020

Message text

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

thumbnailImageUrl?

optional thumbnailImageUrl: string

Defined in: lib/types.ts:2004

Image URL (Max: 2000 characters)

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

title?

optional title: string

Defined in: lib/types.ts:2013

Title (Max: 40 characters)