Work with Fields

Use the Field class to work with fields in Slack.

Represents a field.

Field Methods

The following are methods for Field.

getTitle()

Signature

Return Value

Type: String

getValue()

Signature

Return Value

Type: String

isValueShortEnough()

Signature

Return Value

Type: Boolean

setTitle(title)

Signature

Parameters

title

Type: String

Return Value

Type: void

setValue(value)

Signature

Parameters

value

Type: String

Return Value

Type: void

setValueShortEnough(valueShortEnough)

Signature

Parameters

valueShortEnough

Type: Boolean

Return Value

Type: void