public function getCommandConfig($command) { return isset($this->commands_config[$command]) ? $this->commands_config[$command] : []; }
public function __construct(Telegram $telegram) { $this->telegram = $telegram; $this->config = $telegram->getCommandConfig($this->name); }