public function setMessage(\TelegramBot\Api\Types\Message $message): void
	{
		$this->message = $message;
		$this->chatId = $this->message->getChat()->getId();
		$this->userId = $this->message->getFrom()->getId();
	}
public function setMessage(\TelegramBot\Api\Types\Message $message): void
	{
		$this->message = $message;
		$this->chatId = $this->message->getChat()->getId();
		$this->userId = $this->message->getFrom()->getId();
	}
public function setMessage ( \ TelegramBot \ Api \ Types \ Message $ message ) : void { $ this -> message = $ message ; $ this -> chatId = $ this -> message -> getChat ( ) -> getId ( ) ; $ this -> userId = $ this -> message -> getFrom ( ) -> getId ( ) ; }
Sets the message that last affected the conversation. Done by the framework.
@param \TelegramBot\Api\Types\Message $message
Sets the message that last affected the conversation . Done by the framework .