whenTextedInput

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