I have the old version of this script that could get the contact's phone number, but the new version does not have this function.
public function getContactPhoneNumber() { if ($this->getUpdateType() == 'contact') return $this->data["message"]["contact"]["phone_number"]; }
I have the old version of this script that could get the contact's phone number, but the new version does not have this function.
public function getContactPhoneNumber() { if ($this->getUpdateType() == 'contact') return $this->data["message"]["contact"]["phone_number"]; }