Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't @mention a Team or Channel #139

Open
theDL opened this issue Jul 11, 2018 · 21 comments
Open

Can't @mention a Team or Channel #139

theDL opened this issue Jul 11, 2018 · 21 comments

Comments

@theDL
Copy link

theDL commented Jul 11, 2018

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");

@arun-msft-zz
Copy link

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.

@theDL
Copy link
Author

theDL commented Jul 16, 2018

Lol that was me asking the question on stack overflow, thanks for the response here as well.

@rebelanger
Copy link

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!

@Wajeed-msft
Copy link
Contributor

@rebelanger - We don't have ETA for this yet.

@andylwelch
Copy link

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

@billbliss billbliss reopened this Feb 20, 2019
@billbliss
Copy link
Contributor

It should not have been closed. It still has not yet been implemented.

@ericrrichards
Copy link

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.

@Sfonxs
Copy link

Sfonxs commented Jun 20, 2019

Is there any update on this?

@pkpio
Copy link

pkpio commented Aug 16, 2019

Checking for any updates or ETA on this

@ReeceKenney
Copy link

Also wondering if there's an update on this?

@idiotleon
Copy link

idiotleon commented Oct 17, 2019

Any update?

@AngryVirginian
Copy link

Any update on this?

1 similar comment
@ahmetkocadogan
Copy link

Any update on this?

@crammag
Copy link

crammag commented Apr 20, 2020

@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 :/

@NedkoChulev
Copy link

Any update on this? I'd like to be able to mention a team or a channel without having to mention each individual member

@sakno
Copy link

sakno commented Aug 28, 2020

API should be able to @mention users by tag as well.

@Ulriksen
Copy link

Ulriksen commented Oct 8, 2021

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.

@chriscarnduff
Copy link

Any updates on this?

@jacksbox
Copy link

jacksbox commented Dec 2, 2021

news?

@JordyGit
Copy link

Would be a useful feature we are missing out on right now. (Also see deeplinking: MicrosoftDocs/msteams-docs#5255)

@davhdavh
Copy link

4 years later????

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests