Commit Graph

47 Commits

Author SHA1 Message Date
ファイズ
46fdab76ee added support for sending viewOnceMessage and updated README (#596)
* add support to send viewOnceMessage

* Update README.md

* add support send viewOnceMessage and update README

* remove something irrelevant from PR

Co-authored-by: LoL-Human <>
2021-07-14 22:21:59 +05:30
Ryn's
3ce4f6cc6e Add support for buttons message (#584)
* Add list message example

* New protobuf extracted by @tulir

It now supported sending for buttonsMessage

* New protobuf by @tulir

* Added support for buttons message

* Sorry i am sleepy.....

* Sorry my typo :3

* just tidying up
2021-07-13 17:32:27 +05:30
Ibnu syawal
bc4dc9625d Added support for send list message (#583) 2021-07-09 14:28:20 +05:30
Ibnu syawal
552afe5c24 Added method to send list message (#574)
* Added method to send list message

* Added method to send list message
2021-07-07 21:56:04 +05:30
ファイズ
0e2961981a Add support for groupV4Invite (#498) 2021-06-04 23:03:43 +05:30
Adhiraj Singh
3b2618910c Clear tmp media files + regen yarn lock 2021-04-12 21:01:20 +05:30
Pedro Dias
3b7c6e7aaa Update 6.MessagesSend.ts (#408) 2021-03-22 10:28:00 +05:30
Adhiraj Singh
a8f4e14412 Disappearing messages fix
- Fixes crash issue on groups
- Fixes (i) on group chats when disappearing messages is on
2021-03-19 21:18:21 +05:30
Omri Dagan
e670ff003e Add support for contacts array (#384)
* Add support for contacts array

* Remove contactsArray logs from Example.ts

* Undid prettier formatting of example.js
2021-03-07 02:03:47 +05:30
Adhiraj Singh
e1952ff349 Don't save original if not required for media + update readme 2021-01-15 12:16:09 +05:30
Adhiraj Singh
35aa857ab5 Listen for errors on got stream 2021-01-14 12:44:55 +05:30
Adhiraj Singh
2b50e4e6cc Update upload types 2021-01-13 23:09:09 +05:30
Adhiraj Singh
0344d6336c Stream uploads + downloads + allow for remote url uploads
- Switch to using got
- Use encryption/decryption streams for speed & lesser memory consumption
- Allow for stream based download & simultaneous upload of media
2021-01-13 22:48:28 +05:30
Adhiraj Singh
6cc5a910f7 Completely remove message-status-update & user-status-update 2021-01-04 14:19:44 +05:30
Adhiraj Singh
bb90e8b051 Merge pull request #295 from dimailn/force-message-id
Added option for forcing message id
2020-12-29 10:54:20 +05:30
Adhiraj Singh
471ba8c23f Add requiresPhoneConnection to sendMessage 2020-12-29 00:42:28 +05:30
Dmitry Sadovsky
165451d752 Added option for forcing message id 2020-12-28 13:41:27 +03:00
Adhiraj Singh
eb7b8506a9 Added support for sending + toggling disappearing messages 2020-12-12 00:21:11 +05:30
Adhiraj Singh
a778f999a9 Log link preview error 2020-12-11 15:43:14 +05:30
Adhiraj Singh
a0a47145a6 Use create instead of fromObject 2020-11-27 17:56:06 +05:30
Adhiraj Singh
242328abdc Presence fixes 2020-11-24 18:56:07 +05:30
Adhiraj Singh
ba8b8c693a Download media from ephemeral messages 2020-11-19 00:26:17 +05:30
Adhiraj Singh
f071a796c4 Update 6.MessagesSend.ts 2020-10-29 13:17:25 +05:30
Adhiraj Singh
a72ed7272d Automatic audio duration fetch 2020-10-22 20:23:35 +05:30
Adhiraj Singh
588209d57c Explicit waitForConnection + option to not load profile picture for new chats 2020-10-19 15:22:44 +05:30
Adhiraj Singh
e2d5fb1a25 More accurate phone connection detection 2020-10-15 16:50:52 +05:30
Adhiraj Singh
6c000ab093 Added logger, handled checksum fail 2020-10-12 20:32:32 +05:30
Adhiraj
67d82b4169 More explicit media sending 2020-10-01 13:22:14 +05:30
Adhiraj
3a878ae193 Updates
- removed timeout, use maxIdleTimeMs
- made messages a keyedDB to better utitlize message cache
- possible fix for group ID bug
2020-09-27 13:51:36 +05:30
Adhiraj
1bc44b4bd9 Update 6.MessagesSend.ts
Accidentally put /binary instead of octet-stream
2020-09-23 18:47:50 +05:30
Adhiraj
f3ecbb11a0 misc 2020-09-23 18:39:32 +05:30
Adhiraj
d86cde2805 added force media_conn option 2020-09-23 15:36:45 +05:30
Adhiraj
9da88c2db3 Update 6.MessagesSend.ts 2020-09-23 13:21:57 +05:30
Adhiraj
30cee92758 PTT Audio + Automatic link preview generation + Minor changes 2020-09-22 22:50:29 +05:30
Adhiraj
9cd79c50e7 . 2020-09-14 17:00:58 +05:30
Adhiraj
3f35baee2f . 2020-09-14 16:58:43 +05:30
Adhiraj
8bc19a8a82 messages are proto objects 2020-09-14 16:38:53 +05:30
Adhiraj
6d2eaf93cb Added mutex + fixed rare duplicate chats bug + fixed connect bug
The mutex will prevent duplicate functions from being called and throwing funky errors.
2020-09-09 14:16:08 +05:30
Adhiraj
f12f6fd90d added proxy support 2020-09-06 15:48:01 +05:30
Adhiraj
7cc35d6e84 try on all hosts for media 2020-09-06 13:21:54 +05:30
Adhiraj
b645214926 Better media conn handling 2020-09-05 19:28:35 +05:30
Adhiraj
33448690a4 audio tests 2020-09-03 10:25:00 +05:30
Adhiraj
cadd34bc0e protobuf uniformity + messages bug fix 2020-08-31 16:02:09 +05:30
Adhiraj
828be7f240 renamed user.id to user.jid 2020-08-28 20:22:35 +05:30
Adhiraj
d995af0104 quote bug fix 2020-08-26 23:33:14 +05:30
Adhiraj
dcb06be944 got rid of redundancies 2020-08-21 20:36:44 +05:30
Adhiraj
95d2567e76 Initial V3.0 2020-08-19 14:19:30 +05:30