tuyuribr
2052e0479d
Fix: multiple list sections ( #1004 )
...
* Fix multiple list sections
* singleQuotes
* Update src/structures/List.js
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2021-12-10 20:47:07 +01:00
Pedro Lopez
818bf48e5d
fix: convert button ids to string
2021-11-01 21:30:34 -04:00
Rajeh Taher
97a1d399ee
Format phone numbers ( #650 )
...
* 📦 Declared NumberInfo in store
* 📝 Add client.js functionality
* 🚨 eslint just admires singlequote strings
* 📝 Add shortcuts to using client method
* ♿ Adding parity between the ids
* ♿ Same method name parity
* 🚨 ESLint indentation error.
* 🚨 ESLint doublequote string error.
* 🎨 Proposed changes
* 🎨 Fixed badly done code :v and applied proposed changes.
* ⚡ fixed calling the wrong function (sigh)
* ⚡ Fixed missing try-catch code.
* 🚨 Fixes ESLint indentation errors.
* ⚡ fix the documentation issues.
* 🏷️ typescript
* 🏷️ Typo in function name
Co-authored-by: Rajeh Taher <rajeh@reforward.tk >
2021-10-29 23:33:38 -04:00
Pedro Lopez
353af130d0
remove unnecessary default
2021-10-29 23:25:06 -04:00
Rajeh Taher
06107af67d
Allow a chat to be muted indefinitely ( #849 )
...
* muteChat fixed
* Update src/Client.js
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
* Update src/Client.js
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
* date fix
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2021-10-29 23:24:36 -04:00
Rajeh Taher
95facee885
Fixes GroupNotification.getChat() returning client's chat. ( #699 )
...
* 🥅 getChat returns expected, instead of the client's chat.
* 🥅 Fixed .reply method too
* revert + fix
2021-10-29 23:00:10 -04:00
tuyuribr
b60029ed09
feat: Send buttons and Lists ( #756 )
2021-09-14 00:06:05 +03:00
tuyuribr
ab415ff9be
feat: Include payment info ( #684 )
2021-09-13 23:58:39 +03:00
Pedro S. Lopez
d9ccb6f276
fix: correctly resolve media that hasn't been downloaded ( #763 )
...
* fix: correctly abort if media does not exist
* catch 404s
* dont throw for media that cant be fetched
2021-08-01 23:29:06 -04:00
Wictor Nogueira
cd774bef17
feat: Add MessageMedia.fromUrl method ( #769 )
2021-07-31 16:36:11 +03:00
tuyuribr
cdede835af
Include Calls ( #720 )
...
* Get Call module
* The call event
* Update onCall index.d.ts
2021-07-17 00:05:53 -04:00
Rajeh Taher
54a07fa22f
feat: Add support to suspicious links ( #642 )
2021-07-12 11:03:11 -07:00
Giancarlo Rocha
9d715735ed
feat: message forwarding score ( #716 )
2021-07-11 20:52:54 -04:00
Pedro S. Lopez
0ef6061d7e
Fix downloading media for WhatsApp Web v2.2126.10 ( #735 )
...
* fix downloadMedia
* return a boolean for hasMedia
2021-07-09 02:38:31 -04:00
JoseHM8A
cdc00e934d
feat: acceptGroupV4Invite ( #677 )
...
* Added option client.acceptGroupV4Invite()
* Update Client.js
* Update index.d.ts
Added a description to the inviteV4 object
Renamed "invite" by "inviteV4"
* Update Client.js
* Update Message.js
renamed "invite" to "inviteV4"
* Update Client.js
* Added message.acceptGroupV4Invite method
* Update index.d.ts
acceptGroupV4Invite
* better typings, refactor some names
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2021-06-05 17:10:47 -04:00
tuyuribr
0a061f982c
feat: Add from which device the message was sent ( #648 )
...
* Add from which device the message was sent.
Use the message Id for fingerprint the device that was being use when the message was sent
* To single quotes
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
2021-05-31 21:03:23 -04:00
renjop
5177a257cf
feat: Get Orders and Products ( #612 )
...
* - Get products and orders
* - Get products and orders
* - Eslint fixes
* - Eslint fixes
* allow downloading media for products
* products and orders work on normal accounts
Co-authored-by: Renato Jop <renato.jop@consystec-corp.com >
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
2021-05-31 20:46:43 -04:00
Antoine Schaller
2702757dce
fix: star() & unstar() functions ( #547 )
2021-02-15 22:24:07 -04:00
Pedro S. Lopez
e2acd03efc
fix: download media on WhatsApp Web v2.2104.6
2021-02-09 00:24:48 -04:00
Pedro S. Lopez
cea1830dde
docs: fix error generating Label docs
2020-12-29 00:33:49 -04:00
Pedro S. Lopez
f639c53f0a
feat: Get message delivery information ( close #418 )
2020-12-29 00:33:49 -04:00
Raphael R
3e32fe27ea
feat: mark chat as unread ( #475 )
...
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-12-29 00:33:49 -04:00
Marcelo Carvalho
5c6195738f
feat: add GroupChat types ( #485 )
...
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-12-29 00:33:49 -04:00
Pedro S. Lopez
32575490da
docs: fix typo
2020-12-29 00:33:49 -04:00
Antoine Schaller
5a0ccc8b17
feat: added starred indicator to messages ( #501 )
...
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-12-29 00:33:49 -04:00
Marcelo Carvalho
1b946940f4
feat: star/unstar messages ( #494 )
2020-12-29 00:33:49 -04:00
Pedro S. Lopez
71dbe99023
feat: get Contact's "About" text ( close #491 )
2020-12-29 00:33:49 -04:00
Pedro S. Lopez
8b101d1f3d
feat: get links included in message ( #457 )
2020-12-29 00:33:49 -04:00
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
victormga
a1d09e0e21
fix: fetchMessages when msgs length is smaller than limit ( #438 )
2020-11-19 15:03:39 -04:00
Pedro Lopez
054ef4a84f
add typings
2020-11-05 02:06:13 -04:00
Pedro S. Lopez
c9bc0a1c8b
Merge branch 'master' into bugfix-multi_vcard
2020-11-05 01:55:03 -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
Lucas Rosa
75296b652b
feat: add received vcards to the message.
2020-10-26 19:49:06 -03:00
Lucas Rosa
b15ec768d3
fix: show multiple vcard as array in body
2020-10-26 16:23:26 -03: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
Aliyss Snow
aedf41b762
feat: Pin and unpin Chats ( #166 )
...
* Added Pinning
- chat.pin() to pin
- chat.unpin() to unpin
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-10-11 15:50:12 -04:00
Pedro S. Lopez
bf2775d1f0
feat: update group settings (messages and set info admins only) ( #374 )
...
close #187
2020-10-11 15:14:06 -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
Leonardo Almeida
cbf8fb7cf5
feat: chat mute expiration timestamp ( #351 )
...
add chat.muteExpiration to indicate when the mute expires
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-09-27 19:11:08 -04:00
Pedro Lopez
502b22f6d7
feat: forward messages
...
close #316
2020-08-25 23:00:35 -04:00
Pedro Lopez
7180beda2e
feat: Get corresponding Chat from Contact object and vice versa
...
close #269
2020-08-17 23:31:19 -04:00
Pedro Lopez
34aa136bf9
fix(docs): Correctly document Chat timestamp property
...
close #287
2020-08-17 22:36:32 -04:00
stefanfuchs
5c84a1651d
chore: add missing types in JSDoc/TSDoc (ClientOptions, ClientInfo, MessageSendOptions, Session) ( #286 )
...
* chore: add ClientOptions and ClientInfo in JSDoc
* chore: add MessageSendOptions type
* chore: add ClientSession type in JSDoc
* chore: remove @todo from createGroup (was already solved)
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2020-08-03 02:52:37 -04:00
Pedro Lopez
753b6772ab
feat: get current battery status
2020-06-18 01:28:25 -04:00
Pedro Lopez
ad9ae1f703
fix: move invite info to client
...
Since static methods do not have access to `this.client`, it was giving an error when trying to call these functions. The client itself is a better place for them.
close #258
2020-06-17 23:29:34 -04:00
Maximilian Walterskirchen
6c7a3f9899
fix: Added check for null in Message constructor ( #253 )
...
Co-authored-by: Walterskirchen <walterskirchen@walter-group.com >
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-06-16 18:15:19 -04:00
Aliyss Snow
47011a32a5
feat: Interface controls ( #220 )
...
- Open chat drawer
- Open chat window
- Open message info drawer
- Close drawer
2020-05-31 18:14:21 -04:00