MomentsStory

data class MomentsStory(id: String, title: String, seen: Boolean, media: MomentsMedia, preModerationStatus: PreModerationStatus?)

This data class represents a story inside a story group.

Constructors

MomentsStory
Link copied to clipboard
fun MomentsStory(id: String, title: String, seen: Boolean, media: MomentsMedia, preModerationStatus: PreModerationStatus? = PreModerationStatus.Passed)

Properties

id
Link copied to clipboard
val id: String

ID of the story

media
Link copied to clipboard
val media: MomentsMedia

Media content of the story

preModerationStatus
Link copied to clipboard
val preModerationStatus: PreModerationStatus?
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