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 =
210210export type TemplateButtons = {
211211 type : "buttons" ;
212212 thumbnailImageUrl ?: string ;
213+ imageAspectRatio ?: "rectangle" | "square" ;
214+ imageSize ?: "cover" | "contain" ;
215+ imageBackgroundColor ?: string ;
213216 title ?: string ;
214217 text : string ;
215218 actions : Action < { label : string } > [ ] ;
@@ -221,10 +224,16 @@ export type TemplateConfirm = {
221224 actions : Action < { label : string } > [ ] ;
222225} ;
223226
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+ } ;
225233
226234export type TemplateColumn = {
227235 thumbnailImageUrl ?: string ;
236+ imageAspectRatio ?: "rectangle" | "square" ;
228237 title ?: string ;
229238 text : string ;
230239 actions : Action < { label : string } > [ ] ;
You can’t perform that action at this time.
0 commit comments