Kogno
  • Introduction
  • Getting Started
    • Configuration
    • Starting the Server
    • Messenger Configuration
    • Telegram Configuration
    • WhatsApp Configuration
    • NLP Configuration
  • Conversation Class
  • Contexts
    • Blocks
      • before_anything
      • postback
      • deep_link
      • command
      • any_attachment
      • regular_expression
      • keyword
      • any_number
      • any_text
      • intent
      • entity
      • membership
      • recurring_notification
      • everything_else
      • after_all
    • Sub Contexts
    • Routing
    • Sequences
    • Conversational Forms
  • Replies / Notifications
    • text
    • button
    • quick_reply
    • raw
    • list
    • carousel
    • url
    • typing
    • image
    • video
    • html
    • markdown
    • contact
    • location
    • recurring_notification_request
    • messenger_generic_template
    • whatsapp_template
  • Templates
  • Models
    • User model
  • Scheduled Messages
  • Telegram Inline Query
  • Command Line
  • Global Methods
  • Internationalization
Powered by GitBook
On this page
  1. Replies / Notifications

video

Creates a message with a video provided via a url.

PreviousimageNexthtml

Last updated 3 years ago

Was this helpful?

CtrlK
  • video(params=Hash)
  • Platforms
  • Usage
  • Params

Was this helpful?

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.