I

Size: a a a
I
БГ
A
A
БГ
ПЯ
import logging
logging.basicConfig(level=logging.INFO)
для
чего это?БГ
import logging
logging.basicConfig(level=logging.INFO)
для
чего это?БГ
ПЯ
Ω
import logging
logging.basicConfig(level=logging.INFO)
для
чего это?Ω
Ω
Ω
БГ
I
Ω
Ω
R3
ПЯ
class Form(StatesGroup):
name = State() # Will be represented in storage as 'Form:name'
age = State() # Will be represented in storage as 'Form:age'
gender = State() # Will be represented in storage as 'Form:gender'
@dp.message_handler(commands='start')
async def cmd_start(message: types.Message):
"""
Conversation's entry point
"""
# Set state
await Form.name.set()
await message.reply("Hi there! What's your name?")
ПЯ