Closed divyenduz closed 4 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
ogg_vorbis
sendVoice
ogg opus
Need to attempt and encode the file with opus, docs also mention this: https://core.telegram.org/bots/api#sendvoice
Closing this exploratory PR.
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
andsendVoice
supportsogg opus
, more: https://github.com/marcusmolchany/polly-telegram-bot/issues/1Need to attempt and encode the file with opus, docs also mention this: https://core.telegram.org/bots/api#sendvoice