Title1

Title2

Title3

2-6 圖片訊息


    //---------------------------------- 圖片訊息(最多5組)  
    let messages = [
      {
        "type": "image",
        "originalContentUrl": "https://i.imgur.com/Fn9gu0q.png",
        "previewImageUrl": "https://i.imgur.com/Fn9gu0q.png"
      }
    ];
 
    //---------------------------------- 文字+圖片訊息(最多5組)
    let messages = [
      {
        'type': 'text',
        'text': botMessageText
      },
      {
        "type": "image",
        "originalContentUrl": "https://i.imgur.com/hwvXBjq.png",
        "previewImageUrl": "https://i.imgur.com/hwvXBjq.png"
      }
    ];

在程式碼,貼上後,格式化:「Shift+Alt+F