Cesarean and still able to BF?

🌟
So I'm probably going to have to have a C-section delivery and I was told by a family member that after hers she was put on pain pills that she had to wait two weeks after taking to start BF which the waiting made her dry up. Anyone who had a C-section, what was your experience afterwards with BF?