Longman\TelegramBot\Conversation::clear PHP Method

clear() protected method

Clear all conversation variables.
protected clear ( ) : boolean
return boolean Always return true, to allow this method in an if statement.
    protected function clear()
    {
        $this->conversation = null;
        $this->protected_notes = null;
        $this->notes = null;
        return true;
    }