Send a message to a phone number
send_message_to_phoneSend a Telegram message to a phone number by temporarily adding the contact, sending the message, then auto-removing the contact entry. Requires country code.
Instructions
Send a Telegram message to someone identified only by their phone number. The phone is briefly added to contacts (Telegram requires this), the message is sent, then the contact entry is removed by default. Phone must include country code (e.g. +12025550123).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| phone | Yes | ||
| silent | No | ||
| lastName | No | ||
| accountId | No | ||
| firstName | No | Name used for the temporary contact entry | |
| parseMode | No | ||
| keepContact | No | Do not remove the contact afterwards (default false) |