ConfirmObject
Last updated
Last updated
Creates a ConfirmObject
instance.
Name | Type | Required | Default | Description |
---|---|---|---|---|
Return: The ConfirmObject
instance.
Sets the title for the ConfirmObject
instance.
Name | Type | Required | Default | Description |
---|---|---|---|---|
Return: The ConfirmObject
instance.
Sets the text for the ConfirmObject
instance.
Name | Type | Required | Default | Description |
---|---|---|---|---|
Return: The ConfirmObject
instance.
Sets the confirm button label for the ConfirmObject
instance.
Return: The ConfirmObject
instance.
Sets the deny button label for the ConfirmObject
instance.
Return: The ConfirmObject
instance.
Marks the ConfirmObject
as dangerous.
Return: The ConfirmObject
instance.
Converts the ConfirmObject
instance to a serializable format.
Return: (struct
) A struct representing this ConfirmObject
instance.
Name | Type | Required | Default | Description |
---|---|---|---|---|
Name | Type | Required | Default | Description |
---|---|---|---|---|
Name | Type | Required | Default | Description |
---|---|---|---|---|
Name | Type | Required | Default | Description |
---|---|---|---|---|
text
string
true
The text for the confirm object.
title
string
true
The title for the ConfirmObject
. Maximum character limit of 100.
text
string
true
The text for the ConfirmObject
. Maximum character limit of 300.
label
string
true
The confirm button label for the ConfirmObject
. Maximum character limit of 30.
label
string
true
The deny button label for the ConfirmObject
. Maximum character limit of 30.
No arguments
No arguments