Class RichTextInputElement
java.lang.Object
com.slack.api.model.block.element.BlockElement
com.slack.api.model.block.element.RichTextInputElement
https://api.slack.com/reference/block-kit/block-elements#rich_text_input
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRichTextInputElement(String actionId, RichTextBlock initialValue, DispatchActionConfig dispatchActionConfig, Boolean focusOnLoad, PlainTextObject placeholder) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanAn identifier for the input value when the parent modal is submitted.A dispatch configuration object that determines when during text input the element returns a block_actions payload.Indicates whether the element will be set to autofocus within the view object.The initial value in the rich text input when it is loaded.A plain_text only text object that defines the placeholder text shown in the plain-text input.getType()inthashCode()voidsetActionId(String actionId) An identifier for the input value when the parent modal is submitted.voidsetDispatchActionConfig(DispatchActionConfig dispatchActionConfig) A dispatch configuration object that determines when during text input the element returns a block_actions payload.voidsetFocusOnLoad(Boolean focusOnLoad) Indicates whether the element will be set to autofocus within the view object.voidsetInitialValue(RichTextBlock initialValue) The initial value in the rich text input when it is loaded.voidsetPlaceholder(PlainTextObject placeholder) A plain_text only text object that defines the placeholder text shown in the plain-text input.toString()
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
RichTextInputElement
public RichTextInputElement() -
RichTextInputElement
public RichTextInputElement(String actionId, RichTextBlock initialValue, DispatchActionConfig dispatchActionConfig, Boolean focusOnLoad, PlainTextObject placeholder)
-
-
Method Details
-
builder
-
getType
-
getActionId
An identifier for the input value when the parent modal is submitted. You can use this when you receive a view_submission payload to identify the value of the input element. Should be unique among all other action_ids used elsewhere by your app. Maximum length for this field is 255 characters. -
getInitialValue
The initial value in the rich text input when it is loaded. -
getDispatchActionConfig
A dispatch configuration object that determines when during text input the element returns a block_actions payload. -
getFocusOnLoad
Indicates whether the element will be set to autofocus within the view object. Only one element can be set to true. Defaults to false. -
getPlaceholder
A plain_text only text object that defines the placeholder text shown in the plain-text input. Maximum length for the text in this field is 150 characters. -
setActionId
An identifier for the input value when the parent modal is submitted. You can use this when you receive a view_submission payload to identify the value of the input element. Should be unique among all other action_ids used elsewhere by your app. Maximum length for this field is 255 characters. -
setInitialValue
The initial value in the rich text input when it is loaded. -
setDispatchActionConfig
A dispatch configuration object that determines when during text input the element returns a block_actions payload. -
setFocusOnLoad
Indicates whether the element will be set to autofocus within the view object. Only one element can be set to true. Defaults to false. -
setPlaceholder
A plain_text only text object that defines the placeholder text shown in the plain-text input. Maximum length for the text in this field is 150 characters. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-