ConnectApi.​BannerCapability Class

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

Subclass of ConnectApi.​FeedElement​Capability Class.

Property Name Type Description Available Version
motif ConnectApi.Motif A banner motif. 31.0
style ConnectApi.BannerStyle Decorates a feed item with a color and set of icons. Possible value:
  • AnnouncementAn 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
Previous
Next