Class ImageElement.ImageElementBuilder
java.lang.Object
com.slack.api.model.block.element.ImageElement.ImageElementBuilder
- Enclosing class:
- ImageElement
-
Method Summary
Modifier and TypeMethodDescriptionA plain-text summary of the image.build()imageBytes(Integer imageBytes) imageHeight(Integer imageHeight) The URL of the image to be displayed.imageWidth(Integer imageWidth) slackFile(SlackFileObject slackFile) toString()
-
Method Details
-
imageUrl
The URL of the image to be displayed.- Returns:
this.
-
altText
A plain-text summary of the image. This should not contain any markup.- Returns:
this.
-
fallback
- Returns:
this.
-
imageWidth
- Returns:
this.
-
imageHeight
- Returns:
this.
-
imageBytes
- Returns:
this.
-
slackFile
- Returns:
this.
-
build
-
toString
-