Skip to content

Commit

Permalink
fix(telegram): file prefix missing
Browse files Browse the repository at this point in the history
  • Loading branch information
rikumi committed Oct 1, 2024
1 parent 9718e5a commit 165a5a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/clients/telegram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ export class TelegramBotClient extends EventEmitter implements GenericClient<Mes
};
}
} else {
prependMessageText(result, '[文件] ');
result.media = {
type: 'file',
mimeType: (file ?? audio)?.mime_type ?? 'application/octet-stream',
Expand Down

0 comments on commit 165a5a1

Please sign in to comment.