whenPhotoContent

inline fun <T> ResendableContent.whenPhotoContent(block: (PhotoContent) -> T): T?