Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ultramsg/whatsapp-webhook-vb.net
simple project to handle incoming WhatsApp API message using VB.Net .
https://github.com/ultramsg/whatsapp-webhook-vb.net
vbdotnet wa-bot webhook whatsapp-api whatsapp-api-vbdotnet whatsapp-chat whatsapp-vbdotnet
Last synced: about 15 hours ago
JSON representation
simple project to handle incoming WhatsApp API message using VB.Net .
- Host: GitHub
- URL: https://github.com/ultramsg/whatsapp-webhook-vb.net
- Owner: ultramsg
- License: mit
- Created: 2022-06-23T12:16:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-23T12:17:08.000Z (over 2 years ago)
- Last Synced: 2024-09-20T20:02:09.765Z (4 days ago)
- Topics: vbdotnet, wa-bot, webhook, whatsapp-api, whatsapp-api-vbdotnet, whatsapp-chat, whatsapp-vbdotnet
- Language: Visual Basic .NET
- Homepage: http://ultramsg.com/
- Size: 4.88 KB
- Stars: 15
- Watchers: 1
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Ultramsg.com](https://ultramsg.com/?utm_source=github&utm_medium=vbnet&utm_campaign=webhook) whatsapp-webhook-vbnet
simple project to handle incoming WhatsApp message using VB.Net .
by [Ultramsg.com](https://ultramsg.com/?utm_source=github&utm_medium=vbnet&utm_campaign=webhook)
# Dependencies
for local development purposes, a tunneling service is required. This example uses ngrok , You can download ngrok from [here](https://ngrok.com/download).
# run project
```
dotnet watch
```
# Start ngrok
```
ngrok http https://localhost:6000
```# set Webhook URL
Go to your ultramsg account for set Webhook URL after copying the ngrok url and add /api/ Route like this :
```
https://501-414-43-1.ngrok.io/api/
```
and enable this option "Webhook on Received" .
# receive WhatsApp messagesnow You should be able to receive WhatsApp webhooks .
# Example json response
```
{
"event_type": "message_received",
"instanceId": "1150",
"id": "",
"referenceId": "",
"data": {
"id": "[email protected]_3EB02E5EB89Cff3FB034",
"from": "[email protected]",
"to": "[email protected]",
"author": "",
"pushname": "Steve",
"ack": "",
"type": "chat",
"body": "Hi,How are you",
"media": "",
"fromMe": false,
"isForwarded": false,
"isMentioned": false,
"quotedMsg": {},
"mentionedIds": [],
"time": 1650002600
}
}
```# Support
Use **Issues** to contact me