forked from orkestral/venom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
151 lines (149 loc) · 10.1 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
import { format } from 'path';
/*
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
mMMMMMMMMMNNNmmNNNMMNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
mmNMMNMMMMNNNNNmmmddhdddNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
mddNMMNy:/odNmmddmmNNmdhhddmNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
NmmdNMNd:--+dNmmddhhddmmhsyhhmdmmNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
NmNmdNmy:.-oyNmmmhmdhho+sososyhhhddNMMMMMMMMMMMMM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MMMMMMMMMMMMMMMMMMMMNMMNMNMMMNMMNNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNNNNMMNNNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
*/
export { areAllMessagesLoaded } from './are-all-messages-loaded';
export { clearChat } from './clear-chat';
export { createGroup } from './create-group';
export { deleteConversation } from './delete-conversation';
export { deleteMessages } from './delete-messages';
export { downloadFile } from './download-file-with-credentials';
export { encryptAndUploadFile } from './encrypt-and-upload-file';
export { getAllChats } from './get-all-chats';
export { getAllChatIds } from './get-all-chats-ids';
export { getAllChatsWithMessages } from './get-all-chats-with-messages';
export { getAllContacts } from './get-all-contacts';
export { getAllGroupMetadata } from './get-all-group-metadata';
export { getAllGroups } from './get-all-groups';
export { getAllMessagesInChat } from './get-all-messages-in-chat';
export { getAllNewMessages } from './get-all-new-messages';
export { getAllUnreadMessages } from './get-all-unread-messages';
export { getBatteryLevel } from './get-battery-level';
export { getChat } from './get-chat';
export { getChatById } from './get-chat-by-id';
export { getChatByName } from './get-chat-by-name';
export { getAllChatsWithNewMessages } from './get-chats-with-new-messages';
export { getCommonGroups } from './get-common-groups';
export { getContact } from './get-contact';
export { getGroupAdmins } from './get-group-admins';
export { getGroupInviteLink } from './get-group-invite-link';
export { getGroupInfoFromInviteLink } from './get-group-info-from-invite-link';
export { getGroupMetadata } from './get-group-metadata';
export { getGroupParticipantIDs } from './get-group-participant-ids';
export { _getGroupParticipants } from './get-group-participants';
export { getHost } from './get-host';
export { getMe } from './get-me';
export { getMyContacts } from './get-my-contacts';
export { getNewId } from './get-new-id';
export { getNumberProfile } from './get-number-profile';
export { getProfilePicFromServer } from './get-profile-pic-from-server';
export { getStatus } from './get-status';
export { getUnreadMessages } from './get-unread-messages';
export { getUnreadMessagesInChat } from './get-unread-messages-in-chat';
export { hasUndreadMessages } from './has-unread-messages';
export { isConnected } from './is-connected';
export { isLoggedIn } from './is-logged-in';
export { leaveGroup } from './leave-group';
export {
asyncLoadAllEarlierMessages,
loadAllEarlierMessages,
} from './load-all-earlier-chat-messages';
export { loadAndGetAllMessagesInChat } from './load-and-get-all-messages-in-chat';
export { loadChatEarlierMessages } from './load-earlier-chat-messages';
export { loadEarlierMessagesTillDate } from './load-earlier-messages-til-date';
export { processFiles } from './process-files';
export { processMessageObj } from './process-message-object';
export { revokeGroupInviteLink } from './revoke-invite-link';
export { sendChatstate } from './send-chat-state';
export { sendFile } from './send-file';
export { sendImage } from './send-image';
export { sendPtt } from './send-ptt';
export { sendImageAsSticker } from './send-image-as-stricker';
export { sendImageWithProduct } from './send-image-with-product';
export { sendLocation } from './send-location';
export { sendMessage } from './send-message';
export { sendMessageWithTags } from './send-message-with-tags';
export { sendMessageWithThumb } from './send-message-with-thumb';
export { sendMessage2 } from './send-message2';
export { sendSeen } from './send-seen';
export { sendSticker } from './send-sticker';
export { sendVideoAsGif } from './send-video-as-gif';
export { setMyName } from './set-my-name';
export { setMyStatus } from './set-my-status';
export { forwardMessages } from './forward-messages';
export { sendContactVcard } from './send-contact-vcard';
export { getNewMessageId } from './get-new-message-id';
export { reply } from './reply';
export { startTyping, stopTyping } from './simulate-typing';
export { getMessageById } from './get-message-by-id';
export { blockContact } from './block-contact';
export { unblockContact } from './unblock-contact';
export { removeParticipant } from './remove-participant';
export { addParticipant } from './add-participant';
export { promoteParticipant } from './promote-participant';
export { demoteParticipant } from './demote-participant';
export { openChat, openChatAt } from './open-chat';
export { joinGroup } from './join-group';
export { markUnseenMessage } from './mark-unseen-message.js';
export { getBlockList } from './block-list';
export { setTheme, getTheme } from './theme';
export { restartService } from './restart-service';
export { killServiceWorker } from './kill-service-worker';
export { sendLinkPreview } from './send-link-preview';
export { sendExist, scope, getchatId } from './check-send-exist';
export { sendContactVcardList } from './send-contact-vcard-list';
export { setProfilePic } from './set-profile-pic';
export { pinChat } from './fix-chat';
export { getSessionTokenBrowser } from './get-session-token';
//export { setPresence } from './set-presence';