Closed mostafafayyaz closed 4 years ago
$option = array(array($telegram->buildKeyboardButton("Allow receipt of mobile number",true))); $keyb = $telegram->buildInlineKeyBoard($option, $onetime=false); $content = array('chat_id' => $chat_id, 'reply_markup' => $keyb, 'text' => "Press the button below to give permission to remove the phone number"); $telegram->sendMessage($content);
hello how i can get phone_number ? i use this code for request number . when i what to get number, everything is empty
buildKeyBoardButton("text", true)
$phone_number= $telegram->PhoneNumber();