ifMessageContent

inline fun <T> ResendableContent.ifMessageContent(block: (MessageContent) -> T): T?