marcusmolchany / polly-telegram-bot

Telegram bot that runs on AWS Lambda and takes text and converts it to an audio file using AWS Polly
3 stars 2 forks source link

Check AWS Polly Limits #3

Closed marcusmolchany closed 7 years ago

marcusmolchany commented 7 years ago

From the Limits in Amazon Polly documentation.

The size of the input text can be up to 1500 billed characters (3000 total characters). SSML tags are not counted as billed characters.

For now a simple check for the input text being less than 1500 characters will work.

marcusmolchany commented 7 years ago

fixed in https://github.com/marcusmolchany/polly-telegram-bot/commit/da648fa5d45719913057eee115b3525352a50815