How can i make teams bot as channel record

Leo Lee 11 Reputation points
2020-07-20T01:11:38.733+00:00

I want to make my teams bot as channel record, record all members message in the channel.

How can i do it?

https://learn.microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bot-conversations/bots-conv-channel

Bots added to a team become another team member, who can be @mentioned as part of the conversation. In fact, bots only receive messages when they are @mentioned, so other conversations on the channel are not sent to the bot.

Is it possible receive all members messages?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
751 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,158 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. JimmyYang-MSFT 49,191 Reputation points Microsoft Vendor
    2020-07-20T08:27:06.15+00:00

    Hi Leo!

    In my experience, you can make teams bots in channel to receive all members messages. For a bot in a group or channel, you can receive the entities properties, it can contain one or more mentions. You can retrieve all mentions in the message by calling the GetMentions function in the Bot Builder SDK for .NET, which returns an array of Mentioned objects.

    https://learn.microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bot-conversations/bots-conv-channel#receiving-messages

    1 person found this answer helpful.