aiogram/aiogram
m-xim 2ba67ab04a
Update callback_data.py
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 = ""
2024-05-26 04:18:33 +03:00
..
client Full support of Bot API 7.3 (#1480) 2024-05-06 23:27:54 +03:00
dispatcher Fix missing error logging (#1458) 2024-04-23 13:59:13 +03:00
enums Full support of Bot API 7.3 (#1480) 2024-05-06 23:27:54 +03:00
filters Update callback_data.py 2024-05-26 04:18:33 +03:00
fsm Added MongoStorage for FSM (#1434) 2024-05-07 22:42:31 +03:00
handlers Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
methods Full support of Bot API 7.3 (#1480) 2024-05-06 23:27:54 +03:00
types Reformat code 2024-05-11 01:57:24 +03:00
utils Added message_thread_id parameter to ChatActionSender class methods (#1437) 2024-03-11 21:53:17 +02:00
webhook Prevent update handling task pointers from being garbage collected, backport of #1328 (#1331) 2023-10-08 18:13:06 +03:00
__init__.py PoC Scenes (#1280) 2023-11-23 00:41:21 +02:00
__meta__.py Bump version 2024-05-07 22:43:07 +03:00
exceptions.py PoC Scenes (#1280) 2023-11-23 00:41:21 +02:00
loggers.py PoC Scenes (#1280) 2023-11-23 00:41:21 +02:00
py.typed Add py.typed 2020-04-11 22:01:53 +03:00