mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-16 12:07:13 +00:00
Reformat API module.
This commit is contained in:
parent
88c5b3a606
commit
01dc74a118
2 changed files with 46 additions and 52 deletions
|
|
@ -39,4 +39,4 @@ __all__ = [
|
||||||
]
|
]
|
||||||
|
|
||||||
__version__ = '2.0.dev1'
|
__version__ = '2.0.dev1'
|
||||||
__api_version__ = '3.6'
|
__api_version__ = '4.1'
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,8 @@
|
||||||
import abc
|
|
||||||
import asyncio
|
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import ssl
|
|
||||||
from asyncio import AbstractEventLoop
|
|
||||||
from http import HTTPStatus
|
from http import HTTPStatus
|
||||||
from typing import Optional, Tuple
|
|
||||||
|
|
||||||
import aiohttp
|
import aiohttp
|
||||||
import certifi
|
|
||||||
|
|
||||||
from .. import types
|
from .. import types
|
||||||
from ..utils import exceptions
|
from ..utils import exceptions
|
||||||
|
|
@ -153,7 +147,7 @@ class Methods(Helper):
|
||||||
"""
|
"""
|
||||||
Helper for Telegram API Methods listed on https://core.telegram.org/bots/api
|
Helper for Telegram API Methods listed on https://core.telegram.org/bots/api
|
||||||
|
|
||||||
List is updated to Bot API 3.6
|
List is updated to Bot API 4.1
|
||||||
"""
|
"""
|
||||||
mode = HelperMode.lowerCamelCase
|
mode = HelperMode.lowerCamelCase
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue