List a channel thread's replies with message list --message-id - #91
Open
aberoham wants to merge 3 commits into
Open
List a channel thread's replies with message list --message-id#91aberoham wants to merge 3 commits into
aberoham wants to merge 3 commits into
Conversation
`message list --team --channel` returns thread roots only, so a caller could not tell whether a question had already been answered without knowing every reply id in advance. Passing the root id now lists the replies under it, paged like any other listing, and `message reply` gains `--mention` so a threaded answer can notify the person it names. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0198UCyrh6ePLp9GQ7KmNBbH
The replies listing is driven against a mock Graph through the same `_at` shape the other API tests use, so the URL and the `$top` paging are checked without a token. `--message-id` now also refuses to ride along with `--chat`, where it was silently ignored because the chat branch never looked at it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018pgqhqb5eVNMPR214KnpD2
Contributor
Author
|
Follow-up review fixes are in e68438c:
Verification:
|
Contributor
Author
|
author was claude w/fable-5.1, reviewer was codex w/gpt-5.6-sol xhigh |
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.
message list --team --channelreturns thread roots only, so a caller could not tell whether a question had already been answered without knowing every reply id in advance. Passing the root id now lists the replies under it, paged like any other listing.teams message list --team T --channel C --message-id ROOTlists the replies under one channel thread root throughGET .../messages/{id}/replies, with$topand--all-pagesbehaving as they do for the channel listing.--message-idrequires--channeland refuses to combine with--chat, where the chat branch would otherwise ignore it.teams message reply --mention USER(repeatable) tags a person in a threaded reply the same waymessage send --mentionfrom Tag people with a real Teams @mention via message send --mention #78 does, so a name in a reply notifies rather than merely appears. A mention alone is a valid body, as on send._atshape the other API tests use, so the URL and the$toppaging are checked without a token. Command-line tests cover the help text and therequiresandconflicts_withguards.Verified live against a real channel thread: one call with
--all-pagesreturned all 24 replies with full bodies.🤖 Generated with Claude Code
https://claude.ai/code/session_018pgqhqb5eVNMPR214KnpD2