Skip to content

Commit

Permalink
fix type definition of ChatPostMessageArguments
Browse files Browse the repository at this point in the history
close: #1172
  • Loading branch information
kentac55 committed Feb 10, 2021
1 parent f11a551 commit 81f7592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-api/src/methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ export interface ChatPostEphemeralArguments extends WebAPICallOptions, TokenOver
}
export interface ChatPostMessageArguments extends WebAPICallOptions, TokenOverridable {
channel: string;
text: string;
text?: string;
as_user?: boolean;
attachments?: MessageAttachment[];
blocks?: (KnownBlock | Block)[];
Expand Down

0 comments on commit 81f7592

Please sign in to comment.