---
schema_version: "1"
id: d4cee96133b85280b8721811915d44da0dd3fde4ef3efdb28554931bc231b9e6
title: ConnectApi.Announcement
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_announcement.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_announcement.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 42658454f0bcfca25c1004c13677e6c581bca329a62f7e798cec9f259d5823a7
description: An announcement displays in a designated location in the Salesforce UI until 11:59 p.m. on its expiration date, unless it’s deleted or replaced by another announcement.
---
# ConnectApi.Announcement

An announcement displays in a designated location in the Salesforce UI until 11:59 p.m. on its expiration date, unless it’s deleted or replaced by another announcement.

| Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| expirationDate | Datetime | The Salesforce UI displays an announcement until 11:59 p.m. on this date unless another announcement is posted first. The Salesforce UI ignores the time value in the expirationDate. However, you can use the time value to create your own display logic in your own UI. | 31.0 |
| feedElement | [ConnectApi.​FeedElement](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element.htm "Feed elements are the top-level items that a feed contains. Feeds are feed element containers.") | The feed element that contains the body of the announcement and its associated comments, likes, and so on. | 31.0 |
| id | String | 18-character ID of the announcement. | 31.0 |
| isArchived | Boolean | Specifies whether the announcement is archived. | 36.0 |
| sendEmails | Boolean | Specifies whether the announcement is sent as an email to all group members. | 36.0 |
| url | String | The URL to the announcement. | 33.0 |

#### See Also

- [ConnectApi.AnnouncementPage](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_announcementpage.htm "A collection of announcements.")
- [ConnectApi.ChatterGroup](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_chatter_group.htm "Chatter group.")