Skip to content

sendAudio api doesn't set the title, performer, thumbnail and other #1255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mohammad-nm opened this issue Feb 1, 2025 · 1 comment
Open

Comments

@mohammad-nm
Copy link

when using the sendAudio api in TelegramBot.SendAudioOptions it only sets th caption and other things doesnt work. I read somewhere that it happens only when you give it a url instead of a file path.

@Enuriru
Copy link

Enuriru commented Feb 9, 2025

I guess that's how Telegram servers process the file. When they download it using url, they ignore any metadata.
However, even when I pass the file as Buffer thumbnail never worked for me. No idea why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants