mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Allows using a default value in the class which is equal to an empty string ("").
Example:
class MyCallbackData(CallbackData, prefix="MyCallbackData"):
input1: str
input2: str = ""
|
||
|---|---|---|
| .. | ||
| client | ||
| dispatcher | ||
| enums | ||
| filters | ||
| fsm | ||
| handlers | ||
| methods | ||
| types | ||
| utils | ||
| webhook | ||
| __init__.py | ||
| __meta__.py | ||
| exceptions.py | ||
| loggers.py | ||
| py.typed | ||