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