Skip to content

Commit

Permalink
fix: add missing fields in ChannelCreatedEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
maxretries committed Jul 12, 2024
1 parent c00bad7 commit 5af3bb0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/types/events/base-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ export interface ChannelArchiveEvent {

export interface ChannelCreatedEvent {
type: 'channel_created';
event_ts: string;
channel: {
id: string;
is_channel: boolean;
Expand All @@ -306,6 +307,16 @@ export interface ChannelCreatedEvent {
creator: string; // user ID
is_shared: boolean;
is_org_shared: boolean;
context_team_id: string,
is_archived: boolean;
is_frozen: boolean,
is_general: boolean,
is_group: boolean,
is_private: boolean,
is_ext_shared: boolean,
is_im: boolean,
is_mpim: boolean,
is_pending_ext_shared: boolean,
};
}

Expand Down

0 comments on commit 5af3bb0

Please sign in to comment.