Forum Discussion
EricGoldman1
May 31, 2021Copper Contributor
Trying to send a message to an @tag in Teams
We have built a reminder app for Microsoft Teams. A conversational bot called Kippa. Here's the issue we're trying to solve:
Using the Javascript SDK, in a Teams bot, how do I differentiate between Team Members, Tag Groups, and Channels in @Mentions?
The array of context.activity.entities contains an entity whose structure is:
mentioned {
"id": entity identifier}"name": name of entity
where the entity can be one of team, Team Member, Tag Group or Channel.
There is no property that identifies its type to differentiate each of these from the others.
What is the solution?
We have posted this appeal for help on Stackshare, GitHub, and have submitted a support ticket to every place we can get to (4 different tickets), and as yet have no possible solution. We think we may be able to get what we need using Graph API, but the sample code provided by Microsoft doesn't work… sigh. We're debugging it, but we're not even sure if it will give us what we need when we get it to work?
Any help would be appreciated. Thanks!
No RepliesBe the first to reply