Oops. Change API version in docs and add API version to aiogram.__init__

This commit is contained in:
Alex Root Junior 2017-11-11 12:46:33 +02:00
parent ee84d753c7
commit 59bea7216a
2 changed files with 3 additions and 1 deletions

View file

@ -2,5 +2,7 @@ from .bot import Bot
from .utils.versions import Version, Stage
VERSION = Version(1, 0, 0, stage=Stage.DEV, build=0)
API_VERSION = Version(3, 4)
__version__ = VERSION.version
__api_version__ = API_VERSION.version

View file

@ -163,7 +163,7 @@ class Methods(Helper):
"""
Helper for Telegram API Methods listed on https://core.telegram.org/bots/api
List is updated to Bot API 3.2
List is updated to Bot API 3.4
"""
mode = HelperMode.lowerCamelCase