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

@@ -164,6 +164,7 @@ export type QrCode = { LIMIT: number; COLOR: string };
export type Typebot = { API_VERSION: string; KEEP_OPEN: boolean };
export type Chatwoot = {
MESSAGE_DELETE: boolean;
MESSAGE_READ: boolean;
IMPORT: {
DATABASE: {
CONNECTION: {
@@ -379,6 +380,7 @@ export class ConfigService {
},
CHATWOOT: {
MESSAGE_DELETE: process.env.CHATWOOT_MESSAGE_DELETE === 'false',
MESSAGE_READ: process.env.CHATWOOT_MESSAGE_READ === 'false',
IMPORT: {
DATABASE: {
CONNECTION: {