I want to limit the file extensions to jpeg/png of a particular size (7 mb for example). Do I achieve this through Functions ?
I want to limit the file extensions to jpeg/png of a particular size (7 mb for example). Do I achieve this through Functions ?
Twilio developer evangelist here.
MMS messages coming into Twilio are limited by the carriers and you can see how big the images can be in the documentation here. The total size of a message, including all attachments and text, should be no greater than 5MB.
So, you should not receive images that are larger than 7MB and they should be smaller.