# Teams 連接器 ## 1.建立群組(須為管理員) ## 2.設定連接器 ## 3.取得 Webhook URL > 該 url 即為 API url ## 4.訊息格式-HTML ## 5.範例 ### 程式碼 :::info String teamsAPI = "Webhook URL"; JSONObject teamsMsg = new JSONObject(); teamsMsg.put("title", "訊息標題"); teamsMsg.put("text", "訊息內容<br><a href=\"https://google.com\" title=\"google\">google</a> <br>html格式<br>"); httpPOST(teamsAPI, teamsMsg); ::: ### 圖示 :::info   ::: ### 參考網址 :::info https://dotblogs.com.tw/lapland/2017/04/13/145208 https://teamsplatform.xizhang.com/teams-platform-overview/teamsplatform-capabilities/connector.html ::: ###### tags `分享`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up