UpdateTemplateRequest

data class UpdateTemplateRequest(val id: String, val name: String? = null, val lang: Language? = null, val contentMarkdown: String? = null, val subject: String? = null, val updatedBy: Did? = null, val disabled: Boolean? = null)

Parameters

id

ID of the template to be updated.

name

Name of the template.

lang

Message language.

contentMarkdown

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

subject

Subject of the message, used in emails.

updatedBy

DID of the user who is updating the template.

Constructors

Link copied to clipboard
constructor(id: String, name: String? = null, lang: Language? = null, contentMarkdown: String? = null, subject: String? = null, updatedBy: Did? = null, disabled: Boolean? = null)

Properties

Link copied to clipboard
val contentMarkdown: String? = null

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

Link copied to clipboard
val disabled: Boolean? = null
Link copied to clipboard
val id: String

ID of the template to be updated.

Link copied to clipboard
val lang: Language? = null

Message language.

Link copied to clipboard
val name: String? = null

Name of the template.

Link copied to clipboard
val subject: String? = null

Subject of the message, used in emails.

Link copied to clipboard
val updatedBy: Did? = null

DID of the user who is updating the template.