Skip to content

Commit

Permalink
Merge pull request #832 from seratch/response_metadata.messages
Browse files Browse the repository at this point in the history
Add messages property under response_metadata
(Coverage shouldn't affect this single, simple addition w/ a comment)
  • Loading branch information
clavin authored Jul 26, 2019
2 parents 885b680 + 86e2e89 commit bf4f18d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/web-api/src/WebClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,8 @@ export interface WebAPICallResult {
scopes?: string[];
acceptedScopes?: string[];
retryAfter?: number;
// `chat.postMessage` returns an array of error messages (e.g., "messages": ["[ERROR] invalid_keys"])
messages?: string[];
};
[key: string]: unknown;
}
Expand Down

0 comments on commit bf4f18d

Please sign in to comment.