added: Integration with whatsapp business api

This commit is contained in:
microprocessgit 2024-01-16 16:27:13 -03:00
parent 1686ef58cf
commit 48aa8f9fe9
2 changed files with 17 additions and 0 deletions

View File

@ -11,6 +11,8 @@ LOG_LEVEL=ERROR,WARN,DEBUG,INFO,LOG,VERBOSE,DARK,WEBHOOKS
LOG_COLOR=true LOG_COLOR=true
# Log Baileys - "fatal" | "error" | "warn" | "info" | "debug" | "trace" # Log Baileys - "fatal" | "error" | "warn" | "info" | "debug" | "trace"
LOG_BAILEYS=error LOG_BAILEYS=error
LOG_PATH=log
LOG_EXPIRATION_DAYS=5
# Determine how long the instance should be deleted from memory in case of no connection. # Determine how long the instance should be deleted from memory in case of no connection.
# Default time: 5 minutes # Default time: 5 minutes
@ -32,6 +34,7 @@ CLEAN_STORE_CHATS=true
# Permanent data storage # Permanent data storage
DATABASE_ENABLED=false DATABASE_ENABLED=false
DATABASE_CLEANING_INTERVAL=5
DATABASE_CONNECTION_URI=mongodb://root:root@mongodb:27017/?authSource=admin&readPreference=primary&ssl=false&directConnection=true DATABASE_CONNECTION_URI=mongodb://root:root@mongodb:27017/?authSource=admin&readPreference=primary&ssl=false&directConnection=true
DATABASE_CONNECTION_DB_PREFIX_NAME=evdocker DATABASE_CONNECTION_DB_PREFIX_NAME=evdocker
@ -51,6 +54,12 @@ RABBITMQ_URI=amqp://guest:guest@rabbitmq:5672
WEBSOCKET_ENABLED=false WEBSOCKET_ENABLED=false
#Wahtsapp Meta API
ACESS_TOKEN=tokentoken
URL=https://graph.facebook.com
LANGUAGE=pt_BR
VERSION=v18.0
SQS_ENABLED=false SQS_ENABLED=false
SQS_ACCESS_KEY_ID= SQS_ACCESS_KEY_ID=
SQS_SECRET_ACCESS_KEY= SQS_SECRET_ACCESS_KEY=

View File

@ -32,6 +32,8 @@ SSL_CONF:
# Determine the logs to be displayed # Determine the logs to be displayed
LOG: LOG:
LOG_PATH: log
LOG_EXPIRATION_DAYS: 5
LEVEL: LEVEL:
- ERROR - ERROR
- WARN - WARN
@ -96,6 +98,12 @@ SQS:
WEBSOCKET: WEBSOCKET:
ENABLED: false ENABLED: false
WABUSSINESS:
ACESS_TOKEN: tokentoken
URL: https://graph.facebook.com
VERSION: v18.0
LANGUAGE: en_US
# Global Webhook Settings # Global Webhook Settings
# Each instance's Webhook URL and events will be requested at the time it is created # Each instance's Webhook URL and events will be requested at the time it is created
WEBHOOK: WEBHOOK: