tools.ozone.communication.createTemplate

Administrative action to create a new, re-usable communication (email for now) template.

class atproto_client.models.tools.ozone.communication.create_template.Data

Bases: DataModelBase

Input data model for tools.ozone.communication.createTemplate.

field content_markdown: str [Required]

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

field created_by: Did | None = None

DID of the user who is creating the template.

field lang: Language | None = None

Message language.

field name: str [Required]

Name of the template.

field subject: str [Required]

Subject of the message, used in emails.

class atproto_client.models.tools.ozone.communication.create_template.DataDict

Bases: TypedDict

content_markdown: str

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

name: str

Name of the template.

subject: str

Subject of the message, used in emails.

created_by: NotRequired[Did | None]

DID of the user who is creating the template.

lang: NotRequired[Language | None]

Message language.