Commit 4eef4d40 authored by MBoretto's avatar MBoretto

Removing unusful var

parent 2d79bca4
......@@ -299,7 +299,6 @@ class Telegram
default:
case 'text':
// do nothing
break;
case 'command':
......@@ -310,42 +309,30 @@ class Telegram
case 'new_chat_participant':
// trigger new participant
$command = 'new_chat_participant';
return $this->executeCommand(Newchatparticipant, $update);
return $this->executeCommand('Newchatparticipant', $update);
break;
case 'left_chat_participant':
// trigger left chat participant
$command = 'left_chat_participant';
return $this->executeCommand(Leftchatparticipant, $update);
return $this->executeCommand('Leftchatparticipant', $update);
break;
case 'new_chat_title':
// trigger new_chat_title
break;
case 'delete_chat_photo':
// trigger delete_chat_photo
break;
case 'group_chat_created':
// trigger group_chat_created
break;
}
}
......
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