feat: capture message_thread_id for Telegram topic routing

This commit is contained in:
daniel
2026-05-12 14:05:00 -05:00
parent 3a49dadb69
commit 9d3a93a998
24 changed files with 1442 additions and 73 deletions

View File

@@ -268,6 +268,7 @@ async def main(payload: dict, context):
adapter = TelegramAdapter(
chat_id=adapter_config.get('target_id', ''),
bot_token_secret_arn=adapter_config.get('bot_token_secret_arn', ''),
message_thread_id=adapter_config.get('message_thread_id'),
)
else:
raise ValueError(f"Unsupported channel type: {channel_type}")