Added file uploading support, v0.5.2

- Added example `file_bot.py`
- Added *.tmp to .gitignore
- Added CTX_FILE_SIZE, CTX_FILE_MIME and CTX_FILE_NAME
- Added MessageHasFile filter
- Added `send_file` and `send_file_bytes` for ClientSender and Bot
This commit is contained in:
2026-09-23 19:43:30 +03:00
parent 35bd68516a
commit 16b849ebd8
8 changed files with 335 additions and 4 deletions

3
.gitignore vendored
View File

@@ -5,4 +5,5 @@ session_storage/
dist/
*.egg-info/
*.swp
*.swo
*.swo
*.tmp