InboxMedia

data class InboxMedia

Media on an inbox message. url is never null: media that arrives with only altText or a mediaType keeps an empty url rather than being dropped.

Types

Link copied to clipboard
object MediaType

The mediaType values the server sends today.

Properties

Link copied to clipboard
val altText: String?
Link copied to clipboard
@JvmField
val mediaType: String?

MAM media category, e.g. MediaType.IMAGE; null on the classic MCE flat-media path. Passed through verbatim and case-sensitive; not limited to the MediaType values, so keep an else branch.

Link copied to clipboard
@JvmField
val mimeType: String?

MAM media MIME subtype e.g. png/jpeg/mp4; null on the classic MCE flat-media path.

Link copied to clipboard
val url: String