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

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

Link copied to clipboard
Link copied to clipboard
val id: String

ID of the template to be updated.

Link copied to clipboard

Message language.

Link copied to clipboard
val name: String?

Name of the template.

Link copied to clipboard

Subject of the message, used in emails.

Link copied to clipboard

DID of the user who is updating the template.