| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 23 | class GenericmessageCommand extends SystemCommand |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $name = Telegram::GENERIC_MESSAGE_COMMAND; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | protected $description = 'Handle generic message'; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | protected $version = '1.2.1'; // Updated version |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var bool |
||
| 42 | */ |
||
| 43 | protected $need_mysql = false; // MySQL is no longer used |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Execute command |
||
| 47 | * |
||
| 48 | * @return ServerResponse |
||
| 49 | * @throws TelegramException |
||
| 50 | */ |
||
| 51 | public function execute(): ServerResponse |
||
| 62 |