UNPKG

@slack/web-api

Version:

Official library for using the Slack Platform's Web API

37 lines 1.49 kB
import type { TokenOverridable } from './common'; export interface AssistantThreadsSetStatusArguments extends TokenOverridable { /** @description Channel ID containing the assistant thread. */ channel_id: string; /** @description Status of the assistant (e.g. 'is thinking...') */ status: string; /** @description Message timestamp of the thread. */ thread_ts: string; /** @description The list of messages to rotate through as a loading indicator. */ loading_messages?: string[]; } export interface AssistantThreadsSetSuggestedPromptsArguments extends TokenOverridable { /** @description Channel ID containing the assistant thread. */ channel_id: string; /** @description Prompt suggestions that appear when opening assistant thread. */ prompts: AssistantPrompt[]; /** @description Message timestamp of the thread. */ thread_ts: string; /** @description Title for the prompts. */ title?: string; } interface AssistantPrompt { /** @description Title of the prompt. */ title: string; /** @description Message of the prompt. */ message: string; } export interface AssistantThreadsSetTitleArguments extends TokenOverridable { /** @description Channel ID containing the assistant thread. */ channel_id: string; /** @description Message timestamp of the thread. */ thread_ts: string; /** @description Title of the thread. */ title: string; } export {}; //# sourceMappingURL=assistant.d.ts.map