mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update docs
This commit is contained in:
parent
0e0dbe7e59
commit
1b9e666557
17 changed files with 70 additions and 36 deletions
|
|
@ -1,3 +0,0 @@
|
|||
Add class helper ChatAction for constants that Telegram BotAPI uses in sendChatAction request.
|
||||
In my opinion, this will help users and will also improve compatibility with 2.x version
|
||||
where similar class was called "ChatActions".
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
Added possibility to combine filters or invert result
|
||||
|
||||
Example:
|
||||
.. code-block:: python
|
||||
Text(text="demo") | Command(commands=["demo"])
|
||||
MyFilter() & AnotherFilter()
|
||||
~StateFilter(state='my-state')
|
||||
|
|
@ -1 +0,0 @@
|
|||
Restrict including routers with strings
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fixed false-positive coercing of Union types in API methods
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
Added 3 missing content types:
|
||||
|
||||
* proximity_alert_triggered
|
||||
* supergroup_chat_created
|
||||
* channel_chat_created
|
||||
|
|
@ -1 +0,0 @@
|
|||
Changed CommandPatterType to CommandPatternType in `aiogram/dispatcher/filters/command.py`
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fixed type hints for redis TTL params.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fixed the ability to compare the state, now comparison to copy of the state will return `True`.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Added `full_name` shortcut for `Chat` object
|
||||
|
|
@ -1 +0,0 @@
|
|||
Added full support of `Bot API 6.1 <https://core.telegram.org/bots/api-changelog#june-20-2022>`_
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
**Breaking!** More flat project structure
|
||||
|
||||
These packages was moved, imports in your code should be fixed:
|
||||
|
||||
- :code:`aiogram.dispatcher.filters` -> :code:`aiogram.filters`
|
||||
- :code:`aiogram.dispatcher.fsm` -> :code:`aiogram.fsm`
|
||||
- :code:`aiogram.dispatcher.handler` -> :code:`aiogram.handler`
|
||||
- :code:`aiogram.dispatcher.webhook` -> :code:`aiogram.webhook`
|
||||
- :code:`aiogram.dispatcher.flags/*` -> :code:`aiogram.dispatcher.flags` (single module instead of package)
|
||||
|
|
@ -1 +0,0 @@
|
|||
Removed deprecated :code:`router.<event>_handler` and :code:`router.register_<event>_handler` methods.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Deprecated filters factory. It will be removed in next Beta (3.0b5)
|
||||
|
|
@ -1 +0,0 @@
|
|||
`MessageEntity` method `get_text` was removed and `extract` was renamed to `extract_from`
|
||||
|
|
@ -1 +0,0 @@
|
|||
Fixed default lock kwargs in RedisEventIsolation.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Added full support of `Bot API 6.2 <https://core.telegram.org/bots/api-changelog#august-12-2022>`_
|
||||
Loading…
Add table
Add a link
Reference in a new issue