tools.ozone.communication.updateTemplate

Administrative action to update an existing communication template. Allows passing partial fields to patch specific fields only.

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

Bases: DataModelBase

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

field content_markdown: str | None = None
field disabled: bool | None = None

Disabled.

field id: str [Required]

ID of the template to be updated.

field lang: Language | None = None

Message language.

field name: str | None = None

Name of the template.

field subject: str | None = None

Subject of the message, used in emails.

field updated_by: Did | None = None

DID of the user who is updating the template.

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

Bases: TypedDict

id: str

ID of the template to be updated.

content_markdown: NotRequired[str | None]

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

disabled: NotRequired[bool | None]

Disabled.

lang: NotRequired[Language | None]

Message language.

name: NotRequired[str | None]

Name of the template.

subject: NotRequired[str | None]

Subject of the message, used in emails.

updated_by: NotRequired[Did | None]

DID of the user who is updating the template.