Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for all_sender_channels for segment #1258

Merged
merged 10 commits into from
Mar 13, 2024
1 change: 1 addition & 0 deletions src/segment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export class Segment<StreamChatGenerics extends ExtendableGenerics = DefaultGene
name: this.data?.name,
filter: this.data?.filter,
description: this.data?.description,
all_sender_channels: this.data?.all_sender_channels,
all_users: this.data?.all_users,
};

Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2498,6 +2498,7 @@ export type DeleteUserOptions = {
export type SegmentType = 'channel' | 'user';

export type SegmentData = {
all_sender_channels?: boolean;
all_users?: boolean;
description?: string;
filter?: {};
Expand Down
Loading