feat: make Telegram reply-to-message behavior configurable, default false

This commit is contained in:
Re-bin
2026-02-20 11:13:10 +00:00
parent 792f80ce0c
commit e1854c4373
2 changed files with 8 additions and 7 deletions

View File

@@ -28,6 +28,7 @@ class TelegramConfig(Base):
token: str = "" # Bot token from @BotFather
allow_from: list[str] = Field(default_factory=list) # Allowed user IDs or usernames
proxy: str | None = None # HTTP/SOCKS5 proxy URL, e.g. "http://127.0.0.1:7890" or "socks5://127.0.0.1:1080"
reply_to_message: bool = False # If true, bot replies quote the original message
class FeishuConfig(Base):