Appearance
@line/bot-sdk / TemplateColumn
Type Alias: TemplateColumn
TemplateColumn =
object
Defined in: lib/types.ts:1895
Properties
actions
actions:
Action[]
Defined in: lib/types.ts:1929
Action when tapped (Max: 3)
defaultAction?
optionaldefaultAction:Action
Defined in: lib/types.ts:1925
Action when image is tapped; set for the entire image, title, and text area
imageBackgroundColor?
optionalimageBackgroundColor:string
Defined in: lib/types.ts:1910
Background color of image. Specify a RGB color value. The default value is #FFFFFF (white).
text
text:
string
Defined in: lib/types.ts:1921
Message text
- Max: 120 characters (no image or title)
- Max: 60 characters (message with an image or title)
thumbnailImageUrl?
optionalthumbnailImageUrl:string
Defined in: lib/types.ts:1905
Image URL (Max: 2000 characters)
- HTTPS
- JPEG or PNG
- Aspect ratio: 1:1.51
- Max width: 1024px
- Max: 1 MB
title?
optionaltitle:string
Defined in: lib/types.ts:1914
Title (Max: 40 characters)