MomentsStoryGroup

@objc(MomentsStoryGroup)
public final class MomentsStoryGroup : NSObject

This class represents a story group in the Storyly Moments.

  • id

    ID of the story group

    Declaration

    Swift

    @objc
    public let id: String
  • URL of the story group icon image

    Declaration

    Swift

    @objc
    public let iconUrl: URL?
  • State of the story group that shows whether all of the stories are seen or not

    Declaration

    Swift

    @objc
    public let seen: Bool
  • List of stories in the story group

    Declaration

    Swift

    @objc
    public let stories: [MomentsStory]
  • StoryGroup initialization

    Declaration

    Swift

    @objc
    public init(id: String,
                iconUrl: URL?,
                seen: Bool,
                stories: [MomentsStory])

    Parameters

    id

    ID of the story group

    iconUrl

    URL of the story group icon image

    seen

    State of the story group that shows whether all of the stories are seen or not

    stories

    List of stories in the story group