[3.0] Bot API 5.1 + FSM + Utils (#525)

* Regenerate corresponding to Bot API 5.1

* Added base of FSM. Markup constructor and small refactoring

* Fix dependencies

* Fix mypy windows error

* Move StatesGroup.get_root() from meta to class

* Fixed chat and user constraints

* Update pipeline

* Remove docs pipeline

* Added GLOBAL_USER FSM strategy

* Reformat code

* Fixed Dispatcher._process_update

* Bump Bot API 5.2. Added integration with MagicFilter

* Coverage
This commit is contained in:
Alex Root Junior 2021-05-11 23:04:32 +03:00 committed by GitHub
parent a6f824a117
commit 0e72d8e65b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
265 changed files with 2921 additions and 1324 deletions

View file

@ -1,3 +1,5 @@
from magic_filter import MagicFilter
from .client import session
from .client.bot import Bot
from .dispatcher import filters, handler
@ -10,8 +12,9 @@ try:
_uvloop.install()
except ImportError: # pragma: no cover
_uvloop = None
pass
F = MagicFilter()
__all__ = (
"__api_version__",
@ -25,7 +28,8 @@ __all__ = (
"BaseMiddleware",
"filters",
"handler",
"F",
)
__version__ = "3.0.0-alpha.6"
__api_version__ = "4.9"
__api_version__ = "5.1"