-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Currently the call to aws polly returns an mp3 and is sent to telegram as an audio file sendAudio
. Ideally we would use the sendVoice
command so that the audio file would appear as a voice message. Polly can only return mp3
, ogg vorbis
or raw pcm
audio files. Telegram can only send ogg opus
files as voice messages.
We need a way to convert the polly synthesized file into an ogg opus
file.
https://core.telegram.org/bots/api/#sendvoice
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Polly.html#synthesizeSpeech-property
mrtheyann