Last updated 3 years ago
The ActionRow component (you can use an array for this) Extends: discord-components.Component
discord-components.Component
*components
Components the ActionRow will contain.
components
The list of components the ActionRow contains.
to_dict
Gets the component information required for API requests in dict form.
Returns: dict
dict
from_dict
Creates component instance from json. This is a static method.
Parameters:
data (dict) - The json to construct button from.
Returns:
append
Adds a component to the ActionRow.
discord-components.ActionRow