Skip to main content

@slack/web-api / ChatStopStreamArguments

Type Alias: ChatStopStreamArguments

type ChatStopStreamArguments = TokenOverridable & ChannelAndTS & Partial<MarkdownText> & Partial<Metadata> & object;

Defined in: packages/web-api/src/types/request/chat.ts:280

Type Declaration​

blocks?​

optional blocks?: (KnownBlock | Block)[];

Block formatted elements will be appended to the end of the message.

chunks?​

optional chunks?: AnyChunk[];

Description​

An array of chunk objects to finish the stream with.

session_status?​

optional session_status?: string;

Description​

The session status to set after stopping the stream.