ifContentMessage

inline fun <T> Message.ifContentMessage(block: (ContentMessage<MessageContent>) -> T): T?