@slack/web-api / VideoBlock
Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:241
Displays an embedded video player. A video block is designed to embed videos in all app surfaces (e.g. link unfurls, messages, modals, App Home) — anywhere you can put blocks! To use the video block within your app, you must have the `links.embed:write` scope.
alt_text: string;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:259
A tooltip for the video. Required for accessibility.
optional author_name: string;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:272
Author name to be displayed. Must be less than 50 characters.
optional block_id: string;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:15
A string acting as a unique identifier for a block. If not specified, a block_id will be generated.
You can use this block_id when you receive an interaction payload to
identify the source of the action.
Maximum length for this field is 255 characters. block_id should be unique for each message and each iteration of
a message. If a message is updated, use a new block_id.
optional description: PlainTextElement;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:284
Description for video using a PlainTextElement object.
optional provider_icon_url: string;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:280
Icon for the video provider, e.g. YouTube icon.
optional provider_name: string;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:276
The originating application or domain of the video, e.g. YouTube.
thumbnail_url: string;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:255
The thumbnail image URL.
title: PlainTextElement;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:263
Video title as a PlainTextElement object. text within must be less than 200 characters.
optional title_url: string;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:268
Hyperlink for the title text. Must correspond to the non-embeddable URL for the video. Must go to an HTTPS URL.
type: "video";Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:245
The type of block. For a video block, type is always video.
video_url: string;Defined in: node_modules/@slack/types/dist/block-kit/blocks.d.ts:251
The URL to be embedded. Must match any existing unfurl domains within the app and point to a HTTPS URL.