This site is no longer updated.Go to new Conversational Cloud docs

video


To send a video to a chat, use the video reply type.

You can also use the equivalent video DSL tag or the $reactions.video method.

If a channel supports video preview, a user will be able to watch the video in the channel’s chat without following a link. Otherwise only the link to the video will be displayed in the chat.

Properties

Property Type Required Description
videoUrl String Yes Video URL.
videoName String No Video name.

Syntax

{
  "type": "video",
  "videoUrl": "https://example.com/video.mp4",
  "videoName": "Video example"
}

Channel restrictions

video is not supported in voice assistants and in the phone channel.

How to use

state: HowTo
    a: Watch our tutorial and learn how to create your first chatbot and publish it into a channel.
    script:
        $response.replies = $response.replies || [];
        $response.replies.push({
            "type": "video",
            "videoUrl": "https://youtube.com/watch?v=QWERty123"
        });