feat(chatwoot): read last message on WhatsApp when a message is sent from Chatwoot

This commit is contained in:
jaison-x
2024-03-12 11:56:14 -03:00
parent 901954de33
commit 072171da18
5 changed files with 41 additions and 1 deletions

View File

@@ -122,6 +122,8 @@ TYPEBOT_KEEP_OPEN=false
#Chatwoot
# If you leave this option as false, when deleting the message for everyone on WhatsApp, it will not be deleted on Chatwoot.
CHATWOOT_MESSAGE_DELETE=false # false | true
# If you leave this option as true, when sending a message in Chatwoot, the client's last message will be marked as read on WhatsApp.
CHATWOOT_MESSAGE_READ=false # false | true
# This db connection is used to import messages from whatsapp to chatwoot database
CHATWOOT_IMPORT_DATABASE_CONNECTION_URI=postgres://user:password@hostname:port/dbname
CHATWOOT_IMPORT_DATABASE_PLACEHOLDER_MEDIA_MESSAGE=true