Closed SlimenTN closed 1 year ago
@SlimenTN - Could you please check with the samples mentioned here and verify if that works? https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/channel-messages-with-rsc?tabs=channel%2Cdotnet#code-sample FYI, we have tried with below sample and we can receive channel messages with RSC without being @mentioned.
@Prasad-MSFT did you try in chat with someone else or in a channel? when I run it using the local configuration, vscode opens a chrome window with Teams and then open the installation window and instead of clicking on "Add" I click on the small arrow right newt to it and click on "Add to chat" the bot gets added successfully but if I write a message I don't see and when I mention the bot and write a message I receive it!
@SlimenTN - We did try it in channel/group chat scope, and it worked there.
@Prasad-MSFT ok you're right, it works as expected in channels and chat but with someone from the same organization. However, I've tested it in a chat with a guest (not in the same org) it intercept messages only if I mention the bot! does the chat with an extern requires another permission?
We tested by creating chat with guest user and it works there as well without at mentioning the bot. No extra permission needs to be added.
ok thanks I will close this issue
@SlimenTN @Prasad-MSFT I'm still facing the issue, Can you please guide me on this, Any help would be appreciated
@Ajaykumar661 - Could you please let us know what issue you are facing here?
I want the bot to read messages even without being mentioned, this is my manifest file:
I'm using MSTeams toolkit in VScode to create this bot so the id is being generated by it (I don't have Azure account yet). when lunching the bot locally it works, I can add it to chats and receive messages but if only it was mentioned.
My bot extends the TeamsActivityandler interface: