Bot API 6.8 (#1276)

* Prepare for Bot API 6.8

* Bump after public release

* Bump version, added changelog
This commit is contained in:
Alex Root Junior 2023-08-18 20:18:05 +03:00 committed by GitHub
parent bc0932a745
commit 678b3cfe7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 363 additions and 27 deletions

View file

@ -86,6 +86,7 @@ Available methods
unhide_general_forum_topic
unpin_all_chat_messages
unpin_all_forum_topic_messages
unpin_all_general_forum_topic_messages
unpin_chat_message
Payments

View file

@ -0,0 +1,51 @@
#################################
unpinAllGeneralForumTopicMessages
#################################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.unpin_all_general_forum_topic_messages
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.unpin_all_general_forum_topic_messages(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.unpin_all_general_forum_topic_messages import UnpinAllGeneralForumTopicMessages`
- alias: :code:`from aiogram.methods import UnpinAllGeneralForumTopicMessages`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: bool = await bot(UnpinAllGeneralForumTopicMessages(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return UnpinAllGeneralForumTopicMessages(...)
As shortcut from received object
--------------------------------
- :meth:`aiogram.types.chat.Chat.unpin_all_general_forum_topic_messages`

View file

@ -123,6 +123,7 @@ Available types
reply_keyboard_markup
reply_keyboard_remove
response_parameters
story
switch_inline_query_chosen_chat
user
user_profile_photos

10
docs/api/types/story.rst Normal file
View file

@ -0,0 +1,10 @@
#####
Story
#####
.. automodule:: aiogram.types.story
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields