Open SA0-XDZ03 opened 7 years ago
You could store all message ids per conversation in a dict
with list
s. Later you are able to delete messages of a specifiy conversation via telepot.Bot.deleteMessage(<chat_id>, <message_id>)
or its async counterpart telepot.aio.Bot.deleteMessage(<chat_id>, <message_id>)
.
I want to embed an new command '/clear'. This should clear whole of the conversation.