Url 从 iOS 应用程序(语音呼叫 VOIP)以编程方式调用 WhatsApp 的方案?

Url scheme for making WhatsApp call programmatically from iOS app (voice call VOIP)?

我已经提到 which states that this feature is currently not available in iOS and as per WhatsApp FAQ Share Extension (Custom URL Scheme) 它仍然没有提到任何用于拨打电话的模式,它提到的文档:

Placing a WhatsApp call(voice call VOIP)
To make a WhatsApp call, simply open the chat with the person you want to call and tap Call  in the top right corner.

Whatsapp FAQ Here

但是可以从 android 拨打 WhatsApp 电话,我在 iOS.But 中找不到 phone 联系人可以使用 WhatsApp 电话功能。

所以我怀疑 iOS 目前是否可以从我的 iOS 应用程序拨打 WhatsApp(语音)语音电话?

如果可能的话,你能建议我使用 url 模式(如果可用),就像这样从我的应用程序聊天 @"whatsapp://send?text=Hello%2C%20World!" 因为我找不到这个?

我有 google 它并在 Whosebug 和 https://faq.whatsapp.com

上搜索了很多

目前看来,来自通讯录的视频通话功能仅限于 OS 级别。

但是您可以打开特定联系人,然后用户必须手动点击视频通话按钮。

这与phone没有存储在通讯录中无关。 (可以直接打开)

我已经在 Swift 3 代码中试过了。

 if #available(iOS 10.0, *) {
     UIApplication.shared.open(NSURL(string: "whatsapp://send?phone=+91phonenumber")! as URL)
  } else {
     UIApplication.shared.openURL(NSURL(string: "whatsapp://send?phone=+91phonenumber")! as URL)
  }

https://faq.whatsapp.com/en/iphone/23559013

希望这可以帮助您找到进一步的方法