PlainTextOnlyTextObject

init

Creates a PlainTextOnlyTextObject instance.

Return: The PlainTextOnlyTextObject instance.

emoji

Sets the PlainTextOnlyTextObject to interpret emoji in the text field.

Return: The PlainTextOnlyTextObject instance.

getMemento

Converts the PlainTextOnlyTextObject instance to a serializable format.

Return: (struct) A struct representing this PlainTextOnlyTextObject instance.

{
    "type": "plain_text",
    "text": "Some text here :tada:",
    "emoji": true
}

Last updated