Texting internationally thru iphone?

If I'm texting internationally using iPhone to iphone. Do I have to be only in Wi-Fi to send imessage? Like I can't just be at the mall in the car driving etc?

Or will I still be charged.

They have to be using an apple device