Forum Discussion
How to avoid using @ mention bot name in a channel to invoke bot
We have a bot which is working fine. If we have to invoke the bot in a teams channel (or, group chat) then we have to write the message in following format.
@botname "keyword" message
where,
@botname is our bot name
keyword is the word that our bot reads in a message and acts accordingly
message is the actual message that we want to send to our bot
Slack has removed dependency on using @botname to invoke the bot. So, while using the same bot in Slack then we just have to write the keyword and our message.
Is the same functionality achievable in MS teams? If yes, then how we can do this?
Thanks,
Amnesh
2 Replies
- ThereseSolimenoFormer Employee
Hello amneshgoel7 According to this document:
A bot behaves slightly differently depending on what kind of conversation it is involved in:
- Bots in channel and group chat conversations require the user to @ mention the bot to invoke it in a channel.
- Bots in single user conversations do not require an @ mention - the user can just type.
- amneshgoel7Copper Contributor
ThereseSolimeno Thanks for the reply and looking into this.
I had visited the same link which you have provided.
I'm checking is there any other way to get rid of mentioning the name of bot to invoke bot?