feat: capture message_thread_id for Telegram topic routing
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user