feat: Implement BotIOLayer for Telegram I/O, user points management, and message routing.
This commit is contained in:
+2
-1
@@ -76,7 +76,8 @@ class BotIOLayer:
|
||||
return src, self.query_topic_map[src]
|
||||
if self.query_topic_chat_id:
|
||||
return self.query_topic_chat_id, self.query_topic_id
|
||||
return src or None, self.query_topic_id
|
||||
# No mapping/fixed topic configured: reply directly to source chat without topic.
|
||||
return src or None, 0
|
||||
|
||||
def send_query_message(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user