iT邦幫忙

2021 iThome 鐵人賽

DAY 19
0
Software Development

LINE機器人學習歷程系列 第 19

[DAY19]旋轉木馬(02)

Column object for carousel
thumbnailImageUrl
String Optional
Image URL (Max character limit: 2,000)
HTTPS over TLS 1.2 or later
JPEG or PNG
Aspect ratio: 1:1.51
Max width: 1024px
Max file size: 10 MB
Recommended file size
To avoid delays in displaying messages, keep the size of individual image files small (1 MB or less recommended).
當我們選擇contain時圖片的背景顏色可以用色碼填滿背景
imageBackgroundColor
String Optional
Background color of the image. Specify a RGB color value. The default value is #FFFFFF (white).

title
String Optional
Title
Max character limit: 40

text
String Required
Message text
Max character limit: 120 (no image or title)
Max character limit: 60 (message with an image or title)

defaultAction
Action object Optional
Action when image, title or text area is tapped.
欄位內的選項最多只能有3個
actions
Array of action objects Required
Action when tapped
Max objects: 3
保持所有欄位的Action數量一致。 如果一個欄位有使用圖像或標題,請確保對所有其他欄位都有相同操作
https://ithelp.ithome.com.tw/upload/images/20211003/20140159kFlPVvGE2G.png


上一篇
[DAY18]旋轉木馬(01)
下一篇
[DAY20]圖片旋轉木馬
系列文
LINE機器人學習歷程30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言