[ ] Save images sent to bot to S3. Possibly using a Middleware.
[ ] [Optional but preferred] Save the images' UUID4s (or similar) to the Database so that in the database we have a full local copy of an ad.
Why?
To have a list of all the images sent to the bot, in case someone is trying to abuse it, we can track the bad actor.
To possibly allow for a web-interface and/or different mediums, including different mediums in terms or payments.
Anything else?
I would argue for using async version of boto3 - aioboto3 (or analogs) because uploading an image to S3 is a heavy I/O-bound operation and having it be done async is a great plus.
What?
boto3
or ratheraioboto3
.UUID4
s (or similar) to the Database so that in the database we have a full local copy of an ad.Why?
Anything else?
I would argue for using async version of
boto3
-aioboto3
(or analogs) because uploading an image to S3 is a heavy I/O-bound operation and having it be done async is a great plus.