Skip to content

Add conversations.info with include_num_members, fix conversations.members - #50

Merged
johnkors merged 1 commit into
mainfrom
jk/conversations-info-num-members
Sep 21, 2026
Merged

johnkors merged 1 commit into
mainfrom
jk/conversations-info-num-members

Conversation

@johnkors

Copy link
Copy Markdown
Contributor
  • Adds ISlackClient.ConversationsInfo(channel, includeNumMembers), wrapping conversations.info with a proper ConversationsInfoResponse/ConversationInfo model carrying Num_Members (Tier 3 rate limit, 50+/min)
  • Fixes ConversationsMembers, which was deserializing into ConversationsListResponse and silently dropping the members array; now returns a ConversationsMembersResponse with Members/pagination cursor
  • Self-contained deserialization tests via the existing StubHttpMessageHandler pattern, no live Slack credentials needed

…ons.members deserialization

conversations.info gives per-channel member counts (Slack docs: Tier 3, 50+/min),
needed to compute a Slack reach metric analogous to Discord's approximate_member_count.
conversations.members was deserializing into ConversationsListResponse (a Channels
list), silently dropping the actual members array - fixed with a proper response type.
@johnkors
johnkors merged commit 07a1dba into main Sep 21, 2026
1 of 2 checks passed
@johnkors
johnkors deleted the jk/conversations-info-num-members branch September 21, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant