CreateTemplateRequest

data class CreateTemplateRequest(val name: String, val contentMarkdown: String, val subject: String, val lang: Language? = null, val createdBy: Did? = null)

Parameters

name

Name of the template.

contentMarkdown

Content of the template, markdown supported, can contain variable placeholders.

subject

Subject of the message, used in emails.

lang

Message language.

createdBy

DID of the user who is creating the template.

Constructors

Link copied to clipboard
constructor(name: String, contentMarkdown: String, subject: String, lang: Language? = null, createdBy: Did? = null)

Properties

Link copied to clipboard

Content of the template, markdown supported, can contain variable placeholders.

Link copied to clipboard
val createdBy: Did? = null

DID of the user who is creating the template.

Link copied to clipboard
val lang: Language? = null

Message language.

Link copied to clipboard

Name of the template.

Link copied to clipboard

Subject of the message, used in emails.