@wppconnect/wa-js 2.16.0 → 2.16.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
@@ -1,5 +1,5 @@
1
- # 2.16.0 (2022-11-19)
1
+ ## 2.16.2 (2022-11-23)
2
2
 
3
3
  ### Features
4
4
 
5
- - Added WPP.chat.requestPhoneNumber function ([4723eac](https://github.com/wppconnect-team/wa-js/commit/4723eac3c7035a914cff8343a30af82554eef1ee))
5
+ - Exported getQuotedMsgObj function ([9ea80a2](https://github.com/wppconnect-team/wa-js/commit/9ea80a27a8d4d2357f44da09e54ac1f18e1b95c1))
@@ -0,0 +1,20 @@
1
+ /*!
2
+ * Copyright 2022 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 { MsgModel } from '../models';
17
+ /**
18
+ * @whatsapp 697180 >= 2.2245.8
19
+ */
20
+ export declare function getQuotedMsgObj(msg: MsgModel): MsgModel;
@@ -339,7 +339,10 @@ export declare class MsgModel extends Model {
339
339
  downloadMedia(e?: any): any;
340
340
  applyUpdate(e?: any): any;
341
341
  waitForPrep(): any;
342
- quotedMsgObj(): any;
342
+ /**
343
+ * @whatsapp < 2.2245.8
344
+ */
345
+ quotedMsgObj?(): any;
343
346
  getQuotedMsgAdminGroupJid(): any;
344
347
  msgContextInfo(chatId: Wid): any;
345
348
  displayName(e?: any, t?: any): any;