rubjs 2.2.3 → 2.4.1

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.
Files changed (398) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/rubjs/client.d.ts +0 -35
  4. package/rubjs/client.js +0 -48
  5. package/rubjs/crypto/index.d.ts +0 -12
  6. package/rubjs/crypto/index.js +0 -95
  7. package/rubjs/index.d.ts +0 -7
  8. package/rubjs/index.js +0 -51
  9. package/rubjs/methods/advanced/builder.d.ts +0 -3
  10. package/rubjs/methods/advanced/builder.js +0 -41
  11. package/rubjs/methods/advanced/index.d.ts +0 -2
  12. package/rubjs/methods/advanced/index.js +0 -8
  13. package/rubjs/methods/auth/index.d.ts +0 -5
  14. package/rubjs/methods/auth/index.js +0 -14
  15. package/rubjs/methods/auth/logout.d.ts +0 -3
  16. package/rubjs/methods/auth/logout.js +0 -17
  17. package/rubjs/methods/auth/registerDevice.d.ts +0 -3
  18. package/rubjs/methods/auth/registerDevice.js +0 -61
  19. package/rubjs/methods/auth/sendCode.d.ts +0 -3
  20. package/rubjs/methods/auth/sendCode.js +0 -25
  21. package/rubjs/methods/auth/signIn.d.ts +0 -3
  22. package/rubjs/methods/auth/signIn.js +0 -24
  23. package/rubjs/methods/channels/addChannel.d.ts +0 -3
  24. package/rubjs/methods/channels/addChannel.js +0 -26
  25. package/rubjs/methods/channels/addChannelMembers.d.ts +0 -3
  26. package/rubjs/methods/channels/addChannelMembers.js +0 -22
  27. package/rubjs/methods/channels/banChannelMember.d.ts +0 -3
  28. package/rubjs/methods/channels/banChannelMember.js +0 -23
  29. package/rubjs/methods/channels/cancelChangeObjectOwner.d.ts +0 -3
  30. package/rubjs/methods/channels/cancelChangeObjectOwner.js +0 -17
  31. package/rubjs/methods/channels/channelPreviewByJoinLink.d.ts +0 -3
  32. package/rubjs/methods/channels/channelPreviewByJoinLink.js +0 -19
  33. package/rubjs/methods/channels/checkChannelUsername.d.ts +0 -3
  34. package/rubjs/methods/channels/checkChannelUsername.js +0 -19
  35. package/rubjs/methods/channels/createChannelVoiceChat.d.ts +0 -3
  36. package/rubjs/methods/channels/createChannelVoiceChat.js +0 -17
  37. package/rubjs/methods/channels/discardChannelVoiceChat.d.ts +0 -3
  38. package/rubjs/methods/channels/discardChannelVoiceChat.js +0 -20
  39. package/rubjs/methods/channels/editChannelInfo.d.ts +0 -4
  40. package/rubjs/methods/channels/editChannelInfo.js +0 -48
  41. package/rubjs/methods/channels/getBannedChannelMembers.d.ts +0 -3
  42. package/rubjs/methods/channels/getBannedChannelMembers.js +0 -20
  43. package/rubjs/methods/channels/getChannelAdminAccessList.d.ts +0 -3
  44. package/rubjs/methods/channels/getChannelAdminAccessList.js +0 -20
  45. package/rubjs/methods/channels/getChannelAdminMembers.d.ts +0 -3
  46. package/rubjs/methods/channels/getChannelAdminMembers.js +0 -20
  47. package/rubjs/methods/channels/getChannelAllMembers.d.ts +0 -3
  48. package/rubjs/methods/channels/getChannelAllMembers.js +0 -21
  49. package/rubjs/methods/channels/getChannelInfo.d.ts +0 -3
  50. package/rubjs/methods/channels/getChannelInfo.js +0 -17
  51. package/rubjs/methods/channels/getChannelLink.d.ts +0 -3
  52. package/rubjs/methods/channels/getChannelLink.js +0 -17
  53. package/rubjs/methods/channels/getPendingObjectOwner.d.ts +0 -3
  54. package/rubjs/methods/channels/getPendingObjectOwner.js +0 -17
  55. package/rubjs/methods/channels/index.d.ts +0 -26
  56. package/rubjs/methods/channels/index.js +0 -56
  57. package/rubjs/methods/channels/joinChannelAction.d.ts +0 -3
  58. package/rubjs/methods/channels/joinChannelAction.js +0 -19
  59. package/rubjs/methods/channels/joinChannelByLink.d.ts +0 -3
  60. package/rubjs/methods/channels/joinChannelByLink.js +0 -19
  61. package/rubjs/methods/channels/leaveChannelVoiceChat.d.ts +0 -3
  62. package/rubjs/methods/channels/leaveChannelVoiceChat.js +0 -20
  63. package/rubjs/methods/channels/removeChannel.d.ts +0 -3
  64. package/rubjs/methods/channels/removeChannel.js +0 -17
  65. package/rubjs/methods/channels/requestChangeObjectOwner.d.ts +0 -3
  66. package/rubjs/methods/channels/requestChangeObjectOwner.js +0 -20
  67. package/rubjs/methods/channels/seenChannelMessages.d.ts +0 -3
  68. package/rubjs/methods/channels/seenChannelMessages.js +0 -21
  69. package/rubjs/methods/channels/setChannelLink.d.ts +0 -3
  70. package/rubjs/methods/channels/setChannelLink.js +0 -17
  71. package/rubjs/methods/channels/setChannelVoiceChatSetting.d.ts +0 -3
  72. package/rubjs/methods/channels/setChannelVoiceChatSetting.js +0 -26
  73. package/rubjs/methods/channels/updateChannelUsername.d.ts +0 -3
  74. package/rubjs/methods/channels/updateChannelUsername.js +0 -20
  75. package/rubjs/methods/chats/actionOnJoinRequest.d.ts +0 -3
  76. package/rubjs/methods/chats/actionOnJoinRequest.js +0 -22
  77. package/rubjs/methods/chats/addLiveComment.d.ts +0 -3
  78. package/rubjs/methods/chats/addLiveComment.js +0 -17
  79. package/rubjs/methods/chats/clickMessageUrl.d.ts +0 -3
  80. package/rubjs/methods/chats/clickMessageUrl.js +0 -17
  81. package/rubjs/methods/chats/createJoinLink.d.ts +0 -3
  82. package/rubjs/methods/chats/createJoinLink.js +0 -23
  83. package/rubjs/methods/chats/deleteAvatar.d.ts +0 -3
  84. package/rubjs/methods/chats/deleteAvatar.js +0 -17
  85. package/rubjs/methods/chats/deleteChatHistory.d.ts +0 -3
  86. package/rubjs/methods/chats/deleteChatHistory.js +0 -20
  87. package/rubjs/methods/chats/editJoinLink.d.ts +0 -3
  88. package/rubjs/methods/chats/editJoinLink.js +0 -34
  89. package/rubjs/methods/chats/getAbsObjects.d.ts +0 -3
  90. package/rubjs/methods/chats/getAbsObjects.js +0 -19
  91. package/rubjs/methods/chats/getAvatars.d.ts +0 -3
  92. package/rubjs/methods/chats/getAvatars.js +0 -17
  93. package/rubjs/methods/chats/getChatReaction.d.ts +0 -3
  94. package/rubjs/methods/chats/getChatReaction.js +0 -17
  95. package/rubjs/methods/chats/getChats.d.ts +0 -3
  96. package/rubjs/methods/chats/getChats.js +0 -17
  97. package/rubjs/methods/chats/getChatsUpdates.d.ts +0 -3
  98. package/rubjs/methods/chats/getChatsUpdates.js +0 -17
  99. package/rubjs/methods/chats/getJoinLinks.d.ts +0 -3
  100. package/rubjs/methods/chats/getJoinLinks.js +0 -17
  101. package/rubjs/methods/chats/getJoinRequests.d.ts +0 -3
  102. package/rubjs/methods/chats/getJoinRequests.js +0 -17
  103. package/rubjs/methods/chats/getLinkFromAppUrl.d.ts +0 -3
  104. package/rubjs/methods/chats/getLinkFromAppUrl.js +0 -17
  105. package/rubjs/methods/chats/getLiveComments.d.ts +0 -3
  106. package/rubjs/methods/chats/getLiveComments.js +0 -17
  107. package/rubjs/methods/chats/getLivePlayUrl.d.ts +0 -3
  108. package/rubjs/methods/chats/getLivePlayUrl.js +0 -17
  109. package/rubjs/methods/chats/getLiveStatus.d.ts +0 -3
  110. package/rubjs/methods/chats/getLiveStatus.js +0 -17
  111. package/rubjs/methods/chats/getObjectInfoByUsername.d.ts +0 -3
  112. package/rubjs/methods/chats/getObjectInfoByUsername.js +0 -19
  113. package/rubjs/methods/chats/getTopChatUsers.d.ts +0 -3
  114. package/rubjs/methods/chats/getTopChatUsers.js +0 -18
  115. package/rubjs/methods/chats/index.d.ts +0 -29
  116. package/rubjs/methods/chats/index.js +0 -62
  117. package/rubjs/methods/chats/removeFromTopChatUsers.d.ts +0 -3
  118. package/rubjs/methods/chats/removeFromTopChatUsers.js +0 -17
  119. package/rubjs/methods/chats/removeJoinLink.d.ts +0 -3
  120. package/rubjs/methods/chats/removeJoinLink.js +0 -19
  121. package/rubjs/methods/chats/searchChatMessages.d.ts +0 -3
  122. package/rubjs/methods/chats/searchChatMessages.js +0 -23
  123. package/rubjs/methods/chats/searchGlobalMessages.d.ts +0 -3
  124. package/rubjs/methods/chats/searchGlobalMessages.js +0 -17
  125. package/rubjs/methods/chats/seenChats.d.ts +0 -3
  126. package/rubjs/methods/chats/seenChats.js +0 -17
  127. package/rubjs/methods/chats/sendChatActivity.d.ts +0 -3
  128. package/rubjs/methods/chats/sendChatActivity.js +0 -19
  129. package/rubjs/methods/chats/sendLive.d.ts +0 -3
  130. package/rubjs/methods/chats/sendLive.js +0 -28
  131. package/rubjs/methods/chats/setActionChat.d.ts +0 -3
  132. package/rubjs/methods/chats/setActionChat.js +0 -19
  133. package/rubjs/methods/chats/uploadAvatar.d.ts +0 -3
  134. package/rubjs/methods/chats/uploadAvatar.js +0 -29
  135. package/rubjs/methods/contacts/addAddressBook.d.ts +0 -3
  136. package/rubjs/methods/contacts/addAddressBook.js +0 -17
  137. package/rubjs/methods/contacts/deleteContact.d.ts +0 -3
  138. package/rubjs/methods/contacts/deleteContact.js +0 -17
  139. package/rubjs/methods/contacts/getContacts.d.ts +0 -3
  140. package/rubjs/methods/contacts/getContacts.js +0 -17
  141. package/rubjs/methods/contacts/getContactsLastOnline.d.ts +0 -3
  142. package/rubjs/methods/contacts/getContactsLastOnline.js +0 -17
  143. package/rubjs/methods/contacts/getContactsUpdates.d.ts +0 -3
  144. package/rubjs/methods/contacts/getContactsUpdates.js +0 -17
  145. package/rubjs/methods/contacts/index.d.ts +0 -7
  146. package/rubjs/methods/contacts/index.js +0 -18
  147. package/rubjs/methods/contacts/resetContacts.d.ts +0 -3
  148. package/rubjs/methods/contacts/resetContacts.js +0 -18
  149. package/rubjs/methods/extras/banMember.d.ts +0 -3
  150. package/rubjs/methods/extras/banMember.js +0 -20
  151. package/rubjs/methods/extras/getInfo.d.ts +0 -3
  152. package/rubjs/methods/extras/getInfo.js +0 -26
  153. package/rubjs/methods/extras/getObjectByUsername.d.ts +0 -3
  154. package/rubjs/methods/extras/getObjectByUsername.js +0 -19
  155. package/rubjs/methods/extras/getProfileLinkItems.d.ts +0 -3
  156. package/rubjs/methods/extras/getProfileLinkItems.js +0 -17
  157. package/rubjs/methods/extras/getRelatedObjects.d.ts +0 -3
  158. package/rubjs/methods/extras/getRelatedObjects.js +0 -17
  159. package/rubjs/methods/extras/getTranscription.d.ts +0 -3
  160. package/rubjs/methods/extras/getTranscription.js +0 -20
  161. package/rubjs/methods/extras/index.d.ts +0 -13
  162. package/rubjs/methods/extras/index.js +0 -30
  163. package/rubjs/methods/extras/join.d.ts +0 -3
  164. package/rubjs/methods/extras/join.js +0 -22
  165. package/rubjs/methods/extras/leaveChat.d.ts +0 -3
  166. package/rubjs/methods/extras/leaveChat.js +0 -20
  167. package/rubjs/methods/extras/reportObject.d.ts +0 -14
  168. package/rubjs/methods/extras/reportObject.js +0 -32
  169. package/rubjs/methods/extras/searchGlobalObjects.d.ts +0 -3
  170. package/rubjs/methods/extras/searchGlobalObjects.js +0 -17
  171. package/rubjs/methods/extras/transcribeVoice.d.ts +0 -3
  172. package/rubjs/methods/extras/transcribeVoice.js +0 -17
  173. package/rubjs/methods/extras/userIsAdmin.d.ts +0 -3
  174. package/rubjs/methods/extras/userIsAdmin.js +0 -29
  175. package/rubjs/methods/gif/addToMyGifSet.d.ts +0 -3
  176. package/rubjs/methods/gif/addToMyGifSet.js +0 -17
  177. package/rubjs/methods/gif/getMyGifSet.d.ts +0 -3
  178. package/rubjs/methods/gif/getMyGifSet.js +0 -17
  179. package/rubjs/methods/gif/index.d.ts +0 -4
  180. package/rubjs/methods/gif/index.js +0 -12
  181. package/rubjs/methods/gif/removeFromMyGifSet.d.ts +0 -3
  182. package/rubjs/methods/gif/removeFromMyGifSet.js +0 -17
  183. package/rubjs/methods/groups/addGroup.d.ts +0 -3
  184. package/rubjs/methods/groups/addGroup.js +0 -19
  185. package/rubjs/methods/groups/addGroupMembers.d.ts +0 -3
  186. package/rubjs/methods/groups/addGroupMembers.js +0 -19
  187. package/rubjs/methods/groups/banGroupMember.d.ts +0 -3
  188. package/rubjs/methods/groups/banGroupMember.js +0 -23
  189. package/rubjs/methods/groups/createGroupVoiceChat.d.ts +0 -3
  190. package/rubjs/methods/groups/createGroupVoiceChat.js +0 -17
  191. package/rubjs/methods/groups/deleteNoAccessGroupChat.d.ts +0 -3
  192. package/rubjs/methods/groups/deleteNoAccessGroupChat.js +0 -17
  193. package/rubjs/methods/groups/discardGroupVoiceChat.d.ts +0 -3
  194. package/rubjs/methods/groups/discardGroupVoiceChat.js +0 -20
  195. package/rubjs/methods/groups/editGroupInfo.d.ts +0 -6
  196. package/rubjs/methods/groups/editGroupInfo.js +0 -51
  197. package/rubjs/methods/groups/getBannedGroupMembers.d.ts +0 -3
  198. package/rubjs/methods/groups/getBannedGroupMembers.js +0 -17
  199. package/rubjs/methods/groups/getGroupAdminAccessList.d.ts +0 -3
  200. package/rubjs/methods/groups/getGroupAdminAccessList.js +0 -20
  201. package/rubjs/methods/groups/getGroupAdminMembers.d.ts +0 -3
  202. package/rubjs/methods/groups/getGroupAdminMembers.js +0 -17
  203. package/rubjs/methods/groups/getGroupAllMembers.d.ts +0 -3
  204. package/rubjs/methods/groups/getGroupAllMembers.js +0 -21
  205. package/rubjs/methods/groups/getGroupDefaultAccess.d.ts +0 -3
  206. package/rubjs/methods/groups/getGroupDefaultAccess.js +0 -17
  207. package/rubjs/methods/groups/getGroupInfo.d.ts +0 -3
  208. package/rubjs/methods/groups/getGroupInfo.js +0 -17
  209. package/rubjs/methods/groups/getGroupLink.d.ts +0 -3
  210. package/rubjs/methods/groups/getGroupLink.js +0 -17
  211. package/rubjs/methods/groups/getGroupMentionList.d.ts +0 -3
  212. package/rubjs/methods/groups/getGroupMentionList.js +0 -20
  213. package/rubjs/methods/groups/getGroupOnlineCount.d.ts +0 -3
  214. package/rubjs/methods/groups/getGroupOnlineCount.js +0 -17
  215. package/rubjs/methods/groups/getGroupVoiceChatUpdates.d.ts +0 -3
  216. package/rubjs/methods/groups/getGroupVoiceChatUpdates.js +0 -21
  217. package/rubjs/methods/groups/groupPreviewByJoinLink.d.ts +0 -3
  218. package/rubjs/methods/groups/groupPreviewByJoinLink.js +0 -19
  219. package/rubjs/methods/groups/index.d.ts +0 -28
  220. package/rubjs/methods/groups/index.js +0 -60
  221. package/rubjs/methods/groups/joinGroup.d.ts +0 -3
  222. package/rubjs/methods/groups/joinGroup.js +0 -19
  223. package/rubjs/methods/groups/leaveGroup.d.ts +0 -3
  224. package/rubjs/methods/groups/leaveGroup.js +0 -17
  225. package/rubjs/methods/groups/leaveGroupVoiceChat.d.ts +0 -3
  226. package/rubjs/methods/groups/leaveGroupVoiceChat.js +0 -20
  227. package/rubjs/methods/groups/removeGroup.d.ts +0 -3
  228. package/rubjs/methods/groups/removeGroup.js +0 -17
  229. package/rubjs/methods/groups/seenGroupMessages.d.ts +0 -3
  230. package/rubjs/methods/groups/seenGroupMessages.js +0 -21
  231. package/rubjs/methods/groups/setGroupAdmin.d.ts +0 -5
  232. package/rubjs/methods/groups/setGroupAdmin.js +0 -26
  233. package/rubjs/methods/groups/setGroupDefaultAccess.d.ts +0 -4
  234. package/rubjs/methods/groups/setGroupDefaultAccess.js +0 -22
  235. package/rubjs/methods/groups/setGroupLink.d.ts +0 -3
  236. package/rubjs/methods/groups/setGroupLink.js +0 -17
  237. package/rubjs/methods/groups/setGroupVoiceChatSetting.d.ts +0 -3
  238. package/rubjs/methods/groups/setGroupVoiceChatSetting.js +0 -26
  239. package/rubjs/methods/index.d.ts +0 -186
  240. package/rubjs/methods/index.js +0 -923
  241. package/rubjs/methods/messages/actionOnMessageReaction.d.ts +0 -3
  242. package/rubjs/methods/messages/actionOnMessageReaction.js +0 -25
  243. package/rubjs/methods/messages/createPoll.d.ts +0 -3
  244. package/rubjs/methods/messages/createPoll.js +0 -35
  245. package/rubjs/methods/messages/deleteMessages.d.ts +0 -3
  246. package/rubjs/methods/messages/deleteMessages.js +0 -26
  247. package/rubjs/methods/messages/editMessage.d.ts +0 -3
  248. package/rubjs/methods/messages/editMessage.js +0 -23
  249. package/rubjs/methods/messages/forwardMessages.d.ts +0 -3
  250. package/rubjs/methods/messages/forwardMessages.js +0 -31
  251. package/rubjs/methods/messages/getMessageShareUrl.d.ts +0 -3
  252. package/rubjs/methods/messages/getMessageShareUrl.js +0 -17
  253. package/rubjs/methods/messages/getMessages.d.ts +0 -3
  254. package/rubjs/methods/messages/getMessages.js +0 -23
  255. package/rubjs/methods/messages/getMessagesByID.d.ts +0 -3
  256. package/rubjs/methods/messages/getMessagesByID.js +0 -22
  257. package/rubjs/methods/messages/getMessagesInterval.d.ts +0 -3
  258. package/rubjs/methods/messages/getMessagesInterval.js +0 -20
  259. package/rubjs/methods/messages/getMessagesUpdates.d.ts +0 -3
  260. package/rubjs/methods/messages/getMessagesUpdates.js +0 -17
  261. package/rubjs/methods/messages/getPollOptionVoters.d.ts +0 -3
  262. package/rubjs/methods/messages/getPollOptionVoters.js +0 -21
  263. package/rubjs/methods/messages/getPollStatus.d.ts +0 -3
  264. package/rubjs/methods/messages/getPollStatus.js +0 -17
  265. package/rubjs/methods/messages/index.d.ts +0 -26
  266. package/rubjs/methods/messages/index.js +0 -56
  267. package/rubjs/methods/messages/requestSendFile.d.ts +0 -4
  268. package/rubjs/methods/messages/requestSendFile.js +0 -22
  269. package/rubjs/methods/messages/sendDocument.d.ts +0 -3
  270. package/rubjs/methods/messages/sendDocument.js +0 -17
  271. package/rubjs/methods/messages/sendGif.d.ts +0 -3
  272. package/rubjs/methods/messages/sendGif.js +0 -17
  273. package/rubjs/methods/messages/sendMessage.d.ts +0 -3
  274. package/rubjs/methods/messages/sendMessage.js +0 -134
  275. package/rubjs/methods/messages/sendMusic.d.ts +0 -3
  276. package/rubjs/methods/messages/sendMusic.js +0 -17
  277. package/rubjs/methods/messages/sendPhoto.d.ts +0 -3
  278. package/rubjs/methods/messages/sendPhoto.js +0 -17
  279. package/rubjs/methods/messages/sendSticker.d.ts +0 -3
  280. package/rubjs/methods/messages/sendSticker.js +0 -17
  281. package/rubjs/methods/messages/sendText.d.ts +0 -3
  282. package/rubjs/methods/messages/sendText.js +0 -17
  283. package/rubjs/methods/messages/sendVideo.d.ts +0 -3
  284. package/rubjs/methods/messages/sendVideo.js +0 -17
  285. package/rubjs/methods/messages/sendVideoMessage.d.ts +0 -3
  286. package/rubjs/methods/messages/sendVideoMessage.js +0 -17
  287. package/rubjs/methods/messages/sendVoice.d.ts +0 -3
  288. package/rubjs/methods/messages/sendVoice.js +0 -17
  289. package/rubjs/methods/messages/setPinMessage.d.ts +0 -3
  290. package/rubjs/methods/messages/setPinMessage.js +0 -23
  291. package/rubjs/methods/messages/votePoll.d.ts +0 -3
  292. package/rubjs/methods/messages/votePoll.js +0 -17
  293. package/rubjs/methods/settings/changePassword.d.ts +0 -3
  294. package/rubjs/methods/settings/changePassword.js +0 -17
  295. package/rubjs/methods/settings/checkTwoStepPasscode.d.ts +0 -3
  296. package/rubjs/methods/settings/checkTwoStepPasscode.js +0 -17
  297. package/rubjs/methods/settings/deleteFolder.d.ts +0 -3
  298. package/rubjs/methods/settings/deleteFolder.js +0 -17
  299. package/rubjs/methods/settings/getBlockedUsers.d.ts +0 -3
  300. package/rubjs/methods/settings/getBlockedUsers.js +0 -17
  301. package/rubjs/methods/settings/getFolders.d.ts +0 -3
  302. package/rubjs/methods/settings/getFolders.js +0 -17
  303. package/rubjs/methods/settings/getMySessions.d.ts +0 -3
  304. package/rubjs/methods/settings/getMySessions.js +0 -17
  305. package/rubjs/methods/settings/getPrivacySetting.d.ts +0 -3
  306. package/rubjs/methods/settings/getPrivacySetting.js +0 -17
  307. package/rubjs/methods/settings/getSuggestedFolders.d.ts +0 -3
  308. package/rubjs/methods/settings/getSuggestedFolders.js +0 -17
  309. package/rubjs/methods/settings/getTwoPasscodeStatus.d.ts +0 -3
  310. package/rubjs/methods/settings/getTwoPasscodeStatus.js +0 -17
  311. package/rubjs/methods/settings/index.d.ts +0 -19
  312. package/rubjs/methods/settings/index.js +0 -42
  313. package/rubjs/methods/settings/requestRecoveryEmail.d.ts +0 -3
  314. package/rubjs/methods/settings/requestRecoveryEmail.js +0 -20
  315. package/rubjs/methods/settings/setSetting.d.ts +0 -5
  316. package/rubjs/methods/settings/setSetting.js +0 -50
  317. package/rubjs/methods/settings/setupTwoStepVerification.d.ts +0 -3
  318. package/rubjs/methods/settings/setupTwoStepVerification.js +0 -21
  319. package/rubjs/methods/settings/terminateOtherSessions.d.ts +0 -3
  320. package/rubjs/methods/settings/terminateOtherSessions.js +0 -18
  321. package/rubjs/methods/settings/terminateSession.d.ts +0 -3
  322. package/rubjs/methods/settings/terminateSession.js +0 -17
  323. package/rubjs/methods/settings/turnOffTwoStep.d.ts +0 -3
  324. package/rubjs/methods/settings/turnOffTwoStep.js +0 -18
  325. package/rubjs/methods/settings/updateProfile.d.ts +0 -3
  326. package/rubjs/methods/settings/updateProfile.js +0 -30
  327. package/rubjs/methods/settings/updateUsername.d.ts +0 -3
  328. package/rubjs/methods/settings/updateUsername.js +0 -17
  329. package/rubjs/methods/settings/verifyRecoveryEmail.d.ts +0 -3
  330. package/rubjs/methods/settings/verifyRecoveryEmail.js +0 -17
  331. package/rubjs/methods/stickers/actionOnStickerSet.d.ts +0 -3
  332. package/rubjs/methods/stickers/actionOnStickerSet.js +0 -19
  333. package/rubjs/methods/stickers/getMyStickerSets.d.ts +0 -3
  334. package/rubjs/methods/stickers/getMyStickerSets.js +0 -17
  335. package/rubjs/methods/stickers/getStickerSetByID.d.ts +0 -3
  336. package/rubjs/methods/stickers/getStickerSetByID.js +0 -17
  337. package/rubjs/methods/stickers/getStickersByEmoji.d.ts +0 -3
  338. package/rubjs/methods/stickers/getStickersByEmoji.js +0 -17
  339. package/rubjs/methods/stickers/getStickersBySetIds.d.ts +0 -3
  340. package/rubjs/methods/stickers/getStickersBySetIds.js +0 -19
  341. package/rubjs/methods/stickers/getTrendStickerSets.d.ts +0 -3
  342. package/rubjs/methods/stickers/getTrendStickerSets.js +0 -17
  343. package/rubjs/methods/stickers/index.d.ts +0 -8
  344. package/rubjs/methods/stickers/index.js +0 -20
  345. package/rubjs/methods/stickers/searchStickers.d.ts +0 -3
  346. package/rubjs/methods/stickers/searchStickers.js +0 -17
  347. package/rubjs/methods/users/checkUserUsername.d.ts +0 -3
  348. package/rubjs/methods/users/checkUserUsername.js +0 -17
  349. package/rubjs/methods/users/deleteUserChat.d.ts +0 -3
  350. package/rubjs/methods/users/deleteUserChat.js +0 -20
  351. package/rubjs/methods/users/getMe.d.ts +0 -3
  352. package/rubjs/methods/users/getMe.js +0 -17
  353. package/rubjs/methods/users/getUserInfo.d.ts +0 -4
  354. package/rubjs/methods/users/getUserInfo.js +0 -18
  355. package/rubjs/methods/users/index.d.ts +0 -6
  356. package/rubjs/methods/users/index.js +0 -16
  357. package/rubjs/methods/users/setBlockUser.d.ts +0 -3
  358. package/rubjs/methods/users/setBlockUser.js +0 -19
  359. package/rubjs/methods/utilities/download.d.ts +0 -3
  360. package/rubjs/methods/utilities/download.js +0 -17
  361. package/rubjs/methods/utilities/downloadProfilePicture.d.ts +0 -3
  362. package/rubjs/methods/utilities/downloadProfilePicture.js +0 -27
  363. package/rubjs/methods/utilities/index.d.ts +0 -6
  364. package/rubjs/methods/utilities/index.js +0 -16
  365. package/rubjs/methods/utilities/run.d.ts +0 -3
  366. package/rubjs/methods/utilities/run.js +0 -24
  367. package/rubjs/methods/utilities/start.d.ts +0 -3
  368. package/rubjs/methods/utilities/start.js +0 -70
  369. package/rubjs/methods/utilities/thumbnail.d.ts +0 -5
  370. package/rubjs/methods/utilities/thumbnail.js +0 -61
  371. package/rubjs/network/index.d.ts +0 -37
  372. package/rubjs/network/index.js +0 -284
  373. package/rubjs/parser/index.d.ts +0 -25
  374. package/rubjs/parser/index.js +0 -110
  375. package/rubjs/session/index.d.ts +0 -18
  376. package/rubjs/session/index.js +0 -57
  377. package/rubjs/types/auth.d.ts +0 -40
  378. package/rubjs/types/auth.js +0 -2
  379. package/rubjs/types/chats.d.ts +0 -79
  380. package/rubjs/types/chats.js +0 -2
  381. package/rubjs/types/decorators.d.ts +0 -168
  382. package/rubjs/types/decorators.js +0 -2
  383. package/rubjs/types/groups.d.ts +0 -129
  384. package/rubjs/types/groups.js +0 -2
  385. package/rubjs/types/index.d.ts +0 -8
  386. package/rubjs/types/index.js +0 -53
  387. package/rubjs/types/message.d.ts +0 -18
  388. package/rubjs/types/message.js +0 -31
  389. package/rubjs/types/messages.d.ts +0 -176
  390. package/rubjs/types/messages.js +0 -2
  391. package/rubjs/types/users.d.ts +0 -64
  392. package/rubjs/types/users.js +0 -2
  393. package/rubjs/utils/filters.d.ts +0 -29
  394. package/rubjs/utils/filters.js +0 -123
  395. package/rubjs/utils/index.d.ts +0 -3
  396. package/rubjs/utils/index.js +0 -10
  397. package/rubjs/utils/utils.d.ts +0 -10
  398. package/rubjs/utils/utils.js +0 -12
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function updateChannelUsername(channel_guid, username) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("updateChannelUsername", {
15
- channel_guid,
16
- username: username.replace("@", ""),
17
- });
18
- });
19
- }
20
- exports.default = updateChannelUsername;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function actionOnJoinRequest(this: Client, object_guid: string, user_guid: string, object_type: "Group" | "Channel", action: "Accept" | "Reject"): Promise<any>;
3
- export default actionOnJoinRequest;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function actionOnJoinRequest(object_guid, user_guid, object_type, action) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("actionOnJoinRequest", {
15
- object_guid,
16
- user_guid,
17
- object_type,
18
- action,
19
- });
20
- });
21
- }
22
- exports.default = actionOnJoinRequest;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function addLiveComment(this: Client, text: string, access_token: string, live_id: string): Promise<any>;
3
- export default addLiveComment;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function addLiveComment(text, access_token, live_id) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("addLiveComment", { access_token, live_id, text });
15
- });
16
- }
17
- exports.default = addLiveComment;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function clickMessageUrl(this: Client, object_guid: string, message_id: string, link_url: string): Promise<any>;
3
- export default clickMessageUrl;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function clickMessageUrl(object_guid, message_id, link_url) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("clickMessageUrl", { object_guid, message_id, link_url });
15
- });
16
- }
17
- exports.default = clickMessageUrl;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function createJoinLink(this: Client, object_guid: string, title: string, request_needed: boolean, usage_limit: number, expire_time: number): Promise<any>;
3
- export default createJoinLink;
@@ -1,23 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function createJoinLink(object_guid, title, request_needed, usage_limit, expire_time) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("createJoinLink", {
15
- object_guid,
16
- title,
17
- request_needed,
18
- usage_limit,
19
- expire_time,
20
- });
21
- });
22
- }
23
- exports.default = createJoinLink;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function deleteAvatar(this: Client, object_guid: string, avatar_id: string): Promise<any>;
3
- export default deleteAvatar;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function deleteAvatar(object_guid, avatar_id) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("deleteAvatar", { object_guid, avatar_id });
15
- });
16
- }
17
- exports.default = deleteAvatar;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function deleteChatHistory(this: Client, object_guid: string, last_message_id: string): Promise<any>;
3
- export default deleteChatHistory;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function deleteChatHistory(object_guid, last_message_id) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("deleteChatHistory", {
15
- object_guid,
16
- last_message_id,
17
- });
18
- });
19
- }
20
- exports.default = deleteChatHistory;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function editJoinLink(this: Client, object_guid: string, join_link: string, title?: string, request_needed?: boolean, expire_time?: number, usage_limit?: number): Promise<any>;
3
- export default editJoinLink;
@@ -1,34 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function editJoinLink(object_guid, join_link, title, request_needed, expire_time, usage_limit) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- let input = { object_guid, join_link, update_parameters: [] };
15
- if (typeof title === "string") {
16
- input.update_parameters.push("title");
17
- input.title = title;
18
- }
19
- if (typeof request_needed === "boolean") {
20
- input.update_parameters.push("request_needed");
21
- input.request_needed = request_needed;
22
- }
23
- if (typeof expire_time === "number") {
24
- input.update_parameters.push("expire_time");
25
- input.expire_time = expire_time;
26
- }
27
- if (typeof usage_limit === "number") {
28
- input.update_parameters.push("usage_limit");
29
- input.usage_limit = usage_limit;
30
- }
31
- return yield this.builder("editJoinLink", input);
32
- });
33
- }
34
- exports.default = editJoinLink;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function getAbsObjects(this: Client, object_guids: string[]): Promise<any>;
3
- export default getAbsObjects;
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function getAbsObjects(object_guids) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- if (typeof object_guids === "string")
15
- object_guids = [object_guids];
16
- return yield this.builder("getAbsObjects", { object_guids });
17
- });
18
- }
19
- exports.default = getAbsObjects;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function getAvatars(this: Client, object_guid: string): Promise<any>;
3
- export default getAvatars;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function getAvatars(object_guid) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("getAvatars", { object_guid });
15
- });
16
- }
17
- exports.default = getAvatars;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function getChatReaction(this: Client, object_guid: string, min_id: string, max_id: string): Promise<any>;
3
- export default getChatReaction;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function getChatReaction(object_guid, min_id, max_id) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("getChatReaction", { object_guid, min_id, max_id });
15
- });
16
- }
17
- exports.default = getChatReaction;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function getChats(this: Client, start_id: string): Promise<any>;
3
- export default getChats;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function getChats(start_id) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("getChats", { start_id });
15
- });
16
- }
17
- exports.default = getChats;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function getChatsUpdates(this: Client, state?: number): Promise<any>;
3
- export default getChatsUpdates;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function getChatsUpdates() {
13
- return __awaiter(this, arguments, void 0, function* (state = Math.round(Date.now() / 1000) - 150) {
14
- return yield this.builder("getChatsUpdates", { state });
15
- });
16
- }
17
- exports.default = getChatsUpdates;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function getJoinLinks(this: Client, object_guid: string): Promise<any>;
3
- export default getJoinLinks;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function getJoinLinks(object_guid) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("getJoinLinks", { object_guid });
15
- });
16
- }
17
- exports.default = getJoinLinks;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function getJoinRequests(this: Client, object_guid: string): Promise<any>;
3
- export default getJoinRequests;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function getJoinRequests(object_guid) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("getJoinRequests", { object_guid });
15
- });
16
- }
17
- exports.default = getJoinRequests;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function getLinkFromAppUrl(this: Client, app_url: string): Promise<any>;
3
- export default getLinkFromAppUrl;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function getLinkFromAppUrl(app_url) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("getLinkFromAppUrl", { app_url });
15
- });
16
- }
17
- exports.default = getLinkFromAppUrl;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function getLiveComments(this: Client, access_token: string, live_id: string): Promise<any>;
3
- export default getLiveComments;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function getLiveComments(access_token, live_id) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("getLiveComments", { access_token, live_id });
15
- });
16
- }
17
- exports.default = getLiveComments;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function getLivePlayUrl(this: Client, access_token: string, live_id: string): Promise<any>;
3
- export default getLivePlayUrl;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function getLivePlayUrl(access_token, live_id) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("getLivePlayUrl", { access_token, live_id });
15
- });
16
- }
17
- exports.default = getLivePlayUrl;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function getLiveStatus(this: Client, access_token: string, live_id: string, type: string): Promise<any>;
3
- export default getLiveStatus;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function getLiveStatus(access_token, live_id, type) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("getLiveStatus", { access_token, live_id, type });
15
- });
16
- }
17
- exports.default = getLiveStatus;
@@ -1,3 +0,0 @@
1
- import Client from "../..";
2
- declare function getObjectInfoByUsername(this: Client, username: string): Promise<any>;
3
- export default getObjectInfoByUsername;
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function getObjectInfoByUsername(username) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder("getObjectInfoByUsername", {
15
- username: username.replace("@", ""),
16
- });
17
- });
18
- }
19
- exports.default = getObjectInfoByUsername;
@@ -1,3 +0,0 @@
1
- import Client from '../..';
2
- declare function getTopChatUsers(this: Client): Promise<any>;
3
- export default getTopChatUsers;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- function getTopChatUsers() {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- return yield this.builder('getTopChatUsers', {});
15
- });
16
- }
17
- ;
18
- exports.default = getTopChatUsers;
@@ -1,29 +0,0 @@
1
- import clickMessageUrl from "./clickMessageUrl";
2
- import deleteAvatar from "./deleteAvatar";
3
- import deleteChatHistory from "./deleteChatHistory";
4
- import getAbsObjects from "./getAbsObjects";
5
- import getAvatars from "./getAvatars";
6
- import getObjectInfoByUsername from "./getObjectInfoByUsername";
7
- import getChats from "./getChats";
8
- import getChatsUpdates from "./getChatsUpdates";
9
- import getLinkFromAppUrl from "./getLinkFromAppUrl";
10
- import getTopChatUsers from "./getTopChatUsers";
11
- import removeFromTopChatUsers from "./removeFromTopChatUsers";
12
- import searchChatMessages from "./searchChatMessages";
13
- import searchGlobalMessages from "./searchGlobalMessages";
14
- import seenChats from "./seenChats";
15
- import sendChatActivity from "./sendChatActivity";
16
- import setActionChat from "./setActionChat";
17
- import uploadAvatar from "./uploadAvatar";
18
- import getChatReaction from "./getChatReaction";
19
- import sendLive from "./sendLive";
20
- import getLivePlayUrl from "./getLivePlayUrl";
21
- import getLiveComments from "./getLiveComments";
22
- import getLiveStatus from "./getLiveStatus";
23
- import addLiveComment from "./addLiveComment";
24
- import createJoinLink from "./createJoinLink";
25
- import editJoinLink from "./editJoinLink";
26
- import removeJoinLink from "./removeJoinLink";
27
- import getJoinRequests from "./getJoinRequests";
28
- import actionOnJoinRequest from "./actionOnJoinRequest";
29
- export { searchGlobalMessages, clickMessageUrl, deleteAvatar, deleteChatHistory, getObjectInfoByUsername, removeFromTopChatUsers, getTopChatUsers, getAbsObjects, getAvatars, getChats, getChatsUpdates, getLinkFromAppUrl, searchChatMessages, seenChats, sendChatActivity, setActionChat, uploadAvatar, getChatReaction, sendLive, getLivePlayUrl, getLiveComments, getLiveStatus, addLiveComment, createJoinLink, editJoinLink, removeJoinLink, getJoinRequests, actionOnJoinRequest, };