feat(telegram): support sending audio as native voice notes via asVoice param in message tool

This commit is contained in:
Muhammed Mukhthar CM
2026-01-17 11:32:16 +00:00
committed by Peter Steinberger
parent f6456c2883
commit f2a0e8e5bb
3 changed files with 4 additions and 0 deletions

View File

@@ -175,6 +175,7 @@ export async function handleTelegramAction(
buttons,
replyToMessageId: replyToMessageId ?? undefined,
messageThreadId: messageThreadId ?? undefined,
asVoice: typeof params.asVoice === "boolean" ? params.asVoice : undefined,
});
return jsonResult({
ok: true,