Added more room APIs, filter changes

- Added APIs to create rooms and forget rooms
- Removed excess imports from filters
- `BaseEventFilter` now sets `CTX_SENDER`
- Added an example for rooms
- Added a note about version freezing to README
This commit is contained in:
2026-10-04 21:37:08 +03:00
parent b22e7b4903
commit afcd3f53f4
7 changed files with 294 additions and 17 deletions

View File

@@ -4,6 +4,10 @@
develop **very** simple Matrix bots. It does not aim to be the best library out
there, but it aims to be convenient and usable for relatively serious projects.
>[!NOTE]
> Latest *"stable"* version is `v0.6.1`. Next version tag will be set when the
> library will become more usable and more stable. Upcoming version is `v0.7.0`.
## ✨ Features
The library supports the following features:
@@ -19,7 +23,7 @@ The library supports the following features:
Use `apt` to install required system packages and `pip` to install the package.
You may need to use `root` privileges to use `apt`. It's highly recommended you
use `venv` or another Python virtual environment. Here are the commands to
install the latest version of the library:
install the latest stable version of the library:
```bash
apt install libmagic1-dev libolm-dev