2017-03-11 19:54:51 +01:00
|
|
|
---
|
|
|
|
title: inputMessageAnimation
|
|
|
|
description: Animation message
|
|
|
|
---
|
|
|
|
## Constructor: inputMessageAnimation
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Animation message
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
2017-08-20 11:05:56 +02:00
|
|
|
|----------|---------------|----------|-------------|
|
2017-03-11 19:54:51 +01:00
|
|
|
|animation|[InputFile](../types/InputFile.md) | Yes|Animation file to send|
|
|
|
|
|thumb|[InputThumb](../types/InputThumb.md) | Yes|Animation thumb, if available|
|
2017-08-25 15:05:53 +02:00
|
|
|
|duration|[int](../types/int.md) | Yes|Duration of the animation in seconds|
|
2017-03-11 19:54:51 +01:00
|
|
|
|width|[int](../types/int.md) | Yes|Width of the animation, may be replaced by the server|
|
|
|
|
|height|[int](../types/int.md) | Yes|Height of the animation, may be replaced by the server|
|
|
|
|
|caption|[string](../types/string.md) | Yes|Animation caption, 0-200 characters|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [InputMessageContent](../types/InputMessageContent.md)
|
|
|
|
|
|
|
|
|