message.type === "image" in typebot.service.ts

Only works, for me, in this way

Added ".png" in mediaMessage.media
This commit is contained in:
Jean Carlo Nascimento 2023-11-12 18:50:38 -03:00 committed by GitHub
parent 8fe75cd210
commit e6f071e306
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -361,7 +361,7 @@ export class TypebotService {
}, },
mediaMessage: { mediaMessage: {
mediatype: 'image', mediatype: 'image',
media: message.content.url, media: message.content.url + ".png",
}, },
}); });
} }