rubjs 2.9.2 → 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/README.md +51 -36
- package/lib/clients/VoiceChatClient.d.ts +30 -0
- package/lib/clients/VoiceChatClient.js +179 -0
- package/lib/clients/index.d.ts +3 -0
- package/lib/clients/index.js +10 -0
- package/lib/clients/loginClient.d.ts +47 -0
- package/lib/clients/loginClient.js +108 -0
- package/lib/core/client.d.ts +38 -0
- package/lib/core/client.js +53 -0
- package/lib/core/crypto.d.ts +12 -0
- package/lib/core/crypto.js +95 -0
- package/lib/core/filters.d.ts +33 -0
- package/lib/core/filters.js +153 -0
- package/lib/core/methods/advanced/builder.d.ts +3 -0
- package/lib/core/methods/advanced/builder.js +30 -0
- package/lib/core/methods/auth/logout.d.ts +3 -0
- package/lib/core/methods/auth/logout.js +6 -0
- package/lib/core/methods/auth/registerDevice.d.ts +3 -0
- package/lib/core/methods/auth/registerDevice.js +47 -0
- package/lib/core/methods/auth/sendCode.d.ts +3 -0
- package/lib/core/methods/auth/sendCode.js +16 -0
- package/lib/core/methods/auth/signIn.d.ts +3 -0
- package/lib/core/methods/auth/signIn.js +13 -0
- package/lib/core/methods/channels/addChannel.d.ts +3 -0
- package/lib/core/methods/channels/addChannel.js +15 -0
- package/lib/core/methods/channels/addChannelMembers.d.ts +3 -0
- package/lib/core/methods/channels/addChannelMembers.js +11 -0
- package/lib/core/methods/channels/banChannelMember.d.ts +3 -0
- package/lib/core/methods/channels/banChannelMember.js +14 -0
- package/lib/core/methods/channels/cancelChangeObjectOwner.d.ts +3 -0
- package/lib/core/methods/channels/cancelChangeObjectOwner.js +6 -0
- package/lib/core/methods/channels/channelPreviewByJoinLink.d.ts +3 -0
- package/lib/core/methods/channels/channelPreviewByJoinLink.js +8 -0
- package/lib/core/methods/channels/checkChannelUsername.d.ts +3 -0
- package/lib/core/methods/channels/checkChannelUsername.js +8 -0
- package/lib/core/methods/channels/createChannelVoiceChat.d.ts +3 -0
- package/lib/core/methods/channels/createChannelVoiceChat.js +6 -0
- package/lib/core/methods/channels/discardChannelVoiceChat.d.ts +3 -0
- package/lib/core/methods/channels/discardChannelVoiceChat.js +9 -0
- package/lib/core/methods/channels/editChannelInfo.d.ts +4 -0
- package/lib/core/methods/channels/editChannelInfo.js +39 -0
- package/lib/core/methods/channels/getBannedChannelMembers.d.ts +3 -0
- package/lib/core/methods/channels/getBannedChannelMembers.js +9 -0
- package/lib/core/methods/channels/getChannelAdminAccessList.d.ts +3 -0
- package/lib/core/methods/channels/getChannelAdminAccessList.js +9 -0
- package/lib/core/methods/channels/getChannelAdminMembers.d.ts +3 -0
- package/lib/core/methods/channels/getChannelAdminMembers.js +9 -0
- package/lib/core/methods/channels/getChannelAllMembers.d.ts +3 -0
- package/lib/core/methods/channels/getChannelAllMembers.js +10 -0
- package/lib/core/methods/channels/getChannelInfo.d.ts +3 -0
- package/lib/core/methods/channels/getChannelInfo.js +6 -0
- package/lib/core/methods/channels/getChannelLink.d.ts +3 -0
- package/lib/core/methods/channels/getChannelLink.js +6 -0
- package/lib/core/methods/channels/getPendingObjectOwner.d.ts +3 -0
- package/lib/core/methods/channels/getPendingObjectOwner.js +6 -0
- package/lib/core/methods/channels/joinChannelAction.d.ts +3 -0
- package/lib/core/methods/channels/joinChannelAction.js +10 -0
- package/lib/core/methods/channels/joinChannelByLink.d.ts +3 -0
- package/lib/core/methods/channels/joinChannelByLink.js +8 -0
- package/lib/core/methods/channels/leaveChannelVoiceChat.d.ts +3 -0
- package/lib/core/methods/channels/leaveChannelVoiceChat.js +9 -0
- package/lib/core/methods/channels/removeChannel.d.ts +3 -0
- package/lib/core/methods/channels/removeChannel.js +6 -0
- package/lib/core/methods/channels/requestChangeObjectOwner.d.ts +3 -0
- package/lib/core/methods/channels/requestChangeObjectOwner.js +9 -0
- package/lib/core/methods/channels/seenChannelMessages.d.ts +3 -0
- package/lib/core/methods/channels/seenChannelMessages.js +10 -0
- package/lib/core/methods/channels/setChannelLink.d.ts +3 -0
- package/lib/core/methods/channels/setChannelLink.js +6 -0
- package/lib/core/methods/channels/setChannelVoiceChatSetting.d.ts +3 -0
- package/lib/core/methods/channels/setChannelVoiceChatSetting.js +15 -0
- package/lib/core/methods/channels/updateChannelUsername.d.ts +3 -0
- package/lib/core/methods/channels/updateChannelUsername.js +9 -0
- package/lib/core/methods/chats/actionOnJoinRequest.d.ts +3 -0
- package/lib/core/methods/chats/actionOnJoinRequest.js +11 -0
- package/lib/core/methods/chats/addLiveComment.d.ts +3 -0
- package/lib/core/methods/chats/addLiveComment.js +6 -0
- package/lib/core/methods/chats/clickMessageUrl.d.ts +3 -0
- package/lib/core/methods/chats/clickMessageUrl.js +6 -0
- package/lib/core/methods/chats/createJoinLink.d.ts +3 -0
- package/lib/core/methods/chats/createJoinLink.js +12 -0
- package/lib/core/methods/chats/deleteAvatar.d.ts +3 -0
- package/lib/core/methods/chats/deleteAvatar.js +6 -0
- package/lib/core/methods/chats/deleteChatHistory.d.ts +3 -0
- package/lib/core/methods/chats/deleteChatHistory.js +9 -0
- package/lib/core/methods/chats/editJoinLink.d.ts +3 -0
- package/lib/core/methods/chats/editJoinLink.js +23 -0
- package/lib/core/methods/chats/getAbsObjects.d.ts +3 -0
- package/lib/core/methods/chats/getAbsObjects.js +8 -0
- package/lib/core/methods/chats/getAvatars.d.ts +3 -0
- package/lib/core/methods/chats/getAvatars.js +6 -0
- package/lib/core/methods/chats/getChatReaction.d.ts +3 -0
- package/lib/core/methods/chats/getChatReaction.js +6 -0
- package/lib/core/methods/chats/getChats.d.ts +3 -0
- package/lib/core/methods/chats/getChats.js +6 -0
- package/lib/core/methods/chats/getChatsUpdates.d.ts +3 -0
- package/lib/core/methods/chats/getChatsUpdates.js +6 -0
- package/lib/core/methods/chats/getJoinLinks.d.ts +3 -0
- package/lib/core/methods/chats/getJoinLinks.js +6 -0
- package/lib/core/methods/chats/getJoinRequests.d.ts +3 -0
- package/lib/core/methods/chats/getJoinRequests.js +6 -0
- package/lib/core/methods/chats/getLinkFromAppUrl.d.ts +3 -0
- package/lib/core/methods/chats/getLinkFromAppUrl.js +6 -0
- package/lib/core/methods/chats/getLiveComments.d.ts +3 -0
- package/lib/core/methods/chats/getLiveComments.js +6 -0
- package/lib/core/methods/chats/getLivePlayUrl.d.ts +3 -0
- package/lib/core/methods/chats/getLivePlayUrl.js +6 -0
- package/lib/core/methods/chats/getLiveStatus.d.ts +3 -0
- package/lib/core/methods/chats/getLiveStatus.js +6 -0
- package/lib/core/methods/chats/getObjectInfoByUsername.d.ts +3 -0
- package/lib/core/methods/chats/getObjectInfoByUsername.js +8 -0
- package/lib/core/methods/chats/getTopChatUsers.d.ts +3 -0
- package/lib/core/methods/chats/getTopChatUsers.js +7 -0
- package/lib/core/methods/chats/removeFromTopChatUsers.d.ts +3 -0
- package/lib/core/methods/chats/removeFromTopChatUsers.js +6 -0
- package/lib/core/methods/chats/removeJoinLink.d.ts +3 -0
- package/lib/core/methods/chats/removeJoinLink.js +8 -0
- package/lib/core/methods/chats/searchChatMessages.d.ts +3 -0
- package/lib/core/methods/chats/searchChatMessages.js +14 -0
- package/lib/core/methods/chats/searchGlobalMessages.d.ts +3 -0
- package/lib/core/methods/chats/searchGlobalMessages.js +6 -0
- package/lib/core/methods/chats/seenChats.d.ts +3 -0
- package/lib/core/methods/chats/seenChats.js +6 -0
- package/lib/core/methods/chats/sendChatActivity.d.ts +3 -0
- package/lib/core/methods/chats/sendChatActivity.js +10 -0
- package/lib/core/methods/chats/sendLive.d.ts +3 -0
- package/lib/core/methods/chats/sendLive.js +17 -0
- package/lib/core/methods/chats/setActionChat.d.ts +3 -0
- package/lib/core/methods/chats/setActionChat.js +10 -0
- package/lib/core/methods/chats/uploadAvatar.d.ts +3 -0
- package/lib/core/methods/chats/uploadAvatar.js +14 -0
- package/lib/core/methods/contacts/addAddressBook.d.ts +3 -0
- package/lib/core/methods/contacts/addAddressBook.js +6 -0
- package/lib/core/methods/contacts/deleteContact.d.ts +3 -0
- package/lib/core/methods/contacts/deleteContact.js +6 -0
- package/lib/core/methods/contacts/getContacts.d.ts +3 -0
- package/lib/core/methods/contacts/getContacts.js +6 -0
- package/lib/core/methods/contacts/getContactsLastOnline.d.ts +3 -0
- package/lib/core/methods/contacts/getContactsLastOnline.js +6 -0
- package/lib/core/methods/contacts/getContactsUpdates.d.ts +3 -0
- package/lib/core/methods/contacts/getContactsUpdates.js +6 -0
- package/lib/core/methods/contacts/resetContacts.d.ts +3 -0
- package/lib/core/methods/contacts/resetContacts.js +7 -0
- package/lib/core/methods/extras/banMember.d.ts +3 -0
- package/lib/core/methods/extras/banMember.js +9 -0
- package/lib/core/methods/extras/deleteMessagebyCount.d.ts +3 -0
- package/lib/core/methods/extras/deleteMessagebyCount.js +19 -0
- package/lib/core/methods/extras/getInfo.d.ts +3 -0
- package/lib/core/methods/extras/getInfo.js +15 -0
- package/lib/core/methods/extras/getObjectByUsername.d.ts +3 -0
- package/lib/core/methods/extras/getObjectByUsername.js +8 -0
- package/lib/core/methods/extras/getProfileLinkItems.d.ts +3 -0
- package/lib/core/methods/extras/getProfileLinkItems.js +6 -0
- package/lib/core/methods/extras/getRelatedObjects.d.ts +3 -0
- package/lib/core/methods/extras/getRelatedObjects.js +6 -0
- package/lib/core/methods/extras/getTranscription.d.ts +3 -0
- package/lib/core/methods/extras/getTranscription.js +9 -0
- package/lib/core/methods/extras/join.d.ts +3 -0
- package/lib/core/methods/extras/join.js +11 -0
- package/lib/core/methods/extras/joinVoiceChat.d.ts +3 -0
- package/lib/core/methods/extras/joinVoiceChat.js +11 -0
- package/lib/core/methods/extras/leaveChat.d.ts +3 -0
- package/lib/core/methods/extras/leaveChat.js +9 -0
- package/lib/core/methods/extras/onEditMessages.d.ts +4 -0
- package/lib/core/methods/extras/onEditMessages.js +32 -0
- package/lib/core/methods/extras/reportObject.d.ts +14 -0
- package/lib/core/methods/extras/reportObject.js +21 -0
- package/lib/core/methods/extras/searchGlobalObjects.d.ts +3 -0
- package/lib/core/methods/extras/searchGlobalObjects.js +6 -0
- package/lib/core/methods/extras/sendVoiceChatActivity.d.ts +3 -0
- package/lib/core/methods/extras/sendVoiceChatActivity.js +13 -0
- package/lib/core/methods/extras/setVoiceChatState.d.ts +3 -0
- package/lib/core/methods/extras/setVoiceChatState.js +14 -0
- package/lib/core/methods/extras/transcribeVoice.d.ts +3 -0
- package/lib/core/methods/extras/transcribeVoice.js +6 -0
- package/lib/core/methods/extras/userIsAdmin.d.ts +3 -0
- package/lib/core/methods/extras/userIsAdmin.js +18 -0
- package/lib/core/methods/gif/addToMyGifSet.d.ts +3 -0
- package/lib/core/methods/gif/addToMyGifSet.js +6 -0
- package/lib/core/methods/gif/getMyGifSet.d.ts +3 -0
- package/lib/core/methods/gif/getMyGifSet.js +6 -0
- package/lib/core/methods/gif/removeFromMyGifSet.d.ts +3 -0
- package/lib/core/methods/gif/removeFromMyGifSet.js +6 -0
- package/lib/core/methods/groups/addGroup.d.ts +3 -0
- package/lib/core/methods/groups/addGroup.js +8 -0
- package/lib/core/methods/groups/addGroupMembers.d.ts +3 -0
- package/lib/core/methods/groups/addGroupMembers.js +8 -0
- package/lib/core/methods/groups/banGroupMember.d.ts +3 -0
- package/lib/core/methods/groups/banGroupMember.js +14 -0
- package/lib/core/methods/groups/createGroupVoiceChat.d.ts +3 -0
- package/lib/core/methods/groups/createGroupVoiceChat.js +6 -0
- package/lib/core/methods/groups/deleteNoAccessGroupChat.d.ts +3 -0
- package/lib/core/methods/groups/deleteNoAccessGroupChat.js +6 -0
- package/lib/core/methods/groups/discardGroupVoiceChat.d.ts +3 -0
- package/lib/core/methods/groups/discardGroupVoiceChat.js +9 -0
- package/lib/core/methods/groups/editGroupInfo.d.ts +6 -0
- package/lib/core/methods/groups/editGroupInfo.js +41 -0
- package/lib/core/methods/groups/getBannedGroupMembers.d.ts +3 -0
- package/lib/core/methods/groups/getBannedGroupMembers.js +6 -0
- package/lib/core/methods/groups/getGroupAdminAccessList.d.ts +3 -0
- package/lib/core/methods/groups/getGroupAdminAccessList.js +9 -0
- package/lib/core/methods/groups/getGroupAdminMembers.d.ts +3 -0
- package/lib/core/methods/groups/getGroupAdminMembers.js +6 -0
- package/lib/core/methods/groups/getGroupAllMembers.d.ts +3 -0
- package/lib/core/methods/groups/getGroupAllMembers.js +10 -0
- package/lib/core/methods/groups/getGroupDefaultAccess.d.ts +3 -0
- package/lib/core/methods/groups/getGroupDefaultAccess.js +6 -0
- package/lib/core/methods/groups/getGroupInfo.d.ts +3 -0
- package/lib/core/methods/groups/getGroupInfo.js +6 -0
- package/lib/core/methods/groups/getGroupLink.d.ts +3 -0
- package/lib/core/methods/groups/getGroupLink.js +6 -0
- package/lib/core/methods/groups/getGroupMentionList.d.ts +3 -0
- package/lib/core/methods/groups/getGroupMentionList.js +9 -0
- package/lib/core/methods/groups/getGroupOnlineCount.d.ts +3 -0
- package/lib/core/methods/groups/getGroupOnlineCount.js +6 -0
- package/lib/core/methods/groups/getGroupVoiceChatParticipants.d.ts +3 -0
- package/lib/core/methods/groups/getGroupVoiceChatParticipants.js +7 -0
- package/lib/core/methods/groups/getGroupVoiceChatUpdates.d.ts +3 -0
- package/lib/core/methods/groups/getGroupVoiceChatUpdates.js +10 -0
- package/lib/core/methods/groups/groupPreviewByJoinLink.d.ts +3 -0
- package/lib/core/methods/groups/groupPreviewByJoinLink.js +8 -0
- package/lib/core/methods/groups/joinGroup.d.ts +3 -0
- package/lib/core/methods/groups/joinGroup.js +9 -0
- package/lib/core/methods/groups/joinGroupVoiceChat.d.ts +3 -0
- package/lib/core/methods/groups/joinGroupVoiceChat.js +11 -0
- package/lib/core/methods/groups/leaveGroup.d.ts +3 -0
- package/lib/core/methods/groups/leaveGroup.js +6 -0
- package/lib/core/methods/groups/leaveGroupVoiceChat.d.ts +3 -0
- package/lib/core/methods/groups/leaveGroupVoiceChat.js +9 -0
- package/lib/core/methods/groups/removeGroup.d.ts +3 -0
- package/lib/core/methods/groups/removeGroup.js +6 -0
- package/lib/core/methods/groups/seenGroupMessages.d.ts +3 -0
- package/lib/core/methods/groups/seenGroupMessages.js +10 -0
- package/lib/core/methods/groups/setGroupAdmin.d.ts +5 -0
- package/lib/core/methods/groups/setGroupAdmin.js +17 -0
- package/lib/core/methods/groups/setGroupDefaultAccess.d.ts +4 -0
- package/lib/core/methods/groups/setGroupDefaultAccess.js +11 -0
- package/lib/core/methods/groups/setGroupLink.d.ts +3 -0
- package/lib/core/methods/groups/setGroupLink.js +6 -0
- package/lib/core/methods/groups/setGroupVoiceChatSetting.d.ts +3 -0
- package/lib/core/methods/groups/setGroupVoiceChatSetting.js +15 -0
- package/lib/core/methods/index.d.ts +188 -0
- package/lib/core/methods/index.js +598 -0
- package/lib/core/methods/messages/actionOnMessageReaction.d.ts +3 -0
- package/lib/core/methods/messages/actionOnMessageReaction.js +14 -0
- package/lib/core/methods/messages/createPoll.d.ts +3 -0
- package/lib/core/methods/messages/createPoll.js +26 -0
- package/lib/core/methods/messages/deleteMessages.d.ts +3 -0
- package/lib/core/methods/messages/deleteMessages.js +17 -0
- package/lib/core/methods/messages/editMessage.d.ts +3 -0
- package/lib/core/methods/messages/editMessage.js +15 -0
- package/lib/core/methods/messages/forwardMessages.d.ts +3 -0
- package/lib/core/methods/messages/forwardMessages.js +22 -0
- package/lib/core/methods/messages/getMessageShareUrl.d.ts +3 -0
- package/lib/core/methods/messages/getMessageShareUrl.js +6 -0
- package/lib/core/methods/messages/getMessages.d.ts +3 -0
- package/lib/core/methods/messages/getMessages.js +12 -0
- package/lib/core/methods/messages/getMessagesByID.d.ts +3 -0
- package/lib/core/methods/messages/getMessagesByID.js +11 -0
- package/lib/core/methods/messages/getMessagesInterval.d.ts +3 -0
- package/lib/core/methods/messages/getMessagesInterval.js +9 -0
- package/lib/core/methods/messages/getMessagesUpdates.d.ts +3 -0
- package/lib/core/methods/messages/getMessagesUpdates.js +6 -0
- package/lib/core/methods/messages/getPollOptionVoters.d.ts +3 -0
- package/lib/core/methods/messages/getPollOptionVoters.js +10 -0
- package/lib/core/methods/messages/getPollStatus.d.ts +3 -0
- package/lib/core/methods/messages/getPollStatus.js +6 -0
- package/lib/core/methods/messages/index.d.ts +26 -0
- package/lib/core/methods/messages/index.js +56 -0
- package/lib/core/methods/messages/sendDocument.d.ts +3 -0
- package/lib/core/methods/messages/sendDocument.js +6 -0
- package/lib/core/methods/messages/sendFileInline.d.ts +18 -0
- package/lib/core/methods/messages/sendFileInline.js +24 -0
- package/lib/core/methods/messages/sendGif.d.ts +3 -0
- package/lib/core/methods/messages/sendGif.js +6 -0
- package/lib/core/methods/messages/sendMessage.d.ts +3 -0
- package/lib/core/methods/messages/sendMessage.js +139 -0
- package/lib/core/methods/messages/sendMusic.d.ts +3 -0
- package/lib/core/methods/messages/sendMusic.js +6 -0
- package/lib/core/methods/messages/sendPhoto.d.ts +3 -0
- package/lib/core/methods/messages/sendPhoto.js +6 -0
- package/lib/core/methods/messages/sendSticker.d.ts +3 -0
- package/lib/core/methods/messages/sendSticker.js +6 -0
- package/lib/core/methods/messages/sendText.d.ts +3 -0
- package/lib/core/methods/messages/sendText.js +6 -0
- package/lib/core/methods/messages/sendVideo.d.ts +3 -0
- package/lib/core/methods/messages/sendVideo.js +6 -0
- package/lib/core/methods/messages/sendVideoMessage.d.ts +3 -0
- package/lib/core/methods/messages/sendVideoMessage.js +6 -0
- package/lib/core/methods/messages/sendVoice.d.ts +3 -0
- package/lib/core/methods/messages/sendVoice.js +6 -0
- package/lib/core/methods/messages/setPinMessage.d.ts +3 -0
- package/lib/core/methods/messages/setPinMessage.js +14 -0
- package/lib/core/methods/messages/votePoll.d.ts +3 -0
- package/lib/core/methods/messages/votePoll.js +6 -0
- package/lib/core/methods/settings/changePassword.d.ts +3 -0
- package/lib/core/methods/settings/changePassword.js +6 -0
- package/lib/core/methods/settings/checkTwoStepPasscode.d.ts +3 -0
- package/lib/core/methods/settings/checkTwoStepPasscode.js +6 -0
- package/lib/core/methods/settings/deleteFolder.d.ts +3 -0
- package/lib/core/methods/settings/deleteFolder.js +6 -0
- package/lib/core/methods/settings/getBlockedUsers.d.ts +3 -0
- package/lib/core/methods/settings/getBlockedUsers.js +6 -0
- package/lib/core/methods/settings/getFolders.d.ts +3 -0
- package/lib/core/methods/settings/getFolders.js +6 -0
- package/lib/core/methods/settings/getMySessions.d.ts +3 -0
- package/lib/core/methods/settings/getMySessions.js +6 -0
- package/lib/core/methods/settings/getPrivacySetting.d.ts +3 -0
- package/lib/core/methods/settings/getPrivacySetting.js +6 -0
- package/lib/core/methods/settings/getSuggestedFolders.d.ts +3 -0
- package/lib/core/methods/settings/getSuggestedFolders.js +6 -0
- package/lib/core/methods/settings/getTwoPasscodeStatus.d.ts +3 -0
- package/lib/core/methods/settings/getTwoPasscodeStatus.js +6 -0
- package/lib/core/methods/settings/requestRecoveryEmail.d.ts +3 -0
- package/lib/core/methods/settings/requestRecoveryEmail.js +9 -0
- package/lib/core/methods/settings/setSetting.d.ts +5 -0
- package/lib/core/methods/settings/setSetting.js +51 -0
- package/lib/core/methods/settings/setupTwoStepVerification.d.ts +3 -0
- package/lib/core/methods/settings/setupTwoStepVerification.js +10 -0
- package/lib/core/methods/settings/terminateOtherSessions.d.ts +3 -0
- package/lib/core/methods/settings/terminateOtherSessions.js +7 -0
- package/lib/core/methods/settings/terminateSession.d.ts +3 -0
- package/lib/core/methods/settings/terminateSession.js +6 -0
- package/lib/core/methods/settings/turnOffTwoStep.d.ts +3 -0
- package/lib/core/methods/settings/turnOffTwoStep.js +7 -0
- package/lib/core/methods/settings/updateProfile.d.ts +3 -0
- package/lib/core/methods/settings/updateProfile.js +21 -0
- package/lib/core/methods/settings/updateUsername.d.ts +3 -0
- package/lib/core/methods/settings/updateUsername.js +6 -0
- package/lib/core/methods/settings/verifyRecoveryEmail.d.ts +3 -0
- package/lib/core/methods/settings/verifyRecoveryEmail.js +6 -0
- package/lib/core/methods/stickers/actionOnStickerSet.d.ts +3 -0
- package/lib/core/methods/stickers/actionOnStickerSet.js +10 -0
- package/lib/core/methods/stickers/getMyStickerSets.d.ts +3 -0
- package/lib/core/methods/stickers/getMyStickerSets.js +6 -0
- package/lib/core/methods/stickers/getStickerSetByID.d.ts +3 -0
- package/lib/core/methods/stickers/getStickerSetByID.js +6 -0
- package/lib/core/methods/stickers/getStickersByEmoji.d.ts +3 -0
- package/lib/core/methods/stickers/getStickersByEmoji.js +6 -0
- package/lib/core/methods/stickers/getStickersBySetIds.d.ts +3 -0
- package/lib/core/methods/stickers/getStickersBySetIds.js +8 -0
- package/lib/core/methods/stickers/getTrendStickerSets.d.ts +3 -0
- package/lib/core/methods/stickers/getTrendStickerSets.js +6 -0
- package/lib/core/methods/stickers/searchStickers.d.ts +3 -0
- package/lib/core/methods/stickers/searchStickers.js +6 -0
- package/lib/core/methods/users/checkUserUsername.d.ts +3 -0
- package/lib/core/methods/users/checkUserUsername.js +6 -0
- package/lib/core/methods/users/deleteUserChat.d.ts +3 -0
- package/lib/core/methods/users/deleteUserChat.js +9 -0
- package/lib/core/methods/users/getMe.d.ts +3 -0
- package/lib/core/methods/users/getMe.js +6 -0
- package/lib/core/methods/users/getUserInfo.d.ts +3 -0
- package/lib/core/methods/users/getUserInfo.js +7 -0
- package/lib/core/methods/users/setBlockUser.d.ts +3 -0
- package/lib/core/methods/users/setBlockUser.js +9 -0
- package/lib/core/methods/utilities/index.d.ts +8 -0
- package/lib/core/methods/utilities/index.js +20 -0
- package/lib/core/methods/utilities/requestSendFile.d.ts +3 -0
- package/lib/core/methods/utilities/requestSendFile.js +11 -0
- package/lib/core/methods/utilities/run.d.ts +3 -0
- package/lib/core/methods/utilities/run.js +9 -0
- package/lib/core/methods/utilities/runErrorMiddlewares.d.ts +3 -0
- package/lib/core/methods/utilities/runErrorMiddlewares.js +13 -0
- package/lib/core/methods/utilities/start.d.ts +3 -0
- package/lib/core/methods/utilities/start.js +72 -0
- package/lib/core/methods/utilities/thumbnail.js +70 -0
- package/lib/core/methods/utilities/useError.d.ts +4 -0
- package/lib/core/methods/utilities/useError.js +6 -0
- package/lib/core/methods/utilities/usePlugin.d.ts +4 -0
- package/lib/core/methods/utilities/usePlugin.js +25 -0
- package/lib/core/network.d.ts +49 -0
- package/lib/core/network.js +436 -0
- package/lib/core/network_login.d.ts +47 -0
- package/lib/core/network_login.js +137 -0
- package/lib/core/session.d.ts +12 -0
- package/lib/core/session.js +65 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +50 -0
- package/lib/types/activities.type.d.ts +12 -0
- package/lib/types/activities.type.js +18 -0
- package/lib/types/chat.type.d.ts +14 -0
- package/lib/types/chat.type.js +20 -0
- package/lib/types/client.type.d.ts +33 -0
- package/lib/types/decorators.type.d.ts +173 -0
- package/lib/types/index.type.d.ts +7 -0
- package/lib/types/index.type.js +51 -0
- package/lib/types/message.type.d.ts +26 -0
- package/lib/types/message.type.js +72 -0
- package/lib/types/network.type.d.ts +7 -0
- package/lib/types/notifications.type.d.ts +14 -0
- package/lib/types/notifications.type.js +20 -0
- package/lib/types/session.type.d.ts +7 -0
- package/lib/utils/prompt.d.ts +1 -0
- package/lib/utils/prompt.js +17 -0
- package/package.json +45 -43
- package/rubjs/client.d.ts +0 -41
- package/rubjs/client.js +0 -40
- package/rubjs/clients/VoiceChatClient.d.ts +0 -30
- package/rubjs/clients/VoiceChatClient.js +0 -183
- package/rubjs/clients/index.d.ts +0 -4
- package/rubjs/clients/index.js +0 -12
- package/rubjs/clients/loginClient.d.ts +0 -47
- package/rubjs/clients/loginClient.js +0 -122
- package/rubjs/clients/sendLiveClient.d.ts +0 -25
- package/rubjs/clients/sendLiveClient.js +0 -146
- package/rubjs/crypto/index.d.ts +0 -12
- package/rubjs/crypto/index.js +0 -95
- package/rubjs/index.d.ts +0 -7
- package/rubjs/index.js +0 -53
- package/rubjs/methods/advanced/builder.d.ts +0 -3
- package/rubjs/methods/advanced/builder.js +0 -41
- package/rubjs/methods/auth/logout.d.ts +0 -3
- package/rubjs/methods/auth/logout.js +0 -17
- package/rubjs/methods/auth/registerDevice.d.ts +0 -3
- package/rubjs/methods/auth/registerDevice.js +0 -61
- package/rubjs/methods/auth/sendCode.d.ts +0 -3
- package/rubjs/methods/auth/sendCode.js +0 -27
- package/rubjs/methods/auth/signIn.d.ts +0 -3
- package/rubjs/methods/auth/signIn.js +0 -24
- package/rubjs/methods/channels/addChannel.d.ts +0 -3
- package/rubjs/methods/channels/addChannel.js +0 -26
- package/rubjs/methods/channels/addChannelMembers.d.ts +0 -3
- package/rubjs/methods/channels/addChannelMembers.js +0 -22
- package/rubjs/methods/channels/banChannelMember.d.ts +0 -3
- package/rubjs/methods/channels/banChannelMember.js +0 -25
- package/rubjs/methods/channels/cancelChangeObjectOwner.d.ts +0 -3
- package/rubjs/methods/channels/cancelChangeObjectOwner.js +0 -17
- package/rubjs/methods/channels/channelPreviewByJoinLink.d.ts +0 -3
- package/rubjs/methods/channels/channelPreviewByJoinLink.js +0 -19
- package/rubjs/methods/channels/checkChannelUsername.d.ts +0 -3
- package/rubjs/methods/channels/checkChannelUsername.js +0 -19
- package/rubjs/methods/channels/createChannelVoiceChat.d.ts +0 -3
- package/rubjs/methods/channels/createChannelVoiceChat.js +0 -17
- package/rubjs/methods/channels/discardChannelVoiceChat.d.ts +0 -3
- package/rubjs/methods/channels/discardChannelVoiceChat.js +0 -20
- package/rubjs/methods/channels/editChannelInfo.d.ts +0 -4
- package/rubjs/methods/channels/editChannelInfo.js +0 -50
- package/rubjs/methods/channels/getBannedChannelMembers.d.ts +0 -3
- package/rubjs/methods/channels/getBannedChannelMembers.js +0 -20
- package/rubjs/methods/channels/getChannelAdminAccessList.d.ts +0 -3
- package/rubjs/methods/channels/getChannelAdminAccessList.js +0 -20
- package/rubjs/methods/channels/getChannelAdminMembers.d.ts +0 -3
- package/rubjs/methods/channels/getChannelAdminMembers.js +0 -20
- package/rubjs/methods/channels/getChannelAllMembers.d.ts +0 -3
- package/rubjs/methods/channels/getChannelAllMembers.js +0 -21
- package/rubjs/methods/channels/getChannelInfo.d.ts +0 -3
- package/rubjs/methods/channels/getChannelInfo.js +0 -17
- package/rubjs/methods/channels/getChannelLink.d.ts +0 -3
- package/rubjs/methods/channels/getChannelLink.js +0 -17
- package/rubjs/methods/channels/getPendingObjectOwner.d.ts +0 -3
- package/rubjs/methods/channels/getPendingObjectOwner.js +0 -17
- package/rubjs/methods/channels/joinChannelAction.d.ts +0 -3
- package/rubjs/methods/channels/joinChannelAction.js +0 -21
- package/rubjs/methods/channels/joinChannelByLink.d.ts +0 -3
- package/rubjs/methods/channels/joinChannelByLink.js +0 -19
- package/rubjs/methods/channels/leaveChannelVoiceChat.d.ts +0 -3
- package/rubjs/methods/channels/leaveChannelVoiceChat.js +0 -20
- package/rubjs/methods/channels/removeChannel.d.ts +0 -3
- package/rubjs/methods/channels/removeChannel.js +0 -17
- package/rubjs/methods/channels/requestChangeObjectOwner.d.ts +0 -3
- package/rubjs/methods/channels/requestChangeObjectOwner.js +0 -20
- package/rubjs/methods/channels/seenChannelMessages.d.ts +0 -3
- package/rubjs/methods/channels/seenChannelMessages.js +0 -21
- package/rubjs/methods/channels/setChannelLink.d.ts +0 -3
- package/rubjs/methods/channels/setChannelLink.js +0 -17
- package/rubjs/methods/channels/setChannelVoiceChatSetting.d.ts +0 -3
- package/rubjs/methods/channels/setChannelVoiceChatSetting.js +0 -26
- package/rubjs/methods/channels/updateChannelUsername.d.ts +0 -3
- package/rubjs/methods/channels/updateChannelUsername.js +0 -20
- package/rubjs/methods/chats/actionOnJoinRequest.d.ts +0 -3
- package/rubjs/methods/chats/actionOnJoinRequest.js +0 -22
- package/rubjs/methods/chats/addLiveComment.d.ts +0 -3
- package/rubjs/methods/chats/addLiveComment.js +0 -17
- package/rubjs/methods/chats/clickMessageUrl.d.ts +0 -3
- package/rubjs/methods/chats/clickMessageUrl.js +0 -17
- package/rubjs/methods/chats/createJoinLink.d.ts +0 -3
- package/rubjs/methods/chats/createJoinLink.js +0 -23
- package/rubjs/methods/chats/deleteAvatar.d.ts +0 -3
- package/rubjs/methods/chats/deleteAvatar.js +0 -17
- package/rubjs/methods/chats/deleteChatHistory.d.ts +0 -3
- package/rubjs/methods/chats/deleteChatHistory.js +0 -20
- package/rubjs/methods/chats/editJoinLink.d.ts +0 -3
- package/rubjs/methods/chats/editJoinLink.js +0 -34
- package/rubjs/methods/chats/getAbsObjects.d.ts +0 -3
- package/rubjs/methods/chats/getAbsObjects.js +0 -19
- package/rubjs/methods/chats/getAvatars.d.ts +0 -3
- package/rubjs/methods/chats/getAvatars.js +0 -17
- package/rubjs/methods/chats/getChatReaction.d.ts +0 -3
- package/rubjs/methods/chats/getChatReaction.js +0 -17
- package/rubjs/methods/chats/getChats.d.ts +0 -3
- package/rubjs/methods/chats/getChats.js +0 -17
- package/rubjs/methods/chats/getChatsUpdates.d.ts +0 -3
- package/rubjs/methods/chats/getChatsUpdates.js +0 -17
- package/rubjs/methods/chats/getJoinLinks.d.ts +0 -3
- package/rubjs/methods/chats/getJoinLinks.js +0 -17
- package/rubjs/methods/chats/getJoinRequests.d.ts +0 -3
- package/rubjs/methods/chats/getJoinRequests.js +0 -17
- package/rubjs/methods/chats/getLinkFromAppUrl.d.ts +0 -3
- package/rubjs/methods/chats/getLinkFromAppUrl.js +0 -17
- package/rubjs/methods/chats/getLiveComments.d.ts +0 -3
- package/rubjs/methods/chats/getLiveComments.js +0 -17
- package/rubjs/methods/chats/getLivePlayUrl.d.ts +0 -3
- package/rubjs/methods/chats/getLivePlayUrl.js +0 -17
- package/rubjs/methods/chats/getLiveStatus.d.ts +0 -3
- package/rubjs/methods/chats/getLiveStatus.js +0 -17
- package/rubjs/methods/chats/getObjectInfoByUsername.d.ts +0 -3
- package/rubjs/methods/chats/getObjectInfoByUsername.js +0 -19
- package/rubjs/methods/chats/getTopChatUsers.d.ts +0 -3
- package/rubjs/methods/chats/getTopChatUsers.js +0 -18
- package/rubjs/methods/chats/removeFromTopChatUsers.d.ts +0 -3
- package/rubjs/methods/chats/removeFromTopChatUsers.js +0 -17
- package/rubjs/methods/chats/removeJoinLink.d.ts +0 -3
- package/rubjs/methods/chats/removeJoinLink.js +0 -19
- package/rubjs/methods/chats/searchChatMessages.d.ts +0 -3
- package/rubjs/methods/chats/searchChatMessages.js +0 -25
- package/rubjs/methods/chats/searchGlobalMessages.d.ts +0 -3
- package/rubjs/methods/chats/searchGlobalMessages.js +0 -17
- package/rubjs/methods/chats/seenChats.d.ts +0 -3
- package/rubjs/methods/chats/seenChats.js +0 -17
- package/rubjs/methods/chats/sendChatActivity.d.ts +0 -3
- package/rubjs/methods/chats/sendChatActivity.js +0 -21
- package/rubjs/methods/chats/sendLive.d.ts +0 -3
- package/rubjs/methods/chats/sendLive.js +0 -28
- package/rubjs/methods/chats/setActionChat.d.ts +0 -3
- package/rubjs/methods/chats/setActionChat.js +0 -21
- package/rubjs/methods/chats/uploadAvatar.d.ts +0 -3
- package/rubjs/methods/chats/uploadAvatar.js +0 -29
- package/rubjs/methods/contacts/addAddressBook.d.ts +0 -3
- package/rubjs/methods/contacts/addAddressBook.js +0 -17
- package/rubjs/methods/contacts/deleteContact.d.ts +0 -3
- package/rubjs/methods/contacts/deleteContact.js +0 -17
- package/rubjs/methods/contacts/getContacts.d.ts +0 -3
- package/rubjs/methods/contacts/getContacts.js +0 -17
- package/rubjs/methods/contacts/getContactsLastOnline.d.ts +0 -3
- package/rubjs/methods/contacts/getContactsLastOnline.js +0 -17
- package/rubjs/methods/contacts/getContactsUpdates.d.ts +0 -3
- package/rubjs/methods/contacts/getContactsUpdates.js +0 -17
- package/rubjs/methods/contacts/resetContacts.d.ts +0 -3
- package/rubjs/methods/contacts/resetContacts.js +0 -18
- package/rubjs/methods/extras/banMember.d.ts +0 -3
- package/rubjs/methods/extras/banMember.js +0 -20
- package/rubjs/methods/extras/deleteMessagebyCount.d.ts +0 -3
- package/rubjs/methods/extras/deleteMessagebyCount.js +0 -30
- package/rubjs/methods/extras/getInfo.d.ts +0 -3
- package/rubjs/methods/extras/getInfo.js +0 -26
- package/rubjs/methods/extras/getObjectByUsername.d.ts +0 -3
- package/rubjs/methods/extras/getObjectByUsername.js +0 -19
- package/rubjs/methods/extras/getProfileLinkItems.d.ts +0 -3
- package/rubjs/methods/extras/getProfileLinkItems.js +0 -17
- package/rubjs/methods/extras/getRelatedObjects.d.ts +0 -3
- package/rubjs/methods/extras/getRelatedObjects.js +0 -17
- package/rubjs/methods/extras/getTranscription.d.ts +0 -3
- package/rubjs/methods/extras/getTranscription.js +0 -20
- package/rubjs/methods/extras/join.d.ts +0 -3
- package/rubjs/methods/extras/join.js +0 -22
- package/rubjs/methods/extras/joinVoiceChat.d.ts +0 -3
- package/rubjs/methods/extras/joinVoiceChat.js +0 -22
- package/rubjs/methods/extras/leaveChat.d.ts +0 -3
- package/rubjs/methods/extras/leaveChat.js +0 -20
- package/rubjs/methods/extras/onEditMessages.d.ts +0 -3
- package/rubjs/methods/extras/onEditMessages.js +0 -41
- package/rubjs/methods/extras/reportObject.d.ts +0 -14
- package/rubjs/methods/extras/reportObject.js +0 -32
- package/rubjs/methods/extras/searchGlobalObjects.d.ts +0 -3
- package/rubjs/methods/extras/searchGlobalObjects.js +0 -17
- package/rubjs/methods/extras/sendVoiceChatActivity.d.ts +0 -3
- package/rubjs/methods/extras/sendVoiceChatActivity.js +0 -24
- package/rubjs/methods/extras/setVoiceChatState.d.ts +0 -3
- package/rubjs/methods/extras/setVoiceChatState.js +0 -25
- package/rubjs/methods/extras/transcribeVoice.d.ts +0 -3
- package/rubjs/methods/extras/transcribeVoice.js +0 -17
- package/rubjs/methods/extras/userIsAdmin.d.ts +0 -3
- package/rubjs/methods/extras/userIsAdmin.js +0 -29
- package/rubjs/methods/gif/addToMyGifSet.d.ts +0 -3
- package/rubjs/methods/gif/addToMyGifSet.js +0 -17
- package/rubjs/methods/gif/getMyGifSet.d.ts +0 -3
- package/rubjs/methods/gif/getMyGifSet.js +0 -17
- package/rubjs/methods/gif/removeFromMyGifSet.d.ts +0 -3
- package/rubjs/methods/gif/removeFromMyGifSet.js +0 -17
- package/rubjs/methods/groups/addGroup.d.ts +0 -3
- package/rubjs/methods/groups/addGroup.js +0 -19
- package/rubjs/methods/groups/addGroupMembers.d.ts +0 -3
- package/rubjs/methods/groups/addGroupMembers.js +0 -19
- package/rubjs/methods/groups/banGroupMember.d.ts +0 -3
- package/rubjs/methods/groups/banGroupMember.js +0 -25
- package/rubjs/methods/groups/createGroupVoiceChat.d.ts +0 -3
- package/rubjs/methods/groups/createGroupVoiceChat.js +0 -17
- package/rubjs/methods/groups/deleteNoAccessGroupChat.d.ts +0 -3
- package/rubjs/methods/groups/deleteNoAccessGroupChat.js +0 -17
- package/rubjs/methods/groups/discardGroupVoiceChat.d.ts +0 -3
- package/rubjs/methods/groups/discardGroupVoiceChat.js +0 -20
- package/rubjs/methods/groups/editGroupInfo.d.ts +0 -6
- package/rubjs/methods/groups/editGroupInfo.js +0 -52
- package/rubjs/methods/groups/getBannedGroupMembers.d.ts +0 -3
- package/rubjs/methods/groups/getBannedGroupMembers.js +0 -17
- package/rubjs/methods/groups/getGroupAdminAccessList.d.ts +0 -3
- package/rubjs/methods/groups/getGroupAdminAccessList.js +0 -20
- package/rubjs/methods/groups/getGroupAdminMembers.d.ts +0 -3
- package/rubjs/methods/groups/getGroupAdminMembers.js +0 -17
- package/rubjs/methods/groups/getGroupAllMembers.d.ts +0 -3
- package/rubjs/methods/groups/getGroupAllMembers.js +0 -21
- package/rubjs/methods/groups/getGroupDefaultAccess.d.ts +0 -3
- package/rubjs/methods/groups/getGroupDefaultAccess.js +0 -17
- package/rubjs/methods/groups/getGroupInfo.d.ts +0 -3
- package/rubjs/methods/groups/getGroupInfo.js +0 -17
- package/rubjs/methods/groups/getGroupLink.d.ts +0 -3
- package/rubjs/methods/groups/getGroupLink.js +0 -17
- package/rubjs/methods/groups/getGroupMentionList.d.ts +0 -3
- package/rubjs/methods/groups/getGroupMentionList.js +0 -20
- package/rubjs/methods/groups/getGroupOnlineCount.d.ts +0 -3
- package/rubjs/methods/groups/getGroupOnlineCount.js +0 -17
- package/rubjs/methods/groups/getGroupVoiceChatParticipants.d.ts +0 -3
- package/rubjs/methods/groups/getGroupVoiceChatParticipants.js +0 -18
- package/rubjs/methods/groups/getGroupVoiceChatUpdates.d.ts +0 -3
- package/rubjs/methods/groups/getGroupVoiceChatUpdates.js +0 -21
- package/rubjs/methods/groups/groupPreviewByJoinLink.d.ts +0 -3
- package/rubjs/methods/groups/groupPreviewByJoinLink.js +0 -19
- package/rubjs/methods/groups/joinGroup.d.ts +0 -3
- package/rubjs/methods/groups/joinGroup.js +0 -19
- package/rubjs/methods/groups/joinGroupVoiceChat.d.ts +0 -3
- package/rubjs/methods/groups/joinGroupVoiceChat.js +0 -22
- package/rubjs/methods/groups/leaveGroup.d.ts +0 -3
- package/rubjs/methods/groups/leaveGroup.js +0 -17
- package/rubjs/methods/groups/leaveGroupVoiceChat.d.ts +0 -3
- package/rubjs/methods/groups/leaveGroupVoiceChat.js +0 -20
- package/rubjs/methods/groups/removeGroup.d.ts +0 -3
- package/rubjs/methods/groups/removeGroup.js +0 -17
- package/rubjs/methods/groups/seenGroupMessages.d.ts +0 -3
- package/rubjs/methods/groups/seenGroupMessages.js +0 -21
- package/rubjs/methods/groups/setGroupAdmin.d.ts +0 -5
- package/rubjs/methods/groups/setGroupAdmin.js +0 -28
- package/rubjs/methods/groups/setGroupDefaultAccess.d.ts +0 -4
- package/rubjs/methods/groups/setGroupDefaultAccess.js +0 -22
- package/rubjs/methods/groups/setGroupLink.d.ts +0 -3
- package/rubjs/methods/groups/setGroupLink.js +0 -17
- package/rubjs/methods/groups/setGroupVoiceChatSetting.d.ts +0 -3
- package/rubjs/methods/groups/setGroupVoiceChatSetting.js +0 -26
- package/rubjs/methods/index.d.ts +0 -203
- package/rubjs/methods/index.js +0 -967
- package/rubjs/methods/messages/actionOnMessageReaction.d.ts +0 -3
- package/rubjs/methods/messages/actionOnMessageReaction.js +0 -25
- package/rubjs/methods/messages/createPoll.d.ts +0 -3
- package/rubjs/methods/messages/createPoll.js +0 -37
- package/rubjs/methods/messages/deleteMessages.d.ts +0 -3
- package/rubjs/methods/messages/deleteMessages.js +0 -28
- package/rubjs/methods/messages/editMessage.d.ts +0 -3
- package/rubjs/methods/messages/editMessage.js +0 -23
- package/rubjs/methods/messages/forwardMessages.d.ts +0 -3
- package/rubjs/methods/messages/forwardMessages.js +0 -31
- package/rubjs/methods/messages/getMessageShareUrl.d.ts +0 -3
- package/rubjs/methods/messages/getMessageShareUrl.js +0 -17
- package/rubjs/methods/messages/getMessages.d.ts +0 -3
- package/rubjs/methods/messages/getMessages.js +0 -23
- package/rubjs/methods/messages/getMessagesByID.d.ts +0 -3
- package/rubjs/methods/messages/getMessagesByID.js +0 -22
- package/rubjs/methods/messages/getMessagesInterval.d.ts +0 -3
- package/rubjs/methods/messages/getMessagesInterval.js +0 -20
- package/rubjs/methods/messages/getMessagesUpdates.d.ts +0 -3
- package/rubjs/methods/messages/getMessagesUpdates.js +0 -17
- package/rubjs/methods/messages/getPollOptionVoters.d.ts +0 -3
- package/rubjs/methods/messages/getPollOptionVoters.js +0 -21
- package/rubjs/methods/messages/getPollStatus.d.ts +0 -3
- package/rubjs/methods/messages/getPollStatus.js +0 -17
- package/rubjs/methods/messages/index.d.ts +0 -27
- package/rubjs/methods/messages/index.js +0 -58
- package/rubjs/methods/messages/requestSendFile.d.ts +0 -4
- package/rubjs/methods/messages/requestSendFile.js +0 -22
- package/rubjs/methods/messages/sendDocument.d.ts +0 -3
- package/rubjs/methods/messages/sendDocument.js +0 -17
- package/rubjs/methods/messages/sendFileInline.d.ts +0 -18
- package/rubjs/methods/messages/sendFileInline.js +0 -35
- package/rubjs/methods/messages/sendGif.d.ts +0 -3
- package/rubjs/methods/messages/sendGif.js +0 -17
- package/rubjs/methods/messages/sendMessage.d.ts +0 -3
- package/rubjs/methods/messages/sendMessage.js +0 -149
- package/rubjs/methods/messages/sendMusic.d.ts +0 -3
- package/rubjs/methods/messages/sendMusic.js +0 -17
- package/rubjs/methods/messages/sendPhoto.d.ts +0 -3
- package/rubjs/methods/messages/sendPhoto.js +0 -17
- package/rubjs/methods/messages/sendSticker.d.ts +0 -3
- package/rubjs/methods/messages/sendSticker.js +0 -17
- package/rubjs/methods/messages/sendText.d.ts +0 -3
- package/rubjs/methods/messages/sendText.js +0 -17
- package/rubjs/methods/messages/sendVideo.d.ts +0 -3
- package/rubjs/methods/messages/sendVideo.js +0 -17
- package/rubjs/methods/messages/sendVideoMessage.d.ts +0 -3
- package/rubjs/methods/messages/sendVideoMessage.js +0 -17
- package/rubjs/methods/messages/sendVoice.d.ts +0 -3
- package/rubjs/methods/messages/sendVoice.js +0 -17
- package/rubjs/methods/messages/setPinMessage.d.ts +0 -3
- package/rubjs/methods/messages/setPinMessage.js +0 -25
- package/rubjs/methods/messages/votePoll.d.ts +0 -3
- package/rubjs/methods/messages/votePoll.js +0 -17
- package/rubjs/methods/settings/changePassword.d.ts +0 -3
- package/rubjs/methods/settings/changePassword.js +0 -17
- package/rubjs/methods/settings/checkTwoStepPasscode.d.ts +0 -3
- package/rubjs/methods/settings/checkTwoStepPasscode.js +0 -17
- package/rubjs/methods/settings/deleteFolder.d.ts +0 -3
- package/rubjs/methods/settings/deleteFolder.js +0 -17
- package/rubjs/methods/settings/getBlockedUsers.d.ts +0 -3
- package/rubjs/methods/settings/getBlockedUsers.js +0 -17
- package/rubjs/methods/settings/getFolders.d.ts +0 -3
- package/rubjs/methods/settings/getFolders.js +0 -17
- package/rubjs/methods/settings/getMySessions.d.ts +0 -3
- package/rubjs/methods/settings/getMySessions.js +0 -17
- package/rubjs/methods/settings/getPrivacySetting.d.ts +0 -3
- package/rubjs/methods/settings/getPrivacySetting.js +0 -17
- package/rubjs/methods/settings/getSuggestedFolders.d.ts +0 -3
- package/rubjs/methods/settings/getSuggestedFolders.js +0 -17
- package/rubjs/methods/settings/getTwoPasscodeStatus.d.ts +0 -3
- package/rubjs/methods/settings/getTwoPasscodeStatus.js +0 -17
- package/rubjs/methods/settings/requestRecoveryEmail.d.ts +0 -3
- package/rubjs/methods/settings/requestRecoveryEmail.js +0 -20
- package/rubjs/methods/settings/setSetting.d.ts +0 -5
- package/rubjs/methods/settings/setSetting.js +0 -60
- package/rubjs/methods/settings/setupTwoStepVerification.d.ts +0 -3
- package/rubjs/methods/settings/setupTwoStepVerification.js +0 -21
- package/rubjs/methods/settings/terminateOtherSessions.d.ts +0 -3
- package/rubjs/methods/settings/terminateOtherSessions.js +0 -18
- package/rubjs/methods/settings/terminateSession.d.ts +0 -3
- package/rubjs/methods/settings/terminateSession.js +0 -17
- package/rubjs/methods/settings/turnOffTwoStep.d.ts +0 -3
- package/rubjs/methods/settings/turnOffTwoStep.js +0 -18
- package/rubjs/methods/settings/updateProfile.d.ts +0 -3
- package/rubjs/methods/settings/updateProfile.js +0 -30
- package/rubjs/methods/settings/updateUsername.d.ts +0 -3
- package/rubjs/methods/settings/updateUsername.js +0 -17
- package/rubjs/methods/settings/verifyRecoveryEmail.d.ts +0 -3
- package/rubjs/methods/settings/verifyRecoveryEmail.js +0 -17
- package/rubjs/methods/stickers/actionOnStickerSet.d.ts +0 -3
- package/rubjs/methods/stickers/actionOnStickerSet.js +0 -21
- package/rubjs/methods/stickers/getMyStickerSets.d.ts +0 -3
- package/rubjs/methods/stickers/getMyStickerSets.js +0 -17
- package/rubjs/methods/stickers/getStickerSetByID.d.ts +0 -3
- package/rubjs/methods/stickers/getStickerSetByID.js +0 -17
- package/rubjs/methods/stickers/getStickersByEmoji.d.ts +0 -3
- package/rubjs/methods/stickers/getStickersByEmoji.js +0 -17
- package/rubjs/methods/stickers/getStickersBySetIds.d.ts +0 -3
- package/rubjs/methods/stickers/getStickersBySetIds.js +0 -19
- package/rubjs/methods/stickers/getTrendStickerSets.d.ts +0 -3
- package/rubjs/methods/stickers/getTrendStickerSets.js +0 -17
- package/rubjs/methods/stickers/searchStickers.d.ts +0 -3
- package/rubjs/methods/stickers/searchStickers.js +0 -17
- package/rubjs/methods/users/checkUserUsername.d.ts +0 -3
- package/rubjs/methods/users/checkUserUsername.js +0 -17
- package/rubjs/methods/users/deleteUserChat.d.ts +0 -3
- package/rubjs/methods/users/deleteUserChat.js +0 -20
- package/rubjs/methods/users/getMe.d.ts +0 -3
- package/rubjs/methods/users/getMe.js +0 -17
- package/rubjs/methods/users/getUserInfo.d.ts +0 -4
- package/rubjs/methods/users/getUserInfo.js +0 -18
- package/rubjs/methods/users/setBlockUser.d.ts +0 -3
- package/rubjs/methods/users/setBlockUser.js +0 -20
- package/rubjs/methods/utilities/download.d.ts +0 -4
- package/rubjs/methods/utilities/download.js +0 -17
- package/rubjs/methods/utilities/downloadProfilePicture.d.ts +0 -3
- package/rubjs/methods/utilities/downloadProfilePicture.js +0 -27
- package/rubjs/methods/utilities/get.d.ts +0 -4
- package/rubjs/methods/utilities/get.js +0 -21
- package/rubjs/methods/utilities/index.d.ts +0 -8
- package/rubjs/methods/utilities/index.js +0 -20
- package/rubjs/methods/utilities/post.d.ts +0 -4
- package/rubjs/methods/utilities/post.js +0 -21
- package/rubjs/methods/utilities/run.d.ts +0 -3
- package/rubjs/methods/utilities/run.js +0 -24
- package/rubjs/methods/utilities/start.d.ts +0 -3
- package/rubjs/methods/utilities/start.js +0 -82
- package/rubjs/methods/utilities/thumbnail.js +0 -85
- package/rubjs/network/index.d.ts +0 -37
- package/rubjs/network/index.js +0 -405
- package/rubjs/network/loginNetwork.d.ts +0 -39
- package/rubjs/network/loginNetwork.js +0 -122
- package/rubjs/session/index.d.ts +0 -23
- package/rubjs/session/index.js +0 -65
- package/rubjs/types/auth.d.ts +0 -40
- package/rubjs/types/chats.d.ts +0 -79
- package/rubjs/types/decorators.d.ts +0 -170
- package/rubjs/types/groups.d.ts +0 -155
- package/rubjs/types/index.d.ts +0 -8
- package/rubjs/types/index.js +0 -53
- package/rubjs/types/message.d.ts +0 -26
- package/rubjs/types/message.js +0 -81
- package/rubjs/types/messages.d.ts +0 -178
- package/rubjs/types/messages.js +0 -2
- package/rubjs/types/users.d.ts +0 -64
- package/rubjs/types/users.js +0 -2
- package/rubjs/utils/filters.d.ts +0 -33
- package/rubjs/utils/filters.js +0 -167
- package/rubjs/utils/index.d.ts +0 -3
- package/rubjs/utils/index.js +0 -10
- /package/{rubjs → lib/core}/methods/advanced/index.d.ts +0 -0
- /package/{rubjs → lib/core}/methods/advanced/index.js +0 -0
- /package/{rubjs → lib/core}/methods/auth/index.d.ts +0 -0
- /package/{rubjs → lib/core}/methods/auth/index.js +0 -0
- /package/{rubjs → lib/core}/methods/channels/index.d.ts +0 -0
- /package/{rubjs → lib/core}/methods/channels/index.js +0 -0
- /package/{rubjs → lib/core}/methods/chats/index.d.ts +0 -0
- /package/{rubjs → lib/core}/methods/chats/index.js +0 -0
- /package/{rubjs → lib/core}/methods/contacts/index.d.ts +0 -0
- /package/{rubjs → lib/core}/methods/contacts/index.js +0 -0
- /package/{rubjs → lib/core}/methods/extras/index.d.ts +0 -0
- /package/{rubjs → lib/core}/methods/extras/index.js +0 -0
- /package/{rubjs → lib/core}/methods/gif/index.d.ts +0 -0
- /package/{rubjs → lib/core}/methods/gif/index.js +0 -0
- /package/{rubjs → lib/core}/methods/groups/index.d.ts +0 -0
- /package/{rubjs → lib/core}/methods/groups/index.js +0 -0
- /package/{rubjs → lib/core}/methods/settings/index.d.ts +0 -0
- /package/{rubjs → lib/core}/methods/settings/index.js +0 -0
- /package/{rubjs → lib/core}/methods/stickers/index.d.ts +0 -0
- /package/{rubjs → lib/core}/methods/stickers/index.js +0 -0
- /package/{rubjs → lib/core}/methods/users/index.d.ts +0 -0
- /package/{rubjs → lib/core}/methods/users/index.js +0 -0
- /package/{rubjs → lib/core}/methods/utilities/thumbnail.d.ts +0 -0
- /package/{rubjs/parser/index.d.ts → lib/core/parser.d.ts} +0 -0
- /package/{rubjs/parser/index.js → lib/core/parser.js} +0 -0
- /package/{rubjs/utils → lib/core}/utils.d.ts +0 -0
- /package/{rubjs/utils → lib/core}/utils.js +0 -0
- /package/{rubjs/types/auth.js → lib/types/client.type.js} +0 -0
- /package/{rubjs/types/chats.js → lib/types/decorators.type.js} +0 -0
- /package/{rubjs/types/decorators.js → lib/types/network.type.js} +0 -0
- /package/{rubjs/types/groups.js → lib/types/session.type.js} +0 -0
package/rubjs/methods/index.js
DELETED
@@ -1,967 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
-
}) : function(o, v) {
|
16
|
-
o["default"] = v;
|
17
|
-
});
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
19
|
-
var ownKeys = function(o) {
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
21
|
-
var ar = [];
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
23
|
-
return ar;
|
24
|
-
};
|
25
|
-
return ownKeys(o);
|
26
|
-
};
|
27
|
-
return function (mod) {
|
28
|
-
if (mod && mod.__esModule) return mod;
|
29
|
-
var result = {};
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
31
|
-
__setModuleDefault(result, mod);
|
32
|
-
return result;
|
33
|
-
};
|
34
|
-
})();
|
35
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
36
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
37
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
38
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
39
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
40
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
41
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
42
|
-
});
|
43
|
-
};
|
44
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
45
|
-
// Methods
|
46
|
-
const Advanced = __importStar(require("./advanced"));
|
47
|
-
const Auth = __importStar(require("./auth"));
|
48
|
-
const Channels = __importStar(require("./channels"));
|
49
|
-
const Chats = __importStar(require("./chats"));
|
50
|
-
const Contacts = __importStar(require("./contacts"));
|
51
|
-
const Extras = __importStar(require("./extras"));
|
52
|
-
const Gif = __importStar(require("./gif"));
|
53
|
-
const Groups = __importStar(require("./groups"));
|
54
|
-
const Messages = __importStar(require("./messages"));
|
55
|
-
const Settings = __importStar(require("./settings"));
|
56
|
-
const Stickers = __importStar(require("./stickers"));
|
57
|
-
const Users = __importStar(require("./users"));
|
58
|
-
const Utilities = __importStar(require("./utilities"));
|
59
|
-
class Methods {
|
60
|
-
registerHandler(updateType, arg1, arg2) {
|
61
|
-
const filters = Array.isArray(arg1) ? arg1 : [];
|
62
|
-
const callback = typeof arg1 === "function" ? arg1 : arg2;
|
63
|
-
if (callback) {
|
64
|
-
this.eventHandlers.push({ callback, filters, updateType });
|
65
|
-
}
|
66
|
-
}
|
67
|
-
onMessageUpdates(arg1, arg2) {
|
68
|
-
this.registerHandler("message_updates", arg1, arg2);
|
69
|
-
}
|
70
|
-
onChatUpdates(arg1, arg2) {
|
71
|
-
this.registerHandler("chat_updates", arg1, arg2);
|
72
|
-
}
|
73
|
-
onShowActivities(arg1, arg2) {
|
74
|
-
this.registerHandler("show_activities", arg1, arg2);
|
75
|
-
}
|
76
|
-
onShowNotifications(arg1, arg2) {
|
77
|
-
this.registerHandler("show_notifications", arg1, arg2);
|
78
|
-
}
|
79
|
-
onEditMessages(...args) {
|
80
|
-
return Extras.onEditMessages.apply(this, args);
|
81
|
-
}
|
82
|
-
// advanced
|
83
|
-
builder(...args) {
|
84
|
-
return __awaiter(this, void 0, void 0, function* () {
|
85
|
-
return Advanced.builder.apply(this, args);
|
86
|
-
});
|
87
|
-
}
|
88
|
-
// auth
|
89
|
-
registerDevice(...args) {
|
90
|
-
return __awaiter(this, void 0, void 0, function* () {
|
91
|
-
return Auth.registerDevice.apply(this, args);
|
92
|
-
});
|
93
|
-
}
|
94
|
-
sendCode(...args) {
|
95
|
-
return __awaiter(this, void 0, void 0, function* () {
|
96
|
-
return Auth.sendCode.apply(this, args);
|
97
|
-
});
|
98
|
-
}
|
99
|
-
signIn(...args) {
|
100
|
-
return __awaiter(this, void 0, void 0, function* () {
|
101
|
-
return Auth.signIn.apply(this, args);
|
102
|
-
});
|
103
|
-
}
|
104
|
-
logout(...args) {
|
105
|
-
return __awaiter(this, void 0, void 0, function* () {
|
106
|
-
return Auth.logout.apply(this, args);
|
107
|
-
});
|
108
|
-
}
|
109
|
-
// channels
|
110
|
-
addChannel(...args) {
|
111
|
-
return __awaiter(this, void 0, void 0, function* () {
|
112
|
-
return Channels.addChannel.apply(this, args);
|
113
|
-
});
|
114
|
-
}
|
115
|
-
addChannelMembers(...args) {
|
116
|
-
return __awaiter(this, void 0, void 0, function* () {
|
117
|
-
return Channels.addChannelMembers.apply(this, args);
|
118
|
-
});
|
119
|
-
}
|
120
|
-
banChannelMember(...args) {
|
121
|
-
return __awaiter(this, void 0, void 0, function* () {
|
122
|
-
return Channels.banChannelMember.apply(this, args);
|
123
|
-
});
|
124
|
-
}
|
125
|
-
channelPreviewByJoinLink(...args) {
|
126
|
-
return __awaiter(this, void 0, void 0, function* () {
|
127
|
-
return Channels.channelPreviewByJoinLink.apply(this, args);
|
128
|
-
});
|
129
|
-
}
|
130
|
-
leaveChannelVoiceChat(...args) {
|
131
|
-
return __awaiter(this, void 0, void 0, function* () {
|
132
|
-
return Channels.leaveChannelVoiceChat.apply(this, args);
|
133
|
-
});
|
134
|
-
}
|
135
|
-
cancelChangeObjectOwner(...args) {
|
136
|
-
return __awaiter(this, void 0, void 0, function* () {
|
137
|
-
return Channels.cancelChangeObjectOwner.apply(this, args);
|
138
|
-
});
|
139
|
-
}
|
140
|
-
requestChangeObjectOwner(...args) {
|
141
|
-
return __awaiter(this, void 0, void 0, function* () {
|
142
|
-
return Channels.requestChangeObjectOwner.apply(this, args);
|
143
|
-
});
|
144
|
-
}
|
145
|
-
getPendingObjectOwner(...args) {
|
146
|
-
return __awaiter(this, void 0, void 0, function* () {
|
147
|
-
return Channels.getPendingObjectOwner.apply(this, args);
|
148
|
-
});
|
149
|
-
}
|
150
|
-
checkChannelUsername(...args) {
|
151
|
-
return __awaiter(this, void 0, void 0, function* () {
|
152
|
-
return Channels.checkChannelUsername.apply(this, args);
|
153
|
-
});
|
154
|
-
}
|
155
|
-
createChannelVoiceChat(...args) {
|
156
|
-
return __awaiter(this, void 0, void 0, function* () {
|
157
|
-
return Channels.createChannelVoiceChat.apply(this, args);
|
158
|
-
});
|
159
|
-
}
|
160
|
-
discardChannelVoiceChat(...args) {
|
161
|
-
return __awaiter(this, void 0, void 0, function* () {
|
162
|
-
return Channels.discardChannelVoiceChat.apply(this, args);
|
163
|
-
});
|
164
|
-
}
|
165
|
-
editChannelInfo(...args) {
|
166
|
-
return __awaiter(this, void 0, void 0, function* () {
|
167
|
-
return Channels.editChannelInfo.apply(this, args);
|
168
|
-
});
|
169
|
-
}
|
170
|
-
getBannedChannelMembers(...args) {
|
171
|
-
return __awaiter(this, void 0, void 0, function* () {
|
172
|
-
return Channels.getBannedChannelMembers.apply(this, args);
|
173
|
-
});
|
174
|
-
}
|
175
|
-
getChannelAdminAccessList(...args) {
|
176
|
-
return __awaiter(this, void 0, void 0, function* () {
|
177
|
-
return Channels.getChannelAdminAccessList.apply(this, args);
|
178
|
-
});
|
179
|
-
}
|
180
|
-
getChannelAdminMembers(...args) {
|
181
|
-
return __awaiter(this, void 0, void 0, function* () {
|
182
|
-
return Channels.getChannelAdminMembers.apply(this, args);
|
183
|
-
});
|
184
|
-
}
|
185
|
-
getChannelAllMembers(...args) {
|
186
|
-
return __awaiter(this, void 0, void 0, function* () {
|
187
|
-
return Channels.getChannelAllMembers.apply(this, args);
|
188
|
-
});
|
189
|
-
}
|
190
|
-
getChannelInfo(...args) {
|
191
|
-
return __awaiter(this, void 0, void 0, function* () {
|
192
|
-
return Channels.getChannelInfo.apply(this, args);
|
193
|
-
});
|
194
|
-
}
|
195
|
-
getChannelLink(...args) {
|
196
|
-
return __awaiter(this, void 0, void 0, function* () {
|
197
|
-
return Channels.getChannelLink.apply(this, args);
|
198
|
-
});
|
199
|
-
}
|
200
|
-
joinChannelAction(...args) {
|
201
|
-
return __awaiter(this, void 0, void 0, function* () {
|
202
|
-
return Channels.joinChannelAction.apply(this, args);
|
203
|
-
});
|
204
|
-
}
|
205
|
-
joinChannelByLink(...args) {
|
206
|
-
return __awaiter(this, void 0, void 0, function* () {
|
207
|
-
return Channels.joinChannelByLink.apply(this, args);
|
208
|
-
});
|
209
|
-
}
|
210
|
-
removeChannel(...args) {
|
211
|
-
return __awaiter(this, void 0, void 0, function* () {
|
212
|
-
return Channels.removeChannel.apply(this, args);
|
213
|
-
});
|
214
|
-
}
|
215
|
-
seenChannelMessages(...args) {
|
216
|
-
return __awaiter(this, void 0, void 0, function* () {
|
217
|
-
return Channels.seenChannelMessages.apply(this, args);
|
218
|
-
});
|
219
|
-
}
|
220
|
-
setChannelLink(...args) {
|
221
|
-
return __awaiter(this, void 0, void 0, function* () {
|
222
|
-
return Channels.setChannelLink.apply(this, args);
|
223
|
-
});
|
224
|
-
}
|
225
|
-
setChannelVoiceChatSetting(...args) {
|
226
|
-
return __awaiter(this, void 0, void 0, function* () {
|
227
|
-
return Channels.setChannelVoiceChatSetting.apply(this, args);
|
228
|
-
});
|
229
|
-
}
|
230
|
-
updateChannelUsername(...args) {
|
231
|
-
return __awaiter(this, void 0, void 0, function* () {
|
232
|
-
return Channels.updateChannelUsername.apply(this, args);
|
233
|
-
});
|
234
|
-
}
|
235
|
-
// chats
|
236
|
-
deleteAvatar(...args) {
|
237
|
-
return __awaiter(this, void 0, void 0, function* () {
|
238
|
-
return Chats.deleteAvatar.apply(this, args);
|
239
|
-
});
|
240
|
-
}
|
241
|
-
deleteChatHistory(...args) {
|
242
|
-
return __awaiter(this, void 0, void 0, function* () {
|
243
|
-
return Chats.deleteChatHistory.apply(this, args);
|
244
|
-
});
|
245
|
-
}
|
246
|
-
getAbsObjects(...args) {
|
247
|
-
return __awaiter(this, void 0, void 0, function* () {
|
248
|
-
return Chats.getAbsObjects.apply(this, args);
|
249
|
-
});
|
250
|
-
}
|
251
|
-
getAvatars(...args) {
|
252
|
-
return __awaiter(this, void 0, void 0, function* () {
|
253
|
-
return Chats.getAvatars.apply(this, args);
|
254
|
-
});
|
255
|
-
}
|
256
|
-
clickMessageUrl(...args) {
|
257
|
-
return __awaiter(this, void 0, void 0, function* () {
|
258
|
-
return Chats.clickMessageUrl.apply(this, args);
|
259
|
-
});
|
260
|
-
}
|
261
|
-
searchGlobalMessages(...args) {
|
262
|
-
return __awaiter(this, void 0, void 0, function* () {
|
263
|
-
return Chats.searchGlobalMessages.apply(this, args);
|
264
|
-
});
|
265
|
-
}
|
266
|
-
getChatReaction(...args) {
|
267
|
-
return __awaiter(this, void 0, void 0, function* () {
|
268
|
-
return Chats.getChatReaction.apply(this, args);
|
269
|
-
});
|
270
|
-
}
|
271
|
-
sendLive(...args) {
|
272
|
-
return __awaiter(this, void 0, void 0, function* () {
|
273
|
-
return Chats.sendLive.apply(this, args);
|
274
|
-
});
|
275
|
-
}
|
276
|
-
getLivePlayUrl(...args) {
|
277
|
-
return __awaiter(this, void 0, void 0, function* () {
|
278
|
-
return Chats.getLivePlayUrl.apply(this, args);
|
279
|
-
});
|
280
|
-
}
|
281
|
-
getLiveComments(...args) {
|
282
|
-
return __awaiter(this, void 0, void 0, function* () {
|
283
|
-
return Chats.getLiveComments.apply(this, args);
|
284
|
-
});
|
285
|
-
}
|
286
|
-
getLiveStatus(...args) {
|
287
|
-
return __awaiter(this, void 0, void 0, function* () {
|
288
|
-
return Chats.getLiveStatus.apply(this, args);
|
289
|
-
});
|
290
|
-
}
|
291
|
-
addLiveComment(...args) {
|
292
|
-
return __awaiter(this, void 0, void 0, function* () {
|
293
|
-
return Chats.addLiveComment.apply(this, args);
|
294
|
-
});
|
295
|
-
}
|
296
|
-
createJoinLink(...args) {
|
297
|
-
return __awaiter(this, void 0, void 0, function* () {
|
298
|
-
return Chats.createJoinLink.apply(this, args);
|
299
|
-
});
|
300
|
-
}
|
301
|
-
editJoinLink(...args) {
|
302
|
-
return __awaiter(this, void 0, void 0, function* () {
|
303
|
-
return Chats.editJoinLink.apply(this, args);
|
304
|
-
});
|
305
|
-
}
|
306
|
-
removeJoinLink(...args) {
|
307
|
-
return __awaiter(this, void 0, void 0, function* () {
|
308
|
-
return Chats.removeJoinLink.apply(this, args);
|
309
|
-
});
|
310
|
-
}
|
311
|
-
getJoinRequests(...args) {
|
312
|
-
return __awaiter(this, void 0, void 0, function* () {
|
313
|
-
return Chats.getJoinRequests.apply(this, args);
|
314
|
-
});
|
315
|
-
}
|
316
|
-
actionOnJoinRequest(...args) {
|
317
|
-
return __awaiter(this, void 0, void 0, function* () {
|
318
|
-
return Chats.actionOnJoinRequest.apply(this, args);
|
319
|
-
});
|
320
|
-
}
|
321
|
-
getChats(...args) {
|
322
|
-
return __awaiter(this, void 0, void 0, function* () {
|
323
|
-
return Chats.getChats.apply(this, args);
|
324
|
-
});
|
325
|
-
}
|
326
|
-
getChatsUpdates(...args) {
|
327
|
-
return __awaiter(this, void 0, void 0, function* () {
|
328
|
-
return Chats.getChatsUpdates.apply(this, args);
|
329
|
-
});
|
330
|
-
}
|
331
|
-
getTopChatUsers(...args) {
|
332
|
-
return __awaiter(this, void 0, void 0, function* () {
|
333
|
-
return Chats.getTopChatUsers.apply(this, args);
|
334
|
-
});
|
335
|
-
}
|
336
|
-
getObjectInfoByUsername(...args) {
|
337
|
-
return __awaiter(this, void 0, void 0, function* () {
|
338
|
-
return Chats.getObjectInfoByUsername.apply(this, args);
|
339
|
-
});
|
340
|
-
}
|
341
|
-
removeFromTopChatUsers(...args) {
|
342
|
-
return __awaiter(this, void 0, void 0, function* () {
|
343
|
-
return Chats.removeFromTopChatUsers.apply(this, args);
|
344
|
-
});
|
345
|
-
}
|
346
|
-
getLinkFromAppUrl(...args) {
|
347
|
-
return __awaiter(this, void 0, void 0, function* () {
|
348
|
-
return Chats.getLinkFromAppUrl.apply(this, args);
|
349
|
-
});
|
350
|
-
}
|
351
|
-
searchChatMessages(...args) {
|
352
|
-
return __awaiter(this, void 0, void 0, function* () {
|
353
|
-
return Chats.searchChatMessages.apply(this, args);
|
354
|
-
});
|
355
|
-
}
|
356
|
-
seenChats(...args) {
|
357
|
-
return __awaiter(this, void 0, void 0, function* () {
|
358
|
-
return Chats.seenChats.apply(this, args);
|
359
|
-
});
|
360
|
-
}
|
361
|
-
sendChatActivity(...args) {
|
362
|
-
return __awaiter(this, void 0, void 0, function* () {
|
363
|
-
return Chats.sendChatActivity.apply(this, args);
|
364
|
-
});
|
365
|
-
}
|
366
|
-
setActionChat(...args) {
|
367
|
-
return __awaiter(this, void 0, void 0, function* () {
|
368
|
-
return Chats.setActionChat.apply(this, args);
|
369
|
-
});
|
370
|
-
}
|
371
|
-
uploadAvatar(...args) {
|
372
|
-
return __awaiter(this, void 0, void 0, function* () {
|
373
|
-
return Chats.uploadAvatar.apply(this, args);
|
374
|
-
});
|
375
|
-
}
|
376
|
-
// contacts
|
377
|
-
addAddressBook(...args) {
|
378
|
-
return __awaiter(this, void 0, void 0, function* () {
|
379
|
-
return Contacts.addAddressBook.apply(this, args);
|
380
|
-
});
|
381
|
-
}
|
382
|
-
deleteContact(...args) {
|
383
|
-
return __awaiter(this, void 0, void 0, function* () {
|
384
|
-
return Contacts.deleteContact.apply(this, args);
|
385
|
-
});
|
386
|
-
}
|
387
|
-
getContacts(...args) {
|
388
|
-
return __awaiter(this, void 0, void 0, function* () {
|
389
|
-
return Contacts.getContacts.apply(this, args);
|
390
|
-
});
|
391
|
-
}
|
392
|
-
getContactsLastOnline(...args) {
|
393
|
-
return __awaiter(this, void 0, void 0, function* () {
|
394
|
-
return Contacts.getContactsLastOnline.apply(this, args);
|
395
|
-
});
|
396
|
-
}
|
397
|
-
resetContacts(...args) {
|
398
|
-
return __awaiter(this, void 0, void 0, function* () {
|
399
|
-
return Contacts.resetContacts.apply(this, args);
|
400
|
-
});
|
401
|
-
}
|
402
|
-
getContactsUpdates(...args) {
|
403
|
-
return __awaiter(this, void 0, void 0, function* () {
|
404
|
-
return Contacts.getContactsUpdates.apply(this, args);
|
405
|
-
});
|
406
|
-
}
|
407
|
-
// extras
|
408
|
-
banMember(...args) {
|
409
|
-
return __awaiter(this, void 0, void 0, function* () {
|
410
|
-
return Extras.banMember.apply(this, args);
|
411
|
-
});
|
412
|
-
}
|
413
|
-
getInfo(...args) {
|
414
|
-
return __awaiter(this, void 0, void 0, function* () {
|
415
|
-
return Extras.getInfo.apply(this, args);
|
416
|
-
});
|
417
|
-
}
|
418
|
-
getObjectByUsername(...args) {
|
419
|
-
return __awaiter(this, void 0, void 0, function* () {
|
420
|
-
return Extras.getObjectByUsername.apply(this, args);
|
421
|
-
});
|
422
|
-
}
|
423
|
-
getProfileLinkItems(...args) {
|
424
|
-
return __awaiter(this, void 0, void 0, function* () {
|
425
|
-
return Extras.getProfileLinkItems.apply(this, args);
|
426
|
-
});
|
427
|
-
}
|
428
|
-
getRelatedObjects(...args) {
|
429
|
-
return __awaiter(this, void 0, void 0, function* () {
|
430
|
-
return Extras.getRelatedObjects.apply(this, args);
|
431
|
-
});
|
432
|
-
}
|
433
|
-
getTranscription(...args) {
|
434
|
-
return __awaiter(this, void 0, void 0, function* () {
|
435
|
-
return Extras.getTranscription.apply(this, args);
|
436
|
-
});
|
437
|
-
}
|
438
|
-
join(...args) {
|
439
|
-
return __awaiter(this, void 0, void 0, function* () {
|
440
|
-
return Extras.join.apply(this, args);
|
441
|
-
});
|
442
|
-
}
|
443
|
-
leaveChat(...args) {
|
444
|
-
return __awaiter(this, void 0, void 0, function* () {
|
445
|
-
return Extras.leaveChat.apply(this, args);
|
446
|
-
});
|
447
|
-
}
|
448
|
-
reportObject(...args) {
|
449
|
-
return __awaiter(this, void 0, void 0, function* () {
|
450
|
-
return Extras.reportObject.apply(this, args);
|
451
|
-
});
|
452
|
-
}
|
453
|
-
searchGlobalObjects(...args) {
|
454
|
-
return __awaiter(this, void 0, void 0, function* () {
|
455
|
-
return Extras.searchGlobalObjects.apply(this, args);
|
456
|
-
});
|
457
|
-
}
|
458
|
-
transcribeVoice(...args) {
|
459
|
-
return __awaiter(this, void 0, void 0, function* () {
|
460
|
-
return Extras.transcribeVoice.apply(this, args);
|
461
|
-
});
|
462
|
-
}
|
463
|
-
userIsAdmin(...args) {
|
464
|
-
return __awaiter(this, void 0, void 0, function* () {
|
465
|
-
return Extras.userIsAdmin.apply(this, args);
|
466
|
-
});
|
467
|
-
}
|
468
|
-
deleteMessagebyCount(...args) {
|
469
|
-
return __awaiter(this, void 0, void 0, function* () {
|
470
|
-
return Extras.deleteMessagebyCount.apply(this, args);
|
471
|
-
});
|
472
|
-
}
|
473
|
-
joinVoiceChat(...args) {
|
474
|
-
return __awaiter(this, void 0, void 0, function* () {
|
475
|
-
return Extras.joinVoiceChat.apply(this, args);
|
476
|
-
});
|
477
|
-
}
|
478
|
-
setVoiceChatState(...args) {
|
479
|
-
return __awaiter(this, void 0, void 0, function* () {
|
480
|
-
return Extras.setVoiceChatState.apply(this, args);
|
481
|
-
});
|
482
|
-
}
|
483
|
-
sendVoiceChatActivity(...args) {
|
484
|
-
return __awaiter(this, void 0, void 0, function* () {
|
485
|
-
return Extras.sendVoiceChatActivity.apply(this, args);
|
486
|
-
});
|
487
|
-
}
|
488
|
-
// gif
|
489
|
-
addToMyGifSet(...args) {
|
490
|
-
return __awaiter(this, void 0, void 0, function* () {
|
491
|
-
return Gif.addToMyGifSet.apply(this, args);
|
492
|
-
});
|
493
|
-
}
|
494
|
-
getMyGifSet(...args) {
|
495
|
-
return __awaiter(this, void 0, void 0, function* () {
|
496
|
-
return Gif.getMyGifSet.apply(this, args);
|
497
|
-
});
|
498
|
-
}
|
499
|
-
removeFromMyGifSet(...args) {
|
500
|
-
return __awaiter(this, void 0, void 0, function* () {
|
501
|
-
return Gif.removeFromMyGifSet.apply(this, args);
|
502
|
-
});
|
503
|
-
}
|
504
|
-
// group
|
505
|
-
addGroup(...args) {
|
506
|
-
return __awaiter(this, void 0, void 0, function* () {
|
507
|
-
return Groups.addGroup.apply(this, args);
|
508
|
-
});
|
509
|
-
}
|
510
|
-
addGroupMembers(...args) {
|
511
|
-
return __awaiter(this, void 0, void 0, function* () {
|
512
|
-
return Groups.addGroupMembers.apply(this, args);
|
513
|
-
});
|
514
|
-
}
|
515
|
-
banGroupMember(...args) {
|
516
|
-
return __awaiter(this, void 0, void 0, function* () {
|
517
|
-
return Groups.banGroupMember.apply(this, args);
|
518
|
-
});
|
519
|
-
}
|
520
|
-
discardGroupVoiceChat(...args) {
|
521
|
-
return __awaiter(this, void 0, void 0, function* () {
|
522
|
-
return Groups.discardGroupVoiceChat.apply(this, args);
|
523
|
-
});
|
524
|
-
}
|
525
|
-
createGroupVoiceChat(...args) {
|
526
|
-
return __awaiter(this, void 0, void 0, function* () {
|
527
|
-
return Groups.createGroupVoiceChat.apply(this, args);
|
528
|
-
});
|
529
|
-
}
|
530
|
-
deleteNoAccessGroupChat(...args) {
|
531
|
-
return __awaiter(this, void 0, void 0, function* () {
|
532
|
-
return Groups.deleteNoAccessGroupChat.apply(this, args);
|
533
|
-
});
|
534
|
-
}
|
535
|
-
editGroupInfo(...args) {
|
536
|
-
return __awaiter(this, void 0, void 0, function* () {
|
537
|
-
return Groups.editGroupInfo.apply(this, args);
|
538
|
-
});
|
539
|
-
}
|
540
|
-
getBannedGroupMembers(...args) {
|
541
|
-
return __awaiter(this, void 0, void 0, function* () {
|
542
|
-
return Groups.getBannedGroupMembers.apply(this, args);
|
543
|
-
});
|
544
|
-
}
|
545
|
-
getGroupAdminAccessList(...args) {
|
546
|
-
return __awaiter(this, void 0, void 0, function* () {
|
547
|
-
return Groups.getGroupAdminAccessList.apply(this, args);
|
548
|
-
});
|
549
|
-
}
|
550
|
-
getGroupAdminMembers(...args) {
|
551
|
-
return __awaiter(this, void 0, void 0, function* () {
|
552
|
-
return Groups.getGroupAdminMembers.apply(this, args);
|
553
|
-
});
|
554
|
-
}
|
555
|
-
getGroupOnlineCount(...args) {
|
556
|
-
return __awaiter(this, void 0, void 0, function* () {
|
557
|
-
return Groups.getGroupOnlineCount.apply(this, args);
|
558
|
-
});
|
559
|
-
}
|
560
|
-
getGroupAllMembers(...args) {
|
561
|
-
return __awaiter(this, void 0, void 0, function* () {
|
562
|
-
return Groups.getGroupAllMembers.apply(this, args);
|
563
|
-
});
|
564
|
-
}
|
565
|
-
getGroupDefaultAccess(...args) {
|
566
|
-
return __awaiter(this, void 0, void 0, function* () {
|
567
|
-
return Groups.getGroupDefaultAccess.apply(this, args);
|
568
|
-
});
|
569
|
-
}
|
570
|
-
getGroupInfo(...args) {
|
571
|
-
return __awaiter(this, void 0, void 0, function* () {
|
572
|
-
return Groups.getGroupInfo.apply(this, args);
|
573
|
-
});
|
574
|
-
}
|
575
|
-
getGroupLink(...args) {
|
576
|
-
return __awaiter(this, void 0, void 0, function* () {
|
577
|
-
return Groups.getGroupLink.apply(this, args);
|
578
|
-
});
|
579
|
-
}
|
580
|
-
getGroupMentionList(...args) {
|
581
|
-
return __awaiter(this, void 0, void 0, function* () {
|
582
|
-
return Groups.getGroupMentionList.apply(this, args);
|
583
|
-
});
|
584
|
-
}
|
585
|
-
getGroupVoiceChatUpdates(...args) {
|
586
|
-
return __awaiter(this, void 0, void 0, function* () {
|
587
|
-
return Groups.getGroupVoiceChatUpdates.apply(this, args);
|
588
|
-
});
|
589
|
-
}
|
590
|
-
groupPreviewByJoinLink(...args) {
|
591
|
-
return __awaiter(this, void 0, void 0, function* () {
|
592
|
-
return Groups.groupPreviewByJoinLink.apply(this, args);
|
593
|
-
});
|
594
|
-
}
|
595
|
-
joinGroup(...args) {
|
596
|
-
return __awaiter(this, void 0, void 0, function* () {
|
597
|
-
return Groups.joinGroup.apply(this, args);
|
598
|
-
});
|
599
|
-
}
|
600
|
-
leaveGroup(...args) {
|
601
|
-
return __awaiter(this, void 0, void 0, function* () {
|
602
|
-
return Groups.leaveGroup.apply(this, args);
|
603
|
-
});
|
604
|
-
}
|
605
|
-
leaveGroupVoiceChat(...args) {
|
606
|
-
return __awaiter(this, void 0, void 0, function* () {
|
607
|
-
return Groups.leaveGroupVoiceChat.apply(this, args);
|
608
|
-
});
|
609
|
-
}
|
610
|
-
removeGroup(...args) {
|
611
|
-
return __awaiter(this, void 0, void 0, function* () {
|
612
|
-
return Groups.removeGroup.apply(this, args);
|
613
|
-
});
|
614
|
-
}
|
615
|
-
setGroupAdmin(...args) {
|
616
|
-
return __awaiter(this, void 0, void 0, function* () {
|
617
|
-
return Groups.setGroupAdmin.apply(this, args);
|
618
|
-
});
|
619
|
-
}
|
620
|
-
setGroupDefaultAccess(...args) {
|
621
|
-
return __awaiter(this, void 0, void 0, function* () {
|
622
|
-
return Groups.setGroupDefaultAccess.apply(this, args);
|
623
|
-
});
|
624
|
-
}
|
625
|
-
seenGroupMessages(...args) {
|
626
|
-
return __awaiter(this, void 0, void 0, function* () {
|
627
|
-
return Groups.seenGroupMessages.apply(this, args);
|
628
|
-
});
|
629
|
-
}
|
630
|
-
setGroupLink(...args) {
|
631
|
-
return __awaiter(this, void 0, void 0, function* () {
|
632
|
-
return Groups.setGroupLink.apply(this, args);
|
633
|
-
});
|
634
|
-
}
|
635
|
-
setGroupVoiceChatSetting(...args) {
|
636
|
-
return __awaiter(this, void 0, void 0, function* () {
|
637
|
-
return Groups.setGroupVoiceChatSetting.apply(this, args);
|
638
|
-
});
|
639
|
-
}
|
640
|
-
joinGroupVoiceChat(...args) {
|
641
|
-
return __awaiter(this, void 0, void 0, function* () {
|
642
|
-
return Groups.joinGroupVoiceChat.apply(this, args);
|
643
|
-
});
|
644
|
-
}
|
645
|
-
getGroupVoiceChatParticipants(...args) {
|
646
|
-
return __awaiter(this, void 0, void 0, function* () {
|
647
|
-
return Groups.getGroupVoiceChatParticipants.apply(this, args);
|
648
|
-
});
|
649
|
-
}
|
650
|
-
// messages
|
651
|
-
actionOnMessageReaction(...args) {
|
652
|
-
return __awaiter(this, void 0, void 0, function* () {
|
653
|
-
return Messages.actionOnMessageReaction.apply(this, args);
|
654
|
-
});
|
655
|
-
}
|
656
|
-
createPoll(...args) {
|
657
|
-
return __awaiter(this, void 0, void 0, function* () {
|
658
|
-
return Messages.createPoll.apply(this, args);
|
659
|
-
});
|
660
|
-
}
|
661
|
-
deleteMessages(...args) {
|
662
|
-
return __awaiter(this, void 0, void 0, function* () {
|
663
|
-
return Messages.deleteMessages.apply(this, args);
|
664
|
-
});
|
665
|
-
}
|
666
|
-
editMessage(...args) {
|
667
|
-
return __awaiter(this, void 0, void 0, function* () {
|
668
|
-
return Messages.editMessage.apply(this, args);
|
669
|
-
});
|
670
|
-
}
|
671
|
-
forwardMessages(...args) {
|
672
|
-
return __awaiter(this, void 0, void 0, function* () {
|
673
|
-
return Messages.forwardMessages.apply(this, args);
|
674
|
-
});
|
675
|
-
}
|
676
|
-
getMessagesByID(...args) {
|
677
|
-
return __awaiter(this, void 0, void 0, function* () {
|
678
|
-
return Messages.getMessagesByID.apply(this, args);
|
679
|
-
});
|
680
|
-
}
|
681
|
-
getMessagesInterval(...args) {
|
682
|
-
return __awaiter(this, void 0, void 0, function* () {
|
683
|
-
return Messages.getMessagesInterval.apply(this, args);
|
684
|
-
});
|
685
|
-
}
|
686
|
-
getMessagesUpdates(...args) {
|
687
|
-
return __awaiter(this, void 0, void 0, function* () {
|
688
|
-
return Messages.getMessagesUpdates.apply(this, args);
|
689
|
-
});
|
690
|
-
}
|
691
|
-
getMessageShareUrl(...args) {
|
692
|
-
return __awaiter(this, void 0, void 0, function* () {
|
693
|
-
return Messages.getMessageShareUrl.apply(this, args);
|
694
|
-
});
|
695
|
-
}
|
696
|
-
getPollOptionVoters(...args) {
|
697
|
-
return __awaiter(this, void 0, void 0, function* () {
|
698
|
-
return Messages.getPollOptionVoters.apply(this, args);
|
699
|
-
});
|
700
|
-
}
|
701
|
-
getPollStatus(...args) {
|
702
|
-
return __awaiter(this, void 0, void 0, function* () {
|
703
|
-
return Messages.getPollStatus.apply(this, args);
|
704
|
-
});
|
705
|
-
}
|
706
|
-
requestSendFile(...args) {
|
707
|
-
return __awaiter(this, void 0, void 0, function* () {
|
708
|
-
return Messages.requestSendFile.apply(this, args);
|
709
|
-
});
|
710
|
-
}
|
711
|
-
sendDocument(...args) {
|
712
|
-
return __awaiter(this, void 0, void 0, function* () {
|
713
|
-
return Messages.sendDocument.apply(this, args);
|
714
|
-
});
|
715
|
-
}
|
716
|
-
sendGif(...args) {
|
717
|
-
return __awaiter(this, void 0, void 0, function* () {
|
718
|
-
return Messages.sendGif.apply(this, args);
|
719
|
-
});
|
720
|
-
}
|
721
|
-
sendMessage(...args) {
|
722
|
-
return __awaiter(this, void 0, void 0, function* () {
|
723
|
-
return Messages.sendMessage.apply(this, args);
|
724
|
-
});
|
725
|
-
}
|
726
|
-
sendMusic(...args) {
|
727
|
-
return __awaiter(this, void 0, void 0, function* () {
|
728
|
-
return Messages.sendMusic.apply(this, args);
|
729
|
-
});
|
730
|
-
}
|
731
|
-
sendPhoto(...args) {
|
732
|
-
return __awaiter(this, void 0, void 0, function* () {
|
733
|
-
return Messages.sendPhoto.apply(this, args);
|
734
|
-
});
|
735
|
-
}
|
736
|
-
// async sendSticker(
|
737
|
-
// this: Client,
|
738
|
-
// ...args: Parameters<typeof Messages.sendSticker>
|
739
|
-
// ): Promise<any> {
|
740
|
-
// return Messages.sendSticker.apply(this, args);
|
741
|
-
// }
|
742
|
-
sendVideo(...args) {
|
743
|
-
return __awaiter(this, void 0, void 0, function* () {
|
744
|
-
return Messages.sendVideo.apply(this, args);
|
745
|
-
});
|
746
|
-
}
|
747
|
-
sendVideoMessage(...args) {
|
748
|
-
return __awaiter(this, void 0, void 0, function* () {
|
749
|
-
return Messages.sendVideoMessage.apply(this, args);
|
750
|
-
});
|
751
|
-
}
|
752
|
-
sendVoice(...args) {
|
753
|
-
return __awaiter(this, void 0, void 0, function* () {
|
754
|
-
return Messages.sendVoice.apply(this, args);
|
755
|
-
});
|
756
|
-
}
|
757
|
-
setPinMessage(...args) {
|
758
|
-
return __awaiter(this, void 0, void 0, function* () {
|
759
|
-
return Messages.setPinMessage.apply(this, args);
|
760
|
-
});
|
761
|
-
}
|
762
|
-
votePoll(...args) {
|
763
|
-
return __awaiter(this, void 0, void 0, function* () {
|
764
|
-
return Messages.votePoll.apply(this, args);
|
765
|
-
});
|
766
|
-
}
|
767
|
-
sendText(...args) {
|
768
|
-
return __awaiter(this, void 0, void 0, function* () {
|
769
|
-
return Messages.sendText.apply(this, args);
|
770
|
-
});
|
771
|
-
}
|
772
|
-
getMessages(...args) {
|
773
|
-
return __awaiter(this, void 0, void 0, function* () {
|
774
|
-
return Messages.getMessages.apply(this, args);
|
775
|
-
});
|
776
|
-
}
|
777
|
-
sendFileInline(...args) {
|
778
|
-
return __awaiter(this, void 0, void 0, function* () {
|
779
|
-
return Messages.sendFileInline.apply(this, args);
|
780
|
-
});
|
781
|
-
}
|
782
|
-
// settings
|
783
|
-
deleteFolder(...args) {
|
784
|
-
return __awaiter(this, void 0, void 0, function* () {
|
785
|
-
return Settings.deleteFolder.apply(this, args);
|
786
|
-
});
|
787
|
-
}
|
788
|
-
getBlockedUsers(...args) {
|
789
|
-
return __awaiter(this, void 0, void 0, function* () {
|
790
|
-
return Settings.getBlockedUsers.apply(this, args);
|
791
|
-
});
|
792
|
-
}
|
793
|
-
getFolders(...args) {
|
794
|
-
return __awaiter(this, void 0, void 0, function* () {
|
795
|
-
return Settings.getFolders.apply(this, args);
|
796
|
-
});
|
797
|
-
}
|
798
|
-
getMySessions(...args) {
|
799
|
-
return __awaiter(this, void 0, void 0, function* () {
|
800
|
-
return Settings.getMySessions.apply(this, args);
|
801
|
-
});
|
802
|
-
}
|
803
|
-
getPrivacySetting(...args) {
|
804
|
-
return __awaiter(this, void 0, void 0, function* () {
|
805
|
-
return Settings.getPrivacySetting.apply(this, args);
|
806
|
-
});
|
807
|
-
}
|
808
|
-
getSuggestedFolders(...args) {
|
809
|
-
return __awaiter(this, void 0, void 0, function* () {
|
810
|
-
return Settings.getSuggestedFolders.apply(this, args);
|
811
|
-
});
|
812
|
-
}
|
813
|
-
getTwoPasscodeStatus(...args) {
|
814
|
-
return __awaiter(this, void 0, void 0, function* () {
|
815
|
-
return Settings.getTwoPasscodeStatus.apply(this, args);
|
816
|
-
});
|
817
|
-
}
|
818
|
-
setupTwoStepVerification(...args) {
|
819
|
-
return __awaiter(this, void 0, void 0, function* () {
|
820
|
-
return Settings.setupTwoStepVerification.apply(this, args);
|
821
|
-
});
|
822
|
-
}
|
823
|
-
setSetting(...args) {
|
824
|
-
return __awaiter(this, void 0, void 0, function* () {
|
825
|
-
return Settings.setSetting.apply(this, args);
|
826
|
-
});
|
827
|
-
}
|
828
|
-
terminateSession(...args) {
|
829
|
-
return __awaiter(this, void 0, void 0, function* () {
|
830
|
-
return Settings.terminateSession.apply(this, args);
|
831
|
-
});
|
832
|
-
}
|
833
|
-
updateProfile(...args) {
|
834
|
-
return __awaiter(this, void 0, void 0, function* () {
|
835
|
-
return Settings.updateProfile.apply(this, args);
|
836
|
-
});
|
837
|
-
}
|
838
|
-
updateUsername(...args) {
|
839
|
-
return __awaiter(this, void 0, void 0, function* () {
|
840
|
-
return Settings.updateUsername.apply(this, args);
|
841
|
-
});
|
842
|
-
}
|
843
|
-
changePassword(...args) {
|
844
|
-
return __awaiter(this, void 0, void 0, function* () {
|
845
|
-
return Settings.changePassword.apply(this, args);
|
846
|
-
});
|
847
|
-
}
|
848
|
-
turnOffTwoStep(...args) {
|
849
|
-
return __awaiter(this, void 0, void 0, function* () {
|
850
|
-
return Settings.turnOffTwoStep.apply(this, args);
|
851
|
-
});
|
852
|
-
}
|
853
|
-
verifyRecoveryEmail(...args) {
|
854
|
-
return __awaiter(this, void 0, void 0, function* () {
|
855
|
-
return Settings.verifyRecoveryEmail.apply(this, args);
|
856
|
-
});
|
857
|
-
}
|
858
|
-
requestRecoveryEmail(...args) {
|
859
|
-
return __awaiter(this, void 0, void 0, function* () {
|
860
|
-
return Settings.requestRecoveryEmail.apply(this, args);
|
861
|
-
});
|
862
|
-
}
|
863
|
-
checkTwoStepPasscode(...args) {
|
864
|
-
return __awaiter(this, void 0, void 0, function* () {
|
865
|
-
return Settings.checkTwoStepPasscode.apply(this, args);
|
866
|
-
});
|
867
|
-
}
|
868
|
-
terminateOtherSessions(...args) {
|
869
|
-
return __awaiter(this, void 0, void 0, function* () {
|
870
|
-
return Settings.terminateOtherSessions.apply(this, args);
|
871
|
-
});
|
872
|
-
}
|
873
|
-
// stickers
|
874
|
-
actionOnStickerSet(...args) {
|
875
|
-
return __awaiter(this, void 0, void 0, function* () {
|
876
|
-
return Stickers.actionOnStickerSet.apply(this, args);
|
877
|
-
});
|
878
|
-
}
|
879
|
-
getMyStickerSets(...args) {
|
880
|
-
return __awaiter(this, void 0, void 0, function* () {
|
881
|
-
return Stickers.getMyStickerSets.apply(this, args);
|
882
|
-
});
|
883
|
-
}
|
884
|
-
getStickersByEmoji(...args) {
|
885
|
-
return __awaiter(this, void 0, void 0, function* () {
|
886
|
-
return Stickers.getStickersByEmoji.apply(this, args);
|
887
|
-
});
|
888
|
-
}
|
889
|
-
getStickersBySetIds(...args) {
|
890
|
-
return __awaiter(this, void 0, void 0, function* () {
|
891
|
-
return Stickers.getStickersBySetIds.apply(this, args);
|
892
|
-
});
|
893
|
-
}
|
894
|
-
getStickerSetByID(...args) {
|
895
|
-
return __awaiter(this, void 0, void 0, function* () {
|
896
|
-
return Stickers.getStickerSetByID.apply(this, args);
|
897
|
-
});
|
898
|
-
}
|
899
|
-
getTrendStickerSets(...args) {
|
900
|
-
return __awaiter(this, void 0, void 0, function* () {
|
901
|
-
return Stickers.getTrendStickerSets.apply(this, args);
|
902
|
-
});
|
903
|
-
}
|
904
|
-
searchStickers(...args) {
|
905
|
-
return __awaiter(this, void 0, void 0, function* () {
|
906
|
-
return Stickers.searchStickers.apply(this, args);
|
907
|
-
});
|
908
|
-
}
|
909
|
-
// users
|
910
|
-
checkUserUsername(...args) {
|
911
|
-
return __awaiter(this, void 0, void 0, function* () {
|
912
|
-
return Users.checkUserUsername.apply(this, args);
|
913
|
-
});
|
914
|
-
}
|
915
|
-
deleteUserChat(...args) {
|
916
|
-
return __awaiter(this, void 0, void 0, function* () {
|
917
|
-
return Users.deleteUserChat.apply(this, args);
|
918
|
-
});
|
919
|
-
}
|
920
|
-
getMe(...args) {
|
921
|
-
return __awaiter(this, void 0, void 0, function* () {
|
922
|
-
return Users.getMe.apply(this, args);
|
923
|
-
});
|
924
|
-
}
|
925
|
-
getUserInfo(...args) {
|
926
|
-
return __awaiter(this, void 0, void 0, function* () {
|
927
|
-
return Users.getUserInfo.apply(this, args);
|
928
|
-
});
|
929
|
-
}
|
930
|
-
setBlockUser(...args) {
|
931
|
-
return __awaiter(this, void 0, void 0, function* () {
|
932
|
-
return Users.setBlockUser.apply(this, args);
|
933
|
-
});
|
934
|
-
}
|
935
|
-
// utilities
|
936
|
-
download(...args) {
|
937
|
-
return __awaiter(this, void 0, void 0, function* () {
|
938
|
-
return Utilities.download.apply(this, args);
|
939
|
-
});
|
940
|
-
}
|
941
|
-
downloadProfilePicture(...args) {
|
942
|
-
return __awaiter(this, void 0, void 0, function* () {
|
943
|
-
return Utilities.downloadProfilePicture.apply(this, args);
|
944
|
-
});
|
945
|
-
}
|
946
|
-
get(...args) {
|
947
|
-
return __awaiter(this, void 0, void 0, function* () {
|
948
|
-
return Utilities.get.apply(this, args);
|
949
|
-
});
|
950
|
-
}
|
951
|
-
post(...args) {
|
952
|
-
return __awaiter(this, void 0, void 0, function* () {
|
953
|
-
return Utilities.post.apply(this, args);
|
954
|
-
});
|
955
|
-
}
|
956
|
-
run(...args) {
|
957
|
-
return __awaiter(this, void 0, void 0, function* () {
|
958
|
-
return Utilities.run.apply(this, args);
|
959
|
-
});
|
960
|
-
}
|
961
|
-
start(...args) {
|
962
|
-
return __awaiter(this, void 0, void 0, function* () {
|
963
|
-
return Utilities.start.apply(this, args);
|
964
|
-
});
|
965
|
-
}
|
966
|
-
}
|
967
|
-
exports.default = Methods;
|