MomentsStory

@objc(MomentsStory)
public final class MomentsStory : NSObject

This data class represents a moments story inside a moments story group.

  • id

    ID of the story

    Declaration

    Swift

    @objc
    public let id: String
  • Title of the story

    Declaration

    Swift

    @objc
    public let title: String
  • State of the story that shows whether the story is seen or not

    Declaration

    Swift

    @objc
    public let seen: Bool
  • Premoderation status of the story

    Declaration

    Swift

    @objc
    public let preModerationStatus: PreModerationStatus
  • Media content of the story

    Declaration

    Swift

    @objc
    public let media: MomentsMedia
  • Moments Story initialization

    Declaration

    Swift

    @objc
    public init(id: String,
                title: String,
                seen: Bool,
                preModerationStatus: PreModerationStatus,
                media: MomentsMedia)

    Parameters

    id

    ID of the story

    title

    Title of the story

    seen

    State of the story that shows whether the story is seen or not

    preModerationStatus

    Premoderation status of the story

    media

    Media content of the story