ifCommonMessage

inline fun <T> Message.ifCommonMessage(block: (CommonMessage<MessageContent>) -> T): T?