Appearance
@line/bot-sdk • Docs
@line/bot-sdk / messagingApi / TemplateImageSize
Type Alias: TemplateImageSize
TemplateImageSize:
"cover"
|"contain"
Size of the image. This is only for the imageSize
in ButtonsTemplate. Specify one of the following values: cover
: The image fills the entire image area. Parts of the image that do not fit in the area are not displayed. contain
: The entire image is displayed in the image area. A background is displayed in the unused areas to the left and right of vertical images and in the areas above and below horizontal images.