Package com.slack.api.model.block
Class VideoBlock.VideoBlockBuilder
java.lang.Object
com.slack.api.model.block.VideoBlock.VideoBlockBuilder
- Enclosing class:
- VideoBlock
-
Method Summary
Modifier and TypeMethodDescriptionA tooltip for the video.authorName
(String authorName) Author name to be displayed.build()
description
(PlainTextObject description) Description for video in plain text format.providerIconUrl
(String providerIconUrl) Icon for the video provider - ex.providerName
(String providerName) The originating application or domain of the video ex.thumbnailUrl
(String thumbnailUrl) The thumbnail image URLtitle
(PlainTextObject title) Video title in plain text format.Hyperlink for the title text.toString()
The URL to be embedded.
-
Method Details
-
title
Video title in plain text format. Must be less than 200 characters.- Returns:
this
.
-
titleUrl
Hyperlink for the title text. Must correspond to the non-embeddable URL for the video. Must go to an HTTPS URL.- Returns:
this
.
-
description
Description for video in plain text format.- Returns:
this
.
-
videoUrl
The URL to be embedded. Must match any existing unfurl domains within the app and point to an HTTPS URL. https://api.slack.com/reference/messaging/link-unfurling#configuring_domains- Returns:
this
.
-
altText
A tooltip for the video. Required for accessibility- Returns:
this
.
-
thumbnailUrl
The thumbnail image URL- Returns:
this
.
-
authorName
Author name to be displayed. Must be less than 50 characters.- Returns:
this
.
-
providerName
The originating application or domain of the video ex. YouTube- Returns:
this
.
-
providerIconUrl
Icon for the video provider - ex. YouTube icon- Returns:
this
.
-
blockId
- Returns:
this
.
-
build
-
toString
-