According to this answer for iPhone developers on WhatsApp FAQ;
WhatsApp provides two ways for your iPhone application to interact with WhatsApp:
1-) Using a special URL scheme
2-) Via the iOS Document Interaction API
If your application wants to open a WhatsApp chat with a specific contact, you can use our custom URL scheme for this. Opening whatsapp: // followed by one of the following options will open WhatsApp and take its own action.
NSURL *whatsappURL = [NSURL URLWithString:@"whatsapp://send?text=Hello%2C%20World!"];
if ([[UIApplication sharedApplication] canOpenURL: whatsappURL]) {
[[UIApplication sharedApplication] openURL: whatsappURL];
}
Android FAQ WhatsApp WhatsApp ACTION_SEND. , sendIntent.setPackage("com.whatsapp"). URL:
WhatsApp URL WhatsApp:
- WhatsApp , URL . whatsapp://send? Text = , WhatsApp, .
, -:
<a href="whatsapp://send?text=Hello%20World!">Hello, world!</a>
, iPhone, app . , .
WhatsAPI venomous0x.