Type Alias: FilesCompleteUploadExternalArguments
type FilesCompleteUploadExternalArguments = FileDestinationArgument & TokenOverridable & object;
Defined in: packages/web-api/src/types/request/files.ts:66
Type declaration
blocks?
optional blocks: (Logger | Logger)[];
Description
An array of structured rich text blocks. If the initial_comment
field is provided, the blocks
field is ignored.
Example
[{"type": "section", "text": {"type": "plain_text", "text": "Hello world"}}]
See
https://api.slack.com/reference/block-kit/blocks
files
files: [FileUploadComplete, ...FileUploadComplete[]];
Description
Array of file IDs and their corresponding (optional) titles.
Example
[{"id":"F044GKUHN9Z", "title":"slack-test"}]
initial_comment?
optional initial_comment: string;
Description
The message text introducing the file in the specified channel.