whenFromUserMessage

inline fun <T> Message.whenFromUserMessage(block: (FromUserMessage) -> T): T?