Commit graph

7 commits

Author SHA1 Message Date
Alex Root Junior
720a5451b7 Fixed fixture 2021-11-07 01:47:04 +02:00
Alex Root Junior
b190bbba19
Dev 2.x api 5.4 (#741)
* Added support of Bot API 5.4

* Bump version

* Added aliases for ChatJoinRequest object

* Create aiohttp session inside async function

* Try to fix compatibility with aiohttp 3.8

* Fixed compatibility with Python 3.10
2021-11-07 01:39:51 +02:00
darksidecat
b98ec3efad
add Bot.download_file aliases ability to save files to a directory and automatically create directories (#694)
* add destination_dir and make_dirs parameters to bot download aliases

* add the ability to save files to a directory with path completion based on file_path,
* add an option to automatically create directories in the file path

* Downloadable mixin uses directory creation parameter in bot methods
2021-11-07 01:28:12 +02:00
mpa
6508235d16 fix(BaseBot): remove __del__ method from BaseBot
implement "lazy" session property getter and new get_new_session for BaseBot
2020-05-10 01:13:00 +04:00
Oleg A
4523a1cab3 #239 added token type validation 2019-11-23 12:45:47 +03:00
Oleg A
89b0754b33 #239 added test cases for check_token 2019-11-23 12:02:30 +03:00
Suren Khorenyan
7863f052d9 Refactor aiogram/utils/auth_widget.py
+ fix check auth widget token in BaseBot, fix tests
2019-08-16 22:36:11 +03:00