Forum Discussion
How to send a message to a thread (reply) using botbuilder 4.0 SDK
How to send a message to a thread (reply) using botbuilder 4.0 SDK
Scenario:-
1. User A -> Types a message in Teams App (bot)
2. Now Bot has to reply to the same thread that user A has started in Teams App (bot)
I am able to send a new message in the Teams App (bot) - Not expected
NOT EXPECTED
The bot needs to reply to the same thread the user started - Expected
EXPECTED
If you have any document link or example, please point it out.
Thank you.
15 Replies
- Nivedipa-MSFT
Microsoft
ituser1n03v - Thanks for reporting your issue. We are checking this internally. We will update you soon.- Nivedipa-MSFT
Microsoft
@ituser1n03v
To reply to an existing message, call ReplyToActivity in .NET or session.send in Node.js. The Bot Builder SDK handles all the details.If you choose to use the REST API, you can also call the /v3/conversations/{conversationId}/activities/{activityId} endpoint.
Thanks,
Nivedipa
----------------------------------------------------------------------------------
If the response is helpful, please click "Mark as Best Response" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- aimantahir1225Copper ContributorExpected behaviour is not achieved in both ReplyToActivity and REST API.