Commit Graph

52 Commits

Author SHA1 Message Date
DevAstro
44c5e16c05 add owner country code attribute (#1565)
name says it all
2025-07-05 23:59:24 +03:00
João Lucas de Oliveira Lopes
8391c02e0b [READY FOR MERGE] Implement newsletter (#1532)
* 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
2025-06-30 23:22:09 -03:00
devlikeapro
b8464d3665 Add lid to Contact - contact sync, history sync, group participants (#1472) 2025-06-18 08:08:09 -03:00
Nurutomo
99bbafeae5 feat: extra metadata on groupMetadata (#1374) 2025-06-10 08:25:08 -03:00
canove
ae0de94307 chore: fix format 2025-05-28 22:44:21 -03:00
canove
feecb6d8ee Merge branch 'master' of https://github.com/WhiskeySockets/Baileys into fix-eslint-prettier-editorconfig-rules 2025-05-14 07:40:05 -03:00
Skid
d5f34f46c3 more consistent addressingMode 2025-05-11 13:27:49 -06:00
canove
fa706d0b50 chore: format everything 2025-05-06 12:10:19 -03:00
w3nder
dfe8bb3283 refactor(messageId): update all remaining usages to v2 format consistently 2025-04-30 00:59:19 -03:00
canove
53d6e3a8d5 fix: send message to LID addressing_mode groups 2025-04-23 10:17:30 -03:00
Rajeh Taher
7c9f2ebd46 feat(feature/group-invite-v4): initial/final commit (#958) 2024-08-14 12:10:37 +03:00
Rajeh Taher
0cc888e87b fix(master): generate new message id 2024-06-12 23:12:59 +03:00
Rajeh Taher
ce325d1182 fix(master): linting warnings 2024-05-10 16:33:59 +03:00
Antônio Roberto Júnior
e52570bbd7 add linkedParent in groupMetadata (#734)
* Update GroupMetadata.ts

* Update groups.ts
2024-04-28 14:02:49 +03:00
Bob
c41be3ac4f feat: If need approval to join the group in groupMetadata (#533)
* If need approval to join the group

* If need approval to join the group

* Update groups.ts

* Update groups.ts

* fix lint

* Update groups.ts

* Update groups.ts

---------

Co-authored-by: Bob <115008575+FortisEtMagnus@users.noreply.github.com>
Co-authored-by: Bob <115008575+bobpetrov@users.noreply.github.com>
2024-01-19 18:31:35 +02:00
Wender Teixeira
504fe942ee Update size calculation in extractGroupMetadata function (#581) 2024-01-19 18:31:01 +02:00
Bob
408c0070ba feat: Set in group settings memberAddMode and joinApprovalMode (#534)
* feat: Set in group settings memberAddMode and joinApprovalMode

* fix lint

* fix lint

* fix conflict

---------

Co-authored-by: Bob <115008575+FortisEtMagnus@users.noreply.github.com>
Co-authored-by: Bob <115008575+bobpetrov@users.noreply.github.com>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-01-19 17:59:42 +02:00
Rajeh Taher
cbffb2941c fix: Fix linting 2023-12-18 16:43:28 +02:00
piLovr
3962311108 Update groups.ts 2023-08-31 10:29:55 +02:00
piLovr
3061ede206 Update groups.ts 2023-08-31 10:13:00 +02:00
piLovr
5d697b9890 Update groups.ts 2023-08-31 09:46:01 +02:00
Neguin
1ef0ab01aa fix: added invite property (#218)
If the user does not allow to be added directly, it will be possible to get the invite code and create an invitation message for the user to join the group
2023-07-08 18:07:05 -03:00
aqulzz
7dc1cd6476 feat: approve, reject, list request join (#117) 2023-06-12 09:34:50 -03:00
SamuelScheit
07562c2204 feat: fetch groups if ib:dirty 2023-05-14 17:45:20 +02:00
Adhiraj Singh
fe1d0649b5 feat: add signal repository + tests 2023-03-18 12:25:47 +05:30
Adhiraj Singh
6c3958bb16 fix: desc for groups 2022-10-09 12:21:44 +05:30
Adhiraj Singh
8d6e00eab6 fix: handle when buffered tasks fail 2022-08-18 10:15:27 +05:30
Adhiraj Singh
2549d10be9 feat: update proto
The new proto extract has a bunch of breaking changes, so if you were using the raw proto in your code somewhere -- then you may have to update your code to make it work with the new proto

!BREAKING_CHANGE
2022-08-01 10:43:04 +05:30
Adhiraj Singh
40a1e268aa feat: add "strictNullChecks" 2022-07-09 10:20:07 +05:30
Adhiraj Singh
5cc58d4aed feat: add bulk "process" capability to BaileysBufferableEventEmitter 2022-07-04 11:34:41 +05:30
Adhiraj Singh
7421f55daa feat: implement event buffer for offline msgs
!BREAKING_CHANGE

1. this allows all offline notifications to be combined into a batch -- to reduce the number of events being sent out
2. to enable the above, the "message.reaction" event has been made an array. Also removes the need for the "operation" field
3. have also now started processing all events under a single queue to prevent state sync problems
2022-06-27 13:38:29 +05:30
Aditya Singh
a1082e85ed Fixed groupParticipantsUpdate request format (#1763) 2022-06-22 10:44:59 +05:30
Lucas Maia
51e5572f82 Update group.js (#1758)
Set status 200 as string, to standardize responses.
2022-06-20 15:44:24 +05:30
Adhiraj Singh
cacc1ce130 feat: implement "groupAcceptInviteV4" add participant msg 2022-06-19 15:33:28 +05:30
LeonardoBein
227cab2f95 feat: Returns an object with information about the invite code's group (#1562)
* feat: Returns an object with information about the invite code's group

* refactor: more information in metadata group
2022-06-13 20:34:01 +05:30
Adhiraj Singh
07f0ff86e8 chore: update group invite docs 2022-06-13 19:55:37 +05:30
✬Ravindu Manoj✬ ✓
846abbf7b9 catch errors in groupParticipantsUpdate (#1545)
* catch errors in groupParticipantsUpdate

* catch errors in groupParticipantsUpdate
2022-04-29 18:32:58 +05:30
Adhiraj Singh
ab65a4dad9 lint: lint pending files 2022-04-19 19:11:59 +05:30
Alon Schwartzblat
eb8f8e0d72 Add join group by groupInviteMessage (#1355)
* Add join group by groupInviteMessage

* Add join group by groupInviteMessage

* Fix typo
2022-03-25 16:18:00 +05:30
Mohammad Maaz
b5470e1b00 ephemeral tag is invalid. Valid tag is expiration (#1388) 2022-03-21 08:14:27 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
LyFE
072706368c fix groupMetdata (#1049) 2021-12-19 22:10:18 +05:30
Adhiraj Singh
e393f0f9a8 chore: make APIs similar for legacy + MD 2021-12-18 16:44:31 +05:30
Adhiraj Singh
49e7ad4b25 fix: typeerror on some group create 2021-12-07 22:09:18 +05:30
BochilGaming
823701a9c7 Add groupRevokeInvite, groupAcceptInvite and fix groupLeave (#860)
* Update groups.ts

* Fix: error TS2448: Block-scoped variable 'result' used before its declaration.
2021-11-15 12:44:43 +05:30
Ilya Borodin
ae80566c0e Group update description (#859)
* Added groupUpdateDescription

* Updated README

Co-authored-by: Ilya Borodin <ilya.borodin@botconversa.com.br>
2021-11-15 08:09:10 +05:30
Adhiraj Singh
469f3451d2 feat: catch groups create notification 2021-11-10 19:46:25 +05:30
Adhiraj Singh
019e04fb74 add participating groups query 2021-10-01 14:03:46 +05:30
Adhiraj Singh
fdfe310fdf implement encrypting app patches 2021-09-28 19:22:39 +05:30