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
Pedro Lopez
44f837c42a
fix: remove unreliable return values for new mute state
2020-05-24 00:19:23 -04:00
Aliyss Snow
4beeab9b2c
feat: mute/unmute chats ( #168 )
...
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-05-24 00:10:26 -04:00
Pedro Lopez
cca74ec8b9
docs: indicate return type for MessageMedia.fromFilePath
2020-05-23 23:28:19 -04:00
Pedro Lopez
7d2c89cf84
docs: fix wrong parameter name
2020-05-23 22:37:31 -04:00
Pedro Lopez
eb82e80343
feat: Helper function to create MessageMedia from a local file path
2020-05-23 22:35:59 -04:00
Pedro Lopez
8528d9b0b6
feat: get profile pic url by user ID
...
This moves the function from Contact to Client to enable getting profile picture without requiring a conversation before. The old function is still available on Contact for convenience and backwards-compatibility.
2020-04-11 19:03:47 -04:00
InstantlyMoist
470c7aea04
feat: added MediaKey in order to see which sticker has been sent ( #146 )
2020-04-11 14:54:19 -04:00
Pedro Lopez
7acbd3d800
fix: properly set chatId
...
This was causing errors when using the .reply() function
2020-04-05 22:57:59 -04:00
Pedro Lopez
67435b2244
fix: group events were not being triggered
2020-04-05 22:57:36 -04:00
Pedro Lopez
001c045c08
fix: only return undefined for ERROR_* media states
...
This was causing a regression as of 1.2.5 that caused media files sent by the client to not be properly downloaded
cc #111 @stevefold
2020-04-02 02:24:12 -04:00
Pedro Lopez
cb54487197
feat: add ack to message model
...
close #108
2020-03-22 20:00:53 -04:00
Pedro Lopez
25b96378c7
fix: properly handle unresolved media
2020-03-15 15:29:56 -04:00
Pedro S. Lopez
5934ec531f
fix: return undefined when attempting to download nonexistent media
...
This could occur when the user has deleted the media and it can no longer be downloaded.
2020-03-15 15:20:50 -04:00
Pedro Lopez
8599a6d918
fix: properly download media if it has not been loaded
...
This issue occurred when attempting to download media from old messages.
2020-03-14 17:37:59 -04:00
Pedro Lopez
49aacec4a7
fix: correctly splice and merge fetched messages
...
This was eliminating messages in the middle of the array instead of eliminating older messages to reach the specified limit.
close #97
2020-03-05 21:18:10 -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
Aliyss Snow
48b9ae1e81
feat: listen to group events ( #90 )
...
This allows you to listen for user joins or leaves, description updates, subject updates, picture updates, and group settings updates.
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-03-01 14:32:58 -04:00
Aliyss Snow
588dc93c17
chore: added index.js for structures ( #91 )
...
- Allows for a cleaner integration (imo) in Client.js
2020-03-01 13:59:09 -04:00
Pedro Lopez
16fe865a9c
feat: fetch chat messages
...
This will automatically fetch messages until it reaches the specified limit or there are no more messages. In the future, this should be extended to fetch messages before, after or around a specific message/date by adding props to the searchOptions object.
close #51
2020-02-29 16:01:13 -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
1ebaf56617
Merge branch 'master' of https://github.com/pedroslopez/whatsapp-web.js
2020-02-26 00:40:51 -04:00
Pedro Lopez
60ee2ca522
feat: delete chat, clear chat
2020-02-26 00:39:33 -04:00
Aliyss Snow
132424ea08
feat: archive chats ( #63 )
2020-02-25 20:06:46 -04:00
Pedro Lopez
1c60c83e80
feat: Delete messages
2020-02-22 17:28:03 -04:00
Pedro Lopez
7deef27800
chore: mark version v1.0.0
2020-02-09 00:58:10 -04:00
Pedro Lopez
5616613807
feat: Mention users, get user number from Contact model
2020-02-08 03:19:51 -04:00
Pedro Lopez
ef80f966ea
fix: correctly get message contact in group chats
2020-02-08 03:18:32 -04:00
Pedro Lopez
f2b286a319
feat: get contact's profile picture
2020-02-08 01:23:29 -04:00
Pedro Lopez
004312a99f
expose some more fields on contacts
2020-02-08 01:17:06 -04:00
Pedro Lopez
2896aeb382
fix some doc related stuff
2020-02-08 01:01:33 -04:00
Pedro Lopez
7b229a39a4
feat: Send and receive location
2020-02-08 00:46:55 -04:00
Aliyss Snow
4b1768450f
Get Mentions ( #35 )
2020-02-06 15:47:46 -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
a6cc5e5bf2
[+] Get quoted message
...
[FIX] Properly reply to messages sent by the current user
2020-02-01 22:41:53 -04:00
Pedro S. Lopez
ba8edc8d40
[+] Expose information about the logged in client ( #19 )
2020-02-01 21:16:03 -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
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
18199d8120
[+] New message_create event that is fired on all message creations.
...
A new property "fromMe" has also been added to messages.
Close #8
2019-09-08 03:48:19 -04:00
Pedro Lopez
cdfa1760eb
[FIX] Implement setDescription and setSubject for groups ( close #6 )
2019-09-08 03:09:07 -04:00
Pedro Lopez
ef4a59a4c4
[FIX] Reply to messages with new function on Store
2019-05-29 22:50:41 -04:00
Pedro Lopez
1b7376885d
Add group chat functions, slight refactoring
2019-02-20 02:42:19 -04:00