StoryComponent

@objc(StoryComponent)
public class StoryComponent : NSObject

This parent class represents the interactive components which users are interacted with.

  • id

    Id of the interactive component

    Declaration

    Swift

    @objc
    public let id: String
  • Type of the interactive component

    Declaration

    Swift

    @objc
    public let type: StoryComponentType
  • Custom payload for the interactive component if exists

    Declaration

    Swift

    @objc
    public let customPayload: String?