BotBuilder-MicrosoftTeams
BotBuilder-MicrosoftTeams copied to clipboard
Can't @mention a Team or Channel
When sending an Activity into a Channel, you can @mention a single user, but you cannot do the same for a Team or Channel. This would be very helpful functionality for starting conversations that should be seen by an entire team.
For mentioning a user (using C#), it's as simple as this:
// there is a ChannelAccount object with the correct ID called userAccount activity.AddMentionToText(userAccount, MentionTextLocation.PrependText, "Firstname Lastname");
Ideally, it would be just as simple to mention a team, like this:
activity.AddMentionToText(teamAccount, MentionTextLocation.PrependText, "Team Name");
We actually have this working but haven't turned it on because doing so opens up potential for abuse which we haven't yet implemented the ability to detect or prevent. I'm investigating ways to turn this on without necessarily having to do that, but we don't have an ETA.
Note: Adding answer from stack overflow response.
Lol that was me asking the question on stack overflow, thanks for the response here as well.
Any news concerning this issue and the timeline it would be fixed ? This is a feature I would like to use for notifying a team of "human" users when my bot cannot answers a question so that a human can take over the conversation. Many thanks!
@rebelanger - We don't have ETA for this yet.
Any news on this please? Was it marked as closed because it is fixed now? I am still unable to @ mention the team and channel
It should not have been closed. It still has not yet been implemented.
The only way that I have ever seen this work is if you use a HeroCard with an ImBack button - for whatever reason, when someone clicks on the button in a Teams channel, it includes an @mention at the bot.
Is there any update on this?
Checking for any updates or ETA on this
Also wondering if there's an update on this?
Any update?
Any update on this?
Any update on this?
@Wajeed-msft @arun-msft-zz Hi guys, any update or ETA on this feature?, it would be perfect for something I'm working on, mentioning 2k users individually doesn't seem good to me :/
Any update on this? I'd like to be able to mention a team or a channel without having to mention each individual member
API should be able to @mention users by tag as well.
Allowing the bot to mention a tag will improve quite a few workflows for on-call staff++.
I understand tags might not be available in all channels, but for the teams work it is very useful.
Any updates on this?
news?
Would be a useful feature we are missing out on right now. (Also see deeplinking: https://github.com/MicrosoftDocs/msteams-docs/issues/5255)
4 years later????