################ deleteMyCommands ################ Returns: :obj:`bool` .. automodule:: aiogram.methods.delete_my_commands :members: :member-order: bysource :undoc-members: True Usage ===== As bot method ------------- .. code-block:: result: bool = await bot.delete_my_commands(...) Method as object ---------------- Imports: - :code:`from aiogram.methods.delete_my_commands import DeleteMyCommands` - alias: :code:`from aiogram.methods import DeleteMyCommands` In handlers with current bot ---------------------------- .. code-block:: python result: bool = await DeleteMyCommands(...) With specific bot ~~~~~~~~~~~~~~~~~ .. code-block:: python result: bool = await bot(DeleteMyCommands(...)) As reply into Webhook in handler ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: python return DeleteMyCommands(...)