TextInput¶
- class aiogram_dialog.widgets.input.text.OnSuccess(*args, **kwargs)¶
- abstract async __call__(message, widget, dialog_manager, data, /)¶
Call self as a function.
- Parameters:
message (Message)
widget (ManagedTextInput[T])
dialog_manager (DialogManager)
data (T)
- Return type:
Any
- class aiogram_dialog.widgets.input.text.OnError(*args, **kwargs)¶
- abstract async __call__(message, widget, dialog_manager, error, /)¶
Call self as a function.
- Parameters:
message (Message)
widget (ManagedTextInput[T])
dialog_manager (DialogManager)
error (ValueError)
- Return type:
Any
- class aiogram_dialog.widgets.input.text.TextInput(id, type_factory=<class 'str'>, on_success=None, on_error=None, filter=None)¶
- Parameters: