Skip to content
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

broken voice message spectrogram #1

Closed
chelaxian opened this issue Jun 20, 2024 · 2 comments
Closed

broken voice message spectrogram #1

chelaxian opened this issue Jun 20, 2024 · 2 comments

Comments

@chelaxian
Copy link
Owner

chelaxian commented Jun 20, 2024

as mentioned here tdlib/telegram-bot-api#354

sound spectrogram will be flat like that for big/long voice files
image

This is expected behavior for voice messages bigger than 1 MB, for which waveform can't be generated server-side. As documented, such voice messages can't be uploaded by URL at all, and if uploaded as file they have only properties passed during the upload.

The waveform is generated by the app, which uploads the file. Bot API doesn't support bot-side waveform generation.

Waveforms for voice messages bigger than 1 MB are added by the app, which uploads the file. There is no way to add a waveform through Bot API.

@chelaxian
Copy link
Owner Author

chelaxian commented Jun 20, 2024

fixed in release 1.1
image

@chelaxian
Copy link
Owner Author

thanks to TelegramPlayGround/pyrogram@26854da

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

1 participant