Closed Albert2106 closed 3 years ago
$phone = $message->getContact();
Не получаеться
Вы что получить хотите? getContact возвращает объект Contact.
Contact
https://github.com/TelegramBot/Api/blob/master/src/Types/Contact.php
$phone = $message->getContact()->getPhoneNumber()
Спасибо
$phone = $message->getContact();
Не получаеться