original_string: public function previewTemplate( $templateId, $personalisation){
          $path = sprintf( self::PATH_TEMPLATE_PREVIEW, $templateId );
          $payload = [
            'personalisation'=>$personalisation
          ];
          return $this->httpPost( $path, $payload );
      }
code: public function previewTemplate( $templateId, $personalisation){
          $path = sprintf( self::PATH_TEMPLATE_PREVIEW, $templateId );
          $payload = [
            'personalisation'=>$personalisation
          ];
          return $this->httpPost( $path, $payload );
      }
code_tokens: public function previewTemplate ( $ templateId , $ personalisation ) { $ path = sprintf ( self :: PATH_TEMPLATE_PREVIEW , $ templateId ) ; $ payload = [ 'personalisation' => $ personalisation ] ; return $ this -> httpPost ( $ path , $ payload ) ; }
docstring: Get a preview of a template
  
  @return array
docstring_tokens: Get a preview of a template