You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: interactions/client/models/command.py
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,8 @@ class Option(DictSerializerMixin):
103
103
:ivar Optional[List[ChannelType]] channel_types?: Restrictive shown channel types, if given.
104
104
:ivar Optional[int] min_value?: The minimum value supported by the option.
105
105
:ivar Optional[int] max_value?: The maximum value supported by the option.
106
+
:ivar Optional[int] min_length?: The minimum length supported by the option.
107
+
:ivar Optional[int] max_length?: The maximum length supported by the option.
106
108
:ivar Optional[bool] autocomplete?: A status denoting whether this option is an autocomplete option.
107
109
:ivar Optional[Dict[Union[str, Locale], str]] name_localizations?: The dictionary of localization for the ``name`` field. This enforces the same restrictions as the ``name`` field.
108
110
:ivar Optional[Dict[Union[str, Locale], str]] description_localizations?: The dictionary of localization for the ``description`` field. This enforces the same restrictions as the ``description`` field.
@@ -122,6 +124,8 @@ class Option(DictSerializerMixin):
0 commit comments