send_animation
Send an animated GIF or MP4 video to a Telegram chat using a file ID, URL, or local path. Supports captions, formatting, and reply options.
Instructions
Send an animation (GIF or H.264/MPEG-4 AVC video without sound).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| caption | No | Caption (0-1024 chars) | |
| chat_id | Yes | Chat ID or @username | |
| duration | No | ||
| animation | Yes | File ID, HTTP URL, or absolute file path | |
| effect_id | No | ||
| thumbnail | No | File ID, HTTP URL, or absolute file path | |
| parse_mode | No | Formatting mode | |
| has_spoiler | No | ||
| reply_markup | No | InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, or ForceReply | |
| protect_content | No | ||
| caption_entities | No | Array of MessageEntity objects | |
| reply_parameters | No | ReplyParameters object | |
| message_thread_id | No | ||
| allow_paid_broadcast | No | ||
| disable_notification | No | ||
| business_connection_id | No |