* feat: implement basic newsletter functionality with socket integration and event handling
* feat: enhance media handling for newsletters with raw media upload support
* feat: working updatePicture, removePicure, adminCount, mute, Unmute
* fix: fetchMessages
* chore: cleanup
* fix: update newsletter metadata path and query ID for consistency. newsletterMetadata works now
* chore: enhance newsletter metadata parsing and error handling
* fix: correct DELETE QueryId value in Newsletter.ts
* chore: split mex stuffs to own file
* chore: remove as any
* feat: interface "ILogger" created
feat: interface "ILogger" used instead of pino logger
feat: "PinoLoggerAdapter" created to implement "ILogger" interface
* feat: PinoLoggerAdapter removed
feat: ILogger mapping the features we're using from pino
* fix: sort imports
---------
Co-authored-by: Mateus Franchini de Freitas <contato.mateusfr@outlook.com>
Co-authored-by: Mateus Franchini de Freitas <mfranchini@domtec.com.br>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
* feat: add Id support for desktop
This commit adjusts the ID length check for desktop, fixing the issue where some desktop IDs were incorrectly classified as "unknown."
Baileys stopped identifying if a message was from WA Desktop (Based on my observations last Year).
This adjustment addresses this issue.
* redundancy removed
* fix: linting
* messages: add verification to remove temp file, solve EPERM operation not permitted
* fix lint on messages
* another try to fix lint for pr health
* Fixed, too many changes were breaking the code; this should be enough
* another try to fix this
* Revert "fix: inefficient method of extracting url from text (#741)"
This reverts commit f5c1affc4d.
* fix: link preview should follow redirects
* fix: allow link preview of URLs with @ sign
---------
Co-authored-by: Ezequiel Moraes <ezequielmoraesdev@gmail.com>
* fix: inefficient method of extracting url from text
This fixes the thumbnail error when submitting a
Google Maps link.
* fix: link preview with redirects