lib/API/TemplatesApi.php
/**
     * Operation renderTemplateAsync
     *
     * Render Template
     *
     * @param  string $template_id (required)
     * @param  string $context This is the context your email template will be rendered with. Email templates are rendered with contexts in a similar manner to how Django templates are rendered. This means that nested template variables can be referenced via dot notation and template variables without corresponding context values are treated as falsy and output nothing. (optional, default to '{ "name" : "George Washington", "state" : "VA" }')
     *
     * @throws \InvalidArgumentException
     * @return \GuzzleHttp\Promise\PromiseInterface
     */
Operation renderTemplateAsync
Render Template

@param  string $template_id (required)
@param  string $context This is the context your email template will be rendered with. Email templates are rendered with contexts in a similar manner to how Django templates are rendered. This means that nested template variables can be referenced via dot notation and template variables without corresponding context values are treated as falsy and output nothing.


Operation renderTemplateAsync Render Template @param string $template_id ( required ) @param string $context This is the context your email template will be rendered with . Email templates are rendered with contexts in a similar manner to how Django templates are rendered . This means that nested template variables can be referenced via dot notation and template variables without corresponding context values are treated as falsy and output nothing .
public function renderTemplateAsync($template_id, $context = '{ "name" : "George Washington", "state" : "VA" }')
    {
        return $this->renderTemplateAsyncWithHttpInfo($template_id, $context)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
public function renderTemplateAsync ( $ template_id , $ context = '{ "name" : "George Washington", "state" : "VA" }' ) { return $ this -> renderTemplateAsyncWithHttpInfo ( $ template_id , $ context ) -> then ( function ( $ response ) { return $ response [ 0 ] ; } ) ; }
Operation renderTemplateAsync
 Render Template
Operation renderTemplateAsync Render Template