| Field | Type | Required | Description |
|---|---|---|---|
id |
str | ✔️ | Unique identifier for the digest section. |
type |
models.SectionType | ✔️ | Type of the section. This defines how the section should be interpreted and rendered in the digest. |
display_name |
Optional[str] | ➖ | Human-readable name for the digest section. |
channel_name |
Optional[str] | ➖ | Name of the channel (applicable for CHANNEL type sections). Used to display in the frontend. |
channel_type |
Optional[str] | ➖ | Channel visibility/type for CHANNEL sections. For Slack this is typically one of PublicChannel, PrivateChannel. Omit if not applicable or unknown. |
instance_id |
Optional[str] | ➖ | Instance identifier for the channel or workspace. Used for constructing channel URLs to display in the frontend. |
url |
Optional[str] | ➖ | Optional URL for the digest section. Should be populated only if the section is a CHANNEL type section. |
updates |
List[models.DigestUpdate] | ✔️ | List of updates within this digest section. |