StoryMedia

data class StoryMedia(type: StoryType, storyComponentList: List<StoryComponent>?, actionUrlList: List<String>?, actionUrl: String?, previewUrl: String?)

This data class represents the media of a story.

Constructors

StoryMedia
Link copied to clipboard
fun StoryMedia(type: StoryType, storyComponentList: List<StoryComponent>?, actionUrlList: List<String>?, actionUrl: String?, previewUrl: String?)

Properties

actionUrl
Link copied to clipboard
val actionUrl: String?

URL which the user has just interacted with

actionUrlList
Link copied to clipboard
val actionUrlList: List<String>?

List of action urls in the story

previewUrl
Link copied to clipboard
var previewUrl: String?

: URL of the preview image of the story

storyComponentList
Link copied to clipboard
val storyComponentList: List<StoryComponent>?

List of story components in the story

type
Link copied to clipboard
val type: StoryType

Type of the story