Story

data class Story(id: Int, title: String, index: Int, seen: Boolean, media: StoryMedia)

This data class represents a story inside a story group.

Constructors

Story
Link copied to clipboard
fun Story(id: Int, title: String, index: Int, seen: Boolean, media: StoryMedia)

Properties

id
Link copied to clipboard
val id: Int
ID of the story
index
Link copied to clipboard
val index: Int
Index of the story among other stories of the story group
media
Link copied to clipboard
val media: StoryMedia
Media content of the story
seen
Link copied to clipboard
val seen: Boolean
State of the story that shows whether the story is seen or not
title
Link copied to clipboard
val title: String
Title of the story