顯示具有 Teams 標籤的文章。 顯示所有文章
顯示具有 Teams 標籤的文章。 顯示所有文章

2024年7月18日 星期四

[筆記][Teams]Teams IncomingWebhook改用Workflow(webhook)

Teams 上收到已下訊息:(2024/7/19看到)

附錄:以下設定。


拿到發送的網址,即可配合程式呼叫。





2024年6月9日 星期日

[筆記]Teams建立Chanel取得通知鏈結

  • 2024.06.09版本。
  • 管理的位置藏的很深,這邊作個小筆記。


編輯:點擊後channel右邊側欄會出現【Manage Channel】。


Connectors>找到Edit

搜尋Incomming Webhook > Configure


新增一組Webhook通知,輸入名稱,設定圖示後確定。


Create完成後,畫面會顯示webhook link。



若有需要新增第二組webhook或是管理,請選擇Configured,會顯示之前建立的資料。

2023年5月31日 星期三

[筆記]發送訊息至Teams頻道(webhook連接器)

  •  參考:
  • 作法:
    • 建立Webhook連接器。
    • 程式呼叫weebhook發送訊息。
    • 簡易:
      • {"text":"message"}
      • {"text":"message","title":"this is title."}
    • 進階:
      • {"text":"message","title":"this is title."
          "sections": [
            {
              "activityTitle": "Section標題",
              "activitySubtitle": "Section次標題",
              "activityText": "Section內文"
            }]"
         }
      • {"text":"message","title":"this is title."
          "sections": [
            {
              "activityTitle": "Section標題",
              "activitySubtitle": "Section次標題",
              "activityText": "Section內文"
            }
          ,{
              "title": "很像表格的title",
              "facts": [
                {
                  "name": "欄位名",
                  "value": "內文"
                },...
            ]"
         }
      • potentialAction ...etc