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
@@ -0,0 +1,41 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function editGroupInfo(group_guid, title, description, slow_mode, event_messages, is_restricted_content, chat_reaction_setting, chat_history_for_new_members) {
|
4
|
+
const updated_parameters = [];
|
5
|
+
const input_data = { group_guid };
|
6
|
+
if (title !== undefined) {
|
7
|
+
input_data.title = title;
|
8
|
+
updated_parameters.push("title");
|
9
|
+
}
|
10
|
+
if (description !== undefined) {
|
11
|
+
input_data.description = description;
|
12
|
+
updated_parameters.push("description");
|
13
|
+
}
|
14
|
+
if (slow_mode !== undefined) {
|
15
|
+
input_data.slow_mode = slow_mode;
|
16
|
+
updated_parameters.push("slow_mode");
|
17
|
+
}
|
18
|
+
if (event_messages !== undefined) {
|
19
|
+
input_data.event_messages = event_messages;
|
20
|
+
updated_parameters.push("event_messages");
|
21
|
+
}
|
22
|
+
if (is_restricted_content !== undefined) {
|
23
|
+
input_data.is_restricted_content = is_restricted_content;
|
24
|
+
updated_parameters.push("is_restricted_content");
|
25
|
+
}
|
26
|
+
if (chat_reaction_setting !== undefined) {
|
27
|
+
input_data.chat_reaction_setting = chat_reaction_setting;
|
28
|
+
updated_parameters.push("chat_reaction_setting");
|
29
|
+
}
|
30
|
+
if (chat_history_for_new_members !== undefined) {
|
31
|
+
if (!["Hidden", "Visible"].includes(chat_history_for_new_members)) {
|
32
|
+
console.warn('`chat_history_for_new_members` argument can only be "Hidden" or "Visible". Using default "Hidden".');
|
33
|
+
chat_history_for_new_members = "Hidden";
|
34
|
+
}
|
35
|
+
input_data.chat_history_for_new_members = chat_history_for_new_members;
|
36
|
+
updated_parameters.push("chat_history_for_new_members");
|
37
|
+
}
|
38
|
+
input_data.updated_parameters = updated_parameters;
|
39
|
+
return await this.builder("editGroupInfo", { ...input_data });
|
40
|
+
}
|
41
|
+
exports.default = editGroupInfo;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function getGroupAdminAccessList(group_guid, member_guid) {
|
4
|
+
return await this.builder("getGroupAdminAccessList", {
|
5
|
+
group_guid,
|
6
|
+
member_guid,
|
7
|
+
});
|
8
|
+
}
|
9
|
+
exports.default = getGroupAdminAccessList;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function getGroupAllMembers(group_guid, search_text, start_id) {
|
4
|
+
return await this.builder("getGroupAllMembers", {
|
5
|
+
group_guid,
|
6
|
+
search_text,
|
7
|
+
start_id,
|
8
|
+
});
|
9
|
+
}
|
10
|
+
exports.default = getGroupAllMembers;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function getGroupMentionList(group_guid, search_mention) {
|
4
|
+
return await this.builder("getGroupMentionList", {
|
5
|
+
group_guid,
|
6
|
+
search_mention,
|
7
|
+
});
|
8
|
+
}
|
9
|
+
exports.default = getGroupMentionList;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function getGroupVoiceChatParticipants(chat_guid, voice_chat_id) {
|
4
|
+
return await this.builder('getGroupVoiceChatParticipants', { chat_guid, voice_chat_id });
|
5
|
+
}
|
6
|
+
;
|
7
|
+
exports.default = getGroupVoiceChatParticipants;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function getGroupVoiceChatUpdates(group_guid, voice_chat_id, state = Math.round(Date.now() / 1000) - 150) {
|
4
|
+
return await this.builder("getGroupVoiceChatUpdates", {
|
5
|
+
group_guid,
|
6
|
+
voice_chat_id,
|
7
|
+
state,
|
8
|
+
});
|
9
|
+
}
|
10
|
+
exports.default = getGroupVoiceChatUpdates;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function groupPreviewByJoinLink(link) {
|
4
|
+
if (link.includes("/"))
|
5
|
+
link = link.split("/")[-1];
|
6
|
+
return await this.builder("groupPreviewByJoinLink", { hash_link: link });
|
7
|
+
}
|
8
|
+
exports.default = groupPreviewByJoinLink;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function joinGroup(link) {
|
4
|
+
if (link.includes('/'))
|
5
|
+
link = link.split('/').pop() || '';
|
6
|
+
console.log(link);
|
7
|
+
return await this.builder('joinGroup', { hash_link: link });
|
8
|
+
}
|
9
|
+
exports.default = joinGroup;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function joinGroupVoiceChat(chat_guid, voice_chat_id, sdp_offer_data, self_object_guid) {
|
4
|
+
return await this.builder("joinGroupVoiceChat", {
|
5
|
+
chat_guid,
|
6
|
+
voice_chat_id,
|
7
|
+
sdp_offer_data,
|
8
|
+
self_object_guid,
|
9
|
+
});
|
10
|
+
}
|
11
|
+
exports.default = joinGroupVoiceChat;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function leaveGroupVoiceChat(group_guid, voice_chat_id) {
|
4
|
+
return await this.builder("leaveGroupVoiceChat", {
|
5
|
+
group_guid,
|
6
|
+
voice_chat_id,
|
7
|
+
});
|
8
|
+
}
|
9
|
+
exports.default = leaveGroupVoiceChat;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function seenGroupMessages(group_guid, min_id, max_id) {
|
4
|
+
return await this.builder("seenGroupMessages", {
|
5
|
+
group_guid,
|
6
|
+
min_id,
|
7
|
+
max_id,
|
8
|
+
});
|
9
|
+
}
|
10
|
+
exports.default = seenGroupMessages;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import Client from "../../client";
|
2
|
+
type AccessType = "SetAdmin" | "BanMember" | "ChangeInfo" | "PinMessages" | "SetJoinLink" | "SetMemberAccess" | "DeleteGlobalAllMessages";
|
3
|
+
type ActionType = "SetAdmin" | "UnsetAdmin";
|
4
|
+
declare function setGroupAdmin(this: Client, group_guid: string, member_guid: string, action: ActionType, access_list: AccessType[]): Promise<any>;
|
5
|
+
export default setGroupAdmin;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function setGroupAdmin(group_guid, member_guid, action, access_list) {
|
4
|
+
if (!["SetAdmin", "UnsetAdmin"].includes(action)) {
|
5
|
+
console.warn(`${action} argument can only be in ["SetAdmin", "UnsetAdmin"]. Using default "SetAdmin".`);
|
6
|
+
action = "SetAdmin";
|
7
|
+
}
|
8
|
+
if (typeof access_list === "string")
|
9
|
+
access_list = [access_list];
|
10
|
+
return await this.builder("setGroupAdmin", {
|
11
|
+
group_guid,
|
12
|
+
member_guid,
|
13
|
+
action,
|
14
|
+
access_list,
|
15
|
+
});
|
16
|
+
}
|
17
|
+
exports.default = setGroupAdmin;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import Client from "../../client";
|
2
|
+
type AccessType = "ChangeInfo" | "PinMessages" | "DeleteGlobalAllMessages" | "BanMember" | "SetAdmin" | "SetJoinLink" | "SetMemberAccess" | "ViewMembers" | "ViewAdmins" | "SendMessages" | "AddMember" | "ViewInfo" | "ViewMessages" | "DeleteLocalMessages" | "EditMyMessages" | "DeleteGlobalMyMessages";
|
3
|
+
declare function setGroupDefaultAccess(this: Client, group_guid: string, access_list: AccessType[]): Promise<any>;
|
4
|
+
export default setGroupDefaultAccess;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function setGroupDefaultAccess(group_guid, access_list) {
|
4
|
+
if (typeof access_list === "string")
|
5
|
+
access_list = [access_list];
|
6
|
+
return await this.builder("setGroupDefaultAccess", {
|
7
|
+
group_guid,
|
8
|
+
access_list,
|
9
|
+
});
|
10
|
+
}
|
11
|
+
exports.default = setGroupDefaultAccess;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
async function setGroupVoiceChatSetting(group_guid, voice_chat_id, title) {
|
4
|
+
let input = {
|
5
|
+
group_guid,
|
6
|
+
voice_chat_id,
|
7
|
+
updated_parameters: [],
|
8
|
+
};
|
9
|
+
if (typeof title === "string") {
|
10
|
+
input.updated_parameters.push("title");
|
11
|
+
input.title = title;
|
12
|
+
}
|
13
|
+
return await this.builder("setGroupVoiceChatSetting", input);
|
14
|
+
}
|
15
|
+
exports.default = setGroupVoiceChatSetting;
|
@@ -0,0 +1,188 @@
|
|
1
|
+
import Client from '../client';
|
2
|
+
import * as Advanced from './advanced';
|
3
|
+
import * as Auth from './auth';
|
4
|
+
import * as Channels from './channels';
|
5
|
+
import * as Chats from './chats';
|
6
|
+
import * as Contacts from './contacts';
|
7
|
+
import * as Extras from "./extras";
|
8
|
+
import * as Gif from './gif';
|
9
|
+
import * as Groups from './groups';
|
10
|
+
import * as Messages from './messages';
|
11
|
+
import * as Settings from './settings';
|
12
|
+
import * as Stickers from './stickers';
|
13
|
+
import * as Users from './users';
|
14
|
+
import * as Utilities from './utilities';
|
15
|
+
export default class Methods {
|
16
|
+
builder(this: Client, ...args: Parameters<typeof Advanced.builder>): Promise<any>;
|
17
|
+
registerDevice(this: Client, ...args: Parameters<typeof Auth.registerDevice>): Promise<any>;
|
18
|
+
sendCode(this: Client, ...args: Parameters<typeof Auth.sendCode>): Promise<any>;
|
19
|
+
signIn(this: Client, ...args: Parameters<typeof Auth.signIn>): Promise<any>;
|
20
|
+
logout(this: Client, ...args: Parameters<typeof Auth.logout>): Promise<any>;
|
21
|
+
addChannel(this: Client, ...args: Parameters<typeof Channels.addChannel>): Promise<any>;
|
22
|
+
addChannelMembers(this: Client, ...args: Parameters<typeof Channels.addChannelMembers>): Promise<any>;
|
23
|
+
banChannelMember(this: Client, ...args: Parameters<typeof Channels.banChannelMember>): Promise<any>;
|
24
|
+
channelPreviewByJoinLink(this: Client, ...args: Parameters<typeof Channels.channelPreviewByJoinLink>): Promise<any>;
|
25
|
+
leaveChannelVoiceChat(this: Client, ...args: Parameters<typeof Channels.leaveChannelVoiceChat>): Promise<any>;
|
26
|
+
cancelChangeObjectOwner(this: Client, ...args: Parameters<typeof Channels.cancelChangeObjectOwner>): Promise<any>;
|
27
|
+
requestChangeObjectOwner(this: Client, ...args: Parameters<typeof Channels.requestChangeObjectOwner>): Promise<any>;
|
28
|
+
getPendingObjectOwner(this: Client, ...args: Parameters<typeof Channels.getPendingObjectOwner>): Promise<any>;
|
29
|
+
checkChannelUsername(this: Client, ...args: Parameters<typeof Channels.checkChannelUsername>): Promise<any>;
|
30
|
+
createChannelVoiceChat(this: Client, ...args: Parameters<typeof Channels.createChannelVoiceChat>): Promise<any>;
|
31
|
+
discardChannelVoiceChat(this: Client, ...args: Parameters<typeof Channels.discardChannelVoiceChat>): Promise<any>;
|
32
|
+
editChannelInfo(this: Client, ...args: Parameters<typeof Channels.editChannelInfo>): Promise<any>;
|
33
|
+
getBannedChannelMembers(this: Client, ...args: Parameters<typeof Channels.getBannedChannelMembers>): Promise<any>;
|
34
|
+
getChannelAdminAccessList(this: Client, ...args: Parameters<typeof Channels.getChannelAdminAccessList>): Promise<any>;
|
35
|
+
getChannelAdminMembers(this: Client, ...args: Parameters<typeof Channels.getChannelAdminMembers>): Promise<any>;
|
36
|
+
getChannelAllMembers(this: Client, ...args: Parameters<typeof Channels.getChannelAllMembers>): Promise<any>;
|
37
|
+
getChannelInfo(this: Client, ...args: Parameters<typeof Channels.getChannelInfo>): Promise<any>;
|
38
|
+
getChannelLink(this: Client, ...args: Parameters<typeof Channels.getChannelLink>): Promise<any>;
|
39
|
+
joinChannelAction(this: Client, ...args: Parameters<typeof Channels.joinChannelAction>): Promise<any>;
|
40
|
+
joinChannelByLink(this: Client, ...args: Parameters<typeof Channels.joinChannelByLink>): Promise<any>;
|
41
|
+
removeChannel(this: Client, ...args: Parameters<typeof Channels.removeChannel>): Promise<any>;
|
42
|
+
seenChannelMessages(this: Client, ...args: Parameters<typeof Channels.seenChannelMessages>): Promise<any>;
|
43
|
+
setChannelLink(this: Client, ...args: Parameters<typeof Channels.setChannelLink>): Promise<any>;
|
44
|
+
setChannelVoiceChatSetting(this: Client, ...args: Parameters<typeof Channels.setChannelVoiceChatSetting>): Promise<any>;
|
45
|
+
updateChannelUsername(this: Client, ...args: Parameters<typeof Channels.updateChannelUsername>): Promise<any>;
|
46
|
+
deleteAvatar(this: Client, ...args: Parameters<typeof Chats.deleteAvatar>): Promise<any>;
|
47
|
+
deleteChatHistory(this: Client, ...args: Parameters<typeof Chats.deleteChatHistory>): Promise<any>;
|
48
|
+
getAbsObjects(this: Client, ...args: Parameters<typeof Chats.getAbsObjects>): Promise<any>;
|
49
|
+
getAvatars(this: Client, ...args: Parameters<typeof Chats.getAvatars>): Promise<any>;
|
50
|
+
clickMessageUrl(this: Client, ...args: Parameters<typeof Chats.clickMessageUrl>): Promise<any>;
|
51
|
+
searchGlobalMessages(this: Client, ...args: Parameters<typeof Chats.searchGlobalMessages>): Promise<any>;
|
52
|
+
getChatReaction(this: Client, ...args: Parameters<typeof Chats.getChatReaction>): Promise<any>;
|
53
|
+
sendLive(this: Client, ...args: Parameters<typeof Chats.sendLive>): Promise<any>;
|
54
|
+
getLivePlayUrl(this: Client, ...args: Parameters<typeof Chats.getLivePlayUrl>): Promise<any>;
|
55
|
+
getLiveComments(this: Client, ...args: Parameters<typeof Chats.getLiveComments>): Promise<any>;
|
56
|
+
getLiveStatus(this: Client, ...args: Parameters<typeof Chats.getLiveStatus>): Promise<any>;
|
57
|
+
addLiveComment(this: Client, ...args: Parameters<typeof Chats.addLiveComment>): Promise<any>;
|
58
|
+
createJoinLink(this: Client, ...args: Parameters<typeof Chats.createJoinLink>): Promise<any>;
|
59
|
+
editJoinLink(this: Client, ...args: Parameters<typeof Chats.editJoinLink>): Promise<any>;
|
60
|
+
removeJoinLink(this: Client, ...args: Parameters<typeof Chats.removeJoinLink>): Promise<any>;
|
61
|
+
getJoinRequests(this: Client, ...args: Parameters<typeof Chats.getJoinRequests>): Promise<any>;
|
62
|
+
actionOnJoinRequest(this: Client, ...args: Parameters<typeof Chats.actionOnJoinRequest>): Promise<any>;
|
63
|
+
getChats(this: Client, ...args: Parameters<typeof Chats.getChats>): Promise<any>;
|
64
|
+
getChatsUpdates(this: Client, ...args: Parameters<typeof Chats.getChatsUpdates>): Promise<any>;
|
65
|
+
getTopChatUsers(this: Client, ...args: Parameters<typeof Chats.getTopChatUsers>): Promise<any>;
|
66
|
+
getObjectInfoByUsername(this: Client, ...args: Parameters<typeof Chats.getObjectInfoByUsername>): Promise<any>;
|
67
|
+
removeFromTopChatUsers(this: Client, ...args: Parameters<typeof Chats.removeFromTopChatUsers>): Promise<{}>;
|
68
|
+
getLinkFromAppUrl(this: Client, ...args: Parameters<typeof Chats.getLinkFromAppUrl>): Promise<any>;
|
69
|
+
searchChatMessages(this: Client, ...args: Parameters<typeof Chats.searchChatMessages>): Promise<any>;
|
70
|
+
seenChats(this: Client, ...args: Parameters<typeof Chats.seenChats>): Promise<any>;
|
71
|
+
sendChatActivity(this: Client, ...args: Parameters<typeof Chats.sendChatActivity>): Promise<any>;
|
72
|
+
setActionChat(this: Client, ...args: Parameters<typeof Chats.setActionChat>): Promise<any>;
|
73
|
+
uploadAvatar(this: Client, ...args: Parameters<typeof Chats.uploadAvatar>): Promise<any>;
|
74
|
+
addAddressBook(this: Client, ...args: Parameters<typeof Contacts.addAddressBook>): Promise<any>;
|
75
|
+
deleteContact(this: Client, ...args: Parameters<typeof Contacts.deleteContact>): Promise<any>;
|
76
|
+
getContacts(this: Client, ...args: Parameters<typeof Contacts.getContacts>): Promise<any>;
|
77
|
+
getContactsLastOnline(this: Client, ...args: Parameters<typeof Contacts.getContactsLastOnline>): Promise<any>;
|
78
|
+
resetContacts(this: Client, ...args: Parameters<typeof Contacts.resetContacts>): Promise<any>;
|
79
|
+
getContactsUpdates(this: Client, ...args: Parameters<typeof Contacts.getContactsUpdates>): Promise<any>;
|
80
|
+
banMember(this: Client, ...args: Parameters<typeof Extras.banMember>): Promise<any>;
|
81
|
+
getInfo(this: Client, ...args: Parameters<typeof Extras.getInfo>): Promise<any>;
|
82
|
+
getObjectByUsername(this: Client, ...args: Parameters<typeof Extras.getObjectByUsername>): Promise<any>;
|
83
|
+
getProfileLinkItems(this: Client, ...args: Parameters<typeof Extras.getProfileLinkItems>): Promise<any>;
|
84
|
+
getRelatedObjects(this: Client, ...args: Parameters<typeof Extras.getRelatedObjects>): Promise<any>;
|
85
|
+
getTranscription(this: Client, ...args: Parameters<typeof Extras.getTranscription>): Promise<any>;
|
86
|
+
join(this: Client, ...args: Parameters<typeof Extras.join>): Promise<any>;
|
87
|
+
leaveChat(this: Client, ...args: Parameters<typeof Extras.leaveChat>): Promise<any>;
|
88
|
+
reportObject(this: Client, ...args: Parameters<typeof Extras.reportObject>): Promise<any>;
|
89
|
+
searchGlobalObjects(this: Client, ...args: Parameters<typeof Extras.searchGlobalObjects>): Promise<any>;
|
90
|
+
transcribeVoice(this: Client, ...args: Parameters<typeof Extras.transcribeVoice>): Promise<any>;
|
91
|
+
userIsAdmin(this: Client, ...args: Parameters<typeof Extras.userIsAdmin>): Promise<any>;
|
92
|
+
deleteMessagebyCount(this: Client, ...args: Parameters<typeof Extras.deleteMessagebyCount>): Promise<any>;
|
93
|
+
joinVoiceChat(this: Client, ...args: Parameters<typeof Extras.joinVoiceChat>): Promise<any>;
|
94
|
+
setVoiceChatState(this: Client, ...args: Parameters<typeof Extras.setVoiceChatState>): Promise<any>;
|
95
|
+
sendVoiceChatActivity(this: Client, ...args: Parameters<typeof Extras.sendVoiceChatActivity>): Promise<any>;
|
96
|
+
addToMyGifSet(this: Client, ...args: Parameters<typeof Gif.addToMyGifSet>): Promise<any>;
|
97
|
+
getMyGifSet(this: Client, ...args: Parameters<typeof Gif.getMyGifSet>): Promise<any>;
|
98
|
+
removeFromMyGifSet(this: Client, ...args: Parameters<typeof Gif.removeFromMyGifSet>): Promise<any>;
|
99
|
+
addGroup(this: Client, ...args: Parameters<typeof Groups.addGroup>): Promise<any>;
|
100
|
+
addGroupMembers(this: Client, ...args: Parameters<typeof Groups.addGroupMembers>): Promise<any>;
|
101
|
+
banGroupMember(this: Client, ...args: Parameters<typeof Groups.banGroupMember>): Promise<any>;
|
102
|
+
discardGroupVoiceChat(this: Client, ...args: Parameters<typeof Groups.discardGroupVoiceChat>): Promise<any>;
|
103
|
+
createGroupVoiceChat(this: Client, ...args: Parameters<typeof Groups.createGroupVoiceChat>): Promise<any>;
|
104
|
+
deleteNoAccessGroupChat(this: Client, ...args: Parameters<typeof Groups.deleteNoAccessGroupChat>): Promise<any>;
|
105
|
+
editGroupInfo(this: Client, ...args: Parameters<typeof Groups.editGroupInfo>): Promise<any>;
|
106
|
+
getBannedGroupMembers(this: Client, ...args: Parameters<typeof Groups.getBannedGroupMembers>): Promise<any>;
|
107
|
+
getGroupAdminAccessList(this: Client, ...args: Parameters<typeof Groups.getGroupAdminAccessList>): Promise<any>;
|
108
|
+
getGroupAdminMembers(this: Client, ...args: Parameters<typeof Groups.getGroupAdminMembers>): Promise<any>;
|
109
|
+
getGroupOnlineCount(this: Client, ...args: Parameters<typeof Groups.getGroupOnlineCount>): Promise<any>;
|
110
|
+
getGroupAllMembers(this: Client, ...args: Parameters<typeof Groups.getGroupAllMembers>): Promise<any>;
|
111
|
+
getGroupDefaultAccess(this: Client, ...args: Parameters<typeof Groups.getGroupDefaultAccess>): Promise<any>;
|
112
|
+
getGroupInfo(this: Client, ...args: Parameters<typeof Groups.getGroupInfo>): Promise<any>;
|
113
|
+
getGroupLink(this: Client, ...args: Parameters<typeof Groups.getGroupLink>): Promise<any>;
|
114
|
+
getGroupMentionList(this: Client, ...args: Parameters<typeof Groups.getGroupMentionList>): Promise<any>;
|
115
|
+
getGroupVoiceChatUpdates(this: Client, ...args: Parameters<typeof Groups.getGroupVoiceChatUpdates>): Promise<any>;
|
116
|
+
groupPreviewByJoinLink(this: Client, ...args: Parameters<typeof Groups.groupPreviewByJoinLink>): Promise<any>;
|
117
|
+
joinGroup(this: Client, ...args: Parameters<typeof Groups.joinGroup>): Promise<any>;
|
118
|
+
leaveGroup(this: Client, ...args: Parameters<typeof Groups.leaveGroup>): Promise<any>;
|
119
|
+
leaveGroupVoiceChat(this: Client, ...args: Parameters<typeof Groups.leaveGroupVoiceChat>): Promise<any>;
|
120
|
+
removeGroup(this: Client, ...args: Parameters<typeof Groups.removeGroup>): Promise<any>;
|
121
|
+
setGroupAdmin(this: Client, ...args: Parameters<typeof Groups.setGroupAdmin>): Promise<any>;
|
122
|
+
setGroupDefaultAccess(this: Client, ...args: Parameters<typeof Groups.setGroupDefaultAccess>): Promise<any>;
|
123
|
+
seenGroupMessages(this: Client, ...args: Parameters<typeof Groups.seenGroupMessages>): Promise<any>;
|
124
|
+
setGroupLink(this: Client, ...args: Parameters<typeof Groups.setGroupLink>): Promise<any>;
|
125
|
+
setGroupVoiceChatSetting(this: Client, ...args: Parameters<typeof Groups.setGroupVoiceChatSetting>): Promise<any>;
|
126
|
+
joinGroupVoiceChat(this: Client, ...args: Parameters<typeof Groups.joinGroupVoiceChat>): Promise<any>;
|
127
|
+
getGroupVoiceChatParticipants(this: Client, ...args: Parameters<typeof Groups.getGroupVoiceChatParticipants>): Promise<any>;
|
128
|
+
actionOnMessageReaction(this: Client, ...args: Parameters<typeof Messages.actionOnMessageReaction>): Promise<any>;
|
129
|
+
createPoll(this: Client, ...args: Parameters<typeof Messages.createPoll>): Promise<any>;
|
130
|
+
deleteMessages(this: Client, ...args: Parameters<typeof Messages.deleteMessages>): Promise<any>;
|
131
|
+
editMessage(this: Client, ...args: Parameters<typeof Messages.editMessage>): Promise<any>;
|
132
|
+
forwardMessages(this: Client, ...args: Parameters<typeof Messages.forwardMessages>): Promise<any>;
|
133
|
+
getMessagesByID(this: Client, ...args: Parameters<typeof Messages.getMessagesByID>): Promise<any>;
|
134
|
+
getMessagesInterval(this: Client, ...args: Parameters<typeof Messages.getMessagesInterval>): Promise<any>;
|
135
|
+
getMessagesUpdates(this: Client, ...args: Parameters<typeof Messages.getMessagesUpdates>): Promise<any>;
|
136
|
+
getMessageShareUrl(this: Client, ...args: Parameters<typeof Messages.getMessageShareUrl>): Promise<any>;
|
137
|
+
getPollOptionVoters(this: Client, ...args: Parameters<typeof Messages.getPollOptionVoters>): Promise<any>;
|
138
|
+
getPollStatus(this: Client, ...args: Parameters<typeof Messages.getPollStatus>): Promise<any>;
|
139
|
+
sendDocument(this: Client, ...args: Parameters<typeof Messages.sendDocument>): Promise<any>;
|
140
|
+
sendGif(this: Client, ...args: Parameters<typeof Messages.sendGif>): Promise<any>;
|
141
|
+
sendMessage(this: Client, ...args: Parameters<typeof Messages.sendMessage>): Promise<any>;
|
142
|
+
sendMusic(this: Client, ...args: Parameters<typeof Messages.sendMusic>): Promise<any>;
|
143
|
+
sendPhoto(this: Client, ...args: Parameters<typeof Messages.sendPhoto>): Promise<any>;
|
144
|
+
sendVideo(this: Client, ...args: Parameters<typeof Messages.sendVideo>): Promise<any>;
|
145
|
+
sendVideoMessage(this: Client, ...args: Parameters<typeof Messages.sendVideoMessage>): Promise<any>;
|
146
|
+
sendVoice(this: Client, ...args: Parameters<typeof Messages.sendVoice>): Promise<any>;
|
147
|
+
setPinMessage(this: Client, ...args: Parameters<typeof Messages.setPinMessage>): Promise<any>;
|
148
|
+
votePoll(this: Client, ...args: Parameters<typeof Messages.votePoll>): Promise<any>;
|
149
|
+
sendText(this: Client, ...args: Parameters<typeof Messages.sendText>): Promise<any>;
|
150
|
+
getMessages(this: Client, ...args: Parameters<typeof Messages.getMessages>): Promise<any>;
|
151
|
+
sendFileInline(this: Client, ...args: Parameters<typeof Messages.sendFileInline>): Promise<any>;
|
152
|
+
deleteFolder(this: Client, ...args: Parameters<typeof Settings.deleteFolder>): Promise<any>;
|
153
|
+
getBlockedUsers(this: Client, ...args: Parameters<typeof Settings.getBlockedUsers>): Promise<any>;
|
154
|
+
getFolders(this: Client, ...args: Parameters<typeof Settings.getFolders>): Promise<any>;
|
155
|
+
getMySessions(this: Client, ...args: Parameters<typeof Settings.getMySessions>): Promise<any>;
|
156
|
+
getPrivacySetting(this: Client, ...args: Parameters<typeof Settings.getPrivacySetting>): Promise<any>;
|
157
|
+
getSuggestedFolders(this: Client, ...args: Parameters<typeof Settings.getSuggestedFolders>): Promise<any>;
|
158
|
+
getTwoPasscodeStatus(this: Client, ...args: Parameters<typeof Settings.getTwoPasscodeStatus>): Promise<any>;
|
159
|
+
setupTwoStepVerification(this: Client, ...args: Parameters<typeof Settings.setupTwoStepVerification>): Promise<any>;
|
160
|
+
setSetting(this: Client, ...args: Parameters<typeof Settings.setSetting>): Promise<any>;
|
161
|
+
terminateSession(this: Client, ...args: Parameters<typeof Settings.terminateSession>): Promise<any>;
|
162
|
+
updateProfile(this: Client, ...args: Parameters<typeof Settings.updateProfile>): Promise<any>;
|
163
|
+
updateUsername(this: Client, ...args: Parameters<typeof Settings.updateUsername>): Promise<any>;
|
164
|
+
changePassword(this: Client, ...args: Parameters<typeof Settings.changePassword>): Promise<any>;
|
165
|
+
turnOffTwoStep(this: Client, ...args: Parameters<typeof Settings.turnOffTwoStep>): Promise<any>;
|
166
|
+
verifyRecoveryEmail(this: Client, ...args: Parameters<typeof Settings.verifyRecoveryEmail>): Promise<any>;
|
167
|
+
requestRecoveryEmail(this: Client, ...args: Parameters<typeof Settings.requestRecoveryEmail>): Promise<any>;
|
168
|
+
checkTwoStepPasscode(this: Client, ...args: Parameters<typeof Settings.checkTwoStepPasscode>): Promise<any>;
|
169
|
+
terminateOtherSessions(this: Client, ...args: Parameters<typeof Settings.terminateOtherSessions>): Promise<any>;
|
170
|
+
actionOnStickerSet(this: Client, ...args: Parameters<typeof Stickers.actionOnStickerSet>): Promise<any>;
|
171
|
+
getMyStickerSets(this: Client, ...args: Parameters<typeof Stickers.getMyStickerSets>): Promise<any>;
|
172
|
+
getStickersByEmoji(this: Client, ...args: Parameters<typeof Stickers.getStickersByEmoji>): Promise<any>;
|
173
|
+
getStickersBySetIds(this: Client, ...args: Parameters<typeof Stickers.getStickersBySetIds>): Promise<any>;
|
174
|
+
getStickerSetByID(this: Client, ...args: Parameters<typeof Stickers.getStickerSetByID>): Promise<any>;
|
175
|
+
getTrendStickerSets(this: Client, ...args: Parameters<typeof Stickers.getTrendStickerSets>): Promise<any>;
|
176
|
+
searchStickers(this: Client, ...args: Parameters<typeof Stickers.searchStickers>): Promise<any>;
|
177
|
+
checkUserUsername(this: Client, ...args: Parameters<typeof Users.checkUserUsername>): Promise<any>;
|
178
|
+
deleteUserChat(this: Client, ...args: Parameters<typeof Users.deleteUserChat>): Promise<any>;
|
179
|
+
getMe(this: Client, ...args: Parameters<typeof Users.getMe>): Promise<any>;
|
180
|
+
getUserInfo(this: Client, ...args: Parameters<typeof Users.getUserInfo>): Promise<any>;
|
181
|
+
setBlockUser(this: Client, ...args: Parameters<typeof Users.setBlockUser>): Promise<any>;
|
182
|
+
runErrorMiddlewares(this: Client, ...args: Parameters<typeof Utilities.runErrorMiddlewares>): Promise<any>;
|
183
|
+
usePlugin(this: Client, ...args: Parameters<typeof Utilities.usePlugin>): Promise<any>;
|
184
|
+
useError(this: Client, ...args: Parameters<typeof Utilities.useError>): Promise<any>;
|
185
|
+
run(this: Client, ...args: Parameters<typeof Utilities.run>): Promise<any>;
|
186
|
+
requestSendFile(this: Client, ...args: Parameters<typeof Utilities.requestSendFile>): Promise<any>;
|
187
|
+
start(this: Client, ...args: Parameters<typeof Utilities.start>): Promise<any>;
|
188
|
+
}
|