ifTextedInput

inline fun <T> MessageContent.ifTextedInput(block: (TextedInput) -> T): T?