Skip to content

Commit

Permalink
Add docs for InputTextStyle enum values. (#1161)
Browse files Browse the repository at this point in the history
* add `InputTextStyle` to enum docs

* fix doc styling

* fix doc styling
  • Loading branch information
krittick authored Mar 10, 2022
1 parent aba4c03 commit 3ac083c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1806,7 +1806,9 @@ of :class:`enum.Enum`.
.. attribute:: select

Represents a select component.
.. attribute:: input_text

Represents an input_text component.

.. class:: ButtonStyle

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 3ac083c

Please sign in to comment.