send_paid_media
Send media to a chat with a required payment in Telegram Stars. Define the price and media array, and optionally add a caption with formatting.
Instructions
Send paid media to a chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | Yes | JSON array of InputPaidMedia objects | |
| caption | No | Caption for the media | |
| chat_id | No | Chat ID. Optional — defaults to log group | |
| parse_mode | No | Caption formatting | |
| star_count | Yes | Price in Telegram Stars | |
| protect_content | No | Protect from forwarding | |
| caption_entities | No | JSON array of MessageEntity | |
| reply_parameters | No | JSON ReplyParameters object | |
| message_thread_id | No | Topic/thread ID | |
| disable_notification | No | Send silently | |
| show_caption_above_media | No | Show caption above media |