トーク Bot を使って、複数の画像を横スクロールして閲覧できる画像カルーセルを送信します。
画像の送信には URL 方式とファイル ID 方式があります。
画像カルーセルは多言語に対応しており、メンバーの言語設定に合わせて表示を切り替えることができます。 画像カルーセルの構造は下記の通りです。

| パラメータ | タイプ | 説明 |
|---|---|---|
| type | string | "image_carousel" required |
| columns | array | 画像カルーセルのオブジェクトリスト 最大:10 個 required |
| columns[].originalContentUrl | string | 画像 URL (PNG 形式、HTTPS のみ) originalContentUrl、fileId のいずれか一方は必須。 最大サイズ:1MB 最大文字数:1,000 文字 required |
| columns[].fileId | string | 画像のファイル ID originalContentUrl、fileId のいずれか一方は必須。 最大サイズ:1MB |
| columns[].action | Action Object | 画像を押した時の動作 |
| パラメータ | タイプ | 説明 |
|---|---|---|
| columns[].i18nOriginalContentUrls[] | array | 多言語の画像 URL リスト |
| columns[].i18nOriginalContentUrls[].language | string | 言語コード required |
| columns[].i18nOriginalContentUrls[].originalContentUrl | string | 画像 URL (PNG 形式、HTTPS のみ) 最大サイズ:1MB 最大 1,000 文字 required |
| columns[].i18nFileIds[] | array | 多言語の画像のファイル ID リスト |
| columns[].i18nFileIds[].language | string | 言語コード required |
| columns[].i18nFileIds[].fileId | string | 画像のファイル ID 最大サイズ:1MB required |

{ "content":{ "type":"image_carousel", "columns":[ { "originalContentUrl":"https://example.com/a.png", "action":{ "type":"uri", "label":"Visit", "uri":"https://line-works.com/" } }, { "originalContentUrl":"https://example.com/b.png", "action":{ "type":"uri", "label":"Visit", "uri":"https://line-works.com/" } }, { "originalContentUrl":"https://static.worksmobile.net/static/wm/botprofile/Bot_General_640.png", "action":{ "type":"uri", "label":"Talk", "uri":"https://talk.worksmobile.com/" } } ] }}