Skip to content

Commit

Permalink
feat: add support for all_sender_channels for segment (#1258)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnarkhede committed Mar 13, 2024
1 parent f255092 commit d6c2c48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
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

0 comments on commit d6c2c48

Please sign in to comment.