Key-value pairs
This article covers how to use key-value pairs in your News Feeds cards via the Braze SDK.
important:
News Feed is being deprecated. We recommend migrating to our Content Cards messaging channel instead—it’s more flexible, customizable, and reliable. To get started, check out Migrating from News Feed.
Card
objects may optionally carry key-value pairs as extras
. These can be used to send data down along with a card for further handling by the application. Call card.extras
to access these values.
See the JSDocs for more information on ClassicCard, ImageOnly, and CaptionedImage.
New Stuff!