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.
Files changed (449) hide show
  1. package/README.md +55 -0
  2. package/package.json +1 -1
  3. package/rubjs/client.d.ts +1 -0
  4. package/rubjs/client.js +1 -0
  5. package/rubjs/index.d.ts +5 -2
  6. package/rubjs/index.js +41 -1
  7. package/rubjs/methods/auth/index.d.ts +5 -4
  8. package/rubjs/methods/auth/index.js +9 -7
  9. package/rubjs/methods/auth/logout.d.ts +3 -0
  10. package/rubjs/methods/{messages/send_text.js → auth/logout.js} +3 -3
  11. package/rubjs/methods/auth/registerDevice.d.ts +3 -0
  12. package/rubjs/methods/auth/{register_device.js → registerDevice.js} +2 -2
  13. package/rubjs/methods/auth/sendCode.d.ts +3 -0
  14. package/rubjs/methods/auth/{send_code.js → sendCode.js} +2 -2
  15. package/rubjs/methods/auth/signIn.d.ts +3 -0
  16. package/rubjs/methods/auth/{sign_in.js → signIn.js} +2 -2
  17. package/rubjs/methods/channels/addChannel.d.ts +3 -0
  18. package/rubjs/methods/channels/addChannel.js +26 -0
  19. package/rubjs/methods/channels/addChannelMembers.d.ts +3 -0
  20. package/rubjs/methods/channels/addChannelMembers.js +22 -0
  21. package/rubjs/methods/channels/banChannelMember.d.ts +3 -0
  22. package/rubjs/methods/channels/banChannelMember.js +23 -0
  23. package/rubjs/methods/channels/cancelChangeObjectOwner.d.ts +3 -0
  24. package/rubjs/methods/channels/cancelChangeObjectOwner.js +17 -0
  25. package/rubjs/methods/channels/channelPreviewByJoinLink.d.ts +3 -0
  26. package/rubjs/methods/{messages/send_photo.js → channels/channelPreviewByJoinLink.js} +5 -3
  27. package/rubjs/methods/channels/checkChannelUsername.d.ts +3 -0
  28. package/rubjs/methods/channels/checkChannelUsername.js +19 -0
  29. package/rubjs/methods/channels/createChannelVoiceChat.d.ts +3 -0
  30. package/rubjs/methods/channels/createChannelVoiceChat.js +17 -0
  31. package/rubjs/methods/channels/discardChannelVoiceChat.d.ts +3 -0
  32. package/rubjs/methods/channels/discardChannelVoiceChat.js +20 -0
  33. package/rubjs/methods/channels/editChannelInfo.d.ts +4 -0
  34. package/rubjs/methods/channels/editChannelInfo.js +48 -0
  35. package/rubjs/methods/channels/getBannedChannelMembers.d.ts +3 -0
  36. package/rubjs/methods/channels/getBannedChannelMembers.js +20 -0
  37. package/rubjs/methods/channels/getChannelAdminAccessList.d.ts +3 -0
  38. package/rubjs/methods/channels/getChannelAdminAccessList.js +20 -0
  39. package/rubjs/methods/channels/getChannelAdminMembers.d.ts +3 -0
  40. package/rubjs/methods/channels/getChannelAdminMembers.js +20 -0
  41. package/rubjs/methods/channels/getChannelAllMembers.d.ts +3 -0
  42. package/rubjs/methods/channels/getChannelAllMembers.js +21 -0
  43. package/rubjs/methods/channels/getChannelInfo.d.ts +3 -0
  44. package/rubjs/methods/channels/getChannelInfo.js +17 -0
  45. package/rubjs/methods/channels/getChannelLink.d.ts +3 -0
  46. package/rubjs/methods/channels/getChannelLink.js +17 -0
  47. package/rubjs/methods/channels/getPendingObjectOwner.d.ts +3 -0
  48. package/rubjs/methods/channels/getPendingObjectOwner.js +17 -0
  49. package/rubjs/methods/channels/index.d.ts +26 -0
  50. package/rubjs/methods/channels/index.js +56 -0
  51. package/rubjs/methods/channels/joinChannelAction.d.ts +3 -0
  52. package/rubjs/methods/channels/joinChannelAction.js +19 -0
  53. package/rubjs/methods/channels/joinChannelByLink.d.ts +3 -0
  54. package/rubjs/methods/channels/joinChannelByLink.js +19 -0
  55. package/rubjs/methods/channels/leaveChannelVoiceChat.d.ts +3 -0
  56. package/rubjs/methods/channels/leaveChannelVoiceChat.js +20 -0
  57. package/rubjs/methods/channels/removeChannel.d.ts +3 -0
  58. package/rubjs/methods/channels/removeChannel.js +17 -0
  59. package/rubjs/methods/channels/requestChangeObjectOwner.d.ts +3 -0
  60. package/rubjs/methods/{messages/edit_message.js → channels/requestChangeObjectOwner.js} +5 -7
  61. package/rubjs/methods/channels/seenChannelMessages.d.ts +3 -0
  62. package/rubjs/methods/channels/seenChannelMessages.js +21 -0
  63. package/rubjs/methods/channels/setChannelLink.d.ts +3 -0
  64. package/rubjs/methods/channels/setChannelLink.js +17 -0
  65. package/rubjs/methods/channels/setChannelVoiceChatSetting.d.ts +3 -0
  66. package/rubjs/methods/channels/setChannelVoiceChatSetting.js +26 -0
  67. package/rubjs/methods/channels/updateChannelUsername.d.ts +3 -0
  68. package/rubjs/methods/channels/updateChannelUsername.js +20 -0
  69. package/rubjs/methods/chats/actionOnJoinRequest.d.ts +3 -0
  70. package/rubjs/methods/chats/actionOnJoinRequest.js +22 -0
  71. package/rubjs/methods/chats/addLiveComment.d.ts +3 -0
  72. package/rubjs/methods/chats/addLiveComment.js +17 -0
  73. package/rubjs/methods/chats/clickMessageUrl.d.ts +3 -0
  74. package/rubjs/methods/chats/clickMessageUrl.js +17 -0
  75. package/rubjs/methods/chats/createJoinLink.d.ts +3 -0
  76. package/rubjs/methods/chats/createJoinLink.js +23 -0
  77. package/rubjs/methods/chats/deleteAvatar.d.ts +3 -0
  78. package/rubjs/methods/chats/deleteAvatar.js +17 -0
  79. package/rubjs/methods/chats/deleteChatHistory.d.ts +3 -0
  80. package/rubjs/methods/chats/deleteChatHistory.js +20 -0
  81. package/rubjs/methods/chats/editJoinLink.d.ts +3 -0
  82. package/rubjs/methods/chats/editJoinLink.js +34 -0
  83. package/rubjs/methods/chats/getAbsObjects.d.ts +3 -0
  84. package/rubjs/methods/chats/getAbsObjects.js +19 -0
  85. package/rubjs/methods/chats/getAvatars.d.ts +3 -0
  86. package/rubjs/methods/chats/getAvatars.js +17 -0
  87. package/rubjs/methods/chats/getChatReaction.d.ts +3 -0
  88. package/rubjs/methods/chats/getChatReaction.js +17 -0
  89. package/rubjs/methods/chats/getChats.d.ts +3 -0
  90. package/rubjs/methods/chats/getChats.js +17 -0
  91. package/rubjs/methods/chats/getChatsUpdates.d.ts +3 -0
  92. package/rubjs/methods/chats/getChatsUpdates.js +17 -0
  93. package/rubjs/methods/chats/getJoinLinks.d.ts +3 -0
  94. package/rubjs/methods/chats/getJoinLinks.js +17 -0
  95. package/rubjs/methods/chats/getJoinRequests.d.ts +3 -0
  96. package/rubjs/methods/chats/getJoinRequests.js +17 -0
  97. package/rubjs/methods/chats/getLinkFromAppUrl.d.ts +3 -0
  98. package/rubjs/methods/chats/getLinkFromAppUrl.js +17 -0
  99. package/rubjs/methods/chats/getLiveComments.d.ts +3 -0
  100. package/rubjs/methods/chats/getLiveComments.js +17 -0
  101. package/rubjs/methods/chats/getLivePlayUrl.d.ts +3 -0
  102. package/rubjs/methods/chats/getLivePlayUrl.js +17 -0
  103. package/rubjs/methods/chats/getLiveStatus.d.ts +3 -0
  104. package/rubjs/methods/chats/getLiveStatus.js +17 -0
  105. package/rubjs/methods/chats/getObjectInfoByUsername.d.ts +3 -0
  106. package/rubjs/methods/chats/getObjectInfoByUsername.js +19 -0
  107. package/rubjs/methods/chats/getTopChatUsers.d.ts +3 -0
  108. package/rubjs/methods/chats/getTopChatUsers.js +18 -0
  109. package/rubjs/methods/chats/index.d.ts +29 -0
  110. package/rubjs/methods/chats/index.js +62 -0
  111. package/rubjs/methods/chats/removeFromTopChatUsers.d.ts +3 -0
  112. package/rubjs/methods/chats/removeFromTopChatUsers.js +17 -0
  113. package/rubjs/methods/chats/removeJoinLink.d.ts +3 -0
  114. package/rubjs/methods/chats/removeJoinLink.js +19 -0
  115. package/rubjs/methods/chats/searchChatMessages.d.ts +3 -0
  116. package/rubjs/methods/chats/searchChatMessages.js +23 -0
  117. package/rubjs/methods/chats/searchGlobalMessages.d.ts +3 -0
  118. package/rubjs/methods/chats/searchGlobalMessages.js +17 -0
  119. package/rubjs/methods/chats/seenChats.d.ts +3 -0
  120. package/rubjs/methods/chats/seenChats.js +17 -0
  121. package/rubjs/methods/chats/sendChatActivity.d.ts +3 -0
  122. package/rubjs/methods/chats/sendChatActivity.js +19 -0
  123. package/rubjs/methods/chats/sendLive.d.ts +3 -0
  124. package/rubjs/methods/chats/sendLive.js +28 -0
  125. package/rubjs/methods/chats/setActionChat.d.ts +3 -0
  126. package/rubjs/methods/chats/setActionChat.js +19 -0
  127. package/rubjs/methods/chats/uploadAvatar.d.ts +3 -0
  128. package/rubjs/methods/chats/uploadAvatar.js +29 -0
  129. package/rubjs/methods/contacts/addAddressBook.d.ts +3 -0
  130. package/rubjs/methods/contacts/addAddressBook.js +17 -0
  131. package/rubjs/methods/contacts/deleteContact.d.ts +3 -0
  132. package/rubjs/methods/contacts/deleteContact.js +17 -0
  133. package/rubjs/methods/contacts/getContacts.d.ts +3 -0
  134. package/rubjs/methods/contacts/getContacts.js +17 -0
  135. package/rubjs/methods/contacts/getContactsLastOnline.d.ts +3 -0
  136. package/rubjs/methods/contacts/getContactsLastOnline.js +17 -0
  137. package/rubjs/methods/contacts/getContactsUpdates.d.ts +3 -0
  138. package/rubjs/methods/contacts/getContactsUpdates.js +17 -0
  139. package/rubjs/methods/contacts/index.d.ts +7 -0
  140. package/rubjs/methods/contacts/index.js +18 -0
  141. package/rubjs/methods/contacts/resetContacts.d.ts +3 -0
  142. package/rubjs/methods/contacts/resetContacts.js +18 -0
  143. package/rubjs/methods/extras/banMember.d.ts +3 -0
  144. package/rubjs/methods/extras/banMember.js +20 -0
  145. package/rubjs/methods/extras/getInfo.d.ts +3 -0
  146. package/rubjs/methods/extras/getInfo.js +26 -0
  147. package/rubjs/methods/extras/getObjectByUsername.d.ts +3 -0
  148. package/rubjs/methods/extras/getObjectByUsername.js +19 -0
  149. package/rubjs/methods/extras/getProfileLinkItems.d.ts +3 -0
  150. package/rubjs/methods/extras/getProfileLinkItems.js +17 -0
  151. package/rubjs/methods/extras/getRelatedObjects.d.ts +3 -0
  152. package/rubjs/methods/extras/getRelatedObjects.js +17 -0
  153. package/rubjs/methods/extras/getTranscription.d.ts +3 -0
  154. package/rubjs/methods/extras/getTranscription.js +20 -0
  155. package/rubjs/methods/extras/index.d.ts +13 -0
  156. package/rubjs/methods/extras/index.js +30 -0
  157. package/rubjs/methods/extras/join.d.ts +3 -0
  158. package/rubjs/methods/extras/join.js +22 -0
  159. package/rubjs/methods/extras/leaveChat.d.ts +3 -0
  160. package/rubjs/methods/extras/leaveChat.js +20 -0
  161. package/rubjs/methods/extras/reportObject.d.ts +14 -0
  162. package/rubjs/methods/extras/reportObject.js +32 -0
  163. package/rubjs/methods/extras/searchGlobalObjects.d.ts +3 -0
  164. package/rubjs/methods/extras/searchGlobalObjects.js +17 -0
  165. package/rubjs/methods/extras/transcribeVoice.d.ts +3 -0
  166. package/rubjs/methods/extras/transcribeVoice.js +17 -0
  167. package/rubjs/methods/extras/userIsAdmin.d.ts +3 -0
  168. package/rubjs/methods/extras/userIsAdmin.js +29 -0
  169. package/rubjs/methods/gif/addToMyGifSet.d.ts +3 -0
  170. package/rubjs/methods/gif/addToMyGifSet.js +17 -0
  171. package/rubjs/methods/gif/getMyGifSet.d.ts +3 -0
  172. package/rubjs/methods/gif/getMyGifSet.js +17 -0
  173. package/rubjs/methods/gif/index.d.ts +4 -0
  174. package/rubjs/methods/gif/index.js +12 -0
  175. package/rubjs/methods/gif/removeFromMyGifSet.d.ts +3 -0
  176. package/rubjs/methods/gif/removeFromMyGifSet.js +17 -0
  177. package/rubjs/methods/groups/addGroup.d.ts +3 -0
  178. package/rubjs/methods/groups/addGroup.js +19 -0
  179. package/rubjs/methods/groups/addGroupMembers.d.ts +3 -0
  180. package/rubjs/methods/groups/addGroupMembers.js +19 -0
  181. package/rubjs/methods/groups/banGroupMember.d.ts +3 -0
  182. package/rubjs/methods/groups/banGroupMember.js +23 -0
  183. package/rubjs/methods/groups/createGroupVoiceChat.d.ts +3 -0
  184. package/rubjs/methods/groups/createGroupVoiceChat.js +17 -0
  185. package/rubjs/methods/groups/deleteNoAccessGroupChat.d.ts +3 -0
  186. package/rubjs/methods/groups/deleteNoAccessGroupChat.js +17 -0
  187. package/rubjs/methods/groups/discardGroupVoiceChat.d.ts +3 -0
  188. package/rubjs/methods/groups/discardGroupVoiceChat.js +20 -0
  189. package/rubjs/methods/groups/editGroupInfo.d.ts +6 -0
  190. package/rubjs/methods/groups/editGroupInfo.js +51 -0
  191. package/rubjs/methods/groups/getBannedGroupMembers.d.ts +3 -0
  192. package/rubjs/methods/groups/getBannedGroupMembers.js +17 -0
  193. package/rubjs/methods/groups/getGroupAdminAccessList.d.ts +3 -0
  194. package/rubjs/methods/groups/getGroupAdminAccessList.js +20 -0
  195. package/rubjs/methods/groups/getGroupAdminMembers.d.ts +3 -0
  196. package/rubjs/methods/groups/getGroupAdminMembers.js +17 -0
  197. package/rubjs/methods/groups/getGroupAllMembers.d.ts +3 -0
  198. package/rubjs/methods/groups/getGroupAllMembers.js +21 -0
  199. package/rubjs/methods/groups/getGroupDefaultAccess.d.ts +3 -0
  200. package/rubjs/methods/groups/getGroupDefaultAccess.js +17 -0
  201. package/rubjs/methods/groups/getGroupInfo.d.ts +3 -0
  202. package/rubjs/methods/groups/getGroupInfo.js +17 -0
  203. package/rubjs/methods/groups/getGroupLink.d.ts +3 -0
  204. package/rubjs/methods/groups/getGroupLink.js +17 -0
  205. package/rubjs/methods/groups/getGroupMentionList.d.ts +3 -0
  206. package/rubjs/methods/groups/getGroupMentionList.js +20 -0
  207. package/rubjs/methods/groups/getGroupOnlineCount.d.ts +3 -0
  208. package/rubjs/methods/groups/getGroupOnlineCount.js +17 -0
  209. package/rubjs/methods/groups/getGroupVoiceChatUpdates.d.ts +3 -0
  210. package/rubjs/methods/groups/getGroupVoiceChatUpdates.js +21 -0
  211. package/rubjs/methods/groups/groupPreviewByJoinLink.d.ts +3 -0
  212. package/rubjs/methods/groups/groupPreviewByJoinLink.js +19 -0
  213. package/rubjs/methods/groups/index.d.ts +28 -0
  214. package/rubjs/methods/groups/index.js +60 -0
  215. package/rubjs/methods/groups/joinGroup.d.ts +3 -0
  216. package/rubjs/methods/groups/joinGroup.js +19 -0
  217. package/rubjs/methods/groups/leaveGroup.d.ts +3 -0
  218. package/rubjs/methods/groups/leaveGroup.js +17 -0
  219. package/rubjs/methods/groups/leaveGroupVoiceChat.d.ts +3 -0
  220. package/rubjs/methods/groups/leaveGroupVoiceChat.js +20 -0
  221. package/rubjs/methods/groups/removeGroup.d.ts +3 -0
  222. package/rubjs/methods/groups/removeGroup.js +17 -0
  223. package/rubjs/methods/groups/seenGroupMessages.d.ts +3 -0
  224. package/rubjs/methods/groups/seenGroupMessages.js +21 -0
  225. package/rubjs/methods/groups/setGroupAdmin.d.ts +5 -0
  226. package/rubjs/methods/groups/setGroupAdmin.js +26 -0
  227. package/rubjs/methods/groups/setGroupDefaultAccess.d.ts +4 -0
  228. package/rubjs/methods/groups/setGroupDefaultAccess.js +22 -0
  229. package/rubjs/methods/groups/setGroupLink.d.ts +3 -0
  230. package/rubjs/methods/groups/setGroupLink.js +17 -0
  231. package/rubjs/methods/groups/setGroupVoiceChatSetting.d.ts +3 -0
  232. package/rubjs/methods/groups/setGroupVoiceChatSetting.js +26 -0
  233. package/rubjs/methods/index.d.ts +181 -41
  234. package/rubjs/methods/index.js +821 -57
  235. package/rubjs/methods/messages/actionOnMessageReaction.d.ts +3 -0
  236. package/rubjs/methods/messages/{action_on_message_reaction.js → actionOnMessageReaction.js} +2 -2
  237. package/rubjs/methods/messages/createPoll.d.ts +3 -0
  238. package/rubjs/methods/messages/{create_poll.js → createPoll.js} +2 -2
  239. package/rubjs/methods/messages/deleteMessages.d.ts +3 -0
  240. package/rubjs/methods/messages/{delete_messages.js → deleteMessages.js} +2 -2
  241. package/rubjs/methods/messages/editMessage.d.ts +3 -0
  242. package/rubjs/methods/messages/editMessage.js +23 -0
  243. package/rubjs/methods/messages/forwardMessages.d.ts +3 -0
  244. package/rubjs/methods/messages/{forward_messages.js → forwardMessages.js} +2 -2
  245. package/rubjs/methods/messages/getMessageShareUrl.d.ts +3 -0
  246. package/rubjs/methods/messages/{get_message_share_url.js → getMessageShareUrl.js} +2 -2
  247. package/rubjs/methods/messages/getMessages.d.ts +3 -0
  248. package/rubjs/methods/messages/getMessages.js +23 -0
  249. package/rubjs/methods/messages/getMessagesByID.d.ts +3 -0
  250. package/rubjs/methods/messages/{get_messages_by_id.js → getMessagesByID.js} +2 -2
  251. package/rubjs/methods/messages/getMessagesInterval.d.ts +3 -0
  252. package/rubjs/methods/messages/{get_messages_interval.js → getMessagesInterval.js} +2 -2
  253. package/rubjs/methods/messages/getMessagesUpdates.d.ts +3 -0
  254. package/rubjs/methods/messages/{get_messages_updates.js → getMessagesUpdates.js} +2 -2
  255. package/rubjs/methods/messages/getPollOptionVoters.d.ts +3 -0
  256. package/rubjs/methods/messages/{get_poll_option_voters.js → getPollOptionVoters.js} +2 -2
  257. package/rubjs/methods/messages/getPollStatus.d.ts +3 -0
  258. package/rubjs/methods/messages/{get_poll_status.js → getPollStatus.js} +2 -2
  259. package/rubjs/methods/messages/index.d.ts +26 -17
  260. package/rubjs/methods/messages/index.js +51 -33
  261. package/rubjs/methods/messages/requestSendFile.d.ts +4 -0
  262. package/rubjs/methods/{utilities/request_send_file.js → messages/requestSendFile.js} +2 -2
  263. package/rubjs/methods/messages/sendDocument.d.ts +3 -0
  264. package/rubjs/methods/messages/sendDocument.js +17 -0
  265. package/rubjs/methods/messages/sendGif.d.ts +3 -0
  266. package/rubjs/methods/messages/sendGif.js +17 -0
  267. package/rubjs/methods/messages/sendMessage.d.ts +3 -0
  268. package/rubjs/methods/messages/{send_message.js → sendMessage.js} +10 -10
  269. package/rubjs/methods/messages/sendMusic.d.ts +3 -0
  270. package/rubjs/methods/messages/sendMusic.js +17 -0
  271. package/rubjs/methods/messages/sendPhoto.d.ts +3 -0
  272. package/rubjs/methods/messages/sendPhoto.js +17 -0
  273. package/rubjs/methods/messages/sendSticker.d.ts +3 -0
  274. package/rubjs/methods/messages/sendSticker.js +17 -0
  275. package/rubjs/methods/messages/sendText.d.ts +3 -0
  276. package/rubjs/methods/messages/sendText.js +17 -0
  277. package/rubjs/methods/messages/sendVideo.d.ts +3 -0
  278. package/rubjs/methods/messages/sendVideo.js +17 -0
  279. package/rubjs/methods/messages/sendVideoMessage.d.ts +3 -0
  280. package/rubjs/methods/messages/sendVideoMessage.js +17 -0
  281. package/rubjs/methods/messages/sendVoice.d.ts +3 -0
  282. package/rubjs/methods/messages/sendVoice.js +17 -0
  283. package/rubjs/methods/messages/setPinMessage.d.ts +3 -0
  284. package/rubjs/methods/messages/{set_pin_message.js → setPinMessage.js} +2 -2
  285. package/rubjs/methods/messages/votePoll.d.ts +3 -0
  286. package/rubjs/methods/messages/{vote_poll.js → votePoll.js} +2 -2
  287. package/rubjs/methods/settings/changePassword.d.ts +3 -0
  288. package/rubjs/methods/settings/changePassword.js +17 -0
  289. package/rubjs/methods/settings/checkTwoStepPasscode.d.ts +3 -0
  290. package/rubjs/methods/settings/checkTwoStepPasscode.js +17 -0
  291. package/rubjs/methods/settings/deleteFolder.d.ts +3 -0
  292. package/rubjs/methods/settings/deleteFolder.js +17 -0
  293. package/rubjs/methods/settings/getBlockedUsers.d.ts +3 -0
  294. package/rubjs/methods/settings/getBlockedUsers.js +17 -0
  295. package/rubjs/methods/settings/getFolders.d.ts +3 -0
  296. package/rubjs/methods/settings/getFolders.js +17 -0
  297. package/rubjs/methods/settings/getMySessions.d.ts +3 -0
  298. package/rubjs/methods/settings/getMySessions.js +17 -0
  299. package/rubjs/methods/settings/getPrivacySetting.d.ts +3 -0
  300. package/rubjs/methods/settings/getPrivacySetting.js +17 -0
  301. package/rubjs/methods/settings/getSuggestedFolders.d.ts +3 -0
  302. package/rubjs/methods/settings/getSuggestedFolders.js +17 -0
  303. package/rubjs/methods/settings/getTwoPasscodeStatus.d.ts +3 -0
  304. package/rubjs/methods/settings/getTwoPasscodeStatus.js +17 -0
  305. package/rubjs/methods/settings/index.d.ts +19 -0
  306. package/rubjs/methods/settings/index.js +42 -0
  307. package/rubjs/methods/settings/requestRecoveryEmail.d.ts +3 -0
  308. package/rubjs/methods/settings/requestRecoveryEmail.js +20 -0
  309. package/rubjs/methods/settings/setSetting.d.ts +5 -0
  310. package/rubjs/methods/settings/setSetting.js +50 -0
  311. package/rubjs/methods/settings/setupTwoStepVerification.d.ts +3 -0
  312. package/rubjs/methods/settings/setupTwoStepVerification.js +21 -0
  313. package/rubjs/methods/settings/terminateOtherSessions.d.ts +3 -0
  314. package/rubjs/methods/settings/terminateOtherSessions.js +18 -0
  315. package/rubjs/methods/settings/terminateSession.d.ts +3 -0
  316. package/rubjs/methods/settings/terminateSession.js +17 -0
  317. package/rubjs/methods/settings/turnOffTwoStep.d.ts +3 -0
  318. package/rubjs/methods/settings/turnOffTwoStep.js +18 -0
  319. package/rubjs/methods/settings/updateProfile.d.ts +3 -0
  320. package/rubjs/methods/settings/updateProfile.js +30 -0
  321. package/rubjs/methods/settings/updateUsername.d.ts +3 -0
  322. package/rubjs/methods/settings/updateUsername.js +17 -0
  323. package/rubjs/methods/settings/verifyRecoveryEmail.d.ts +3 -0
  324. package/rubjs/methods/settings/verifyRecoveryEmail.js +17 -0
  325. package/rubjs/methods/stickers/actionOnStickerSet.d.ts +3 -0
  326. package/rubjs/methods/stickers/actionOnStickerSet.js +19 -0
  327. package/rubjs/methods/stickers/getMyStickerSets.d.ts +3 -0
  328. package/rubjs/methods/stickers/getMyStickerSets.js +17 -0
  329. package/rubjs/methods/stickers/getStickerSetByID.d.ts +3 -0
  330. package/rubjs/methods/stickers/getStickerSetByID.js +17 -0
  331. package/rubjs/methods/stickers/getStickersByEmoji.d.ts +3 -0
  332. package/rubjs/methods/stickers/getStickersByEmoji.js +17 -0
  333. package/rubjs/methods/stickers/getStickersBySetIds.d.ts +3 -0
  334. package/rubjs/methods/stickers/getStickersBySetIds.js +19 -0
  335. package/rubjs/methods/stickers/getTrendStickerSets.d.ts +3 -0
  336. package/rubjs/methods/stickers/getTrendStickerSets.js +17 -0
  337. package/rubjs/methods/stickers/index.d.ts +8 -0
  338. package/rubjs/methods/stickers/index.js +20 -0
  339. package/rubjs/methods/stickers/searchStickers.d.ts +3 -0
  340. package/rubjs/methods/stickers/searchStickers.js +17 -0
  341. package/rubjs/methods/users/checkUserUsername.d.ts +3 -0
  342. package/rubjs/methods/users/checkUserUsername.js +17 -0
  343. package/rubjs/methods/users/deleteUserChat.d.ts +3 -0
  344. package/rubjs/methods/users/deleteUserChat.js +20 -0
  345. package/rubjs/methods/users/getMe.d.ts +3 -0
  346. package/rubjs/methods/users/getMe.js +17 -0
  347. package/rubjs/methods/users/getUserInfo.d.ts +4 -0
  348. package/rubjs/methods/users/{get_user_info.js → getUserInfo.js} +2 -2
  349. package/rubjs/methods/users/index.d.ts +6 -2
  350. package/rubjs/methods/users/index.js +11 -3
  351. package/rubjs/methods/users/setBlockUser.d.ts +3 -0
  352. package/rubjs/methods/users/setBlockUser.js +19 -0
  353. package/rubjs/methods/utilities/download.d.ts +3 -0
  354. package/rubjs/methods/utilities/download.js +17 -0
  355. package/rubjs/methods/utilities/downloadProfilePicture.d.ts +3 -0
  356. package/rubjs/methods/utilities/downloadProfilePicture.js +27 -0
  357. package/rubjs/methods/utilities/index.d.ts +5 -3
  358. package/rubjs/methods/utilities/index.js +9 -5
  359. package/rubjs/methods/utilities/run.js +8 -1
  360. package/rubjs/methods/utilities/start.js +8 -7
  361. package/rubjs/network/index.d.ts +3 -3
  362. package/rubjs/network/index.js +14 -12
  363. package/rubjs/parser/index.d.ts +25 -0
  364. package/rubjs/parser/index.js +110 -0
  365. package/rubjs/session/index.js +1 -1
  366. package/rubjs/{methods/auth/types/sign_in.d.ts → types/auth.d.ts} +11 -1
  367. package/rubjs/types/chats.d.ts +79 -0
  368. package/rubjs/{methods/types/message_update.d.ts → types/decorators.d.ts} +56 -0
  369. package/rubjs/types/groups.d.ts +129 -0
  370. package/rubjs/types/index.d.ts +8 -0
  371. package/rubjs/types/index.js +53 -0
  372. package/rubjs/types/message.d.ts +18 -0
  373. package/rubjs/types/message.js +31 -0
  374. package/rubjs/types/messages.d.ts +176 -0
  375. package/rubjs/{methods/users/types/get_user_info.d.ts → types/users.d.ts} +1 -0
  376. package/rubjs/utils/filters.d.ts +28 -16
  377. package/rubjs/utils/filters.js +90 -31
  378. package/rubjs/utils/index.d.ts +2 -1
  379. package/rubjs/utils/index.js +3 -1
  380. package/rubjs/utils/utils.d.ts +10 -0
  381. package/rubjs/utils/utils.js +12 -0
  382. package/rubjs/methods/auth/register_device.d.ts +0 -3
  383. package/rubjs/methods/auth/send_code.d.ts +0 -4
  384. package/rubjs/methods/auth/sign_in.d.ts +0 -4
  385. package/rubjs/methods/auth/types/index.d.ts +0 -3
  386. package/rubjs/methods/auth/types/send_code.d.ts +0 -10
  387. package/rubjs/methods/messages/action_on_message_reaction.d.ts +0 -4
  388. package/rubjs/methods/messages/create_poll.d.ts +0 -4
  389. package/rubjs/methods/messages/delete_messages.d.ts +0 -4
  390. package/rubjs/methods/messages/edit_message.d.ts +0 -4
  391. package/rubjs/methods/messages/forward_messages.d.ts +0 -4
  392. package/rubjs/methods/messages/get_message_share_url.d.ts +0 -4
  393. package/rubjs/methods/messages/get_messages_by_id.d.ts +0 -4
  394. package/rubjs/methods/messages/get_messages_interval.d.ts +0 -4
  395. package/rubjs/methods/messages/get_messages_updates.d.ts +0 -4
  396. package/rubjs/methods/messages/get_poll_option_voters.d.ts +0 -4
  397. package/rubjs/methods/messages/get_poll_status.d.ts +0 -4
  398. package/rubjs/methods/messages/send_message.d.ts +0 -4
  399. package/rubjs/methods/messages/send_photo.d.ts +0 -4
  400. package/rubjs/methods/messages/send_text.d.ts +0 -4
  401. package/rubjs/methods/messages/set_pin_message.d.ts +0 -4
  402. package/rubjs/methods/messages/types/action_on_message_reaction.d.ts +0 -10
  403. package/rubjs/methods/messages/types/delete_message.d.ts +0 -34
  404. package/rubjs/methods/messages/types/edit_message.d.ts +0 -38
  405. package/rubjs/methods/messages/types/forward_messages.d.ts +0 -7
  406. package/rubjs/methods/messages/types/forward_messages.js +0 -2
  407. package/rubjs/methods/messages/types/get_messages_by_id.d.ts +0 -14
  408. package/rubjs/methods/messages/types/get_messages_by_id.js +0 -2
  409. package/rubjs/methods/messages/types/get_messages_interval.d.ts +0 -43
  410. package/rubjs/methods/messages/types/get_messages_interval.js +0 -2
  411. package/rubjs/methods/messages/types/get_messages_updates.d.ts +0 -29
  412. package/rubjs/methods/messages/types/get_messages_updates.js +0 -2
  413. package/rubjs/methods/messages/types/get_poll_option_voters.d.ts +0 -19
  414. package/rubjs/methods/messages/types/get_poll_option_voters.js +0 -2
  415. package/rubjs/methods/messages/types/get_poll_status.d.ts +0 -13
  416. package/rubjs/methods/messages/types/get_poll_status.js +0 -2
  417. package/rubjs/methods/messages/types/index.d.ts +0 -13
  418. package/rubjs/methods/messages/types/index.js +0 -2
  419. package/rubjs/methods/messages/types/message_result.d.ts +0 -7
  420. package/rubjs/methods/messages/types/message_result.js +0 -2
  421. package/rubjs/methods/messages/types/mini_typs.d.ts +0 -5
  422. package/rubjs/methods/messages/types/mini_typs.js +0 -2
  423. package/rubjs/methods/messages/types/set_pin_message.d.ts +0 -15
  424. package/rubjs/methods/messages/types/set_pin_message.js +0 -2
  425. package/rubjs/methods/messages/vote_poll.d.ts +0 -4
  426. package/rubjs/methods/types/chat_updates.d.ts +0 -26
  427. package/rubjs/methods/types/chat_updates.js +0 -2
  428. package/rubjs/methods/types/index.d.ts +0 -5
  429. package/rubjs/methods/types/index.js +0 -2
  430. package/rubjs/methods/types/message_update.js +0 -2
  431. package/rubjs/methods/types/show_activities.d.ts +0 -7
  432. package/rubjs/methods/types/show_activities.js +0 -2
  433. package/rubjs/methods/types/show_notifications.d.ts +0 -14
  434. package/rubjs/methods/types/show_notifications.js +0 -2
  435. package/rubjs/methods/users/get_user_info.d.ts +0 -4
  436. package/rubjs/methods/users/types/get_user_info.js +0 -2
  437. package/rubjs/methods/users/types/index.d.ts +0 -2
  438. package/rubjs/methods/users/types/index.js +0 -2
  439. package/rubjs/methods/utilities/request_send_file.d.ts +0 -4
  440. package/rubjs/methods/utilities/types/index.d.ts +0 -2
  441. package/rubjs/methods/utilities/types/index.js +0 -2
  442. package/rubjs/methods/utilities/types/request_send_file.d.ts +0 -7
  443. package/rubjs/methods/utilities/types/request_send_file.js +0 -2
  444. /package/rubjs/{methods/auth/types/index.js → types/auth.js} +0 -0
  445. /package/rubjs/{methods/auth/types/send_code.js → types/chats.js} +0 -0
  446. /package/rubjs/{methods/auth/types/sign_in.js → types/decorators.js} +0 -0
  447. /package/rubjs/{methods/messages/types/action_on_message_reaction.js → types/groups.js} +0 -0
  448. /package/rubjs/{methods/messages/types/delete_message.js → types/messages.js} +0 -0
  449. /package/rubjs/{methods/messages/types/edit_message.js → types/users.js} +0 -0
