2017-03-11 19:54:51 +01:00
|
|
|
---
|
|
|
|
title: inputMessageVideo
|
|
|
|
description: Video message
|
|
|
|
---
|
|
|
|
## Constructor: inputMessageVideo
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Video message
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
2017-08-20 11:05:56 +02:00
|
|
|
|----------|---------------|----------|-------------|
|
2017-03-11 19:54:51 +01:00
|
|
|
|video|[InputFile](../types/InputFile.md) | Yes|Video to send|
|
|
|
|
|thumb|[InputThumb](../types/InputThumb.md) | Yes|Video thumb, if available|
|
|
|
|
|added\_sticker\_file\_ids|Array of [int](../constructors/int.md) | Yes|File identifiers of stickers added onto the video|
|
2017-08-25 15:05:53 +02:00
|
|
|
|duration|[int](../types/int.md) | Yes|Duration of the video in seconds|
|
2017-03-11 19:54:51 +01:00
|
|
|
|width|[int](../types/int.md) | Yes|Video width|
|
|
|
|
|height|[int](../types/int.md) | Yes|Video height|
|
|
|
|
|caption|[string](../types/string.md) | Yes|Video caption, 0-200 characters|
|
2017-08-25 15:05:53 +02:00
|
|
|
|ttl|[int](../types/int.md) | Yes|Video TTL in seconds, 0-60. Non-zero TTL can be only specified in private chats|
|
2017-03-11 19:54:51 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [InputMessageContent](../types/InputMessageContent.md)
|
|
|
|
|
|
|
|
|