############# getMyCommands ############# Returns: :obj:`list[BotCommand]` .. automodule:: aiogram.methods.get_my_commands :members: :member-order: bysource :undoc-members: True :exclude-members: model_config,model_fields Usage ===== As bot method ------------- .. code-block:: result: list[BotCommand] = await bot.get_my_commands(...) Method as object ---------------- Imports: - :code:`from aiogram.methods.get_my_commands import GetMyCommands` - alias: :code:`from aiogram.methods import GetMyCommands` With specific bot ~~~~~~~~~~~~~~~~~ .. code-block:: python result: list[BotCommand] = await bot(GetMyCommands(...))