@mtkruto/browser 0.6.0 → 0.119.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3202) hide show
  1. package/README.md +75 -1
  2. package/esm/0_deps.d.ts +24 -11
  3. package/esm/0_deps.d.ts.map +1 -1
  4. package/esm/0_deps.js +27 -14
  5. package/esm/0_errors.d.ts +9 -2
  6. package/esm/0_errors.d.ts.map +1 -1
  7. package/esm/0_errors.js +35 -1
  8. package/esm/1_utilities.d.ts +6 -6
  9. package/esm/1_utilities.d.ts.map +1 -1
  10. package/esm/1_utilities.js +6 -6
  11. package/esm/2_connection.d.ts +1 -1
  12. package/esm/2_connection.js +1 -1
  13. package/esm/2_storage.d.ts +1 -1
  14. package/esm/2_storage.js +1 -1
  15. package/esm/2_tl.d.ts +7 -10
  16. package/esm/2_tl.d.ts.map +1 -1
  17. package/esm/2_tl.js +7 -10
  18. package/esm/3_errors.d.ts +8 -3
  19. package/esm/3_errors.d.ts.map +1 -1
  20. package/esm/3_errors.js +9 -2
  21. package/esm/3_transport.d.ts +4 -4
  22. package/esm/3_transport.js +4 -4
  23. package/esm/3_types.d.ts +74 -34
  24. package/esm/3_types.d.ts.map +1 -1
  25. package/esm/3_types.js +74 -34
  26. package/esm/4_constants.d.ts +21 -2
  27. package/esm/4_constants.d.ts.map +1 -1
  28. package/esm/4_constants.js +4 -4
  29. package/esm/4_errors.d.ts +4 -4
  30. package/esm/4_errors.d.ts.map +1 -1
  31. package/esm/4_errors.js +1 -1
  32. package/esm/4_session.d.ts +24 -0
  33. package/esm/4_session.d.ts.map +1 -0
  34. package/esm/4_session.js +23 -0
  35. package/esm/5_client.d.ts +9 -3
  36. package/esm/5_client.d.ts.map +1 -1
  37. package/esm/5_client.js +9 -3
  38. package/esm/_dnt.polyfills.d.ts +119 -0
  39. package/esm/_dnt.polyfills.d.ts.map +1 -1
  40. package/esm/_dnt.polyfills.js +247 -1
  41. package/esm/_dnt.shims.d.ts +0 -1
  42. package/esm/_dnt.shims.d.ts.map +1 -1
  43. package/esm/client/0_abortable_loop.d.ts +27 -0
  44. package/esm/client/0_abortable_loop.d.ts.map +1 -0
  45. package/esm/client/0_abortable_loop.js +69 -0
  46. package/esm/client/0_client_abstract.d.ts +31 -28
  47. package/esm/client/0_client_abstract.d.ts.map +1 -1
  48. package/esm/client/0_client_abstract.js +21 -90
  49. package/esm/client/0_html.d.ts +4 -3
  50. package/esm/client/0_html.d.ts.map +1 -1
  51. package/esm/client/0_html.js +412 -74
  52. package/esm/client/0_markdown.d.ts +2 -2
  53. package/esm/client/0_markdown.d.ts.map +1 -1
  54. package/esm/client/0_markdown.js +39 -19
  55. package/esm/client/0_params.d.ts +327 -44
  56. package/esm/client/0_params.d.ts.map +1 -1
  57. package/esm/client/0_params.js +1 -1
  58. package/esm/client/0_password.d.ts +6 -6
  59. package/esm/client/0_password.d.ts.map +1 -1
  60. package/esm/client/0_password.js +13 -13
  61. package/esm/client/0_storage_operations.d.ts +81 -69
  62. package/esm/client/0_storage_operations.d.ts.map +1 -1
  63. package/esm/client/0_storage_operations.js +356 -235
  64. package/esm/client/0_update_processor.d.ts +26 -0
  65. package/esm/client/0_update_processor.d.ts.map +1 -0
  66. package/esm/client/0_update_processor.js +20 -0
  67. package/esm/client/0_utilities.d.ts +10 -5
  68. package/esm/client/0_utilities.d.ts.map +1 -1
  69. package/esm/client/0_utilities.js +45 -31
  70. package/esm/client/0_worker_error.d.ts +26 -0
  71. package/esm/client/0_worker_error.d.ts.map +1 -0
  72. package/esm/client/0_worker_error.js +86 -0
  73. package/esm/client/0_worker_request.d.ts +27 -0
  74. package/esm/client/0_worker_request.d.ts.map +1 -0
  75. package/esm/client/0_worker_request.js +20 -0
  76. package/esm/client/1_client_generic.d.ts +1846 -0
  77. package/esm/client/1_client_generic.d.ts.map +1 -0
  78. package/esm/client/1_client_generic.js +24 -0
  79. package/esm/client/1_client_plain.d.ts +12 -9
  80. package/esm/client/1_client_plain.d.ts.map +1 -1
  81. package/esm/client/1_client_plain.js +41 -52
  82. package/esm/client/1_invoke_middleware.d.ts +32 -0
  83. package/esm/client/1_invoke_middleware.d.ts.map +1 -0
  84. package/esm/client/1_invoke_middleware.js +22 -0
  85. package/esm/client/1_types.d.ts +17 -32
  86. package/esm/client/1_types.d.ts.map +1 -1
  87. package/esm/client/1_types.js +1 -1
  88. package/esm/client/1_worker_response.d.ts +37 -0
  89. package/esm/client/1_worker_response.d.ts.map +1 -0
  90. package/esm/client/1_worker_response.js +20 -0
  91. package/esm/client/2_account_manager.d.ts +43 -5
  92. package/esm/client/2_account_manager.d.ts.map +1 -1
  93. package/esm/client/2_account_manager.js +338 -9
  94. package/esm/client/2_bot_info_manager.d.ts +12 -5
  95. package/esm/client/2_bot_info_manager.d.ts.map +1 -1
  96. package/esm/client/2_bot_info_manager.js +15 -1
  97. package/esm/client/2_business_connection_manager.d.ts +6 -5
  98. package/esm/client/2_business_connection_manager.d.ts.map +1 -1
  99. package/esm/client/2_business_connection_manager.js +9 -9
  100. package/esm/client/2_client_encrypted.d.ts +58 -0
  101. package/esm/client/2_client_encrypted.d.ts.map +1 -0
  102. package/esm/client/2_client_encrypted.js +290 -0
  103. package/esm/client/2_file_manager.d.ts +27 -7
  104. package/esm/client/2_file_manager.d.ts.map +1 -1
  105. package/esm/client/2_file_manager.js +242 -197
  106. package/esm/client/2_network_statistics_manager.d.ts +5 -5
  107. package/esm/client/2_network_statistics_manager.d.ts.map +1 -1
  108. package/esm/client/2_network_statistics_manager.js +36 -10
  109. package/esm/client/2_payment_manager.d.ts +8 -7
  110. package/esm/client/2_payment_manager.d.ts.map +1 -1
  111. package/esm/client/2_payment_manager.js +7 -7
  112. package/esm/client/2_reaction_manager.d.ts +6 -5
  113. package/esm/client/2_reaction_manager.d.ts.map +1 -1
  114. package/esm/client/2_reaction_manager.js +14 -14
  115. package/esm/client/2_sign_in.d.ts +25 -0
  116. package/esm/client/2_sign_in.d.ts.map +1 -0
  117. package/esm/client/2_sign_in.js +114 -0
  118. package/esm/client/2_translations_manager.d.ts +35 -0
  119. package/esm/client/2_translations_manager.d.ts.map +1 -0
  120. package/esm/client/2_translations_manager.js +171 -0
  121. package/esm/client/2_update_manager.d.ts +11 -8
  122. package/esm/client/2_update_manager.d.ts.map +1 -1
  123. package/esm/client/2_update_manager.js +354 -296
  124. package/esm/client/3_client_encrypted_pool.d.ts +29 -0
  125. package/esm/client/3_client_encrypted_pool.d.ts.map +1 -0
  126. package/esm/client/3_client_encrypted_pool.js +63 -0
  127. package/esm/client/3_filters.d.ts +96 -0
  128. package/esm/client/3_filters.d.ts.map +1 -0
  129. package/esm/client/3_filters.js +52 -0
  130. package/esm/client/3_message_manager.d.ts +30 -35
  131. package/esm/client/3_message_manager.d.ts.map +1 -1
  132. package/esm/client/3_message_manager.js +791 -493
  133. package/esm/client/3_video_chat_manager.d.ts +11 -10
  134. package/esm/client/3_video_chat_manager.d.ts.map +1 -1
  135. package/esm/client/3_video_chat_manager.js +49 -46
  136. package/esm/client/4_callback_query_manager.d.ts +9 -8
  137. package/esm/client/4_callback_query_manager.d.ts.map +1 -1
  138. package/esm/client/4_callback_query_manager.js +14 -13
  139. package/esm/client/4_chat_list_manager.d.ts +20 -11
  140. package/esm/client/4_chat_list_manager.d.ts.map +1 -1
  141. package/esm/client/4_chat_list_manager.js +143 -367
  142. package/esm/client/4_chat_manager.d.ts +86 -0
  143. package/esm/client/4_chat_manager.d.ts.map +1 -0
  144. package/esm/client/4_chat_manager.js +486 -0
  145. package/esm/client/4_checklist_manager.d.ts +38 -0
  146. package/esm/client/4_checklist_manager.d.ts.map +1 -0
  147. package/esm/client/4_checklist_manager.js +81 -0
  148. package/esm/client/4_context.d.ts +691 -0
  149. package/esm/client/4_context.d.ts.map +1 -0
  150. package/esm/client/4_context.js +1421 -0
  151. package/esm/client/4_forum_manager.d.ts +40 -0
  152. package/esm/client/4_forum_manager.d.ts.map +1 -0
  153. package/esm/client/4_forum_manager.js +134 -0
  154. package/esm/client/4_gift_manager.d.ts +39 -0
  155. package/esm/client/4_gift_manager.d.ts.map +1 -0
  156. package/esm/client/4_gift_manager.js +97 -0
  157. package/esm/client/4_inline_query_manager.d.ts +10 -9
  158. package/esm/client/4_inline_query_manager.d.ts.map +1 -1
  159. package/esm/client/4_inline_query_manager.js +15 -15
  160. package/esm/client/4_link_preview_manager.d.ts +39 -0
  161. package/esm/client/4_link_preview_manager.d.ts.map +1 -0
  162. package/esm/client/4_link_preview_manager.js +64 -0
  163. package/esm/client/4_poll_manager.d.ts +39 -0
  164. package/esm/client/4_poll_manager.d.ts.map +1 -0
  165. package/esm/client/4_poll_manager.js +118 -0
  166. package/esm/client/4_story_manager.d.ts +11 -10
  167. package/esm/client/4_story_manager.d.ts.map +1 -1
  168. package/esm/client/4_story_manager.js +21 -21
  169. package/esm/client/5_composer.d.ts +51 -0
  170. package/esm/client/5_composer.d.ts.map +1 -0
  171. package/esm/client/5_composer.js +119 -0
  172. package/esm/client/6_client.d.ts +1952 -0
  173. package/esm/client/6_client.d.ts.map +1 -0
  174. package/esm/client/6_client.js +3439 -0
  175. package/esm/client/6_client_dispatcher.d.ts +1917 -0
  176. package/esm/client/6_client_dispatcher.d.ts.map +1 -0
  177. package/esm/client/6_client_dispatcher.js +2493 -0
  178. package/esm/client/7_client_worker.d.ts +27 -0
  179. package/esm/client/7_client_worker.d.ts.map +1 -0
  180. package/esm/client/7_client_worker.js +89 -0
  181. package/esm/connection/0_connection.d.ts +9 -8
  182. package/esm/connection/0_connection.d.ts.map +1 -1
  183. package/esm/connection/0_connection.js +1 -1
  184. package/esm/connection/1_connection_tcp.d.ts +4 -5
  185. package/esm/connection/1_connection_tcp.d.ts.map +1 -1
  186. package/esm/connection/1_connection_tcp.js +26 -27
  187. package/esm/connection/1_connection_web_socket.d.ts +3 -3
  188. package/esm/connection/1_connection_web_socket.d.ts.map +1 -1
  189. package/esm/connection/1_connection_web_socket.js +10 -13
  190. package/esm/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.d.ts +18 -0
  191. package/esm/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.d.ts.map +1 -0
  192. package/esm/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.js +63 -0
  193. package/esm/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.d.ts +3 -0
  194. package/esm/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.d.ts.map +1 -0
  195. package/esm/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.js +301 -0
  196. package/esm/deps/jsr.io/@std/assert/1.0.19/assert.d.ts +17 -0
  197. package/esm/deps/jsr.io/@std/assert/1.0.19/assert.d.ts.map +1 -0
  198. package/esm/deps/jsr.io/@std/assert/1.0.19/assert.js +23 -0
  199. package/esm/deps/jsr.io/@std/assert/1.0.19/assertion_error.d.ts.map +1 -0
  200. package/esm/deps/jsr.io/@std/assert/1.0.19/assertion_error.js +30 -0
  201. package/esm/deps/jsr.io/@std/assert/1.0.19/equal.d.ts +25 -0
  202. package/esm/deps/jsr.io/@std/assert/1.0.19/equal.d.ts.map +1 -0
  203. package/esm/deps/jsr.io/@std/assert/1.0.19/equal.js +194 -0
  204. package/esm/deps/jsr.io/@std/assert/1.0.19/equals.d.ts +37 -0
  205. package/esm/deps/jsr.io/@std/assert/1.0.19/equals.d.ts.map +1 -0
  206. package/esm/deps/jsr.io/@std/assert/1.0.19/equals.js +61 -0
  207. package/esm/deps/jsr.io/@std/assert/1.0.19/false.d.ts +19 -0
  208. package/esm/deps/jsr.io/@std/assert/1.0.19/false.d.ts.map +1 -0
  209. package/esm/deps/jsr.io/@std/assert/1.0.19/false.js +23 -0
  210. package/esm/deps/jsr.io/@std/assert/1.0.19/unreachable.d.ts.map +1 -0
  211. package/esm/deps/jsr.io/@std/assert/1.0.19/unreachable.js +20 -0
  212. package/esm/deps/jsr.io/@std/async/1.2.0/_util.d.ts +2 -0
  213. package/esm/deps/jsr.io/@std/async/1.2.0/_util.d.ts.map +1 -0
  214. package/esm/deps/jsr.io/@std/async/1.2.0/_util.js +6 -0
  215. package/esm/deps/jsr.io/@std/async/1.2.0/abortable.d.ts +107 -0
  216. package/esm/deps/jsr.io/@std/async/1.2.0/abortable.d.ts.map +1 -0
  217. package/esm/deps/jsr.io/@std/async/1.2.0/abortable.js +46 -0
  218. package/esm/deps/jsr.io/@std/async/1.2.0/deadline.d.ts +37 -0
  219. package/esm/deps/jsr.io/@std/async/1.2.0/deadline.d.ts.map +1 -0
  220. package/esm/deps/jsr.io/@std/async/1.2.0/deadline.js +41 -0
  221. package/esm/deps/jsr.io/@std/async/1.2.0/debounce.d.ts +44 -0
  222. package/esm/deps/jsr.io/@std/async/1.2.0/debounce.d.ts.map +1 -0
  223. package/esm/deps/jsr.io/@std/async/1.2.0/debounce.js +57 -0
  224. package/esm/deps/jsr.io/@std/async/1.2.0/delay.d.ts +45 -0
  225. package/esm/deps/jsr.io/@std/async/1.2.0/delay.d.ts.map +1 -0
  226. package/esm/deps/jsr.io/@std/async/1.2.0/delay.js +84 -0
  227. package/esm/deps/jsr.io/@std/async/1.2.0/mod.d.ts +22 -0
  228. package/esm/deps/jsr.io/@std/async/1.2.0/mod.d.ts.map +1 -0
  229. package/esm/deps/jsr.io/@std/async/1.2.0/mod.js +23 -0
  230. package/esm/deps/jsr.io/@std/async/1.2.0/mux_async_iterator.d.ts +111 -0
  231. package/esm/deps/jsr.io/@std/async/1.2.0/mux_async_iterator.d.ts.map +1 -0
  232. package/esm/deps/jsr.io/@std/async/1.2.0/mux_async_iterator.js +170 -0
  233. package/esm/deps/jsr.io/@std/async/1.2.0/pool.d.ts +33 -0
  234. package/esm/deps/jsr.io/@std/async/1.2.0/pool.d.ts.map +1 -0
  235. package/esm/deps/jsr.io/@std/async/1.2.0/pool.js +99 -0
  236. package/esm/deps/jsr.io/@std/async/1.2.0/retry.d.ts +155 -0
  237. package/esm/deps/jsr.io/@std/async/1.2.0/retry.d.ts.map +1 -0
  238. package/esm/deps/jsr.io/@std/async/1.2.0/retry.js +147 -0
  239. package/esm/deps/jsr.io/@std/async/1.2.0/tee.d.ts +43 -0
  240. package/esm/deps/jsr.io/@std/async/1.2.0/tee.d.ts.map +1 -0
  241. package/esm/deps/jsr.io/@std/async/1.2.0/tee.js +102 -0
  242. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +9 -0
  243. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
  244. package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js +2 -0
  245. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +21 -0
  246. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
  247. package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js +32 -0
  248. package/esm/deps/jsr.io/@std/bytes/1.0.6/equals.d.ts +22 -0
  249. package/esm/deps/jsr.io/@std/bytes/1.0.6/equals.d.ts.map +1 -0
  250. package/esm/deps/jsr.io/@std/bytes/1.0.6/equals.js +82 -0
  251. package/esm/deps/jsr.io/@std/bytes/1.0.6/starts_with.d.ts +24 -0
  252. package/esm/deps/jsr.io/@std/bytes/1.0.6/starts_with.d.ts.map +1 -0
  253. package/esm/deps/jsr.io/@std/bytes/1.0.6/starts_with.js +34 -0
  254. package/esm/deps/jsr.io/@std/cache/0.2.2/_serialize_arg_list.d.ts +12 -0
  255. package/esm/deps/jsr.io/@std/cache/0.2.2/_serialize_arg_list.d.ts.map +1 -0
  256. package/esm/deps/jsr.io/@std/cache/0.2.2/_serialize_arg_list.js +69 -0
  257. package/esm/deps/jsr.io/@std/cache/0.2.2/lru_cache.d.ts +155 -0
  258. package/esm/deps/jsr.io/@std/cache/0.2.2/lru_cache.d.ts.map +1 -0
  259. package/esm/deps/jsr.io/@std/cache/0.2.2/lru_cache.js +205 -0
  260. package/esm/deps/jsr.io/@std/cache/0.2.2/memoize.d.ts +111 -0
  261. package/esm/deps/jsr.io/@std/cache/0.2.2/memoize.d.ts.map +1 -0
  262. package/esm/deps/jsr.io/@std/cache/0.2.2/memoize.js +82 -0
  263. package/esm/deps/jsr.io/@std/datetime/0.225.7/_date_time_formatter.d.ts +19 -0
  264. package/esm/deps/jsr.io/@std/datetime/0.225.7/_date_time_formatter.d.ts.map +1 -0
  265. package/esm/deps/jsr.io/@std/datetime/0.225.7/_date_time_formatter.js +550 -0
  266. package/esm/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts +265 -0
  267. package/esm/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts.map +1 -0
  268. package/esm/deps/jsr.io/@std/datetime/0.225.7/constants.js +266 -0
  269. package/esm/deps/jsr.io/@std/datetime/0.225.7/format.d.ts +70 -0
  270. package/esm/deps/jsr.io/@std/datetime/0.225.7/format.d.ts.map +1 -0
  271. package/esm/deps/jsr.io/@std/datetime/0.225.7/format.js +66 -0
  272. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts +23 -0
  273. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts.map +1 -0
  274. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common16.js +51 -0
  275. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts +35 -0
  276. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts.map +1 -0
  277. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common64.js +113 -0
  278. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts +4 -0
  279. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts.map +1 -0
  280. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.js +13 -0
  281. package/esm/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts +9 -0
  282. package/esm/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts.map +1 -0
  283. package/esm/deps/jsr.io/@std/encoding/1.0.10/_types.js +2 -0
  284. package/esm/deps/jsr.io/@std/encoding/1.0.10/base64.d.ts +40 -0
  285. package/esm/deps/jsr.io/@std/encoding/1.0.10/base64.d.ts.map +1 -0
  286. package/esm/deps/jsr.io/@std/encoding/1.0.10/base64.js +82 -0
  287. package/esm/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts +39 -0
  288. package/esm/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts.map +1 -0
  289. package/esm/deps/jsr.io/@std/encoding/1.0.10/hex.js +87 -0
  290. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +2 -0
  291. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
  292. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +12 -0
  293. package/esm/deps/jsr.io/@std/internal/1.0.12/build_message.d.ts +80 -0
  294. package/esm/deps/jsr.io/@std/internal/1.0.12/build_message.d.ts.map +1 -0
  295. package/esm/deps/jsr.io/@std/internal/1.0.12/build_message.js +116 -0
  296. package/esm/deps/jsr.io/@std/internal/1.0.12/diff.d.ts.map +1 -0
  297. package/esm/deps/jsr.io/@std/internal/1.0.12/diff.js +276 -0
  298. package/esm/deps/jsr.io/@std/internal/1.0.12/diff_str.d.ts.map +1 -0
  299. package/esm/deps/jsr.io/@std/internal/1.0.12/diff_str.js +182 -0
  300. package/esm/deps/jsr.io/@std/internal/1.0.12/format.d.ts +29 -0
  301. package/esm/deps/jsr.io/@std/internal/1.0.12/format.d.ts.map +1 -0
  302. package/esm/deps/jsr.io/@std/internal/1.0.12/format.js +70 -0
  303. package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts +3 -0
  304. package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +1 -0
  305. package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +5 -0
  306. package/esm/deps/jsr.io/@std/internal/1.0.12/styles.d.ts.map +1 -0
  307. package/esm/deps/jsr.io/@std/internal/1.0.12/styles.js +207 -0
  308. package/esm/deps/jsr.io/@std/internal/1.0.12/types.d.ts +25 -0
  309. package/esm/deps/jsr.io/@std/internal/1.0.12/types.d.ts.map +1 -0
  310. package/esm/deps/jsr.io/@std/internal/1.0.12/types.js +3 -0
  311. package/esm/deps/jsr.io/@std/io/0.225.3/_constants.d.ts.map +1 -0
  312. package/esm/deps/jsr.io/@std/io/0.225.3/_constants.js +4 -0
  313. package/esm/deps/jsr.io/@std/io/0.225.3/iterate_reader.d.ts.map +1 -0
  314. package/esm/deps/jsr.io/@std/io/0.225.3/iterate_reader.js +96 -0
  315. package/esm/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +1 -0
  316. package/esm/deps/jsr.io/@std/io/0.225.3/types.js +15 -0
  317. package/esm/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts +8 -0
  318. package/esm/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts.map +1 -0
  319. package/esm/deps/jsr.io/@std/media-types/1.1.0/_util.d.ts.map +1 -0
  320. package/esm/deps/jsr.io/@std/media-types/1.1.0/all_extensions.d.ts.map +1 -0
  321. package/esm/deps/jsr.io/@std/media-types/1.1.0/content_type.d.ts.map +1 -0
  322. package/esm/deps/jsr.io/@std/media-types/1.1.0/extension.d.ts.map +1 -0
  323. package/esm/deps/jsr.io/@std/media-types/1.1.0/format_media_type.d.ts.map +1 -0
  324. package/esm/deps/jsr.io/@std/media-types/1.1.0/get_charset.d.ts.map +1 -0
  325. package/esm/deps/jsr.io/@std/media-types/1.1.0/parse_media_type.d.ts.map +1 -0
  326. package/esm/deps/jsr.io/@std/media-types/1.1.0/type_by_extension.d.ts.map +1 -0
  327. package/esm/deps/jsr.io/@std/media-types/1.1.0/vendor/db.d.ts +9103 -0
  328. package/esm/deps/jsr.io/@std/media-types/1.1.0/vendor/db.d.ts.map +1 -0
  329. package/esm/deps/jsr.io/@std/media-types/1.1.0/vendor/db.js +9138 -0
  330. package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +1 -0
  331. package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.js +7 -0
  332. package/esm/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts.map +1 -0
  333. package/esm/deps/jsr.io/@std/path/1.1.4/_common/basename.js +40 -0
  334. package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +1 -0
  335. package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.js +46 -0
  336. package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +1 -0
  337. package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.js +9 -0
  338. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +1 -0
  339. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.js +8 -0
  340. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +1 -0
  341. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.js +77 -0
  342. package/esm/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts.map +1 -0
  343. package/esm/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.js +19 -0
  344. package/esm/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts.map +1 -0
  345. package/esm/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.js +15 -0
  346. package/esm/deps/jsr.io/@std/path/1.1.4/basename.d.ts +27 -0
  347. package/esm/deps/jsr.io/@std/path/1.1.4/basename.d.ts.map +1 -0
  348. package/esm/deps/jsr.io/@std/path/1.1.4/basename.js +35 -0
  349. package/esm/deps/jsr.io/@std/path/1.1.4/extname.d.ts +22 -0
  350. package/esm/deps/jsr.io/@std/path/1.1.4/extname.d.ts.map +1 -0
  351. package/esm/deps/jsr.io/@std/path/1.1.4/extname.js +28 -0
  352. package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts.map +1 -0
  353. package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.js +28 -0
  354. package/esm/deps/jsr.io/@std/path/1.1.4/join.d.ts +23 -0
  355. package/esm/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +1 -0
  356. package/esm/deps/jsr.io/@std/path/1.1.4/join.js +29 -0
  357. package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +1 -0
  358. package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.js +8 -0
  359. package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts +39 -0
  360. package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts.map +1 -0
  361. package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.js +52 -0
  362. package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts +37 -0
  363. package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts.map +1 -0
  364. package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.js +93 -0
  365. package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +1 -0
  366. package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.js +21 -0
  367. package/esm/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts.map +1 -0
  368. package/esm/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.js +23 -0
  369. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts +31 -0
  370. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +1 -0
  371. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.js +45 -0
  372. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts +37 -0
  373. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +1 -0
  374. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.js +58 -0
  375. package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts.map +1 -0
  376. package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.js +27 -0
  377. package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts.map +1 -0
  378. package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.js +28 -0
  379. package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +1 -0
  380. package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.js +15 -0
  381. package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts +22 -0
  382. package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts.map +1 -0
  383. package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.js +47 -0
  384. package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts +17 -0
  385. package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts.map +1 -0
  386. package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.js +82 -0
  387. package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +1 -0
  388. package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.js +30 -0
  389. package/esm/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts.map +1 -0
  390. package/esm/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.js +38 -0
  391. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts +18 -0
  392. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +1 -0
  393. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.js +77 -0
  394. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts +19 -0
  395. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +1 -0
  396. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.js +135 -0
  397. package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts.map +1 -0
  398. package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.js +34 -0
  399. package/esm/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.d.ts +22 -0
  400. package/esm/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.d.ts.map +1 -0
  401. package/esm/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.js +35 -0
  402. package/esm/mod.d.ts +2 -2
  403. package/esm/mod.d.ts.map +1 -1
  404. package/esm/mod.js +2 -2
  405. package/esm/session/0_session_error.d.ts +24 -0
  406. package/esm/session/0_session_error.d.ts.map +1 -0
  407. package/esm/session/0_session_error.js +25 -0
  408. package/esm/session/0_session_state.d.ts +28 -0
  409. package/esm/session/0_session_state.d.ts.map +1 -0
  410. package/esm/session/0_session_state.js +77 -0
  411. package/esm/session/1_session.d.ts +51 -0
  412. package/esm/session/1_session.d.ts.map +1 -0
  413. package/esm/session/1_session.js +147 -0
  414. package/esm/session/2_session_encrypted.d.ts +41 -0
  415. package/esm/session/2_session_encrypted.d.ts.map +1 -0
  416. package/esm/session/2_session_encrypted.js +507 -0
  417. package/esm/session/2_session_plain.d.ts +25 -0
  418. package/esm/session/2_session_plain.d.ts.map +1 -0
  419. package/esm/session/2_session_plain.js +56 -0
  420. package/esm/storage/0_storage.d.ts +3 -2
  421. package/esm/storage/0_storage.d.ts.map +1 -1
  422. package/esm/storage/0_storage.js +1 -1
  423. package/esm/storage/1_utilities.d.ts +15 -11
  424. package/esm/storage/1_utilities.d.ts.map +1 -1
  425. package/esm/storage/1_utilities.js +33 -41
  426. package/esm/storage/2_storage_indexed_db.d.ts +3 -2
  427. package/esm/storage/2_storage_indexed_db.d.ts.map +1 -1
  428. package/esm/storage/2_storage_indexed_db.js +7 -4
  429. package/esm/storage/2_storage_local_storage.d.ts +3 -2
  430. package/esm/storage/2_storage_local_storage.d.ts.map +1 -1
  431. package/esm/storage/2_storage_local_storage.js +7 -4
  432. package/esm/storage/2_storage_memory.d.ts +4 -3
  433. package/esm/storage/2_storage_memory.d.ts.map +1 -1
  434. package/esm/storage/2_storage_memory.js +6 -3
  435. package/esm/storage/2_storage_session_storage.d.ts +4 -3
  436. package/esm/storage/2_storage_session_storage.d.ts.map +1 -1
  437. package/esm/storage/2_storage_session_storage.js +7 -4
  438. package/esm/tl/0_types.d.ts +25 -0
  439. package/esm/tl/0_types.d.ts.map +1 -0
  440. package/esm/tl/0_types.js +20 -0
  441. package/esm/tl/0_utilities.d.ts +34 -0
  442. package/esm/tl/0_utilities.d.ts.map +1 -0
  443. package/esm/tl/0_utilities.js +79 -0
  444. package/esm/tl/1_mtproto_api.d.ts +371 -0
  445. package/esm/tl/1_mtproto_api.d.ts.map +1 -0
  446. package/esm/tl/1_mtproto_api.js +416 -0
  447. package/esm/tl/1_telegram_api.d.ts +19410 -0
  448. package/esm/tl/1_telegram_api.d.ts.map +1 -0
  449. package/esm/tl/1_telegram_api.js +22386 -0
  450. package/esm/tl/1_tl_reader.d.ts +39 -0
  451. package/esm/tl/1_tl_reader.d.ts.map +1 -0
  452. package/esm/tl/1_tl_reader.js +228 -0
  453. package/esm/tl/1_tl_writer.d.ts +37 -0
  454. package/esm/tl/1_tl_writer.d.ts.map +1 -0
  455. package/esm/tl/1_tl_writer.js +278 -0
  456. package/esm/tl/1_utilities.d.ts +9 -14
  457. package/esm/tl/1_utilities.d.ts.map +1 -1
  458. package/esm/tl/1_utilities.js +21 -40
  459. package/esm/tl/2_message.d.ts +36 -0
  460. package/esm/tl/2_message.d.ts.map +1 -0
  461. package/esm/tl/2_message.js +73 -0
  462. package/esm/tl/2_mtproto.d.ts +33 -0
  463. package/esm/tl/2_mtproto.d.ts.map +1 -0
  464. package/esm/tl/2_mtproto.js +53 -0
  465. package/esm/tl/2_telegram.d.ts +49 -0
  466. package/esm/tl/2_telegram.d.ts.map +1 -0
  467. package/esm/tl/2_telegram.js +135 -0
  468. package/esm/transport/0_obfuscation.d.ts +2 -2
  469. package/esm/transport/0_obfuscation.d.ts.map +1 -1
  470. package/esm/transport/0_obfuscation.js +10 -9
  471. package/esm/transport/0_transport.d.ts +4 -6
  472. package/esm/transport/0_transport.d.ts.map +1 -1
  473. package/esm/transport/0_transport.js +10 -11
  474. package/esm/transport/1_transport_abridged.d.ts +2 -4
  475. package/esm/transport/1_transport_abridged.d.ts.map +1 -1
  476. package/esm/transport/1_transport_abridged.js +17 -34
  477. package/esm/transport/1_transport_intermediate.d.ts +2 -4
  478. package/esm/transport/1_transport_intermediate.d.ts.map +1 -1
  479. package/esm/transport/1_transport_intermediate.js +12 -31
  480. package/esm/transport/1_transport_provider.d.ts +35 -0
  481. package/esm/transport/1_transport_provider.d.ts.map +1 -0
  482. package/esm/transport/1_transport_provider.js +81 -0
  483. package/esm/transport/2_transport_provider_tcp.d.ts +25 -0
  484. package/esm/transport/2_transport_provider_tcp.d.ts.map +1 -0
  485. package/esm/transport/2_transport_provider_tcp.js +29 -0
  486. package/esm/transport/2_transport_provider_web_socket.d.ts +24 -0
  487. package/esm/transport/2_transport_provider_web_socket.d.ts.map +1 -0
  488. package/esm/transport/2_transport_provider_web_socket.js +43 -0
  489. package/esm/types/0_authorization_state.d.ts +2 -2
  490. package/esm/types/0_authorization_state.d.ts.map +1 -1
  491. package/esm/types/0_authorization_state.js +1 -1
  492. package/esm/types/0_birthday.d.ts +3 -2
  493. package/esm/types/0_birthday.d.ts.map +1 -1
  494. package/esm/types/0_birthday.js +10 -1
  495. package/esm/types/0_bot_command.d.ts +1 -1
  496. package/esm/types/0_bot_command.js +1 -1
  497. package/esm/types/0_bot_token_check_result.d.ts +31 -0
  498. package/esm/types/0_bot_token_check_result.d.ts.map +1 -0
  499. package/esm/types/0_bot_token_check_result.js +20 -0
  500. package/esm/types/0_button_style.d.ts +28 -0
  501. package/esm/types/0_button_style.d.ts.map +1 -0
  502. package/esm/types/0_button_style.js +36 -0
  503. package/esm/types/0_callback_query_answer.d.ts +3 -3
  504. package/esm/types/0_callback_query_answer.d.ts.map +1 -1
  505. package/esm/types/0_callback_query_answer.js +2 -2
  506. package/esm/types/0_callback_query_question.d.ts +1 -1
  507. package/esm/types/0_callback_query_question.js +3 -3
  508. package/esm/types/0_chat_action.d.ts +1 -1
  509. package/esm/types/0_chat_action.js +1 -1
  510. package/esm/types/0_chat_administrator_rights.d.ts +17 -7
  511. package/esm/types/0_chat_administrator_rights.d.ts.map +1 -1
  512. package/esm/types/0_chat_administrator_rights.js +31 -16
  513. package/esm/types/0_chat_folder.d.ts +29 -0
  514. package/esm/types/0_chat_folder.d.ts.map +1 -0
  515. package/esm/types/0_chat_folder.js +25 -0
  516. package/esm/types/0_chat_member_rights.d.ts +3 -3
  517. package/esm/types/0_chat_member_rights.d.ts.map +1 -1
  518. package/esm/types/0_chat_member_rights.js +23 -23
  519. package/esm/types/0_chat_photo.d.ts +2 -2
  520. package/esm/types/0_chat_photo.d.ts.map +1 -1
  521. package/esm/types/0_chat_photo.js +5 -5
  522. package/esm/types/0_checklist_changed.d.ts +29 -0
  523. package/esm/types/0_checklist_changed.d.ts.map +1 -0
  524. package/esm/types/0_checklist_changed.js +25 -0
  525. package/esm/types/0_code_check_result.d.ts +47 -0
  526. package/esm/types/0_code_check_result.d.ts.map +1 -0
  527. package/esm/types/0_code_check_result.js +20 -0
  528. package/esm/types/0_connection_state.d.ts +1 -1
  529. package/esm/types/0_connection_state.js +1 -1
  530. package/esm/types/0_contact.d.ts +2 -2
  531. package/esm/types/0_contact.d.ts.map +1 -1
  532. package/esm/types/0_contact.js +4 -3
  533. package/esm/types/0_dice.d.ts +2 -2
  534. package/esm/types/0_dice.d.ts.map +1 -1
  535. package/esm/types/0_dice.js +1 -1
  536. package/esm/types/0_emoji_status.d.ts +48 -0
  537. package/esm/types/0_emoji_status.d.ts.map +1 -0
  538. package/esm/types/0_emoji_status.js +33 -0
  539. package/esm/types/0_failed_invitation.d.ts +8 -4
  540. package/esm/types/0_failed_invitation.d.ts.map +1 -1
  541. package/esm/types/0_failed_invitation.js +3 -3
  542. package/esm/types/0_file_source.d.ts +2 -2
  543. package/esm/types/0_file_source.d.ts.map +1 -1
  544. package/esm/types/0_file_source.js +1 -1
  545. package/esm/types/0_gift_component_rarity.d.ts +50 -0
  546. package/esm/types/0_gift_component_rarity.d.ts.map +1 -0
  547. package/esm/types/0_gift_component_rarity.js +43 -0
  548. package/esm/types/0_gift_value.d.ts +25 -0
  549. package/esm/types/0_gift_value.d.ts.map +1 -0
  550. package/esm/types/0_gift_value.js +20 -0
  551. package/esm/types/0_giveaway_parameters.d.ts +2 -2
  552. package/esm/types/0_giveaway_parameters.d.ts.map +1 -1
  553. package/esm/types/0_giveaway_parameters.js +5 -6
  554. package/esm/types/0_id.d.ts +1 -1
  555. package/esm/types/0_id.js +1 -1
  556. package/esm/types/0_input_emoji_status.d.ts +36 -0
  557. package/esm/types/0_input_emoji_status.d.ts.map +1 -0
  558. package/esm/types/0_input_emoji_status.js +20 -0
  559. package/esm/types/0_invoice.d.ts +3 -2
  560. package/esm/types/0_invoice.d.ts.map +1 -1
  561. package/esm/types/0_invoice.js +1 -1
  562. package/esm/types/0_keyboard_button_poll_type.d.ts +1 -1
  563. package/esm/types/0_keyboard_button_poll_type.js +1 -1
  564. package/esm/types/0_link_preview_media_size.d.ts +22 -0
  565. package/esm/types/0_link_preview_media_size.d.ts.map +1 -0
  566. package/esm/types/0_link_preview_media_size.js +20 -0
  567. package/esm/types/0_live_stream_channel.d.ts +2 -2
  568. package/esm/types/0_live_stream_channel.d.ts.map +1 -1
  569. package/esm/types/0_live_stream_channel.js +1 -1
  570. package/esm/types/0_location.d.ts +1 -1
  571. package/esm/types/0_location.d.ts.map +1 -1
  572. package/esm/types/0_location.js +13 -12
  573. package/esm/types/0_login_url.d.ts +1 -1
  574. package/esm/types/0_login_url.js +1 -1
  575. package/esm/types/0_mask_position.d.ts +2 -2
  576. package/esm/types/0_mask_position.d.ts.map +1 -1
  577. package/esm/types/0_mask_position.js +2 -2
  578. package/esm/types/0_message_reference.d.ts +1 -1
  579. package/esm/types/0_message_reference.js +1 -1
  580. package/esm/types/0_message_search_filter.d.ts +3 -2
  581. package/esm/types/0_message_search_filter.d.ts.map +1 -1
  582. package/esm/types/0_message_search_filter.js +1 -1
  583. package/esm/types/0_mini_app_button_info.d.ts +26 -0
  584. package/esm/types/0_mini_app_button_info.d.ts.map +1 -0
  585. package/esm/types/0_mini_app_button_info.js +22 -0
  586. package/esm/types/0_mini_app_mode.d.ts +22 -0
  587. package/esm/types/0_mini_app_mode.d.ts.map +1 -0
  588. package/esm/types/0_mini_app_mode.js +20 -0
  589. package/esm/types/0_network_statistics_entry.d.ts +1 -1
  590. package/esm/types/0_network_statistics_entry.js +1 -1
  591. package/esm/types/0_parse_mode.d.ts +1 -1
  592. package/esm/types/0_parse_mode.js +1 -1
  593. package/esm/types/0_password_check_result.d.ts +39 -0
  594. package/esm/types/0_password_check_result.d.ts.map +1 -0
  595. package/esm/types/0_password_check_result.js +20 -0
  596. package/esm/types/0_price_tag.d.ts +1 -1
  597. package/esm/types/0_price_tag.js +1 -1
  598. package/esm/types/0_reaction.d.ts +4 -1
  599. package/esm/types/0_reaction.d.ts.map +1 -1
  600. package/esm/types/0_reaction.js +10 -10
  601. package/esm/types/0_refunded_payment.d.ts +2 -2
  602. package/esm/types/0_refunded_payment.d.ts.map +1 -1
  603. package/esm/types/0_refunded_payment.js +3 -3
  604. package/esm/types/0_restriction_reason.d.ts +2 -2
  605. package/esm/types/0_restriction_reason.d.ts.map +1 -1
  606. package/esm/types/0_restriction_reason.js +1 -1
  607. package/esm/types/0_self_destruct_option.d.ts +11 -3
  608. package/esm/types/0_self_destruct_option.d.ts.map +1 -1
  609. package/esm/types/0_self_destruct_option.js +12 -3
  610. package/esm/types/0_shipping_address.d.ts +2 -2
  611. package/esm/types/0_shipping_address.d.ts.map +1 -1
  612. package/esm/types/0_shipping_address.js +1 -1
  613. package/esm/types/0_slow_mode_duration.d.ts +23 -0
  614. package/esm/types/0_slow_mode_duration.d.ts.map +1 -0
  615. package/esm/types/0_slow_mode_duration.js +28 -0
  616. package/esm/types/0_story_reference.d.ts +1 -1
  617. package/esm/types/0_story_reference.js +1 -1
  618. package/esm/types/0_switch_inline_query_chosen_chats.d.ts +20 -0
  619. package/esm/types/0_switch_inline_query_chosen_chats.d.ts.map +1 -1
  620. package/esm/types/0_switch_inline_query_chosen_chats.js +19 -0
  621. package/esm/types/0_thumbnail.d.ts +1 -1
  622. package/esm/types/0_thumbnail.d.ts.map +1 -1
  623. package/esm/types/0_thumbnail.js +4 -4
  624. package/esm/types/0_translation.d.ts +32 -0
  625. package/esm/types/0_translation.d.ts.map +1 -0
  626. package/esm/types/0_translation.js +45 -0
  627. package/esm/types/0_upload_progress.d.ts +29 -0
  628. package/esm/types/0_upload_progress.d.ts.map +1 -0
  629. package/esm/types/0_upload_progress.js +20 -0
  630. package/esm/types/0_user_status.d.ts +66 -0
  631. package/esm/types/0_user_status.d.ts.map +1 -0
  632. package/esm/types/0_user_status.js +35 -0
  633. package/esm/types/0_video_chat.d.ts +8 -4
  634. package/esm/types/0_video_chat.d.ts.map +1 -1
  635. package/esm/types/0_video_chat.js +7 -8
  636. package/esm/types/0_voice.d.ts +2 -2
  637. package/esm/types/0_voice.d.ts.map +1 -1
  638. package/esm/types/0_voice.js +1 -1
  639. package/esm/types/0_voice_transcription.d.ts +31 -0
  640. package/esm/types/0_voice_transcription.d.ts.map +1 -0
  641. package/esm/types/0_voice_transcription.js +26 -0
  642. package/esm/types/0_working_hours_interval.d.ts +27 -0
  643. package/esm/types/0_working_hours_interval.d.ts.map +1 -0
  644. package/esm/types/0_working_hours_interval.js +20 -0
  645. package/esm/types/1_animation.d.ts +2 -2
  646. package/esm/types/1_animation.d.ts.map +1 -1
  647. package/esm/types/1_animation.js +6 -5
  648. package/esm/types/1_audio.d.ts +2 -2
  649. package/esm/types/1_audio.d.ts.map +1 -1
  650. package/esm/types/1_audio.js +6 -5
  651. package/esm/types/1_bot_command_scope.d.ts +3 -3
  652. package/esm/types/1_bot_command_scope.d.ts.map +1 -1
  653. package/esm/types/1_bot_command_scope.js +4 -4
  654. package/esm/types/1_bot_commands.d.ts +30 -0
  655. package/esm/types/1_bot_commands.d.ts.map +1 -0
  656. package/esm/types/1_bot_commands.js +20 -0
  657. package/esm/types/1_chat_p.d.ts +36 -7
  658. package/esm/types/1_chat_p.d.ts.map +1 -1
  659. package/esm/types/1_chat_p.js +43 -17
  660. package/esm/types/1_document.d.ts +2 -2
  661. package/esm/types/1_document.d.ts.map +1 -1
  662. package/esm/types/1_document.js +3 -3
  663. package/esm/types/1_giveaway.d.ts +3 -3
  664. package/esm/types/1_giveaway.d.ts.map +1 -1
  665. package/esm/types/1_giveaway.js +1 -1
  666. package/esm/types/1_inline_keyboard_button.d.ts +140 -0
  667. package/esm/types/1_inline_keyboard_button.d.ts.map +1 -0
  668. package/esm/types/1_inline_keyboard_button.js +128 -0
  669. package/esm/types/1_inline_query_result_button.d.ts +3 -3
  670. package/esm/types/1_inline_query_result_button.d.ts.map +1 -1
  671. package/esm/types/1_inline_query_result_button.js +1 -1
  672. package/esm/types/1_input_gift.d.ts +54 -0
  673. package/esm/types/1_input_gift.d.ts.map +1 -0
  674. package/esm/types/1_input_gift.js +32 -0
  675. package/esm/types/1_input_story_content.d.ts +3 -3
  676. package/esm/types/1_input_story_content.d.ts.map +1 -1
  677. package/esm/types/1_input_story_content.js +1 -1
  678. package/esm/types/1_keyboard_button.d.ts +14 -12
  679. package/esm/types/1_keyboard_button.d.ts.map +1 -1
  680. package/esm/types/1_keyboard_button.js +87 -34
  681. package/esm/types/1_message_reaction.d.ts +3 -3
  682. package/esm/types/1_message_reaction.d.ts.map +1 -1
  683. package/esm/types/1_message_reaction.js +8 -8
  684. package/esm/types/1_mini_app_info.d.ts +32 -0
  685. package/esm/types/1_mini_app_info.d.ts.map +1 -0
  686. package/esm/types/1_mini_app_info.js +27 -0
  687. package/esm/types/1_network_statistics.d.ts +2 -2
  688. package/esm/types/1_network_statistics.d.ts.map +1 -1
  689. package/esm/types/1_network_statistics.js +1 -1
  690. package/esm/types/1_order_info.d.ts +8 -3
  691. package/esm/types/1_order_info.d.ts.map +1 -1
  692. package/esm/types/1_order_info.js +1 -1
  693. package/esm/types/1_photo.d.ts +2 -2
  694. package/esm/types/1_photo.d.ts.map +1 -1
  695. package/esm/types/1_photo.js +4 -4
  696. package/esm/types/1_reaction_count.d.ts +3 -3
  697. package/esm/types/1_reaction_count.d.ts.map +1 -1
  698. package/esm/types/1_reaction_count.js +1 -1
  699. package/esm/types/1_sticker.d.ts +6 -5
  700. package/esm/types/1_sticker.d.ts.map +1 -1
  701. package/esm/types/1_sticker.js +15 -11
  702. package/esm/types/1_story_reaction.d.ts +4 -4
  703. package/esm/types/1_story_reaction.d.ts.map +1 -1
  704. package/esm/types/1_story_reaction.js +2 -2
  705. package/esm/types/1_venue.d.ts +2 -2
  706. package/esm/types/1_venue.d.ts.map +1 -1
  707. package/esm/types/1_venue.js +5 -8
  708. package/esm/types/1_video.d.ts +2 -2
  709. package/esm/types/1_video.d.ts.map +1 -1
  710. package/esm/types/1_video.js +3 -3
  711. package/esm/types/1_video_note.d.ts +2 -2
  712. package/esm/types/1_video_note.d.ts.map +1 -1
  713. package/esm/types/1_video_note.js +3 -3
  714. package/esm/types/1_working_hours.d.ts +31 -0
  715. package/esm/types/1_working_hours.d.ts.map +1 -0
  716. package/esm/types/1_working_hours.js +33 -0
  717. package/esm/types/2_chat.d.ts +14 -17
  718. package/esm/types/2_chat.d.ts.map +1 -1
  719. package/esm/types/2_chat.js +23 -28
  720. package/esm/types/2_chat_member.d.ts +72 -15
  721. package/esm/types/2_chat_member.d.ts.map +1 -1
  722. package/esm/types/2_chat_member.js +40 -28
  723. package/esm/types/2_inactive_chat.d.ts +3 -3
  724. package/esm/types/2_inactive_chat.d.ts.map +1 -1
  725. package/esm/types/2_inactive_chat.js +4 -5
  726. package/esm/types/2_message_entity.d.ts +148 -0
  727. package/esm/types/2_message_entity.d.ts.map +1 -0
  728. package/esm/types/2_message_entity.js +243 -0
  729. package/esm/types/2_message_interactions.d.ts +2 -2
  730. package/esm/types/2_message_interactions.d.ts.map +1 -1
  731. package/esm/types/2_message_interactions.js +1 -1
  732. package/esm/types/2_message_reaction_count.d.ts +6 -7
  733. package/esm/types/2_message_reaction_count.d.ts.map +1 -1
  734. package/esm/types/2_message_reaction_count.js +6 -9
  735. package/esm/types/2_message_reaction_list_item.d.ts +39 -0
  736. package/esm/types/2_message_reaction_list_item.d.ts.map +1 -0
  737. package/esm/types/2_message_reaction_list_item.js +50 -0
  738. package/esm/types/2_poll_answer.d.ts +32 -0
  739. package/esm/types/2_poll_answer.d.ts.map +1 -0
  740. package/esm/types/2_poll_answer.js +35 -0
  741. package/esm/types/2_reply_markup.d.ts +71 -0
  742. package/esm/types/2_reply_markup.d.ts.map +1 -0
  743. package/esm/types/2_reply_markup.js +127 -0
  744. package/esm/types/2_sticker_set.d.ts +51 -0
  745. package/esm/types/2_sticker_set.d.ts.map +1 -0
  746. package/esm/types/2_sticker_set.js +91 -0
  747. package/esm/types/2_story_content.d.ts +3 -3
  748. package/esm/types/2_story_content.d.ts.map +1 -1
  749. package/esm/types/2_story_content.js +7 -7
  750. package/esm/types/2_story_interactions.d.ts +3 -3
  751. package/esm/types/2_story_interactions.d.ts.map +1 -1
  752. package/esm/types/2_story_interactions.js +3 -2
  753. package/esm/types/2_story_interactive_area.d.ts +9 -9
  754. package/esm/types/2_story_interactive_area.d.ts.map +1 -1
  755. package/esm/types/2_story_interactive_area.js +16 -15
  756. package/esm/types/2_story_privacy.d.ts +46 -0
  757. package/esm/types/2_story_privacy.d.ts.map +1 -0
  758. package/esm/types/2_story_privacy.js +76 -0
  759. package/esm/types/2_successful_payment.d.ts +11 -3
  760. package/esm/types/2_successful_payment.d.ts.map +1 -1
  761. package/esm/types/2_successful_payment.js +3 -3
  762. package/esm/types/2_user.d.ts +73 -0
  763. package/esm/types/2_user.d.ts.map +1 -0
  764. package/esm/types/2_user.js +82 -0
  765. package/esm/types/3_business_connection.d.ts +37 -0
  766. package/esm/types/3_business_connection.d.ts.map +1 -0
  767. package/esm/types/3_business_connection.js +36 -0
  768. package/esm/types/3_chat_settings.d.ts +47 -0
  769. package/esm/types/3_chat_settings.d.ts.map +1 -0
  770. package/esm/types/3_chat_settings.js +51 -0
  771. package/esm/types/3_checklist_item.d.ts +65 -0
  772. package/esm/types/3_checklist_item.d.ts.map +1 -0
  773. package/esm/types/3_checklist_item.js +51 -0
  774. package/esm/types/3_chosen_inline_result.d.ts +38 -0
  775. package/esm/types/3_chosen_inline_result.d.ts.map +1 -0
  776. package/esm/types/3_chosen_inline_result.js +37 -0
  777. package/esm/types/3_forward_header.d.ts +77 -0
  778. package/esm/types/3_forward_header.d.ts.map +1 -0
  779. package/esm/types/3_forward_header.js +73 -0
  780. package/esm/types/3_game.d.ts +40 -0
  781. package/esm/types/3_game.d.ts.map +1 -0
  782. package/esm/types/3_game.js +44 -0
  783. package/esm/types/3_gift_upgraded_component.d.ts +96 -0
  784. package/esm/types/3_gift_upgraded_component.d.ts.map +1 -0
  785. package/esm/types/3_gift_upgraded_component.js +88 -0
  786. package/esm/types/3_inline_query.d.ts +40 -0
  787. package/esm/types/3_inline_query.d.ts.map +1 -0
  788. package/esm/types/3_inline_query.js +60 -0
  789. package/esm/types/3_input_checklist_item.d.ts +31 -0
  790. package/esm/types/3_input_checklist_item.d.ts.map +1 -0
  791. package/esm/types/3_input_checklist_item.js +20 -0
  792. package/esm/types/3_input_media.d.ts +123 -0
  793. package/esm/types/3_input_media.d.ts.map +1 -0
  794. package/esm/types/3_input_media.js +20 -0
  795. package/esm/types/3_input_poll_option.d.ts +31 -0
  796. package/esm/types/3_input_poll_option.d.ts.map +1 -0
  797. package/esm/types/3_input_poll_option.js +20 -0
  798. package/esm/types/3_invite_link.d.ts +47 -0
  799. package/esm/types/3_invite_link.d.ts.map +1 -0
  800. package/esm/types/3_invite_link.js +48 -0
  801. package/esm/types/3_message_reaction_list.d.ts +32 -0
  802. package/esm/types/3_message_reaction_list.d.ts.map +1 -0
  803. package/esm/types/3_message_reaction_list.js +31 -0
  804. package/esm/types/3_message_reactions.d.ts +42 -0
  805. package/esm/types/3_message_reactions.d.ts.map +1 -0
  806. package/esm/types/3_message_reactions.js +54 -0
  807. package/esm/types/3_poll_option.d.ts +34 -0
  808. package/esm/types/3_poll_option.d.ts.map +1 -0
  809. package/esm/types/3_poll_option.js +29 -0
  810. package/esm/types/3_pre_checkout_query.d.ts +42 -0
  811. package/esm/types/3_pre_checkout_query.d.ts.map +1 -0
  812. package/esm/types/3_pre_checkout_query.js +39 -0
  813. package/esm/types/3_reply_quote.d.ts +32 -0
  814. package/esm/types/3_reply_quote.d.ts.map +1 -0
  815. package/esm/types/3_reply_quote.js +30 -0
  816. package/esm/types/3_story.d.ts +13 -14
  817. package/esm/types/3_story.d.ts.map +1 -1
  818. package/esm/types/3_story.js +13 -14
  819. package/esm/types/4_chat_member_updated.d.ts +43 -0
  820. package/esm/types/4_chat_member_updated.d.ts.map +1 -0
  821. package/esm/types/4_chat_member_updated.js +52 -0
  822. package/esm/types/4_checklist.d.ts +38 -0
  823. package/esm/types/4_checklist.d.ts.map +1 -0
  824. package/esm/types/4_checklist.js +31 -0
  825. package/esm/types/4_gift.d.ts +100 -0
  826. package/esm/types/4_gift.d.ts.map +1 -0
  827. package/esm/types/4_gift.js +112 -0
  828. package/esm/types/4_join_request.d.ts +39 -0
  829. package/esm/types/4_join_request.d.ts.map +1 -0
  830. package/esm/types/4_join_request.js +62 -0
  831. package/esm/types/4_poll.d.ts +55 -0
  832. package/esm/types/4_poll.d.ts.map +1 -0
  833. package/esm/types/4_poll.js +43 -0
  834. package/esm/types/4_reply_to.d.ts +51 -0
  835. package/esm/types/4_reply_to.d.ts.map +1 -0
  836. package/esm/types/4_reply_to.js +20 -0
  837. package/esm/types/5_claimed_gift.d.ts +44 -0
  838. package/esm/types/5_claimed_gift.d.ts.map +1 -0
  839. package/esm/types/5_claimed_gift.js +43 -0
  840. package/esm/types/5_gift_non_upgraded_information.d.ts +47 -0
  841. package/esm/types/5_gift_non_upgraded_information.d.ts.map +1 -0
  842. package/esm/types/5_gift_non_upgraded_information.js +69 -0
  843. package/esm/types/5_gift_upgraded_information.d.ts +41 -0
  844. package/esm/types/5_gift_upgraded_information.d.ts.map +1 -0
  845. package/esm/types/5_gift_upgraded_information.js +58 -0
  846. package/esm/types/5_link_preview.d.ts +186 -0
  847. package/esm/types/5_link_preview.d.ts.map +1 -0
  848. package/esm/types/5_link_preview.js +205 -0
  849. package/esm/types/6_claimed_gifts.d.ts +33 -0
  850. package/esm/types/6_claimed_gifts.d.ts.map +1 -0
  851. package/esm/types/6_claimed_gifts.js +43 -0
  852. package/esm/types/6_message.d.ts +704 -0
  853. package/esm/types/6_message.d.ts.map +1 -0
  854. package/esm/types/6_message.js +553 -0
  855. package/esm/types/6_message_content.d.ts +124 -0
  856. package/esm/types/6_message_content.d.ts.map +1 -0
  857. package/esm/types/6_message_content.js +20 -0
  858. package/esm/types/7_callback_query.d.ts +43 -0
  859. package/esm/types/7_callback_query.d.ts.map +1 -0
  860. package/esm/types/7_callback_query.js +59 -0
  861. package/esm/types/7_chat_list_item.d.ts +43 -0
  862. package/esm/types/7_chat_list_item.d.ts.map +1 -0
  863. package/esm/types/7_chat_list_item.js +57 -0
  864. package/esm/types/7_inline_query_result.d.ts +251 -0
  865. package/esm/types/7_inline_query_result.d.ts.map +1 -0
  866. package/esm/types/7_inline_query_result.js +380 -0
  867. package/esm/types/7_message_list.d.ts +28 -0
  868. package/esm/types/7_message_list.d.ts.map +1 -0
  869. package/esm/types/7_message_list.js +20 -0
  870. package/esm/types/7_saved_chat.d.ts +35 -0
  871. package/esm/types/7_saved_chat.d.ts.map +1 -0
  872. package/esm/types/7_saved_chat.js +42 -0
  873. package/esm/types/7_topic.d.ts +44 -0
  874. package/esm/types/7_topic.d.ts.map +1 -0
  875. package/esm/types/7_topic.js +61 -0
  876. package/esm/types/8_inline_query_answer.d.ts +32 -0
  877. package/esm/types/8_inline_query_answer.d.ts.map +1 -0
  878. package/esm/types/8_inline_query_answer.js +28 -0
  879. package/esm/types/8_saved_chats.d.ts +33 -0
  880. package/esm/types/8_saved_chats.d.ts.map +1 -0
  881. package/esm/types/8_saved_chats.js +36 -0
  882. package/esm/types/8_update.d.ts +583 -0
  883. package/esm/types/8_update.d.ts.map +1 -0
  884. package/esm/types/8_update.js +20 -0
  885. package/esm/types/_file_id.d.ts +64 -51
  886. package/esm/types/_file_id.d.ts.map +1 -1
  887. package/esm/types/_file_id.js +96 -77
  888. package/esm/types/_getters.d.ts +4 -11
  889. package/esm/types/_getters.d.ts.map +1 -1
  890. package/esm/types/_getters.js +1 -1
  891. package/esm/utilities/0_color.d.ts +1 -1
  892. package/esm/utilities/0_color.js +1 -1
  893. package/esm/utilities/0_env.d.ts.map +1 -1
  894. package/esm/utilities/0_env.js +20 -1
  895. package/esm/utilities/0_gzip.d.ts +22 -0
  896. package/esm/utilities/0_gzip.d.ts.map +1 -0
  897. package/esm/utilities/0_gzip.js +42 -0
  898. package/esm/utilities/0_hash.d.ts +3 -3
  899. package/esm/utilities/0_hash.d.ts.map +1 -1
  900. package/esm/utilities/0_hash.js +1 -1
  901. package/esm/utilities/0_int.d.ts +71 -0
  902. package/esm/utilities/0_int.d.ts.map +1 -0
  903. package/esm/utilities/0_int.js +140 -0
  904. package/esm/utilities/0_misc.d.ts +29 -0
  905. package/esm/utilities/0_misc.d.ts.map +1 -0
  906. package/esm/utilities/0_misc.js +84 -0
  907. package/esm/utilities/0_mutex.d.ts +1 -1
  908. package/esm/utilities/0_mutex.js +1 -1
  909. package/esm/utilities/0_object.d.ts +1 -1
  910. package/esm/utilities/0_object.js +1 -1
  911. package/esm/utilities/0_part_stream.d.ts +4 -4
  912. package/esm/utilities/0_part_stream.d.ts.map +1 -1
  913. package/esm/utilities/0_part_stream.js +3 -3
  914. package/esm/utilities/0_rle.d.ts +3 -3
  915. package/esm/utilities/0_rle.d.ts.map +1 -1
  916. package/esm/utilities/0_rle.js +2 -2
  917. package/esm/utilities/0_text.d.ts +22 -0
  918. package/esm/utilities/0_text.d.ts.map +1 -0
  919. package/esm/utilities/0_text.js +27 -0
  920. package/esm/utilities/0_types.d.ts +1 -1
  921. package/esm/utilities/0_types.js +1 -1
  922. package/esm/utilities/0_units.d.ts +1 -4
  923. package/esm/utilities/0_units.d.ts.map +1 -1
  924. package/esm/utilities/0_units.js +1 -4
  925. package/esm/utilities/1_auth.d.ts +2 -2
  926. package/esm/utilities/1_auth.d.ts.map +1 -1
  927. package/esm/utilities/1_auth.js +5 -6
  928. package/esm/utilities/1_base64.d.ts +3 -3
  929. package/esm/utilities/1_base64.d.ts.map +1 -1
  930. package/esm/utilities/1_base64.js +3 -3
  931. package/esm/utilities/1_crypto.d.ts +30 -0
  932. package/esm/utilities/1_crypto.d.ts.map +1 -0
  933. package/esm/utilities/1_crypto.js +90 -0
  934. package/esm/utilities/1_logger.d.ts +3 -3
  935. package/esm/utilities/1_logger.d.ts.map +1 -1
  936. package/esm/utilities/1_logger.js +5 -4
  937. package/esm/utilities/1_math.d.ts +1 -1
  938. package/esm/utilities/1_math.js +4 -4
  939. package/esm/utilities/2_queue.d.ts +2 -2
  940. package/esm/utilities/2_queue.d.ts.map +1 -1
  941. package/esm/utilities/2_queue.js +12 -8
  942. package/package.json +2 -4
  943. package/script/0_deps.d.ts +24 -11
  944. package/script/0_deps.d.ts.map +1 -1
  945. package/script/0_deps.js +51 -51
  946. package/script/0_errors.d.ts +9 -2
  947. package/script/0_errors.d.ts.map +1 -1
  948. package/script/0_errors.js +37 -2
  949. package/script/1_utilities.d.ts +6 -6
  950. package/script/1_utilities.d.ts.map +1 -1
  951. package/script/1_utilities.js +6 -6
  952. package/script/2_connection.d.ts +1 -1
  953. package/script/2_connection.js +1 -1
  954. package/script/2_storage.d.ts +1 -1
  955. package/script/2_storage.js +1 -1
  956. package/script/2_tl.d.ts +7 -10
  957. package/script/2_tl.d.ts.map +1 -1
  958. package/script/2_tl.js +25 -19
  959. package/script/3_errors.d.ts +8 -3
  960. package/script/3_errors.d.ts.map +1 -1
  961. package/script/3_errors.js +14 -5
  962. package/script/3_transport.d.ts +4 -4
  963. package/script/3_transport.js +4 -4
  964. package/script/3_types.d.ts +74 -34
  965. package/script/3_types.d.ts.map +1 -1
  966. package/script/3_types.js +74 -34
  967. package/script/4_constants.d.ts +21 -2
  968. package/script/4_constants.d.ts.map +1 -1
  969. package/script/4_constants.js +6 -29
  970. package/script/4_errors.d.ts +4 -4
  971. package/script/4_errors.d.ts.map +1 -1
  972. package/script/4_errors.js +1 -1
  973. package/script/4_session.d.ts +24 -0
  974. package/script/4_session.d.ts.map +1 -0
  975. package/script/4_session.js +39 -0
  976. package/script/5_client.d.ts +9 -3
  977. package/script/5_client.d.ts.map +1 -1
  978. package/script/5_client.js +9 -3
  979. package/script/_dnt.polyfills.d.ts +119 -0
  980. package/script/_dnt.polyfills.d.ts.map +1 -1
  981. package/script/_dnt.polyfills.js +248 -0
  982. package/script/_dnt.shims.d.ts +0 -1
  983. package/script/_dnt.shims.d.ts.map +1 -1
  984. package/script/client/0_abortable_loop.d.ts +27 -0
  985. package/script/client/0_abortable_loop.d.ts.map +1 -0
  986. package/script/client/0_abortable_loop.js +73 -0
  987. package/script/client/0_client_abstract.d.ts +31 -28
  988. package/script/client/0_client_abstract.d.ts.map +1 -1
  989. package/script/client/0_client_abstract.js +23 -115
  990. package/script/client/0_html.d.ts +4 -3
  991. package/script/client/0_html.d.ts.map +1 -1
  992. package/script/client/0_html.js +413 -74
  993. package/script/client/0_markdown.d.ts +2 -2
  994. package/script/client/0_markdown.d.ts.map +1 -1
  995. package/script/client/0_markdown.js +39 -19
  996. package/script/client/0_params.d.ts +327 -44
  997. package/script/client/0_params.d.ts.map +1 -1
  998. package/script/client/0_params.js +1 -1
  999. package/script/client/0_password.d.ts +6 -6
  1000. package/script/client/0_password.d.ts.map +1 -1
  1001. package/script/client/0_password.js +11 -11
  1002. package/script/client/0_storage_operations.d.ts +81 -69
  1003. package/script/client/0_storage_operations.d.ts.map +1 -1
  1004. package/script/client/0_storage_operations.js +354 -233
  1005. package/script/client/0_update_processor.d.ts +26 -0
  1006. package/script/client/0_update_processor.d.ts.map +1 -0
  1007. package/script/client/0_update_processor.js +21 -0
  1008. package/script/client/0_utilities.d.ts +10 -5
  1009. package/script/client/0_utilities.d.ts.map +1 -1
  1010. package/script/client/0_utilities.js +47 -32
  1011. package/script/client/0_worker_error.d.ts +26 -0
  1012. package/script/client/0_worker_error.d.ts.map +1 -0
  1013. package/script/client/0_worker_error.js +90 -0
  1014. package/script/client/0_worker_request.d.ts +27 -0
  1015. package/script/client/0_worker_request.d.ts.map +1 -0
  1016. package/script/client/0_worker_request.js +21 -0
  1017. package/script/client/1_client_generic.d.ts +1846 -0
  1018. package/script/client/1_client_generic.d.ts.map +1 -0
  1019. package/script/client/1_client_generic.js +28 -0
  1020. package/script/client/1_client_plain.d.ts +12 -9
  1021. package/script/client/1_client_plain.d.ts.map +1 -1
  1022. package/script/client/1_client_plain.js +39 -50
  1023. package/script/client/1_invoke_middleware.d.ts +32 -0
  1024. package/script/client/1_invoke_middleware.d.ts.map +1 -0
  1025. package/script/client/1_invoke_middleware.js +25 -0
  1026. package/script/client/1_types.d.ts +17 -32
  1027. package/script/client/1_types.d.ts.map +1 -1
  1028. package/script/client/1_types.js +1 -1
  1029. package/script/client/1_worker_response.d.ts +37 -0
  1030. package/script/client/1_worker_response.d.ts.map +1 -0
  1031. package/script/client/1_worker_response.js +21 -0
  1032. package/script/client/2_account_manager.d.ts +43 -5
  1033. package/script/client/2_account_manager.d.ts.map +1 -1
  1034. package/script/client/2_account_manager.js +336 -7
  1035. package/script/client/2_bot_info_manager.d.ts +12 -5
  1036. package/script/client/2_bot_info_manager.d.ts.map +1 -1
  1037. package/script/client/2_bot_info_manager.js +15 -1
  1038. package/script/client/2_business_connection_manager.d.ts +6 -5
  1039. package/script/client/2_business_connection_manager.d.ts.map +1 -1
  1040. package/script/client/2_business_connection_manager.js +8 -8
  1041. package/script/client/2_client_encrypted.d.ts +58 -0
  1042. package/script/client/2_client_encrypted.d.ts.map +1 -0
  1043. package/script/client/2_client_encrypted.js +294 -0
  1044. package/script/client/2_file_manager.d.ts +27 -7
  1045. package/script/client/2_file_manager.d.ts.map +1 -1
  1046. package/script/client/2_file_manager.js +240 -218
  1047. package/script/client/2_network_statistics_manager.d.ts +5 -5
  1048. package/script/client/2_network_statistics_manager.d.ts.map +1 -1
  1049. package/script/client/2_network_statistics_manager.js +36 -10
  1050. package/script/client/2_payment_manager.d.ts +8 -7
  1051. package/script/client/2_payment_manager.d.ts.map +1 -1
  1052. package/script/client/2_payment_manager.js +6 -6
  1053. package/script/client/2_reaction_manager.d.ts +6 -5
  1054. package/script/client/2_reaction_manager.d.ts.map +1 -1
  1055. package/script/client/2_reaction_manager.js +13 -13
  1056. package/script/client/2_sign_in.d.ts +25 -0
  1057. package/script/client/2_sign_in.d.ts.map +1 -0
  1058. package/script/client/2_sign_in.js +118 -0
  1059. package/script/client/2_translations_manager.d.ts +35 -0
  1060. package/script/client/2_translations_manager.d.ts.map +1 -0
  1061. package/script/client/2_translations_manager.js +175 -0
  1062. package/script/client/2_update_manager.d.ts +11 -8
  1063. package/script/client/2_update_manager.d.ts.map +1 -1
  1064. package/script/client/2_update_manager.js +351 -293
  1065. package/script/client/3_client_encrypted_pool.d.ts +29 -0
  1066. package/script/client/3_client_encrypted_pool.d.ts.map +1 -0
  1067. package/script/client/3_client_encrypted_pool.js +67 -0
  1068. package/script/client/3_filters.d.ts +96 -0
  1069. package/script/client/3_filters.d.ts.map +1 -0
  1070. package/script/client/3_filters.js +55 -0
  1071. package/script/client/3_message_manager.d.ts +30 -35
  1072. package/script/client/3_message_manager.d.ts.map +1 -1
  1073. package/script/client/3_message_manager.js +785 -487
  1074. package/script/client/3_video_chat_manager.d.ts +11 -10
  1075. package/script/client/3_video_chat_manager.d.ts.map +1 -1
  1076. package/script/client/3_video_chat_manager.js +46 -43
  1077. package/script/client/4_callback_query_manager.d.ts +9 -8
  1078. package/script/client/4_callback_query_manager.d.ts.map +1 -1
  1079. package/script/client/4_callback_query_manager.js +13 -12
  1080. package/script/client/4_chat_list_manager.d.ts +20 -11
  1081. package/script/client/4_chat_list_manager.d.ts.map +1 -1
  1082. package/script/client/4_chat_list_manager.js +141 -365
  1083. package/script/client/4_chat_manager.d.ts +86 -0
  1084. package/script/client/4_chat_manager.d.ts.map +1 -0
  1085. package/script/client/4_chat_manager.js +490 -0
  1086. package/script/client/4_checklist_manager.d.ts +38 -0
  1087. package/script/client/4_checklist_manager.d.ts.map +1 -0
  1088. package/script/client/4_checklist_manager.js +85 -0
  1089. package/script/client/4_context.d.ts +691 -0
  1090. package/script/client/4_context.d.ts.map +1 -0
  1091. package/script/client/4_context.js +1425 -0
  1092. package/script/client/4_forum_manager.d.ts +40 -0
  1093. package/script/client/4_forum_manager.d.ts.map +1 -0
  1094. package/script/client/4_forum_manager.js +138 -0
  1095. package/script/client/4_gift_manager.d.ts +39 -0
  1096. package/script/client/4_gift_manager.d.ts.map +1 -0
  1097. package/script/client/4_gift_manager.js +101 -0
  1098. package/script/client/4_inline_query_manager.d.ts +10 -9
  1099. package/script/client/4_inline_query_manager.d.ts.map +1 -1
  1100. package/script/client/4_inline_query_manager.js +13 -13
  1101. package/script/client/4_link_preview_manager.d.ts +39 -0
  1102. package/script/client/4_link_preview_manager.d.ts.map +1 -0
  1103. package/script/client/4_link_preview_manager.js +68 -0
  1104. package/script/client/4_poll_manager.d.ts +39 -0
  1105. package/script/client/4_poll_manager.d.ts.map +1 -0
  1106. package/script/client/4_poll_manager.js +122 -0
  1107. package/script/client/4_story_manager.d.ts +11 -10
  1108. package/script/client/4_story_manager.d.ts.map +1 -1
  1109. package/script/client/4_story_manager.js +20 -20
  1110. package/script/client/5_composer.d.ts +51 -0
  1111. package/script/client/5_composer.d.ts.map +1 -0
  1112. package/script/client/5_composer.js +126 -0
  1113. package/script/client/6_client.d.ts +1952 -0
  1114. package/script/client/6_client.d.ts.map +1 -0
  1115. package/script/client/6_client.js +3444 -0
  1116. package/script/client/6_client_dispatcher.d.ts +1917 -0
  1117. package/script/client/6_client_dispatcher.d.ts.map +1 -0
  1118. package/script/client/6_client_dispatcher.js +2497 -0
  1119. package/script/client/7_client_worker.d.ts +27 -0
  1120. package/script/client/7_client_worker.d.ts.map +1 -0
  1121. package/script/client/7_client_worker.js +93 -0
  1122. package/script/connection/0_connection.d.ts +9 -8
  1123. package/script/connection/0_connection.d.ts.map +1 -1
  1124. package/script/connection/0_connection.js +1 -1
  1125. package/script/connection/1_connection_tcp.d.ts +4 -5
  1126. package/script/connection/1_connection_tcp.d.ts.map +1 -1
  1127. package/script/connection/1_connection_tcp.js +28 -52
  1128. package/script/connection/1_connection_web_socket.d.ts +3 -3
  1129. package/script/connection/1_connection_web_socket.d.ts.map +1 -1
  1130. package/script/connection/1_connection_web_socket.js +10 -13
  1131. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.d.ts +18 -0
  1132. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.d.ts.map +1 -0
  1133. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.js +71 -0
  1134. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.d.ts +3 -0
  1135. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.d.ts.map +1 -0
  1136. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.js +303 -0
  1137. package/script/deps/jsr.io/@std/assert/1.0.19/assert.d.ts +17 -0
  1138. package/script/deps/jsr.io/@std/assert/1.0.19/assert.d.ts.map +1 -0
  1139. package/script/deps/jsr.io/@std/assert/1.0.19/assert.js +26 -0
  1140. package/script/deps/jsr.io/@std/assert/1.0.19/assertion_error.d.ts.map +1 -0
  1141. package/script/deps/jsr.io/@std/assert/1.0.19/assertion_error.js +34 -0
  1142. package/script/deps/jsr.io/@std/assert/1.0.19/equal.d.ts +25 -0
  1143. package/script/deps/jsr.io/@std/assert/1.0.19/equal.d.ts.map +1 -0
  1144. package/script/deps/jsr.io/@std/assert/1.0.19/equal.js +230 -0
  1145. package/script/deps/jsr.io/@std/assert/1.0.19/equals.d.ts +37 -0
  1146. package/script/deps/jsr.io/@std/assert/1.0.19/equals.d.ts.map +1 -0
  1147. package/script/deps/jsr.io/@std/assert/1.0.19/equals.js +64 -0
  1148. package/script/deps/jsr.io/@std/assert/1.0.19/false.d.ts +19 -0
  1149. package/script/deps/jsr.io/@std/assert/1.0.19/false.d.ts.map +1 -0
  1150. package/script/deps/jsr.io/@std/assert/1.0.19/false.js +26 -0
  1151. package/script/deps/jsr.io/@std/assert/1.0.19/unreachable.d.ts.map +1 -0
  1152. package/script/deps/jsr.io/@std/assert/1.0.19/unreachable.js +23 -0
  1153. package/script/deps/jsr.io/@std/async/1.2.0/_util.d.ts +2 -0
  1154. package/script/deps/jsr.io/@std/async/1.2.0/_util.d.ts.map +1 -0
  1155. package/script/deps/jsr.io/@std/async/1.2.0/_util.js +9 -0
  1156. package/script/deps/jsr.io/@std/async/1.2.0/abortable.d.ts +107 -0
  1157. package/script/deps/jsr.io/@std/async/1.2.0/abortable.d.ts.map +1 -0
  1158. package/script/deps/jsr.io/@std/async/1.2.0/abortable.js +49 -0
  1159. package/script/deps/jsr.io/@std/async/1.2.0/deadline.d.ts +37 -0
  1160. package/script/deps/jsr.io/@std/async/1.2.0/deadline.d.ts.map +1 -0
  1161. package/script/deps/jsr.io/@std/async/1.2.0/deadline.js +44 -0
  1162. package/script/deps/jsr.io/@std/async/1.2.0/debounce.d.ts +44 -0
  1163. package/script/deps/jsr.io/@std/async/1.2.0/debounce.d.ts.map +1 -0
  1164. package/script/deps/jsr.io/@std/async/1.2.0/debounce.js +60 -0
  1165. package/script/deps/jsr.io/@std/async/1.2.0/delay.d.ts +45 -0
  1166. package/script/deps/jsr.io/@std/async/1.2.0/delay.d.ts.map +1 -0
  1167. package/script/deps/jsr.io/@std/async/1.2.0/delay.js +87 -0
  1168. package/script/deps/jsr.io/@std/async/1.2.0/mod.d.ts +22 -0
  1169. package/script/deps/jsr.io/@std/async/1.2.0/mod.d.ts.map +1 -0
  1170. package/script/deps/jsr.io/@std/async/1.2.0/mod.js +39 -0
  1171. package/script/deps/jsr.io/@std/async/1.2.0/mux_async_iterator.d.ts +111 -0
  1172. package/script/deps/jsr.io/@std/async/1.2.0/mux_async_iterator.d.ts.map +1 -0
  1173. package/script/deps/jsr.io/@std/async/1.2.0/mux_async_iterator.js +174 -0
  1174. package/script/deps/jsr.io/@std/async/1.2.0/pool.d.ts +33 -0
  1175. package/script/deps/jsr.io/@std/async/1.2.0/pool.d.ts.map +1 -0
  1176. package/script/deps/jsr.io/@std/async/1.2.0/pool.js +102 -0
  1177. package/script/deps/jsr.io/@std/async/1.2.0/retry.d.ts +155 -0
  1178. package/script/deps/jsr.io/@std/async/1.2.0/retry.d.ts.map +1 -0
  1179. package/script/deps/jsr.io/@std/async/1.2.0/retry.js +152 -0
  1180. package/script/deps/jsr.io/@std/async/1.2.0/tee.d.ts +43 -0
  1181. package/script/deps/jsr.io/@std/async/1.2.0/tee.d.ts.map +1 -0
  1182. package/script/deps/jsr.io/@std/async/1.2.0/tee.js +105 -0
  1183. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +9 -0
  1184. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
  1185. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.js +3 -0
  1186. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +21 -0
  1187. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
  1188. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.js +35 -0
  1189. package/script/deps/jsr.io/@std/bytes/1.0.6/equals.d.ts +22 -0
  1190. package/script/deps/jsr.io/@std/bytes/1.0.6/equals.d.ts.map +1 -0
  1191. package/script/deps/jsr.io/@std/bytes/1.0.6/equals.js +85 -0
  1192. package/script/deps/jsr.io/@std/bytes/1.0.6/starts_with.d.ts +24 -0
  1193. package/script/deps/jsr.io/@std/bytes/1.0.6/starts_with.d.ts.map +1 -0
  1194. package/script/deps/jsr.io/@std/bytes/1.0.6/starts_with.js +37 -0
  1195. package/script/deps/jsr.io/@std/cache/0.2.2/_serialize_arg_list.d.ts +12 -0
  1196. package/script/deps/jsr.io/@std/cache/0.2.2/_serialize_arg_list.d.ts.map +1 -0
  1197. package/script/deps/jsr.io/@std/cache/0.2.2/_serialize_arg_list.js +72 -0
  1198. package/script/deps/jsr.io/@std/cache/0.2.2/lru_cache.d.ts +155 -0
  1199. package/script/deps/jsr.io/@std/cache/0.2.2/lru_cache.d.ts.map +1 -0
  1200. package/script/deps/jsr.io/@std/cache/0.2.2/lru_cache.js +209 -0
  1201. package/script/deps/jsr.io/@std/cache/0.2.2/memoize.d.ts +111 -0
  1202. package/script/deps/jsr.io/@std/cache/0.2.2/memoize.d.ts.map +1 -0
  1203. package/script/deps/jsr.io/@std/cache/0.2.2/memoize.js +85 -0
  1204. package/script/deps/jsr.io/@std/datetime/0.225.7/_date_time_formatter.d.ts +19 -0
  1205. package/script/deps/jsr.io/@std/datetime/0.225.7/_date_time_formatter.d.ts.map +1 -0
  1206. package/script/deps/jsr.io/@std/datetime/0.225.7/_date_time_formatter.js +554 -0
  1207. package/script/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts +265 -0
  1208. package/script/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts.map +1 -0
  1209. package/script/deps/jsr.io/@std/datetime/0.225.7/constants.js +269 -0
  1210. package/script/deps/jsr.io/@std/datetime/0.225.7/format.d.ts +70 -0
  1211. package/script/deps/jsr.io/@std/datetime/0.225.7/format.d.ts.map +1 -0
  1212. package/script/deps/jsr.io/@std/datetime/0.225.7/format.js +69 -0
  1213. package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts +23 -0
  1214. package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts.map +1 -0
  1215. package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.js +57 -0
  1216. package/script/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts +35 -0
  1217. package/script/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts.map +1 -0
  1218. package/script/deps/jsr.io/@std/encoding/1.0.10/_common64.js +119 -0
  1219. package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts +4 -0
  1220. package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts.map +1 -0
  1221. package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.js +16 -0
  1222. package/script/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts +9 -0
  1223. package/script/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts.map +1 -0
  1224. package/script/deps/jsr.io/@std/encoding/1.0.10/_types.js +3 -0
  1225. package/script/deps/jsr.io/@std/encoding/1.0.10/base64.d.ts +40 -0
  1226. package/script/deps/jsr.io/@std/encoding/1.0.10/base64.d.ts.map +1 -0
  1227. package/script/deps/jsr.io/@std/encoding/1.0.10/base64.js +86 -0
  1228. package/script/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts +39 -0
  1229. package/script/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts.map +1 -0
  1230. package/script/deps/jsr.io/@std/encoding/1.0.10/hex.js +91 -0
  1231. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +2 -0
  1232. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
  1233. package/script/deps/jsr.io/@std/internal/1.0.12/_os.js +48 -0
  1234. package/script/deps/jsr.io/@std/internal/1.0.12/build_message.d.ts +80 -0
  1235. package/script/deps/jsr.io/@std/internal/1.0.12/build_message.d.ts.map +1 -0
  1236. package/script/deps/jsr.io/@std/internal/1.0.12/build_message.js +121 -0
  1237. package/script/deps/jsr.io/@std/internal/1.0.12/diff.d.ts.map +1 -0
  1238. package/script/deps/jsr.io/@std/internal/1.0.12/diff.js +283 -0
  1239. package/script/deps/jsr.io/@std/internal/1.0.12/diff_str.d.ts.map +1 -0
  1240. package/script/deps/jsr.io/@std/internal/1.0.12/diff_str.js +188 -0
  1241. package/script/deps/jsr.io/@std/internal/1.0.12/format.d.ts +29 -0
  1242. package/script/deps/jsr.io/@std/internal/1.0.12/format.d.ts.map +1 -0
  1243. package/script/deps/jsr.io/@std/internal/1.0.12/format.js +106 -0
  1244. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts +3 -0
  1245. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +1 -0
  1246. package/script/deps/jsr.io/@std/internal/1.0.12/os.js +8 -0
  1247. package/script/deps/jsr.io/@std/internal/1.0.12/styles.d.ts.map +1 -0
  1248. package/script/deps/jsr.io/@std/internal/1.0.12/styles.js +252 -0
  1249. package/script/deps/jsr.io/@std/internal/1.0.12/types.d.ts +25 -0
  1250. package/script/deps/jsr.io/@std/internal/1.0.12/types.d.ts.map +1 -0
  1251. package/script/deps/jsr.io/@std/internal/1.0.12/types.js +4 -0
  1252. package/script/deps/jsr.io/@std/io/0.225.3/_constants.d.ts.map +1 -0
  1253. package/script/deps/jsr.io/@std/io/0.225.3/_constants.js +7 -0
  1254. package/script/deps/jsr.io/@std/io/0.225.3/iterate_reader.d.ts.map +1 -0
  1255. package/script/deps/jsr.io/@std/io/0.225.3/iterate_reader.js +100 -0
  1256. package/script/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +1 -0
  1257. package/script/deps/jsr.io/@std/io/0.225.3/types.js +18 -0
  1258. package/script/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts +8 -0
  1259. package/script/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts.map +1 -0
  1260. package/script/deps/jsr.io/@std/media-types/1.1.0/_util.d.ts.map +1 -0
  1261. package/script/deps/jsr.io/@std/media-types/1.1.0/all_extensions.d.ts.map +1 -0
  1262. package/script/deps/jsr.io/@std/media-types/1.1.0/content_type.d.ts.map +1 -0
  1263. package/script/deps/jsr.io/@std/media-types/1.1.0/extension.d.ts.map +1 -0
  1264. package/script/deps/jsr.io/@std/media-types/1.1.0/format_media_type.d.ts.map +1 -0
  1265. package/script/deps/jsr.io/@std/media-types/1.1.0/get_charset.d.ts.map +1 -0
  1266. package/script/deps/jsr.io/@std/media-types/1.1.0/parse_media_type.d.ts.map +1 -0
  1267. package/script/deps/jsr.io/@std/media-types/1.1.0/type_by_extension.d.ts.map +1 -0
  1268. package/script/deps/jsr.io/@std/media-types/1.1.0/vendor/db.d.ts +9103 -0
  1269. package/script/deps/jsr.io/@std/media-types/1.1.0/vendor/db.d.ts.map +1 -0
  1270. package/script/deps/jsr.io/@std/media-types/1.1.0/vendor/db.js +9140 -0
  1271. package/script/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +1 -0
  1272. package/script/deps/jsr.io/@std/path/1.1.4/_common/assert_path.js +10 -0
  1273. package/script/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts.map +1 -0
  1274. package/script/deps/jsr.io/@std/path/1.1.4/_common/basename.js +45 -0
  1275. package/script/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +1 -0
  1276. package/script/deps/jsr.io/@std/path/1.1.4/_common/constants.js +49 -0
  1277. package/script/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +1 -0
  1278. package/script/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.js +12 -0
  1279. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +1 -0
  1280. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize.js +11 -0
  1281. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +1 -0
  1282. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.js +80 -0
  1283. package/script/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts.map +1 -0
  1284. package/script/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.js +22 -0
  1285. package/script/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts.map +1 -0
  1286. package/script/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.js +18 -0
  1287. package/script/deps/jsr.io/@std/path/1.1.4/basename.d.ts +27 -0
  1288. package/script/deps/jsr.io/@std/path/1.1.4/basename.d.ts.map +1 -0
  1289. package/script/deps/jsr.io/@std/path/1.1.4/basename.js +38 -0
  1290. package/script/deps/jsr.io/@std/path/1.1.4/extname.d.ts +22 -0
  1291. package/script/deps/jsr.io/@std/path/1.1.4/extname.d.ts.map +1 -0
  1292. package/script/deps/jsr.io/@std/path/1.1.4/extname.js +31 -0
  1293. package/script/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts.map +1 -0
  1294. package/script/deps/jsr.io/@std/path/1.1.4/is_absolute.js +31 -0
  1295. package/script/deps/jsr.io/@std/path/1.1.4/join.d.ts +23 -0
  1296. package/script/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +1 -0
  1297. package/script/deps/jsr.io/@std/path/1.1.4/join.js +32 -0
  1298. package/script/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +1 -0
  1299. package/script/deps/jsr.io/@std/path/1.1.4/posix/_util.js +11 -0
  1300. package/script/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts +39 -0
  1301. package/script/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts.map +1 -0
  1302. package/script/deps/jsr.io/@std/path/1.1.4/posix/basename.js +55 -0
  1303. package/script/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts +37 -0
  1304. package/script/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts.map +1 -0
  1305. package/script/deps/jsr.io/@std/path/1.1.4/posix/extname.js +96 -0
  1306. package/script/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +1 -0
  1307. package/script/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.js +24 -0
  1308. package/script/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts.map +1 -0
  1309. package/script/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.js +26 -0
  1310. package/script/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts +31 -0
  1311. package/script/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +1 -0
  1312. package/script/deps/jsr.io/@std/path/1.1.4/posix/join.js +48 -0
  1313. package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts +37 -0
  1314. package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +1 -0
  1315. package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize.js +61 -0
  1316. package/script/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts.map +1 -0
  1317. package/script/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.js +30 -0
  1318. package/script/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts.map +1 -0
  1319. package/script/deps/jsr.io/@std/path/1.1.4/to_file_url.js +31 -0
  1320. package/script/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +1 -0
  1321. package/script/deps/jsr.io/@std/path/1.1.4/windows/_util.js +20 -0
  1322. package/script/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts +22 -0
  1323. package/script/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts.map +1 -0
  1324. package/script/deps/jsr.io/@std/path/1.1.4/windows/basename.js +50 -0
  1325. package/script/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts +17 -0
  1326. package/script/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts.map +1 -0
  1327. package/script/deps/jsr.io/@std/path/1.1.4/windows/extname.js +85 -0
  1328. package/script/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +1 -0
  1329. package/script/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.js +33 -0
  1330. package/script/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts.map +1 -0
  1331. package/script/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.js +41 -0
  1332. package/script/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts +18 -0
  1333. package/script/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +1 -0
  1334. package/script/deps/jsr.io/@std/path/1.1.4/windows/join.js +80 -0
  1335. package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts +19 -0
  1336. package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +1 -0
  1337. package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize.js +138 -0
  1338. package/script/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts.map +1 -0
  1339. package/script/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.js +37 -0
  1340. package/script/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.d.ts +22 -0
  1341. package/script/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.d.ts.map +1 -0
  1342. package/script/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.js +38 -0
  1343. package/script/mod.d.ts +2 -2
  1344. package/script/mod.d.ts.map +1 -1
  1345. package/script/mod.js +19 -10
  1346. package/script/session/0_session_error.d.ts +24 -0
  1347. package/script/session/0_session_error.d.ts.map +1 -0
  1348. package/script/session/0_session_error.js +29 -0
  1349. package/script/session/0_session_state.d.ts +28 -0
  1350. package/script/session/0_session_state.d.ts.map +1 -0
  1351. package/script/session/0_session_state.js +81 -0
  1352. package/script/session/1_session.d.ts +51 -0
  1353. package/script/session/1_session.d.ts.map +1 -0
  1354. package/script/session/1_session.js +151 -0
  1355. package/script/session/2_session_encrypted.d.ts +41 -0
  1356. package/script/session/2_session_encrypted.d.ts.map +1 -0
  1357. package/script/session/2_session_encrypted.js +511 -0
  1358. package/script/session/2_session_plain.d.ts +25 -0
  1359. package/script/session/2_session_plain.d.ts.map +1 -0
  1360. package/script/session/2_session_plain.js +60 -0
  1361. package/script/storage/0_storage.d.ts +3 -2
  1362. package/script/storage/0_storage.d.ts.map +1 -1
  1363. package/script/storage/0_storage.js +1 -1
  1364. package/script/storage/1_utilities.d.ts +15 -11
  1365. package/script/storage/1_utilities.d.ts.map +1 -1
  1366. package/script/storage/1_utilities.js +47 -55
  1367. package/script/storage/2_storage_indexed_db.d.ts +3 -2
  1368. package/script/storage/2_storage_indexed_db.d.ts.map +1 -1
  1369. package/script/storage/2_storage_indexed_db.js +7 -4
  1370. package/script/storage/2_storage_local_storage.d.ts +3 -2
  1371. package/script/storage/2_storage_local_storage.d.ts.map +1 -1
  1372. package/script/storage/2_storage_local_storage.js +7 -4
  1373. package/script/storage/2_storage_memory.d.ts +4 -3
  1374. package/script/storage/2_storage_memory.d.ts.map +1 -1
  1375. package/script/storage/2_storage_memory.js +6 -3
  1376. package/script/storage/2_storage_session_storage.d.ts +4 -3
  1377. package/script/storage/2_storage_session_storage.d.ts.map +1 -1
  1378. package/script/storage/2_storage_session_storage.js +7 -4
  1379. package/script/tl/0_types.d.ts +25 -0
  1380. package/script/tl/0_types.d.ts.map +1 -0
  1381. package/script/tl/0_types.js +21 -0
  1382. package/script/tl/0_utilities.d.ts +34 -0
  1383. package/script/tl/0_utilities.d.ts.map +1 -0
  1384. package/script/tl/0_utilities.js +89 -0
  1385. package/script/tl/1_mtproto_api.d.ts +371 -0
  1386. package/script/tl/1_mtproto_api.d.ts.map +1 -0
  1387. package/script/tl/1_mtproto_api.js +419 -0
  1388. package/script/tl/1_telegram_api.d.ts +19410 -0
  1389. package/script/tl/1_telegram_api.d.ts.map +1 -0
  1390. package/script/tl/1_telegram_api.js +22389 -0
  1391. package/script/tl/1_tl_reader.d.ts +39 -0
  1392. package/script/tl/1_tl_reader.d.ts.map +1 -0
  1393. package/script/tl/1_tl_reader.js +232 -0
  1394. package/script/tl/1_tl_writer.d.ts +37 -0
  1395. package/script/tl/1_tl_writer.d.ts.map +1 -0
  1396. package/script/tl/1_tl_writer.js +282 -0
  1397. package/script/tl/1_utilities.d.ts +9 -14
  1398. package/script/tl/1_utilities.d.ts.map +1 -1
  1399. package/script/tl/1_utilities.js +23 -44
  1400. package/script/tl/2_message.d.ts +36 -0
  1401. package/script/tl/2_message.d.ts.map +1 -0
  1402. package/script/tl/2_message.js +80 -0
  1403. package/script/tl/2_mtproto.d.ts +33 -0
  1404. package/script/tl/2_mtproto.d.ts.map +1 -0
  1405. package/script/tl/2_mtproto.js +78 -0
  1406. package/script/tl/2_telegram.d.ts +49 -0
  1407. package/script/tl/2_telegram.d.ts.map +1 -0
  1408. package/script/tl/2_telegram.js +189 -0
  1409. package/script/transport/0_obfuscation.d.ts +2 -2
  1410. package/script/transport/0_obfuscation.d.ts.map +1 -1
  1411. package/script/transport/0_obfuscation.js +9 -8
  1412. package/script/transport/0_transport.d.ts +4 -6
  1413. package/script/transport/0_transport.d.ts.map +1 -1
  1414. package/script/transport/0_transport.js +10 -11
  1415. package/script/transport/1_transport_abridged.d.ts +2 -4
  1416. package/script/transport/1_transport_abridged.d.ts.map +1 -1
  1417. package/script/transport/1_transport_abridged.js +16 -33
  1418. package/script/transport/1_transport_intermediate.d.ts +2 -4
  1419. package/script/transport/1_transport_intermediate.d.ts.map +1 -1
  1420. package/script/transport/1_transport_intermediate.js +11 -30
  1421. package/script/transport/1_transport_provider.d.ts +35 -0
  1422. package/script/transport/1_transport_provider.d.ts.map +1 -0
  1423. package/script/transport/1_transport_provider.js +86 -0
  1424. package/script/transport/2_transport_provider_tcp.d.ts +25 -0
  1425. package/script/transport/2_transport_provider_tcp.d.ts.map +1 -0
  1426. package/script/transport/2_transport_provider_tcp.js +32 -0
  1427. package/script/transport/2_transport_provider_web_socket.d.ts +24 -0
  1428. package/script/transport/2_transport_provider_web_socket.d.ts.map +1 -0
  1429. package/script/transport/2_transport_provider_web_socket.js +47 -0
  1430. package/script/types/0_authorization_state.d.ts +2 -2
  1431. package/script/types/0_authorization_state.d.ts.map +1 -1
  1432. package/script/types/0_authorization_state.js +1 -1
  1433. package/script/types/0_birthday.d.ts +3 -2
  1434. package/script/types/0_birthday.d.ts.map +1 -1
  1435. package/script/types/0_birthday.js +11 -1
  1436. package/script/types/0_bot_command.d.ts +1 -1
  1437. package/script/types/0_bot_command.js +1 -1
  1438. package/script/types/0_bot_token_check_result.d.ts +31 -0
  1439. package/script/types/0_bot_token_check_result.d.ts.map +1 -0
  1440. package/script/types/0_bot_token_check_result.js +21 -0
  1441. package/script/types/0_button_style.d.ts +28 -0
  1442. package/script/types/0_button_style.d.ts.map +1 -0
  1443. package/script/types/0_button_style.js +40 -0
  1444. package/script/types/0_callback_query_answer.d.ts +3 -3
  1445. package/script/types/0_callback_query_answer.d.ts.map +1 -1
  1446. package/script/types/0_callback_query_answer.js +2 -2
  1447. package/script/types/0_callback_query_question.d.ts +1 -1
  1448. package/script/types/0_callback_query_question.js +3 -3
  1449. package/script/types/0_chat_action.d.ts +1 -1
  1450. package/script/types/0_chat_action.js +1 -1
  1451. package/script/types/0_chat_administrator_rights.d.ts +17 -7
  1452. package/script/types/0_chat_administrator_rights.d.ts.map +1 -1
  1453. package/script/types/0_chat_administrator_rights.js +31 -16
  1454. package/script/types/0_chat_folder.d.ts +29 -0
  1455. package/script/types/0_chat_folder.d.ts.map +1 -0
  1456. package/script/types/0_chat_folder.js +28 -0
  1457. package/script/types/0_chat_member_rights.d.ts +3 -3
  1458. package/script/types/0_chat_member_rights.d.ts.map +1 -1
  1459. package/script/types/0_chat_member_rights.js +22 -22
  1460. package/script/types/0_chat_photo.d.ts +2 -2
  1461. package/script/types/0_chat_photo.d.ts.map +1 -1
  1462. package/script/types/0_chat_photo.js +4 -4
  1463. package/script/types/0_checklist_changed.d.ts +29 -0
  1464. package/script/types/0_checklist_changed.d.ts.map +1 -0
  1465. package/script/types/0_checklist_changed.js +28 -0
  1466. package/script/types/0_code_check_result.d.ts +47 -0
  1467. package/script/types/0_code_check_result.d.ts.map +1 -0
  1468. package/script/types/0_code_check_result.js +21 -0
  1469. package/script/types/0_connection_state.d.ts +1 -1
  1470. package/script/types/0_connection_state.js +1 -1
  1471. package/script/types/0_contact.d.ts +2 -2
  1472. package/script/types/0_contact.d.ts.map +1 -1
  1473. package/script/types/0_contact.js +4 -3
  1474. package/script/types/0_dice.d.ts +2 -2
  1475. package/script/types/0_dice.d.ts.map +1 -1
  1476. package/script/types/0_dice.js +1 -1
  1477. package/script/types/0_emoji_status.d.ts +48 -0
  1478. package/script/types/0_emoji_status.d.ts.map +1 -0
  1479. package/script/types/0_emoji_status.js +36 -0
  1480. package/script/types/0_failed_invitation.d.ts +8 -4
  1481. package/script/types/0_failed_invitation.d.ts.map +1 -1
  1482. package/script/types/0_failed_invitation.js +3 -3
  1483. package/script/types/0_file_source.d.ts +2 -2
  1484. package/script/types/0_file_source.d.ts.map +1 -1
  1485. package/script/types/0_file_source.js +1 -1
  1486. package/script/types/0_gift_component_rarity.d.ts +50 -0
  1487. package/script/types/0_gift_component_rarity.d.ts.map +1 -0
  1488. package/script/types/0_gift_component_rarity.js +46 -0
  1489. package/script/types/0_gift_value.d.ts +25 -0
  1490. package/script/types/0_gift_value.d.ts.map +1 -0
  1491. package/script/types/0_gift_value.js +21 -0
  1492. package/script/types/0_giveaway_parameters.d.ts +2 -2
  1493. package/script/types/0_giveaway_parameters.d.ts.map +1 -1
  1494. package/script/types/0_giveaway_parameters.js +4 -5
  1495. package/script/types/0_id.d.ts +1 -1
  1496. package/script/types/0_id.js +1 -1
  1497. package/script/types/0_input_emoji_status.d.ts +36 -0
  1498. package/script/types/0_input_emoji_status.d.ts.map +1 -0
  1499. package/script/types/0_input_emoji_status.js +21 -0
  1500. package/script/types/0_invoice.d.ts +3 -2
  1501. package/script/types/0_invoice.d.ts.map +1 -1
  1502. package/script/types/0_invoice.js +1 -1
  1503. package/script/types/0_keyboard_button_poll_type.d.ts +1 -1
  1504. package/script/types/0_keyboard_button_poll_type.js +1 -1
  1505. package/script/types/0_link_preview_media_size.d.ts +22 -0
  1506. package/script/types/0_link_preview_media_size.d.ts.map +1 -0
  1507. package/script/types/0_link_preview_media_size.js +21 -0
  1508. package/script/types/0_live_stream_channel.d.ts +2 -2
  1509. package/script/types/0_live_stream_channel.d.ts.map +1 -1
  1510. package/script/types/0_live_stream_channel.js +1 -1
  1511. package/script/types/0_location.d.ts +1 -1
  1512. package/script/types/0_location.d.ts.map +1 -1
  1513. package/script/types/0_location.js +12 -11
  1514. package/script/types/0_login_url.d.ts +1 -1
  1515. package/script/types/0_login_url.js +1 -1
  1516. package/script/types/0_mask_position.d.ts +2 -2
  1517. package/script/types/0_mask_position.d.ts.map +1 -1
  1518. package/script/types/0_mask_position.js +2 -2
  1519. package/script/types/0_message_reference.d.ts +1 -1
  1520. package/script/types/0_message_reference.js +1 -1
  1521. package/script/types/0_message_search_filter.d.ts +3 -2
  1522. package/script/types/0_message_search_filter.d.ts.map +1 -1
  1523. package/script/types/0_message_search_filter.js +1 -1
  1524. package/script/types/0_mini_app_button_info.d.ts +26 -0
  1525. package/script/types/0_mini_app_button_info.d.ts.map +1 -0
  1526. package/script/types/0_mini_app_button_info.js +25 -0
  1527. package/script/types/0_mini_app_mode.d.ts +22 -0
  1528. package/script/types/0_mini_app_mode.d.ts.map +1 -0
  1529. package/script/types/0_mini_app_mode.js +21 -0
  1530. package/script/types/0_network_statistics_entry.d.ts +1 -1
  1531. package/script/types/0_network_statistics_entry.js +1 -1
  1532. package/script/types/0_parse_mode.d.ts +1 -1
  1533. package/script/types/0_parse_mode.js +1 -1
  1534. package/script/types/0_password_check_result.d.ts +39 -0
  1535. package/script/types/0_password_check_result.d.ts.map +1 -0
  1536. package/script/types/0_password_check_result.js +21 -0
  1537. package/script/types/0_price_tag.d.ts +1 -1
  1538. package/script/types/0_price_tag.js +1 -1
  1539. package/script/types/0_reaction.d.ts +4 -1
  1540. package/script/types/0_reaction.d.ts.map +1 -1
  1541. package/script/types/0_reaction.js +9 -9
  1542. package/script/types/0_refunded_payment.d.ts +2 -2
  1543. package/script/types/0_refunded_payment.d.ts.map +1 -1
  1544. package/script/types/0_refunded_payment.js +2 -2
  1545. package/script/types/0_restriction_reason.d.ts +2 -2
  1546. package/script/types/0_restriction_reason.d.ts.map +1 -1
  1547. package/script/types/0_restriction_reason.js +1 -1
  1548. package/script/types/0_self_destruct_option.d.ts +11 -3
  1549. package/script/types/0_self_destruct_option.d.ts.map +1 -1
  1550. package/script/types/0_self_destruct_option.js +13 -3
  1551. package/script/types/0_shipping_address.d.ts +2 -2
  1552. package/script/types/0_shipping_address.d.ts.map +1 -1
  1553. package/script/types/0_shipping_address.js +1 -1
  1554. package/script/types/0_slow_mode_duration.d.ts +23 -0
  1555. package/script/types/0_slow_mode_duration.d.ts.map +1 -0
  1556. package/script/types/0_slow_mode_duration.js +31 -0
  1557. package/script/types/0_story_reference.d.ts +1 -1
  1558. package/script/types/0_story_reference.js +1 -1
  1559. package/script/types/0_switch_inline_query_chosen_chats.d.ts +20 -0
  1560. package/script/types/0_switch_inline_query_chosen_chats.d.ts.map +1 -1
  1561. package/script/types/0_switch_inline_query_chosen_chats.js +19 -0
  1562. package/script/types/0_thumbnail.d.ts +1 -1
  1563. package/script/types/0_thumbnail.d.ts.map +1 -1
  1564. package/script/types/0_thumbnail.js +3 -3
  1565. package/script/types/0_translation.d.ts +32 -0
  1566. package/script/types/0_translation.d.ts.map +1 -0
  1567. package/script/types/0_translation.js +48 -0
  1568. package/script/types/0_upload_progress.d.ts +29 -0
  1569. package/script/types/0_upload_progress.d.ts.map +1 -0
  1570. package/script/types/0_upload_progress.js +21 -0
  1571. package/script/types/0_user_status.d.ts +66 -0
  1572. package/script/types/0_user_status.d.ts.map +1 -0
  1573. package/script/types/0_user_status.js +38 -0
  1574. package/script/types/0_video_chat.d.ts +8 -4
  1575. package/script/types/0_video_chat.d.ts.map +1 -1
  1576. package/script/types/0_video_chat.js +6 -7
  1577. package/script/types/0_voice.d.ts +2 -2
  1578. package/script/types/0_voice.d.ts.map +1 -1
  1579. package/script/types/0_voice.js +1 -1
  1580. package/script/types/0_voice_transcription.d.ts +31 -0
  1581. package/script/types/0_voice_transcription.d.ts.map +1 -0
  1582. package/script/types/0_voice_transcription.js +29 -0
  1583. package/script/types/0_working_hours_interval.d.ts +27 -0
  1584. package/script/types/0_working_hours_interval.d.ts.map +1 -0
  1585. package/script/types/0_working_hours_interval.js +21 -0
  1586. package/script/types/1_animation.d.ts +2 -2
  1587. package/script/types/1_animation.d.ts.map +1 -1
  1588. package/script/types/1_animation.js +5 -4
  1589. package/script/types/1_audio.d.ts +2 -2
  1590. package/script/types/1_audio.d.ts.map +1 -1
  1591. package/script/types/1_audio.js +5 -4
  1592. package/script/types/1_bot_command_scope.d.ts +3 -3
  1593. package/script/types/1_bot_command_scope.d.ts.map +1 -1
  1594. package/script/types/1_bot_command_scope.js +3 -3
  1595. package/script/types/1_bot_commands.d.ts +30 -0
  1596. package/script/types/1_bot_commands.d.ts.map +1 -0
  1597. package/script/types/1_bot_commands.js +21 -0
  1598. package/script/types/1_chat_p.d.ts +36 -7
  1599. package/script/types/1_chat_p.d.ts.map +1 -1
  1600. package/script/types/1_chat_p.js +43 -16
  1601. package/script/types/1_document.d.ts +2 -2
  1602. package/script/types/1_document.d.ts.map +1 -1
  1603. package/script/types/1_document.js +2 -2
  1604. package/script/types/1_giveaway.d.ts +3 -3
  1605. package/script/types/1_giveaway.d.ts.map +1 -1
  1606. package/script/types/1_giveaway.js +1 -1
  1607. package/script/types/1_inline_keyboard_button.d.ts +140 -0
  1608. package/script/types/1_inline_keyboard_button.d.ts.map +1 -0
  1609. package/script/types/1_inline_keyboard_button.js +132 -0
  1610. package/script/types/1_inline_query_result_button.d.ts +3 -3
  1611. package/script/types/1_inline_query_result_button.d.ts.map +1 -1
  1612. package/script/types/1_inline_query_result_button.js +1 -1
  1613. package/script/types/1_input_gift.d.ts +54 -0
  1614. package/script/types/1_input_gift.d.ts.map +1 -0
  1615. package/script/types/1_input_gift.js +35 -0
  1616. package/script/types/1_input_story_content.d.ts +3 -3
  1617. package/script/types/1_input_story_content.d.ts.map +1 -1
  1618. package/script/types/1_input_story_content.js +1 -1
  1619. package/script/types/1_keyboard_button.d.ts +14 -12
  1620. package/script/types/1_keyboard_button.d.ts.map +1 -1
  1621. package/script/types/1_keyboard_button.js +86 -33
  1622. package/script/types/1_message_reaction.d.ts +3 -3
  1623. package/script/types/1_message_reaction.d.ts.map +1 -1
  1624. package/script/types/1_message_reaction.js +7 -7
  1625. package/script/types/1_mini_app_info.d.ts +32 -0
  1626. package/script/types/1_mini_app_info.d.ts.map +1 -0
  1627. package/script/types/1_mini_app_info.js +30 -0
  1628. package/script/types/1_network_statistics.d.ts +2 -2
  1629. package/script/types/1_network_statistics.d.ts.map +1 -1
  1630. package/script/types/1_network_statistics.js +1 -1
  1631. package/script/types/1_order_info.d.ts +8 -3
  1632. package/script/types/1_order_info.d.ts.map +1 -1
  1633. package/script/types/1_order_info.js +1 -1
  1634. package/script/types/1_photo.d.ts +2 -2
  1635. package/script/types/1_photo.d.ts.map +1 -1
  1636. package/script/types/1_photo.js +3 -3
  1637. package/script/types/1_reaction_count.d.ts +3 -3
  1638. package/script/types/1_reaction_count.d.ts.map +1 -1
  1639. package/script/types/1_reaction_count.js +1 -1
  1640. package/script/types/1_sticker.d.ts +6 -5
  1641. package/script/types/1_sticker.d.ts.map +1 -1
  1642. package/script/types/1_sticker.js +15 -10
  1643. package/script/types/1_story_reaction.d.ts +4 -4
  1644. package/script/types/1_story_reaction.d.ts.map +1 -1
  1645. package/script/types/1_story_reaction.js +2 -2
  1646. package/script/types/1_venue.d.ts +2 -2
  1647. package/script/types/1_venue.d.ts.map +1 -1
  1648. package/script/types/1_venue.js +4 -7
  1649. package/script/types/1_video.d.ts +2 -2
  1650. package/script/types/1_video.d.ts.map +1 -1
  1651. package/script/types/1_video.js +2 -2
  1652. package/script/types/1_video_note.d.ts +2 -2
  1653. package/script/types/1_video_note.d.ts.map +1 -1
  1654. package/script/types/1_video_note.js +2 -2
  1655. package/script/types/1_working_hours.d.ts +31 -0
  1656. package/script/types/1_working_hours.d.ts.map +1 -0
  1657. package/script/types/1_working_hours.js +37 -0
  1658. package/script/types/2_chat.d.ts +14 -17
  1659. package/script/types/2_chat.d.ts.map +1 -1
  1660. package/script/types/2_chat.js +22 -27
  1661. package/script/types/2_chat_member.d.ts +72 -15
  1662. package/script/types/2_chat_member.d.ts.map +1 -1
  1663. package/script/types/2_chat_member.js +38 -26
  1664. package/script/types/2_inactive_chat.d.ts +3 -3
  1665. package/script/types/2_inactive_chat.d.ts.map +1 -1
  1666. package/script/types/2_inactive_chat.js +3 -4
  1667. package/script/types/2_message_entity.d.ts +148 -0
  1668. package/script/types/2_message_entity.d.ts.map +1 -0
  1669. package/script/types/2_message_entity.js +248 -0
  1670. package/script/types/2_message_interactions.d.ts +2 -2
  1671. package/script/types/2_message_interactions.d.ts.map +1 -1
  1672. package/script/types/2_message_interactions.js +1 -1
  1673. package/script/types/2_message_reaction_count.d.ts +6 -7
  1674. package/script/types/2_message_reaction_count.d.ts.map +1 -1
  1675. package/script/types/2_message_reaction_count.js +6 -9
  1676. package/script/types/2_message_reaction_list_item.d.ts +39 -0
  1677. package/script/types/2_message_reaction_list_item.d.ts.map +1 -0
  1678. package/script/types/2_message_reaction_list_item.js +53 -0
  1679. package/script/types/2_poll_answer.d.ts +32 -0
  1680. package/script/types/2_poll_answer.d.ts.map +1 -0
  1681. package/script/types/2_poll_answer.js +38 -0
  1682. package/script/types/2_reply_markup.d.ts +71 -0
  1683. package/script/types/2_reply_markup.d.ts.map +1 -0
  1684. package/script/types/2_reply_markup.js +131 -0
  1685. package/script/types/2_sticker_set.d.ts +51 -0
  1686. package/script/types/2_sticker_set.d.ts.map +1 -0
  1687. package/script/types/2_sticker_set.js +94 -0
  1688. package/script/types/2_story_content.d.ts +3 -3
  1689. package/script/types/2_story_content.d.ts.map +1 -1
  1690. package/script/types/2_story_content.js +6 -6
  1691. package/script/types/2_story_interactions.d.ts +3 -3
  1692. package/script/types/2_story_interactions.d.ts.map +1 -1
  1693. package/script/types/2_story_interactions.js +3 -2
  1694. package/script/types/2_story_interactive_area.d.ts +9 -9
  1695. package/script/types/2_story_interactive_area.d.ts.map +1 -1
  1696. package/script/types/2_story_interactive_area.js +15 -14
  1697. package/script/types/2_story_privacy.d.ts +46 -0
  1698. package/script/types/2_story_privacy.d.ts.map +1 -0
  1699. package/script/types/2_story_privacy.js +80 -0
  1700. package/script/types/2_successful_payment.d.ts +11 -3
  1701. package/script/types/2_successful_payment.d.ts.map +1 -1
  1702. package/script/types/2_successful_payment.js +2 -2
  1703. package/script/types/2_user.d.ts +73 -0
  1704. package/script/types/2_user.d.ts.map +1 -0
  1705. package/script/types/2_user.js +86 -0
  1706. package/script/types/3_business_connection.d.ts +37 -0
  1707. package/script/types/3_business_connection.d.ts.map +1 -0
  1708. package/script/types/3_business_connection.js +39 -0
  1709. package/script/types/3_chat_settings.d.ts +47 -0
  1710. package/script/types/3_chat_settings.d.ts.map +1 -0
  1711. package/script/types/3_chat_settings.js +54 -0
  1712. package/script/types/3_checklist_item.d.ts +65 -0
  1713. package/script/types/3_checklist_item.d.ts.map +1 -0
  1714. package/script/types/3_checklist_item.js +54 -0
  1715. package/script/types/3_chosen_inline_result.d.ts +38 -0
  1716. package/script/types/3_chosen_inline_result.d.ts.map +1 -0
  1717. package/script/types/3_chosen_inline_result.js +40 -0
  1718. package/script/types/3_forward_header.d.ts +77 -0
  1719. package/script/types/3_forward_header.d.ts.map +1 -0
  1720. package/script/types/3_forward_header.js +76 -0
  1721. package/script/types/3_game.d.ts +40 -0
  1722. package/script/types/3_game.d.ts.map +1 -0
  1723. package/script/types/3_game.js +47 -0
  1724. package/script/types/3_gift_upgraded_component.d.ts +96 -0
  1725. package/script/types/3_gift_upgraded_component.d.ts.map +1 -0
  1726. package/script/types/3_gift_upgraded_component.js +91 -0
  1727. package/script/types/3_inline_query.d.ts +40 -0
  1728. package/script/types/3_inline_query.d.ts.map +1 -0
  1729. package/script/types/3_inline_query.js +63 -0
  1730. package/script/types/3_input_checklist_item.d.ts +31 -0
  1731. package/script/types/3_input_checklist_item.d.ts.map +1 -0
  1732. package/script/types/3_input_checklist_item.js +21 -0
  1733. package/script/types/3_input_media.d.ts +123 -0
  1734. package/script/types/3_input_media.d.ts.map +1 -0
  1735. package/script/types/3_input_media.js +21 -0
  1736. package/script/types/3_input_poll_option.d.ts +31 -0
  1737. package/script/types/3_input_poll_option.d.ts.map +1 -0
  1738. package/script/types/3_input_poll_option.js +21 -0
  1739. package/script/types/3_invite_link.d.ts +47 -0
  1740. package/script/types/3_invite_link.d.ts.map +1 -0
  1741. package/script/types/3_invite_link.js +51 -0
  1742. package/script/types/3_message_reaction_list.d.ts +32 -0
  1743. package/script/types/3_message_reaction_list.d.ts.map +1 -0
  1744. package/script/types/3_message_reaction_list.js +34 -0
  1745. package/script/types/3_message_reactions.d.ts +42 -0
  1746. package/script/types/3_message_reactions.d.ts.map +1 -0
  1747. package/script/types/3_message_reactions.js +57 -0
  1748. package/script/types/3_poll_option.d.ts +34 -0
  1749. package/script/types/3_poll_option.d.ts.map +1 -0
  1750. package/script/types/3_poll_option.js +32 -0
  1751. package/script/types/3_pre_checkout_query.d.ts +42 -0
  1752. package/script/types/3_pre_checkout_query.d.ts.map +1 -0
  1753. package/script/types/3_pre_checkout_query.js +42 -0
  1754. package/script/types/3_reply_quote.d.ts +32 -0
  1755. package/script/types/3_reply_quote.d.ts.map +1 -0
  1756. package/script/types/3_reply_quote.js +33 -0
  1757. package/script/types/3_story.d.ts +13 -14
  1758. package/script/types/3_story.d.ts.map +1 -1
  1759. package/script/types/3_story.js +14 -15
  1760. package/script/types/4_chat_member_updated.d.ts +43 -0
  1761. package/script/types/4_chat_member_updated.d.ts.map +1 -0
  1762. package/script/types/4_chat_member_updated.js +55 -0
  1763. package/script/types/4_checklist.d.ts +38 -0
  1764. package/script/types/4_checklist.d.ts.map +1 -0
  1765. package/script/types/4_checklist.js +34 -0
  1766. package/script/types/4_gift.d.ts +100 -0
  1767. package/script/types/4_gift.d.ts.map +1 -0
  1768. package/script/types/4_gift.js +117 -0
  1769. package/script/types/4_join_request.d.ts +39 -0
  1770. package/script/types/4_join_request.d.ts.map +1 -0
  1771. package/script/types/4_join_request.js +66 -0
  1772. package/script/types/4_poll.d.ts +55 -0
  1773. package/script/types/4_poll.d.ts.map +1 -0
  1774. package/script/types/4_poll.js +46 -0
  1775. package/script/types/4_reply_to.d.ts +51 -0
  1776. package/script/types/4_reply_to.d.ts.map +1 -0
  1777. package/script/types/4_reply_to.js +21 -0
  1778. package/script/types/5_claimed_gift.d.ts +44 -0
  1779. package/script/types/5_claimed_gift.d.ts.map +1 -0
  1780. package/script/types/5_claimed_gift.js +46 -0
  1781. package/script/types/5_gift_non_upgraded_information.d.ts +47 -0
  1782. package/script/types/5_gift_non_upgraded_information.d.ts.map +1 -0
  1783. package/script/types/5_gift_non_upgraded_information.js +72 -0
  1784. package/script/types/5_gift_upgraded_information.d.ts +41 -0
  1785. package/script/types/5_gift_upgraded_information.d.ts.map +1 -0
  1786. package/script/types/5_gift_upgraded_information.js +61 -0
  1787. package/script/types/5_link_preview.d.ts +186 -0
  1788. package/script/types/5_link_preview.d.ts.map +1 -0
  1789. package/script/types/5_link_preview.js +208 -0
  1790. package/script/types/6_claimed_gifts.d.ts +33 -0
  1791. package/script/types/6_claimed_gifts.d.ts.map +1 -0
  1792. package/script/types/6_claimed_gifts.js +46 -0
  1793. package/script/types/6_message.d.ts +704 -0
  1794. package/script/types/6_message.d.ts.map +1 -0
  1795. package/script/types/6_message.js +558 -0
  1796. package/script/types/6_message_content.d.ts +124 -0
  1797. package/script/types/6_message_content.d.ts.map +1 -0
  1798. package/script/types/6_message_content.js +21 -0
  1799. package/script/types/7_callback_query.d.ts +43 -0
  1800. package/script/types/7_callback_query.d.ts.map +1 -0
  1801. package/script/types/7_callback_query.js +63 -0
  1802. package/script/types/7_chat_list_item.d.ts +43 -0
  1803. package/script/types/7_chat_list_item.d.ts.map +1 -0
  1804. package/script/types/7_chat_list_item.js +60 -0
  1805. package/script/types/7_inline_query_result.d.ts +251 -0
  1806. package/script/types/7_inline_query_result.d.ts.map +1 -0
  1807. package/script/types/7_inline_query_result.js +384 -0
  1808. package/script/types/7_message_list.d.ts +28 -0
  1809. package/script/types/7_message_list.d.ts.map +1 -0
  1810. package/script/types/7_message_list.js +21 -0
  1811. package/script/types/7_saved_chat.d.ts +35 -0
  1812. package/script/types/7_saved_chat.d.ts.map +1 -0
  1813. package/script/types/7_saved_chat.js +45 -0
  1814. package/script/types/7_topic.d.ts +44 -0
  1815. package/script/types/7_topic.d.ts.map +1 -0
  1816. package/script/types/7_topic.js +64 -0
  1817. package/script/types/8_inline_query_answer.d.ts +32 -0
  1818. package/script/types/8_inline_query_answer.d.ts.map +1 -0
  1819. package/script/types/8_inline_query_answer.js +31 -0
  1820. package/script/types/8_saved_chats.d.ts +33 -0
  1821. package/script/types/8_saved_chats.d.ts.map +1 -0
  1822. package/script/types/8_saved_chats.js +39 -0
  1823. package/script/types/8_update.d.ts +583 -0
  1824. package/script/types/8_update.d.ts.map +1 -0
  1825. package/script/types/8_update.js +21 -0
  1826. package/script/types/_file_id.d.ts +64 -51
  1827. package/script/types/_file_id.d.ts.map +1 -1
  1828. package/script/types/_file_id.js +158 -139
  1829. package/script/types/_getters.d.ts +4 -11
  1830. package/script/types/_getters.d.ts.map +1 -1
  1831. package/script/types/_getters.js +1 -1
  1832. package/script/utilities/0_color.d.ts +1 -1
  1833. package/script/utilities/0_color.js +1 -1
  1834. package/script/utilities/0_env.d.ts.map +1 -1
  1835. package/script/utilities/0_env.js +37 -8
  1836. package/script/utilities/0_gzip.d.ts +22 -0
  1837. package/script/utilities/0_gzip.d.ts.map +1 -0
  1838. package/script/utilities/0_gzip.js +46 -0
  1839. package/script/utilities/0_hash.d.ts +3 -3
  1840. package/script/utilities/0_hash.d.ts.map +1 -1
  1841. package/script/utilities/0_hash.js +1 -1
  1842. package/script/utilities/0_int.d.ts +71 -0
  1843. package/script/utilities/0_int.d.ts.map +1 -0
  1844. package/script/utilities/0_int.js +149 -0
  1845. package/script/utilities/0_misc.d.ts +29 -0
  1846. package/script/utilities/0_misc.d.ts.map +1 -0
  1847. package/script/utilities/0_misc.js +95 -0
  1848. package/script/utilities/0_mutex.d.ts +1 -1
  1849. package/script/utilities/0_mutex.js +1 -1
  1850. package/script/utilities/0_object.d.ts +1 -1
  1851. package/script/utilities/0_object.js +1 -1
  1852. package/script/utilities/0_part_stream.d.ts +4 -4
  1853. package/script/utilities/0_part_stream.d.ts.map +1 -1
  1854. package/script/utilities/0_part_stream.js +3 -3
  1855. package/script/utilities/0_rle.d.ts +3 -3
  1856. package/script/utilities/0_rle.d.ts.map +1 -1
  1857. package/script/utilities/0_rle.js +2 -2
  1858. package/script/utilities/0_text.d.ts +22 -0
  1859. package/script/utilities/0_text.d.ts.map +1 -0
  1860. package/script/utilities/0_text.js +31 -0
  1861. package/script/utilities/0_types.d.ts +1 -1
  1862. package/script/utilities/0_types.js +1 -1
  1863. package/script/utilities/0_units.d.ts +1 -4
  1864. package/script/utilities/0_units.d.ts.map +1 -1
  1865. package/script/utilities/0_units.js +2 -5
  1866. package/script/utilities/1_auth.d.ts +2 -2
  1867. package/script/utilities/1_auth.d.ts.map +1 -1
  1868. package/script/utilities/1_auth.js +6 -7
  1869. package/script/utilities/1_base64.d.ts +3 -3
  1870. package/script/utilities/1_base64.d.ts.map +1 -1
  1871. package/script/utilities/1_base64.js +4 -4
  1872. package/script/utilities/1_crypto.d.ts +30 -0
  1873. package/script/utilities/1_crypto.d.ts.map +1 -0
  1874. package/script/utilities/1_crypto.js +94 -0
  1875. package/script/utilities/1_logger.d.ts +3 -3
  1876. package/script/utilities/1_logger.d.ts.map +1 -1
  1877. package/script/utilities/1_logger.js +5 -4
  1878. package/script/utilities/1_math.d.ts +1 -1
  1879. package/script/utilities/1_math.js +7 -7
  1880. package/script/utilities/2_queue.d.ts +2 -2
  1881. package/script/utilities/2_queue.d.ts.map +1 -1
  1882. package/script/utilities/2_queue.js +12 -8
  1883. package/esm/client/0_filters.d.ts +0 -58
  1884. package/esm/client/0_filters.d.ts.map +0 -1
  1885. package/esm/client/0_filters.js +0 -49
  1886. package/esm/client/0_message.d.ts +0 -29
  1887. package/esm/client/0_message.d.ts.map +0 -1
  1888. package/esm/client/0_message.js +0 -83
  1889. package/esm/client/1_client_encrypted.d.ts +0 -52
  1890. package/esm/client/1_client_encrypted.d.ts.map +0 -1
  1891. package/esm/client/1_client_encrypted.js +0 -339
  1892. package/esm/client/1_composer.d.ts +0 -51
  1893. package/esm/client/1_composer.d.ts.map +0 -1
  1894. package/esm/client/1_composer.js +0 -168
  1895. package/esm/client/5_client.d.ts +0 -1372
  1896. package/esm/client/5_client.d.ts.map +0 -1
  1897. package/esm/client/5_client.js +0 -2858
  1898. package/esm/deps/deno.land/std@0.224.0/io/types.d.ts +0 -95
  1899. package/esm/deps/deno.land/std@0.224.0/io/types.d.ts.map +0 -1
  1900. package/esm/deps/deno.land/std@0.224.0/io/types.js +0 -3
  1901. package/esm/deps/deno.land/std@0.224.0/io/write_all.d.ts +0 -39
  1902. package/esm/deps/deno.land/std@0.224.0/io/write_all.d.ts.map +0 -1
  1903. package/esm/deps/deno.land/std@0.224.0/io/write_all.js +0 -49
  1904. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.d.ts +0 -84
  1905. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.d.ts.map +0 -1
  1906. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.js +0 -203
  1907. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.d.ts +0 -51
  1908. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.d.ts.map +0 -1
  1909. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.js +0 -274
  1910. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.d.ts +0 -48
  1911. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.d.ts.map +0 -1
  1912. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +0 -51
  1913. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.d.ts +0 -67
  1914. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.d.ts.map +0 -1
  1915. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.js +0 -191
  1916. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Node.d.ts +0 -169
  1917. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Node.d.ts.map +0 -1
  1918. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Node.js +0 -385
  1919. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Parser.d.ts +0 -160
  1920. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Parser.d.ts.map +0 -1
  1921. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Parser.js +0 -431
  1922. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.d.ts +0 -182
  1923. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.d.ts.map +0 -1
  1924. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.js +0 -1046
  1925. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/mod.d.ts +0 -43
  1926. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/mod.d.ts.map +0 -1
  1927. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/mod.js +0 -52
  1928. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.d.ts +0 -12
  1929. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.d.ts.map +0 -1
  1930. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.js +0 -122
  1931. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.d.ts +0 -2
  1932. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.d.ts.map +0 -1
  1933. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.js +0 -24
  1934. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.d.ts +0 -47
  1935. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.d.ts.map +0 -1
  1936. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.js +0 -121
  1937. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.d.ts +0 -32
  1938. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.d.ts.map +0 -1
  1939. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.js +0 -30
  1940. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.d.ts +0 -2129
  1941. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.d.ts.map +0 -1
  1942. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.js +0 -2127
  1943. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.d.ts +0 -110
  1944. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.d.ts.map +0 -1
  1945. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.js +0 -108
  1946. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.d.ts +0 -9
  1947. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.d.ts.map +0 -1
  1948. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.js +0 -1
  1949. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.d.ts +0 -91
  1950. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.d.ts.map +0 -1
  1951. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +0 -95
  1952. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.d.ts +0 -51
  1953. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.d.ts.map +0 -1
  1954. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +0 -128
  1955. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.d.ts +0 -47
  1956. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.d.ts.map +0 -1
  1957. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.js +0 -110
  1958. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.d.ts +0 -43
  1959. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.d.ts.map +0 -1
  1960. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.js +0 -120
  1961. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.d.ts +0 -7
  1962. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.d.ts.map +0 -1
  1963. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.js +0 -6
  1964. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.d.ts +0 -55
  1965. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.d.ts.map +0 -1
  1966. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.js +0 -110
  1967. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.d.ts +0 -41
  1968. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.d.ts.map +0 -1
  1969. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.js +0 -75
  1970. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.d.ts +0 -59
  1971. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.d.ts.map +0 -1
  1972. package/esm/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.js +0 -101
  1973. package/esm/deps/deno.land/x/tgcrypto@0.4.1/mod.d.ts +0 -55
  1974. package/esm/deps/deno.land/x/tgcrypto@0.4.1/mod.d.ts.map +0 -1
  1975. package/esm/deps/deno.land/x/tgcrypto@0.4.1/mod.js +0 -167
  1976. package/esm/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.d.ts +0 -3
  1977. package/esm/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.d.ts.map +0 -1
  1978. package/esm/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.js +0 -308
  1979. package/esm/deps/jsr.io/@std/assert/1.0.7/almost_equals.d.ts +0 -29
  1980. package/esm/deps/jsr.io/@std/assert/1.0.7/almost_equals.d.ts.map +0 -1
  1981. package/esm/deps/jsr.io/@std/assert/1.0.7/almost_equals.js +0 -46
  1982. package/esm/deps/jsr.io/@std/assert/1.0.7/array_includes.d.ts +0 -24
  1983. package/esm/deps/jsr.io/@std/assert/1.0.7/array_includes.d.ts.map +0 -1
  1984. package/esm/deps/jsr.io/@std/assert/1.0.7/array_includes.js +0 -46
  1985. package/esm/deps/jsr.io/@std/assert/1.0.7/assert.d.ts +0 -16
  1986. package/esm/deps/jsr.io/@std/assert/1.0.7/assert.d.ts.map +0 -1
  1987. package/esm/deps/jsr.io/@std/assert/1.0.7/assert.js +0 -22
  1988. package/esm/deps/jsr.io/@std/assert/1.0.7/assertion_error.d.ts.map +0 -1
  1989. package/esm/deps/jsr.io/@std/assert/1.0.7/assertion_error.js +0 -30
  1990. package/esm/deps/jsr.io/@std/assert/1.0.7/equal.d.ts +0 -17
  1991. package/esm/deps/jsr.io/@std/assert/1.0.7/equal.d.ts.map +0 -1
  1992. package/esm/deps/jsr.io/@std/assert/1.0.7/equal.js +0 -136
  1993. package/esm/deps/jsr.io/@std/assert/1.0.7/equals.d.ts +0 -22
  1994. package/esm/deps/jsr.io/@std/assert/1.0.7/equals.d.ts.map +0 -1
  1995. package/esm/deps/jsr.io/@std/assert/1.0.7/equals.js +0 -45
  1996. package/esm/deps/jsr.io/@std/assert/1.0.7/exists.d.ts +0 -18
  1997. package/esm/deps/jsr.io/@std/assert/1.0.7/exists.d.ts.map +0 -1
  1998. package/esm/deps/jsr.io/@std/assert/1.0.7/exists.js +0 -27
  1999. package/esm/deps/jsr.io/@std/assert/1.0.7/fail.d.ts +0 -15
  2000. package/esm/deps/jsr.io/@std/assert/1.0.7/fail.d.ts.map +0 -1
  2001. package/esm/deps/jsr.io/@std/assert/1.0.7/fail.js +0 -20
  2002. package/esm/deps/jsr.io/@std/assert/1.0.7/false.d.ts +0 -18
  2003. package/esm/deps/jsr.io/@std/assert/1.0.7/false.d.ts.map +0 -1
  2004. package/esm/deps/jsr.io/@std/assert/1.0.7/false.js +0 -22
  2005. package/esm/deps/jsr.io/@std/assert/1.0.7/greater.d.ts +0 -20
  2006. package/esm/deps/jsr.io/@std/assert/1.0.7/greater.d.ts.map +0 -1
  2007. package/esm/deps/jsr.io/@std/assert/1.0.7/greater.js +0 -29
  2008. package/esm/deps/jsr.io/@std/assert/1.0.7/greater_or_equal.d.ts +0 -20
  2009. package/esm/deps/jsr.io/@std/assert/1.0.7/greater_or_equal.d.ts.map +0 -1
  2010. package/esm/deps/jsr.io/@std/assert/1.0.7/greater_or_equal.js +0 -29
  2011. package/esm/deps/jsr.io/@std/assert/1.0.7/instance_of.d.ts +0 -23
  2012. package/esm/deps/jsr.io/@std/assert/1.0.7/instance_of.d.ts.map +0 -1
  2013. package/esm/deps/jsr.io/@std/assert/1.0.7/instance_of.js +0 -52
  2014. package/esm/deps/jsr.io/@std/assert/1.0.7/is_error.d.ts +0 -25
  2015. package/esm/deps/jsr.io/@std/assert/1.0.7/is_error.d.ts.map +0 -1
  2016. package/esm/deps/jsr.io/@std/assert/1.0.7/is_error.js +0 -53
  2017. package/esm/deps/jsr.io/@std/assert/1.0.7/less.d.ts +0 -19
  2018. package/esm/deps/jsr.io/@std/assert/1.0.7/less.d.ts.map +0 -1
  2019. package/esm/deps/jsr.io/@std/assert/1.0.7/less.js +0 -28
  2020. package/esm/deps/jsr.io/@std/assert/1.0.7/less_or_equal.d.ts +0 -20
  2021. package/esm/deps/jsr.io/@std/assert/1.0.7/less_or_equal.d.ts.map +0 -1
  2022. package/esm/deps/jsr.io/@std/assert/1.0.7/less_or_equal.js +0 -29
  2023. package/esm/deps/jsr.io/@std/assert/1.0.7/match.d.ts +0 -18
  2024. package/esm/deps/jsr.io/@std/assert/1.0.7/match.d.ts.map +0 -1
  2025. package/esm/deps/jsr.io/@std/assert/1.0.7/match.js +0 -26
  2026. package/esm/deps/jsr.io/@std/assert/1.0.7/mod.d.ts +0 -44
  2027. package/esm/deps/jsr.io/@std/assert/1.0.7/mod.d.ts.map +0 -1
  2028. package/esm/deps/jsr.io/@std/assert/1.0.7/mod.js +0 -45
  2029. package/esm/deps/jsr.io/@std/assert/1.0.7/not_equals.d.ts +0 -21
  2030. package/esm/deps/jsr.io/@std/assert/1.0.7/not_equals.d.ts.map +0 -1
  2031. package/esm/deps/jsr.io/@std/assert/1.0.7/not_equals.js +0 -32
  2032. package/esm/deps/jsr.io/@std/assert/1.0.7/not_instance_of.d.ts +0 -20
  2033. package/esm/deps/jsr.io/@std/assert/1.0.7/not_instance_of.d.ts.map +0 -1
  2034. package/esm/deps/jsr.io/@std/assert/1.0.7/not_instance_of.js +0 -29
  2035. package/esm/deps/jsr.io/@std/assert/1.0.7/not_match.d.ts +0 -18
  2036. package/esm/deps/jsr.io/@std/assert/1.0.7/not_match.d.ts.map +0 -1
  2037. package/esm/deps/jsr.io/@std/assert/1.0.7/not_match.js +0 -26
  2038. package/esm/deps/jsr.io/@std/assert/1.0.7/not_strict_equals.d.ts +0 -23
  2039. package/esm/deps/jsr.io/@std/assert/1.0.7/not_strict_equals.d.ts.map +0 -1
  2040. package/esm/deps/jsr.io/@std/assert/1.0.7/not_strict_equals.js +0 -32
  2041. package/esm/deps/jsr.io/@std/assert/1.0.7/object_match.d.ts +0 -28
  2042. package/esm/deps/jsr.io/@std/assert/1.0.7/object_match.d.ts.map +0 -1
  2043. package/esm/deps/jsr.io/@std/assert/1.0.7/object_match.js +0 -159
  2044. package/esm/deps/jsr.io/@std/assert/1.0.7/rejects.d.ts +0 -42
  2045. package/esm/deps/jsr.io/@std/assert/1.0.7/rejects.d.ts.map +0 -1
  2046. package/esm/deps/jsr.io/@std/assert/1.0.7/rejects.js +0 -53
  2047. package/esm/deps/jsr.io/@std/assert/1.0.7/strict_equals.d.ts +0 -24
  2048. package/esm/deps/jsr.io/@std/assert/1.0.7/strict_equals.d.ts.map +0 -1
  2049. package/esm/deps/jsr.io/@std/assert/1.0.7/strict_equals.js +0 -57
  2050. package/esm/deps/jsr.io/@std/assert/1.0.7/string_includes.d.ts +0 -18
  2051. package/esm/deps/jsr.io/@std/assert/1.0.7/string_includes.d.ts.map +0 -1
  2052. package/esm/deps/jsr.io/@std/assert/1.0.7/string_includes.js +0 -26
  2053. package/esm/deps/jsr.io/@std/assert/1.0.7/throws.d.ts +0 -45
  2054. package/esm/deps/jsr.io/@std/assert/1.0.7/throws.d.ts.map +0 -1
  2055. package/esm/deps/jsr.io/@std/assert/1.0.7/throws.js +0 -44
  2056. package/esm/deps/jsr.io/@std/assert/1.0.7/unimplemented.d.ts +0 -15
  2057. package/esm/deps/jsr.io/@std/assert/1.0.7/unimplemented.d.ts.map +0 -1
  2058. package/esm/deps/jsr.io/@std/assert/1.0.7/unimplemented.js +0 -20
  2059. package/esm/deps/jsr.io/@std/assert/1.0.7/unreachable.d.ts.map +0 -1
  2060. package/esm/deps/jsr.io/@std/assert/1.0.7/unreachable.js +0 -20
  2061. package/esm/deps/jsr.io/@std/bytes/1.0.3/concat.d.ts +0 -19
  2062. package/esm/deps/jsr.io/@std/bytes/1.0.3/concat.d.ts.map +0 -1
  2063. package/esm/deps/jsr.io/@std/bytes/1.0.3/concat.js +0 -32
  2064. package/esm/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.d.ts +0 -2
  2065. package/esm/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.d.ts.map +0 -1
  2066. package/esm/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.js +0 -26
  2067. package/esm/deps/jsr.io/@std/encoding/1.0.5/base64.d.ts +0 -38
  2068. package/esm/deps/jsr.io/@std/encoding/1.0.5/base64.d.ts.map +0 -1
  2069. package/esm/deps/jsr.io/@std/encoding/1.0.5/base64.js +0 -163
  2070. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +0 -82
  2071. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
  2072. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.js +0 -110
  2073. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
  2074. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.js +0 -276
  2075. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
  2076. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.js +0 -179
  2077. package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts +0 -2
  2078. package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
  2079. package/esm/deps/jsr.io/@std/internal/1.0.5/format.js +0 -37
  2080. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
  2081. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.js +0 -207
  2082. package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts +0 -16
  2083. package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
  2084. package/esm/deps/jsr.io/@std/internal/1.0.5/types.js +0 -2
  2085. package/esm/deps/jsr.io/@std/io/0.225.0/_constants.d.ts.map +0 -1
  2086. package/esm/deps/jsr.io/@std/io/0.225.0/_constants.js +0 -4
  2087. package/esm/deps/jsr.io/@std/io/0.225.0/iterate_reader.d.ts.map +0 -1
  2088. package/esm/deps/jsr.io/@std/io/0.225.0/iterate_reader.js +0 -96
  2089. package/esm/deps/jsr.io/@std/io/0.225.0/types.d.ts.map +0 -1
  2090. package/esm/deps/jsr.io/@std/io/0.225.0/types.js +0 -15
  2091. package/esm/deps/jsr.io/@std/media-types/1.0.3/_db.d.ts +0 -8
  2092. package/esm/deps/jsr.io/@std/media-types/1.0.3/_db.d.ts.map +0 -1
  2093. package/esm/deps/jsr.io/@std/media-types/1.0.3/_util.d.ts.map +0 -1
  2094. package/esm/deps/jsr.io/@std/media-types/1.0.3/all_extensions.d.ts.map +0 -1
  2095. package/esm/deps/jsr.io/@std/media-types/1.0.3/content_type.d.ts.map +0 -1
  2096. package/esm/deps/jsr.io/@std/media-types/1.0.3/extension.d.ts.map +0 -1
  2097. package/esm/deps/jsr.io/@std/media-types/1.0.3/format_media_type.d.ts.map +0 -1
  2098. package/esm/deps/jsr.io/@std/media-types/1.0.3/get_charset.d.ts.map +0 -1
  2099. package/esm/deps/jsr.io/@std/media-types/1.0.3/parse_media_type.d.ts.map +0 -1
  2100. package/esm/deps/jsr.io/@std/media-types/1.0.3/type_by_extension.d.ts.map +0 -1
  2101. package/esm/deps/jsr.io/@std/media-types/1.0.3/vendor/db.d.ts +0 -8796
  2102. package/esm/deps/jsr.io/@std/media-types/1.0.3/vendor/db.d.ts.map +0 -1
  2103. package/esm/deps/jsr.io/@std/media-types/1.0.3/vendor/db.js +0 -8831
  2104. package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +0 -1
  2105. package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.js +0 -7
  2106. package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +0 -1
  2107. package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.js +0 -40
  2108. package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts +0 -2
  2109. package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts.map +0 -1
  2110. package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.js +0 -23
  2111. package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +0 -1
  2112. package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.js +0 -46
  2113. package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts +0 -2
  2114. package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts.map +0 -1
  2115. package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.js +0 -8
  2116. package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts +0 -4
  2117. package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts.map +0 -1
  2118. package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.js +0 -19
  2119. package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts.map +0 -1
  2120. package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.js +0 -9
  2121. package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts +0 -35
  2122. package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts.map +0 -1
  2123. package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.js +0 -234
  2124. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +0 -1
  2125. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.js +0 -8
  2126. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +0 -1
  2127. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.js +0 -77
  2128. package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts +0 -2
  2129. package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts.map +0 -1
  2130. package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.js +0 -9
  2131. package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +0 -1
  2132. package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.js +0 -19
  2133. package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +0 -1
  2134. package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.js +0 -15
  2135. package/esm/deps/jsr.io/@std/path/1.0.8/_os.d.ts +0 -2
  2136. package/esm/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +0 -1
  2137. package/esm/deps/jsr.io/@std/path/1.0.8/_os.js +0 -9
  2138. package/esm/deps/jsr.io/@std/path/1.0.8/basename.d.ts +0 -28
  2139. package/esm/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +0 -1
  2140. package/esm/deps/jsr.io/@std/path/1.0.8/basename.js +0 -36
  2141. package/esm/deps/jsr.io/@std/path/1.0.8/common.d.ts +0 -28
  2142. package/esm/deps/jsr.io/@std/path/1.0.8/common.d.ts.map +0 -1
  2143. package/esm/deps/jsr.io/@std/path/1.0.8/common.js +0 -33
  2144. package/esm/deps/jsr.io/@std/path/1.0.8/constants.d.ts +0 -15
  2145. package/esm/deps/jsr.io/@std/path/1.0.8/constants.d.ts.map +0 -1
  2146. package/esm/deps/jsr.io/@std/path/1.0.8/constants.js +0 -17
  2147. package/esm/deps/jsr.io/@std/path/1.0.8/dirname.d.ts +0 -23
  2148. package/esm/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +0 -1
  2149. package/esm/deps/jsr.io/@std/path/1.0.8/dirname.js +0 -29
  2150. package/esm/deps/jsr.io/@std/path/1.0.8/extname.d.ts +0 -23
  2151. package/esm/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +0 -1
  2152. package/esm/deps/jsr.io/@std/path/1.0.8/extname.js +0 -29
  2153. package/esm/deps/jsr.io/@std/path/1.0.8/format.d.ts +0 -22
  2154. package/esm/deps/jsr.io/@std/path/1.0.8/format.d.ts.map +0 -1
  2155. package/esm/deps/jsr.io/@std/path/1.0.8/format.js +0 -27
  2156. package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts +0 -22
  2157. package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts.map +0 -1
  2158. package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.js +0 -28
  2159. package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts +0 -77
  2160. package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts.map +0 -1
  2161. package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.js +0 -83
  2162. package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +0 -1
  2163. package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.js +0 -28
  2164. package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts +0 -17
  2165. package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts.map +0 -1
  2166. package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.js +0 -42
  2167. package/esm/deps/jsr.io/@std/path/1.0.8/join.d.ts +0 -23
  2168. package/esm/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +0 -1
  2169. package/esm/deps/jsr.io/@std/path/1.0.8/join.js +0 -29
  2170. package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts +0 -28
  2171. package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts.map +0 -1
  2172. package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.js +0 -34
  2173. package/esm/deps/jsr.io/@std/path/1.0.8/mod.d.ts +0 -54
  2174. package/esm/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +0 -1
  2175. package/esm/deps/jsr.io/@std/path/1.0.8/mod.js +0 -57
  2176. package/esm/deps/jsr.io/@std/path/1.0.8/normalize.d.ts +0 -27
  2177. package/esm/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +0 -1
  2178. package/esm/deps/jsr.io/@std/path/1.0.8/normalize.js +0 -33
  2179. package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts +0 -29
  2180. package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts.map +0 -1
  2181. package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.js +0 -35
  2182. package/esm/deps/jsr.io/@std/path/1.0.8/parse.d.ts +0 -35
  2183. package/esm/deps/jsr.io/@std/path/1.0.8/parse.d.ts.map +0 -1
  2184. package/esm/deps/jsr.io/@std/path/1.0.8/parse.js +0 -39
  2185. package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +0 -1
  2186. package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.js +0 -8
  2187. package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +0 -40
  2188. package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +0 -1
  2189. package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.js +0 -49
  2190. package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts +0 -13
  2191. package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts.map +0 -1
  2192. package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.js +0 -14
  2193. package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts +0 -32
  2194. package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +0 -1
  2195. package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.js +0 -62
  2196. package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +0 -37
  2197. package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +0 -1
  2198. package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.js +0 -89
  2199. package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts +0 -24
  2200. package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts.map +0 -1
  2201. package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.js +0 -28
  2202. package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts.map +0 -1
  2203. package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.js +0 -21
  2204. package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts +0 -72
  2205. package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts.map +0 -1
  2206. package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.js +0 -82
  2207. package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +0 -1
  2208. package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.js +0 -23
  2209. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +0 -33
  2210. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +0 -1
  2211. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.js +0 -42
  2212. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts +0 -20
  2213. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts.map +0 -1
  2214. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.js +0 -40
  2215. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +0 -40
  2216. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +0 -1
  2217. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.js +0 -57
  2218. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts +0 -20
  2219. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts.map +0 -1
  2220. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.js +0 -32
  2221. package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts +0 -25
  2222. package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts.map +0 -1
  2223. package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.js +0 -115
  2224. package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts +0 -20
  2225. package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts.map +0 -1
  2226. package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.js +0 -106
  2227. package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts +0 -17
  2228. package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts.map +0 -1
  2229. package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.js +0 -59
  2230. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +0 -1
  2231. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.js +0 -27
  2232. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts +0 -16
  2233. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts.map +0 -1
  2234. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.js +0 -20
  2235. package/esm/deps/jsr.io/@std/path/1.0.8/relative.d.ts +0 -24
  2236. package/esm/deps/jsr.io/@std/path/1.0.8/relative.d.ts.map +0 -1
  2237. package/esm/deps/jsr.io/@std/path/1.0.8/relative.js +0 -30
  2238. package/esm/deps/jsr.io/@std/path/1.0.8/resolve.d.ts +0 -22
  2239. package/esm/deps/jsr.io/@std/path/1.0.8/resolve.d.ts.map +0 -1
  2240. package/esm/deps/jsr.io/@std/path/1.0.8/resolve.js +0 -30
  2241. package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +0 -1
  2242. package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.js +0 -28
  2243. package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts +0 -21
  2244. package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts.map +0 -1
  2245. package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.js +0 -29
  2246. package/esm/deps/jsr.io/@std/path/1.0.8/types.d.ts +0 -38
  2247. package/esm/deps/jsr.io/@std/path/1.0.8/types.d.ts.map +0 -1
  2248. package/esm/deps/jsr.io/@std/path/1.0.8/types.js +0 -3
  2249. package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +0 -1
  2250. package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.js +0 -15
  2251. package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts +0 -23
  2252. package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +0 -1
  2253. package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.js +0 -44
  2254. package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts +0 -13
  2255. package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts.map +0 -1
  2256. package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.js +0 -14
  2257. package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +0 -20
  2258. package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +0 -1
  2259. package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.js +0 -112
  2260. package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts +0 -20
  2261. package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +0 -1
  2262. package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.js +0 -81
  2263. package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts +0 -24
  2264. package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts.map +0 -1
  2265. package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.js +0 -28
  2266. package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts.map +0 -1
  2267. package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.js +0 -30
  2268. package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts +0 -71
  2269. package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts.map +0 -1
  2270. package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.js +0 -82
  2271. package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +0 -1
  2272. package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.js +0 -38
  2273. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +0 -20
  2274. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +0 -1
  2275. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.js +0 -74
  2276. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts +0 -21
  2277. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts.map +0 -1
  2278. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.js +0 -41
  2279. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts +0 -22
  2280. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +0 -1
  2281. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.js +0 -134
  2282. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts +0 -20
  2283. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts.map +0 -1
  2284. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.js +0 -32
  2285. package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts +0 -25
  2286. package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts.map +0 -1
  2287. package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.js +0 -176
  2288. package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts +0 -23
  2289. package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts.map +0 -1
  2290. package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.js +0 -131
  2291. package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts +0 -17
  2292. package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts.map +0 -1
  2293. package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.js +0 -154
  2294. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +0 -1
  2295. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.js +0 -34
  2296. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts +0 -17
  2297. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts.map +0 -1
  2298. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.js +0 -49
  2299. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts +0 -2
  2300. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts.map +0 -1
  2301. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js +0 -1
  2302. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.d.ts +0 -2
  2303. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.d.ts.map +0 -1
  2304. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.js +0 -10
  2305. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts +0 -28
  2306. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts.map +0 -1
  2307. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +0 -135
  2308. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts +0 -24
  2309. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts.map +0 -1
  2310. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.js +0 -172
  2311. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.d.ts +0 -3
  2312. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.d.ts.map +0 -1
  2313. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.js +0 -2
  2314. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.d.ts +0 -2
  2315. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.d.ts.map +0 -1
  2316. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.js +0 -19
  2317. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.d.ts +0 -3
  2318. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.d.ts.map +0 -1
  2319. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +0 -25
  2320. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.d.ts +0 -79
  2321. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.d.ts.map +0 -1
  2322. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +0 -1941
  2323. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.d.ts +0 -13
  2324. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.d.ts.map +0 -1
  2325. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.js +0 -85
  2326. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.d.ts +0 -2
  2327. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.d.ts.map +0 -1
  2328. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +0 -321
  2329. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.d.ts +0 -48
  2330. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.d.ts.map +0 -1
  2331. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +0 -1660
  2332. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.d.ts +0 -2
  2333. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.d.ts.map +0 -1
  2334. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.js +0 -355
  2335. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.d.ts +0 -13
  2336. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.d.ts.map +0 -1
  2337. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.js +0 -11
  2338. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.d.ts +0 -31
  2339. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.d.ts.map +0 -1
  2340. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.js +0 -42
  2341. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.d.ts +0 -6
  2342. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.d.ts.map +0 -1
  2343. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +0 -1107
  2344. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.d.ts +0 -15
  2345. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.d.ts.map +0 -1
  2346. package/esm/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.js +0 -86
  2347. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts +0 -45
  2348. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts.map +0 -1
  2349. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.js +0 -253
  2350. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts +0 -3
  2351. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts.map +0 -1
  2352. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.js +0 -1
  2353. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts +0 -3
  2354. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts.map +0 -1
  2355. package/esm/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.js +0 -13
  2356. package/esm/tl/0_api.d.ts +0 -15839
  2357. package/esm/tl/0_api.d.ts.map +0 -1
  2358. package/esm/tl/0_api.js +0 -24746
  2359. package/esm/tl/0_tl_raw_reader.d.ts +0 -36
  2360. package/esm/tl/0_tl_raw_reader.d.ts.map +0 -1
  2361. package/esm/tl/0_tl_raw_reader.js +0 -87
  2362. package/esm/tl/0_tl_raw_writer.d.ts +0 -34
  2363. package/esm/tl/0_tl_raw_writer.d.ts.map +0 -1
  2364. package/esm/tl/0_tl_raw_writer.js +0 -86
  2365. package/esm/tl/2_deserialize.d.ts +0 -23
  2366. package/esm/tl/2_deserialize.d.ts.map +0 -1
  2367. package/esm/tl/2_deserialize.js +0 -95
  2368. package/esm/tl/2_serialize.d.ts +0 -22
  2369. package/esm/tl/2_serialize.d.ts.map +0 -1
  2370. package/esm/tl/2_serialize.js +0 -160
  2371. package/esm/tl/3_tl_reader.d.ts +0 -26
  2372. package/esm/tl/3_tl_reader.d.ts.map +0 -1
  2373. package/esm/tl/3_tl_reader.js +0 -49
  2374. package/esm/tl/3_utilities.d.ts +0 -34
  2375. package/esm/tl/3_utilities.d.ts.map +0 -1
  2376. package/esm/tl/3_utilities.js +0 -89
  2377. package/esm/tl/4_rpc_result.d.ts +0 -27
  2378. package/esm/tl/4_rpc_result.d.ts.map +0 -1
  2379. package/esm/tl/4_rpc_result.js +0 -28
  2380. package/esm/tl/4_tl_writer.d.ts +0 -25
  2381. package/esm/tl/4_tl_writer.d.ts.map +0 -1
  2382. package/esm/tl/4_tl_writer.js +0 -45
  2383. package/esm/tl/5_message.d.ts +0 -39
  2384. package/esm/tl/5_message.d.ts.map +0 -1
  2385. package/esm/tl/5_message.js +0 -98
  2386. package/esm/transport/2_transport_provider.d.ts +0 -35
  2387. package/esm/transport/2_transport_provider.d.ts.map +0 -1
  2388. package/esm/transport/2_transport_provider.js +0 -81
  2389. package/esm/transport/3_transport_provider_tcp.d.ts +0 -14
  2390. package/esm/transport/3_transport_provider_tcp.d.ts.map +0 -1
  2391. package/esm/transport/3_transport_provider_tcp.js +0 -15
  2392. package/esm/transport/3_transport_provider_web_socket.d.ts +0 -24
  2393. package/esm/transport/3_transport_provider_web_socket.d.ts.map +0 -1
  2394. package/esm/transport/3_transport_provider_web_socket.js +0 -43
  2395. package/esm/types/0_link_preview.d.ts +0 -35
  2396. package/esm/types/0_link_preview.d.ts.map +0 -1
  2397. package/esm/types/0_link_preview.js +0 -28
  2398. package/esm/types/0_message_entity.d.ts +0 -139
  2399. package/esm/types/0_message_entity.d.ts.map +0 -1
  2400. package/esm/types/0_message_entity.js +0 -183
  2401. package/esm/types/0_mini_app_info.d.ts +0 -26
  2402. package/esm/types/0_mini_app_info.d.ts.map +0 -1
  2403. package/esm/types/0_mini_app_info.js +0 -22
  2404. package/esm/types/0_opening_hours.d.ts +0 -26
  2405. package/esm/types/0_opening_hours.d.ts.map +0 -1
  2406. package/esm/types/0_opening_hours.js +0 -25
  2407. package/esm/types/1_input_media.d.ts +0 -122
  2408. package/esm/types/1_input_media.d.ts.map +0 -1
  2409. package/esm/types/1_input_media.js +0 -20
  2410. package/esm/types/1_message_content.d.ts +0 -119
  2411. package/esm/types/1_message_content.d.ts.map +0 -1
  2412. package/esm/types/1_message_content.js +0 -20
  2413. package/esm/types/1_poll_option.d.ts +0 -32
  2414. package/esm/types/1_poll_option.d.ts.map +0 -1
  2415. package/esm/types/1_poll_option.js +0 -27
  2416. package/esm/types/1_reply_quote.d.ts +0 -32
  2417. package/esm/types/1_reply_quote.d.ts.map +0 -1
  2418. package/esm/types/1_reply_quote.js +0 -30
  2419. package/esm/types/1_story_privacy.d.ts +0 -46
  2420. package/esm/types/1_story_privacy.d.ts.map +0 -1
  2421. package/esm/types/1_story_privacy.js +0 -76
  2422. package/esm/types/1_user.d.ts +0 -56
  2423. package/esm/types/1_user.d.ts.map +0 -1
  2424. package/esm/types/1_user.js +0 -47
  2425. package/esm/types/2_business_connection.d.ts +0 -37
  2426. package/esm/types/2_business_connection.d.ts.map +0 -1
  2427. package/esm/types/2_business_connection.js +0 -30
  2428. package/esm/types/2_chosen_inline_result.d.ts +0 -38
  2429. package/esm/types/2_chosen_inline_result.d.ts.map +0 -1
  2430. package/esm/types/2_chosen_inline_result.js +0 -37
  2431. package/esm/types/2_forward_header.d.ts +0 -40
  2432. package/esm/types/2_forward_header.d.ts.map +0 -1
  2433. package/esm/types/2_forward_header.js +0 -55
  2434. package/esm/types/2_game.d.ts +0 -40
  2435. package/esm/types/2_game.d.ts.map +0 -1
  2436. package/esm/types/2_game.js +0 -44
  2437. package/esm/types/2_inline_keyboard_button.d.ts +0 -138
  2438. package/esm/types/2_inline_keyboard_button.d.ts.map +0 -1
  2439. package/esm/types/2_inline_keyboard_button.js +0 -117
  2440. package/esm/types/2_inline_query.d.ts +0 -40
  2441. package/esm/types/2_inline_query.d.ts.map +0 -1
  2442. package/esm/types/2_inline_query.js +0 -60
  2443. package/esm/types/2_invite_link.d.ts +0 -47
  2444. package/esm/types/2_invite_link.d.ts.map +0 -1
  2445. package/esm/types/2_invite_link.js +0 -48
  2446. package/esm/types/2_message_reactions.d.ts +0 -43
  2447. package/esm/types/2_message_reactions.d.ts.map +0 -1
  2448. package/esm/types/2_message_reactions.js +0 -56
  2449. package/esm/types/2_poll.d.ts +0 -55
  2450. package/esm/types/2_poll.d.ts.map +0 -1
  2451. package/esm/types/2_poll.js +0 -43
  2452. package/esm/types/2_pre_checkout_query.d.ts +0 -34
  2453. package/esm/types/2_pre_checkout_query.d.ts.map +0 -1
  2454. package/esm/types/2_pre_checkout_query.js +0 -39
  2455. package/esm/types/2_reply_to.d.ts +0 -35
  2456. package/esm/types/2_reply_to.d.ts.map +0 -1
  2457. package/esm/types/2_reply_to.js +0 -20
  2458. package/esm/types/3_chat_member_updated.d.ts +0 -44
  2459. package/esm/types/3_chat_member_updated.d.ts.map +0 -1
  2460. package/esm/types/3_chat_member_updated.js +0 -53
  2461. package/esm/types/3_join_request.d.ts +0 -39
  2462. package/esm/types/3_join_request.d.ts.map +0 -1
  2463. package/esm/types/3_join_request.js +0 -45
  2464. package/esm/types/3_reply_markup.d.ts +0 -71
  2465. package/esm/types/3_reply_markup.d.ts.map +0 -1
  2466. package/esm/types/3_reply_markup.js +0 -127
  2467. package/esm/types/4_inline_query_result.d.ts +0 -251
  2468. package/esm/types/4_inline_query_result.d.ts.map +0 -1
  2469. package/esm/types/4_inline_query_result.js +0 -380
  2470. package/esm/types/4_message.d.ts +0 -615
  2471. package/esm/types/4_message.d.ts.map +0 -1
  2472. package/esm/types/4_message.js +0 -533
  2473. package/esm/types/5_callback_query.d.ts +0 -43
  2474. package/esm/types/5_callback_query.d.ts.map +0 -1
  2475. package/esm/types/5_callback_query.js +0 -60
  2476. package/esm/types/5_chat_list_item.d.ts +0 -36
  2477. package/esm/types/5_chat_list_item.d.ts.map +0 -1
  2478. package/esm/types/5_chat_list_item.js +0 -86
  2479. package/esm/types/5_inline_query_answer.d.ts +0 -32
  2480. package/esm/types/5_inline_query_answer.d.ts.map +0 -1
  2481. package/esm/types/5_inline_query_answer.js +0 -28
  2482. package/esm/types/6_update.d.ts +0 -388
  2483. package/esm/types/6_update.d.ts.map +0 -1
  2484. package/esm/types/6_update.js +0 -20
  2485. package/esm/utilities/0_bigint.d.ts +0 -29
  2486. package/esm/utilities/0_bigint.d.ts.map +0 -1
  2487. package/esm/utilities/0_bigint.js +0 -90
  2488. package/esm/utilities/0_buffer.d.ts +0 -21
  2489. package/esm/utilities/0_buffer.d.ts.map +0 -1
  2490. package/esm/utilities/0_buffer.js +0 -51
  2491. package/esm/utilities/0_cache_map.d.ts +0 -26
  2492. package/esm/utilities/0_cache_map.d.ts.map +0 -1
  2493. package/esm/utilities/0_cache_map.js +0 -52
  2494. package/esm/utilities/0_crypto.d.ts +0 -27
  2495. package/esm/utilities/0_crypto.d.ts.map +0 -1
  2496. package/esm/utilities/0_crypto.js +0 -48
  2497. package/esm/utilities/1_misc.d.ts +0 -29
  2498. package/esm/utilities/1_misc.d.ts.map +0 -1
  2499. package/esm/utilities/1_misc.js +0 -72
  2500. package/script/client/0_filters.d.ts +0 -58
  2501. package/script/client/0_filters.d.ts.map +0 -1
  2502. package/script/client/0_filters.js +0 -52
  2503. package/script/client/0_message.d.ts +0 -29
  2504. package/script/client/0_message.d.ts.map +0 -1
  2505. package/script/client/0_message.js +0 -90
  2506. package/script/client/1_client_encrypted.d.ts +0 -52
  2507. package/script/client/1_client_encrypted.d.ts.map +0 -1
  2508. package/script/client/1_client_encrypted.js +0 -343
  2509. package/script/client/1_composer.d.ts +0 -51
  2510. package/script/client/1_composer.d.ts.map +0 -1
  2511. package/script/client/1_composer.js +0 -175
  2512. package/script/client/5_client.d.ts +0 -1372
  2513. package/script/client/5_client.d.ts.map +0 -1
  2514. package/script/client/5_client.js +0 -2863
  2515. package/script/deps/deno.land/std@0.224.0/io/types.d.ts +0 -95
  2516. package/script/deps/deno.land/std@0.224.0/io/types.d.ts.map +0 -1
  2517. package/script/deps/deno.land/std@0.224.0/io/types.js +0 -4
  2518. package/script/deps/deno.land/std@0.224.0/io/write_all.d.ts +0 -39
  2519. package/script/deps/deno.land/std@0.224.0/io/write_all.d.ts.map +0 -1
  2520. package/script/deps/deno.land/std@0.224.0/io/write_all.js +0 -53
  2521. package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.d.ts +0 -84
  2522. package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.d.ts.map +0 -1
  2523. package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomHandler.js +0 -207
  2524. package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.d.ts +0 -51
  2525. package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.d.ts.map +0 -1
  2526. package/script/deps/deno.land/x/html_parser@v0.1.3/src/DomSerializer.js +0 -301
  2527. package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.d.ts +0 -48
  2528. package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.d.ts.map +0 -1
  2529. package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +0 -55
  2530. package/script/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.d.ts +0 -67
  2531. package/script/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.d.ts.map +0 -1
  2532. package/script/deps/deno.land/x/html_parser@v0.1.3/src/FeedHandler.js +0 -222
  2533. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Node.d.ts +0 -169
  2534. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Node.d.ts.map +0 -1
  2535. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Node.js +0 -404
  2536. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Parser.d.ts +0 -160
  2537. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Parser.d.ts.map +0 -1
  2538. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Parser.js +0 -438
  2539. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.d.ts +0 -182
  2540. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.d.ts.map +0 -1
  2541. package/script/deps/deno.land/x/html_parser@v0.1.3/src/Tokenizer.js +0 -1052
  2542. package/script/deps/deno.land/x/html_parser@v0.1.3/src/mod.d.ts +0 -43
  2543. package/script/deps/deno.land/x/html_parser@v0.1.3/src/mod.d.ts.map +0 -1
  2544. package/script/deps/deno.land/x/html_parser@v0.1.3/src/mod.js +0 -88
  2545. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.d.ts +0 -12
  2546. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.d.ts.map +0 -1
  2547. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode.js +0 -128
  2548. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.d.ts +0 -2
  2549. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.d.ts.map +0 -1
  2550. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/decode_codepoint.js +0 -30
  2551. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.d.ts +0 -47
  2552. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.d.ts.map +0 -1
  2553. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/encode.js +0 -129
  2554. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.d.ts +0 -32
  2555. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.d.ts.map +0 -1
  2556. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/decode.js +0 -32
  2557. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.d.ts +0 -2129
  2558. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.d.ts.map +0 -1
  2559. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/entities.js +0 -2129
  2560. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.d.ts +0 -110
  2561. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.d.ts.map +0 -1
  2562. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/legacy.js +0 -110
  2563. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.d.ts +0 -9
  2564. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.d.ts.map +0 -1
  2565. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/maps/xml.js +0 -3
  2566. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.d.ts +0 -91
  2567. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.d.ts.map +0 -1
  2568. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +0 -114
  2569. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.d.ts +0 -51
  2570. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.d.ts.map +0 -1
  2571. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +0 -134
  2572. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.d.ts +0 -47
  2573. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.d.ts.map +0 -1
  2574. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/legacy.js +0 -117
  2575. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.d.ts +0 -43
  2576. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.d.ts.map +0 -1
  2577. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/manipulation.js +0 -128
  2578. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.d.ts +0 -7
  2579. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.d.ts.map +0 -1
  2580. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/mod.js +0 -22
  2581. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.d.ts +0 -55
  2582. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.d.ts.map +0 -1
  2583. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/querying.js +0 -118
  2584. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.d.ts +0 -41
  2585. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.d.ts.map +0 -1
  2586. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/stringify.js +0 -85
  2587. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.d.ts +0 -59
  2588. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.d.ts.map +0 -1
  2589. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/traversal.js +0 -111
  2590. package/script/deps/deno.land/x/tgcrypto@0.4.1/mod.d.ts +0 -55
  2591. package/script/deps/deno.land/x/tgcrypto@0.4.1/mod.d.ts.map +0 -1
  2592. package/script/deps/deno.land/x/tgcrypto@0.4.1/mod.js +0 -182
  2593. package/script/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.d.ts +0 -3
  2594. package/script/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.d.ts.map +0 -1
  2595. package/script/deps/deno.land/x/tgcrypto@0.4.1/tgcrypto.js +0 -310
  2596. package/script/deps/jsr.io/@std/assert/1.0.7/almost_equals.d.ts +0 -29
  2597. package/script/deps/jsr.io/@std/assert/1.0.7/almost_equals.d.ts.map +0 -1
  2598. package/script/deps/jsr.io/@std/assert/1.0.7/almost_equals.js +0 -49
  2599. package/script/deps/jsr.io/@std/assert/1.0.7/array_includes.d.ts +0 -24
  2600. package/script/deps/jsr.io/@std/assert/1.0.7/array_includes.d.ts.map +0 -1
  2601. package/script/deps/jsr.io/@std/assert/1.0.7/array_includes.js +0 -49
  2602. package/script/deps/jsr.io/@std/assert/1.0.7/assert.d.ts +0 -16
  2603. package/script/deps/jsr.io/@std/assert/1.0.7/assert.d.ts.map +0 -1
  2604. package/script/deps/jsr.io/@std/assert/1.0.7/assert.js +0 -25
  2605. package/script/deps/jsr.io/@std/assert/1.0.7/assertion_error.d.ts.map +0 -1
  2606. package/script/deps/jsr.io/@std/assert/1.0.7/assertion_error.js +0 -34
  2607. package/script/deps/jsr.io/@std/assert/1.0.7/equal.d.ts +0 -17
  2608. package/script/deps/jsr.io/@std/assert/1.0.7/equal.d.ts.map +0 -1
  2609. package/script/deps/jsr.io/@std/assert/1.0.7/equal.js +0 -139
  2610. package/script/deps/jsr.io/@std/assert/1.0.7/equals.d.ts +0 -22
  2611. package/script/deps/jsr.io/@std/assert/1.0.7/equals.d.ts.map +0 -1
  2612. package/script/deps/jsr.io/@std/assert/1.0.7/equals.js +0 -48
  2613. package/script/deps/jsr.io/@std/assert/1.0.7/exists.d.ts +0 -18
  2614. package/script/deps/jsr.io/@std/assert/1.0.7/exists.d.ts.map +0 -1
  2615. package/script/deps/jsr.io/@std/assert/1.0.7/exists.js +0 -30
  2616. package/script/deps/jsr.io/@std/assert/1.0.7/fail.d.ts +0 -15
  2617. package/script/deps/jsr.io/@std/assert/1.0.7/fail.d.ts.map +0 -1
  2618. package/script/deps/jsr.io/@std/assert/1.0.7/fail.js +0 -23
  2619. package/script/deps/jsr.io/@std/assert/1.0.7/false.d.ts +0 -18
  2620. package/script/deps/jsr.io/@std/assert/1.0.7/false.d.ts.map +0 -1
  2621. package/script/deps/jsr.io/@std/assert/1.0.7/false.js +0 -25
  2622. package/script/deps/jsr.io/@std/assert/1.0.7/greater.d.ts +0 -20
  2623. package/script/deps/jsr.io/@std/assert/1.0.7/greater.d.ts.map +0 -1
  2624. package/script/deps/jsr.io/@std/assert/1.0.7/greater.js +0 -32
  2625. package/script/deps/jsr.io/@std/assert/1.0.7/greater_or_equal.d.ts +0 -20
  2626. package/script/deps/jsr.io/@std/assert/1.0.7/greater_or_equal.d.ts.map +0 -1
  2627. package/script/deps/jsr.io/@std/assert/1.0.7/greater_or_equal.js +0 -32
  2628. package/script/deps/jsr.io/@std/assert/1.0.7/instance_of.d.ts +0 -23
  2629. package/script/deps/jsr.io/@std/assert/1.0.7/instance_of.d.ts.map +0 -1
  2630. package/script/deps/jsr.io/@std/assert/1.0.7/instance_of.js +0 -55
  2631. package/script/deps/jsr.io/@std/assert/1.0.7/is_error.d.ts +0 -25
  2632. package/script/deps/jsr.io/@std/assert/1.0.7/is_error.d.ts.map +0 -1
  2633. package/script/deps/jsr.io/@std/assert/1.0.7/is_error.js +0 -56
  2634. package/script/deps/jsr.io/@std/assert/1.0.7/less.d.ts +0 -19
  2635. package/script/deps/jsr.io/@std/assert/1.0.7/less.d.ts.map +0 -1
  2636. package/script/deps/jsr.io/@std/assert/1.0.7/less.js +0 -31
  2637. package/script/deps/jsr.io/@std/assert/1.0.7/less_or_equal.d.ts +0 -20
  2638. package/script/deps/jsr.io/@std/assert/1.0.7/less_or_equal.d.ts.map +0 -1
  2639. package/script/deps/jsr.io/@std/assert/1.0.7/less_or_equal.js +0 -32
  2640. package/script/deps/jsr.io/@std/assert/1.0.7/match.d.ts +0 -18
  2641. package/script/deps/jsr.io/@std/assert/1.0.7/match.d.ts.map +0 -1
  2642. package/script/deps/jsr.io/@std/assert/1.0.7/match.js +0 -29
  2643. package/script/deps/jsr.io/@std/assert/1.0.7/mod.d.ts +0 -44
  2644. package/script/deps/jsr.io/@std/assert/1.0.7/mod.d.ts.map +0 -1
  2645. package/script/deps/jsr.io/@std/assert/1.0.7/mod.js +0 -61
  2646. package/script/deps/jsr.io/@std/assert/1.0.7/not_equals.d.ts +0 -21
  2647. package/script/deps/jsr.io/@std/assert/1.0.7/not_equals.d.ts.map +0 -1
  2648. package/script/deps/jsr.io/@std/assert/1.0.7/not_equals.js +0 -35
  2649. package/script/deps/jsr.io/@std/assert/1.0.7/not_instance_of.d.ts +0 -20
  2650. package/script/deps/jsr.io/@std/assert/1.0.7/not_instance_of.d.ts.map +0 -1
  2651. package/script/deps/jsr.io/@std/assert/1.0.7/not_instance_of.js +0 -32
  2652. package/script/deps/jsr.io/@std/assert/1.0.7/not_match.d.ts +0 -18
  2653. package/script/deps/jsr.io/@std/assert/1.0.7/not_match.d.ts.map +0 -1
  2654. package/script/deps/jsr.io/@std/assert/1.0.7/not_match.js +0 -29
  2655. package/script/deps/jsr.io/@std/assert/1.0.7/not_strict_equals.d.ts +0 -23
  2656. package/script/deps/jsr.io/@std/assert/1.0.7/not_strict_equals.d.ts.map +0 -1
  2657. package/script/deps/jsr.io/@std/assert/1.0.7/not_strict_equals.js +0 -35
  2658. package/script/deps/jsr.io/@std/assert/1.0.7/object_match.d.ts +0 -28
  2659. package/script/deps/jsr.io/@std/assert/1.0.7/object_match.d.ts.map +0 -1
  2660. package/script/deps/jsr.io/@std/assert/1.0.7/object_match.js +0 -162
  2661. package/script/deps/jsr.io/@std/assert/1.0.7/rejects.d.ts +0 -42
  2662. package/script/deps/jsr.io/@std/assert/1.0.7/rejects.d.ts.map +0 -1
  2663. package/script/deps/jsr.io/@std/assert/1.0.7/rejects.js +0 -56
  2664. package/script/deps/jsr.io/@std/assert/1.0.7/strict_equals.d.ts +0 -24
  2665. package/script/deps/jsr.io/@std/assert/1.0.7/strict_equals.d.ts.map +0 -1
  2666. package/script/deps/jsr.io/@std/assert/1.0.7/strict_equals.js +0 -60
  2667. package/script/deps/jsr.io/@std/assert/1.0.7/string_includes.d.ts +0 -18
  2668. package/script/deps/jsr.io/@std/assert/1.0.7/string_includes.d.ts.map +0 -1
  2669. package/script/deps/jsr.io/@std/assert/1.0.7/string_includes.js +0 -29
  2670. package/script/deps/jsr.io/@std/assert/1.0.7/throws.d.ts +0 -45
  2671. package/script/deps/jsr.io/@std/assert/1.0.7/throws.d.ts.map +0 -1
  2672. package/script/deps/jsr.io/@std/assert/1.0.7/throws.js +0 -47
  2673. package/script/deps/jsr.io/@std/assert/1.0.7/unimplemented.d.ts +0 -15
  2674. package/script/deps/jsr.io/@std/assert/1.0.7/unimplemented.d.ts.map +0 -1
  2675. package/script/deps/jsr.io/@std/assert/1.0.7/unimplemented.js +0 -23
  2676. package/script/deps/jsr.io/@std/assert/1.0.7/unreachable.d.ts.map +0 -1
  2677. package/script/deps/jsr.io/@std/assert/1.0.7/unreachable.js +0 -23
  2678. package/script/deps/jsr.io/@std/bytes/1.0.3/concat.d.ts +0 -19
  2679. package/script/deps/jsr.io/@std/bytes/1.0.3/concat.d.ts.map +0 -1
  2680. package/script/deps/jsr.io/@std/bytes/1.0.3/concat.js +0 -35
  2681. package/script/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.d.ts +0 -2
  2682. package/script/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.d.ts.map +0 -1
  2683. package/script/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.js +0 -29
  2684. package/script/deps/jsr.io/@std/encoding/1.0.5/base64.d.ts +0 -38
  2685. package/script/deps/jsr.io/@std/encoding/1.0.5/base64.d.ts.map +0 -1
  2686. package/script/deps/jsr.io/@std/encoding/1.0.5/base64.js +0 -167
  2687. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +0 -82
  2688. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
  2689. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.js +0 -115
  2690. package/script/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
  2691. package/script/deps/jsr.io/@std/internal/1.0.5/diff.js +0 -283
  2692. package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
  2693. package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.js +0 -185
  2694. package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts +0 -2
  2695. package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
  2696. package/script/deps/jsr.io/@std/internal/1.0.5/format.js +0 -63
  2697. package/script/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
  2698. package/script/deps/jsr.io/@std/internal/1.0.5/styles.js +0 -242
  2699. package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts +0 -16
  2700. package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
  2701. package/script/deps/jsr.io/@std/internal/1.0.5/types.js +0 -3
  2702. package/script/deps/jsr.io/@std/io/0.225.0/_constants.d.ts.map +0 -1
  2703. package/script/deps/jsr.io/@std/io/0.225.0/_constants.js +0 -7
  2704. package/script/deps/jsr.io/@std/io/0.225.0/iterate_reader.d.ts.map +0 -1
  2705. package/script/deps/jsr.io/@std/io/0.225.0/iterate_reader.js +0 -100
  2706. package/script/deps/jsr.io/@std/io/0.225.0/types.d.ts.map +0 -1
  2707. package/script/deps/jsr.io/@std/io/0.225.0/types.js +0 -18
  2708. package/script/deps/jsr.io/@std/media-types/1.0.3/_db.d.ts +0 -8
  2709. package/script/deps/jsr.io/@std/media-types/1.0.3/_db.d.ts.map +0 -1
  2710. package/script/deps/jsr.io/@std/media-types/1.0.3/_util.d.ts.map +0 -1
  2711. package/script/deps/jsr.io/@std/media-types/1.0.3/all_extensions.d.ts.map +0 -1
  2712. package/script/deps/jsr.io/@std/media-types/1.0.3/content_type.d.ts.map +0 -1
  2713. package/script/deps/jsr.io/@std/media-types/1.0.3/extension.d.ts.map +0 -1
  2714. package/script/deps/jsr.io/@std/media-types/1.0.3/format_media_type.d.ts.map +0 -1
  2715. package/script/deps/jsr.io/@std/media-types/1.0.3/get_charset.d.ts.map +0 -1
  2716. package/script/deps/jsr.io/@std/media-types/1.0.3/parse_media_type.d.ts.map +0 -1
  2717. package/script/deps/jsr.io/@std/media-types/1.0.3/type_by_extension.d.ts.map +0 -1
  2718. package/script/deps/jsr.io/@std/media-types/1.0.3/vendor/db.d.ts +0 -8796
  2719. package/script/deps/jsr.io/@std/media-types/1.0.3/vendor/db.d.ts.map +0 -1
  2720. package/script/deps/jsr.io/@std/media-types/1.0.3/vendor/db.js +0 -8833
  2721. package/script/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +0 -1
  2722. package/script/deps/jsr.io/@std/path/1.0.8/_common/assert_path.js +0 -10
  2723. package/script/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +0 -1
  2724. package/script/deps/jsr.io/@std/path/1.0.8/_common/basename.js +0 -45
  2725. package/script/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts +0 -2
  2726. package/script/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts.map +0 -1
  2727. package/script/deps/jsr.io/@std/path/1.0.8/_common/common.js +0 -26
  2728. package/script/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +0 -1
  2729. package/script/deps/jsr.io/@std/path/1.0.8/_common/constants.js +0 -49
  2730. package/script/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts +0 -2
  2731. package/script/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts.map +0 -1
  2732. package/script/deps/jsr.io/@std/path/1.0.8/_common/dirname.js +0 -11
  2733. package/script/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts +0 -4
  2734. package/script/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts.map +0 -1
  2735. package/script/deps/jsr.io/@std/path/1.0.8/_common/format.js +0 -23
  2736. package/script/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts.map +0 -1
  2737. package/script/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.js +0 -12
  2738. package/script/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts +0 -35
  2739. package/script/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts.map +0 -1
  2740. package/script/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.js +0 -237
  2741. package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +0 -1
  2742. package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize.js +0 -11
  2743. package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +0 -1
  2744. package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.js +0 -80
  2745. package/script/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts +0 -2
  2746. package/script/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts.map +0 -1
  2747. package/script/deps/jsr.io/@std/path/1.0.8/_common/relative.js +0 -12
  2748. package/script/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +0 -1
  2749. package/script/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.js +0 -22
  2750. package/script/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +0 -1
  2751. package/script/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.js +0 -18
  2752. package/script/deps/jsr.io/@std/path/1.0.8/_os.d.ts +0 -2
  2753. package/script/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +0 -1
  2754. package/script/deps/jsr.io/@std/path/1.0.8/_os.js +0 -35
  2755. package/script/deps/jsr.io/@std/path/1.0.8/basename.d.ts +0 -28
  2756. package/script/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +0 -1
  2757. package/script/deps/jsr.io/@std/path/1.0.8/basename.js +0 -39
  2758. package/script/deps/jsr.io/@std/path/1.0.8/common.d.ts +0 -28
  2759. package/script/deps/jsr.io/@std/path/1.0.8/common.d.ts.map +0 -1
  2760. package/script/deps/jsr.io/@std/path/1.0.8/common.js +0 -36
  2761. package/script/deps/jsr.io/@std/path/1.0.8/constants.d.ts +0 -15
  2762. package/script/deps/jsr.io/@std/path/1.0.8/constants.d.ts.map +0 -1
  2763. package/script/deps/jsr.io/@std/path/1.0.8/constants.js +0 -20
  2764. package/script/deps/jsr.io/@std/path/1.0.8/dirname.d.ts +0 -23
  2765. package/script/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +0 -1
  2766. package/script/deps/jsr.io/@std/path/1.0.8/dirname.js +0 -32
  2767. package/script/deps/jsr.io/@std/path/1.0.8/extname.d.ts +0 -23
  2768. package/script/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +0 -1
  2769. package/script/deps/jsr.io/@std/path/1.0.8/extname.js +0 -32
  2770. package/script/deps/jsr.io/@std/path/1.0.8/format.d.ts +0 -22
  2771. package/script/deps/jsr.io/@std/path/1.0.8/format.d.ts.map +0 -1
  2772. package/script/deps/jsr.io/@std/path/1.0.8/format.js +0 -30
  2773. package/script/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts +0 -22
  2774. package/script/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts.map +0 -1
  2775. package/script/deps/jsr.io/@std/path/1.0.8/from_file_url.js +0 -31
  2776. package/script/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts +0 -77
  2777. package/script/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts.map +0 -1
  2778. package/script/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.js +0 -86
  2779. package/script/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +0 -1
  2780. package/script/deps/jsr.io/@std/path/1.0.8/is_absolute.js +0 -31
  2781. package/script/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts +0 -17
  2782. package/script/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts.map +0 -1
  2783. package/script/deps/jsr.io/@std/path/1.0.8/is_glob.js +0 -45
  2784. package/script/deps/jsr.io/@std/path/1.0.8/join.d.ts +0 -23
  2785. package/script/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +0 -1
  2786. package/script/deps/jsr.io/@std/path/1.0.8/join.js +0 -32
  2787. package/script/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts +0 -28
  2788. package/script/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts.map +0 -1
  2789. package/script/deps/jsr.io/@std/path/1.0.8/join_globs.js +0 -37
  2790. package/script/deps/jsr.io/@std/path/1.0.8/mod.d.ts +0 -54
  2791. package/script/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +0 -1
  2792. package/script/deps/jsr.io/@std/path/1.0.8/mod.js +0 -73
  2793. package/script/deps/jsr.io/@std/path/1.0.8/normalize.d.ts +0 -27
  2794. package/script/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +0 -1
  2795. package/script/deps/jsr.io/@std/path/1.0.8/normalize.js +0 -36
  2796. package/script/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts +0 -29
  2797. package/script/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts.map +0 -1
  2798. package/script/deps/jsr.io/@std/path/1.0.8/normalize_glob.js +0 -38
  2799. package/script/deps/jsr.io/@std/path/1.0.8/parse.d.ts +0 -35
  2800. package/script/deps/jsr.io/@std/path/1.0.8/parse.d.ts.map +0 -1
  2801. package/script/deps/jsr.io/@std/path/1.0.8/parse.js +0 -42
  2802. package/script/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +0 -1
  2803. package/script/deps/jsr.io/@std/path/1.0.8/posix/_util.js +0 -11
  2804. package/script/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +0 -40
  2805. package/script/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +0 -1
  2806. package/script/deps/jsr.io/@std/path/1.0.8/posix/basename.js +0 -52
  2807. package/script/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts +0 -13
  2808. package/script/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts.map +0 -1
  2809. package/script/deps/jsr.io/@std/path/1.0.8/posix/constants.js +0 -17
  2810. package/script/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts +0 -32
  2811. package/script/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +0 -1
  2812. package/script/deps/jsr.io/@std/path/1.0.8/posix/dirname.js +0 -65
  2813. package/script/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +0 -37
  2814. package/script/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +0 -1
  2815. package/script/deps/jsr.io/@std/path/1.0.8/posix/extname.js +0 -92
  2816. package/script/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts +0 -24
  2817. package/script/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts.map +0 -1
  2818. package/script/deps/jsr.io/@std/path/1.0.8/posix/format.js +0 -31
  2819. package/script/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts.map +0 -1
  2820. package/script/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.js +0 -24
  2821. package/script/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts +0 -72
  2822. package/script/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts.map +0 -1
  2823. package/script/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.js +0 -85
  2824. package/script/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +0 -1
  2825. package/script/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.js +0 -26
  2826. package/script/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +0 -33
  2827. package/script/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +0 -1
  2828. package/script/deps/jsr.io/@std/path/1.0.8/posix/join.js +0 -45
  2829. package/script/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts +0 -20
  2830. package/script/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts.map +0 -1
  2831. package/script/deps/jsr.io/@std/path/1.0.8/posix/join_globs.js +0 -43
  2832. package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +0 -40
  2833. package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +0 -1
  2834. package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize.js +0 -60
  2835. package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts +0 -20
  2836. package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts.map +0 -1
  2837. package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.js +0 -35
  2838. package/script/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts +0 -25
  2839. package/script/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts.map +0 -1
  2840. package/script/deps/jsr.io/@std/path/1.0.8/posix/parse.js +0 -118
  2841. package/script/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts +0 -20
  2842. package/script/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts.map +0 -1
  2843. package/script/deps/jsr.io/@std/path/1.0.8/posix/relative.js +0 -109
  2844. package/script/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts +0 -17
  2845. package/script/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts.map +0 -1
  2846. package/script/deps/jsr.io/@std/path/1.0.8/posix/resolve.js +0 -85
  2847. package/script/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +0 -1
  2848. package/script/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.js +0 -30
  2849. package/script/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts +0 -16
  2850. package/script/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts.map +0 -1
  2851. package/script/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.js +0 -23
  2852. package/script/deps/jsr.io/@std/path/1.0.8/relative.d.ts +0 -24
  2853. package/script/deps/jsr.io/@std/path/1.0.8/relative.d.ts.map +0 -1
  2854. package/script/deps/jsr.io/@std/path/1.0.8/relative.js +0 -33
  2855. package/script/deps/jsr.io/@std/path/1.0.8/resolve.d.ts +0 -22
  2856. package/script/deps/jsr.io/@std/path/1.0.8/resolve.d.ts.map +0 -1
  2857. package/script/deps/jsr.io/@std/path/1.0.8/resolve.js +0 -33
  2858. package/script/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +0 -1
  2859. package/script/deps/jsr.io/@std/path/1.0.8/to_file_url.js +0 -31
  2860. package/script/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts +0 -21
  2861. package/script/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts.map +0 -1
  2862. package/script/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.js +0 -32
  2863. package/script/deps/jsr.io/@std/path/1.0.8/types.d.ts +0 -38
  2864. package/script/deps/jsr.io/@std/path/1.0.8/types.d.ts.map +0 -1
  2865. package/script/deps/jsr.io/@std/path/1.0.8/types.js +0 -4
  2866. package/script/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +0 -1
  2867. package/script/deps/jsr.io/@std/path/1.0.8/windows/_util.js +0 -20
  2868. package/script/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts +0 -23
  2869. package/script/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +0 -1
  2870. package/script/deps/jsr.io/@std/path/1.0.8/windows/basename.js +0 -47
  2871. package/script/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts +0 -13
  2872. package/script/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts.map +0 -1
  2873. package/script/deps/jsr.io/@std/path/1.0.8/windows/constants.js +0 -17
  2874. package/script/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +0 -20
  2875. package/script/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +0 -1
  2876. package/script/deps/jsr.io/@std/path/1.0.8/windows/dirname.js +0 -115
  2877. package/script/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts +0 -20
  2878. package/script/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +0 -1
  2879. package/script/deps/jsr.io/@std/path/1.0.8/windows/extname.js +0 -84
  2880. package/script/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts +0 -24
  2881. package/script/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts.map +0 -1
  2882. package/script/deps/jsr.io/@std/path/1.0.8/windows/format.js +0 -31
  2883. package/script/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts.map +0 -1
  2884. package/script/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.js +0 -33
  2885. package/script/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts +0 -71
  2886. package/script/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts.map +0 -1
  2887. package/script/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.js +0 -85
  2888. package/script/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +0 -1
  2889. package/script/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.js +0 -41
  2890. package/script/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +0 -20
  2891. package/script/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +0 -1
  2892. package/script/deps/jsr.io/@std/path/1.0.8/windows/join.js +0 -77
  2893. package/script/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts +0 -21
  2894. package/script/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts.map +0 -1
  2895. package/script/deps/jsr.io/@std/path/1.0.8/windows/join_globs.js +0 -44
  2896. package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts +0 -22
  2897. package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +0 -1
  2898. package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize.js +0 -137
  2899. package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts +0 -20
  2900. package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts.map +0 -1
  2901. package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.js +0 -35
  2902. package/script/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts +0 -25
  2903. package/script/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts.map +0 -1
  2904. package/script/deps/jsr.io/@std/path/1.0.8/windows/parse.js +0 -179
  2905. package/script/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts +0 -23
  2906. package/script/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts.map +0 -1
  2907. package/script/deps/jsr.io/@std/path/1.0.8/windows/relative.js +0 -134
  2908. package/script/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts +0 -17
  2909. package/script/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts.map +0 -1
  2910. package/script/deps/jsr.io/@std/path/1.0.8/windows/resolve.js +0 -180
  2911. package/script/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +0 -1
  2912. package/script/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.js +0 -37
  2913. package/script/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts +0 -17
  2914. package/script/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts.map +0 -1
  2915. package/script/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.js +0 -52
  2916. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts +0 -2
  2917. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.d.ts.map +0 -1
  2918. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/mod.js +0 -6
  2919. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.d.ts +0 -2
  2920. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.d.ts.map +0 -1
  2921. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/utils/uint8.js +0 -13
  2922. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts +0 -28
  2923. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.d.ts.map +0 -1
  2924. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/deflate.js +0 -166
  2925. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts +0 -24
  2926. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.d.ts.map +0 -1
  2927. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/inflate.js +0 -202
  2928. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.d.ts +0 -3
  2929. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.d.ts.map +0 -1
  2930. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/mod.js +0 -18
  2931. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.d.ts +0 -2
  2932. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.d.ts.map +0 -1
  2933. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/adler32.js +0 -22
  2934. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.d.ts +0 -3
  2935. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.d.ts.map +0 -1
  2936. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/crc32.js +0 -29
  2937. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.d.ts +0 -79
  2938. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.d.ts.map +0 -1
  2939. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/deflate.js +0 -1976
  2940. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.d.ts +0 -13
  2941. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.d.ts.map +0 -1
  2942. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/gzheader.js +0 -88
  2943. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.d.ts +0 -2
  2944. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.d.ts.map +0 -1
  2945. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inffast.js +0 -324
  2946. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.d.ts +0 -48
  2947. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.d.ts.map +0 -1
  2948. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inflate.js +0 -1676
  2949. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.d.ts +0 -2
  2950. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.d.ts.map +0 -1
  2951. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/inftrees.js +0 -358
  2952. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.d.ts +0 -13
  2953. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.d.ts.map +0 -1
  2954. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/messages.js +0 -14
  2955. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.d.ts +0 -31
  2956. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.d.ts.map +0 -1
  2957. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/status.js +0 -44
  2958. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.d.ts +0 -6
  2959. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.d.ts.map +0 -1
  2960. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/trees.js +0 -1114
  2961. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.d.ts +0 -15
  2962. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.d.ts.map +0 -1
  2963. package/script/deps/raw.githubusercontent.com/MTKruto/compress/main/zlib/zlib/zstream.js +0 -89
  2964. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts +0 -45
  2965. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.d.ts.map +0 -1
  2966. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/client.js +0 -280
  2967. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts +0 -3
  2968. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.d.ts.map +0 -1
  2969. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/deps.js +0 -5
  2970. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts +0 -3
  2971. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.d.ts.map +0 -1
  2972. package/script/deps/raw.githubusercontent.com/MTKruto/socks5/main/utils.js +0 -39
  2973. package/script/tl/0_api.d.ts +0 -15839
  2974. package/script/tl/0_api.d.ts.map +0 -1
  2975. package/script/tl/0_api.js +0 -24772
  2976. package/script/tl/0_tl_raw_reader.d.ts +0 -36
  2977. package/script/tl/0_tl_raw_reader.d.ts.map +0 -1
  2978. package/script/tl/0_tl_raw_reader.js +0 -92
  2979. package/script/tl/0_tl_raw_writer.d.ts +0 -34
  2980. package/script/tl/0_tl_raw_writer.d.ts.map +0 -1
  2981. package/script/tl/0_tl_raw_writer.js +0 -90
  2982. package/script/tl/2_deserialize.d.ts +0 -23
  2983. package/script/tl/2_deserialize.d.ts.map +0 -1
  2984. package/script/tl/2_deserialize.js +0 -98
  2985. package/script/tl/2_serialize.d.ts +0 -22
  2986. package/script/tl/2_serialize.d.ts.map +0 -1
  2987. package/script/tl/2_serialize.js +0 -163
  2988. package/script/tl/3_tl_reader.d.ts +0 -26
  2989. package/script/tl/3_tl_reader.d.ts.map +0 -1
  2990. package/script/tl/3_tl_reader.js +0 -53
  2991. package/script/tl/3_utilities.d.ts +0 -34
  2992. package/script/tl/3_utilities.d.ts.map +0 -1
  2993. package/script/tl/3_utilities.js +0 -97
  2994. package/script/tl/4_rpc_result.d.ts +0 -27
  2995. package/script/tl/4_rpc_result.d.ts.map +0 -1
  2996. package/script/tl/4_rpc_result.js +0 -32
  2997. package/script/tl/4_tl_writer.d.ts +0 -25
  2998. package/script/tl/4_tl_writer.d.ts.map +0 -1
  2999. package/script/tl/4_tl_writer.js +0 -49
  3000. package/script/tl/5_message.d.ts +0 -39
  3001. package/script/tl/5_message.d.ts.map +0 -1
  3002. package/script/tl/5_message.js +0 -106
  3003. package/script/transport/2_transport_provider.d.ts +0 -35
  3004. package/script/transport/2_transport_provider.d.ts.map +0 -1
  3005. package/script/transport/2_transport_provider.js +0 -86
  3006. package/script/transport/3_transport_provider_tcp.d.ts +0 -14
  3007. package/script/transport/3_transport_provider_tcp.d.ts.map +0 -1
  3008. package/script/transport/3_transport_provider_tcp.js +0 -18
  3009. package/script/transport/3_transport_provider_web_socket.d.ts +0 -24
  3010. package/script/transport/3_transport_provider_web_socket.d.ts.map +0 -1
  3011. package/script/transport/3_transport_provider_web_socket.js +0 -47
  3012. package/script/types/0_link_preview.d.ts +0 -35
  3013. package/script/types/0_link_preview.d.ts.map +0 -1
  3014. package/script/types/0_link_preview.js +0 -31
  3015. package/script/types/0_message_entity.d.ts +0 -139
  3016. package/script/types/0_message_entity.d.ts.map +0 -1
  3017. package/script/types/0_message_entity.js +0 -188
  3018. package/script/types/0_mini_app_info.d.ts +0 -26
  3019. package/script/types/0_mini_app_info.d.ts.map +0 -1
  3020. package/script/types/0_mini_app_info.js +0 -25
  3021. package/script/types/0_opening_hours.d.ts +0 -26
  3022. package/script/types/0_opening_hours.d.ts.map +0 -1
  3023. package/script/types/0_opening_hours.js +0 -28
  3024. package/script/types/1_input_media.d.ts +0 -122
  3025. package/script/types/1_input_media.d.ts.map +0 -1
  3026. package/script/types/1_input_media.js +0 -21
  3027. package/script/types/1_message_content.d.ts +0 -119
  3028. package/script/types/1_message_content.d.ts.map +0 -1
  3029. package/script/types/1_message_content.js +0 -21
  3030. package/script/types/1_poll_option.d.ts +0 -32
  3031. package/script/types/1_poll_option.d.ts.map +0 -1
  3032. package/script/types/1_poll_option.js +0 -30
  3033. package/script/types/1_reply_quote.d.ts +0 -32
  3034. package/script/types/1_reply_quote.d.ts.map +0 -1
  3035. package/script/types/1_reply_quote.js +0 -33
  3036. package/script/types/1_story_privacy.d.ts +0 -46
  3037. package/script/types/1_story_privacy.d.ts.map +0 -1
  3038. package/script/types/1_story_privacy.js +0 -80
  3039. package/script/types/1_user.d.ts +0 -56
  3040. package/script/types/1_user.d.ts.map +0 -1
  3041. package/script/types/1_user.js +0 -50
  3042. package/script/types/2_business_connection.d.ts +0 -37
  3043. package/script/types/2_business_connection.d.ts.map +0 -1
  3044. package/script/types/2_business_connection.js +0 -33
  3045. package/script/types/2_chosen_inline_result.d.ts +0 -38
  3046. package/script/types/2_chosen_inline_result.d.ts.map +0 -1
  3047. package/script/types/2_chosen_inline_result.js +0 -40
  3048. package/script/types/2_forward_header.d.ts +0 -40
  3049. package/script/types/2_forward_header.d.ts.map +0 -1
  3050. package/script/types/2_forward_header.js +0 -58
  3051. package/script/types/2_game.d.ts +0 -40
  3052. package/script/types/2_game.d.ts.map +0 -1
  3053. package/script/types/2_game.js +0 -47
  3054. package/script/types/2_inline_keyboard_button.d.ts +0 -138
  3055. package/script/types/2_inline_keyboard_button.d.ts.map +0 -1
  3056. package/script/types/2_inline_keyboard_button.js +0 -121
  3057. package/script/types/2_inline_query.d.ts +0 -40
  3058. package/script/types/2_inline_query.d.ts.map +0 -1
  3059. package/script/types/2_inline_query.js +0 -63
  3060. package/script/types/2_invite_link.d.ts +0 -47
  3061. package/script/types/2_invite_link.d.ts.map +0 -1
  3062. package/script/types/2_invite_link.js +0 -51
  3063. package/script/types/2_message_reactions.d.ts +0 -43
  3064. package/script/types/2_message_reactions.d.ts.map +0 -1
  3065. package/script/types/2_message_reactions.js +0 -59
  3066. package/script/types/2_poll.d.ts +0 -55
  3067. package/script/types/2_poll.d.ts.map +0 -1
  3068. package/script/types/2_poll.js +0 -46
  3069. package/script/types/2_pre_checkout_query.d.ts +0 -34
  3070. package/script/types/2_pre_checkout_query.d.ts.map +0 -1
  3071. package/script/types/2_pre_checkout_query.js +0 -42
  3072. package/script/types/2_reply_to.d.ts +0 -35
  3073. package/script/types/2_reply_to.d.ts.map +0 -1
  3074. package/script/types/2_reply_to.js +0 -21
  3075. package/script/types/3_chat_member_updated.d.ts +0 -44
  3076. package/script/types/3_chat_member_updated.d.ts.map +0 -1
  3077. package/script/types/3_chat_member_updated.js +0 -56
  3078. package/script/types/3_join_request.d.ts +0 -39
  3079. package/script/types/3_join_request.d.ts.map +0 -1
  3080. package/script/types/3_join_request.js +0 -48
  3081. package/script/types/3_reply_markup.d.ts +0 -71
  3082. package/script/types/3_reply_markup.d.ts.map +0 -1
  3083. package/script/types/3_reply_markup.js +0 -131
  3084. package/script/types/4_inline_query_result.d.ts +0 -251
  3085. package/script/types/4_inline_query_result.d.ts.map +0 -1
  3086. package/script/types/4_inline_query_result.js +0 -384
  3087. package/script/types/4_message.d.ts +0 -615
  3088. package/script/types/4_message.d.ts.map +0 -1
  3089. package/script/types/4_message.js +0 -537
  3090. package/script/types/5_callback_query.d.ts +0 -43
  3091. package/script/types/5_callback_query.d.ts.map +0 -1
  3092. package/script/types/5_callback_query.js +0 -64
  3093. package/script/types/5_chat_list_item.d.ts +0 -36
  3094. package/script/types/5_chat_list_item.d.ts.map +0 -1
  3095. package/script/types/5_chat_list_item.js +0 -93
  3096. package/script/types/5_inline_query_answer.d.ts +0 -32
  3097. package/script/types/5_inline_query_answer.d.ts.map +0 -1
  3098. package/script/types/5_inline_query_answer.js +0 -31
  3099. package/script/types/6_update.d.ts +0 -388
  3100. package/script/types/6_update.d.ts.map +0 -1
  3101. package/script/types/6_update.js +0 -21
  3102. package/script/utilities/0_bigint.d.ts +0 -29
  3103. package/script/utilities/0_bigint.d.ts.map +0 -1
  3104. package/script/utilities/0_bigint.js +0 -98
  3105. package/script/utilities/0_buffer.d.ts +0 -21
  3106. package/script/utilities/0_buffer.d.ts.map +0 -1
  3107. package/script/utilities/0_buffer.js +0 -54
  3108. package/script/utilities/0_cache_map.d.ts +0 -26
  3109. package/script/utilities/0_cache_map.d.ts.map +0 -1
  3110. package/script/utilities/0_cache_map.js +0 -56
  3111. package/script/utilities/0_crypto.d.ts +0 -27
  3112. package/script/utilities/0_crypto.d.ts.map +0 -1
  3113. package/script/utilities/0_crypto.js +0 -52
  3114. package/script/utilities/1_misc.d.ts +0 -29
  3115. package/script/utilities/1_misc.d.ts.map +0 -1
  3116. package/script/utilities/1_misc.js +0 -82
  3117. /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.19}/assertion_error.d.ts +0 -0
  3118. /package/esm/deps/jsr.io/@std/assert/{1.0.7 → 1.0.19}/unreachable.d.ts +0 -0
  3119. /package/esm/deps/jsr.io/@std/internal/{1.0.5 → 1.0.12}/diff.d.ts +0 -0
  3120. /package/esm/deps/jsr.io/@std/internal/{1.0.5 → 1.0.12}/diff_str.d.ts +0 -0
  3121. /package/esm/deps/jsr.io/@std/internal/{1.0.5 → 1.0.12}/styles.d.ts +0 -0
  3122. /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.3}/_constants.d.ts +0 -0
  3123. /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.3}/iterate_reader.d.ts +0 -0
  3124. /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.3}/types.d.ts +0 -0
  3125. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_db.js +0 -0
  3126. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.d.ts +0 -0
  3127. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.js +0 -0
  3128. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.d.ts +0 -0
  3129. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.js +0 -0
  3130. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.d.ts +0 -0
  3131. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.js +0 -0
  3132. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.d.ts +0 -0
  3133. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.js +0 -0
  3134. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.d.ts +0 -0
  3135. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.js +0 -0
  3136. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.d.ts +0 -0
  3137. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.js +0 -0
  3138. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.d.ts +0 -0
  3139. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.js +0 -0
  3140. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/type_by_extension.d.ts +0 -0
  3141. /package/esm/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/type_by_extension.js +0 -0
  3142. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/assert_path.d.ts +0 -0
  3143. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/basename.d.ts +0 -0
  3144. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/constants.d.ts +0 -0
  3145. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/from_file_url.d.ts +0 -0
  3146. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/normalize.d.ts +0 -0
  3147. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/normalize_string.d.ts +0 -0
  3148. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/strip_trailing_separators.d.ts +0 -0
  3149. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/to_file_url.d.ts +0 -0
  3150. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/is_absolute.d.ts +0 -0
  3151. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/_util.d.ts +0 -0
  3152. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/from_file_url.d.ts +0 -0
  3153. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/is_absolute.d.ts +0 -0
  3154. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/to_file_url.d.ts +0 -0
  3155. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/to_file_url.d.ts +0 -0
  3156. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/_util.d.ts +0 -0
  3157. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/from_file_url.d.ts +0 -0
  3158. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/is_absolute.d.ts +0 -0
  3159. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/to_file_url.d.ts +0 -0
  3160. /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.19}/assertion_error.d.ts +0 -0
  3161. /package/script/deps/jsr.io/@std/assert/{1.0.7 → 1.0.19}/unreachable.d.ts +0 -0
  3162. /package/script/deps/jsr.io/@std/internal/{1.0.5 → 1.0.12}/diff.d.ts +0 -0
  3163. /package/script/deps/jsr.io/@std/internal/{1.0.5 → 1.0.12}/diff_str.d.ts +0 -0
  3164. /package/script/deps/jsr.io/@std/internal/{1.0.5 → 1.0.12}/styles.d.ts +0 -0
  3165. /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.3}/_constants.d.ts +0 -0
  3166. /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.3}/iterate_reader.d.ts +0 -0
  3167. /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.3}/types.d.ts +0 -0
  3168. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_db.js +0 -0
  3169. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.d.ts +0 -0
  3170. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/_util.js +0 -0
  3171. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.d.ts +0 -0
  3172. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/all_extensions.js +0 -0
  3173. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.d.ts +0 -0
  3174. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/content_type.js +0 -0
  3175. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.d.ts +0 -0
  3176. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/extension.js +0 -0
  3177. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.d.ts +0 -0
  3178. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/format_media_type.js +0 -0
  3179. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.d.ts +0 -0
  3180. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/get_charset.js +0 -0
  3181. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.d.ts +0 -0
  3182. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/parse_media_type.js +0 -0
  3183. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/type_by_extension.d.ts +0 -0
  3184. /package/script/deps/jsr.io/@std/media-types/{1.0.3 → 1.1.0}/type_by_extension.js +0 -0
  3185. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/assert_path.d.ts +0 -0
  3186. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/basename.d.ts +0 -0
  3187. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/constants.d.ts +0 -0
  3188. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/from_file_url.d.ts +0 -0
  3189. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/normalize.d.ts +0 -0
  3190. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/normalize_string.d.ts +0 -0
  3191. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/strip_trailing_separators.d.ts +0 -0
  3192. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/to_file_url.d.ts +0 -0
  3193. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/is_absolute.d.ts +0 -0
  3194. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/_util.d.ts +0 -0
  3195. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/from_file_url.d.ts +0 -0
  3196. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/is_absolute.d.ts +0 -0
  3197. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/to_file_url.d.ts +0 -0
  3198. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/to_file_url.d.ts +0 -0
  3199. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/_util.d.ts +0 -0
  3200. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/from_file_url.d.ts +0 -0
  3201. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/is_absolute.d.ts +0 -0
  3202. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/to_file_url.d.ts +0 -0
