|
@ -408,30 +408,44 @@ Enumerations |
|
|
|
|
|
|
|
|
Represents a component which holds different components in a section. |
|
|
Represents a component which holds different components in a section. |
|
|
|
|
|
|
|
|
|
|
|
.. versionadded:: 2.6 |
|
|
|
|
|
|
|
|
.. attribute:: text_display |
|
|
.. attribute:: text_display |
|
|
|
|
|
|
|
|
Represents a text display component. |
|
|
Represents a text display component. |
|
|
|
|
|
|
|
|
|
|
|
.. versionadded:: 2.6 |
|
|
|
|
|
|
|
|
.. attribute:: thumbnail |
|
|
.. attribute:: thumbnail |
|
|
|
|
|
|
|
|
Represents a thumbnail component. |
|
|
Represents a thumbnail component. |
|
|
|
|
|
|
|
|
|
|
|
.. versionadded:: 2.6 |
|
|
|
|
|
|
|
|
.. attribute:: media_gallery |
|
|
.. attribute:: media_gallery |
|
|
|
|
|
|
|
|
Represents a media gallery component. |
|
|
Represents a media gallery component. |
|
|
|
|
|
|
|
|
|
|
|
.. versionadded:: 2.6 |
|
|
|
|
|
|
|
|
.. attribute:: file |
|
|
.. attribute:: file |
|
|
|
|
|
|
|
|
Represents a file component. |
|
|
Represents a file component. |
|
|
|
|
|
|
|
|
|
|
|
.. versionadded:: 2.6 |
|
|
|
|
|
|
|
|
.. attribute:: separator |
|
|
.. attribute:: separator |
|
|
|
|
|
|
|
|
Represents a separator component. |
|
|
Represents a separator component. |
|
|
|
|
|
|
|
|
|
|
|
.. versionadded:: 2.6 |
|
|
|
|
|
|
|
|
.. attribute:: container |
|
|
.. attribute:: container |
|
|
|
|
|
|
|
|
Represents a component which holds different components in a container. |
|
|
Represents a component which holds different components in a container. |
|
|
|
|
|
|
|
|
|
|
|
.. versionadded:: 2.6 |
|
|
|
|
|
|
|
|
.. class:: ButtonStyle |
|
|
.. class:: ButtonStyle |
|
|
|
|
|
|
|
|
Represents the style of the button component. |
|
|
Represents the style of the button component. |
|
@ -596,21 +610,21 @@ View |
|
|
:members: |
|
|
:members: |
|
|
:inherited-members: |
|
|
:inherited-members: |
|
|
|
|
|
|
|
|
Modal |
|
|
LayoutView |
|
|
~~~~~~ |
|
|
~~~~~~~~~~ |
|
|
|
|
|
|
|
|
.. attributetable:: discord.ui.Modal |
|
|
.. attributetable:: discord.ui.LayoutView |
|
|
|
|
|
|
|
|
.. autoclass:: discord.ui.Modal |
|
|
.. autoclass:: discord.ui.LayoutView |
|
|
:members: |
|
|
:members: |
|
|
:inherited-members: |
|
|
:inherited-members: |
|
|
|
|
|
|
|
|
LayoutView |
|
|
Modal |
|
|
~~~~~~~~~~ |
|
|
~~~~~~ |
|
|
|
|
|
|
|
|
.. attributetable:: discord.ui.LayoutView |
|
|
.. attributetable:: discord.ui.Modal |
|
|
|
|
|
|
|
|
.. autoclass:: discord.ui.LayoutView |
|
|
.. autoclass:: discord.ui.Modal |
|
|
:members: |
|
|
:members: |
|
|
:inherited-members: |
|
|
:inherited-members: |
|
|
|
|
|
|
|
|