mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-25 14:47:45 -06:00
feat(chatwoot): read messages from whatsapp in chatwoot
It works only with messages read from whatsapp to chatwoot.
This commit is contained in:
@@ -14,6 +14,7 @@ class ChatwootMessage {
|
||||
messageId?: number;
|
||||
inboxId?: number;
|
||||
conversationId?: number;
|
||||
contactInbox?: { sourceId: string };
|
||||
}
|
||||
|
||||
export class MessageRaw {
|
||||
@@ -51,6 +52,7 @@ const messageSchema = new Schema<MessageRaw>({
|
||||
messageId: { type: Number },
|
||||
inboxId: { type: Number },
|
||||
conversationId: { type: Number },
|
||||
contactInbox: { type: Object },
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user