Lottery ticket bought by / donated to a charity tax Q

Yeah, but what about where the drawing was held, the ticket became a winner, and THEN it was donated to the charity, prior to being redeemed?