divyenduz / languagelearners

LingoParrot - LanguageLearners.club
1 stars 0 forks source link

[WIP] fix(audio): send file url in place of stream #29

Closed divyenduz closed 4 years ago

divyenduz commented 5 years ago

Attempt 1 at https://github.com/divyenduz/LingoParrot/issues/28 - Trying to send file URL in place of an audio stream makes it download because polly returns ogg_vorbis and sendVoice supports ogg opus, more: https://github.com/marcusmolchany/polly-telegram-bot/issues/1

Need to attempt and encode the file with opus, docs also mention this: https://core.telegram.org/bots/api#sendvoice

divyenduz commented 4 years ago

Closing this exploratory PR.