protected function setGenericMessageHandler(GenericMessageHandler $handler): void
	{
		$handler->setBot($this);
		$this->genericMessageHandler = $handler;
	}
protected function setGenericMessageHandler(GenericMessageHandler $handler): void
	{
		$handler->setBot($this);
		$this->genericMessageHandler = $handler;
	}
protected function setGenericMessageHandler ( GenericMessageHandler $ handler ) : void { $ handler -> setBot ( $ this ) ; $ this -> genericMessageHandler = $ handler ; }
Set the handler to handle plaintext messages.
@param PlaintextHandler $handler Plaintext handler.
Set the handler to handle plaintext messages .