Telegram: thread command source into inbound context

This commit is contained in:
Vincent Koc 2026-03-13 13:31:01 -07:00
parent 4fd0d897dc
commit 2c8754c3e1
1 changed files with 1 additions and 0 deletions

View File

@ -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,