so add the ghost mode for bot

This commit is contained in:
timka123 committed 2026-11-07 23:49:10 +03:00
1 parent aa8b044905
commit 1809661f27
7 files changed
+584 -7

No files matched your search

+4
View File
@@ -22,6 +22,10 @@ class Settings(BaseSettings):
default_factory=list,
description="List of Telegram User IDs allowed to interact with the bot. Whitelist only.",
)
GHOST_MODE_ENABLED: bool = Field(
default=True,
description="Enable or disable Ghost/Guest Bot mode (Telegram Bot API 10.0+ guest_message). Allows responding in chats without being added as a member.",
)
# LLM Provider selection: 'gemini', 'deepseek', or 'openai' (compatible)
LLM_PROVIDER: Literal["gemini", "deepseek", "openai"] = Field(