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.

NameTypeDescriptionAvailable Version
expirationDateDatetimeThe 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
feedElementConnectApi.​FeedElementThe feed element that contains the body of the announcement and its associated comments, likes, and so on.31.0
idString18-character ID of the announcement.31.0
isArchivedBooleanSpecifies whether the announcement is archived.36.0
sendEmailsBooleanSpecifies whether the announcement is sent as an email to all group members.36.0
urlStringThe URL to the announcement.33.0

See Also