Spaces:
Runtime error
Runtime error
Download src/api/integrations/chatbot/base-chatbot.dto.ts from oex2003/evolution-api: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/spaces/oex2003/evolution-api/resolve/main/src/api/integrations/chatbot/base-chatbot.dto.ts
- Command line
-
hf download hf://spaces/oex2003/evolution-api/src/api/integrations/chatbot/base-chatbot.dto.ts
-
curl -L -o base-chatbot.dto.ts https://huggingface.co/spaces/oex2003/evolution-api/resolve/main/src/api/integrations/chatbot/base-chatbot.dto.ts
1.06 kB
| import { TriggerOperator, TriggerType } from '@prisma/client'; | |
| /** | |
| * Base DTO for all chatbot integrations | |
| * Contains common properties shared by all chatbot types | |
| */ | |
| export class BaseChatbotDto { | |
| enabled?: boolean; | |
| description: string; | |
| expire?: number; | |
| keywordFinish?: string; | |
| delayMessage?: number; | |
| unknownMessage?: string; | |
| listeningFromMe?: boolean; | |
| stopBotFromMe?: boolean; | |
| keepOpen?: boolean; | |
| debounceTime?: number; | |
| triggerType: TriggerType; | |
| triggerOperator?: TriggerOperator; | |
| triggerValue?: string; | |
| ignoreJids?: string[]; | |
| splitMessages?: boolean; | |
| timePerChar?: number; | |
| } | |
| /** | |
| * Base settings DTO for all chatbot integrations | |
| */ | |
| export class BaseChatbotSettingDto { | |
| expire?: number; | |
| keywordFinish?: string; | |
| delayMessage?: number; | |
| unknownMessage?: string; | |
| listeningFromMe?: boolean; | |
| stopBotFromMe?: boolean; | |
| keepOpen?: boolean; | |
| debounceTime?: number; | |
| ignoreJids?: any; | |
| splitMessages?: boolean; | |
| timePerChar?: number; | |
| fallbackId?: string; // Unified fallback ID field for all integrations | |
| } | |