getCommandConfig() public method

Get command config
public getCommandConfig ( string $command ) : array
$command string
return array
 public function __construct(Telegram $telegram)
 {
     $this->telegram = $telegram;
     $this->config = $telegram->getCommandConfig($this->name);
 }
 /**
  * Constructor
  *
  * @param \Longman\TelegramBot\Telegram        $telegram
  * @param \Longman\TelegramBot\Entities\Update $update
  */
 public function __construct(Telegram $telegram, Update $update = null)
 {
     $this->telegram = $telegram;
     $this->setUpdate($update);
     $this->config = $telegram->getCommandConfig($this->name);
 }