@wppconnect/wa-js 2.28.0 → 3.0.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 +8 -0
- package/dist/chat/events/index.d.ts +1 -0
- package/dist/{whatsapp/misc/Locale.d.ts → chat/events/registerEditedMessageEvent.d.ts} +0 -8
- package/dist/chat/functions/deleteMessage.d.ts +4 -4
- package/dist/chat/functions/index.d.ts +4 -2
- package/dist/chat/functions/keepMessage.d.ts +30 -0
- package/dist/chat/functions/sendGroupInviteMessage.d.ts +56 -0
- package/dist/contact/functions/get.d.ts +27 -0
- package/dist/contact/functions/index.d.ts +2 -1
- package/dist/profile/functions/getMyProfileName.d.ts +26 -0
- package/dist/profile/functions/index.d.ts +1 -0
- package/dist/webpack/index.d.ts +9 -0
- package/dist/whatsapp/enums/KIC_ENTRY_POINT_TYP.d.ts +26 -0
- package/dist/whatsapp/enums/index.d.ts +1 -0
- package/dist/whatsapp/functions/GROUP_JID.d.ts +21 -0
- package/dist/whatsapp/functions/forwardMessagesToChats.d.ts +20 -0
- package/dist/whatsapp/functions/getPushname.d.ts +19 -0
- package/dist/whatsapp/functions/index.d.ts +4 -0
- package/dist/whatsapp/functions/keepMessage.d.ts +23 -0
- package/dist/whatsapp/misc/index.d.ts +0 -1
- package/dist/wppconnect-wa.js +1 -1
- package/package.json +32 -32
package/CHANGELOG.md
CHANGED
|
@@ -13,12 +13,4 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
declare class LocaleClass {
|
|
17
|
-
}
|
|
18
|
-
/** @whatsapp 14296
|
|
19
|
-
* @whatsapp 43725 >= 2.2204.13
|
|
20
|
-
* @whatsapp 914296 >= 2.2222.8
|
|
21
|
-
* @whatsapp 568064 >= 2.2230.8
|
|
22
|
-
*/
|
|
23
|
-
export declare const Locale: LocaleClass;
|
|
24
16
|
export {};
|
|
@@ -28,13 +28,13 @@ export interface DeleteMessageReturn {
|
|
|
28
28
|
* @example
|
|
29
29
|
* ```javascript
|
|
30
30
|
* // Delete a message
|
|
31
|
-
* WPP.chat.deleteMessage('[number]@
|
|
31
|
+
* WPP.chat.deleteMessage('[number]@c.us', 'msgid');
|
|
32
32
|
* // Delete a list of messages
|
|
33
|
-
* WPP.chat.deleteMessage('[number]@
|
|
33
|
+
* WPP.chat.deleteMessage('[number]@c.us', ['msgid1', 'msgid2]);
|
|
34
34
|
* // Delete a message and delete media
|
|
35
|
-
* WPP.chat.deleteMessage('[number]@
|
|
35
|
+
* WPP.chat.deleteMessage('[number]@c.us', 'msgid', true);
|
|
36
36
|
* // Revoke a message
|
|
37
|
-
* WPP.chat.deleteMessage('[number]@
|
|
37
|
+
* WPP.chat.deleteMessage('[number]@c.us', 'msgid', true, true);
|
|
38
38
|
* ```
|
|
39
39
|
*
|
|
40
40
|
* @category Message
|
|
@@ -36,6 +36,7 @@ export { getQuotedMsg } from './getQuotedMsg';
|
|
|
36
36
|
export { getQuotedMsgKey } from './getQuotedMsgKey';
|
|
37
37
|
export { getReactions } from './getReactions';
|
|
38
38
|
export { getVotes } from './getVotes';
|
|
39
|
+
export { keepMessage } from './keepMessage';
|
|
39
40
|
export { ChatListOptions, list } from './list';
|
|
40
41
|
export { markIsComposing } from './markIsComposing';
|
|
41
42
|
export { markIsPaused } from './markIsPaused';
|
|
@@ -54,12 +55,13 @@ export { prepareRawMessage } from './prepareRawMessage';
|
|
|
54
55
|
export { requestPhoneNumber } from './requestPhoneNumber';
|
|
55
56
|
export { PoolMessageOptions, sendCreatePollMessage, } from './sendCreatePollMessage';
|
|
56
57
|
export { AudioMessageOptions, AutoDetectMessageOptions, DocumentMessageOptions, FileMessageOptions, ImageMessageOptions, sendFileMessage, StickerMessageOptions, VideoMessageOptions, } from './sendFileMessage';
|
|
58
|
+
export { GroupInviteMessage, sendGroupInviteMessage, } from './sendGroupInviteMessage';
|
|
57
59
|
export { ListMessageOptions, sendListMessage } from './sendListMessage';
|
|
58
60
|
export { LocationMessageOptions, sendLocationMessage, } from './sendLocationMessage';
|
|
59
|
-
export { sendOrderMessage } from './sendOrderMessage';
|
|
61
|
+
export { OrderItems, OrderMessageOptions, sendOrderMessage, } from './sendOrderMessage';
|
|
60
62
|
export { sendRawMessage } from './sendRawMessage';
|
|
61
63
|
export { sendReactionToMessage } from './sendReactionToMessage';
|
|
62
|
-
export { sendScheduledCallMessage } from './sendScheduledCallMessage';
|
|
64
|
+
export { ScheduledCallMessageOptions, sendScheduledCallMessage, } from './sendScheduledCallMessage';
|
|
63
65
|
export { sendTextMessage, TextMessageOptions } from './sendTextMessage';
|
|
64
66
|
export { sendVCardContactMessage, VCardContact, } from './sendVCardContactMessage';
|
|
65
67
|
export { starMessage, StarMessageReturn } from './starMessage';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2023 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, MsgModel } from '../../whatsapp';
|
|
17
|
+
/**
|
|
18
|
+
* Keep or unkeep a message in a group chat with expiration
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```javascript
|
|
22
|
+
* // To keep a message in chat
|
|
23
|
+
* WPP.chat.keepMessage('true_[number]@c.us_ABCDEF', true);
|
|
24
|
+
*
|
|
25
|
+
* // To unkeep a message in chat
|
|
26
|
+
* WPP.chat.keepMessage('true_[number]@c.us_ABCDEF', false);
|
|
27
|
+
* ```
|
|
28
|
+
* @category Chat
|
|
29
|
+
*/
|
|
30
|
+
export declare function keepMessage(msgId: string | MsgKey, value?: boolean): Promise<MsgModel>;
|
|
@@ -0,0 +1,56 @@
|
|
|
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 '../../whatsapp';
|
|
17
|
+
import { SendMessageOptions, SendMessageReturn } from '..';
|
|
18
|
+
export interface GroupInviteMessage extends SendMessageOptions {
|
|
19
|
+
jpegThumbnail?: string;
|
|
20
|
+
inviteCode: string;
|
|
21
|
+
inviteCodeExpiration?: number;
|
|
22
|
+
groupId: string | Wid;
|
|
23
|
+
groupName?: string;
|
|
24
|
+
caption?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Send a group invite message
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```javascript
|
|
31
|
+
* WPP.chat.sendGroupInviteMessage(
|
|
32
|
+
* '[number]@c.us',
|
|
33
|
+
* {
|
|
34
|
+
* inviteCode: '123',
|
|
35
|
+
* groupId: '789@g.us'
|
|
36
|
+
* }
|
|
37
|
+
* );
|
|
38
|
+
*
|
|
39
|
+
* // After a invite
|
|
40
|
+
* const result = await WPP.group.addParticipants('789@g.us', '123@c.us');
|
|
41
|
+
* const participant = result['123@c.us'];
|
|
42
|
+
* if (participant.invite_code) {
|
|
43
|
+
* WPP.chat.sendGroupInviteMessage(
|
|
44
|
+
* '123@c.us',
|
|
45
|
+
* {
|
|
46
|
+
* inviteCode: participant.invite_code,
|
|
47
|
+
* inviteCodeExpiration: participant.invite_code_exp,
|
|
48
|
+
* groupId: '789@g.us'
|
|
49
|
+
* }
|
|
50
|
+
* );
|
|
51
|
+
* }
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @category Message
|
|
55
|
+
*/
|
|
56
|
+
export declare function sendGroupInviteMessage(chatId: any, options: GroupInviteMessage): Promise<SendMessageReturn>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2023 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 { ContactModel, Wid } from '../../whatsapp';
|
|
17
|
+
/**
|
|
18
|
+
* Get a contact by id
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```javascript
|
|
22
|
+
* await WPP.contact.get('[number]@c.us');
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @category Contact
|
|
26
|
+
*/
|
|
27
|
+
export declare function get(contactId: string | Wid): Promise<ContactModel | undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Copyright
|
|
2
|
+
* Copyright 2023 WPPConnect Team
|
|
3
3
|
*
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
* you may not use this file except in compliance with the License.
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
export { get } from './get';
|
|
16
17
|
export { getBusinessProfile } from './getBusinessProfile';
|
|
17
18
|
export { getCommonGroups } from './getCommonGroups';
|
|
18
19
|
export { getProfilePictureUrl } from './getProfilePictureUrl';
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
/**
|
|
17
|
+
* Get your current profile name
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```javascript
|
|
21
|
+
* const myProfileName = WPP.profile.getMyProfileName();
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @category Profile
|
|
25
|
+
*/
|
|
26
|
+
export declare function getMyProfileName(): string;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
export { editBusinessProfile } from './editBusinessProfile';
|
|
17
|
+
export { getMyProfileName } from './getMyProfileName';
|
|
17
18
|
export { getMyStatus } from './getMyStatus';
|
|
18
19
|
export { isBusiness } from './isBusiness';
|
|
19
20
|
export { removeMyProfilePicture } from './removeMyProfilePicture';
|
package/dist/webpack/index.d.ts
CHANGED
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/**
|
|
17
|
+
* Is setted true when the loader is injected
|
|
18
|
+
*/
|
|
19
|
+
export declare let loaderType: 'meta' | 'unknown' | 'webpack';
|
|
16
20
|
/**
|
|
17
21
|
* Is setted true when the loader is injected
|
|
18
22
|
*/
|
|
@@ -29,6 +33,11 @@ export declare function onInjected(listener: () => void, delay?: number): void;
|
|
|
29
33
|
export declare function onReady(listener: () => void, delay?: number): void;
|
|
30
34
|
export declare function onFullReady(listener: () => void, delay?: number): void;
|
|
31
35
|
export type SearchModuleCondition = (module: any, moduleId: string) => boolean;
|
|
36
|
+
export declare const __debug: () => {
|
|
37
|
+
modulesMap: {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
32
41
|
export declare let webpackRequire: (<T = any>(moduleId: string) => T) & {
|
|
33
42
|
/**
|
|
34
43
|
* module list
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2023 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
|
+
/**
|
|
17
|
+
* @whatsapp 982015
|
|
18
|
+
*/
|
|
19
|
+
export declare enum KIC_ENTRY_POINT_TYPE {
|
|
20
|
+
CHAT_INFO = 1,
|
|
21
|
+
SEARCH = 2,
|
|
22
|
+
CHAT = 3,
|
|
23
|
+
MEDIA = 4,
|
|
24
|
+
DOCS = 5,
|
|
25
|
+
LINKS = 6
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2023 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 '../misc';
|
|
17
|
+
/**
|
|
18
|
+
* @whatsapp 355813
|
|
19
|
+
*/
|
|
20
|
+
export declare function GROUP_JID(jid: Wid): any;
|
|
21
|
+
export declare function CHAT_JID(jid: Wid): any;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { ChatModel, MsgModel } from '../models';
|
|
17
|
+
/** @whatsapp 69951
|
|
18
|
+
* @whatsapp 450192 >= 2.2353.0
|
|
19
|
+
*/
|
|
20
|
+
export declare function forwardMessagesToChats(msgs: MsgModel[], chats: ChatModel[], displayCaptionText?: boolean): Promise<boolean>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2023 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
|
+
/**
|
|
17
|
+
* @whatsapp 135963 >= 2.2310.5
|
|
18
|
+
*/
|
|
19
|
+
export declare function getPushname(): string;
|
|
@@ -41,6 +41,7 @@ export * from './fetchLinkPreview';
|
|
|
41
41
|
export * from './findChat';
|
|
42
42
|
export * from './findCommonGroups';
|
|
43
43
|
export * from './findFirstWebLink';
|
|
44
|
+
export * from './forwardMessagesToChats';
|
|
44
45
|
export * from './frontendFireAndForget';
|
|
45
46
|
export * from './generateVideoThumbsAndDuration';
|
|
46
47
|
export * from './genLinkDeviceCodeForPhoneNumber';
|
|
@@ -59,11 +60,13 @@ export * from './getMembershipApprovalRequests';
|
|
|
59
60
|
export * from './getNumChatsPinned';
|
|
60
61
|
export * from './getOrderInfo';
|
|
61
62
|
export * from './getParticipants';
|
|
63
|
+
export * from './getPushname';
|
|
62
64
|
export * from './getQuotedMsgObj';
|
|
63
65
|
export * from './getReactions';
|
|
64
66
|
export * from './getSearchContext';
|
|
65
67
|
export * from './getVotes';
|
|
66
68
|
export * from './getWhatsAppWebExternalBetaJoinedIdb';
|
|
69
|
+
export * from './GROUP_JID';
|
|
67
70
|
export * from './groupParticipants';
|
|
68
71
|
export * from './handleAck';
|
|
69
72
|
export * from './handleSingleMsg';
|
|
@@ -73,6 +76,7 @@ export * from './isAuthenticated';
|
|
|
73
76
|
export * from './isRegistered';
|
|
74
77
|
export * from './isUnreadTypeMsg';
|
|
75
78
|
export * from './joinGroupViaInvite';
|
|
79
|
+
export * from './keepMessage';
|
|
76
80
|
export * from './markSeen';
|
|
77
81
|
export * from './mediaTypeFromProtobuf';
|
|
78
82
|
export * from './membershipApprovalRequestAction';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright 2023 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 '..';
|
|
17
|
+
/**
|
|
18
|
+
* @whatsapp 170235
|
|
19
|
+
*/
|
|
20
|
+
export declare function keepMessage(msg: MsgModel, t: number): Promise<any>;
|
|
21
|
+
export declare function undoKeepMessage(msg: MsgModel, options: {
|
|
22
|
+
deleteExpired: boolean;
|
|
23
|
+
}, n: number): Promise<any>;
|