Work with Fields

Use the Field class to work with fields in Slack.

Field Class 

Represents a field.

Field Methods 

The following are methods for Field.

getTitle() 

Signature

1public String getTitle()

Return Value

Type: String

getValue() 

Signature

1public String getValue()

Return Value

Type: String

isValueShortEnough() 

Signature

1public Boolean isValueShortEnough()

Return Value

Type: Boolean

setTitle(title) 

Signature

1public void setTitle(String title)

Parameters

title

Type: String

Return Value

Type: void

setValue(value) 

Signature

1public void setValue(String value)

Parameters

value

Type: String

Return Value

Type: void

setValueShortEnough(valueShortEnough) 

Signature

1public void setValueShortEnough(Boolean valueShortEnough)

Parameters

valueShortEnough

Type: Boolean

Return Value

Type: void

Beta Feature

This feature is not generally available. It is not part of your purchased Services. This feature is subject to change, may be discontinued with no notice at any time in SFDC’s sole discretion, and SFDC may never make this feature generally available. Make your purchase decisions only on the basis of generally available products and features. This feature is made available on an AS IS basis and use of this feature is at your sole risk.