50
public function getMainPart( ?preferHtml : Bool, ?level : Int, ?priority : Int, ?cpriority : Int ) : BodyStructure {
51
51
if( level == null ) level = 0;
52
52
if( priority == null ) priority = 0;
53
53
if( cpriority == null ) cpriority = 0;
55
56
if( ctype0 != "multipart" || (level == 0 && parts.length == 0) ){
56
57
if( level == 0 ) return this;