# UpdateAnnouncementTemplateDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

DTO for updating an announcement template.

## Fields
- `name` (string) required: Template name shown in the picker when selecting a template. (nullable, min length 0, max length 256)
- `title` (string) required: Default announcement title. (nullable, min length 3, max length 256)
- `body` (string) required: Default announcement body content. (nullable, min length 10, max length 8192)
- `priority` ([AnnouncementPriority](https://devportal.demo.winkpg.io/docs/api/models/AnnouncementPriority.md)): Default priority level.
  Values:
  - `Normal`: Normal priority. Standard styling in the notification dropdown.
  - `Important`: Important priority. Highlighted styling (e.g., orange badge).
  - `Critical`: Critical priority. Emphasized styling (e.g., red badge). When combined with PopupOnLogin display option, shows as a blocking modal.
- `displayOptions` ([AnnouncementDisplayOptions](https://devportal.demo.winkpg.io/docs/api/models/AnnouncementDisplayOptions.md)): Default display options.
  Values:
  - `DropdownOnly`: Announcement appears only in the notification dropdown in the header toolbar.
  - `PopupOnLogin`: Announcement appears as a popup modal on user login/page load. The popup is shown once and tracked via UserAnnouncementState.PopupShownAt.
  - `Both`: Announcement appears in both the dropdown and as a popup on login.
- `externalLinkUrl` (string): Optional default external link URL. Conditional: When ExternalLinkUrl is not empty. Conditional: When ExternalLinkUrl is not null. Max length: 2048. (nullable, min length 0, max length 2048)
- `externalLinkText` (string): Optional default external link display text. Conditional: When ExternalLinkText is not null. Max length: 256. Conditional: When ExternalLinkUrl is not empty. (nullable, min length 0, max length 256)
- `concurrencyStamp` (string) required: (nullable)

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
