send_structured
Send polls, dice, locations, contacts, or venues to a Telegram chat by specifying destination and payload kind, creating structured messages without manual formatting.
Instructions
Send a poll, dice, location, contact, or venue message to a destination chat.
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": {
"to": "<to>",
"kind": "<kind>"
},
"name": "send_structured"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination peer reference (canonical ID, `@username`, or `"me"`). | |
| kind | Yes | Structured payload kind (`poll`, `dice`, `location`, `contact`, or `venue`). | |
| quiz | No | Enable quiz mode (default `false`). | |
| title | No | Venue title (for `venue`). | |
| address | No | Venue street address (for `venue`). | |
| options | No | Poll answer options (2..=10 options, for `poll`). | |
| emoticon | No | Dice emoticon such as `🎲` or `🎯` (for `dice`). | |
| latitude | No | Latitude in degrees (`-90.0..=90.0`, for `location` and `venue`). | |
| provider | No | Optional venue provider name (for `venue`). | |
| question | No | Poll question (for `poll`). | |
| venue_id | No | Optional provider venue ID (for `venue`). | |
| last_name | No | Contact optional last name (for `contact`). | |
| longitude | No | Longitude in degrees (`-180.0..=180.0`, for `location` and `venue`). | |
| first_name | No | Contact first name (for `contact`). | |
| phone_number | No | Contact phone number (for `contact`). | |
| public_voters | No | Show public voter identities (default `false`). | |
| multiple_choice | No | Allow selecting multiple poll options (default `false`). | |
| correct_option_index | No | Zero-based index of the correct answer option when `quiz` is `true`. |