mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 20:02:22 +00:00
Full support of Bot API 7.3 (#1480)
* Added full support of Bot API * Added full support of Bot API * Fixed tests * Added changelog * Bump version
This commit is contained in:
parent
6d655330af
commit
cf2980a9c1
137 changed files with 3422 additions and 929 deletions
|
|
@ -2,7 +2,7 @@
|
|||
getChat
|
||||
#######
|
||||
|
||||
Returns: :obj:`Chat`
|
||||
Returns: :obj:`ChatFullInfo`
|
||||
|
||||
.. automodule:: aiogram.methods.get_chat
|
||||
:members:
|
||||
|
|
@ -19,7 +19,7 @@ As bot method
|
|||
|
||||
.. code-block::
|
||||
|
||||
result: Chat = await bot.get_chat(...)
|
||||
result: ChatFullInfo = await bot.get_chat(...)
|
||||
|
||||
|
||||
Method as object
|
||||
|
|
@ -35,4 +35,4 @@ With specific bot
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
result: Chat = await bot(GetChat(...))
|
||||
result: ChatFullInfo = await bot(GetChat(...))
|
||||
|
|
|
|||
10
docs/api/types/background_fill.rst
Normal file
10
docs/api/types/background_fill.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
##############
|
||||
BackgroundFill
|
||||
##############
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.background_fill
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/background_fill_freeform_gradient.rst
Normal file
10
docs/api/types/background_fill_freeform_gradient.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
##############################
|
||||
BackgroundFillFreeformGradient
|
||||
##############################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.background_fill_freeform_gradient
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/background_fill_gradient.rst
Normal file
10
docs/api/types/background_fill_gradient.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
######################
|
||||
BackgroundFillGradient
|
||||
######################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.background_fill_gradient
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/background_fill_solid.rst
Normal file
10
docs/api/types/background_fill_solid.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
###################
|
||||
BackgroundFillSolid
|
||||
###################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.background_fill_solid
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/background_type.rst
Normal file
10
docs/api/types/background_type.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
##############
|
||||
BackgroundType
|
||||
##############
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.background_type
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/background_type_chat_theme.rst
Normal file
10
docs/api/types/background_type_chat_theme.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#######################
|
||||
BackgroundTypeChatTheme
|
||||
#######################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.background_type_chat_theme
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/background_type_fill.rst
Normal file
10
docs/api/types/background_type_fill.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
##################
|
||||
BackgroundTypeFill
|
||||
##################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.background_type_fill
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/background_type_pattern.rst
Normal file
10
docs/api/types/background_type_pattern.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#####################
|
||||
BackgroundTypePattern
|
||||
#####################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.background_type_pattern
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/background_type_wallpaper.rst
Normal file
10
docs/api/types/background_type_wallpaper.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#######################
|
||||
BackgroundTypeWallpaper
|
||||
#######################
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.background_type_wallpaper
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/chat_background.rst
Normal file
10
docs/api/types/chat_background.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
##############
|
||||
ChatBackground
|
||||
##############
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.chat_background
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
10
docs/api/types/chat_full_info.rst
Normal file
10
docs/api/types/chat_full_info.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
############
|
||||
ChatFullInfo
|
||||
############
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.chat_full_info
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
|
|
@ -13,6 +13,15 @@ Available types
|
|||
|
||||
animation
|
||||
audio
|
||||
background_fill
|
||||
background_fill_freeform_gradient
|
||||
background_fill_gradient
|
||||
background_fill_solid
|
||||
background_type
|
||||
background_type_chat_theme
|
||||
background_type_fill
|
||||
background_type_pattern
|
||||
background_type_wallpaper
|
||||
birthdate
|
||||
bot_command
|
||||
bot_command_scope
|
||||
|
|
@ -35,6 +44,7 @@ Available types
|
|||
callback_query
|
||||
chat
|
||||
chat_administrator_rights
|
||||
chat_background
|
||||
chat_boost
|
||||
chat_boost_added
|
||||
chat_boost_removed
|
||||
|
|
@ -43,6 +53,7 @@ Available types
|
|||
chat_boost_source_giveaway
|
||||
chat_boost_source_premium
|
||||
chat_boost_updated
|
||||
chat_full_info
|
||||
chat_invite_link
|
||||
chat_join_request
|
||||
chat_location
|
||||
|
|
@ -84,6 +95,7 @@ Available types
|
|||
input_media_document
|
||||
input_media_photo
|
||||
input_media_video
|
||||
input_poll_option
|
||||
keyboard_button
|
||||
keyboard_button_poll_type
|
||||
keyboard_button_request_chat
|
||||
|
|
|
|||
10
docs/api/types/input_poll_option.rst
Normal file
10
docs/api/types/input_poll_option.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
###############
|
||||
InputPollOption
|
||||
###############
|
||||
|
||||
|
||||
.. automodule:: aiogram.types.input_poll_option
|
||||
:members:
|
||||
:member-order: bysource
|
||||
:undoc-members: True
|
||||
:exclude-members: model_config,model_fields
|
||||
Loading…
Add table
Add a link
Reference in a new issue