feat(telegram): restore rich messages opt-out

Salvages PR #45840's client-compatibility opt-out while keeping rich messages enabled by default via telegram.extra.rich_messages: true.
This commit is contained in:
Justin Sunseri
2026-06-13 21:45:49 -07:00
committed by Teknium
parent 8d5d36d793
commit 12682d96b9
7 changed files with 114 additions and 14 deletions
+3
View File
@@ -1982,6 +1982,9 @@ DEFAULT_CONFIG = {
"reactions": False, # Add 👀/✅/❌ reactions to messages during processing
"channel_prompts": {}, # Per-chat/topic ephemeral system prompts (topics inherit from parent group)
"allowed_chats": "", # If set, bot ONLY responds in these group/supergroup chat IDs (whitelist)
"extra": {
"rich_messages": True, # Bot API 10.1 rich messages; set false to force legacy MarkdownV2
},
},
# Mattermost platform settings (gateway mode)