Skip to content

Commit

Permalink
Merge pull request #505 from stevengill/callsApi
Browse files Browse the repository at this point in the history
Added `calls_rejected` event
  • Loading branch information
stevengill authored May 27, 2020
2 parents 9315395 + 835c810 commit c6225e0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/types/events/base-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export type SlackEvent =
| AppHomeOpenedEvent
| AppMentionEvent
| AppUninstalledEvent
| CallsRejectedEvent
| ChannelArchiveEvent
| ChannelCreatedEvent
| ChannelDeletedEvent
Expand Down Expand Up @@ -159,6 +160,14 @@ export interface AppUninstalledEvent extends StringIndexed {
type: 'app_uninstalled';
}

export interface CallsRejectedEvent extends StringIndexed {
type: 'calls_rejected';
call_id: string;
user_id: string;
channel_id: string;
external_unique_id: string;
}

export interface ChannelArchiveEvent extends StringIndexed {
type: 'channel_archive';
channel: string;
Expand Down

0 comments on commit c6225e0

Please sign in to comment.