Skip to content

Commit b699e7e

Browse files
committed
versionadded's and reorders
1 parent 67d67d3 commit b699e7e

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

docs/interactions/api.rst

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -408,30 +408,44 @@ Enumerations
408408

409409
Represents a component which holds different components in a section.
410410

411+
.. versionadded:: 2.6
412+
411413
.. attribute:: text_display
412414

413415
Represents a text display component.
414416

417+
.. versionadded:: 2.6
418+
415419
.. attribute:: thumbnail
416420

417421
Represents a thumbnail component.
418422

423+
.. versionadded:: 2.6
424+
419425
.. attribute:: media_gallery
420426

421427
Represents a media gallery component.
428+
429+
.. versionadded:: 2.6
422430

423431
.. attribute:: file
424432

425433
Represents a file component.
426434

435+
.. versionadded:: 2.6
436+
427437
.. attribute:: separator
428438

429439
Represents a separator component.
430440

441+
.. versionadded:: 2.6
442+
431443
.. attribute:: container
432444

433445
Represents a component which holds different components in a container.
434446

447+
.. versionadded:: 2.6
448+
435449
.. class:: ButtonStyle
436450

437451
Represents the style of the button component.
@@ -596,21 +610,21 @@ View
596610
:members:
597611
:inherited-members:
598612

599-
Modal
600-
~~~~~~
613+
LayoutView
614+
~~~~~~~~~~
601615

602-
.. attributetable:: discord.ui.Modal
616+
.. attributetable:: discord.ui.LayoutView
603617

604-
.. autoclass:: discord.ui.Modal
618+
.. autoclass:: discord.ui.LayoutView
605619
:members:
606620
:inherited-members:
607621

608-
LayoutView
609-
~~~~~~~~~~
622+
Modal
623+
~~~~~~
610624

611-
.. attributetable:: discord.ui.LayoutView
625+
.. attributetable:: discord.ui.Modal
612626

613-
.. autoclass:: discord.ui.LayoutView
627+
.. autoclass:: discord.ui.Modal
614628
:members:
615629
:inherited-members:
616630

0 commit comments

Comments
 (0)