Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Longman
TelegramBot
Request
sendContact
Longman\TelegramBot\Request::sendContact PHP Méthode
Request Class Documentation
Afficher le fichier
Open project: akalongman/php-telegram-bot
sendContact()
public
static
méthode
Use this method to send phone contacts. On success, the sent Message is returned.
See link:
https://core.telegram.org/bots/api#sendcontact
public
static
sendContact
(
array
$data
) :
ServerResponse
$data
array
Résultat
Longman\TelegramBot\Entities\ServerResponse
public static function sendContact(array $data) { return self::send('sendContact', $data); }
Request
answerCallbackQuery
answerInlineQuery
assignEncodedFile
downloadFile
editMessageCaption
editMessageReplyMarkup
editMessageText
emptyResponse
encodeFile
ensureNonEmptyData
ensureValidAction
execute
forwardMessage
generateGeneralFakeServerResponse
getChat
getChatAdministrators
getChatMember
getChatMembersCount
getFile
getInput
getMe
getUpdates
getUserProfilePhotos
getWebhookInfo
initialize
kickChatMember
leaveChat
send
sendAudio
sendChatAction
sendContact
sendDocument
sendLocation
sendMessage
sendPhoto
sendSticker
sendToActiveChats
sendVenue
sendVideo
sendVoice
setUpRequestParams
setWebhook
unbanChatMember