PlainTextOnlyTextObject
init
Creates a PlainTextOnlyTextObject
instance.
Name
Type
Required
Default
Description
text
string
true
The text to display.
maxLength
numeric
false
3000
The maximum length for the text object. Text over the maximum length will be truncated at the maximum length with ...
added at the end.
minLength
numeric
false
1
The minimum length for the text object.
Return: The PlainTextOnlyTextObject
instance.
emoji
Sets the PlainTextOnlyTextObject
to interpret emoji in the text field.
Name
Type
Required
Default
Description
No arguments
Return: The PlainTextOnlyTextObject
instance.
getMemento
Converts the PlainTextOnlyTextObject
instance to a serializable format.
Name
Type
Required
Default
Description
No arguments
Return: (struct
) A struct representing this PlainTextOnlyTextObject
instance.
Last updated