from aiogram.filters.command import CommandObject, Command
@router.message(Command('test'))
async def test(message: types.Message, command: CommandObject):
print(command, command.args)
<pre><code class="language-python">Тут код "<"/code></pre>
Замените "<" на <.
```python
тут код
```
from pyrogram.types import (InlineKeyboardMarkup, InlineKeyboardButton)
class MyStates:
balance = None # Определите состояние balance
from aiogram.dispatcher.filters.state import State, StatesGroup
class MyStates(StatesGroup):
balance = State()