StoryGroup

data class StoryGroup(id: Int, title: String, iconUrl: String, thematicIconUrls: Map<String, String>?, coverUrl: String?, index: Int, seen: Boolean, stories: List<Story>, pinned: Boolean, type: StoryGroupType)

This data class represents a story group in the StorylyView.

Constructors

StoryGroup
Link copied to clipboard
fun StoryGroup(id: Int, title: String, iconUrl: String, thematicIconUrls: Map<String, String>?, coverUrl: String?, index: Int, seen: Boolean, stories: List<Story>, pinned: Boolean, type: StoryGroupType)

Properties

coverUrl
Link copied to clipboard
val coverUrl: String?
: URL of the story group cover image
iconUrl
Link copied to clipboard
val iconUrl: String
URL of the story group icon image
id
Link copied to clipboard
val id: Int
ID of the story group
index
Link copied to clipboard
val index: Int
Order index of the story group
pinned
Link copied to clipboard
val pinned: Boolean
Pin status of the story group that shows whether group is pinned or not
seen
Link copied to clipboard
val seen: Boolean
State of the story group that shows whether all of the stories are seen or not
stories
Link copied to clipboard
val stories: List<Story>
List of stories in the story group
thematicIconUrls
Link copied to clipboard
val thematicIconUrls: Map<String, String>?
: URLs of different the story group icon themes
title
Link copied to clipboard
val title: String
Title of the story group
type
Link copied to clipboard
val type: StoryGroupType
Type of the story group