send_paid_media
Send media that viewers must pay Stars to access, enabling paid content distribution via Telegram.
Instructions
Send paid media that requires Stars payment to view.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat_id": "<chat_id>",
"star_count": "<star_count>"
},
"name": "send_paid_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | No | ||
| caption | No | Caption (0-1024 chars) | |
| chat_id | Yes | Chat ID or @username | |
| payload | No | ||
| effect_id | No | ||
| parse_mode | No | Formatting mode | |
| star_count | Yes | ||
| 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 | ||
| show_caption_above_media | No |