有什么方法可以在不将应用程序暴露在互联网(网络挂钩)的情况下接收 Whatsapp 消息?

Is there any way to receive Whatsapp messages without exposing app to the Internet (webhooks)?

我一直在查看有关 Whatsapp Business API 和 Twilio Sandbox for Whatsapp 的文档,以及我看到的接收消息配置 URL 我的应用程序端点的唯一方法。

事情是管理层和安全部门不会批准在我们的网络上发布端点来解决这个问题。他们可以接受的方式是以连接到邮件服务器或任何其他服务的相同方式使用来自客户端的消息。

我的应用程序使用端点是否有任何备选方案?

感谢

您可以参考此博客中提到的方法(也适用于 WhatsApp)。

Handling High Volume Inbound SMS and Webhooks with Twilio Functions and Amazon SQS

This can also be handy if you don’t have a public webhook URL you can configure with Twilio, and would rather process these messages by polling SQS from the comfort of your own internal servers.