Skip to content

Commit

Permalink
fix: replace encoding progress message with uploading message
Browse files Browse the repository at this point in the history
  • Loading branch information
k.mesniankin committed Nov 2, 2024
1 parent fce6c07 commit d9fa9f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/composers/TorrentsComposer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,11 @@ export class TorrentsComposer<
})
.on('end', async () => {
try {
await ctx.reply(ctx.t('torrent-file-uploading'));
await this.bot.api.editMessageText(
progressMessage.chat.id,
progressMessage.message_id,
ctx.t('torrent-file-uploading'),
);
await ctx.replyWithVideo(new InputFile(tmpFile), {
caption: path.basename(qbFile.name),
duration,
Expand Down

0 comments on commit d9fa9f8

Please sign in to comment.