mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-19 04:24:41 +00:00
Add support for File Upload component
This commit is contained in:
@@ -193,6 +193,16 @@ Container
|
||||
:inherited-members:
|
||||
|
||||
|
||||
FileUploadComponent
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. attributetable:: FileUploadComponent
|
||||
|
||||
.. autoclass:: FileUploadComponent()
|
||||
:members:
|
||||
:inherited-members:
|
||||
|
||||
|
||||
AppCommand
|
||||
~~~~~~~~~~~
|
||||
|
||||
@@ -479,6 +489,12 @@ Enumerations
|
||||
|
||||
.. versionadded:: 2.6
|
||||
|
||||
.. attribute:: file_upload
|
||||
|
||||
Represents a file upload component, usually in a modal.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
|
||||
.. class:: ButtonStyle
|
||||
|
||||
Represents the style of the button component.
|
||||
@@ -855,6 +871,17 @@ ActionRow
|
||||
:inherited-members:
|
||||
:exclude-members: callback
|
||||
|
||||
|
||||
FileUpload
|
||||
~~~~~~~~~~~
|
||||
|
||||
.. attributetable:: discord.ui.FileUpload
|
||||
|
||||
.. autoclass:: discord.ui.FileUpload
|
||||
:members:
|
||||
:inherited-members:
|
||||
:exclude-members: callback, interaction_check
|
||||
|
||||
.. _discord_app_commands:
|
||||
|
||||
Application Commands
|
||||
|
Reference in New Issue
Block a user