Skip to content

Commit

Permalink
Merge pull request #574 from stevengill/issue-573
Browse files Browse the repository at this point in the history
added `api_app_id` to slash command payload
  • Loading branch information
stevengill authored Aug 12, 2020
2 parents 5f0bd25 + c432f8a commit ac327a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/middleware/builtin.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ const validCommandPayload: SlashCommand = {
team_domain: 'awesome-eng-team',
channel_id: 'C1234567',
channel_name: 'random',
api_app_id: 'A123456',
};

const appMentionEvent: AppMentionEvent = {
Expand Down
1 change: 1 addition & 0 deletions src/types/command/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export interface SlashCommand extends StringIndexed {
team_domain: string;
channel_id: string;
channel_name: string;
api_app_id: string;
enterprise_id?: string;
enterprise_name?: string;
}

0 comments on commit ac327a0

Please sign in to comment.