Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/resources/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,12 +474,6 @@ export interface ElementalQuoteNodeWithType extends ElementalQuoteNode {
* Represents a body of text to be rendered inside of the notification.
*/
export interface ElementalTextNode extends ElementalBaseNode {
/**
* The text content displayed in the notification. Either this field must be
* specified, or the elements field
*/
content: string;

/**
* Text alignment.
*/
Expand All @@ -495,6 +489,12 @@ export interface ElementalTextNode extends ElementalBaseNode {
*/
color?: string | null;

/**
* The text content displayed in the notification. Either this field must be
* specified, or the elements field
*/
content?: string;

/**
* CSS px font size for this text block, e.g. `16px`. Overrides the size of the
* `text_style` preset. Email only.
Expand Down
Loading