ifMediaContent

inline fun <T> ResendableContent.ifMediaContent(block: (MediaContent) -> T): T?