Grommash9 / tg_chat_mate

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

Delete chat history endpoint #45

Open Grommash9 opened 9 months ago

Grommash9 commented 9 months ago

Option in UI to delete chat history with user (should also delete all media related)

Grommash9 commented 9 months ago

We want to have bot api endpoint to be able to delete all chat history.

Grommash9 commented 8 months ago

We should rename bot/support_bot/routes/get_message.py into chat.py

Change "/tg-bot/get-messages/{chat_id}" to "/tg-bot/chat/{chat_id}/messages"

And add DELETE method for "/tg-bot/chat/{chat_id}"

image

lifquti commented 8 months ago

I think that regular manager dont need this function, couse its not normal. If we need this it must be only for genereal manager