1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Some Updates

> Added lot of type hints to types.py
> Added some new fields from TelegramBotAPI to pyTelegramBotAPI
> fixed `circular import error in util.py
> Added functions `log_out` and `close` to __init__.py and apihelper.py
> And some more small changes
This commit is contained in:
SwissCorePy
2021-06-17 20:28:53 +02:00
parent fe9df2df8c
commit bbafdd1c1d
5 changed files with 821 additions and 858 deletions

View File

@@ -165,6 +165,13 @@ def get_me(token):
method_url = r'getMe'
return _make_request(token, method_url)
def log_out(token):
method_url = r'logOut'
return _make_request(token, method_url)
def close(token):
method_url = r'close'
return _make_request(token, method_url)
def get_file(token, file_id):
method_url = r'getFile'