@wppconnect/wa-js 2.17.0 → 2.18.0
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 +1 -1
- package/dist/chat/events/eventTypes.d.ts +10 -0
- package/dist/chat/events/index.d.ts +1 -0
- package/dist/chat/events/registerPollEvent.d.ts +16 -0
- package/dist/chat/functions/getReactions.d.ts +48 -0
- package/dist/chat/functions/getVotes.d.ts +33 -0
- package/dist/chat/functions/index.d.ts +2 -0
- package/dist/group/functions/addParticipants.d.ts +17 -1
- package/dist/group/functions/canAdd.d.ts +11 -0
- package/dist/group/functions/canDemote.d.ts +11 -0
- package/dist/group/functions/canPromote.d.ts +11 -0
- package/dist/group/functions/canRemove.d.ts +11 -0
- package/dist/group/functions/create.d.ts +35 -4
- package/dist/whatsapp/functions/getReactions.d.ts +37 -0
- package/dist/whatsapp/functions/getVotes.d.ts +22 -0
- package/dist/whatsapp/functions/index.d.ts +3 -0
- package/dist/whatsapp/functions/sendCreateGroup.d.ts +10 -4
- package/dist/whatsapp/functions/sendGroupParticipants.d.ts +7 -2
- package/dist/whatsapp/functions/upsertVotes.d.ts +29 -0
- package/dist/whatsapp/models/MsgModel.d.ts +7 -0
- package/dist/wppconnect-wa.js +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
# 2.
|
|
1
|
+
# 2.18.0 (2022-12-15)
|
|
@@ -135,4 +135,14 @@ export interface ChatEventTypes {
|
|
|
135
135
|
shortName: string;
|
|
136
136
|
}[];
|
|
137
137
|
};
|
|
138
|
+
/**
|
|
139
|
+
* On Poll response
|
|
140
|
+
*/
|
|
141
|
+
'chat.poll_response': {
|
|
142
|
+
msgId: MsgKey;
|
|
143
|
+
chatId: Wid;
|
|
144
|
+
selectedOptions: number[];
|
|
145
|
+
timestamp: number;
|
|
146
|
+
sender: Wid;
|
|
147
|
+
};
|
|
138
148
|
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
import './registerAckMessageEvent';
|
|
17
17
|
import './registerLiveLocationUpdateEvent';
|
|
18
18
|
import './registerNewMessageEvent';
|
|
19
|
+
import './registerPollEvent';
|
|
19
20
|
import './registerPresenceChange';
|
|
20
21
|
import './registerRevokeMessageEvent';
|
|
21
22
|
import './registerReactionsEvent';
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { MsgKey } from '../../whatsapp';
|
|
17
|
+
/**
|
|
18
|
+
* Get all reactions in a message
|
|
19
|
+
* @example
|
|
20
|
+
* ```javascript
|
|
21
|
+
* WPP.chat.getReactions('true_[number]@c.us_ABCDEF');
|
|
22
|
+
* ```
|
|
23
|
+
* @category Chat
|
|
24
|
+
*/
|
|
25
|
+
export declare function getReactions(msgId: string): Promise<{
|
|
26
|
+
reactionByMe: {
|
|
27
|
+
id: MsgKey;
|
|
28
|
+
orphan: number;
|
|
29
|
+
msgId: MsgKey;
|
|
30
|
+
reactionText: string;
|
|
31
|
+
read: boolean;
|
|
32
|
+
senderUserJid: string;
|
|
33
|
+
timestamp: number;
|
|
34
|
+
};
|
|
35
|
+
reactions: {
|
|
36
|
+
aggregateEmoji: string;
|
|
37
|
+
hasReactionByMe: boolean;
|
|
38
|
+
senders: {
|
|
39
|
+
id: MsgKey;
|
|
40
|
+
orphan: number;
|
|
41
|
+
msgId: MsgKey;
|
|
42
|
+
reactionText: string;
|
|
43
|
+
read: boolean;
|
|
44
|
+
senderUserJid: string;
|
|
45
|
+
timestamp: number;
|
|
46
|
+
}[];
|
|
47
|
+
}[];
|
|
48
|
+
}>;
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { MsgKey, Wid } from '../../whatsapp';
|
|
17
|
+
/**
|
|
18
|
+
* Get votes of a poll
|
|
19
|
+
* @example
|
|
20
|
+
* ```javascript
|
|
21
|
+
* WPP.chat.getVotes('true_[number]@c.us_ABCDEF');
|
|
22
|
+
* ```
|
|
23
|
+
* @category Chat
|
|
24
|
+
*/
|
|
25
|
+
export declare function getVotes(id: string | MsgKey): Promise<{
|
|
26
|
+
msgId: MsgKey;
|
|
27
|
+
chatId: Wid;
|
|
28
|
+
votes: {
|
|
29
|
+
selectedOptions: number[];
|
|
30
|
+
timestamp: number;
|
|
31
|
+
sender: Wid;
|
|
32
|
+
}[];
|
|
33
|
+
}>;
|
|
@@ -31,6 +31,8 @@ export { getMessageACK } from './getMessageACK';
|
|
|
31
31
|
export { getMessageById } from './getMessageById';
|
|
32
32
|
export { getMessages, GetMessagesOptions } from './getMessages';
|
|
33
33
|
export { getPlatformFromMessage } from './getPlatformFromMessage';
|
|
34
|
+
export { getReactions } from './getReactions';
|
|
35
|
+
export { getVotes } from './getVotes';
|
|
34
36
|
export { ChatListOptions, list } from './list';
|
|
35
37
|
export { markIsComposing } from './markIsComposing';
|
|
36
38
|
export { markIsPaused } from './markIsPaused';
|
|
@@ -21,13 +21,29 @@ import { Wid } from '../../whatsapp';
|
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* ```javascript
|
|
24
|
-
* await WPP.group.addParticipants('[group@g.us]', [number@c.us]);
|
|
24
|
+
* const result = await WPP.group.addParticipants('[group@g.us]', [number@c.us]);
|
|
25
|
+
*
|
|
26
|
+
* // Get participant result:
|
|
27
|
+
* console.log(result['123@c.us'].code);
|
|
28
|
+
* console.log(result['123@c.us'].invite_code);
|
|
29
|
+
* console.log(result['123@c.us'].invite_code_exp);
|
|
30
|
+
* console.log(result['123@c.us'].message);
|
|
31
|
+
* console.log(result['123@c.us'].wid);
|
|
32
|
+
*
|
|
33
|
+
* const memberResult = result['123@c.us']; // To a variable
|
|
34
|
+
* // or
|
|
35
|
+
* const memberResult = Object.values(result)[0]; // Always the first member result
|
|
36
|
+
*
|
|
37
|
+
* // How to send a custom invite link
|
|
38
|
+
* const link = 'https://chat.whatsapp.com/' + result['123@c.us'].invite_code;
|
|
39
|
+
* console.log(link);
|
|
25
40
|
* ```
|
|
26
41
|
*
|
|
27
42
|
* @category Group
|
|
28
43
|
*/
|
|
29
44
|
export declare function addParticipants(groupId: string | Wid, participantsIds: (string | Wid) | (string | Wid)[]): Promise<{
|
|
30
45
|
[key: `${number}@c.us`]: {
|
|
46
|
+
wid: string;
|
|
31
47
|
code: number;
|
|
32
48
|
message: string;
|
|
33
49
|
invite_code: string | null;
|
|
@@ -14,4 +14,15 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { Wid } from '../../whatsapp';
|
|
17
|
+
/**
|
|
18
|
+
* Check if your account is allowed to add new participants
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```javascript
|
|
22
|
+
* const result = await WPP.group.canAdd('group@g.us');
|
|
23
|
+
* console.log(result);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @category Group
|
|
27
|
+
*/
|
|
17
28
|
export declare function canAdd(groupId: string | Wid): Promise<boolean>;
|
|
@@ -14,4 +14,15 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { Wid } from '../../whatsapp';
|
|
17
|
+
/**
|
|
18
|
+
* Check if your account is allowed to demote participants
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```javascript
|
|
22
|
+
* await WPP.group.canDemote('group@g.us');
|
|
23
|
+
* console.log(result);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @category Group
|
|
27
|
+
*/
|
|
17
28
|
export declare function canDemote(groupId: string | Wid, participantsIds: (string | Wid) | (string | Wid)[]): Promise<boolean>;
|
|
@@ -14,4 +14,15 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { Wid } from '../../whatsapp';
|
|
17
|
+
/**
|
|
18
|
+
* Check if your account is allowed to promote participants
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```javascript
|
|
22
|
+
* await WPP.group.canPromote('group@g.us');
|
|
23
|
+
* console.log(result);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @category Group
|
|
27
|
+
*/
|
|
17
28
|
export declare function canPromote(groupId: string | Wid, participantsIds: (string | Wid) | (string | Wid)[]): Promise<boolean>;
|
|
@@ -14,4 +14,15 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { Wid } from '../../whatsapp';
|
|
17
|
+
/**
|
|
18
|
+
* Check if your account is allowed to remove participants
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```javascript
|
|
22
|
+
* const result = await WPP.group.canRemove('group@g.us');
|
|
23
|
+
* console.log(result);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @category Group
|
|
27
|
+
*/
|
|
17
28
|
export declare function canRemove(groupId: string | Wid, participantsIds: (string | Wid) | (string | Wid)[]): Promise<boolean>;
|
|
@@ -14,12 +14,43 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { Wid } from '../../whatsapp';
|
|
17
|
+
/**
|
|
18
|
+
* Create a new group
|
|
19
|
+
*
|
|
20
|
+
* The method return a object with the result of each participant as the key
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```javascript
|
|
24
|
+
* const result = await WPP.group.create('Test Group', ['number@c.us']);
|
|
25
|
+
*
|
|
26
|
+
* console.log(result.gid.toString()); // Get the group ID
|
|
27
|
+
*
|
|
28
|
+
* // Get participant result:
|
|
29
|
+
* console.log(result['number@c.us'].code);
|
|
30
|
+
* console.log(result['number@c.us'].invite_code);
|
|
31
|
+
* console.log(result['number@c.us'].invite_code_exp);
|
|
32
|
+
* console.log(result['number@c.us'].message);
|
|
33
|
+
* console.log(result['number@c.us'].wid);
|
|
34
|
+
*
|
|
35
|
+
* const memberResult = result['number@c.us']; // To a variable
|
|
36
|
+
* // or
|
|
37
|
+
* const memberResult = Object.values(result)[0]; // Always the first member result
|
|
38
|
+
*
|
|
39
|
+
* // How to send a custom invite link
|
|
40
|
+
* const link = 'https://chat.whatsapp.com/' + result['number@c.us'].invite_code;
|
|
41
|
+
* console.log(link);
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @category Group
|
|
45
|
+
*/
|
|
17
46
|
export declare function create(groupName: string, participantsIds: (string | Wid) | (string | Wid)[]): Promise<{
|
|
18
47
|
gid: Wid;
|
|
19
48
|
participants: {
|
|
20
|
-
[key:
|
|
21
|
-
|
|
49
|
+
[key: `${number}@c.us`]: {
|
|
50
|
+
wid: string;
|
|
51
|
+
code: number;
|
|
52
|
+
invite_code: string | null;
|
|
53
|
+
invite_code_exp: number | null;
|
|
22
54
|
};
|
|
23
|
-
}
|
|
24
|
-
status: number;
|
|
55
|
+
};
|
|
25
56
|
}>;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { MsgKey } from '../misc';
|
|
17
|
+
/**
|
|
18
|
+
* @whatsapp 297673
|
|
19
|
+
* @whatsapp 297673 >= 2.2232.6
|
|
20
|
+
*/
|
|
21
|
+
export interface ReactionReturn {
|
|
22
|
+
reactionByMe: any;
|
|
23
|
+
reactions: {
|
|
24
|
+
aggregateEmoji: string;
|
|
25
|
+
hasReactionByMe: boolean;
|
|
26
|
+
senders: {
|
|
27
|
+
msgKey: MsgKey;
|
|
28
|
+
orphan: number;
|
|
29
|
+
parentMsgKey: MsgKey;
|
|
30
|
+
reactionText: string;
|
|
31
|
+
read: boolean;
|
|
32
|
+
senderUserJid: string;
|
|
33
|
+
timestamp: number;
|
|
34
|
+
}[];
|
|
35
|
+
}[];
|
|
36
|
+
}
|
|
37
|
+
export declare function getReactions(msgId: string): Promise<ReactionReturn>;
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { MsgKey } from '../misc';
|
|
17
|
+
import { VoteData } from './upsertVotes';
|
|
18
|
+
/**
|
|
19
|
+
* @whatsapp 816349
|
|
20
|
+
* @whatsapp 816349 >= 2.2232.6
|
|
21
|
+
*/
|
|
22
|
+
export declare function getVotes(id: MsgKey): Promise<VoteData[]>;
|
|
@@ -34,7 +34,9 @@ export * from './getFanOutList';
|
|
|
34
34
|
export * from './getGroupSenderKeyList';
|
|
35
35
|
export * from './getHistorySyncProgress';
|
|
36
36
|
export * from './getQuotedMsgObj';
|
|
37
|
+
export * from './getReactions';
|
|
37
38
|
export * from './getSearchContext';
|
|
39
|
+
export * from './getVotes';
|
|
38
40
|
export * from './groupParticipants';
|
|
39
41
|
export * from './handleAck';
|
|
40
42
|
export * from './isAnimatedWebp';
|
|
@@ -73,3 +75,4 @@ export * from './updateDBForGroupAction';
|
|
|
73
75
|
export * from './updateParticipants';
|
|
74
76
|
export * from './uploadProductImage';
|
|
75
77
|
export * from './uploadThumbnail';
|
|
78
|
+
export * from './upsertVotes';
|
|
@@ -17,10 +17,16 @@ import { Wid } from '..';
|
|
|
17
17
|
/** @whatsapp 79583 */
|
|
18
18
|
export declare function sendCreateGroup(groupName: string, participants: Wid[], ephemeral?: number, dogfooding?: boolean): Promise<{
|
|
19
19
|
gid: Wid;
|
|
20
|
-
participants: {
|
|
21
|
-
[key:
|
|
20
|
+
participants: ({
|
|
21
|
+
[key: `${number}@c.us`]: {
|
|
22
22
|
code: string;
|
|
23
|
+
invite_code: string | null;
|
|
24
|
+
invite_code_exp: string | null;
|
|
23
25
|
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
+
} | {
|
|
27
|
+
userWid: Wid;
|
|
28
|
+
code: string;
|
|
29
|
+
invite_code: string | null;
|
|
30
|
+
invite_code_exp: string | null;
|
|
31
|
+
})[];
|
|
26
32
|
}>;
|
|
@@ -18,13 +18,18 @@ import { Wid } from '..';
|
|
|
18
18
|
* @whatsapp 437722 >= 2.2222.8
|
|
19
19
|
*/
|
|
20
20
|
export declare function sendAddParticipants(group: Wid, participants: Wid[]): Promise<{
|
|
21
|
-
participants?: {
|
|
21
|
+
participants?: ({
|
|
22
22
|
[key: `${number}@c.us`]: {
|
|
23
23
|
code: string;
|
|
24
24
|
invite_code: string | null;
|
|
25
25
|
invite_code_exp: string | null;
|
|
26
26
|
};
|
|
27
|
-
}
|
|
27
|
+
} | {
|
|
28
|
+
userWid: Wid;
|
|
29
|
+
code: string;
|
|
30
|
+
invite_code: string | null;
|
|
31
|
+
invite_code_exp: string | null;
|
|
32
|
+
})[];
|
|
28
33
|
status: number;
|
|
29
34
|
[key: `${number}@c.us`]: number;
|
|
30
35
|
}>;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { MsgKey, Wid } from '../misc';
|
|
17
|
+
export interface VoteData {
|
|
18
|
+
ack: number;
|
|
19
|
+
msgKey: MsgKey;
|
|
20
|
+
parentMsgKey: MsgKey;
|
|
21
|
+
selectedOptionLocalIds: number[];
|
|
22
|
+
sender: Wid;
|
|
23
|
+
senderTimestampMs: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @whatsapp 479261
|
|
27
|
+
* @whatsapp 479261 >= 2.2230
|
|
28
|
+
*/
|
|
29
|
+
export declare function upsertVotes(args: VoteData[]): Promise<any>;
|
|
@@ -267,6 +267,8 @@ interface Derived {
|
|
|
267
267
|
asImage?: any;
|
|
268
268
|
asVideo?: any;
|
|
269
269
|
asMms?: any;
|
|
270
|
+
asPollCreation?: any;
|
|
271
|
+
asPollUpdate?: any;
|
|
270
272
|
asUrl?: any;
|
|
271
273
|
asRevoked?: any;
|
|
272
274
|
asViewOnce?: any;
|
|
@@ -301,6 +303,11 @@ interface Derived {
|
|
|
301
303
|
hasBodyOrFooter: boolean;
|
|
302
304
|
initialPageSize?: any;
|
|
303
305
|
productListHeaderImage?: any;
|
|
306
|
+
pollInvalidated?: boolean;
|
|
307
|
+
pollName?: string;
|
|
308
|
+
pollOptions?: any;
|
|
309
|
+
pollSelectableOptionsCount?: number;
|
|
310
|
+
pollUpdateParentKey?: any;
|
|
304
311
|
}
|
|
305
312
|
/** @whatsapp 17304 */
|
|
306
313
|
export declare interface MsgModel extends ModelProxy<Props, Session, Derived> {
|