@wppconnect/wa-js 3.17.1 → 3.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -90,7 +90,7 @@ There are a convection name for some exported modules:
|
|
|
90
90
|
|
|
91
91
|
`WPP.group.demoteParticipant` - Demote a participant from admin.
|
|
92
92
|
|
|
93
|
-
`WPP.group.
|
|
93
|
+
`WPP.group.getGroupInfoFromInviteCode` - Get group information from an invitation link or an invite code.
|
|
94
94
|
|
|
95
95
|
### Events
|
|
96
96
|
`WPP.chat.on('chat.new_message')` - Event to dispatch on receive a new message
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2021 WPPConnect Team
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Wid } from '..';
|
|
17
|
+
/**
|
|
18
|
+
* @whatsapp WAWebMexFetchGroupInviteCodeJob
|
|
19
|
+
*/
|
|
20
|
+
export declare function fetchMexGroupInviteCode(groupId: Wid): Promise<{
|
|
21
|
+
inviteCode: string;
|
|
22
|
+
}>;
|
|
@@ -46,6 +46,7 @@ export * from './encryptAndSendSenderKeyMsg';
|
|
|
46
46
|
export * from './encryptAndSendStatusMsg';
|
|
47
47
|
export * from './encryptMsgProtobuf';
|
|
48
48
|
export * from './fetchLinkPreview';
|
|
49
|
+
export * from './fetchMexGroupInviteCode';
|
|
49
50
|
export * from './findChat';
|
|
50
51
|
export * from './findCommonGroups';
|
|
51
52
|
export * from './findFirstWebLink';
|