BenyFilho
4327a5f681
Fix method openChatWindow ( #3936 )
...
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2025-11-06 21:32:06 +02:00
alechkos
d0642b761c
feat: Channel ( #2620 )
...
* window.injectToFunction clarifications
* added createChannel method
* initial Channel class structure
* added getChannelById and getChannels methods
* added 4 methods to change channel metadata
* added deleteChannel method
* added subscribe to/unsubscribe from channel methods
* ecmaVersion updated to 2022
* added searchChannels method
* refactoring of: getChat, getChannel, getChatModel, getChannelModel
* removed Channel.canSend
* sendMessage updated to support channels [p1]
* createChannel: returns string if an error occupied
* added getSubscribers
* added mute/unmute methods
* searchChannels: minor update
* sendMessage updated to support channels [p2]
- added support to send image, sticker, gif and video
* [REFAC] refactored chat retrieving in getChatOrChannel
* [FEAT] added getChannelByInviteCode method
* [CHG] added check if channel creation enabled
* [FEAT] added sendChannelAdminInvitation method
* [WIP] preparations for sending polls [p1]
* [BUG] fixed some internal functions
* [BUG] fixed poll creation
* [COPY] renamed some internal functions
- window.WWebJS.getChatOrChannel renamed back to window.WWebJS.getChat
-window.WWebJS.getChatOrChannelModel renamed back to window.WWebJS.getChatModel
* fix: typo
* fix: send docs without caption
* fix: fixed some internal function
* fix: channel retrieving
* fix: fixed internal getChannelMetadata function
* fix: fixed channel admin can unsubscribe from channel
* feat: channel admin functionality
* feat: added fetchMessages method
Co-authored-by: tuke307 <58882912+tuke307@users.noreply.github.com>
* refactor: revert removing support for Buttons and Lists
Note: buttons and lists are deprecated
* refactor: revert parameter name from 'chatOrChannel' to 'chat'
* fix: support Node v12
* refactor: return 'undefined' in a case of falsy value
* refactor: use already created variable
* docs: fix 'countryCodes' property type
* fix: 'searchChannels' method fixed
* fix: add check in 'setReactionSetting' method
* sendNewsletterMessageJob requires a proper Msg Object in 2.24xx (#10 )
Co-authored-by: Sven Neumann <s.neumann@websix.de>
* style: fix broken link in readme file
* fix: only directPath determines whether hasMedia or not
fixes #2952
* fix: get rid of unnecessary 'await'
* feat: add option to send polls in channels
* refactor: get channel instances with 'getChatById'
* chore: fix eslint
* fix: fatal error
* refactor: delete local models by default when unsubscribing
* fix: prevent TypeError if no channel models are returned
* fix: update 'searchChannels' function for WWeb > 2.3000.0
* fix: fix for 'getChannelByInviteCode' function
* fix: fix for 'sendChannelAdminInvite' function
* fix: update 'fetchMessages' for channels
* refactor: update 'setReactionSetting' function
* fix: update 'sendMessage' for channels
* feat: add 'transferChannelOwnership' function
* refactor: add 'deleteChannel' function to 'Client'
* style: fix project code style
* chore: eslint fix
* feat: add 'sendSeen' function
* fix: fix the function restoration after injection
* refactor: remove duplicate module
* fix: get isNewsletter properly
* fix: fix channels media - add mediaHandle
Co-authored-by: devlikepro <155617407+devlikepro@users.noreply.github.com>
---------
Co-authored-by: tuke307 <58882912+tuke307@users.noreply.github.com>
Co-authored-by: Sven <sven2neumann@gmail.com>
Co-authored-by: Sven Neumann <s.neumann@websix.de>
Co-authored-by: devlikepro <155617407+devlikepro@users.noreply.github.com>
2025-05-31 21:36:19 +03:00
alechkos
90b71cc6d3
fix: openChatWindowAt function ( #3347 )
...
* refactor: export the whole module, not a very single function
* fix: fix openChatWindowAt function
2025-05-30 14:32:53 +03:00
Lavyk Soares Nunes
4aef1ffea1
fix: openChatWindow ( #3293 )
...
* correção função openChatWindow
Alterando o "chat" para "chatId"
* fix: use defined variable
The bug found here: https://github.com/pedroslopez/whatsapp-web.js/pull/3291#discussion_r1776061417
Co-authored-by: StiflerPasha <40593009+StiflerPasha@users.noreply.github.com>
---------
Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
Co-authored-by: StiflerPasha <40593009+StiflerPasha@users.noreply.github.com>
2024-09-26 00:35:32 -03:00
alechkos
b4c576123a
fix: hotfix the 'openChatWindow' function ( #3291 )
...
Co-authored-by: Beny Filho <168232825+BenyFilho@users.noreply.github.com>
2024-09-25 14:33:04 -03:00
Alwin Lubbers
951ff7bfca
fix: sendMessage with quoted message id ( #3260 )
...
* fix: sendMessage with quoted message id
Now using `window.Store.Msg.getMessagesById` instead of `window.Store.Msg.get`
* refactor: apply message retrievement to all appropriate places
* chore: ignore ide's dirs
* fix: set proper variable
---------
Co-authored-by: Shir Serlui <70711723+shirser121@users.noreply.github.com>
Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
2024-09-15 01:44:07 +03:00
tofers
37724f6959
fix: msg.chat ( #2139 )
...
* fix function openChatWindowAt
* fix star \ unstar
* fix function delete
* fix closeRightDrawer
2023-04-19 02:50:08 +03:00
Pedro S. Lopez
23d5147a14
fix: compatibility with LegacyPhoneFeatures in latest WhatsApp Web version ( #1930 )
...
* fix removed features on latest wweb version
* errors
2023-01-15 14:30:20 -04:00
tuyuribr
89a06b15a8
Hot Fix WA 2.2147.14 ( #1035 )
...
* Hot Fix WA 2.2147.14
* Update Injected.js
* Update Client.js
* sendPresence1
* Update Client.js
* queryLinkPreview
* openChatDrawer
* revert back to using Wap
Co-authored-by: Pedro Lopez <pedroslopez@me.com>
2021-12-07 23:04:44 -04:00
Aliyss Snow
63d11d3f84
feat: disable / enable WA Web features ( #543 )
...
* Added Features and Enabling/Disabling of Features within WhatsappWeb
* remove feature commands from example
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com>
Co-authored-by: Pedro Lopez <pedroslopez@me.com>
2021-05-31 20:58:55 -04:00
tuyuribr
64e2cc48fc
feat: openChatWindow can open new chats ( #592 )
...
Open the chat window even if you never chatted with the chatId
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com>
2021-05-31 19:21:57 -04:00
Aliyss Snow
87cb5a0519
feat(interface): Open chat search, open chat at message position ( #447 )
2020-12-29 00:33:49 -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