Skip to main content

DiscordThread

@gravity-rail/sdk


@gravity-rail/sdk / DiscordThread

Interface: DiscordThread

Discord thread linked to a Gravity Rail chat.

Properties​

chatId​

chatId: number


chatTitle​

chatTitle: string | null

Title of the linked chat


createdAt​

createdAt: string


currentTaskName​

currentTaskName: string | null

Name of the current task in this thread


discordBotId​

discordBotId: number


discordChannelId​

discordChannelId: string


discordGuildId​

discordGuildId: string | null


discordThreadId​

discordThreadId: string


discordUserId​

discordUserId: string | null


id​

id: number


isDm​

isDm: boolean


workflowId​

workflowId: number | null


workflowName​

workflowName: string | null

Name of the workflow handling this thread