UNPKG

@slack/web-api

Version:

Official library for using the Slack Platform's Web API

52 lines 1.92 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[]; /** * @description Emoji to use as the icon for this message. Overrides `icon_url`. * @example :chart_with_upwards_trend: */ icon_emoji?: string; /** * @description Image URL to use as the icon for this message. * @example http://lorempixel.com/48/48 */ icon_url?: string; /** * @description The bot's username to display. * @example My Bot */ username?: 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