dyegoaurelio
274d24002b
feat: WA Business Labels support ( #407 )
...
* Get all labels
* Get chats by label
* Get labels assigned to chats
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2020-12-29 00:33:49 -04:00
Pedro Lopez
467f2af7d8
fix: properly serialize chats with pending button replies
...
close #489
2020-12-21 21:55:38 -04:00
victormga
d86ccec5d1
fix: Expose store on WhatsApp Web v2.2047.10 ( #437 )
...
Fixed whatsapp updates
close #436
2020-11-19 14:55:41 -04:00
Pedro Lopez
7738f7910b
fix linting issues
2020-11-05 01:40:12 -04:00
Pedro Lopez
fc7a1a9974
fix: address removal of Conn.me
...
This change on WhatsApp Web v2.2045.15 caused errors when sending messages and getting the current user id
2020-11-05 01:37:51 -04:00
Pedro Lopez
b0465ceeff
fix: expose GroupMetadata
...
WhatsApp Web v2.2045.15+ no longer has this in the store by default
2020-11-05 01:20:52 -04:00
yuvalfis
e520a96b20
fix: serialize msgs.buttons and delete msgs from chat model ( #402 )
...
Co-authored-by: yuvalFishler <yuvalf@realfriend.ai >
close #386
2020-11-01 18:32:46 -04:00
Pedro S. Lopez
42dd866a53
feat: boolean for indicating Status update messages ( #396 )
2020-10-26 00:45:09 -04:00
Pedro S. Lopez
20e07c43d7
feat: block/unblock contacts ( #397 )
2020-10-26 00:44:03 -04:00
Pedro S. Lopez
9b096db784
feat: Send contacts ( #395 )
...
Introduces the ability to send contact cards. You can send Contacts directly or send a vCard string and it will be automatically parsed. If you'd like to disable this autoparse functionality, you can set `parseVCards: false` as an option while sending a message.
close #293
2020-10-25 22:44:37 -04:00
Pedro S. Lopez
604656cf73
fix: change OpaqueData module lookup function ( #391 )
...
A change introduced in WhatsApp Web v2.2043.8 caused this to break, leading to issues while sending media
fix #390
2020-10-21 15:18:51 -04:00
Pedro Lopez
ba6ec7feab
fix: apply message serialization fix everywhere
...
Moving this to a serializer function like done with a couple other models guarantees getting messages with pending acks won't fail elsewhere. It also sets it up so the we can add/remove properties on the Message model as needed in the future.
related: 51a1028588
2020-10-09 02:29:07 -04:00
Pedro Lopez
ee21e14547
feat: indicate if chat is currently muted
2020-09-27 19:15:34 -04:00
Pedro Lopez
ab0db80063
fix: reliably get group metadata
...
GroupMetadata was only loaded for the first couple chats, so you could not access it on older group chats without performing an action that would update its state
close #264
2020-09-01 12:48:22 -04:00
Pedro Lopez
7da8345722
fix: upload media
...
As of WhatsApp Web v2.2035.12, the structure of the return value for `uploadMedia()` now returns an object that contains the previously returned data in its `mediaEntry` property.
fix #318
2020-08-25 22:30:04 -04:00
Pedro Lopez
8b656c2caf
fix: set thumbnail for media messages
...
close #55
2020-05-23 23:21:13 -04:00
Pedro Lopez
d6637d662a
fix: visual glitch when sending message to new chat; no longer require at least one chat to have been created
2020-05-16 02:08:13 -04:00
Pedro Lopez
686c99f0c7
feat: send audio as voice note
...
This adds the 'sendAudioAsVoice' option for messages
close #160
2020-04-14 23:18:08 -04:00
Pedro Lopez
bab54aea8b
fix: set url subtype for messages with link previews
...
Co-authored-by: João Vitor Miranda <joao.miranda@aluno.ufabc.edu.br >
Co-authored-by: Top <shmuliktop@users.noreply.github.com >
2020-04-14 22:42:05 -04:00
Pedro Lopez
044f62216b
feat: link previews
...
After this commit, previews for links will be enabled by default. To disable it, use linkPreview: false as an option when sending the message.
close #98
2020-04-11 19:45:06 -04:00
Antoine Schaller
f92f1ec6bf
Fix uploadMedia arguments after origin code change ( #153 )
2020-04-11 14:53:22 -04:00
sahalMoidu
98458f760e
feat : send conversation seen ( #66 )
...
After this commit, chats will be automatically marked as seen when a message is sent to it. If this is not the intended behavior, `sendSeen: false` can be set as part of the options object.
You can also manually mark a conversation as seen by calling the sendSeen() function on the Chat.
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-03-01 14:42:35 -04:00
Pedro Lopez
b07b38bbe8
feat: Simulate recording audio in chat, clear recording/typing state, standardize chatstate change function names
2020-02-29 14:07:47 -04:00
Anderson de Oliveira Machado
d35f101fac
feat: send typing in chat ( #87 )
...
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-02-29 13:55:27 -04:00
Pedro Lopez
60ee2ca522
feat: delete chat, clear chat
2020-02-26 00:39:33 -04:00
Pedro Lopez
3c500a6474
Merge branch 'master' of https://github.com/pedroslopez/whatsapp-web.js
2020-02-22 17:28:15 -04:00
Pedro Lopez
1c60c83e80
feat: Delete messages
2020-02-22 17:28:03 -04:00
sahalMoidu
1840826e2b
feat : Check if the given number is a whatsapp number ( #54 )
...
* feat : Check if the given number is a whatsapp number
- Avoids sending message to non whatsapp number
- Gets the id of the user from whatsapp server rather than generating on client
2020-02-17 09:10:07 -04:00
sahalMoidu
6ade08e814
Implemented changes mentioned in SimiPrambos PR#28 ( #52 )
...
* Implemented changes mentioned in SimiPrambos PR#28
To reflect new code structure
2020-02-14 17:53:28 -04:00
Pedro Lopez
ffe803306e
fix: send message media
...
In some cases, the mediaBlob was not resolved correctly
ref: #38
2020-02-09 21:30:28 -04:00
Pedro Lopez
5616613807
feat: Mention users, get user number from Contact model
2020-02-08 03:19:51 -04:00
Pedro Lopez
004312a99f
expose some more fields on contacts
2020-02-08 01:17:06 -04:00
Pedro Lopez
7b229a39a4
feat: Send and receive location
2020-02-08 00:46:55 -04:00
Pedro Lopez
2f0480c80e
docs: add more documentation
2020-02-04 23:04:51 -04:00
Pedro Lopez
a098d61b03
feat: send messages with attachments
...
close #3
2020-02-04 21:11:20 -04:00
Aliyss Snow
e2351db722
Added Contact Model ( #34 )
2020-02-02 19:08:36 -04:00
Pedro Lopez
cc477f9545
Add eslint config and fix linting issues
2020-02-02 14:50:04 -04:00
Pedro Lopez
5b9413de5c
[FIX] Expose Wap module
...
Setting group description and title did not work due to whatsapp no longer exposing it as it was previously.
2020-02-02 13:44:54 -04:00
Pedro Lopez
caa8598ec1
[+] Join groups by invite code
2020-02-02 00:52:51 -04:00
Pedro Lopez
88c56b1371
Return new message after sending
2020-02-01 19:34:28 -04:00
Pedro Lopez
64912dccfd
Download message attachments (images, documents, etc)
2019-11-24 04:23:08 -04:00
Pedro Lopez
512b21e522
[FIX] Use STREAM module for getting connection state instead of removed Conn model
2019-10-10 22:05:24 -04:00
Renato
46a7d025fe
searches for Chat module instead
2019-10-10 01:46:17 -03:00
Pedro Lopez
517e22381a
[-] Remove method to add extra serialized props. This does not work, and the prop being added was already included.
2019-09-08 03:54:44 -04:00
Pedro Lopez
cde0034d93
[+] Implement function to get all open chats.
...
Close #14
2019-09-08 03:18:40 -04:00
Pedro Lopez
cdfa1760eb
[FIX] Implement setDescription and setSubject for groups ( close #6 )
2019-09-08 03:09:07 -04:00
Pedro Lopez
cf8c54879e
Load moduleRaid from GitHub
2019-09-08 00:53:38 -04:00
Pedro Lopez
bf0fe8496c
[FIX] Use WhatsApp's new sendTextMsgToChat function for sending messages
2019-05-29 22:42:43 -04:00
Pedro Lopez
5576812017
[FIX] New method of exposing the store with moduleRaid
2019-05-29 22:29:24 -04:00
Pedro Lopez
1b7376885d
Add group chat functions, slight refactoring
2019-02-20 02:42:19 -04:00