File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ declare namespace Line {
129
129
130
130
export type ImageMapArea = { x : number , y : number , width : number , height : number } ;
131
131
132
- export type TemplateContent = TemplateButtons | TemplateConfirm | TemplateCarousel ;
132
+ export type TemplateContent = TemplateButtons | TemplateConfirm | TemplateCarousel | TemplateImageCarousel ;
133
133
export type TemplateButtons = {
134
134
type : "buttons" ,
135
135
thumbnailImageUrl ?: string ,
@@ -151,6 +151,16 @@ declare namespace Line {
151
151
actions : TemplateAction [ ] ,
152
152
} ;
153
153
154
+ export type TemplateImageCarousel = {
155
+ type : "image_carousel" ,
156
+ columns : TemplateImageColumn ,
157
+ } ;
158
+
159
+ export type TemplateImageColumn = {
160
+ imageUrl : string ,
161
+ action : TemplateAction ,
162
+ } ;
163
+
154
164
export type TemplateAction = TemplatePostbackAction | TemplateMessageAction | TemplateURIAction ;
155
165
export type TemplateActionBase = { label : string } ;
156
166
export type TemplatePostbackAction = {
You can’t perform that action at this time.
0 commit comments