Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Message → Send Contact

AI-generated

Summary

Send a contact to a specified Telegram chat by providing the chat ID, contact's phone number, and first name, with optional additional contact details and reply markup.

Inputs

  • Chat ID (required) — Unique identifier for the target chat or username (@channelusername) where the contact will be sent.
  • Phone Number (required) — The phone number of the contact to send.
  • First Name (required) — The first name of the contact to send.
  • Additional Fields — Optional fields to include last name, vCard data, disable notification, and reply-to message ID to customize the sent contact message.
  • Reply Markup (JSON) — Optional inline keyboard, reply keyboard, or other reply markup as JSON to attach to the message.

Output shape

a single message object representing the sent contact returned by Telegram API

Returns the API response object for the sent message. Fields may vary depending on Telegram's API. If the API call fails, an error will be thrown unless 'Continue On Fail' is enabled, in which case error details appear in the output.

Examples

Example 1: Send a contact with basic required details

Set Chat ID, Phone Number, and First Name parameters with required values and optionally add reply markup JSON or additional fields such as last name.

Links

Discussion