Commit graph

17 commits

Author SHA1 Message Date
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 Root Junior
f635b5c965 Added vCard support when sharing contacts 2018-07-29 02:17:17 +03:00
Alex Root Junior
531b2a4df7 Hashable TelegramObject 2018-02-23 13:19:23 +02:00
Alex Root Junior
8490306096 Refactor types. 2018-01-24 02:29:48 +02: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
92d3d86a18 Reformat code. 2017-08-14 22:34:13 +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
0b8a37b38a Add some doc's 2017-06-06 15:02:27 +03:00
Alex Root Junior
07c7c1f32a Refactoring. 2017-06-02 03:01:28 +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
a315d6d390 Add types: Audio, Document, PhotoSize, Sticker, Video, VideoNote, CallbackQuery, Contact, File, Location, UserProfilePhotos, Venue, Voice 2017-05-26 03:27:22 +03:00