@slack/web-api
Version:
Official library for using the Slack Platform's Web API
14 lines • 553 B
TypeScript
import type { Block, KnownBlock, MessageAttachment, View } from '@slack/types';
import type { OptionalArgument } from '../helpers';
export type BlocksValidateArguments = OptionalArgument<{
/** @description An array of blocks to validate. */
blocks?: (KnownBlock | Block)[];
/** @description A message payload to validate. */
message?: {
blocks?: (KnownBlock | Block)[];
attachments?: MessageAttachment[];
};
/** @description A view payload to validate. */
view?: View;
}>;
//# sourceMappingURL=blocks.d.ts.map