Functions
Link copied to clipboard
Parses out the card type from the json and returns a CardType. If the type is that of a CardType.SHORT_NEWS and no image url is present, then the type returned will be that of a CardType.TEXT_ANNOUNCEMENT.
Link copied to clipboard
Returns the server key for the CardType, or null if the server key cannot be found.