The option's label.
Type: str
The option's value. (It is like a button's custom_id)
Type: str
The option's emoji.
Type: discord.Emoji
| discord.PartialEmoji
| str
The option's description
Type: str
If the option is selected initially.
Type: bool
The option's label.
Type: str
The option's value. (It is like a button's custom_id)
Type: str
The option's emoji.
Type: discord.Emoji
| discord.PartialEmoji
| str
The option's description
Type: str
If the option is selected initially.
Type: bool
Gets the component information required for API request in dict form.
Returns: dict
Creates component instance from json.
This is a static method.
Parameters:
data (dict
) - The json to construct select from.
Returns: