代码之家  ›  专栏  ›  技术社区  ›  Ian Vink

使用WhatsApp URI打开调用者

  •  0
  • Ian Vink  · 技术社区  · 5 年前

    使用What's API URI,我可以很好地将它集成到我的iPhone和Android应用程序中发送文本。

    例如:whatsapp://send?文本=xamarin

    来电者 功能。

    基本上,我希望从我的应用程序中打开WhatsApp中的呼叫拨号程序,就像我可以这样做来发送文本一样。

    1 回复  |  直到 5 年前
        1
  •  0
  •   Ian Vink    5 年前

    我发现有点

    if you have that contact ). 你必须点击 Phone icon 因为默认情况是打开 Chat

    https://api.whatsapp.com/send?phone=+1THE-NUMBER-HERE-WITH-COUNTRY-CODE