turt2live / matrix-bot-sdk

TypeScript/JavaScript SDK for Matrix bots
MIT License
199 stars 69 forks source link

How to delete or edit a message sent by the bot ? #259

Closed jdkcoder closed 2 years ago

jdkcoder commented 2 years ago

I'm creating a bot on Element.io with TypeScript and I tried to find method to edit or delete sent message in documentation on both Turt2live & Matrix's official website but these methods are still invisible. So, please tell me is there any ways to delete or edit a sent message?

turt2live commented 2 years ago

"Deletion" is actually just redaction. Edits are not yet supported directly with the SDK, but can be sent manually using events.