Components
.row()
.row()
has the same feature as Action Rows.
Button
unique-id
is used to identify app.component()
.
Also, do not use ;
for unique-id
.
The third argument specifies the style of the button. The default is Primary
.
Method
Please refer to the Official Docs.
There are some notes that differ from the official one.
.custom_id()
are limited to a total of 99 characters with unique-id
.
LinkButton
The link button should contain a URL instead of a unique-id. Also, style cannot be specified.
Method is basically the same as for a Button.
Select elements
See here for Component Types.
Select
is String Select.
unique-id
is used to identify app.component()
.
Also, do not use ;
for unique-id
.
Method
Please refer to the Official Docs.
Depending on the type of option, some fields (methods) cannot be used.
There are some notes that differ from the official one.
.custom_id()
are limited to a total of 99 characters with unique-id
.