mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-26 04:43:54 +00:00
Add container operations documentation to TextInput
This commit is contained in:
parent
d437f494db
commit
e7ce8b6b77
@ -52,6 +52,12 @@ V = TypeVar('V', bound='View', covariant=True)
|
|||||||
class TextInput(Item[V]):
|
class TextInput(Item[V]):
|
||||||
"""Represents a UI text input.
|
"""Represents a UI text input.
|
||||||
|
|
||||||
|
.. container:: operations
|
||||||
|
|
||||||
|
.. describe:: str(x)
|
||||||
|
|
||||||
|
Returns the value of the text input or an empty string if the value is ``None``.
|
||||||
|
|
||||||
.. versionadded:: 2.0
|
.. versionadded:: 2.0
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
|
Loading…
x
Reference in New Issue
Block a user