如何在MS团队中使用传入的webhook API创建公告

2024-05-18 08:18:37 发布

您现在位置:Python中文网/ 问答频道 /正文

通过在连接器中创建传入的webhook,我能够向ms团队发送普通消息。我想使用传入的webhook发布公告

这是我用于普通消息的有效负载

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

有人能帮我做到这一点吗


Tags: text消息typewebhooksummary团队mssections