diff --git a/CHANGES/1233.bugfix.rst b/CHANGES/1233.bugfix.rst new file mode 100644 index 00000000..17aa8fbc --- /dev/null +++ b/CHANGES/1233.bugfix.rst @@ -0,0 +1,4 @@ +Added model validation to remove UNSET before field validation. +This change was necessary to correctly handle parse_mode where 'UNSET' is used as a sentinel value. +Without the removal of 'UNSET', it would create issues when passed to model initialization from Bot.method_name. +'UNSET' was also added to typing.