ConnectApi.BannerCapability

If a feed element has this capability, it has a banner motif and style.

Subclass of ConnectApi.FeedElementCapability.

Property NameTypeDescriptionAvailable Version
motifConnectApi.MotifA banner motif.31.0
styleConnectApi.BannerStyleDecorates a feed item with a color and set of icons. Possible value:
  • 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.
31.0

See Also