Alex Root Junior
4008a3114d
Upgrade architecture + 5.0 Bot API ( #469 )
...
Upgrade architecture + 5.0 Bot API (#469 )
* Moved `methods`, `types` and `client` to root package
* Removed update handler from routers to dispatcher
* Reworked events propagation mechanism to handlers
* Reworked inner middlewares logic (very small change)
* Updated to Bot API 5.0
* Initial migration from MkDocs to Sphinx + config for readthedocs
2021-01-26 21:20:52 +02:00
Alex Root Junior
7f26ec9935
Implement new middlewares
2020-05-26 00:23:35 +03:00
mpa
4124770b0e
refactor(handler): rename observers
...
Rename observers but with backward compatibility, relevant documentation
2020-05-10 03:02:31 +04:00
Alex Root Junior
9907eada32
Refactor EventObserver & TelegramEventObserver
2020-01-13 21:17:28 +02:00
jrootjunior
ad17143d3f
Pydoc observer
2019-12-13 12:19:39 +02:00
Alex Root Junior
6ee05fb901
Add tests for content types
2019-12-11 21:31:31 +02:00
Alex Root Junior
8df6c345c3
Fix tests
2019-12-11 20:50:59 +02:00
jrootjunior
647d03b2d4
Remove filters from class based handlers
2019-12-11 16:45:10 +02:00
Alex Root Junior
b82a1a6fb0
Add prototype of class-based handlers
2019-12-03 00:03:15 +02:00
Alex Root Junior
40b6a61e70
Add text filter and mechanism for registering builtin filters
2019-11-29 23:16:11 +02:00
Alex Root Junior
23dbd88487
Full coverage of observers
2019-11-25 23:21:01 +02:00
Alex Root Junior
a1e840af89
Remove unused imports
2019-11-24 22:54:37 +02:00
Alex Root Junior
8204b6af52
Partially add tests for telegram event observer
2019-11-24 22:31:53 +02:00
Alex Root Junior
55f6c29ba6
Remove awaitable checks from TestObserver
2019-11-24 01:07:43 +02:00
Alex Root Junior
fd6e78ddf7
Add tests for EventObserver
2019-11-24 01:03:47 +02:00
Alex Root Junior
caa7eeab41
Add tests for handler
2019-11-24 00:17:21 +02:00