Updated qr code events and tls server
Some checks failed
CI / Test (1.22) (push) Failing after -25m23s
CI / Test (1.23) (push) Failing after -25m25s
CI / Build (push) Failing after -25m51s
CI / Lint (push) Failing after -25m40s

This commit is contained in:
2025-12-29 17:22:06 +02:00
parent bb9aa01519
commit 94fc899bab
17 changed files with 929 additions and 26 deletions

View File

@@ -0,0 +1,39 @@
{
"server": {
"host": "0.0.0.0",
"port": 8443,
"default_country_code": "27",
"auth_key": "your-secure-api-key-here",
"tls": {
"enabled": true,
"mode": "custom",
"cert_file": "/etc/ssl/certs/whatshooked.crt",
"key_file": "/etc/ssl/private/whatshooked.key"
}
},
"whatsapp": [
{
"id": "personal",
"type": "whatsmeow",
"phone_number": "+1234567890",
"session_path": "./sessions/personal",
"show_qr": true
}
],
"hooks": [
{
"id": "message_hook",
"name": "Message Handler",
"url": "https://example.com/webhook",
"method": "POST",
"active": true,
"events": ["message.received"]
}
],
"media": {
"data_path": "./data/media",
"mode": "link",
"base_url": "https://whatshooked.example.com"
},
"log_level": "info"
}