Grommash9 / tg_chat_mate

https://grommash9.github.io/tg_chat_mate/
MIT License
5 stars 6 forks source link

Callback database document logic to BOT #146

Open Grommash9 opened 8 months ago

Grommash9 commented 8 months ago

We should have dataclass, and method to create callbacks to send it in future. Callbacks should have at least: method, url, payload, attempts, result and expireAT? Also it should have weight to prioritize

https://www.mongodb.com/docs/manual/tutorial/expire-data/

Please check if we are able to auto delete it after some time is passed? To keep database clean