MediaContent

data class MediaContent(mediaType: MediaType, url: String)

Media content class for inbox messsge.

Author

Umang Chamaria

Since

1.0.00

Constructors

MediaContent
Link copied to clipboard
fun MediaContent(mediaType: MediaType, url: String)

Properties

mediaType
Link copied to clipboard
val mediaType: MediaType

Content type of the Media

url
Link copied to clipboard
val url: String

Url for the media content. Generally a http(s) url.