Repository navigation
Adding ContextTeamId, Updated, IsOpen, IsFrozen and the shared team ID lists to Conversation - #269
Merged
soxtoby merged 2 commits intoNov 1, 2026
Conversation
… PendingConnectedTeamIds to Conversation
we4sz
force-pushed
the
conversation-team-ids-and-open-state
branch
from
October 31, 2026 08:43
0600b5d to
13559d2
Compare
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.
Eight fields that Slack documents on its conversation object have no property in SlackNet 0.19.0. I found the first three comparing a real
conversations.openresponse (a DM, withreturn_im) withConversation; the other five are the frozen and shared channel fields from the same page, which matter for Slack Connect channels. My app doesn't read any of them through a workaround today. This models them. It is two commits, each one builds and passes the tests.ContextTeamId(context_team_id): the workspace the conversation is within.Updated(updated): when the channel settings were updated, in milliseconds, so it is along(Createdis in seconds).IsOpen(is_open): whether a DM is open.IsFrozen(is_frozen), andSharedTeamIds,InternalTeamIds,ConnectedTeamIdsandPendingConnectedTeamIds(shared_team_ids,internal_team_ids,connected_team_ids,pending_connected_team_ids). The lists areIList<string>, empty when Slack sends none, likeMembers.The doc comments copy Slack's descriptions, as
AGENTS.mdasks.Compatibility
Additive only. The new properties default to false, 0, null or an empty list.
Testing
New
ConversationTests: a DM with the first three fields, a shared channel with the second group, and a plain channel with neither../do testpasses on both commits (785 and 787 tests).Seen in a real response:
context_team_id,updated(13 digits, so milliseconds) andis_openare in theconversations.openresponse I captured, and the reference'sconversations.openexample showsis_open.Not verified:
is_frozenand the four team ID lists. I haven't seen them in a real response, so they follow the reference page and its one-line descriptions. I also haven't run my app against a local pack of this branch.