Skip to content

sendContact

Sahri Riza Umami edited this page Dec 17, 2016 · 2 revisions

Send user contact message.

sendContact(chat_id, reply_to_message_id, disable_notification, from_background, reply_markup, phone_number, first_name, last_name, user_id)
Option Description
chat_id Chat to send message.
reply_to_message_id Identifier of a message to reply to or 0.
disable_notification Pass true, to disable notification about the message.
from_background Pass true, if the message is sent from background.
reply_markup Bots only. Markup for replying to message.
contact Contact to send.
phone_number User's phone number.
first_name User first name, 1-255 characters.
last_name User last name.
user_id User identifier if known, 0 otherwise.

Example

sendContact(1234567890, 0, 0, 1, nil, 621234567890, 'Si', 'Anu', 133780085)

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally