diff --git a/docs/api.rst b/docs/api.rst index 5db97809e3..65123e632a 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -1806,7 +1806,9 @@ of :class:`enum.Enum`. .. attribute:: select Represents a select component. + .. attribute:: input_text + Represents an input_text component. .. class:: ButtonStyle @@ -1849,6 +1851,28 @@ of :class:`enum.Enum`. An alias for :attr:`link`. +.. class:: InputTextStyle + + Represents the style of the input text component. + + .. versionadded:: 2.0 + + .. attribute:: short + + Represents a single-line input text field. + .. attribute:: long + + Represents a multi-line input text field. + .. attribute:: singleline + + An alias for :attr:`short`. + .. attribute:: multiline + + An alias for :attr:`long`. + .. attribute:: paragraph + + An alias for :attr:`long`. + .. class:: VoiceRegion Specifies the region a voice server belongs to.