Egor
e883366dc6
chore: remove unused imports
2020-07-03 16:55:45 +05:00
Egor
37c6c34d3c
feat: add seed-isort-config
2020-07-03 16:49:09 +05:00
Egor
7b6f3a1fab
fix: flake8 cmd uses .flake8 config in Makefile
2020-07-03 16:48:44 +05:00
Egor
bd3821670e
chore: remove unused import
2020-07-03 16:33:24 +05:00
Egor
bb2ab6ff63
fix: use ChatMemberFactory instead of the direct class
2020-07-03 16:32:26 +05:00
Egor
36c70577bf
fix: invoke factory instead of direct ChatMember class
2020-07-03 16:30:28 +05:00
Egor
8f3913b728
fix: add support of type hints for factories
2020-07-03 16:29:34 +05:00
Egor
6e93facffc
chore: lint
2020-07-03 16:15:37 +05:00
Egor
d04e220fbb
fix: replace direct creation of Chat instances with usage of ChatFactory
2020-07-03 16:15:11 +05:00
Egor
23c0ed633f
chore: add __init__
2020-07-03 16:09:30 +05:00
Egor
c161b7afce
feat: ChatMemberFactory and MessageFactory
2020-07-03 16:09:00 +05:00
Egor
3016c8e21e
feat: ChatFactory and private_chat fixture
2020-07-03 16:08:31 +05:00
Egor
2cf2c2e98b
feat: ChatType helper
2020-07-03 16:07:46 +05:00
Egor
52e42c5be7
chore: move sequences to separate file
2020-07-03 15:49:03 +05:00
Egor
a8a7bcff66
chore: fix help in Makefile, and add a new command
2020-07-03 15:44:09 +05:00
Egor
74539ab0a3
chore: bump pytest-asyncio version
2020-07-03 13:52:54 +05:00
Egor
e0baed8eee
feat: add UserFactory
2020-07-03 13:41:47 +05:00
Alex Root Junior
6f53f15577
Reformat code
2020-06-27 16:59:52 +03:00
Alex Root Junior
46d01a6ae7
Fix explanation_parse_mode validation
2020-06-27 16:59:21 +03:00
Alex Root Junior
360fdfc4d8
Fix parse_mode in Message aliases
2020-06-15 23:54:06 +03:00
Alex Root Junior
3aa68a93d1
Fix coverage
2020-06-14 18:21:54 +03:00
Alex Root Junior
f5684aef07
Update default parse_mode propagation.
2020-06-14 18:18:29 +03:00
Alex Root Junior
4d631a3069
Allow to use zero as request timeout
2020-06-14 17:36:14 +03:00
Alex Root Junior
7844a663a9
Bump Telegram Bot API version
...
Change request timeout mechanism
Bump package version
2020-06-14 17:14:10 +03:00
Alex Root Junior
b78f1cdb17
Merge branch 'dev-3.x-unset_parse_mode' of https://github.com/b0g3r/aiogram into b0g3r-dev-3.x-unset_parse_mode
...
# Conflicts:
# aiogram/api/methods/base.py
# aiogram/api/methods/edit_message_caption.py
# aiogram/api/methods/edit_message_text.py
# aiogram/api/methods/send_animation.py
# aiogram/api/methods/send_audio.py
# aiogram/api/methods/send_document.py
# aiogram/api/methods/send_message.py
# aiogram/api/methods/send_photo.py
# aiogram/api/methods/send_video.py
# aiogram/api/methods/send_voice.py
# aiogram/api/types/__init__.py
# aiogram/api/types/inline_query_result_audio.py
# aiogram/api/types/inline_query_result_cached_audio.py
# aiogram/api/types/inline_query_result_cached_document.py
# aiogram/api/types/inline_query_result_cached_gif.py
# aiogram/api/types/inline_query_result_cached_mpeg4_gif.py
# aiogram/api/types/inline_query_result_cached_photo.py
# aiogram/api/types/inline_query_result_cached_video.py
# aiogram/api/types/inline_query_result_cached_voice.py
# aiogram/api/types/inline_query_result_document.py
# aiogram/api/types/inline_query_result_gif.py
# aiogram/api/types/inline_query_result_mpeg4_gif.py
# aiogram/api/types/inline_query_result_photo.py
# aiogram/api/types/inline_query_result_video.py
# aiogram/api/types/inline_query_result_voice.py
# aiogram/api/types/input_media_animation.py
# aiogram/api/types/input_media_audio.py
# aiogram/api/types/input_media_document.py
# aiogram/api/types/input_media_photo.py
# aiogram/api/types/input_media_video.py
# aiogram/api/types/input_text_message_content.py
2020-06-14 16:27:39 +03:00
Alex Root Junior
87104bd783
Fix pipeline warning
2020-05-31 18:27:47 +03:00
Martin Winks
aed3642385
feat(helpers): implement new descriptor with default value getter ( #336 )
...
* feat(helpers): implement new descriptor with default value getter
* perf(descriptor): use weakref
refuse weak reference to a value in WeakRefDict instead of polluting instance namespace
* chore(descriptor): rename descriptor class
rename `DefaultProperty` to `Default`
* style(fmt): lint code
2020-05-31 18:01:28 +03:00
lyteloli
9f11afda5b
Added fields to ChatMember ( #340 )
...
* Added fields to ChatMember
* Added ChatMemberStatus helper
2020-05-29 22:28:12 +03:00
Gabben
de3c5c1a8d
Download feature and URLInputFile ( #332 )
...
* Fix How to upload docs
* Rename BaseBot to Bot
* Add download_file method
* Add download method
* Add URLInputFile
* Add Downloadable to __init__ and __all__
* Fix ImportError for Python 3.7
* Related pages
* Improving docs
* Some speed
* staticmethod to classmethod
2020-05-27 01:25:13 +03:00
Alex Root Junior
28382ebf5f
Add bump_versions.py script ( #338 )
...
* Add bump_versions.py script
* Fix pipeline
2020-05-27 01:24:06 +03:00
Alex Root Junior
e4198fb1f2
Revert .PHONY in Makefile
2020-05-26 22:13:01 +03:00
Alex Root Junior
a627c75bab
Merge pull request #337 from aiogram/dev-3.x-middlewares
...
Implement new middlewares
2020-05-26 22:06:21 +03:00
Alex Root Junior
b69bd74d0c
Rename update_processing_context.py to user_context.py
2020-05-26 22:00:51 +03:00
Alex Root Junior
bafc2ff341
Update middlewares docs
2020-05-26 20:26:29 +03:00
Alex Root Junior
7f26ec9935
Implement new middlewares
2020-05-26 00:23:35 +03:00
Alex Root Junior
c262cc0ce6
Merge pull request #333 from gabbhack/dev-3.x-aliases
...
Answer aliases
2020-05-24 21:03:28 +03:00
Gabben
3029614dd1
Typo fix
2020-05-17 17:10:42 +05:00
Gabben
b04a14072e
Improving test_pre_checkout_query
2020-05-17 17:05:30 +05:00
Gabben
a6f83599c8
Improving test_inline_query
2020-05-17 17:03:35 +05:00
Gabben
66ecc6996d
Improving test_callback_query
2020-05-17 17:01:06 +05:00
Gabben
56df3f0ba8
Update test_shipping_query.py
2020-05-17 17:00:25 +05:00
Gabben
c5e0742337
Improving test_shipping_query
2020-05-17 16:58:15 +05:00
Gabben
83730276bc
Add ShippingQuery.answer
2020-05-17 16:50:49 +05:00
Gabben
cf12da0c4a
Add PreCheckoutQuery.answer
2020-05-17 16:40:26 +05:00
Gabben
65002b9280
Add InlineQuery.answer
2020-05-17 16:24:42 +05:00
Gabben
6bba2da814
Add CallbackQuery.answer
2020-05-17 15:42:04 +05:00
Alex Root Junior
8e54cce58e
Bump pre-commit config
2020-05-13 22:58:58 +03:00
Alex Root Junior
72ad390864
Merge pull request #281 from Birdi7/dev-3.x
...
feat: add pre-commit hooks
2020-05-13 22:39:06 +03:00
Alex Root Junior
02e6bd971b
Merge branch 'dev-3.x' into dev-3.x
2020-05-13 22:33:46 +03:00
Alex Root Junior
56095339ac
Merge pull request #327 from aiogram/dev-3.x-deprecate-handlers
...
AIOG-T-25 refactor(handler): rename observers
2020-05-13 22:19:15 +03:00