Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7c3fccb
feat: sendsticket notconvertsticket
Apr 9, 2025
9ca4bfa
feat: Criado um novo grupo de rotas (business) para tratar dos catalo…
Apr 10, 2025
244e3f8
Fix case in table name
Apr 11, 2025
a54b5a5
Fix table name
Apr 11, 2025
6104249
feat: add message location support meta
Apr 11, 2025
b8740ea
🐛 Corrige problema na API relacionado à migration. Fixes #1234
Apr 14, 2025
6a30377
Enhance message editing validation in BaileysStartupService
Apr 14, 2025
8272da8
Implement message update handling in BaileysStartupService
Apr 14, 2025
e7ccbc8
fix: change mediaId optional chaining and list response message text …
Apr 14, 2025
42a455f
fix: obtain mediaUrl not defined
Apr 14, 2025
d206053
style: run lint
Apr 25, 2025
6c1e8de
hotfix(migration): add missing wavoipToken column in MySQL schema
Apr 25, 2025
64f70b4
fix: Refactor SQS controller to correct bug in sqs events by instance
Apr 28, 2025
831b483
✨ Remove reaction from a message
Apr 28, 2025
51edf1f
Fix: Linting requirements
Apr 28, 2025
ba4ea0b
style: run lint
Apr 28, 2025
2e6bf88
feat: Add NATS integration and update Baileys service
Apr 28, 2025
f12a18e
fix: adjustin cloud api send audio and video
Apr 28, 2025
780ca99
fix: adding media verification
Apr 28, 2025
bf1e936
fix: lint
Apr 28, 2025
659a140
feat: Enhance WebSocket authentication and connection handling
Apr 28, 2025
bfd2cd6
basic regex for url
Apr 28, 2025
d85c80f
Add eventos referente a instancia que estavam faltando
Apr 30, 2025
4440fce
fix: preserve animation in GIF and WebP stickers
Apr 30, 2025
624a7d2
fix: preserve animation in GIF and WebP stickers
Apr 30, 2025
82ea7bd
fix: normalize file extension checks for case insensitivity in sticke…
Apr 30, 2025
9c4ee35
fix_and_add_name_to_find_chats_and_paginate_get_contacts_and_get_chats
Apr 30, 2025
0136815
Update src/api/services/channel.service.ts
Apr 30, 2025
5acd7a9
[FIX] Adding a timestamp to the filename to make it possible to send …
Apr 30, 2025
a547c12
[FIX] Run lint
Apr 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/api/dto/sendMessage.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export class Metadata {
mentionsEveryOne?: boolean;
mentioned?: string[];
encoding?: boolean;
notConvertSticker?: boolean;
}

export class SendTextDto extends Metadata {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2342,7 +2342,9 @@

if (file) mediaData.sticker = file.buffer.toString('base64');

const convert = await this.convertToWebP(data.sticker);
const convert = data?.notConvertSticker
? Buffer.from(data.sticker, 'base64')

Check failure on line 2346 in src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

View workflow job for this annotation

GitHub Actions / check-lint-and-build

Insert `··`
: await this.convertToWebP(data.sticker);

Check failure on line 2347 in src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

View workflow job for this annotation

GitHub Actions / check-lint-and-build

Insert `··`
const gifPlayback = data.sticker.includes('.gif');
const result = await this.sendMessageWithTyping(
data.number,
Expand Down
Loading