简体   繁体   中英

How to create Announcement in MS teams using incoming webhook APIs

I'm able to send normal messages to ms teams by creating incoming webhook in connectors. I wanted to post announcements using incoming webhook.

This is the payload which i used for normal messages.

{
"@type": "MessageCard",
"summary": "Summary text",
"themeColor": "007f00",
"sections": [
    {
        "themeColor": "007f00",
        "text": "<p>Pragaraph Text</p>"
    }
]}

Can someone please help me to achieve this.

不支持使用 Webhooks/任何 API 创建公告。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM