SocialMediaChallengeResponseSetting

public struct SocialMediaChallengeResponseSetting : ChallengeResponseSetting, Equatable

Struct representing Challenge response settings for Social Media Challenges.

  • Subtype of the response setting.

    Declaration

    Swift

    public var subtype: String
  • url

    URL of the response setting.

    Declaration

    Swift

    public var url: String
  • Social media platform e.g. facebook, twitter, instagram.

    Declaration

    Swift

    public var platforms: [String]
  • Content type of the response setting.

    Declaration

    Swift

    public var contentType: String
  • Facebook post title.

    Declaration

    Swift

    public var facebookPostTitle: String
  • Facebook post body.

    Declaration

    Swift

    public var facebookPostBody: String
  • Facebook display name url.

    Declaration

    Swift

    public var facebookUrlDisplayName: String
  • Twitter post body.

    Declaration

    Swift

    public var twitterPostBody: String
  • Suggested image url.

    Declaration

    Swift

    public var suggestedImageUrl: String
  • Account to be followed, liked.

    Declaration

    Swift

    public var account: String
  • Hashtags to be included in post.

    Declaration

    Swift

    public var hashtags: [String]
  • Text of post.

    Declaration

    Swift

    public var text: String
  • Undocumented

    Declaration

    Swift

    public init(subtype: String, url: String, platforms: [String], contentType: String, facebookPostTitle: String,
                facebookPostBody: String, facebookUrlDisplayName: String, twitterPostBody: String,
                suggestedImageUrl: String, account: String, hashtags: [String], text: String)

SocialMediaChallengeResponseSetting

  • Declaration

    Swift

    public init(from decoder: Decoder) throws