Skip to main content

@slack/web-api / ChatStartStreamArguments

Interface: ChatStartStreamArguments

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

Extends​

  • TokenOverridable
  • Channel
  • Partial<MarkdownText>
  • ThreadTS

Properties​

channel​

channel: string;

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

Description​

Channel ID for the message.

Inherited from​

Channel.channel


chunks?​

chunks?: AnyChunk[];

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

Description​

An array of chunk objects to start the stream with. Either markdown_text or chunks is required.


icon_emoji?​

icon_emoji?: string;

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

Description​

Emoji to use as the icon for this message. Overrides icon_url.

Example​

:chart_with_upwards_trend:

icon_url?​

icon_url?: string;

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

Description​

Image URL to use as the icon for this message.

Example​

http://lorempixel.com/48/48

markdown_text?​

markdown_text?: string;

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

Description​

Accepts message text formatted in markdown. This argument should not be used in conjunction with blocks or text. Limit this field to 12,000 characters.

Example​

**This is bold text**

Inherited from​

Partial.markdown_text


recipient_team_id?​

recipient_team_id?: string;

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

Description​

The ID of the team that is associated with recipient_user_id. This is required when starting a streaming conversation outside of a DM.


recipient_user_id?​

recipient_user_id?: string;

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

Description​

The ID of the user to receive the streaming conversation messages. This is required when starting a streaming conversation outside of a DM.


task_display_mode?​

task_display_mode?: string;

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

Description​

Specifies how tasks are displayed in the message. A "timeline" displays individual tasks with text and "plan" displays all tasks together.


thread_ts​

thread_ts: string;

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

Description​

Provide another message's ts value to post this message in a thread. Avoid using a reply's ts value; use its parent's value instead.

Inherited from​

ThreadTS.thread_ts


token?​

token?: string;

Defined in: packages/web-api/src/types/request/common.ts:43

Description​

Overridable authentication token bearing required scopes.

Inherited from​

TokenOverridable.token


username?​

username?: string;

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

Description​

The bot's username to display.

Example​

My Bot