Alex Root Junior
247ffbef69
3.x Bot API 6.1 ( #937 )
...
Added support of Bot API 6.1
2022-06-25 18:14:29 +03:00
Alex Root Junior
9b43a33b7f
Dev 3.x api 5.4 ( #744 )
...
* Re-generate API
* Added new modules
* Added handling new event type and approve/decline aliases for ChatJoinRequest
* Fixed code-coverage
* Bump API version
* Added patch-notes
2021-11-08 02:37:37 +02:00
Alex Root Junior
e4046095d7
Dev 3.x i18n & improvements ( #696 )
...
* Added base code and make code improvements
* Auto-exclude coverage for `if TYPE_CHECKING:`
* Fixed current coverage
* Cover I18n module
* Update pipeline
* Fixed annotations
* Added docs
* Move exceptions
* Added tests for KeyboardBuilder and initial docs
* Remove help generator (removed from sources tree, requires rewrite)
* Added patch-notes #698 , #699 , #700 , #701 , #702 , #703
2021-09-22 00:52:38 +03:00
darksidecat
714ac8896c
Move update type detecting from Dispatcher to Update ( #669 )
...
* move update type detecting to Update
* requested changes
* fix typo
* requested changes
* add docstring
* Update CHANGES/669.misc
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* move mypy hack to utils, add lru_cache configuration
* More accurate description of the exception, thanks @uwinx
* Update CHANGES/669.misc
Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
* Callable import fix
Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
2021-09-05 23:49:23 +03:00
Alex Root Junior
0e72d8e65b
[3.0] Bot API 5.1 + FSM + Utils ( #525 )
...
* Regenerate corresponding to Bot API 5.1
* Added base of FSM. Markup constructor and small refactoring
* Fix dependencies
* Fix mypy windows error
* Move StatesGroup.get_root() from meta to class
* Fixed chat and user constraints
* Update pipeline
* Remove docs pipeline
* Added GLOBAL_USER FSM strategy
* Reformat code
* Fixed Dispatcher._process_update
* Bump Bot API 5.2. Added integration with MagicFilter
* Coverage
2021-05-11 23:04:32 +03:00
Alex Root Junior
4008a3114d
Upgrade architecture + 5.0 Bot API ( #469 )
...
Upgrade architecture + 5.0 Bot API (#469 )
* Moved `methods`, `types` and `client` to root package
* Removed update handler from routers to dispatcher
* Reworked events propagation mechanism to handlers
* Reworked inner middlewares logic (very small change)
* Updated to Bot API 5.0
* Initial migration from MkDocs to Sphinx + config for readthedocs
2021-01-26 21:20:52 +02:00
jrootjunior
bdae5fb026
Clean project
2019-11-15 12:17:57 +02:00
Alex RootJunior
7c51b1a7d7
Add Black and Flake8
2019-06-29 19:53:18 +03:00
Alex RootJunior
e2e2d9c9fe
Implemented polls [From test API]
2019-04-11 00:32:46 +03:00
Alex Root Junior
06fbe0d9cd
Remove context util.
2018-06-25 01:31:57 +03:00
Alex Root Junior
8086a120c2
Try to use contextvars (partial)
2018-06-23 17:39:24 +03:00
Alex Root Junior
8490306096
Refactor types.
2018-01-24 02:29:48 +02:00
Alex Root Junior
44a24b243c
Make some types hashable.
2017-10-22 17:18:44 +03:00
Alex Root Junior
0586c33b1d
Check all types.
2017-10-18 23:25:22 +03:00
Alex Root Junior
84c8548ceb
New types (In process...)
2017-10-12 16:43:23 +03:00
Alex Root Junior
00cc42c216
Remove old code. (2)
2017-09-27 09:07:14 +03:00
Alex Root Junior
b65f181402
More correct names for writing styles in HelperMode
2017-08-15 04:32:11 +03:00
Alex Root Junior
9e894cf06b
I think it will always be valid. (remove Deserializable.check_json)
2017-07-29 03:24:50 +03:00
Alex Root Junior
1fd3290514
Add AllowedUpdates helper. (List-helper)
2017-07-23 06:06:43 +03:00
Alex Root Junior
0b8a37b38a
Add some doc's
2017-06-06 15:02:27 +03:00
Alex Root Junior
5019a4f00b
Remove bad comments.
2017-06-02 03:03:26 +03:00
Alex Root Junior
07c7c1f32a
Refactoring.
2017-06-02 03:01:28 +03:00
Alex Root Junior
24f70bf9d5
wtf
2017-05-26 08:03:17 +03:00
Alex Root Junior
4dba8f534e
Reformat code. Use rel imports.
2017-05-26 07:55:05 +03:00
Alex Root Junior
8350483c98
Add all deserializable types.
2017-05-26 07:25:37 +03:00
Alex Root Junior
716865695c
Configure Deserializable object. (Set bot for types) and stop using __slots__
2017-05-26 05:21:32 +03:00
Alex Root Junior
0d6af5bc8d
Rename data -> raw_data
2017-05-26 03:51:21 +03:00
Alex Root Junior
44bf906110
Rel import
2017-05-26 03:28:46 +03:00
Alex Root Junior
4f7bdfa885
Remove bot entity from types.
2017-05-21 17:04:09 +03:00
Alex Root Junior
4d0ffa7b58
Add getUpdates
2017-05-20 00:00:45 +03:00