Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds proactive threading utilities and sample usage to enable replying/sending into Microsoft Teams channel threads (and certain 1:1 conversation IDs), with accompanying tests and updated docs.
Changes:
- Added
App.Reply()proactive overloads (2-arg and 3-arg forms) and updatedApp.Send()docs/behavior. - Added
Conversation.ToThreadId()helper plus unit tests. - Introduced a new
Samples.Threadingsample project demonstrating threading behaviors.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| Tests/Microsoft.Teams.Apps.Tests/AppTests.cs | Adds unit tests validating App.Reply() thread-id construction and invalid message-id handling. |
| Tests/Microsoft.Teams.Api.Tests/ConversationTests.cs | Adds unit tests for Conversation.ToThreadId() formatting and validation behavior. |
| Libraries/Microsoft.Teams.Apps/Contexts/Context.Send.cs | Updates XML docs clarifying Send() vs Reply() quoting/threading behavior. |
| Libraries/Microsoft.Teams.Apps/App.cs | Adds proactive Reply() overloads; adjusts proactive Send() docs and how Conversation.Type is populated. |
| Libraries/Microsoft.Teams.Api/Conversation.cs | Adds Conversation.ToThreadId() helper and validation. |
| Samples/Samples.Threading/* | Adds a new sample project (README, Program, appsettings, csproj) demonstrating threading scenarios. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
0388424 to
63a6ca1
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 9 changed files in this pull request and generated 7 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
… fixes Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
singhk97
approved these changes
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reply()overloads onAppfor proactive thread sends (generic, string, AdaptiveCard — 2-arg and 3-arg forms)Conversation.ToThreadedConversationId()for constructing threaded conversation IDssupportsThreadinginline check covers channels (@thread.tacv2/@thread.skype) and 1:1 (@unq.gbl.spaces)Context.Send()andContext.Reply()doc commentsTest plan
ToThreadedConversationId()(10 tests) andReply()(3 tests)dotnet build0 errors,dotnet testall passed🤖 Generated with Claude Code