Commit Graph

100 Commits

Author SHA1 Message Date
ShellTear
f18c9483cc Update messages.ts
Remove string type and revert back to boolean.
2023-07-19 22:18:20 +03:00
Davidson Gomes
cba9827851 feat: Send Status (status@broadcast) {text, media, audio(with waveform)} (#249)
Co-authored-by: Davidson Gomes <contato@agenciadgcode.com>
2023-07-18 10:25:16 -03:00
Codeboss
2c76713565 feat: Add waveforms to voice messages (#180)
Co-authored-by: Edgard <edgardmessias@gmail.com>
2023-07-13 21:08:11 -03:00
ファイズ
a683cbe633 fix: Fixed ephemeral message visual bug (#185)
Co-authored-by: aqulzz <75623219+zennn08@users.noreply.github.com>
2023-07-08 18:06:13 -03:00
BochilGaming
8e1e9b9386 fix: fix edit message (#192) 2023-06-30 18:19:34 -03:00
Hisoka775
13c3b91852 feat: add contextInfo support 2023-06-15 20:02:39 -03:00
Andres Aya
7f60f163e6 fix: get poll request from getAggregateVotesInPollMessage in v1 v2 v3 (#74) 2023-05-16 19:35:01 +02:00
Rajeh Taher
9cce97e555 ESLint fix 2023-05-10 23:49:39 +03:00
Rajeh Taher
49c2195f82 ESLINT 2023-05-10 23:48:09 +03:00
Rajeh Taher
3478f2b679 Update messages.ts 2023-05-06 01:27:50 +03:00
Adhiraj Singh
d98d4156fe feat: utility functions for poll updates 2023-03-02 18:45:56 +05:30
Adhiraj Singh
cd42881201 feat: allow messageSecret as param to poll create 2023-03-02 17:42:34 +05:30
Adhiraj Singh
3052398cd0 Merge branch 'master' into pr/2472 2023-03-02 15:22:46 +05:30
Adhiraj Singh
06f2d354bf chore: lint files 2023-03-02 15:22:43 +05:30
Adhiraj Singh
ca24608dc8 chore: pass axios options to downloading remote media 2023-02-18 13:03:47 +05:30
Alan Mosko
9c71267e22 Update messages.ts 2023-01-17 11:53:13 -03:00
Alan Mosko
78f04d8714 wip 2023-01-11 23:58:29 -03:00
Adhiraj Singh
5041be776e feat: handle futureproofmessage 2022-12-23 16:58:39 +05:30
kaatt
474dc78d24 add viewOnceMessageV2 2022-12-23 16:58:39 +05:30
kaatt
fb1d39eba4 Update messages.ts
Co-Authored-By: Adhiraj Singh <adhirajsingh1001@gmail.com>
2022-12-23 16:58:39 +05:30
kaatt
39bd5b1c94 fix 2022-12-23 16:58:39 +05:30
kaatt
004bb98b59 remove console.log 2022-12-23 16:58:39 +05:30
kaatt
02e05aba42 improve normalizeMessageContent 2022-12-23 16:58:39 +05:30
Adhiraj Singh
f1ca770930 chore: add "documentWithCaptionMessage" to normalise msg 2022-11-23 10:50:54 +05:30
Adhiraj Singh
47900eae14 feat: add listReply 2022-11-13 12:23:22 +05:30
Adhiraj Singh
b2aa51a13d feat: add custom patchMsg function + remove patch for btns 2022-11-12 19:31:11 +05:30
Adhiraj Singh
f0bdb12e56 feat: generate high quality thumbs on link preview 2022-09-15 18:40:22 +05:30
Adhiraj Singh
561163c88d feat: allow downloading extendedTextMessage thumbs 2022-09-15 15:13:54 +05:30
Adhiraj Singh
3a891e071e feat: map all WA media types 2022-09-15 15:09:51 +05:30
Adhiraj Singh
765dcc1d1f fix: upload for product 2022-09-02 20:10:13 +05:30
Ilya Borodin
4f1d9492c5 Changed concat to push 2022-08-20 23:21:56 +05:30
Adhiraj Singh
8a234e1073 feat: implement product message sending 2022-08-08 16:25:20 +05:30
Adhiraj Singh
9f3b00d58d fix: temp patch for button/list messages 2022-08-04 11:13:00 +05:30
Adhiraj Singh
a4208a4bf6 fix: exclude emails from URL gen 2022-08-02 08:38:10 +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
aqulzz
200b75d53e fix: add senderTimestampMs automatically in reactMessage (#1845)
* docs: how to remove the reaction message

* Add `senderTimestampMs` automatically in reactMessage

* fix lint
2022-07-02 19:52:34 +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
Adhiraj Singh
24dd76771e fix: correctly extract media content 2022-06-21 13:56:21 +05:30
Adhiraj Singh
32fadda86a feat: add button reply 2022-06-13 16:22:28 +05:30
Adhiraj Singh
79518787b6 feat: prevent urlInfo gen 2022-06-10 09:52:36 +05:30
Adhiraj Singh
0ff6e1b571 chore: log more info when uploading media 2022-06-10 09:30:31 +05:30
Adhiraj Singh
cafc707628 feat: add option to reupload in downloadMediaMessage 2022-06-01 13:19:05 +05:30
Adhiraj Singh
4c51800b09 feat: add "assertMediaContent" util 2022-06-01 13:02:05 +05:30
Adhiraj Singh
15761ca9df chore: more modular link preview generation 2022-05-27 13:30:37 +05:30
Adhiraj Singh
ebec02908c feat: add clean message util before calling "messages.upsert" 2022-05-23 12:32:43 +05:30
Adhiraj Singh
4a8c6ed66d fix: correctly generate quoted msgs 2022-04-30 17:40:08 +05:30
Ilya Borodin
2228da3b08 Preview link fix (#1548)
* Preview link fix

* Preview link refactor

* Deleted empty line

* Redundant unnecessary changes

* Added checker for http/https prefix in link

Co-authored-by: Ilya Borodin <ilya.borodin@botconversa.com.br>
2022-04-29 18:32:13 +05:30
Adhiraj Singh
44a6ac3534 Merge branch 'master' into invalid-qr-patch 2022-04-22 18:20:17 +05:30
Adhiraj Singh
d5e46b784b fix: only generate urlInfo if not provided 2022-04-20 20:31:49 +05:30