StoryGroup

data class StoryGroup(uniqueId: String, title: String, iconUrl: String, thematicIconUrls: Map<String, String>?, coverUrl: String?, index: Int, seen: Boolean, stories: List<Story>, pinned: Boolean, type: StoryGroupType, momentsUser: MomentsUser?, style: StoryGroupStyle?, name: String?, nudge: Boolean)

This data class represents a story group in the StorylyView.

Constructors

StoryGroup
Link copied to clipboard
fun StoryGroup(uniqueId: String, title: String, iconUrl: String, thematicIconUrls: Map<String, String>?, coverUrl: String?, index: Int, seen: Boolean, stories: List<Story>, pinned: Boolean, type: StoryGroupType, momentsUser: MomentsUser?, style: StoryGroupStyle?, name: String?, nudge: Boolean)

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

index
Link copied to clipboard
val index: Int

Order index of the story group

momentsUser
Link copied to clipboard
val momentsUser: MomentsUser?

Moments User of this group

name
Link copied to clipboard
val name: String?
nudge
Link copied to clipboard
val nudge: Boolean

Denotes whether story group is nudge or not

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

style
Link copied to clipboard
val style: StoryGroupStyle?

Style of this 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

uniqueId
Link copied to clipboard
val uniqueId: String

ID of the story group