Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for InputTextStyle enum values. #1161

Merged
merged 3 commits into from
Mar 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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