From 2c8754c3e1f58624e7766dc6a695b91d9291fcc8 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Fri, 13 Mar 2026 13:31:01 -0700 Subject: [PATCH] Telegram: thread command source into inbound context --- src/telegram/bot-message-context.session.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/telegram/bot-message-context.session.ts b/src/telegram/bot-message-context.session.ts index 6932b315dc7..4adfcc84820 100644 --- a/src/telegram/bot-message-context.session.ts +++ b/src/telegram/bot-message-context.session.ts @@ -240,6 +240,7 @@ export async function buildTelegramInboundContextPayload(params: { StickerMediaIncluded: allMedia[0]?.stickerMetadata ? !stickerCacheHit : undefined, ...(locationData ? toLocationContext(locationData) : undefined), CommandAuthorized: commandAuthorized, + CommandSource: options?.commandSource, MessageThreadId: threadSpec.id, IsForum: isForum, OriginatingChannel: "telegram" as const,