CommunicationCreateTemplateInput constructor

  1. @JsonSerializable(includeIfNull: false)
const CommunicationCreateTemplateInput({
  1. required String name,
  2. required String contentMarkdown,
  3. required String subject,
  4. String? lang,
  5. String? createdBy,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory CommunicationCreateTemplateInput({
  /// Name of the template.
  required String name,

  /// Content of the template, markdown supported, can contain variable placeholders.
  required String contentMarkdown,

  /// Subject of the message, used in emails.
  required String subject,

  /// Message language.
  String? lang,

  /// DID of the user who is creating the template.
  String? createdBy,

  Map<String, dynamic>? $unknown,
}) = _CommunicationCreateTemplateInput;