trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
@@ -14,6 +14,8 @@ use Longman\TelegramBot\Commands\SystemCommand;
/**
* Edited message command
*
* @todo Remove due to deprecation!
*/
classEditedmessageCommandextendsSystemCommand
{
...
...
@@ -43,6 +45,8 @@ class EditedmessageCommand extends SystemCommand
//$update = $this->getUpdate();
//$edited_message = $update->getEditedMessage();
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
@@ -14,6 +14,8 @@ use Longman\TelegramBot\Commands\SystemCommand;
/**
* Left chat member command
*
* @todo Remove due to deprecation!
*/
classLeftchatmemberCommandextendsSystemCommand
{
...
...
@@ -43,6 +45,8 @@ class LeftchatmemberCommand extends SystemCommand
//$message = $this->getMessage();
//$member = $message->getLeftChatMember();
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
@@ -14,6 +14,8 @@ use Longman\TelegramBot\Commands\SystemCommand;
/**
* New chat members command
*
* @todo Remove due to deprecation!
*/
classNewchatmembersCommandextendsSystemCommand
{
...
...
@@ -43,6 +45,8 @@ class NewchatmembersCommand extends SystemCommand
//$message = $this->getMessage();
//$members = $message->getNewChatMembers();
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
@@ -14,6 +14,8 @@ use Longman\TelegramBot\Commands\SystemCommand;
/**
* New chat photo command
*
* @todo Remove due to deprecation!
*/
classNewchatphotoCommandextendsSystemCommand
{
...
...
@@ -43,6 +45,8 @@ class NewchatphotoCommand extends SystemCommand
//$message = $this->getMessage();
//$new_chat_photo = $message->getNewChatPhoto();
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
@@ -14,6 +14,8 @@ use Longman\TelegramBot\Commands\SystemCommand;
/**
* New chat title command
*
* @todo Remove due to deprecation!
*/
classNewchattitleCommandextendsSystemCommand
{
...
...
@@ -43,6 +45,8 @@ class NewchattitleCommand extends SystemCommand
//$message = $this->getMessage();
//$new_chat_title = $message->getNewChatTitle();
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
@@ -14,6 +14,8 @@ use Longman\TelegramBot\Commands\SystemCommand;
/**
* Pinned message command
*
* @todo Remove due to deprecation!
*/
classPinnedmessageCommandextendsSystemCommand
{
...
...
@@ -43,6 +45,8 @@ class PinnedmessageCommand extends SystemCommand
//$message = $this->getMessage();
//$pinned_message = $message->getPinnedMessage();
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
@@ -15,6 +15,8 @@ use Longman\TelegramBot\Request;
/**
* Start command
*
* @todo Remove due to deprecation!
*/
classStartCommandextendsSystemCommand
{
...
...
@@ -50,6 +52,8 @@ class StartCommand extends SystemCommand
//$chat_id = $message->getChat()->getId();
//$user_id = $message->getFrom()->getId();
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);
trigger_error(__CLASS__.' is deprecated and will be removed and handled by '.GenericmessageCommand::class.' by default in a future release.',E_USER_DEPRECATED);