video

Creates a message with a video provided via a url.

video(params=Hash)

Platforms

Platform
Supported

Messenger

WhatsApp

Telegram

Usage

@reply.video({
  url: "https://kogno.io/video.mp4",
  caption: "Kogno Framework",
  buttons: [
    {
      payload: :contact_us,
      title: "Contact US!"
    },
    {
      payload: :twitter,
      title: "Follow US!"
    }
  ]
})

Params

Name
Description

url String

Required.

Video url

caption String

Optional: Telegram and WhatsApp Short information about the video. Not available in Messenger.

buttons Array

Optional. Array de botones, dependiendo de la Array of buttons, depending on the platform they can be of different types, by default they are payload.

Last updated