Uses of Class
com.slack.api.model.block.composition.TextObject
Package
Description
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
Provides JSON serialization/deserialization utilities for the classes in this library.
-
Uses of TextObject in com.slack.api.model.block
Modifier and TypeMethodDescriptionvoid
SectionBlock.setText
(TextObject text) SectionBlock.SectionBlockBuilder.text
(TextObject text) Modifier and TypeMethodDescriptionSectionBlock.SectionBlockBuilder.fields
(List<TextObject> fields) void
SectionBlock.setFields
(List<TextObject> fields) ModifierConstructorDescriptionSectionBlock
(TextObject text, String blockId, List<TextObject> fields, BlockElement accessory) ModifierConstructorDescriptionSectionBlock
(TextObject text, String blockId, List<TextObject> fields, BlockElement accessory) -
Uses of TextObject in com.slack.api.model.block.composition
Modifier and TypeClassDescriptionclass
https://api.slack.com/reference/messaging/composition-objects#textclass
https://api.slack.com/reference/messaging/composition-objects#textclass
https://api.slack.com/reference/messaging/composition-objects#textModifier and TypeMethodDescriptionConfirmationDialogObject.getText()
OptionObject.getText()
A text object that defines the text shown in the option on the menu.Modifier and TypeMethodDescriptionstatic List<TextObject>
BlockCompositions.asSectionFields
(TextObject... elements) Modifier and TypeMethodDescriptionstatic List<TextObject>
BlockCompositions.asSectionFields
(TextObject... elements) static OptionObject
BlockCompositions.option
(TextObject text, String value) void
ConfirmationDialogObject.setText
(TextObject text) void
OptionObject.setText
(TextObject text) A text object that defines the text shown in the option on the menu.ConfirmationDialogObject.ConfirmationDialogObjectBuilder.text
(TextObject text) OptionObject.OptionObjectBuilder.text
(TextObject text) A text object that defines the text shown in the option on the menu.ModifierConstructorDescriptionConfirmationDialogObject
(PlainTextObject title, TextObject text, PlainTextObject confirm, PlainTextObject deny, String style) OptionObject
(TextObject text, String value, PlainTextObject description, String url) -
Uses of TextObject in com.slack.api.util.json
Modifier and TypeMethodDescriptionGsonTextObjectFactory.deserialize
(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) Modifier and TypeMethodDescriptioncom.google.gson.JsonElement
GsonTextObjectFactory.serialize
(TextObject src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)