@@ -0,0 +1,2493 @@
1
+ /**
2
+ * MTKruto - Cross-runtime JavaScript library for building Telegram clients
3
+ * Copyright (C) 2023-2026 Roj <https://roj.im/>
4
+ *
5
+ * This file is part of MTKruto.
6
+ *
7
+ * This program is free software: you can redistribute it and/or modify
8
+ * it under the terms of the GNU Lesser General Public License as published by
9
+ * the Free Software Foundation, either version 3 of the License, or
10
+ * (at your option) any later version.
11
+ *
12
+ * This program is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ * GNU Lesser General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public License
18
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+ */
20
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
21
+ if (kind === "m") throw new TypeError("Private method is not writable");
22
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
23
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
24
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
25
+ };
26
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
27
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
28
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
29
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
30
+ };
31
+ var _ClientDispatcher_instances, _ClientDispatcher_worker, _ClientDispatcher_id, _ClientDispatcher_L, _ClientDispatcher_LsignIn, _ClientDispatcher_pendingRequests, _ClientDispatcher_dispatch, _ClientDispatcher_isInited, _ClientDispatcher_invoke, _ClientDispatcher_handleInvokeError;
32
+ import { getLogger } from "../1_utilities.js";
33
+ import { DOWNLOAD_MAX_CHUNK_SIZE } from "../4_constants.js";
34
+ import { deserializeWorkerError } from "./0_worker_error.js";
35
+ import { skipInvoke } from "./1_invoke_middleware.js";
36
+ import { signIn } from "./2_sign_in.js";
37
+ import { Composer } from "./5_composer.js";
38
+ export class ClientDispatcher extends Composer {
39
+ constructor(worker, id) {
40
+ super();
41
+ _ClientDispatcher_instances.add(this);
42
+ _ClientDispatcher_worker.set(this, void 0);
43
+ _ClientDispatcher_id.set(this, void 0);
44
+ _ClientDispatcher_L.set(this, void 0);
45
+ _ClientDispatcher_LsignIn.set(this, void 0);
46
+ // deno-lint-ignore no-explicit-any
47
+ _ClientDispatcher_pendingRequests.set(this, new Map());
48
+ _ClientDispatcher_isInited.set(this, false);
49
+ _ClientDispatcher_handleInvokeError.set(this, skipInvoke());
50
+ /**
51
+ * Invokes a function waiting and returning its reply.
52
+ * Requires the client to be connected.
53
+ *
54
+ * @param function_ The function to invoke.
55
+ */
56
+ Object.defineProperty(this, "invoke", {
57
+ enumerable: true,
58
+ configurable: true,
59
+ writable: true,
60
+ value: Object.assign(__classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_invoke), {
61
+ use: (handler) => {
62
+ const handle = __classPrivateFieldGet(this, _ClientDispatcher_handleInvokeError, "f");
63
+ __classPrivateFieldSet(this, _ClientDispatcher_handleInvokeError, async (ctx, next) => {
64
+ let result = null;
65
+ return await handle(ctx, async () => {
66
+ if (result !== null)
67
+ return result;
68
+ result = await handler(ctx, next);
69
+ return result;
70
+ });
71
+ }, "f");
72
+ },
73
+ })
74
+ });
75
+ __classPrivateFieldSet(this, _ClientDispatcher_worker, worker, "f");
76
+ __classPrivateFieldSet(this, _ClientDispatcher_id, id, "f");
77
+ __classPrivateFieldSet(this, _ClientDispatcher_L, getLogger("ClientDispatcher").branch(__classPrivateFieldGet(this, _ClientDispatcher_id, "f")), "f");
78
+ __classPrivateFieldSet(this, _ClientDispatcher_LsignIn, __classPrivateFieldGet(this, _ClientDispatcher_L, "f").branch("signIn"), "f");
79
+ }
80
+ /** @internal */
81
+ async handleResponse(response) {
82
+ if (response.clientId !== __classPrivateFieldGet(this, _ClientDispatcher_id, "f")) {
83
+ return;
84
+ }
85
+ __classPrivateFieldGet(this, _ClientDispatcher_L, "f").debug("handling response message", response);
86
+ if (response.isError) {
87
+ __classPrivateFieldGet(this, _ClientDispatcher_pendingRequests, "f").get(response.id)?.reject(deserializeWorkerError(response.data));
88
+ __classPrivateFieldGet(this, _ClientDispatcher_pendingRequests, "f").delete(response.id);
89
+ }
90
+ else {
91
+ if (response.id === "") {
92
+ try {
93
+ await this.handleUpdate(this, response.data);
94
+ }
95
+ catch (err) {
96
+ __classPrivateFieldGet(this, _ClientDispatcher_L, "f").error("Error handling update:", err);
97
+ }
98
+ }
99
+ else {
100
+ __classPrivateFieldGet(this, _ClientDispatcher_pendingRequests, "f").get(response.id)?.resolve(response.data);
101
+ __classPrivateFieldGet(this, _ClientDispatcher_pendingRequests, "f").delete(response.id);
102
+ }
103
+ }
104
+ }
105
+ get id() {
106
+ return __classPrivateFieldGet(this, _ClientDispatcher_id, "f");
107
+ }
108
+ async init(params) {
109
+ if (__classPrivateFieldGet(this, _ClientDispatcher_isInited, "f")) {
110
+ return;
111
+ }
112
+ __classPrivateFieldSet(this, _ClientDispatcher_isInited, true, "f");
113
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "initClient", params);
114
+ }
115
+ async connect() {
116
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "connect");
117
+ }
118
+ async disconnect() {
119
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disconnect");
120
+ }
121
+ async start(params) {
122
+ await this.connect();
123
+ await this.signIn(params);
124
+ }
125
+ /** @internal */
126
+ async handleInvokeError(request) {
127
+ const args = request.args[0];
128
+ return await __classPrivateFieldGet(this, _ClientDispatcher_handleInvokeError, "f").call(this, {
129
+ client: this,
130
+ error: deserializeWorkerError(args.error),
131
+ function: args.function,
132
+ n: args.n,
133
+ }, () => Promise.resolve(false));
134
+ }
135
+ /**
136
+ * Send a user verification code.
137
+ *
138
+ * @param phoneNumber The phone number to send the code to.
139
+ * @method ac
140
+ */
141
+ async sendCode(phoneNumber) {
142
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendCode", phoneNumber);
143
+ }
144
+ /**
145
+ * Check if a code entered by the user was the same as the verification code.
146
+ *
147
+ * @param code A code entered by the user.
148
+ * @method ac
149
+ */
150
+ async checkCode(code) {
151
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "checkCode", code);
152
+ }
153
+ /**
154
+ * Get the user account password's hint.
155
+ *
156
+ * @method ac
157
+ */
158
+ async getPasswordHint() {
159
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getPasswordHint");
160
+ }
161
+ /**
162
+ * Check whether a password entered by the user is the same as the account's one.
163
+ *
164
+ * @param password The password to check
165
+ * @returns The result of the check.
166
+ * @method ac
167
+ */
168
+ async checkPassword(password) {
169
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "checkPassword", password);
170
+ }
171
+ /**
172
+ * Check whether a bot token is valid.
173
+ *
174
+ * @param password The password to check
175
+ * @returns The result of the check.
176
+ * @method ac
177
+ */
178
+ async checkBotToken(botToken) {
179
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "checkBotToken", botToken);
180
+ }
181
+ /**
182
+ * Signs in using the provided parameters if not already signed in.
183
+ * If no parameters are provided, the credentials will be prompted in runtime.
184
+ *
185
+ * Notes:
186
+ * 1. Requires the `apiId` and `apiHash` paramters to be passed when constructing the client.
187
+ * 3. Reconnects the client to the appropriate DC in case of MIGRATE_X errors.
188
+ */
189
+ async signIn(params) {
190
+ await signIn(this, __classPrivateFieldGet(this, _ClientDispatcher_LsignIn, "f"), params);
191
+ }
192
+ async signOut() {
193
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "signOut");
194
+ }
195
+ async exportAuthString() {
196
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "exportAuthString");
197
+ }
198
+ async importAuthString(authString) {
199
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "importAuthString", authString);
200
+ }
201
+ /**
202
+ * Get a chat's inputPeer. Useful when calling API functions directly.
203
+ *
204
+ * @param id The identifier of a chat.
205
+ */
206
+ async getInputPeer(id) {
207
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getInputPeer", id);
208
+ }
209
+ /**
210
+ * Get a channel or a supergroup's inputChannel. Useful when calling API functions directly.
211
+ *
212
+ * @param id The identifier of the channel or the supergroup.
213
+ */
214
+ async getInputChannel(id) {
215
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getInputChannel", id);
216
+ }
217
+ /**
218
+ * Get a user's inputUser. Useful when calling API functions directly.
219
+ *
220
+ * @param id The identifier of the user.
221
+ */
222
+ async getInputUser(id) {
223
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getInputUser", id);
224
+ }
225
+ //
226
+ // ========================= ACCOUNT ========================= //
227
+ //
228
+ /**
229
+ * Get information on the currently authorized user.
230
+ *
231
+ * @method ac
232
+ * @returns Information on the currently authorized user.
233
+ */
234
+ async getMe() {
235
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMe");
236
+ }
237
+ /**
238
+ * Show a username in the current account, a bot account, a supergroup, or a channel's profile. User-only.
239
+ *
240
+ * @method ac
241
+ * @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
242
+ * @param username The username to show.
243
+ */
244
+ async showUsername(id, username) {
245
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "showUsername", id, username);
246
+ }
247
+ /**
248
+ * Hide a username from the current account, a bot account, a supergroup, or a channel's profile. User-only.
249
+ *
250
+ * @method ac
251
+ * @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
252
+ * @param username The username to hide.
253
+ */
254
+ async hideUsername(id, username) {
255
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "hideUsername", id, username);
256
+ }
257
+ /**
258
+ * Check the availability of a username. User-only.
259
+ *
260
+ * @method ac
261
+ * @param username The username to check.
262
+ * @returns Whether the username is available.
263
+ */
264
+ async checkUsername(username, params) {
265
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "checkUsername", username, params);
266
+ }
267
+ /**
268
+ * Set the username of the current account. User-only.
269
+ *
270
+ * @method ac
271
+ * @param username The username to set.
272
+ */
273
+ async setUsername(username) {
274
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setUsername", username);
275
+ }
276
+ /**
277
+ * Remove the current account's username. User-only.
278
+ *
279
+ * @method ac
280
+ */
281
+ async removeUsername() {
282
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeUsername");
283
+ }
284
+ /**
285
+ * Reorder the usernames of the current account, a bot account, a supergroup, or a channel's profile. User-only.
286
+ *
287
+ * @method ac
288
+ * @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
289
+ * @param order The new order to use.
290
+ * @returns Whether the order was changed.
291
+ */
292
+ async reorderUsernames(id, order) {
293
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "reorderUsernames", id, order);
294
+ }
295
+ /**
296
+ * Hide all usernames from a supergroup or a channel's profile. User-only.
297
+ *
298
+ * @method ac
299
+ * @param id A supergroup ID or a channel ID.
300
+ * @returns Whether any username was hidden.
301
+ */
302
+ async hideUsernames(id) {
303
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "hideUsernames", id);
304
+ }
305
+ /**
306
+ * Get a business connection. Bot-only.
307
+ *
308
+ * @method ac
309
+ * @param id The identifier of the business connection.
310
+ * @cache
311
+ */
312
+ async getBusinessConnection(id) {
313
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getBusinessConnection", id);
314
+ }
315
+ /**
316
+ * Set the current account's online status. User-only.
317
+ *
318
+ * @method ac
319
+ * @param isOnline The new online status.
320
+ */
321
+ async setIsOnline(isOnline) {
322
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setOnline", isOnline);
323
+ }
324
+ /**
325
+ * Set the current account's emoji status. User-only.
326
+ *
327
+ * @method ac
328
+ * @param emojiStatus The emoji or gift to set as the new emoji status.
329
+ */
330
+ async setEmojiStatus(emojiStatus, params) {
331
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setEmojiStatus", emojiStatus, params);
332
+ }
333
+ /**
334
+ * Remove the current account's emoji status. User-only.
335
+ *
336
+ * @method ac
337
+ */
338
+ async removeEmojiStatus() {
339
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeEmojiStatus");
340
+ }
341
+ /**
342
+ * Set the emoji status of a channel. User-only.
343
+ *
344
+ * @method ac
345
+ * @param chatId The identifier of a channel.
346
+ * @param emojiStatus The emoji or gift to set as the new emoji status.
347
+ */
348
+ async setChannelEmojiStatus(chatId, emojiStatus, params) {
349
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChannelEmojiStatus", chatId, emojiStatus, params);
350
+ }
351
+ /**
352
+ * Remove the emoji status of a channel. User-only.
353
+ *
354
+ * @method ac
355
+ * @param chatId The identifier of a channel.
356
+ */
357
+ async removeChannelEmojiStatus(chatId) {
358
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeChannelEmojiStatus", chatId);
359
+ }
360
+ /**
361
+ * Set the emoji status of a bot's user. Bot-only.
362
+ *
363
+ * @method ac
364
+ * @param userId The identifier of a user of the bot.
365
+ * @param emojiStatus The emoji or gift to set as the new emoji status.
366
+ */
367
+ async setUserEmojiStatus(userId, emojiStatus, params) {
368
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setUserEmojiStatus", userId, emojiStatus, params);
369
+ }
370
+ /**
371
+ * Remove the emoji status of a bot's user. Bot-only.
372
+ *
373
+ * @method ac
374
+ * @param userId The identifier of a user of the bot.
375
+ */
376
+ async removeUserEmojiStatus(userId) {
377
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeUserEmojiStatus", userId);
378
+ }
379
+ /**
380
+ * Update the profile of the current user. At least one parameter must be specified. User-only.
381
+ *
382
+ * @method ac
383
+ */
384
+ async updateProfile(params) {
385
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "updateProfile", params);
386
+ }
387
+ /**
388
+ * Set the birthday of the current user. User-only.
389
+ *
390
+ * @method ac
391
+ */
392
+ async setBirthday(params) {
393
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setBirthday", params);
394
+ }
395
+ /**
396
+ * Set the personal channel of the current user. User-only.
397
+ *
398
+ * @method ac
399
+ */
400
+ async setPersonalChannel(params) {
401
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setPersonalChannel", params);
402
+ }
403
+ /**
404
+ * Set the name color of the current user. User-only.
405
+ *
406
+ * @method ac
407
+ * @param color The identifier of the color to set.
408
+ */
409
+ async setNameColor(color, params) {
410
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setNameColor", color, params);
411
+ }
412
+ /**
413
+ * Set the profile color of the current user. User-only.
414
+ *
415
+ * @method ac
416
+ * @param color The identifier of the color to set.
417
+ */
418
+ async setProfileColor(color, params) {
419
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setProfileColor", color, params);
420
+ }
421
+ /**
422
+ * Set the location of the current user. User-only.
423
+ *
424
+ * @method ac
425
+ */
426
+ async setLocation(params) {
427
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setLocation", params);
428
+ }
429
+ /**
430
+ * Set the working hours of the current user. User-only.
431
+ *
432
+ * @method ac
433
+ */
434
+ async setWorkingHours(params) {
435
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setWorkingHours", params);
436
+ }
437
+ /**
438
+ * Enable sponsored messages on the current user. User-only.
439
+ *
440
+ * @method ac
441
+ */
442
+ async enableSponsoredMessages() {
443
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableSponsoredMessages");
444
+ }
445
+ /**
446
+ * Disable sponsored messages on the current user. User-only.
447
+ *
448
+ * @method ac
449
+ */
450
+ async disableSponsoredMessages() {
451
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableSponsoredMessages");
452
+ }
453
+ /**
454
+ * Pause the business bot in a chat. User-only.
455
+ *
456
+ * @method ac
457
+ */
458
+ async pauseBusinessBotConnection(chatId) {
459
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "pauseBusinessBotConnection", chatId);
460
+ }
461
+ /**
462
+ * Resume the business bot in a chat. User-only.
463
+ *
464
+ * @method ac
465
+ */
466
+ async resumeBusinessBotConnection(chatId) {
467
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "resumeBusinessBotConnection", chatId);
468
+ }
469
+ //
470
+ // ========================= MESSAGES ========================= //
471
+ //
472
+ /**
473
+ * Send a text message.
474
+ *
475
+ * @method ms
476
+ * @param chatId The identifier of a chat to send the message to.
477
+ * @param text The message's text.
478
+ * @returns The sent text message.
479
+ */
480
+ async sendMessage(chatId, text, params) {
481
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendMessage", chatId, text, params);
482
+ }
483
+ /**
484
+ * Stream a drafted text message. Bot-only.
485
+ *
486
+ * @method ms
487
+ * @param chatId The identifier of a chat to send the message to.
488
+ * @param draftId The identifier of the draft.
489
+ * @param text The message's text.
490
+ */
491
+ async sendMessageDraft(chatId, draftId, text, params) {
492
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendMessageDraft", chatId, draftId, text, params);
493
+ }
494
+ /**
495
+ * Send a photo.
496
+ *
497
+ * @method ms
498
+ * @param chatId The identifier of a chat to send the photo to.
499
+ * @param photo The photo to send.
500
+ * @returns The sent photo.
501
+ */
502
+ async sendPhoto(chatId, photo, params) {
503
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendPhoto", chatId, photo, params);
504
+ }
505
+ /**
506
+ * Send a document.
507
+ *
508
+ * @method ms
509
+ * @param chatId The identifier of a chat to send the document to.
510
+ * @param document The document to send.
511
+ * @returns The sent document.
512
+ */
513
+ async sendDocument(chatId, document, params) {
514
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendDocument", chatId, document, params);
515
+ }
516
+ /**
517
+ * Send a sticker.
518
+ *
519
+ * @method ms
520
+ * @param chatId The identifier of a chat to send the sticker to.
521
+ * @param document The sticker to send.
522
+ * @returns The sent sticker.
523
+ */
524
+ async sendSticker(chatId, sticker, params) {
525
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendSticker", chatId, sticker, params);
526
+ }
527
+ /**
528
+ * Send a video.
529
+ *
530
+ * @method ms
531
+ * @param chatId The identifier of a chat to send the video to.
532
+ * @param video The video to send.
533
+ * @returns The sent video.
534
+ */
535
+ async sendVideo(chatId, video, params) {
536
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendVideo", chatId, video, params);
537
+ }
538
+ /**
539
+ * Send an animation.
540
+ *
541
+ * @method ms
542
+ * @param chatId The identifier of a chat to send the animation to.
543
+ * @param animation The animation to send.
544
+ * @returns The sent animation.
545
+ */
546
+ async sendAnimation(chatId, animation, params) {
547
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendAnimation", chatId, animation, params);
548
+ }
549
+ /**
550
+ * Send a voice message.
551
+ *
552
+ * @method ms
553
+ * @param chatId The identifier of a chat to send the voice message to.
554
+ * @param voice The voice to send.
555
+ * @returns The sent voice message.
556
+ */
557
+ async sendVoice(chatId, voice, params) {
558
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendVoice", chatId, voice, params);
559
+ }
560
+ /**
561
+ * Send an audio file.
562
+ *
563
+ * @method ms
564
+ * @param chatId The identifier of a chat to send the audio file to.
565
+ * @param audio The audio to send.
566
+ * @returns The sent audio file.
567
+ */
568
+ async sendAudio(chatId, audio, params) {
569
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendAudio", chatId, audio, params);
570
+ }
571
+ /**
572
+ * Send a media group.
573
+ *
574
+ * @method ms
575
+ * @param chatId The identifier of a chat to send the media group to.
576
+ * @param media The media to include in the media group. Animations are not allowed. All of them must be of the same media type, but an exception is that photos and videos can be mixed.
577
+ * @returns The sent messages.
578
+ */
579
+ async sendMediaGroup(chatId, media, params) {
580
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendMediaGroup", chatId, media, params);
581
+ }
582
+ /**
583
+ * Send a video note.
584
+ *
585
+ * @method ms
586
+ * @param chatId The identifier of a chat to send the video note to.
587
+ * @param videoNote The video note to send.
588
+ * @returns The sent video note.
589
+ */
590
+ async sendVideoNote(chatId, videoNote, params) {
591
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendVideoNote", chatId, videoNote, params);
592
+ }
593
+ /**
594
+ * Send a location.
595
+ *
596
+ * @method ms
597
+ * @param chatId The identifier of a chat to send the location to.
598
+ * @param latitude The location's latitude.
599
+ * @param longitude The location's longitude.
600
+ * @returns The sent location.
601
+ */
602
+ async sendLocation(chatId, latitude, longitude, params) {
603
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendLocation", chatId, latitude, longitude, params);
604
+ }
605
+ /**
606
+ * Send a contact.
607
+ *
608
+ * @method ms
609
+ * @param chatId The identifier of a chat to send the contact to.
610
+ * @param firstName The contact's first name.
611
+ * @param number The contact's phone number.
612
+ * @returns The sent contact.
613
+ */
614
+ async sendContact(chatId, firstName, number, params) {
615
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendContact", chatId, firstName, number, params);
616
+ }
617
+ /**
618
+ * Send a dice.
619
+ *
620
+ * @method ms
621
+ * @param chatId The identifier of a chat to send the dice to.
622
+ * @returns The sent dice.
623
+ */
624
+ async sendDice(chatId, params) {
625
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendDice", chatId, params);
626
+ }
627
+ /**
628
+ * Send a venue.
629
+ *
630
+ * @method ms
631
+ * @param chatId The identifier of a chat to send the venue to.
632
+ * @param latitude The latitude of the venue.
633
+ * @param longitude The longitude of the venue.
634
+ * @param title The title of the venue.
635
+ * @param address The written address of the venue.
636
+ * @returns The sent venue.
637
+ */
638
+ async sendVenue(chatId, latitude, longitude, title, address, params) {
639
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendVenue", chatId, latitude, longitude, title, address, params);
640
+ }
641
+ /**
642
+ * Send a poll.
643
+ *
644
+ * @method ms
645
+ * @param chatId The identifier of a chat to send the poll to.
646
+ * @param question The poll's question.
647
+ * @param options The poll's options.
648
+ * @returns The sent poll.
649
+ */
650
+ async sendPoll(chatId, question, options, params) {
651
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendPoll", chatId, question, options, params);
652
+ }
653
+ /**
654
+ * Send a checklist. User-only.
655
+ *
656
+ * @method ms
657
+ * @param chatId The identifier of a chat to send the checklist to.
658
+ * @param title The checklist's title.
659
+ * @param items The checklist's items.
660
+ * @returns The sent checklist.
661
+ */
662
+ async sendChecklist(chatId, title, items, params) {
663
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendChecklist", chatId, title, items, params);
664
+ }
665
+ /**
666
+ * Send an invoice. Bot-only.
667
+ *
668
+ * @method ms
669
+ * @param chatId The identifier of a chat to send the invoice to.
670
+ * @param title The invoice's title.
671
+ * @param description The invoice's description.
672
+ * @param payload The invoice's payload.
673
+ * @param currency The invoice's currency.
674
+ * @param prices The invoice's price tags.
675
+ * @returns The sent invoice.
676
+ */
677
+ async sendInvoice(chatId, title, description, payload, currency, prices, params) {
678
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendInvoice", chatId, title, description, payload, currency, prices, params);
679
+ }
680
+ /**
681
+ * Edit a message's text.
682
+ *
683
+ * @method ms
684
+ * @param chatId The identifier of the chat which the message belongs to.
685
+ * @param messageId The identifier of the message.
686
+ * @param text The new text of the message.
687
+ * @returns The edited text message.
688
+ */
689
+ async editMessageText(chatId, messageId, text, params) {
690
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editMessageText", chatId, messageId, text, params);
691
+ }
692
+ /**
693
+ * Edit a message's caption.
694
+ *
695
+ * @method ms
696
+ * @param chatId The identifier of the chat which the message belongs to.
697
+ * @param messageId The identifier of the message.
698
+ * @param text The new caption of the message.
699
+ * @returns The edited message.
700
+ */
701
+ async editMessageCaption(chatId, messageId, params) {
702
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editMessageCaption", chatId, messageId, params);
703
+ }
704
+ /**
705
+ * Edit a message's media.
706
+ *
707
+ * @method ms
708
+ * @param chatId The identifier of the chat which the message belongs to.
709
+ * @param messageId The identifier of the message.
710
+ * @param media The new media of the message.
711
+ * @returns The edited message.
712
+ */
713
+ async editMessageMedia(chatId, messageId, media, params) {
714
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editMessageMedia", chatId, messageId, media, params);
715
+ }
716
+ /**
717
+ * Edit an inline message's media.
718
+ *
719
+ * @method ms
720
+ * @param inlineMessageId The identifier of the inline message.
721
+ * @param media The new media of the message.
722
+ */
723
+ async editInlineMessageMedia(inlineMessageId, media, params) {
724
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editInlineMessageMedia", inlineMessageId, media, params);
725
+ }
726
+ /**
727
+ * Edit an inline message's text. Bot-only.
728
+ *
729
+ * @method ms
730
+ * @param inlineMessageId The identifier of the inline message.
731
+ * @param text The new text of the message.
732
+ */
733
+ async editInlineMessageText(inlineMessageId, text, params) {
734
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editInlineMessageText", inlineMessageId, text, params);
735
+ }
736
+ /**
737
+ * Edit an inline message's caption. Bot-only.
738
+ *
739
+ * @method ms
740
+ * @param inlineMessageId The identifier of the inline message.
741
+ */
742
+ async editInlineMessageCaption(inlineMessageId, params) {
743
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editInlineMessageCaption", inlineMessageId, params);
744
+ }
745
+ /**
746
+ * Edit a message's reply markup.
747
+ *
748
+ * @method ms
749
+ * @param chatId The identifier of the chat which the message belongs to.
750
+ * @param messageId The identifier of the message.
751
+ * @returns The edited message.
752
+ */
753
+ async editMessageReplyMarkup(chatId, messageId, params) {
754
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editMessageReplyMarkup", chatId, messageId, params);
755
+ }
756
+ /**
757
+ * Edit an inline message's reply markup. Bot-only.
758
+ *
759
+ * @method ms
760
+ * @param inlineMessageId The identifier of the inline message.
761
+ */
762
+ async editInlineMessageReplyMarkup(inlineMessageId, params) {
763
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editInlineMessageReplyMarkup", inlineMessageId, params);
764
+ }
765
+ /**
766
+ * Edit a message's live location.
767
+ *
768
+ * @method ms
769
+ * @param chatId The identifier of the chat which the message belongs to.
770
+ * @param messageId The identifier of the message.
771
+ * @param latitude The new latitude.
772
+ * @param longitude The new longitude.
773
+ * @returns The edited location message.
774
+ */
775
+ async editMessageLiveLocation(chatId, messageId, latitude, longitude, params) {
776
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editMessageLiveLocation", chatId, messageId, latitude, longitude, params);
777
+ }
778
+ /**
779
+ * Edit an inline message's live location. Bot-only.
780
+ *
781
+ * @method ms
782
+ * @param inlineMessageId The identifier of the inline message.
783
+ * @param latitude The new latitude.
784
+ * @param longitude The new longitude.
785
+ * @returns The edited location message.
786
+ */
787
+ async editInlineMessageLiveLocation(inlineMessageId, latitude, longitude, params) {
788
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editInlineMessageLiveLocation", inlineMessageId, latitude, longitude, params);
789
+ }
790
+ /**
791
+ * Retrieve multiple messages.
792
+ *
793
+ * @method ms
794
+ * @param chatId The identifier of a chat to retrieve the messages from.
795
+ * @param messageIds The identifiers of the messages to retrieve.
796
+ * @example ```ts
797
+ * const message = await client.getMessages("@MTKruto", [210, 212]): Promise<void>;
798
+ * ```
799
+ * @returns The retrieved messages.
800
+ * @cache
801
+ */
802
+ async getMessages(chatId, messageIds) {
803
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMessages", chatId, messageIds);
804
+ }
805
+ /**
806
+ * Retrieve a single message.
807
+ *
808
+ * @method ms
809
+ * @param chatId The identifier of a chat.
810
+ * @param messageId The identifier of the message to retrieve.
811
+ * @example ```ts
812
+ * const message = await client.getMessage("@MTKruto", 212): Promise<void>;
813
+ * ```
814
+ * @returns The retrieved message.
815
+ * @cache
816
+ */
817
+ async getMessage(chatId, messageId) {
818
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMessage", chatId, messageId);
819
+ }
820
+ /**
821
+ * Retrieve a message using its link.
822
+ *
823
+ * @method ms
824
+ * @param link A message link.
825
+ * @example ```ts
826
+ * const message = await client.resolveMessageLink("https://t.me/MTKruto/212"): Promise<void>;
827
+ * ```
828
+ * @returns The message that was linked to.
829
+ */
830
+ async resolveMessageLink(link) {
831
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "resolveMessageLink", link);
832
+ }
833
+ /**
834
+ * Delete multiple messages.
835
+ *
836
+ * @method ms
837
+ * @param chatId The identifier of the chat which the message belongs to.
838
+ * @param messageIds The identifiers of the messages to delete.
839
+ */
840
+ async deleteMessages(chatId, messageIds, params) {
841
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteMessages", chatId, messageIds, params);
842
+ }
843
+ /**
844
+ * Delete a single message.
845
+ *
846
+ * @method ms
847
+ * @param chatId The identifier of the chat which the message belongs to.
848
+ * @param messageId The identifier of the message to delete.
849
+ */
850
+ async deleteMessage(chatId, messageId, params) {
851
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteMessage", chatId, messageId, params);
852
+ }
853
+ /**
854
+ * Delete all messages sent by a specific member of a chat. User-only.
855
+ *
856
+ * @method ms
857
+ * @param chatId The identifier of a chat. Must be a supergroup.
858
+ * @param memberId The identifier of the member.
859
+ */
860
+ async deleteChatMemberMessages(chatId, memberId) {
861
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteChatMemberMessages", chatId, memberId);
862
+ }
863
+ /**
864
+ * Delete multiple scheduled messages.
865
+ *
866
+ * @method ms
867
+ * @param chatId The identifier of a chat.
868
+ * @param messageIds The identifiers of the scheduled messages to delete.
869
+ */
870
+ async deleteScheduledMessages(chatId, messageIds) {
871
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteScheduledMessages", chatId, messageIds);
872
+ }
873
+ /**
874
+ * Delete a scheduled message.
875
+ *
876
+ * @method ms
877
+ * @param chatId The identifier of a chat.
878
+ * @param messageId The identifier of the scheduled message to delete.
879
+ */
880
+ async deleteScheduledMessage(chatId, messageId) {
881
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteScheduledMessage", chatId, messageId);
882
+ }
883
+ /**
884
+ * Send multiple scheduled messages before their schedule.
885
+ *
886
+ * @method ms
887
+ * @param chatId The identifier of a chat.
888
+ * @param messageIds The identifiers of the scheduled messages to send.
889
+ */
890
+ async sendScheduledMessages(chatId, messageIds) {
891
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendScheduledMessages", chatId, messageIds);
892
+ }
893
+ /**
894
+ * Send a scheduled message before its schedule.
895
+ *
896
+ * @method ms
897
+ * @param chatId The identifier of a chat.
898
+ * @param messageId The identifier of the scheduled message to send.
899
+ */
900
+ async sendScheduledMessage(chatId, messageId) {
901
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendScheduledMessage", chatId, messageId);
902
+ }
903
+ /**
904
+ * Pin a message in a chat.
905
+ *
906
+ * @method ms
907
+ * @param chatId The identifier of a chat.
908
+ * @param messageId The identifier of the message.
909
+ */
910
+ async pinMessage(chatId, messageId, params) {
911
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "pinMessage", chatId, messageId, params);
912
+ }
913
+ /**
914
+ * Unpin a pinned message.
915
+ *
916
+ * @method ms
917
+ * @param chatId The identifier of a chat.
918
+ * @param messageId The identifier of the message.
919
+ */
920
+ async unpinMessage(chatId, messageId, params) {
921
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unpinMessage", chatId, messageId, params);
922
+ }
923
+ /**
924
+ * Unpin all pinned messages.
925
+ *
926
+ * @method ms
927
+ * @param chatId The identifier of a chat.
928
+ */
929
+ async unpinMessages(chatId, params) {
930
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unpinMessages", chatId, params);
931
+ }
932
+ /**
933
+ * Forward multiple messages.
934
+ *
935
+ * @method ms
936
+ * @param from The identifier of a chat to forward the messages from.
937
+ * @param to The identifier of a chat to forward the messages to.
938
+ * @param messageIds The identifiers of the messages to forward.
939
+ * @returns The forwarded messages.
940
+ */
941
+ async forwardMessages(from, to, messageIds, params) {
942
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "forwardMessages", from, to, messageIds, params);
943
+ }
944
+ /**
945
+ * Forward a single message.
946
+ *
947
+ * @method ms
948
+ * @param from The identifier of a chat to forward the message from.
949
+ * @param to The identifier of a chat to forward the message to.
950
+ * @param messageId The identifier of the message to forward.
951
+ * @returns The forwarded message.
952
+ */
953
+ async forwardMessage(from, to, messageId, params) {
954
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "forwardMessage", from, to, messageId, params);
955
+ }
956
+ /**
957
+ * Stop a poll.
958
+ *
959
+ * @method ms
960
+ * @param chatId The chat that includes the poll.
961
+ * @param messageId The idenfifier of the poll's message.
962
+ * @returns The new state of the poll.
963
+ */
964
+ async stopPoll(chatId, messageId, params) {
965
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "stopPoll", chatId, messageId, params);
966
+ }
967
+ /**
968
+ * Send a chat action.
969
+ *
970
+ * @method ms
971
+ * @param chatId The identifier of a chat to send the chat action to.
972
+ * @param action The chat action.
973
+ * @param messageThreadId The thread to send the chat action to.
974
+ */
975
+ async sendChatAction(chatId, action, params) {
976
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendChatAction", chatId, action, params);
977
+ }
978
+ /**
979
+ * Search for messages. User-only.
980
+ *
981
+ * @method ms
982
+ */
983
+ async searchMessages(params) {
984
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "searchMessages", params);
985
+ }
986
+ /**
987
+ * Mark messages as read. User-only.
988
+ *
989
+ * @method ms
990
+ * @param chatId The identifier of the chat which the messages belong to.
991
+ * @param untilMessageId The identifier of the message that will be marked as read, along with any other unread messages before it.
992
+ */
993
+ async readMessages(chatId, untilMessageId) {
994
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "readMessages", chatId, untilMessageId);
995
+ }
996
+ /**
997
+ * Start a bot. User-only.
998
+ *
999
+ * @method ms
1000
+ * @param botId The identifier of the bot to start.
1001
+ * @returns The start message.
1002
+ */
1003
+ async startBot(botId, params) {
1004
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "startBot", botId, params);
1005
+ }
1006
+ /**
1007
+ * Transcribe a voice message. User-only.
1008
+ *
1009
+ * @method ms
1010
+ * @param chatId The identifier of the chat which the message belongs to.
1011
+ * @param messageId The identifier of the message.
1012
+ * @cache
1013
+ */
1014
+ async transcribeVoice(chatId, messageId) {
1015
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "transcribeVoice", chatId, messageId);
1016
+ }
1017
+ /**
1018
+ * Get a sticker set.
1019
+ *
1020
+ * @method ms
1021
+ * @param name The name of the sticker set or its link.
1022
+ */
1023
+ async getStickerSet(name) {
1024
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getStickerSet", name);
1025
+ }
1026
+ /*
1027
+ * Get the link preview for a message that is about to be sent. User-only.
1028
+ *
1029
+ * @method ms
1030
+ * @param text The message's text.
1031
+ */
1032
+ async getLinkPreview(text, params) {
1033
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getLinkPreview", text, params);
1034
+ }
1035
+ /**
1036
+ * Open a mini app. User-only.
1037
+ *
1038
+ * @method ms
1039
+ * @param botId The identifier of a bot with the mini app.
1040
+ * @param chatId The identifier of the chat from which the mini app is opened.
1041
+ * @cache
1042
+ */
1043
+ async openMiniApp(botId, chatId, params) {
1044
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "openMiniApp", botId, chatId, params);
1045
+ }
1046
+ /**
1047
+ * Get a progress ID that can be passed to relevant send* methods to receive upload progress updates for them.
1048
+ *
1049
+ * @method ms
1050
+ * @cache
1051
+ */
1052
+ async getProgressId() {
1053
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getProgressId");
1054
+ }
1055
+ /**
1056
+ * Get messages saved from a specific chat.
1057
+ *
1058
+ * @method ms
1059
+ * @param chatId The identifier of a chat.
1060
+ */
1061
+ async getSavedMessages(chatId, params) {
1062
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getSavedMessages", chatId, params);
1063
+ }
1064
+ /**
1065
+ * Get a list of saved chats.
1066
+ *
1067
+ * @method ms
1068
+ */
1069
+ async getSavedChats(params) {
1070
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getSavedChats", params);
1071
+ }
1072
+ /**
1073
+ * Get a list of reactions made to a message. User-only.
1074
+ *
1075
+ * @param chatId The identifier of a chat.
1076
+ * @param messageId The identifier of the message.
1077
+ * @method ms
1078
+ */
1079
+ async getMessageReactions(chatId, messageId, params) {
1080
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMessageReactions", chatId, messageId, params);
1081
+ }
1082
+ //
1083
+ // ========================= POLLS ========================= //
1084
+ //
1085
+ /**
1086
+ * Cast a vote. User-only.
1087
+ *
1088
+ * @method pl
1089
+ * @param chatId The identifier of the chat that includes the poll.
1090
+ * @param messageId The identifier of the message that includes the poll.
1091
+ * @param optionIndexes The indexes of the options to cast for.
1092
+ */
1093
+ async vote(chatId, messageId, optionIndexes) {
1094
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "vote", chatId, messageId, optionIndexes);
1095
+ }
1096
+ /**
1097
+ * Retract a vote. User-only.
1098
+ *
1099
+ * @method pl
1100
+ * @param chatId The identifier of the chat that includes the poll.
1101
+ * @param messageId The identifier of the message that includes the poll.
1102
+ */
1103
+ async retractVote(chatId, messageId) {
1104
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "retractVote", chatId, messageId);
1105
+ }
1106
+ //
1107
+ // ========================= CHECKLISTS ========================= //
1108
+ //
1109
+ /**
1110
+ * Add items to a checklist. User-only.
1111
+ *
1112
+ * @param chatId The identifier of a chat.
1113
+ * @param messageId The identifier of the checklist message.
1114
+ * @param items The items to add.
1115
+ * @method cl
1116
+ */
1117
+ async addToChecklist(chatId, messageId, items) {
1118
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addToChecklist", chatId, messageId, items);
1119
+ }
1120
+ /**
1121
+ * Update a checklist. User-only.
1122
+ *
1123
+ * @param chatId The identifier of a chat.
1124
+ * @param messageId The identifier of the checklist message.
1125
+ * @method cl
1126
+ */
1127
+ async updateChecklist(chatId, messageId, params) {
1128
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "updateChecklist", chatId, messageId, params);
1129
+ }
1130
+ /**
1131
+ * Check multiple items of a checklist. User-only.
1132
+ *
1133
+ * @param chatId The identifier of a chat.
1134
+ * @param messageId The identifier of the checklist message.
1135
+ * @param items The identifiers of the items to check.
1136
+ * @method cl
1137
+ */
1138
+ async checkChecklistItems(chatId, messageId, items) {
1139
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "checkChecklistItems", chatId, messageId, items);
1140
+ }
1141
+ /**
1142
+ * Uncheck multiple items of a checklist. User-only.
1143
+ *
1144
+ * @param chatId The identifier of a chat.
1145
+ * @param messageId The identifier of the checklist message.
1146
+ * @param items The identifiers of the items to uncheck.
1147
+ * @method cl
1148
+ */
1149
+ async uncheckChecklistItems(chatId, messageId, items) {
1150
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "uncheckChecklistItems", chatId, messageId, items);
1151
+ }
1152
+ /**
1153
+ * Check a single item of a checklist. User-only.
1154
+ *
1155
+ * @param chatId The identifier of a chat.
1156
+ * @param messageId The identifier of the checklist message.
1157
+ * @param item The identifier of the item to check.
1158
+ * @method cl
1159
+ */
1160
+ async checkChecklistItem(chatId, messageId, item) {
1161
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "checkChecklistItem", chatId, messageId, item);
1162
+ }
1163
+ /**
1164
+ * Uncheck a single item of a checklist. User-only.
1165
+ *
1166
+ * @param chatId The identifier of a chat.
1167
+ * @param messageId The identifier of the checklist message.
1168
+ * @param item The identifier of the item to uncheck.
1169
+ * @method cl
1170
+ */
1171
+ async uncheckChecklistItem(chatId, messageId, item) {
1172
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "uncheckChecklistItem", chatId, messageId, item);
1173
+ }
1174
+ //
1175
+ // ========================= FILES ========================= //
1176
+ //
1177
+ /**
1178
+ * Download a chunk of a file.
1179
+ *
1180
+ * @method fs
1181
+ * @param fileId The identifier of a file.
1182
+ * @example ```ts
1183
+ * const chunk = await client.downloadChunk(fileId, { chunkSize: 256 * 1024 });
1184
+ * ```
1185
+ * @returns The downloaded chunk.
1186
+ * @cache file
1187
+ */
1188
+ async downloadChunk(fileId, params) {
1189
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "downloadChunk", fileId, params);
1190
+ }
1191
+ /**
1192
+ * Download a file.
1193
+ *
1194
+ * @method fs
1195
+ * @param fileId The identifier of the file to download.
1196
+ * @example ```ts
1197
+ * for await (const chunk of client.download(fileId, { chunkSize: 256 * 1024 })) {
1198
+ * await outFile.write(chunk): Promise<void>;
1199
+ * }
1200
+ * ```
1201
+ * @returns A generator yielding the contents of the file.
1202
+ * @cache file
1203
+ */
1204
+ async *download(fileId, params) {
1205
+ let offset = 0;
1206
+ const chunkSize = params?.chunkSize ?? DOWNLOAD_MAX_CHUNK_SIZE;
1207
+ while (true) {
1208
+ const chunk = await this.downloadChunk(fileId, { chunkSize, offset });
1209
+ yield chunk;
1210
+ if (chunk.length < chunkSize) {
1211
+ break;
1212
+ }
1213
+ else {
1214
+ offset += chunk.length;
1215
+ }
1216
+ }
1217
+ }
1218
+ /**
1219
+ * Get custom emoji documents for download.
1220
+ *
1221
+ * @method fs
1222
+ * @param id Identifier of one or more of custom emojis.
1223
+ * @returns The custom emoji documents.
1224
+ * @cache
1225
+ */
1226
+ async getCustomEmojiStickers(id) {
1227
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getCustomEmojiStickers", id);
1228
+ }
1229
+ //
1230
+ // ========================= CHATS ========================= //
1231
+ //
1232
+ /**
1233
+ * Get chats from a chat list. User-only.
1234
+ *
1235
+ * @method ch
1236
+ */
1237
+ async getChats(params) {
1238
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getChats", params);
1239
+ }
1240
+ /**
1241
+ * Get pinned chats from a chat list. User-only.
1242
+ *
1243
+ * @method ch
1244
+ * @param from The chat list to get the pinned chats from. Defaults to main.
1245
+ */
1246
+ async getPinnedChats(from) {
1247
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getPinnedChats", from);
1248
+ }
1249
+ /**
1250
+ * Get a chat.
1251
+ *
1252
+ * @method ch
1253
+ * @cache
1254
+ */
1255
+ async getChat(chatId) {
1256
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getChat", chatId);
1257
+ }
1258
+ /**
1259
+ * Get chat history. User-only.
1260
+ *
1261
+ * @method ch
1262
+ * @param chatId The identifier of a chat.
1263
+ */
1264
+ async getHistory(chatId, params) {
1265
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getHistory", chatId, params);
1266
+ }
1267
+ /**
1268
+ * Set a chat's available reactions. User-only.
1269
+ *
1270
+ * @method ch
1271
+ * @param chatId The identifier of a chat.
1272
+ * @param availableReactions The new available reactions.
1273
+ */
1274
+ async setAvailableReactions(chatId, availableReactions) {
1275
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setAvailableReactions", chatId, availableReactions);
1276
+ }
1277
+ /**
1278
+ * Set a chat's photo.
1279
+ *
1280
+ * @method ch
1281
+ * @param chatId The identifier of a chat.
1282
+ * @param photo A photo to set as the chat's photo.
1283
+ */
1284
+ async setChatPhoto(chatId, photo, params) {
1285
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChatPhoto", chatId, photo, params);
1286
+ }
1287
+ /**
1288
+ * Delete a chat's photo.
1289
+ *
1290
+ * @method ch
1291
+ * @param chatId The identifier of a chat.
1292
+ */
1293
+ async deleteChatPhoto(chatId) {
1294
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteChatPhoto", chatId);
1295
+ }
1296
+ /**
1297
+ * Ban a member from a chat.
1298
+ *
1299
+ * @method ch
1300
+ * @param chatId The identifier of a chat.
1301
+ * @param memberId The identifier of the member.
1302
+ */
1303
+ async banChatMember(chatId, memberId, params) {
1304
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "banChatMember", chatId, memberId, params);
1305
+ }
1306
+ /**
1307
+ * Unban a member from a chat.
1308
+ *
1309
+ * @method ch
1310
+ * @param chatId The identifier of a chat. Must be a supergroup.
1311
+ * @param memberId The identifier of the member.
1312
+ */
1313
+ async unbanChatMember(chatId, memberId) {
1314
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unbanChatMember", chatId, memberId);
1315
+ }
1316
+ /**
1317
+ * Kick a member from a chat. Same as a banChatMember call followed by unbanChatMember.
1318
+ *
1319
+ * @method ch
1320
+ * @param chatId The identifier of a chat. Must be a supergroup.
1321
+ * @param memberId The identifier of the member.
1322
+ */
1323
+ async kickChatMember(chatId, memberId) {
1324
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "kickChatMember", chatId, memberId);
1325
+ }
1326
+ /**
1327
+ * Set the rights of a chat member.
1328
+ *
1329
+ * @method ch
1330
+ * @param chatId The identifier of a chat. Must be a supergroup.
1331
+ * @param memberId The identifier of the member.
1332
+ */
1333
+ async setChatMemberRights(chatId, memberId, params) {
1334
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChatMemberRights", chatId, memberId, params);
1335
+ }
1336
+ /**
1337
+ * Get the administrators of a chat.
1338
+ *
1339
+ * @method ch
1340
+ * @param chatId The identifier of a chat.
1341
+ * @returns The chat's administrators.
1342
+ */
1343
+ async getChatAdministrators(chatId) {
1344
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getChatAdministrators", chatId);
1345
+ }
1346
+ /**
1347
+ * Enable join requests in a chat. User-only.
1348
+ *
1349
+ * @method ch
1350
+ * @param chatId The identifier of a chat. Must be a channel or a supergroup.
1351
+ */
1352
+ async enableJoinRequests(chatId) {
1353
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableJoinRequests", chatId);
1354
+ }
1355
+ /**
1356
+ * Disable join requests in a chat. User-only.
1357
+ *
1358
+ * @method ch
1359
+ * @param chatId The identifier of a chat. Must be a channel or a supergroup.
1360
+ */
1361
+ async disableJoinRequests(chatId) {
1362
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableJoinRequests", chatId);
1363
+ }
1364
+ /**
1365
+ * Get inactive chats. User-only.
1366
+ *
1367
+ * @method ch
1368
+ * @retuns A list of inactive chats the current user is member of.
1369
+ */
1370
+ async getInactiveChats() {
1371
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getInactiveChats");
1372
+ }
1373
+ /**
1374
+ * Get the invite links created for a chat. User-only.
1375
+ *
1376
+ * @method ch
1377
+ * @param chatId The identifier of a chat.
1378
+ * @returns The invite links created for the chat. This might be a subset of the results if they were less than `limit`. The parameters `afterDate` and `afterInviteLink` can be used for pagination.
1379
+ */
1380
+ async getCreatedInviteLinks(chatId, params) {
1381
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getCreatedInviteLinks", chatId, params);
1382
+ }
1383
+ /**
1384
+ * Join a chat. User-only.
1385
+ *
1386
+ * @method ch
1387
+ * @param chatId The identifier of a chat.
1388
+ */
1389
+ async joinChat(chatId) {
1390
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "joinChat", chatId);
1391
+ }
1392
+ /**
1393
+ * Leave a chat.
1394
+ *
1395
+ * @method ch
1396
+ * @param chatId The identifier of a chat.
1397
+ */
1398
+ async leaveChat(chatId) {
1399
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "leaveChat", chatId);
1400
+ }
1401
+ /**
1402
+ * Get information on a user's chat membership.
1403
+ *
1404
+ * @method ch
1405
+ * @param chatId The identifier of a chat.
1406
+ * @param userId The identifier of the user.
1407
+ */
1408
+ async getChatMember(chatId, userId) {
1409
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getChatMember", chatId, userId);
1410
+ }
1411
+ /**
1412
+ * Get the members of a chat.
1413
+ *
1414
+ * @method ch
1415
+ * @param chatId The identifier of a chat.
1416
+ */
1417
+ async getChatMembers(chatId, params) {
1418
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getChatMembers", chatId, params);
1419
+ }
1420
+ /**
1421
+ * Set a chat's sticker set.
1422
+ *
1423
+ * @method ch
1424
+ * @param chatId The identifier of a chat. Must be a supergroup.
1425
+ * @param setName The name of the set.
1426
+ */
1427
+ async setChatStickerSet(chatId, setName) {
1428
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChatStickerSet", chatId, setName);
1429
+ }
1430
+ /**
1431
+ * Delete a chat's sticker set.
1432
+ *
1433
+ * @method ch
1434
+ * @param chatId The identifier of a chat. Must be a supergroup.
1435
+ */
1436
+ async deleteChatStickerSet(chatId) {
1437
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteChatStickerSet", chatId);
1438
+ }
1439
+ /**
1440
+ * Set the number of boosts required to circument a chat's default restrictions. User-only.
1441
+ *
1442
+ * @method ch
1443
+ * @param chatId The identifier of a chat.
1444
+ * @param boosts The number of boosts required to circumvent its restrictions.
1445
+ */
1446
+ async setBoostsRequiredToCircumventRestrictions(chatId, boosts) {
1447
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setBoostsRequiredToCircumventRestrictions", chatId, boosts);
1448
+ }
1449
+ /**
1450
+ * Create an invite link.
1451
+ *
1452
+ * @method ch
1453
+ * @param chatId The identifier of a chat to create the invite link for.
1454
+ * @returns The newly created invite link.
1455
+ */
1456
+ async createInviteLink(chatId, params) {
1457
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "createInviteLink", chatId, params);
1458
+ }
1459
+ /**
1460
+ * Approve a join request.
1461
+ *
1462
+ * @method ch
1463
+ * @param chatId The identifier of a chat with the join request.
1464
+ * @param userId The user who made the join request.
1465
+ */
1466
+ async approveJoinRequest(chatId, userId) {
1467
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "approveJoinRequest", chatId, userId);
1468
+ }
1469
+ /**
1470
+ * Decline a join request.
1471
+ *
1472
+ * @method ch
1473
+ * @param chatId The identifier of a chat with the join request.
1474
+ * @param userId The user who made the join request.
1475
+ */
1476
+ async declineJoinRequest(chatId, userId) {
1477
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "declineJoinRequest", chatId, userId);
1478
+ }
1479
+ /**
1480
+ * Approve all join requests. User-only.
1481
+ *
1482
+ * @method ch
1483
+ * @param chatId The identifier of a chat with the join requests.
1484
+ */
1485
+ async approveJoinRequests(chatId, params) {
1486
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "approveJoinRequests", chatId, params);
1487
+ }
1488
+ /**
1489
+ * Decline all join requests. User-only.
1490
+ *
1491
+ * @method ch
1492
+ * @param chatId The identifier of a chat with the join requests.
1493
+ */
1494
+ async declineJoinRequests(chatId, params) {
1495
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "declineJoinRequests", chatId, params);
1496
+ }
1497
+ /**
1498
+ * Get pending join requests in a chat. User-only.
1499
+ *
1500
+ * @method ch
1501
+ * @param chatId The identifier of a chat with the join requests.
1502
+ */
1503
+ async getJoinRequests(chatId, params) {
1504
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getJoinRequests", chatId, params);
1505
+ }
1506
+ /**
1507
+ * Add a single user to a chat.
1508
+ *
1509
+ * @method ch
1510
+ * @param chatId The identifier of a chat to add the user to.
1511
+ * @param userId The identifier of the user to add to the chat.
1512
+ * @returns An array of FailedInvitation that has at most a length of 1. If empty, it means that the user was added.
1513
+ */
1514
+ async addChatMember(chatId, userId, params) {
1515
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addChatMember", chatId, userId, params);
1516
+ }
1517
+ /**
1518
+ * Add multiple users at once to a channel or a supergroup.
1519
+ *
1520
+ * @method ch
1521
+ * @param chatId The identifier of the channel or supergroup to add the users to.
1522
+ * @param userId The identifiers of the users to add to the channel or supergroup.
1523
+ * @returns An array of FailedInvitation that has at most a length that is the same as that of the parameter userIds. If empty, it means that all the provided users were added.
1524
+ */
1525
+ async addChatMembers(chatId, userIds) {
1526
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addChatMembers", chatId, userIds);
1527
+ }
1528
+ /**
1529
+ * Open a chat.
1530
+ *
1531
+ * @method ch
1532
+ * @param chatId The identifier of a chat to open.
1533
+ */
1534
+ async openChat(chatId, params) {
1535
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "openChat", chatId, params);
1536
+ }
1537
+ /**
1538
+ * Close a chat previously opened by openChat.
1539
+ *
1540
+ * @method ch
1541
+ * @param chatId The identifier of a chat to close.
1542
+ */
1543
+ async closeChat(chatId) {
1544
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "closeChat", chatId);
1545
+ }
1546
+ /**
1547
+ * Create a group. User-only.
1548
+ *
1549
+ * @method ch
1550
+ * @param title The title of the group.
1551
+ * @returns The created group.
1552
+ */
1553
+ async createGroup(title, params) {
1554
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "createGroup", title, params);
1555
+ }
1556
+ /**
1557
+ * Create a supergroup. User-only.
1558
+ *
1559
+ * @method ch
1560
+ * @param title The title of the supergroup.
1561
+ * @returns The created supergroup.
1562
+ */
1563
+ async createSupergroup(title, params) {
1564
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "createSupergroup", title, params);
1565
+ }
1566
+ /**
1567
+ * Create a channel. User-only.
1568
+ *
1569
+ * @method ch
1570
+ * @param title The title of the channel.
1571
+ * @returns The created channel.
1572
+ */
1573
+ async createChannel(title, params) {
1574
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "createChannel", title, params);
1575
+ }
1576
+ /**
1577
+ * Set the time to live of the messages of a chat. User-only.
1578
+ *
1579
+ * @method ch
1580
+ * @param chatId The identifier of a chat.
1581
+ * @param messageTtl The time to live of the messages in seconds.
1582
+ */
1583
+ async setMessageTtl(chatId, messageTtl) {
1584
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setMessageTtl", chatId, messageTtl);
1585
+ }
1586
+ /**
1587
+ * Archive multiple chats. User-only.
1588
+ *
1589
+ * @method ch
1590
+ * @param chatIds The identifiers of the chats to archive.
1591
+ */
1592
+ async archiveChats(chatIds) {
1593
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "archiveChats", chatIds);
1594
+ }
1595
+ /**
1596
+ * Archive a single chat. User-only.
1597
+ *
1598
+ * @method ch
1599
+ * @param chatId The identifier of a chat.
1600
+ */
1601
+ async archiveChat(chatId) {
1602
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "archiveChat", chatId);
1603
+ }
1604
+ /**
1605
+ * Unarchive multiple chats. User-only.
1606
+ *
1607
+ * @method ch
1608
+ * @param chatIds The identifiers of the chats to unarchive.
1609
+ */
1610
+ async unarchiveChats(chatIds) {
1611
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unarchiveChats", chatIds);
1612
+ }
1613
+ /**
1614
+ * Unarchive a single chat. User-only.
1615
+ *
1616
+ * @method ch
1617
+ * @param chatId The identifier of a chat.
1618
+ */
1619
+ async unarchiveChat(chatId) {
1620
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unarchiveChat", chatId);
1621
+ }
1622
+ /**
1623
+ * Get common chats between a user and the current one. User-only.
1624
+ *
1625
+ * @method ch
1626
+ * @param userId The identifier of the user to get the common chats with them.
1627
+ */
1628
+ async getCommonChats(userId, params) {
1629
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getCommonChats", userId, params);
1630
+ }
1631
+ /**
1632
+ * Get the settings of a chat. User-only.
1633
+ *
1634
+ * @method ch
1635
+ * @param chatId The identifier of a chat.
1636
+ */
1637
+ async getChatSettings(chatId) {
1638
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getChatSettings", chatId);
1639
+ }
1640
+ /**
1641
+ * Disable business bots in a private chat. User-only.
1642
+ *
1643
+ * @method ch
1644
+ * @param chatId The identifier of the private chat to disable business bots in.
1645
+ */
1646
+ async disableBusinessBots(chatId) {
1647
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableBusinessBots", chatId);
1648
+ }
1649
+ /**
1650
+ * Enable business bots in a private chat. User-only.
1651
+ *
1652
+ * @method ch
1653
+ * @param chatId The identifier of the private chat to enable business bots in.
1654
+ */
1655
+ async enableBusinessBots(chatId) {
1656
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableBusinessBots", chatId);
1657
+ }
1658
+ /**
1659
+ * Disable slow mode in a group. User-only.
1660
+ *
1661
+ * @method ch
1662
+ * @param chatId The identifier of the group to disable slow mode in.
1663
+ */
1664
+ async disableSlowMode(chatId) {
1665
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableSlowMode", chatId);
1666
+ }
1667
+ /**
1668
+ * Change slow mode in a group. User-only.
1669
+ *
1670
+ * @method ch
1671
+ * @param chatId The identifier of the group to change slow mode in.
1672
+ * @param duration New slow mode duration.
1673
+ */
1674
+ async setSlowMode(chatId, duration) {
1675
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setSlowMode", chatId, duration);
1676
+ }
1677
+ /**
1678
+ * Change the title of a chat.
1679
+ *
1680
+ * @method ch
1681
+ * @param chatId The identifier of a chat.
1682
+ * @param title The new title.
1683
+ */
1684
+ async setChatTitle(chatId, title) {
1685
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChatTitle", chatId, title);
1686
+ }
1687
+ /**
1688
+ * Change the description of a chat.
1689
+ *
1690
+ * @method ch
1691
+ * @param chatId The identifier of a chat.
1692
+ * @param description The new description.
1693
+ */
1694
+ async setChatDescription(chatId, description) {
1695
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChatDescription", chatId, description);
1696
+ }
1697
+ /**
1698
+ * Hide the member list of a group to non-admins. User-only.
1699
+ *
1700
+ * @method ch
1701
+ * @param chatId The identifier of the group.
1702
+ */
1703
+ async hideMemberList(chatId) {
1704
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "hideMemberList", chatId);
1705
+ }
1706
+ /**
1707
+ * Show the member list of a group to non-admins. User-only.
1708
+ *
1709
+ * @method ch
1710
+ * @param chatId The identifier of the group.
1711
+ */
1712
+ async showMemberList(chatId) {
1713
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "showMemberList", chatId);
1714
+ }
1715
+ /**
1716
+ * Enable topics in a group. User-only.
1717
+ *
1718
+ * @method ch
1719
+ * @param chatId The identifier of the group.
1720
+ * @param isShownAsTabs Whether topics should be displayed as tabs.
1721
+ */
1722
+ async enableTopics(chatId, isShownAsTabs) {
1723
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableTopics", chatId, isShownAsTabs);
1724
+ }
1725
+ /**
1726
+ * Disable topics in a group. User-only.
1727
+ *
1728
+ * @method ch
1729
+ * @param chatId The identifier of the group.
1730
+ */
1731
+ async disableTopics(chatId) {
1732
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableTopics", chatId);
1733
+ }
1734
+ /**
1735
+ * Enable automatic anti-spam in a group. User-only.
1736
+ *
1737
+ * @method ch
1738
+ * @param chatId The identifier of the group.
1739
+ */
1740
+ async enableAntispam(chatId) {
1741
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableAntispam", chatId);
1742
+ }
1743
+ /**
1744
+ * Disable automatic anti-spam in a group. User-only.
1745
+ *
1746
+ * @method ch
1747
+ * @param chatId The identifier of the group.
1748
+ */
1749
+ async disableAntispam(chatId) {
1750
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableAntispam", chatId);
1751
+ }
1752
+ /**
1753
+ * Enable post signatures in a channel. User-only.
1754
+ *
1755
+ * @method ch
1756
+ * @param chatId The identifier of the channel.
1757
+ */
1758
+ async enableSignatures(chatId, params) {
1759
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableSignatures", chatId, params);
1760
+ }
1761
+ /**
1762
+ * Disable post signatures in a channel. User-only.
1763
+ *
1764
+ * @method ch
1765
+ * @param chatId The identifier of the channel.
1766
+ */
1767
+ async disableSignatures(chatId) {
1768
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableSignatures", chatId);
1769
+ }
1770
+ /**
1771
+ * Delete a chat. User-only.
1772
+ *
1773
+ * @method ch
1774
+ * @param chatId The identifier of a chat.
1775
+ */
1776
+ async deleteChat(chatId) {
1777
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteChat", chatId);
1778
+ }
1779
+ /**
1780
+ * Get discussion chat suggestions. User-only.
1781
+ *
1782
+ * @method ch
1783
+ */
1784
+ async getDiscussionChatSuggestions() {
1785
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getDiscussionChatSuggestions");
1786
+ }
1787
+ /**
1788
+ * Set a channel's discussion chat. User-only.
1789
+ *
1790
+ * @method ch
1791
+ * @param chatId The identifier of a channel.
1792
+ * @param discussionChatId The identifier of a chat to use as discussion for the channel.
1793
+ */
1794
+ async setDiscussionChat(chatId, discussionChatId) {
1795
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setDiscussionChat", chatId, discussionChatId);
1796
+ }
1797
+ /**
1798
+ * Transfer the ownership of a chat. User-only.
1799
+ *
1800
+ * @method ch
1801
+ * @param chatId The identifier of a chat.
1802
+ * @param userId The identifier of the new owner.
1803
+ * @param password The password of the current account.
1804
+ */
1805
+ async transferChatOwnership(chatId, userId, password) {
1806
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "transferChatOwnership", chatId, userId, password);
1807
+ }
1808
+ /**
1809
+ * Create a forum topic.
1810
+ *
1811
+ * @method ch
1812
+ * @param chatId The identifier of a chat.
1813
+ * @param title The title of the topic.
1814
+ * @returns The created topic.
1815
+ */
1816
+ async createTopic(chatId, title, params) {
1817
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "createTopic", chatId, title, params);
1818
+ }
1819
+ /**
1820
+ * Edit a forum topic.
1821
+ *
1822
+ * @method ch
1823
+ * @param chatId The identifier of a chat.
1824
+ * @param topicId The identifier of the topic.
1825
+ * @param title The new title of the topic.
1826
+ * @returns The new topic.
1827
+ */
1828
+ async editTopic(chatId, topicId, title, params) {
1829
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editTopic", chatId, topicId, title, params);
1830
+ }
1831
+ /**
1832
+ * Hide the general forum topic.
1833
+ *
1834
+ * @method ch
1835
+ * @param chatId The identifier of a chat.
1836
+ */
1837
+ async hideGeneralTopic(chatId) {
1838
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "hideGeneralTopic", chatId);
1839
+ }
1840
+ /**
1841
+ * Show the general forum topic.
1842
+ *
1843
+ * @method ch
1844
+ * @param chatId The identifier of a chat.
1845
+ */
1846
+ async showGeneralTopic(chatId) {
1847
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "showGeneralTopic", chatId);
1848
+ }
1849
+ /**
1850
+ * Close a forum topic.
1851
+ *
1852
+ * @method ch
1853
+ * @param chatId The identifier of a chat.
1854
+ * @param topicId The identifier of the topic.
1855
+ */
1856
+ async closeTopic(chatId, topicId) {
1857
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "closeTopic", chatId, topicId);
1858
+ }
1859
+ /**
1860
+ * Reopen a forum topic.
1861
+ *
1862
+ * @method ch
1863
+ * @param chatId The identifier of a chat.
1864
+ * @param topicId The identifier of the topic.
1865
+ */
1866
+ async reopenTopic(chatId, topicId) {
1867
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "reopenTopic", chatId, topicId);
1868
+ }
1869
+ /**
1870
+ * Pin a forum topic.
1871
+ *
1872
+ * @method ch
1873
+ * @param chatId The identifier of a chat.
1874
+ * @param topicId The identifier of the topic.
1875
+ */
1876
+ async pinTopic(chatId, topicId) {
1877
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "pinTopic", chatId, topicId);
1878
+ }
1879
+ /**
1880
+ * Unpin a forum topic.
1881
+ *
1882
+ * @method ch
1883
+ * @param chatId The identifier of a chat.
1884
+ * @param topicId The identifier of the topic.
1885
+ */
1886
+ async unpinTopic(chatId, topicId) {
1887
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unpinTopic", chatId, topicId);
1888
+ }
1889
+ /**
1890
+ * Promote a chat member.
1891
+ *
1892
+ * @method ch
1893
+ * @param chatId The identifier of a chat.
1894
+ * @param userId The identifier of the user to promote.
1895
+ */
1896
+ async promoteChatMember(chatId, userId, params) {
1897
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "promoteChatMember", chatId, userId, params);
1898
+ }
1899
+ /**
1900
+ * Change the tag of a chat member.
1901
+ *
1902
+ * @method ch
1903
+ * @param chatId The identifier of a chat.
1904
+ * @param userId The identifier of the user that is a member of the chat.
1905
+ */
1906
+ async setChatMemberTag(chatId, userId, params) {
1907
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChatMemberTag", chatId, userId, params);
1908
+ }
1909
+ /**
1910
+ * Enable sharing in a chat. User-only.
1911
+ *
1912
+ * @method ch
1913
+ * @param chatId The identifier of a chat.
1914
+ */
1915
+ async enableSharing(chatId) {
1916
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableSharing", chatId);
1917
+ }
1918
+ /**
1919
+ * Disable sharing in a chat. User-only.
1920
+ *
1921
+ * @method ch
1922
+ * @param chatId The identifier of a chat.
1923
+ */
1924
+ async disableSharing(chatId) {
1925
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableSharing", chatId);
1926
+ }
1927
+ /**
1928
+ * Get recommended channels. User-only.
1929
+ *
1930
+ * @method ch
1931
+ * @returns A list of recommended channels.
1932
+ */
1933
+ async getRecommendedChannels() {
1934
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getRecommendedChannels");
1935
+ }
1936
+ /**
1937
+ * Get similar channels. User-only.
1938
+ *
1939
+ * @method ch
1940
+ * @param chatId The identifier of a channel to get similar channels for.
1941
+ * @returns A list of similar channels.
1942
+ */
1943
+ async getSimilarChannels(chatId) {
1944
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getSimilarChannels", chatId);
1945
+ }
1946
+ /**
1947
+ * Get similar bots. User-only.
1948
+ *
1949
+ * @method ch
1950
+ * @param chatId The identifier of a bot to get similar bots for.
1951
+ * @returns A list of similar bots.
1952
+ */
1953
+ async getSimilarBots(chatId) {
1954
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getSimilarBots", chatId);
1955
+ }
1956
+ //
1957
+ // ========================= CALLBACK QUERIES ========================= //
1958
+ //
1959
+ /**
1960
+ * Send a callback query. User-only.
1961
+ *
1962
+ * @method cq
1963
+ * @param botId The identifier of the bot to send the callback query to.
1964
+ * @param messageId The identifier of the message that includes at a button responsible for the callback query question.
1965
+ * @param question The callback query's question.
1966
+ * @returns The bot's answer to the callback query.
1967
+ * @cache
1968
+ */
1969
+ async sendCallbackQuery(botId, messageId, question) {
1970
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendCallbackQuery", botId, messageId, question);
1971
+ }
1972
+ /**
1973
+ * Answer a callback query. Bot-only.
1974
+ *
1975
+ * @method cq
1976
+ * @param id ID of the callback query to answer.
1977
+ */
1978
+ async answerCallbackQuery(id, params) {
1979
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "answerCallbackQuery", id, params);
1980
+ }
1981
+ //
1982
+ // ========================= INLINE QUERIES ========================= //
1983
+ //
1984
+ /**
1985
+ * Send an inline query. User-only.
1986
+ *
1987
+ * @method iq
1988
+ * @param botId The identifier of a bot to send the inline query to.
1989
+ * @param chatId The identifier of the chat from which the inline query is sent.
1990
+ * @returns The bot's answer to the inline query.
1991
+ * @cache
1992
+ */
1993
+ async sendInlineQuery(botId, chatId, params) {
1994
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendInlineQuery", botId, chatId, params);
1995
+ }
1996
+ /**
1997
+ * Answer an inline query. Bot-only.
1998
+ *
1999
+ * @method iq
2000
+ * @param id The identifier of the inline query to answer.
2001
+ * @param results The results to answer with.
2002
+ */
2003
+ async answerInlineQuery(id, results, params) {
2004
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "answerInlineQuery", id, results, params);
2005
+ }
2006
+ //
2007
+ // ========================= BOTS ========================= //
2008
+ //
2009
+ /**
2010
+ * Set the bot's description in the given language. Bot-only.
2011
+ *
2012
+ * @method bs
2013
+ */
2014
+ async setMyDescription(params) {
2015
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setMyDescription", params);
2016
+ }
2017
+ /**
2018
+ * Set the bot's name in the given language. Bot-only.
2019
+ *
2020
+ * @method bs
2021
+ */
2022
+ async setMyName(params) {
2023
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setMyName", params);
2024
+ }
2025
+ /**
2026
+ * Set the bot's short description in the given language. Bot-only.
2027
+ *
2028
+ * @method bs
2029
+ */
2030
+ async setMyShortDescription(params) {
2031
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setMyShortDescription", params);
2032
+ }
2033
+ /**
2034
+ * Get the bot's description in the given language. Bot-only.
2035
+ *
2036
+ * @method bs
2037
+ * @returns The current bot's description in the specified language.
2038
+ */
2039
+ async getMyDescription(params) {
2040
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMyDescription", params);
2041
+ }
2042
+ /**
2043
+ * Get the bot's name in the given language. Bot-only.
2044
+ *
2045
+ * @method bs
2046
+ * @returns The current bot's name in the specified language.
2047
+ */
2048
+ async getMyName(params) {
2049
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMyName", params);
2050
+ }
2051
+ /**
2052
+ * Get the bot's short description in the given language. Bot-only.
2053
+ *
2054
+ * @method bs
2055
+ * @returns The current bot's short description in the specified language.
2056
+ */
2057
+ async getMyShortDescription(params) {
2058
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMyShortDescription", params);
2059
+ }
2060
+ /**
2061
+ * Set the bot's commands in the given scope and/or language. Bot-only.
2062
+ *
2063
+ * @method bs
2064
+ * @param commands The commands to set.
2065
+ */
2066
+ async setMyCommands(commands, params) {
2067
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setMyCommands", commands, params);
2068
+ }
2069
+ /**
2070
+ * Get the bot's commands in the given scope and/or language. Bot-only.
2071
+ *
2072
+ * @method bs
2073
+ * @returns The current bot's commands in the specified language.
2074
+ */
2075
+ async getMyCommands(params) {
2076
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMyCommands", params);
2077
+ }
2078
+ //
2079
+ // ========================= REACTIONS ========================= //
2080
+ //
2081
+ /**
2082
+ * Change reactions made to a message.
2083
+ *
2084
+ * @method re
2085
+ * @param chatId The identifier of the chat which the message belongs to.
2086
+ * @param messageId The identifier of the message to add the reaction to.
2087
+ * @param reactions The new reactions.
2088
+ */
2089
+ async setReactions(chatId, messageId, reactions, params) {
2090
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setReactions", chatId, messageId, reactions, params);
2091
+ }
2092
+ /**
2093
+ * Make a reaction to a message.
2094
+ *
2095
+ * @method re
2096
+ * @param chatId The identifier of the chat which the message belongs to.
2097
+ * @param messageId The identifier of the message to add the reaction to.
2098
+ * @param reaction The reaction to add.
2099
+ */
2100
+ async addReaction(chatId, messageId, reaction, params) {
2101
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addReaction", chatId, messageId, reaction, params);
2102
+ }
2103
+ /**
2104
+ * Undo a reaction made to a message.
2105
+ *
2106
+ * @method re
2107
+ * @param chatId The identifier of the chat which the message belongs to.
2108
+ * @param messageId The identifier of the message which the reaction was made to.
2109
+ * @param reaction The reaction to remove.
2110
+ */
2111
+ async removeReaction(chatId, messageId, reaction) {
2112
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeReaction", chatId, messageId, reaction);
2113
+ }
2114
+ //
2115
+ // ========================= STORIES ========================= //
2116
+ //
2117
+ /**
2118
+ * Create a story. User-only.
2119
+ *
2120
+ * @method st
2121
+ * @param content The content of the story.
2122
+ * @returns The created story.
2123
+ */
2124
+ async createStory(chatId, content, params) {
2125
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "createStory", chatId, content, params);
2126
+ }
2127
+ /**
2128
+ * Retrieve multiple stories. User-only.
2129
+ *
2130
+ * @method st
2131
+ * @param chatId The identifier of a chat.
2132
+ * @param storyIds The identifiers of the stories to retrieve.
2133
+ * @returns The retrieved stories.
2134
+ */
2135
+ async getStories(chatId, storyIds) {
2136
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getStories", chatId, storyIds);
2137
+ }
2138
+ /**
2139
+ * Retrieve a single story. User-only.
2140
+ *
2141
+ * @method st
2142
+ * @param chatId The identifier of a chat.
2143
+ * @param storyId The identifier of the story to retrieve.
2144
+ * @returns The retrieved story.
2145
+ */
2146
+ async getStory(chatId, storyId) {
2147
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getStory", chatId, storyId);
2148
+ }
2149
+ /**
2150
+ * Delete multiple stories. User-only.
2151
+ *
2152
+ * @method st
2153
+ * @param chatId The identifier of a chat.
2154
+ * @param storyIds The identifiers of the stories to delete.
2155
+ */
2156
+ async deleteStories(chatId, storyIds) {
2157
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteStories", chatId, storyIds);
2158
+ }
2159
+ /**
2160
+ * Delete a single story. User-only.
2161
+ *
2162
+ * @method st
2163
+ * @param chatId The identifier of a chat.
2164
+ * @param storyId The identifier of the story to delete.
2165
+ */
2166
+ async deleteStory(chatId, storyId) {
2167
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteStory", chatId, storyId);
2168
+ }
2169
+ /**
2170
+ * Add multiple stories to highlights. User-only.
2171
+ *
2172
+ * @method st
2173
+ * @param chatId The identifier of a chat.
2174
+ * @param storyIds The identifiers of the stories to add to highlights.
2175
+ */
2176
+ async addStoriesToHighlights(chatId, storyIds) {
2177
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addStoriesToHighlights", chatId, storyIds);
2178
+ }
2179
+ /**
2180
+ * Add a single story to highlights. User-only.
2181
+ *
2182
+ * @method st
2183
+ * @param chatId The identifier of a chat.
2184
+ * @param storyId The identifier of the story to add to highlights.
2185
+ */
2186
+ async addStoryToHighlights(chatId, storyId) {
2187
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addStoryToHighlights", chatId, storyId);
2188
+ }
2189
+ /**
2190
+ * Remove multiple stories from highlights. User-only.
2191
+ *
2192
+ * @method st
2193
+ * @param chatId The identifier of a chat.
2194
+ * @param storyIds The identifiers of the stories to remove from highlights.
2195
+ */
2196
+ async removeStoriesFromHighlights(chatId, storyIds) {
2197
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeStoriesFromHighlights", chatId, storyIds);
2198
+ }
2199
+ /**
2200
+ * Remove a single story from highlights. User-only.
2201
+ *
2202
+ * @method st
2203
+ * @param chatId The identifier of a chat.
2204
+ * @param storyId The identifier of the story to remove from highlights.
2205
+ */
2206
+ async removeStoryFromHighlights(chatId, storyId) {
2207
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeStoryFromHighlights", chatId, storyId);
2208
+ }
2209
+ //
2210
+ // ========================= MISC ========================= //
2211
+ //
2212
+ /**
2213
+ * Get network statistics. This might not always be available.
2214
+ *
2215
+ * @method mc
2216
+ */
2217
+ async getNetworkStatistics() {
2218
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getNetworkStatistics");
2219
+ }
2220
+ /**
2221
+ * Block a user. User-only.
2222
+ *
2223
+ * @method mc
2224
+ * @param userId The identifier of the user to block.
2225
+ */
2226
+ async blockUser(userId) {
2227
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "blockUser", userId);
2228
+ }
2229
+ /**
2230
+ * Unblock a user. User-only.
2231
+ *
2232
+ * @method mc
2233
+ * @param userId The identifier of the user to unblock.
2234
+ */
2235
+ async unblockUser(userId) {
2236
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unblockUser", userId);
2237
+ }
2238
+ //
2239
+ // ========================= VIDEO CHATS ========================= //
2240
+ //
2241
+ /**
2242
+ * Start a video chat. User-only.
2243
+ *
2244
+ * @method vc
2245
+ * @param chatId The identifier of a chat to start the video chat in.
2246
+ * @returns The started video chat.
2247
+ */
2248
+ async startVideoChat(chatId, params) {
2249
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "startVideoChat", chatId, params);
2250
+ }
2251
+ /**
2252
+ * Schedule a video chat. User-only.
2253
+ *
2254
+ * @method vc
2255
+ * @param chatId The identifier of a chat to schedule the video chat in.
2256
+ * @param startAt A point in time within the future in which the video chat will be started.
2257
+ * @returns The scheduled video chat.
2258
+ */
2259
+ async scheduleVideoChat(chatId, startAt, params) {
2260
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "scheduleVideoChat", chatId, startAt, params);
2261
+ }
2262
+ /**
2263
+ * Join a video chat. User-only.
2264
+ *
2265
+ * @method vc
2266
+ * @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
2267
+ * @param params_ WebRTC connection parameters.
2268
+ * @returns Parameters to be passed to the used WebRTC library.
2269
+ */
2270
+ async joinVideoChat(id, params_, params) {
2271
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "joinVideoChat", id, params_, params);
2272
+ }
2273
+ /**
2274
+ * Leave a video chat. User-only.
2275
+ *
2276
+ * @method vc
2277
+ * @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
2278
+ */
2279
+ async leaveVideoChat(id) {
2280
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "leaveVideoChat", id);
2281
+ }
2282
+ /**
2283
+ * Join a live stream. User-only.
2284
+ *
2285
+ * @method vc
2286
+ * @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
2287
+ */
2288
+ async joinLiveStream(id) {
2289
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "joinLiveStream", id);
2290
+ }
2291
+ /**
2292
+ * Get a video chat. User-only.
2293
+ *
2294
+ * @method vc
2295
+ * @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
2296
+ * @cache
2297
+ */
2298
+ async getVideoChat(id) {
2299
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getVideoChat", id);
2300
+ }
2301
+ /**
2302
+ * Get live stream channels. User-only.
2303
+ *
2304
+ * @method vc
2305
+ * @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
2306
+ */
2307
+ async getLiveStreamChannels(id) {
2308
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getLiveStreamChannels", id);
2309
+ }
2310
+ /**
2311
+ * Download a live stream segment. User-only.
2312
+ *
2313
+ * @method vc
2314
+ * @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
2315
+ * @param channelId Stream channel ID.
2316
+ * @param scale Stream channel scale.
2317
+ * @param timestamp Millisecond timestamp of the chunk to download.
2318
+ */
2319
+ async downloadLiveStreamSegment(id, channelId, scale, timestamp, params) {
2320
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "downloadLiveStreamSegment", id, channelId, scale, timestamp, params);
2321
+ }
2322
+ //
2323
+ // ========================= PAYMENTS ========================= //
2324
+ //
2325
+ /**
2326
+ * Answer a pre-checkout query. Bot-only.
2327
+ *
2328
+ * @method pa
2329
+ * @param preCheckoutQueryId The identifier of the pre-checkout query.
2330
+ * @param ok Whether the checkout is going to be processed.
2331
+ */
2332
+ async answerPreCheckoutQuery(preCheckoutQueryId, ok, params) {
2333
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "answerPreCheckoutQuery", preCheckoutQueryId, ok, params);
2334
+ }
2335
+ /**
2336
+ * Refund a star payment. Bot-only.
2337
+ *
2338
+ * @method pa
2339
+ * @param userId The identifier of the user that was charged.
2340
+ * @param telegramPaymentChargeId The identifier of the charge.
2341
+ */
2342
+ async refundStarPayment(userId, telegramPaymentChargeId) {
2343
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "refundStarPayment", userId, telegramPaymentChargeId);
2344
+ }
2345
+ //
2346
+ // ========================= CONTACTS ========================= //
2347
+ //
2348
+ /**
2349
+ * Get contacts. User-only.
2350
+ *
2351
+ * @method co
2352
+ */
2353
+ async getContacts() {
2354
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getContacts");
2355
+ }
2356
+ /**
2357
+ * Delete multiple contacts. User-only.
2358
+ *
2359
+ * @method co
2360
+ * @param userIds The identifiers of contacts to delete.
2361
+ */
2362
+ async deleteContacts(userIds) {
2363
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteContacts", userIds);
2364
+ }
2365
+ /**
2366
+ * Delete a single contact. User-only.
2367
+ *
2368
+ * @method co
2369
+ * @param userId The identifier of the contact to delete.
2370
+ */
2371
+ async deleteContact(userId) {
2372
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteContact", userId);
2373
+ }
2374
+ /**
2375
+ * Add a contact. User-only.
2376
+ *
2377
+ * @method co
2378
+ * @param userId The identifier of the user to add as contact.
2379
+ */
2380
+ async addContact(userId, params) {
2381
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addContact", userId, params);
2382
+ }
2383
+ //
2384
+ // ========================= TRANSLATIONS ========================= //
2385
+ //
2386
+ /**
2387
+ * Get translations. User-only.
2388
+ *
2389
+ * @method ta
2390
+ * @cache
2391
+ */
2392
+ async getTranslations(params) {
2393
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getTranslations", params);
2394
+ }
2395
+ //
2396
+ // ========================= GIFTS ========================= //
2397
+ //
2398
+ /**
2399
+ * Get available gifts.
2400
+ *
2401
+ * @method gf
2402
+ */
2403
+ async getGifts() {
2404
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getGifts");
2405
+ }
2406
+ /**
2407
+ * Get gifts claimed by a user or a channel. User-only.
2408
+ *
2409
+ * @method gf
2410
+ * @param chatId The identifier of a user or a channel to get gifts for.
2411
+ */
2412
+ async getClaimedGifts(chatId, params) {
2413
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getClaimedGifts", chatId, params);
2414
+ }
2415
+ /**
2416
+ * Send a gift.
2417
+ *
2418
+ * @method gf
2419
+ * @param chatId The identifier of a user or a channel to send the gift to.
2420
+ * @param giftId The identifier of the gift to send.
2421
+ */
2422
+ async sendGift(chatId, giftId, params) {
2423
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendGift", chatId, giftId, params);
2424
+ }
2425
+ /**
2426
+ * Sell a gift.
2427
+ *
2428
+ * @method gf
2429
+ * @param gift The gift to sell.
2430
+ */
2431
+ async sellGift(gift) {
2432
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sellGift", gift);
2433
+ }
2434
+ /**
2435
+ * Craft gifts.
2436
+ *
2437
+ * @method gf
2438
+ * @param gifts The gifts to craft.
2439
+ */
2440
+ async craftGifts(gifts) {
2441
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "craftGifts", gifts);
2442
+ }
2443
+ /**
2444
+ * Get a gift using its slug.
2445
+ *
2446
+ * @method gf
2447
+ * @param slug The slug of a gift.
2448
+ */
2449
+ async getGift(slug) {
2450
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getGift", slug);
2451
+ }
2452
+ /**
2453
+ * Transfer a gift. User-only.
2454
+ *
2455
+ * @method gf
2456
+ * @param chatId The identifier of a chat to transfer the gift to.
2457
+ * @param gift The gift to transfer.
2458
+ */
2459
+ async transferGift(chatId, gift) {
2460
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "transferGift", chatId, gift);
2461
+ }
2462
+ }
2463
+ _ClientDispatcher_worker = new WeakMap(), _ClientDispatcher_id = new WeakMap(), _ClientDispatcher_L = new WeakMap(), _ClientDispatcher_LsignIn = new WeakMap(), _ClientDispatcher_pendingRequests = new WeakMap(), _ClientDispatcher_isInited = new WeakMap(), _ClientDispatcher_handleInvokeError = new WeakMap(), _ClientDispatcher_instances = new WeakSet(), _ClientDispatcher_dispatch = async function _ClientDispatcher_dispatch(method, ...args) {
2464
+ // deno-lint-ignore no-explicit-any
2465
+ const promiseWithResolvers = Promise.withResolvers();
2466
+ const id = crypto.randomUUID();
2467
+ __classPrivateFieldGet(this, _ClientDispatcher_pendingRequests, "f").set(id, promiseWithResolvers);
2468
+ const request = {
2469
+ type: "request",
2470
+ clientId: __classPrivateFieldGet(this, _ClientDispatcher_id, "f"),
2471
+ id,
2472
+ method,
2473
+ args,
2474
+ };
2475
+ __classPrivateFieldGet(this, _ClientDispatcher_L, "f").debug("posted message to worker", request);
2476
+ __classPrivateFieldGet(this, _ClientDispatcher_worker, "f").postMessage(request);
2477
+ return await promiseWithResolvers.promise;
2478
+ }, _ClientDispatcher_invoke = async function _ClientDispatcher_invoke(function_, params) {
2479
+ let n = 1;
2480
+ while (true) {
2481
+ try {
2482
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "invoke", function_, params);
2483
+ }
2484
+ catch (err) {
2485
+ if (await __classPrivateFieldGet(this, _ClientDispatcher_handleInvokeError, "f").call(this, Object.freeze({ client: this, error: err, function: function_, n: n++ }), () => Promise.resolve(false))) {
2486
+ continue;
2487
+ }
2488
+ else {
2489
+ throw err;
2490
+ }
2491
+ }
2492
+ }
2493
+ };