Skip to content

sendContact

Sahri Riza Umami edited this page Sep 15, 2017 · 4 revisions

User contact message.

sendContact(chat_id, reply_to_message_id, phone_number, first_name, last_name, user_id, disable_notification, from_background, reply_markup)
Field Type Description
phone_number string User's phone number
first_name string User first name, 1-255 characters
last_name string User last name
user_id int32 User identifier if known, 0 otherwise
chat_id int53 Chat to send message
reply_to_message_id int53 Identifier of a message to reply to or 0
disable_notification Bool Pass true, to disable notification about the message, doesn't works in secret chats
from_background Bool Pass true, if the message is sent from background
reply_markup ReplyMarkup Bots only. Markup for replying to message

Example

Response:

Frequently Asked Questions
The Functions

Clone this wiki locally