2018-04-01 13:19:25 +02:00
|
|
|
---
|
|
|
|
title: inputMessageAnimation
|
|
|
|
description: Animation message
|
2018-04-04 19:52:48 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
2018-04-01 13:19:25 +02:00
|
|
|
---
|
2018-04-05 01:19:57 +02:00
|
|
|
# Constructor: inputMessageAnimation
|
2018-04-01 13:19:25 +02:00
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Animation message
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|animation|[InputFile](../types/InputFile.md) | Yes|Animation file to send|
|
|
|
|
|thumb|[inputThumb](../constructors/inputThumb.md) | Yes|Animation thumb, if available|
|
|
|
|
|duration|[int](../types/int.md) | Yes|Duration of the animation in seconds|
|
|
|
|
|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)
|
|
|
|
|
|
|
|
|