Remove obsolete deprecated methods.

parent c9c7755e
......@@ -241,17 +241,4 @@ abstract class Entity
return ($is_username ? '@' : '') . $name;
}
/**
* Get Bot name
*
* @todo: Left for backwards compatibility, remove in the future
*
* @return string
*/
public function getBotName()
{
TelegramLog::debug('Usage of deprecated method getBotName() detected, please use getBotUsername() instead!');
return $this->getBotUsername();
}
}
......@@ -752,19 +752,6 @@ class Telegram
return $this->bot_username;
}
/**
* Get Bot name
*
* @todo: Left for backwards compatibility, remove in the future
*
* @return string
*/
public function getBotName()
{
TelegramLog::debug('Usage of deprecated method getBotName() detected, please use getBotUsername() instead!');
return $this->getBotUsername();
}
/**
* Get Bot Id
*
......@@ -811,19 +798,6 @@ class Telegram
return $result;
}
/**
* Deprecated alias for deleteWebhook
*
* This is kept for backwards compatibility!
*
* @return mixed
* @throws \Longman\TelegramBot\Exception\TelegramException
*/
public function unsetWebhook()
{
return $this->deleteWebhook();
}
/**
* Delete any assigned webhook
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment