public function clearFlag(string $flag): bool
    {
        $result = \imap_clearflag_full($this->resource->getStream(), (string) $this->getNumber(), $flag, \ST_UID);

        $this->clearHeaders();

        return $result;
    }
public function clearFlag(string $flag): bool
    {
        $result = \imap_clearflag_full($this->resource->getStream(), (string) $this->getNumber(), $flag, \ST_UID);

        $this->clearHeaders();

        return $result;
    }
public function clearFlag ( string $ flag ) : bool { $ result = \ imap_clearflag_full ( $ this -> resource -> getStream ( ) , ( string ) $ this -> getNumber ( ) , $ flag , \ ST_UID ) ; $ this -> clearHeaders ( ) ; return $ result ; }
Clear Flag Message.

@param string $flag \Seen, \Answered, \Flagged, \Deleted, and \Draft

@return bool
Clear Flag Message .