Skip to content

Commit

Permalink
add total_unread_count and unread_channels to event type
Browse files Browse the repository at this point in the history
  • Loading branch information
nhannah committed Dec 31, 2020
1 parent 57564d4 commit 36e2297
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,8 @@ export type Event<
parent_id?: string;
reaction?: ReactionResponse<ReactionType, UserType>;
received_at?: string | Date;
total_unread_count?: number;
unread_channels?: number;
unread_count?: number;
user?: UserResponse<UserType>;
user_id?: string;
Expand Down

0 comments on commit 36e2297

Please sign in to comment.