@@ -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 utilities_1 = require("./utilities");
14
- const users_1 = require("./users");
15
- const advanced_1 = require("./advanced");
16
- const auth_1 = require("./auth");
17
- const messages_1 = require("./messages");
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
- on_message_updates(arg1, arg2) {
67
+ onMessageUpdates(arg1, arg2) {
27
68
  this.registerHandler("message_updates", arg1, arg2);
28
69
  }
29
- on_chat_updates(arg1, arg2) {
70
+ onChatUpdates(arg1, arg2) {
30
71
  this.registerHandler("chat_updates", arg1, arg2);
31
72
  }
32
- on_show_activities(arg1, arg2) {
73
+ onShowActivities(arg1, arg2) {
33
74
  this.registerHandler("show_activities", arg1, arg2);
34
75
  }
35
- on_show_notifications(arg1, arg2) {
76
+ onShowNotifications(arg1, arg2) {
36
77
  this.registerHandler("show_notifications", arg1, arg2);
37
78
  }
38
- run() {
79
+ // advanced
80
+ builder(...args) {
39
81
  return __awaiter(this, void 0, void 0, function* () {
40
- return utilities_1.run.apply(this);
82
+ return Advanced.builder.apply(this, args);
41
83
  });
42
84
  }
43
- start() {
85
+ // auth
86
+ registerDevice(...args) {
44
87
  return __awaiter(this, void 0, void 0, function* () {
45
- return utilities_1.start.apply(this);
88
+ return Auth.registerDevice.apply(this, args);
46
89
  });
47
90
  }
48
- get_user_info() {
91
+ sendCode(...args) {
49
92
  return __awaiter(this, void 0, void 0, function* () {
50
- return users_1.get_user_info.apply(this);
93
+ return Auth.sendCode.apply(this, args);
51
94
  });
52
95
  }
53
- register_device() {
96
+ signIn(...args) {
54
97
  return __awaiter(this, void 0, void 0, function* () {
55
- return auth_1.register_device.apply(this);
98
+ return Auth.signIn.apply(this, args);
56
99
  });
57
100
  }
58
- send_code(...args) {
101
+ logout(...args) {
59
102
  return __awaiter(this, void 0, void 0, function* () {
60
- return auth_1.send_code.apply(this, args);
103
+ return Auth.logout.apply(this, args);
61
104
  });
62
105
  }
63
- sign_in(...args) {
106
+ // channels
107
+ addChannel(...args) {
64
108
  return __awaiter(this, void 0, void 0, function* () {
65
- return auth_1.sign_in.apply(this, args);
109
+ return Channels.addChannel.apply(this, args);
66
110
  });
67
111
  }
68
- builder(...args) {
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 advanced_1.builder.apply(this, args);
828
+ return Settings.requestRecoveryEmail.apply(this, args);
71
829
  });
72
830
  }
73
- send_message(...args) {
831
+ checkTwoStepPasscode(...args) {
74
832
  return __awaiter(this, void 0, void 0, function* () {
75
- return messages_1.send_message.apply(this, args);
833
+ return Settings.checkTwoStepPasscode.apply(this, args);
76
834
  });
77
835
  }
78
- request_send_file(...args) {
836
+ terminateOtherSessions(...args) {
79
837
  return __awaiter(this, void 0, void 0, function* () {
80
- return utilities_1.request_send_file.apply(this, args);
838
+ return Settings.terminateOtherSessions.apply(this, args);
81
839
  });
82
840
  }
83
- delete_messages(...args) {
841
+ // stickers
842
+ actionOnStickerSet(...args) {
84
843
  return __awaiter(this, void 0, void 0, function* () {
85
- return messages_1.delete_messages.apply(this, args);
844
+ return Stickers.actionOnStickerSet.apply(this, args);
86
845
  });
87
846
  }
88
- create_poll(...args) {
847
+ getMyStickerSets(...args) {
89
848
  return __awaiter(this, void 0, void 0, function* () {
90
- return messages_1.create_poll.apply(this, args);
849
+ return Stickers.getMyStickerSets.apply(this, args);
91
850
  });
92
851
  }
93
- send_text(...args) {
852
+ getStickersByEmoji(...args) {
94
853
  return __awaiter(this, void 0, void 0, function* () {
95
- return messages_1.send_text.apply(this, args);
854
+ return Stickers.getStickersByEmoji.apply(this, args);
96
855
  });
97
856
  }
98
- send_photo(...args) {
857
+ getStickersBySetIds(...args) {
99
858
  return __awaiter(this, void 0, void 0, function* () {
100
- return messages_1.send_photo.apply(this, args);
859
+ return Stickers.getStickersBySetIds.apply(this, args);
101
860
  });
102
861
  }
103
- edit_message(...args) {
862
+ getStickerSetByID(...args) {
104
863
  return __awaiter(this, void 0, void 0, function* () {
105
- return messages_1.edit_message.apply(this, args);
864
+ return Stickers.getStickerSetByID.apply(this, args);
106
865
  });
107
866
  }
108
- forward_messages(...args) {
867
+ getTrendStickerSets(...args) {
109
868
  return __awaiter(this, void 0, void 0, function* () {
110
- return messages_1.forward_messages.apply(this, args);
869
+ return Stickers.getTrendStickerSets.apply(this, args);
111
870
  });
112
871
  }
113
- action_on_message_reaction(...args) {
872
+ searchStickers(...args) {
114
873
  return __awaiter(this, void 0, void 0, function* () {
115
- return messages_1.action_on_message_reaction.apply(this, args);
874
+ return Stickers.searchStickers.apply(this, args);
116
875
  });
117
876
  }
118
- get_message_share_url(...args) {
877
+ // users
878
+ checkUserUsername(...args) {
119
879
  return __awaiter(this, void 0, void 0, function* () {
120
- return messages_1.get_message_share_url.apply(this, args);
880
+ return Users.checkUserUsername.apply(this, args);
121
881
  });
122
882
  }
123
- get_messages_by_id(...args) {
883
+ deleteUserChat(...args) {
124
884
  return __awaiter(this, void 0, void 0, function* () {
125
- return messages_1.get_messages_by_id.apply(this, args);
885
+ return Users.deleteUserChat.apply(this, args);
126
886
  });
127
887
  }
128
- get_messages_interval(...args) {
888
+ getMe(...args) {
129
889
  return __awaiter(this, void 0, void 0, function* () {
130
- return messages_1.get_messages_interval.apply(this, args);
890
+ return Users.getMe.apply(this, args);
131
891
  });
132
892
  }
133
- get_messages_updates(...args) {
893
+ getUserInfo(...args) {
134
894
  return __awaiter(this, void 0, void 0, function* () {
135
- return messages_1.get_messages_updates.apply(this, args);
895
+ return Users.getUserInfo.apply(this, args);
136
896
  });
137
897
  }
138
- get_poll_option_voters(...args) {
898
+ setBlockUser(...args) {
139
899
  return __awaiter(this, void 0, void 0, function* () {
140
- return messages_1.get_poll_option_voters.apply(this, args);
900
+ return Users.setBlockUser.apply(this, args);
141
901
  });
142
902
  }
143
- get_poll_status(...args) {
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 messages_1.get_poll_status.apply(this, args);
909
+ return Utilities.downloadProfilePicture.apply(this, args);
146
910
  });
147
911
  }
148
- set_pin_message(...args) {
912
+ run(...args) {
149
913
  return __awaiter(this, void 0, void 0, function* () {
150
- return messages_1.set_pin_message.apply(this, args);
914
+ return Utilities.run.apply(this, args);
151
915
  });
152
916
  }
153
- vote_poll(...args) {
917
+ start(...args) {
154
918
  return __awaiter(this, void 0, void 0, function* () {
155
- return messages_1.vote_poll.apply(this, args);
919
+ return Utilities.start.apply(this, args);
156
920
  });
157
921
  }
158
922
  }