[英]Send a card to microsoft Teams with data from external database
How can I best send message from my c # code to A teams channel, In my code I retrieve data from an external database And want to show this data using a card in my teams "team"... Does it work to use an incoming webhook or do i need to build a bot?我怎样才能最好地将消息从我的 c # 代码发送到团队频道,在我的代码中,我从外部数据库检索数据并希望在我的团队“团队”中使用卡片显示此数据......使用传入的 webhook 还是我需要构建一个机器人?
You can create a Incoming webhook and call it using HTTP Client from your C# code.您可以创建一个 Incoming webhook 并使用 C# 代码中的 HTTP Client 调用它。
Bot is not required to only send the data to Teams channel. Bot 不需要只将数据发送到 Teams 频道。 https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.