send_invoice
Sends a payment invoice to a Telegram chat, specifying title, description, payload, and currency.
Instructions
Send an invoice for payment.
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>",
"title": "<title>",
"description": "<description>",
"payload": "<payload>",
"currency": "<currency>"
},
"name": "send_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| prices | No | ||
| chat_id | Yes | Chat ID or @username | |
| payload | Yes | ||
| currency | Yes | ||
| effect_id | No | ||
| need_name | No | ||
| photo_url | No | ||
| need_email | No | ||
| photo_size | No | ||
| description | Yes | ||
| is_flexible | No | ||
| photo_width | No | ||
| photo_height | No | ||
| reply_markup | No | InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, or ForceReply | |
| max_tip_amount | No | ||
| provider_token | No | ||
| protect_content | No | ||
| start_parameter | No | ||
| reply_parameters | No | ReplyParameters object | |
| message_thread_id | No | ||
| need_phone_number | No | ||
| allow_paid_broadcast | No | ||
| disable_notification | No | ||
| need_shipping_address | No | ||
| suggested_tip_amounts | No | ||
| business_connection_id | No | ||
| send_email_to_provider | No | ||
| send_phone_number_to_provider | No |