File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,9 @@ export type TemplateContent =
210
210
export type TemplateButtons = {
211
211
type : "buttons" ;
212
212
thumbnailImageUrl ?: string ;
213
+ imageAspectRatio ?: "rectangle" | "square" ;
214
+ imageSize ?: "cover" | "contain" ;
215
+ imageBackgroundColor ?: string ;
213
216
title ?: string ;
214
217
text : string ;
215
218
actions : Action < { label : string } > [ ] ;
@@ -221,10 +224,16 @@ export type TemplateConfirm = {
221
224
actions : Action < { label : string } > [ ] ;
222
225
} ;
223
226
224
- export type TemplateCarousel = { type : "carousel" ; columns : TemplateColumn [ ] } ;
227
+ export type TemplateCarousel = {
228
+ type : "carousel" ;
229
+ columns : TemplateColumn [ ] ;
230
+ imageAspectRatio ?: "rectangle" | "square" ;
231
+ imageSize ?: "cover" | "contain" ;
232
+ } ;
225
233
226
234
export type TemplateColumn = {
227
235
thumbnailImageUrl ?: string ;
236
+ imageAspectRatio ?: "rectangle" | "square" ;
228
237
title ?: string ;
229
238
text : string ;
230
239
actions : Action < { label : string } > [ ] ;
You can’t perform that action at this time.
0 commit comments