简体   繁体   English

使用外部数据库中的数据向 Microsoft Teams 发送卡片

[英]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.

相关问题 从 Controller 向 Microsoft Teams 发送消息 - Send message from Controller to Microsoft Teams 自适应卡在 Microsoft Teams 中不起作用 - Adaptive Card not working in Microsoft Teams 如何通过 Microsoft Graph API/SDK 向 Microsoft 团队发送自适应卡片? - How to send a Adaptive card to Microsoft teams via Microsoft Graph API/SDK? 如何手动从机器人向 Microsoft Teams 发送“conversationUpdate”? - How to send a 'conversationUpdate' to Microsoft Teams from bot manually? 如何将表情符号从机器人发送给 Microsoft 团队中的用户 - How to send emojis from bot to user in Microsoft teams Microsoft团队-Office 365卡中的“ MultichoiceInput”不起作用 - Microsoft Teams - “MultichoiceInput” in Office 365 Card not working 我可以从 Microsoft Teams 中的自适应卡返回对提交操作的失败响应吗 - Can I return a failure response to a Submit action from an Adaptive Card in Microsoft Teams 除了个人用户和团队频道,我们可以从 bot 框架向谁发送消息(使用自适应卡) - Apart from Individual users and Teams channel , whom can we send message (with Adaptive card) from bot framework 使用 Microsoft Graph 将消息发送到团队频道时出现问题 - Problem to send message to teams channel with Microsoft graph 如何突出显示从外部源向 Microsoft Teams 活动源发送通知的消息 - How to highlight the message for which a notification is sent to Microsoft Teams activity feed from external source
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM