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

Reply to a conversation thread in teams using Teams bot #1294

Open
Ajaykumar661 opened this issue Jun 14, 2024 · 3 comments
Open

Reply to a conversation thread in teams using Teams bot #1294

Ajaykumar661 opened this issue Jun 14, 2024 · 3 comments
Assignees

Comments

@Ajaykumar661
Copy link

I have a bot that is created by using Microsoft botframework sdk, I'm trying to find a way to reply to a conversation thread in a teams Channel conversation without being prompted first by a user. So for example given a certain condition (eg. triggered by some event such as time of day, a pull request, etc.) it posts a message in a channel to a particular thread. I have read the documentation on the proactive messaging in teams. I gather that in order to send a message to a teams channel, the bot needs to know the "conversationId" of the user. This information is stored in the conversationreference object, and it gets this from the current conversation. However, in my case I don't have a 'current conservation', because I don't want to just respond to a user, I want to post a reply to a thread proactively. How can I achieve this ?

Also, I followed a document where the bot can read any messages without being mentioned using @ by following. So I thought we will be getting the user's conversation id in the context object whenever there is a new message in the channel RSC permissions, but it doesn't seems to be working out for me, I'm not sure if I'm missing out on anything

Hi @Ajaykumar661! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

@Meghana-MSFT
Copy link
Collaborator

Same issue is being tracked here https://stackoverflow.com/questions/78618577/reply-to-a-conversation-thread-in-teams-using-teams-bot. Please follow above thread for further updates. Thank you.

@Ajaykumar661
Copy link
Author

@Meghana-MSFT I'm the author for the same thread you shared above... I didn't get any response yet..

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

No branches or pull requests

2 participants