File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -1352,6 +1352,8 @@ class FileUpload(Component):
1352
1352
"""Represents an File Upload field from the Discord Bot UI Kit.
1353
1353
This inherits from :class:`Component`.
1354
1354
1355
+ .. versionadded:: 2.7
1356
+
1355
1357
Attributes
1356
1358
----------
1357
1359
custom_id: Optional[:class:`str`]
Original file line number Diff line number Diff line change @@ -734,6 +734,7 @@ class ComponentType(Enum):
734
734
separator = 14
735
735
content_inventory_entry = 16
736
736
container = 17
737
+ label = 18
737
738
file_upload = 19
738
739
739
740
def __int__ (self ):
Original file line number Diff line number Diff line change @@ -505,6 +505,36 @@ of :class:`enum.Enum`.
505
505
.. attribute :: channel_select
506
506
507
507
Represents a channel select component.
508
+ .. attribute :: section
509
+
510
+ Represents a section component.
511
+ .. attribute :: text_display
512
+
513
+ Represents a text display component.
514
+ .. attribute :: thumbnail
515
+
516
+ Represents a thumbnail component.
517
+ .. attribute :: media_gallery
518
+
519
+ Represents a media gallery component.
520
+ .. attribute :: file
521
+
522
+ Represents a file component.
523
+ .. attribute :: separator
524
+
525
+ Represents a separator component.
526
+ .. attribute :: content_inventory_entry
527
+
528
+ Represents a content inventory entry component.
529
+ .. attribute :: container
530
+
531
+ Represents a container component.
532
+ .. attribute :: label
533
+
534
+ Represents a label component.
535
+ .. attribute :: file_upload
536
+
537
+ Represents a file upload component.
508
538
509
539
.. class :: ButtonStyle
510
540
You can’t perform that action at this time.
0 commit comments