aiogram/docs/api/methods/remove_business_account_profile_photo.rst
Alex Root Junior 2c2bd61551
Added full support for the Bot API 9.0 (#1671)
* Added full support for the Bot API 9.0

* Bump version
2025-04-12 23:29:48 +03:00

45 lines
952 B
ReStructuredText

#################################
removeBusinessAccountProfilePhoto
#################################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.remove_business_account_profile_photo
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.remove_business_account_profile_photo(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.remove_business_account_profile_photo import RemoveBusinessAccountProfilePhoto`
- alias: :code:`from aiogram.methods import RemoveBusinessAccountProfilePhoto`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: bool = await bot(RemoveBusinessAccountProfilePhoto(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return RemoveBusinessAccountProfilePhoto(...)