Skip to content

Commit

Permalink
Add messages property under response_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Jul 20, 2019
1 parent 8d3b2fd commit ad23674
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/web-api/src/WebClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,7 @@ export interface WebAPICallResult {
scopes?: string[];
acceptedScopes?: string[];
retryAfter?: number;
messages?: string[]; // chat.postMessage returns an array of error messages (e.g., "messages": ["[ERROR] invalid_keys"])
};
[key: string]: unknown;
}
Expand Down

0 comments on commit ad23674

Please sign in to comment.