# video

### <mark style="color:orange;">`video(params=Hash)`</mark>

### **Platforms**

<table><thead><tr><th width="362.78343949044586">Platform</th><th data-type="checkbox">Supported</th></tr></thead><tbody><tr><td>Messenger</td><td>true</td></tr><tr><td>WhatsApp</td><td>true</td></tr><tr><td>Telegram</td><td>true</td></tr></tbody></table>

### Usage

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

### Params

<table><thead><tr><th width="190">Name</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:orange;"><code>url</code></mark><br>String</td><td><p><strong>Required.</strong></p><p>Video url</p></td></tr><tr><td><mark style="color:orange;"><code>caption</code></mark><br>String</td><td><strong>Optional:</strong> Telegram and WhatsApp<br>Short information about the video.<br>Not available in Messenger.</td></tr><tr><td><mark style="color:orange;"><code>buttons</code></mark><br>Array</td><td><strong>Optional.</strong><br><em>Array de botones, dependiendo de la</em> Array of buttons, depending on the platform they can be of different types, by default they are payload.</td></tr></tbody></table>
