Pass bot user id into normalizeMessage for reply labelling
This commit is contained in:
@@ -117,6 +117,7 @@ export function registerBridge(deps: BridgeDeps): void {
|
||||
download: (fileId) => downloadFile(bot, config.telegramBotToken, fileId, deps.fetchFn),
|
||||
transcriber: deps.transcriber,
|
||||
workspaceDir: config.workspaceDir,
|
||||
botUserId: bot.botInfo?.id,
|
||||
});
|
||||
for (const note of result.notes) await ctx.reply(note);
|
||||
if (result.transcript) await ctx.reply(`🎤 ${result.transcript}`);
|
||||
|
||||
Reference in New Issue
Block a user