@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,2497 @@
1
+ "use strict";
2
+ /**
3
+ * MTKruto - Cross-runtime JavaScript library for building Telegram clients
4
+ * Copyright (C) 2023-2026 Roj <https://roj.im/>
5
+ *
6
+ * This file is part of MTKruto.
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU Lesser General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU Lesser General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU Lesser General Public License
19
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
20
+ */
21
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
22
+ if (kind === "m") throw new TypeError("Private method is not writable");
23
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
24
+ 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");
25
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
26
+ };
27
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
28
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
29
+ 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");
30
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
31
+ };
32
+ var _ClientDispatcher_instances, _ClientDispatcher_worker, _ClientDispatcher_id, _ClientDispatcher_L, _ClientDispatcher_LsignIn, _ClientDispatcher_pendingRequests, _ClientDispatcher_dispatch, _ClientDispatcher_isInited, _ClientDispatcher_invoke, _ClientDispatcher_handleInvokeError;
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.ClientDispatcher = void 0;
35
+ const _1_utilities_js_1 = require("../1_utilities.js");
36
+ const _4_constants_js_1 = require("../4_constants.js");
37
+ const _0_worker_error_js_1 = require("./0_worker_error.js");
38
+ const _1_invoke_middleware_js_1 = require("./1_invoke_middleware.js");
39
+ const _2_sign_in_js_1 = require("./2_sign_in.js");
40
+ const _5_composer_js_1 = require("./5_composer.js");
41
+ class ClientDispatcher extends _5_composer_js_1.Composer {
42
+ constructor(worker, id) {
43
+ super();
44
+ _ClientDispatcher_instances.add(this);
45
+ _ClientDispatcher_worker.set(this, void 0);
46
+ _ClientDispatcher_id.set(this, void 0);
47
+ _ClientDispatcher_L.set(this, void 0);
48
+ _ClientDispatcher_LsignIn.set(this, void 0);
49
+ // deno-lint-ignore no-explicit-any
50
+ _ClientDispatcher_pendingRequests.set(this, new Map());
51
+ _ClientDispatcher_isInited.set(this, false);
52
+ _ClientDispatcher_handleInvokeError.set(this, (0, _1_invoke_middleware_js_1.skipInvoke)());
53
+ /**
54
+ * Invokes a function waiting and returning its reply.
55
+ * Requires the client to be connected.
56
+ *
57
+ * @param function_ The function to invoke.
58
+ */
59
+ Object.defineProperty(this, "invoke", {
60
+ enumerable: true,
61
+ configurable: true,
62
+ writable: true,
63
+ value: Object.assign(__classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_invoke), {
64
+ use: (handler) => {
65
+ const handle = __classPrivateFieldGet(this, _ClientDispatcher_handleInvokeError, "f");
66
+ __classPrivateFieldSet(this, _ClientDispatcher_handleInvokeError, async (ctx, next) => {
67
+ let result = null;
68
+ return await handle(ctx, async () => {
69
+ if (result !== null)
70
+ return result;
71
+ result = await handler(ctx, next);
72
+ return result;
73
+ });
74
+ }, "f");
75
+ },
76
+ })
77
+ });
78
+ __classPrivateFieldSet(this, _ClientDispatcher_worker, worker, "f");
79
+ __classPrivateFieldSet(this, _ClientDispatcher_id, id, "f");
80
+ __classPrivateFieldSet(this, _ClientDispatcher_L, (0, _1_utilities_js_1.getLogger)("ClientDispatcher").branch(__classPrivateFieldGet(this, _ClientDispatcher_id, "f")), "f");
81
+ __classPrivateFieldSet(this, _ClientDispatcher_LsignIn, __classPrivateFieldGet(this, _ClientDispatcher_L, "f").branch("signIn"), "f");
82
+ }
83
+ /** @internal */
84
+ async handleResponse(response) {
85
+ if (response.clientId !== __classPrivateFieldGet(this, _ClientDispatcher_id, "f")) {
86
+ return;
87
+ }
88
+ __classPrivateFieldGet(this, _ClientDispatcher_L, "f").debug("handling response message", response);
89
+ if (response.isError) {
90
+ __classPrivateFieldGet(this, _ClientDispatcher_pendingRequests, "f").get(response.id)?.reject((0, _0_worker_error_js_1.deserializeWorkerError)(response.data));
91
+ __classPrivateFieldGet(this, _ClientDispatcher_pendingRequests, "f").delete(response.id);
92
+ }
93
+ else {
94
+ if (response.id === "") {
95
+ try {
96
+ await this.handleUpdate(this, response.data);
97
+ }
98
+ catch (err) {
99
+ __classPrivateFieldGet(this, _ClientDispatcher_L, "f").error("Error handling update:", err);
100
+ }
101
+ }
102
+ else {
103
+ __classPrivateFieldGet(this, _ClientDispatcher_pendingRequests, "f").get(response.id)?.resolve(response.data);
104
+ __classPrivateFieldGet(this, _ClientDispatcher_pendingRequests, "f").delete(response.id);
105
+ }
106
+ }
107
+ }
108
+ get id() {
109
+ return __classPrivateFieldGet(this, _ClientDispatcher_id, "f");
110
+ }
111
+ async init(params) {
112
+ if (__classPrivateFieldGet(this, _ClientDispatcher_isInited, "f")) {
113
+ return;
114
+ }
115
+ __classPrivateFieldSet(this, _ClientDispatcher_isInited, true, "f");
116
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "initClient", params);
117
+ }
118
+ async connect() {
119
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "connect");
120
+ }
121
+ async disconnect() {
122
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disconnect");
123
+ }
124
+ async start(params) {
125
+ await this.connect();
126
+ await this.signIn(params);
127
+ }
128
+ /** @internal */
129
+ async handleInvokeError(request) {
130
+ const args = request.args[0];
131
+ return await __classPrivateFieldGet(this, _ClientDispatcher_handleInvokeError, "f").call(this, {
132
+ client: this,
133
+ error: (0, _0_worker_error_js_1.deserializeWorkerError)(args.error),
134
+ function: args.function,
135
+ n: args.n,
136
+ }, () => Promise.resolve(false));
137
+ }
138
+ /**
139
+ * Send a user verification code.
140
+ *
141
+ * @param phoneNumber The phone number to send the code to.
142
+ * @method ac
143
+ */
144
+ async sendCode(phoneNumber) {
145
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendCode", phoneNumber);
146
+ }
147
+ /**
148
+ * Check if a code entered by the user was the same as the verification code.
149
+ *
150
+ * @param code A code entered by the user.
151
+ * @method ac
152
+ */
153
+ async checkCode(code) {
154
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "checkCode", code);
155
+ }
156
+ /**
157
+ * Get the user account password's hint.
158
+ *
159
+ * @method ac
160
+ */
161
+ async getPasswordHint() {
162
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getPasswordHint");
163
+ }
164
+ /**
165
+ * Check whether a password entered by the user is the same as the account's one.
166
+ *
167
+ * @param password The password to check
168
+ * @returns The result of the check.
169
+ * @method ac
170
+ */
171
+ async checkPassword(password) {
172
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "checkPassword", password);
173
+ }
174
+ /**
175
+ * Check whether a bot token is valid.
176
+ *
177
+ * @param password The password to check
178
+ * @returns The result of the check.
179
+ * @method ac
180
+ */
181
+ async checkBotToken(botToken) {
182
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "checkBotToken", botToken);
183
+ }
184
+ /**
185
+ * Signs in using the provided parameters if not already signed in.
186
+ * If no parameters are provided, the credentials will be prompted in runtime.
187
+ *
188
+ * Notes:
189
+ * 1. Requires the `apiId` and `apiHash` paramters to be passed when constructing the client.
190
+ * 3. Reconnects the client to the appropriate DC in case of MIGRATE_X errors.
191
+ */
192
+ async signIn(params) {
193
+ await (0, _2_sign_in_js_1.signIn)(this, __classPrivateFieldGet(this, _ClientDispatcher_LsignIn, "f"), params);
194
+ }
195
+ async signOut() {
196
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "signOut");
197
+ }
198
+ async exportAuthString() {
199
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "exportAuthString");
200
+ }
201
+ async importAuthString(authString) {
202
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "importAuthString", authString);
203
+ }
204
+ /**
205
+ * Get a chat's inputPeer. Useful when calling API functions directly.
206
+ *
207
+ * @param id The identifier of a chat.
208
+ */
209
+ async getInputPeer(id) {
210
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getInputPeer", id);
211
+ }
212
+ /**
213
+ * Get a channel or a supergroup's inputChannel. Useful when calling API functions directly.
214
+ *
215
+ * @param id The identifier of the channel or the supergroup.
216
+ */
217
+ async getInputChannel(id) {
218
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getInputChannel", id);
219
+ }
220
+ /**
221
+ * Get a user's inputUser. Useful when calling API functions directly.
222
+ *
223
+ * @param id The identifier of the user.
224
+ */
225
+ async getInputUser(id) {
226
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getInputUser", id);
227
+ }
228
+ //
229
+ // ========================= ACCOUNT ========================= //
230
+ //
231
+ /**
232
+ * Get information on the currently authorized user.
233
+ *
234
+ * @method ac
235
+ * @returns Information on the currently authorized user.
236
+ */
237
+ async getMe() {
238
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMe");
239
+ }
240
+ /**
241
+ * Show a username in the current account, a bot account, a supergroup, or a channel's profile. User-only.
242
+ *
243
+ * @method ac
244
+ * @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
245
+ * @param username The username to show.
246
+ */
247
+ async showUsername(id, username) {
248
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "showUsername", id, username);
249
+ }
250
+ /**
251
+ * Hide a username from the current account, a bot account, a supergroup, or a channel's profile. User-only.
252
+ *
253
+ * @method ac
254
+ * @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
255
+ * @param username The username to hide.
256
+ */
257
+ async hideUsername(id, username) {
258
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "hideUsername", id, username);
259
+ }
260
+ /**
261
+ * Check the availability of a username. User-only.
262
+ *
263
+ * @method ac
264
+ * @param username The username to check.
265
+ * @returns Whether the username is available.
266
+ */
267
+ async checkUsername(username, params) {
268
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "checkUsername", username, params);
269
+ }
270
+ /**
271
+ * Set the username of the current account. User-only.
272
+ *
273
+ * @method ac
274
+ * @param username The username to set.
275
+ */
276
+ async setUsername(username) {
277
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setUsername", username);
278
+ }
279
+ /**
280
+ * Remove the current account's username. User-only.
281
+ *
282
+ * @method ac
283
+ */
284
+ async removeUsername() {
285
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeUsername");
286
+ }
287
+ /**
288
+ * Reorder the usernames of the current account, a bot account, a supergroup, or a channel's profile. User-only.
289
+ *
290
+ * @method ac
291
+ * @param id `"me"`, a bot ID, a supergroup ID, or a channel ID.
292
+ * @param order The new order to use.
293
+ * @returns Whether the order was changed.
294
+ */
295
+ async reorderUsernames(id, order) {
296
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "reorderUsernames", id, order);
297
+ }
298
+ /**
299
+ * Hide all usernames from a supergroup or a channel's profile. User-only.
300
+ *
301
+ * @method ac
302
+ * @param id A supergroup ID or a channel ID.
303
+ * @returns Whether any username was hidden.
304
+ */
305
+ async hideUsernames(id) {
306
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "hideUsernames", id);
307
+ }
308
+ /**
309
+ * Get a business connection. Bot-only.
310
+ *
311
+ * @method ac
312
+ * @param id The identifier of the business connection.
313
+ * @cache
314
+ */
315
+ async getBusinessConnection(id) {
316
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getBusinessConnection", id);
317
+ }
318
+ /**
319
+ * Set the current account's online status. User-only.
320
+ *
321
+ * @method ac
322
+ * @param isOnline The new online status.
323
+ */
324
+ async setIsOnline(isOnline) {
325
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setOnline", isOnline);
326
+ }
327
+ /**
328
+ * Set the current account's emoji status. User-only.
329
+ *
330
+ * @method ac
331
+ * @param emojiStatus The emoji or gift to set as the new emoji status.
332
+ */
333
+ async setEmojiStatus(emojiStatus, params) {
334
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setEmojiStatus", emojiStatus, params);
335
+ }
336
+ /**
337
+ * Remove the current account's emoji status. User-only.
338
+ *
339
+ * @method ac
340
+ */
341
+ async removeEmojiStatus() {
342
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeEmojiStatus");
343
+ }
344
+ /**
345
+ * Set the emoji status of a channel. User-only.
346
+ *
347
+ * @method ac
348
+ * @param chatId The identifier of a channel.
349
+ * @param emojiStatus The emoji or gift to set as the new emoji status.
350
+ */
351
+ async setChannelEmojiStatus(chatId, emojiStatus, params) {
352
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChannelEmojiStatus", chatId, emojiStatus, params);
353
+ }
354
+ /**
355
+ * Remove the emoji status of a channel. User-only.
356
+ *
357
+ * @method ac
358
+ * @param chatId The identifier of a channel.
359
+ */
360
+ async removeChannelEmojiStatus(chatId) {
361
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeChannelEmojiStatus", chatId);
362
+ }
363
+ /**
364
+ * Set the emoji status of a bot's user. Bot-only.
365
+ *
366
+ * @method ac
367
+ * @param userId The identifier of a user of the bot.
368
+ * @param emojiStatus The emoji or gift to set as the new emoji status.
369
+ */
370
+ async setUserEmojiStatus(userId, emojiStatus, params) {
371
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setUserEmojiStatus", userId, emojiStatus, params);
372
+ }
373
+ /**
374
+ * Remove the emoji status of a bot's user. Bot-only.
375
+ *
376
+ * @method ac
377
+ * @param userId The identifier of a user of the bot.
378
+ */
379
+ async removeUserEmojiStatus(userId) {
380
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeUserEmojiStatus", userId);
381
+ }
382
+ /**
383
+ * Update the profile of the current user. At least one parameter must be specified. User-only.
384
+ *
385
+ * @method ac
386
+ */
387
+ async updateProfile(params) {
388
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "updateProfile", params);
389
+ }
390
+ /**
391
+ * Set the birthday of the current user. User-only.
392
+ *
393
+ * @method ac
394
+ */
395
+ async setBirthday(params) {
396
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setBirthday", params);
397
+ }
398
+ /**
399
+ * Set the personal channel of the current user. User-only.
400
+ *
401
+ * @method ac
402
+ */
403
+ async setPersonalChannel(params) {
404
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setPersonalChannel", params);
405
+ }
406
+ /**
407
+ * Set the name color of the current user. User-only.
408
+ *
409
+ * @method ac
410
+ * @param color The identifier of the color to set.
411
+ */
412
+ async setNameColor(color, params) {
413
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setNameColor", color, params);
414
+ }
415
+ /**
416
+ * Set the profile color of the current user. User-only.
417
+ *
418
+ * @method ac
419
+ * @param color The identifier of the color to set.
420
+ */
421
+ async setProfileColor(color, params) {
422
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setProfileColor", color, params);
423
+ }
424
+ /**
425
+ * Set the location of the current user. User-only.
426
+ *
427
+ * @method ac
428
+ */
429
+ async setLocation(params) {
430
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setLocation", params);
431
+ }
432
+ /**
433
+ * Set the working hours of the current user. User-only.
434
+ *
435
+ * @method ac
436
+ */
437
+ async setWorkingHours(params) {
438
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setWorkingHours", params);
439
+ }
440
+ /**
441
+ * Enable sponsored messages on the current user. User-only.
442
+ *
443
+ * @method ac
444
+ */
445
+ async enableSponsoredMessages() {
446
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableSponsoredMessages");
447
+ }
448
+ /**
449
+ * Disable sponsored messages on the current user. User-only.
450
+ *
451
+ * @method ac
452
+ */
453
+ async disableSponsoredMessages() {
454
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableSponsoredMessages");
455
+ }
456
+ /**
457
+ * Pause the business bot in a chat. User-only.
458
+ *
459
+ * @method ac
460
+ */
461
+ async pauseBusinessBotConnection(chatId) {
462
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "pauseBusinessBotConnection", chatId);
463
+ }
464
+ /**
465
+ * Resume the business bot in a chat. User-only.
466
+ *
467
+ * @method ac
468
+ */
469
+ async resumeBusinessBotConnection(chatId) {
470
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "resumeBusinessBotConnection", chatId);
471
+ }
472
+ //
473
+ // ========================= MESSAGES ========================= //
474
+ //
475
+ /**
476
+ * Send a text message.
477
+ *
478
+ * @method ms
479
+ * @param chatId The identifier of a chat to send the message to.
480
+ * @param text The message's text.
481
+ * @returns The sent text message.
482
+ */
483
+ async sendMessage(chatId, text, params) {
484
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendMessage", chatId, text, params);
485
+ }
486
+ /**
487
+ * Stream a drafted text message. Bot-only.
488
+ *
489
+ * @method ms
490
+ * @param chatId The identifier of a chat to send the message to.
491
+ * @param draftId The identifier of the draft.
492
+ * @param text The message's text.
493
+ */
494
+ async sendMessageDraft(chatId, draftId, text, params) {
495
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendMessageDraft", chatId, draftId, text, params);
496
+ }
497
+ /**
498
+ * Send a photo.
499
+ *
500
+ * @method ms
501
+ * @param chatId The identifier of a chat to send the photo to.
502
+ * @param photo The photo to send.
503
+ * @returns The sent photo.
504
+ */
505
+ async sendPhoto(chatId, photo, params) {
506
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendPhoto", chatId, photo, params);
507
+ }
508
+ /**
509
+ * Send a document.
510
+ *
511
+ * @method ms
512
+ * @param chatId The identifier of a chat to send the document to.
513
+ * @param document The document to send.
514
+ * @returns The sent document.
515
+ */
516
+ async sendDocument(chatId, document, params) {
517
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendDocument", chatId, document, params);
518
+ }
519
+ /**
520
+ * Send a sticker.
521
+ *
522
+ * @method ms
523
+ * @param chatId The identifier of a chat to send the sticker to.
524
+ * @param document The sticker to send.
525
+ * @returns The sent sticker.
526
+ */
527
+ async sendSticker(chatId, sticker, params) {
528
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendSticker", chatId, sticker, params);
529
+ }
530
+ /**
531
+ * Send a video.
532
+ *
533
+ * @method ms
534
+ * @param chatId The identifier of a chat to send the video to.
535
+ * @param video The video to send.
536
+ * @returns The sent video.
537
+ */
538
+ async sendVideo(chatId, video, params) {
539
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendVideo", chatId, video, params);
540
+ }
541
+ /**
542
+ * Send an animation.
543
+ *
544
+ * @method ms
545
+ * @param chatId The identifier of a chat to send the animation to.
546
+ * @param animation The animation to send.
547
+ * @returns The sent animation.
548
+ */
549
+ async sendAnimation(chatId, animation, params) {
550
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendAnimation", chatId, animation, params);
551
+ }
552
+ /**
553
+ * Send a voice message.
554
+ *
555
+ * @method ms
556
+ * @param chatId The identifier of a chat to send the voice message to.
557
+ * @param voice The voice to send.
558
+ * @returns The sent voice message.
559
+ */
560
+ async sendVoice(chatId, voice, params) {
561
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendVoice", chatId, voice, params);
562
+ }
563
+ /**
564
+ * Send an audio file.
565
+ *
566
+ * @method ms
567
+ * @param chatId The identifier of a chat to send the audio file to.
568
+ * @param audio The audio to send.
569
+ * @returns The sent audio file.
570
+ */
571
+ async sendAudio(chatId, audio, params) {
572
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendAudio", chatId, audio, params);
573
+ }
574
+ /**
575
+ * Send a media group.
576
+ *
577
+ * @method ms
578
+ * @param chatId The identifier of a chat to send the media group to.
579
+ * @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.
580
+ * @returns The sent messages.
581
+ */
582
+ async sendMediaGroup(chatId, media, params) {
583
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendMediaGroup", chatId, media, params);
584
+ }
585
+ /**
586
+ * Send a video note.
587
+ *
588
+ * @method ms
589
+ * @param chatId The identifier of a chat to send the video note to.
590
+ * @param videoNote The video note to send.
591
+ * @returns The sent video note.
592
+ */
593
+ async sendVideoNote(chatId, videoNote, params) {
594
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendVideoNote", chatId, videoNote, params);
595
+ }
596
+ /**
597
+ * Send a location.
598
+ *
599
+ * @method ms
600
+ * @param chatId The identifier of a chat to send the location to.
601
+ * @param latitude The location's latitude.
602
+ * @param longitude The location's longitude.
603
+ * @returns The sent location.
604
+ */
605
+ async sendLocation(chatId, latitude, longitude, params) {
606
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendLocation", chatId, latitude, longitude, params);
607
+ }
608
+ /**
609
+ * Send a contact.
610
+ *
611
+ * @method ms
612
+ * @param chatId The identifier of a chat to send the contact to.
613
+ * @param firstName The contact's first name.
614
+ * @param number The contact's phone number.
615
+ * @returns The sent contact.
616
+ */
617
+ async sendContact(chatId, firstName, number, params) {
618
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendContact", chatId, firstName, number, params);
619
+ }
620
+ /**
621
+ * Send a dice.
622
+ *
623
+ * @method ms
624
+ * @param chatId The identifier of a chat to send the dice to.
625
+ * @returns The sent dice.
626
+ */
627
+ async sendDice(chatId, params) {
628
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendDice", chatId, params);
629
+ }
630
+ /**
631
+ * Send a venue.
632
+ *
633
+ * @method ms
634
+ * @param chatId The identifier of a chat to send the venue to.
635
+ * @param latitude The latitude of the venue.
636
+ * @param longitude The longitude of the venue.
637
+ * @param title The title of the venue.
638
+ * @param address The written address of the venue.
639
+ * @returns The sent venue.
640
+ */
641
+ async sendVenue(chatId, latitude, longitude, title, address, params) {
642
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendVenue", chatId, latitude, longitude, title, address, params);
643
+ }
644
+ /**
645
+ * Send a poll.
646
+ *
647
+ * @method ms
648
+ * @param chatId The identifier of a chat to send the poll to.
649
+ * @param question The poll's question.
650
+ * @param options The poll's options.
651
+ * @returns The sent poll.
652
+ */
653
+ async sendPoll(chatId, question, options, params) {
654
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendPoll", chatId, question, options, params);
655
+ }
656
+ /**
657
+ * Send a checklist. User-only.
658
+ *
659
+ * @method ms
660
+ * @param chatId The identifier of a chat to send the checklist to.
661
+ * @param title The checklist's title.
662
+ * @param items The checklist's items.
663
+ * @returns The sent checklist.
664
+ */
665
+ async sendChecklist(chatId, title, items, params) {
666
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendChecklist", chatId, title, items, params);
667
+ }
668
+ /**
669
+ * Send an invoice. Bot-only.
670
+ *
671
+ * @method ms
672
+ * @param chatId The identifier of a chat to send the invoice to.
673
+ * @param title The invoice's title.
674
+ * @param description The invoice's description.
675
+ * @param payload The invoice's payload.
676
+ * @param currency The invoice's currency.
677
+ * @param prices The invoice's price tags.
678
+ * @returns The sent invoice.
679
+ */
680
+ async sendInvoice(chatId, title, description, payload, currency, prices, params) {
681
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendInvoice", chatId, title, description, payload, currency, prices, params);
682
+ }
683
+ /**
684
+ * Edit a message's text.
685
+ *
686
+ * @method ms
687
+ * @param chatId The identifier of the chat which the message belongs to.
688
+ * @param messageId The identifier of the message.
689
+ * @param text The new text of the message.
690
+ * @returns The edited text message.
691
+ */
692
+ async editMessageText(chatId, messageId, text, params) {
693
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editMessageText", chatId, messageId, text, params);
694
+ }
695
+ /**
696
+ * Edit a message's caption.
697
+ *
698
+ * @method ms
699
+ * @param chatId The identifier of the chat which the message belongs to.
700
+ * @param messageId The identifier of the message.
701
+ * @param text The new caption of the message.
702
+ * @returns The edited message.
703
+ */
704
+ async editMessageCaption(chatId, messageId, params) {
705
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editMessageCaption", chatId, messageId, params);
706
+ }
707
+ /**
708
+ * Edit a message's media.
709
+ *
710
+ * @method ms
711
+ * @param chatId The identifier of the chat which the message belongs to.
712
+ * @param messageId The identifier of the message.
713
+ * @param media The new media of the message.
714
+ * @returns The edited message.
715
+ */
716
+ async editMessageMedia(chatId, messageId, media, params) {
717
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editMessageMedia", chatId, messageId, media, params);
718
+ }
719
+ /**
720
+ * Edit an inline message's media.
721
+ *
722
+ * @method ms
723
+ * @param inlineMessageId The identifier of the inline message.
724
+ * @param media The new media of the message.
725
+ */
726
+ async editInlineMessageMedia(inlineMessageId, media, params) {
727
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editInlineMessageMedia", inlineMessageId, media, params);
728
+ }
729
+ /**
730
+ * Edit an inline message's text. Bot-only.
731
+ *
732
+ * @method ms
733
+ * @param inlineMessageId The identifier of the inline message.
734
+ * @param text The new text of the message.
735
+ */
736
+ async editInlineMessageText(inlineMessageId, text, params) {
737
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editInlineMessageText", inlineMessageId, text, params);
738
+ }
739
+ /**
740
+ * Edit an inline message's caption. Bot-only.
741
+ *
742
+ * @method ms
743
+ * @param inlineMessageId The identifier of the inline message.
744
+ */
745
+ async editInlineMessageCaption(inlineMessageId, params) {
746
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editInlineMessageCaption", inlineMessageId, params);
747
+ }
748
+ /**
749
+ * Edit a message's reply markup.
750
+ *
751
+ * @method ms
752
+ * @param chatId The identifier of the chat which the message belongs to.
753
+ * @param messageId The identifier of the message.
754
+ * @returns The edited message.
755
+ */
756
+ async editMessageReplyMarkup(chatId, messageId, params) {
757
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editMessageReplyMarkup", chatId, messageId, params);
758
+ }
759
+ /**
760
+ * Edit an inline message's reply markup. Bot-only.
761
+ *
762
+ * @method ms
763
+ * @param inlineMessageId The identifier of the inline message.
764
+ */
765
+ async editInlineMessageReplyMarkup(inlineMessageId, params) {
766
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editInlineMessageReplyMarkup", inlineMessageId, params);
767
+ }
768
+ /**
769
+ * Edit a message's live location.
770
+ *
771
+ * @method ms
772
+ * @param chatId The identifier of the chat which the message belongs to.
773
+ * @param messageId The identifier of the message.
774
+ * @param latitude The new latitude.
775
+ * @param longitude The new longitude.
776
+ * @returns The edited location message.
777
+ */
778
+ async editMessageLiveLocation(chatId, messageId, latitude, longitude, params) {
779
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editMessageLiveLocation", chatId, messageId, latitude, longitude, params);
780
+ }
781
+ /**
782
+ * Edit an inline message's live location. Bot-only.
783
+ *
784
+ * @method ms
785
+ * @param inlineMessageId The identifier of the inline message.
786
+ * @param latitude The new latitude.
787
+ * @param longitude The new longitude.
788
+ * @returns The edited location message.
789
+ */
790
+ async editInlineMessageLiveLocation(inlineMessageId, latitude, longitude, params) {
791
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editInlineMessageLiveLocation", inlineMessageId, latitude, longitude, params);
792
+ }
793
+ /**
794
+ * Retrieve multiple messages.
795
+ *
796
+ * @method ms
797
+ * @param chatId The identifier of a chat to retrieve the messages from.
798
+ * @param messageIds The identifiers of the messages to retrieve.
799
+ * @example ```ts
800
+ * const message = await client.getMessages("@MTKruto", [210, 212]): Promise<void>;
801
+ * ```
802
+ * @returns The retrieved messages.
803
+ * @cache
804
+ */
805
+ async getMessages(chatId, messageIds) {
806
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMessages", chatId, messageIds);
807
+ }
808
+ /**
809
+ * Retrieve a single message.
810
+ *
811
+ * @method ms
812
+ * @param chatId The identifier of a chat.
813
+ * @param messageId The identifier of the message to retrieve.
814
+ * @example ```ts
815
+ * const message = await client.getMessage("@MTKruto", 212): Promise<void>;
816
+ * ```
817
+ * @returns The retrieved message.
818
+ * @cache
819
+ */
820
+ async getMessage(chatId, messageId) {
821
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMessage", chatId, messageId);
822
+ }
823
+ /**
824
+ * Retrieve a message using its link.
825
+ *
826
+ * @method ms
827
+ * @param link A message link.
828
+ * @example ```ts
829
+ * const message = await client.resolveMessageLink("https://t.me/MTKruto/212"): Promise<void>;
830
+ * ```
831
+ * @returns The message that was linked to.
832
+ */
833
+ async resolveMessageLink(link) {
834
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "resolveMessageLink", link);
835
+ }
836
+ /**
837
+ * Delete multiple messages.
838
+ *
839
+ * @method ms
840
+ * @param chatId The identifier of the chat which the message belongs to.
841
+ * @param messageIds The identifiers of the messages to delete.
842
+ */
843
+ async deleteMessages(chatId, messageIds, params) {
844
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteMessages", chatId, messageIds, params);
845
+ }
846
+ /**
847
+ * Delete a single message.
848
+ *
849
+ * @method ms
850
+ * @param chatId The identifier of the chat which the message belongs to.
851
+ * @param messageId The identifier of the message to delete.
852
+ */
853
+ async deleteMessage(chatId, messageId, params) {
854
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteMessage", chatId, messageId, params);
855
+ }
856
+ /**
857
+ * Delete all messages sent by a specific member of a chat. User-only.
858
+ *
859
+ * @method ms
860
+ * @param chatId The identifier of a chat. Must be a supergroup.
861
+ * @param memberId The identifier of the member.
862
+ */
863
+ async deleteChatMemberMessages(chatId, memberId) {
864
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteChatMemberMessages", chatId, memberId);
865
+ }
866
+ /**
867
+ * Delete multiple scheduled messages.
868
+ *
869
+ * @method ms
870
+ * @param chatId The identifier of a chat.
871
+ * @param messageIds The identifiers of the scheduled messages to delete.
872
+ */
873
+ async deleteScheduledMessages(chatId, messageIds) {
874
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteScheduledMessages", chatId, messageIds);
875
+ }
876
+ /**
877
+ * Delete a scheduled message.
878
+ *
879
+ * @method ms
880
+ * @param chatId The identifier of a chat.
881
+ * @param messageId The identifier of the scheduled message to delete.
882
+ */
883
+ async deleteScheduledMessage(chatId, messageId) {
884
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteScheduledMessage", chatId, messageId);
885
+ }
886
+ /**
887
+ * Send multiple scheduled messages before their schedule.
888
+ *
889
+ * @method ms
890
+ * @param chatId The identifier of a chat.
891
+ * @param messageIds The identifiers of the scheduled messages to send.
892
+ */
893
+ async sendScheduledMessages(chatId, messageIds) {
894
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendScheduledMessages", chatId, messageIds);
895
+ }
896
+ /**
897
+ * Send a scheduled message before its schedule.
898
+ *
899
+ * @method ms
900
+ * @param chatId The identifier of a chat.
901
+ * @param messageId The identifier of the scheduled message to send.
902
+ */
903
+ async sendScheduledMessage(chatId, messageId) {
904
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendScheduledMessage", chatId, messageId);
905
+ }
906
+ /**
907
+ * Pin a message in a chat.
908
+ *
909
+ * @method ms
910
+ * @param chatId The identifier of a chat.
911
+ * @param messageId The identifier of the message.
912
+ */
913
+ async pinMessage(chatId, messageId, params) {
914
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "pinMessage", chatId, messageId, params);
915
+ }
916
+ /**
917
+ * Unpin a pinned message.
918
+ *
919
+ * @method ms
920
+ * @param chatId The identifier of a chat.
921
+ * @param messageId The identifier of the message.
922
+ */
923
+ async unpinMessage(chatId, messageId, params) {
924
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unpinMessage", chatId, messageId, params);
925
+ }
926
+ /**
927
+ * Unpin all pinned messages.
928
+ *
929
+ * @method ms
930
+ * @param chatId The identifier of a chat.
931
+ */
932
+ async unpinMessages(chatId, params) {
933
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unpinMessages", chatId, params);
934
+ }
935
+ /**
936
+ * Forward multiple messages.
937
+ *
938
+ * @method ms
939
+ * @param from The identifier of a chat to forward the messages from.
940
+ * @param to The identifier of a chat to forward the messages to.
941
+ * @param messageIds The identifiers of the messages to forward.
942
+ * @returns The forwarded messages.
943
+ */
944
+ async forwardMessages(from, to, messageIds, params) {
945
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "forwardMessages", from, to, messageIds, params);
946
+ }
947
+ /**
948
+ * Forward a single message.
949
+ *
950
+ * @method ms
951
+ * @param from The identifier of a chat to forward the message from.
952
+ * @param to The identifier of a chat to forward the message to.
953
+ * @param messageId The identifier of the message to forward.
954
+ * @returns The forwarded message.
955
+ */
956
+ async forwardMessage(from, to, messageId, params) {
957
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "forwardMessage", from, to, messageId, params);
958
+ }
959
+ /**
960
+ * Stop a poll.
961
+ *
962
+ * @method ms
963
+ * @param chatId The chat that includes the poll.
964
+ * @param messageId The idenfifier of the poll's message.
965
+ * @returns The new state of the poll.
966
+ */
967
+ async stopPoll(chatId, messageId, params) {
968
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "stopPoll", chatId, messageId, params);
969
+ }
970
+ /**
971
+ * Send a chat action.
972
+ *
973
+ * @method ms
974
+ * @param chatId The identifier of a chat to send the chat action to.
975
+ * @param action The chat action.
976
+ * @param messageThreadId The thread to send the chat action to.
977
+ */
978
+ async sendChatAction(chatId, action, params) {
979
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendChatAction", chatId, action, params);
980
+ }
981
+ /**
982
+ * Search for messages. User-only.
983
+ *
984
+ * @method ms
985
+ */
986
+ async searchMessages(params) {
987
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "searchMessages", params);
988
+ }
989
+ /**
990
+ * Mark messages as read. User-only.
991
+ *
992
+ * @method ms
993
+ * @param chatId The identifier of the chat which the messages belong to.
994
+ * @param untilMessageId The identifier of the message that will be marked as read, along with any other unread messages before it.
995
+ */
996
+ async readMessages(chatId, untilMessageId) {
997
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "readMessages", chatId, untilMessageId);
998
+ }
999
+ /**
1000
+ * Start a bot. User-only.
1001
+ *
1002
+ * @method ms
1003
+ * @param botId The identifier of the bot to start.
1004
+ * @returns The start message.
1005
+ */
1006
+ async startBot(botId, params) {
1007
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "startBot", botId, params);
1008
+ }
1009
+ /**
1010
+ * Transcribe a voice message. User-only.
1011
+ *
1012
+ * @method ms
1013
+ * @param chatId The identifier of the chat which the message belongs to.
1014
+ * @param messageId The identifier of the message.
1015
+ * @cache
1016
+ */
1017
+ async transcribeVoice(chatId, messageId) {
1018
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "transcribeVoice", chatId, messageId);
1019
+ }
1020
+ /**
1021
+ * Get a sticker set.
1022
+ *
1023
+ * @method ms
1024
+ * @param name The name of the sticker set or its link.
1025
+ */
1026
+ async getStickerSet(name) {
1027
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getStickerSet", name);
1028
+ }
1029
+ /*
1030
+ * Get the link preview for a message that is about to be sent. User-only.
1031
+ *
1032
+ * @method ms
1033
+ * @param text The message's text.
1034
+ */
1035
+ async getLinkPreview(text, params) {
1036
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getLinkPreview", text, params);
1037
+ }
1038
+ /**
1039
+ * Open a mini app. User-only.
1040
+ *
1041
+ * @method ms
1042
+ * @param botId The identifier of a bot with the mini app.
1043
+ * @param chatId The identifier of the chat from which the mini app is opened.
1044
+ * @cache
1045
+ */
1046
+ async openMiniApp(botId, chatId, params) {
1047
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "openMiniApp", botId, chatId, params);
1048
+ }
1049
+ /**
1050
+ * Get a progress ID that can be passed to relevant send* methods to receive upload progress updates for them.
1051
+ *
1052
+ * @method ms
1053
+ * @cache
1054
+ */
1055
+ async getProgressId() {
1056
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getProgressId");
1057
+ }
1058
+ /**
1059
+ * Get messages saved from a specific chat.
1060
+ *
1061
+ * @method ms
1062
+ * @param chatId The identifier of a chat.
1063
+ */
1064
+ async getSavedMessages(chatId, params) {
1065
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getSavedMessages", chatId, params);
1066
+ }
1067
+ /**
1068
+ * Get a list of saved chats.
1069
+ *
1070
+ * @method ms
1071
+ */
1072
+ async getSavedChats(params) {
1073
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getSavedChats", params);
1074
+ }
1075
+ /**
1076
+ * Get a list of reactions made to a message. User-only.
1077
+ *
1078
+ * @param chatId The identifier of a chat.
1079
+ * @param messageId The identifier of the message.
1080
+ * @method ms
1081
+ */
1082
+ async getMessageReactions(chatId, messageId, params) {
1083
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMessageReactions", chatId, messageId, params);
1084
+ }
1085
+ //
1086
+ // ========================= POLLS ========================= //
1087
+ //
1088
+ /**
1089
+ * Cast a vote. User-only.
1090
+ *
1091
+ * @method pl
1092
+ * @param chatId The identifier of the chat that includes the poll.
1093
+ * @param messageId The identifier of the message that includes the poll.
1094
+ * @param optionIndexes The indexes of the options to cast for.
1095
+ */
1096
+ async vote(chatId, messageId, optionIndexes) {
1097
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "vote", chatId, messageId, optionIndexes);
1098
+ }
1099
+ /**
1100
+ * Retract a vote. User-only.
1101
+ *
1102
+ * @method pl
1103
+ * @param chatId The identifier of the chat that includes the poll.
1104
+ * @param messageId The identifier of the message that includes the poll.
1105
+ */
1106
+ async retractVote(chatId, messageId) {
1107
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "retractVote", chatId, messageId);
1108
+ }
1109
+ //
1110
+ // ========================= CHECKLISTS ========================= //
1111
+ //
1112
+ /**
1113
+ * Add items to a checklist. User-only.
1114
+ *
1115
+ * @param chatId The identifier of a chat.
1116
+ * @param messageId The identifier of the checklist message.
1117
+ * @param items The items to add.
1118
+ * @method cl
1119
+ */
1120
+ async addToChecklist(chatId, messageId, items) {
1121
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addToChecklist", chatId, messageId, items);
1122
+ }
1123
+ /**
1124
+ * Update a checklist. User-only.
1125
+ *
1126
+ * @param chatId The identifier of a chat.
1127
+ * @param messageId The identifier of the checklist message.
1128
+ * @method cl
1129
+ */
1130
+ async updateChecklist(chatId, messageId, params) {
1131
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "updateChecklist", chatId, messageId, params);
1132
+ }
1133
+ /**
1134
+ * Check multiple items of a checklist. User-only.
1135
+ *
1136
+ * @param chatId The identifier of a chat.
1137
+ * @param messageId The identifier of the checklist message.
1138
+ * @param items The identifiers of the items to check.
1139
+ * @method cl
1140
+ */
1141
+ async checkChecklistItems(chatId, messageId, items) {
1142
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "checkChecklistItems", chatId, messageId, items);
1143
+ }
1144
+ /**
1145
+ * Uncheck multiple items of a checklist. User-only.
1146
+ *
1147
+ * @param chatId The identifier of a chat.
1148
+ * @param messageId The identifier of the checklist message.
1149
+ * @param items The identifiers of the items to uncheck.
1150
+ * @method cl
1151
+ */
1152
+ async uncheckChecklistItems(chatId, messageId, items) {
1153
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "uncheckChecklistItems", chatId, messageId, items);
1154
+ }
1155
+ /**
1156
+ * Check a single item of a checklist. User-only.
1157
+ *
1158
+ * @param chatId The identifier of a chat.
1159
+ * @param messageId The identifier of the checklist message.
1160
+ * @param item The identifier of the item to check.
1161
+ * @method cl
1162
+ */
1163
+ async checkChecklistItem(chatId, messageId, item) {
1164
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "checkChecklistItem", chatId, messageId, item);
1165
+ }
1166
+ /**
1167
+ * Uncheck a single item of a checklist. User-only.
1168
+ *
1169
+ * @param chatId The identifier of a chat.
1170
+ * @param messageId The identifier of the checklist message.
1171
+ * @param item The identifier of the item to uncheck.
1172
+ * @method cl
1173
+ */
1174
+ async uncheckChecklistItem(chatId, messageId, item) {
1175
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "uncheckChecklistItem", chatId, messageId, item);
1176
+ }
1177
+ //
1178
+ // ========================= FILES ========================= //
1179
+ //
1180
+ /**
1181
+ * Download a chunk of a file.
1182
+ *
1183
+ * @method fs
1184
+ * @param fileId The identifier of a file.
1185
+ * @example ```ts
1186
+ * const chunk = await client.downloadChunk(fileId, { chunkSize: 256 * 1024 });
1187
+ * ```
1188
+ * @returns The downloaded chunk.
1189
+ * @cache file
1190
+ */
1191
+ async downloadChunk(fileId, params) {
1192
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "downloadChunk", fileId, params);
1193
+ }
1194
+ /**
1195
+ * Download a file.
1196
+ *
1197
+ * @method fs
1198
+ * @param fileId The identifier of the file to download.
1199
+ * @example ```ts
1200
+ * for await (const chunk of client.download(fileId, { chunkSize: 256 * 1024 })) {
1201
+ * await outFile.write(chunk): Promise<void>;
1202
+ * }
1203
+ * ```
1204
+ * @returns A generator yielding the contents of the file.
1205
+ * @cache file
1206
+ */
1207
+ async *download(fileId, params) {
1208
+ let offset = 0;
1209
+ const chunkSize = params?.chunkSize ?? _4_constants_js_1.DOWNLOAD_MAX_CHUNK_SIZE;
1210
+ while (true) {
1211
+ const chunk = await this.downloadChunk(fileId, { chunkSize, offset });
1212
+ yield chunk;
1213
+ if (chunk.length < chunkSize) {
1214
+ break;
1215
+ }
1216
+ else {
1217
+ offset += chunk.length;
1218
+ }
1219
+ }
1220
+ }
1221
+ /**
1222
+ * Get custom emoji documents for download.
1223
+ *
1224
+ * @method fs
1225
+ * @param id Identifier of one or more of custom emojis.
1226
+ * @returns The custom emoji documents.
1227
+ * @cache
1228
+ */
1229
+ async getCustomEmojiStickers(id) {
1230
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getCustomEmojiStickers", id);
1231
+ }
1232
+ //
1233
+ // ========================= CHATS ========================= //
1234
+ //
1235
+ /**
1236
+ * Get chats from a chat list. User-only.
1237
+ *
1238
+ * @method ch
1239
+ */
1240
+ async getChats(params) {
1241
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getChats", params);
1242
+ }
1243
+ /**
1244
+ * Get pinned chats from a chat list. User-only.
1245
+ *
1246
+ * @method ch
1247
+ * @param from The chat list to get the pinned chats from. Defaults to main.
1248
+ */
1249
+ async getPinnedChats(from) {
1250
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getPinnedChats", from);
1251
+ }
1252
+ /**
1253
+ * Get a chat.
1254
+ *
1255
+ * @method ch
1256
+ * @cache
1257
+ */
1258
+ async getChat(chatId) {
1259
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getChat", chatId);
1260
+ }
1261
+ /**
1262
+ * Get chat history. User-only.
1263
+ *
1264
+ * @method ch
1265
+ * @param chatId The identifier of a chat.
1266
+ */
1267
+ async getHistory(chatId, params) {
1268
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getHistory", chatId, params);
1269
+ }
1270
+ /**
1271
+ * Set a chat's available reactions. User-only.
1272
+ *
1273
+ * @method ch
1274
+ * @param chatId The identifier of a chat.
1275
+ * @param availableReactions The new available reactions.
1276
+ */
1277
+ async setAvailableReactions(chatId, availableReactions) {
1278
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setAvailableReactions", chatId, availableReactions);
1279
+ }
1280
+ /**
1281
+ * Set a chat's photo.
1282
+ *
1283
+ * @method ch
1284
+ * @param chatId The identifier of a chat.
1285
+ * @param photo A photo to set as the chat's photo.
1286
+ */
1287
+ async setChatPhoto(chatId, photo, params) {
1288
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChatPhoto", chatId, photo, params);
1289
+ }
1290
+ /**
1291
+ * Delete a chat's photo.
1292
+ *
1293
+ * @method ch
1294
+ * @param chatId The identifier of a chat.
1295
+ */
1296
+ async deleteChatPhoto(chatId) {
1297
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteChatPhoto", chatId);
1298
+ }
1299
+ /**
1300
+ * Ban a member from a chat.
1301
+ *
1302
+ * @method ch
1303
+ * @param chatId The identifier of a chat.
1304
+ * @param memberId The identifier of the member.
1305
+ */
1306
+ async banChatMember(chatId, memberId, params) {
1307
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "banChatMember", chatId, memberId, params);
1308
+ }
1309
+ /**
1310
+ * Unban a member from a chat.
1311
+ *
1312
+ * @method ch
1313
+ * @param chatId The identifier of a chat. Must be a supergroup.
1314
+ * @param memberId The identifier of the member.
1315
+ */
1316
+ async unbanChatMember(chatId, memberId) {
1317
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unbanChatMember", chatId, memberId);
1318
+ }
1319
+ /**
1320
+ * Kick a member from a chat. Same as a banChatMember call followed by unbanChatMember.
1321
+ *
1322
+ * @method ch
1323
+ * @param chatId The identifier of a chat. Must be a supergroup.
1324
+ * @param memberId The identifier of the member.
1325
+ */
1326
+ async kickChatMember(chatId, memberId) {
1327
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "kickChatMember", chatId, memberId);
1328
+ }
1329
+ /**
1330
+ * Set the rights of a chat member.
1331
+ *
1332
+ * @method ch
1333
+ * @param chatId The identifier of a chat. Must be a supergroup.
1334
+ * @param memberId The identifier of the member.
1335
+ */
1336
+ async setChatMemberRights(chatId, memberId, params) {
1337
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChatMemberRights", chatId, memberId, params);
1338
+ }
1339
+ /**
1340
+ * Get the administrators of a chat.
1341
+ *
1342
+ * @method ch
1343
+ * @param chatId The identifier of a chat.
1344
+ * @returns The chat's administrators.
1345
+ */
1346
+ async getChatAdministrators(chatId) {
1347
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getChatAdministrators", chatId);
1348
+ }
1349
+ /**
1350
+ * Enable join requests in a chat. User-only.
1351
+ *
1352
+ * @method ch
1353
+ * @param chatId The identifier of a chat. Must be a channel or a supergroup.
1354
+ */
1355
+ async enableJoinRequests(chatId) {
1356
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableJoinRequests", chatId);
1357
+ }
1358
+ /**
1359
+ * Disable join requests in a chat. User-only.
1360
+ *
1361
+ * @method ch
1362
+ * @param chatId The identifier of a chat. Must be a channel or a supergroup.
1363
+ */
1364
+ async disableJoinRequests(chatId) {
1365
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableJoinRequests", chatId);
1366
+ }
1367
+ /**
1368
+ * Get inactive chats. User-only.
1369
+ *
1370
+ * @method ch
1371
+ * @retuns A list of inactive chats the current user is member of.
1372
+ */
1373
+ async getInactiveChats() {
1374
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getInactiveChats");
1375
+ }
1376
+ /**
1377
+ * Get the invite links created for a chat. User-only.
1378
+ *
1379
+ * @method ch
1380
+ * @param chatId The identifier of a chat.
1381
+ * @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.
1382
+ */
1383
+ async getCreatedInviteLinks(chatId, params) {
1384
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getCreatedInviteLinks", chatId, params);
1385
+ }
1386
+ /**
1387
+ * Join a chat. User-only.
1388
+ *
1389
+ * @method ch
1390
+ * @param chatId The identifier of a chat.
1391
+ */
1392
+ async joinChat(chatId) {
1393
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "joinChat", chatId);
1394
+ }
1395
+ /**
1396
+ * Leave a chat.
1397
+ *
1398
+ * @method ch
1399
+ * @param chatId The identifier of a chat.
1400
+ */
1401
+ async leaveChat(chatId) {
1402
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "leaveChat", chatId);
1403
+ }
1404
+ /**
1405
+ * Get information on a user's chat membership.
1406
+ *
1407
+ * @method ch
1408
+ * @param chatId The identifier of a chat.
1409
+ * @param userId The identifier of the user.
1410
+ */
1411
+ async getChatMember(chatId, userId) {
1412
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getChatMember", chatId, userId);
1413
+ }
1414
+ /**
1415
+ * Get the members of a chat.
1416
+ *
1417
+ * @method ch
1418
+ * @param chatId The identifier of a chat.
1419
+ */
1420
+ async getChatMembers(chatId, params) {
1421
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getChatMembers", chatId, params);
1422
+ }
1423
+ /**
1424
+ * Set a chat's sticker set.
1425
+ *
1426
+ * @method ch
1427
+ * @param chatId The identifier of a chat. Must be a supergroup.
1428
+ * @param setName The name of the set.
1429
+ */
1430
+ async setChatStickerSet(chatId, setName) {
1431
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChatStickerSet", chatId, setName);
1432
+ }
1433
+ /**
1434
+ * Delete a chat's sticker set.
1435
+ *
1436
+ * @method ch
1437
+ * @param chatId The identifier of a chat. Must be a supergroup.
1438
+ */
1439
+ async deleteChatStickerSet(chatId) {
1440
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteChatStickerSet", chatId);
1441
+ }
1442
+ /**
1443
+ * Set the number of boosts required to circument a chat's default restrictions. User-only.
1444
+ *
1445
+ * @method ch
1446
+ * @param chatId The identifier of a chat.
1447
+ * @param boosts The number of boosts required to circumvent its restrictions.
1448
+ */
1449
+ async setBoostsRequiredToCircumventRestrictions(chatId, boosts) {
1450
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setBoostsRequiredToCircumventRestrictions", chatId, boosts);
1451
+ }
1452
+ /**
1453
+ * Create an invite link.
1454
+ *
1455
+ * @method ch
1456
+ * @param chatId The identifier of a chat to create the invite link for.
1457
+ * @returns The newly created invite link.
1458
+ */
1459
+ async createInviteLink(chatId, params) {
1460
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "createInviteLink", chatId, params);
1461
+ }
1462
+ /**
1463
+ * Approve a join request.
1464
+ *
1465
+ * @method ch
1466
+ * @param chatId The identifier of a chat with the join request.
1467
+ * @param userId The user who made the join request.
1468
+ */
1469
+ async approveJoinRequest(chatId, userId) {
1470
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "approveJoinRequest", chatId, userId);
1471
+ }
1472
+ /**
1473
+ * Decline a join request.
1474
+ *
1475
+ * @method ch
1476
+ * @param chatId The identifier of a chat with the join request.
1477
+ * @param userId The user who made the join request.
1478
+ */
1479
+ async declineJoinRequest(chatId, userId) {
1480
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "declineJoinRequest", chatId, userId);
1481
+ }
1482
+ /**
1483
+ * Approve all join requests. User-only.
1484
+ *
1485
+ * @method ch
1486
+ * @param chatId The identifier of a chat with the join requests.
1487
+ */
1488
+ async approveJoinRequests(chatId, params) {
1489
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "approveJoinRequests", chatId, params);
1490
+ }
1491
+ /**
1492
+ * Decline all join requests. User-only.
1493
+ *
1494
+ * @method ch
1495
+ * @param chatId The identifier of a chat with the join requests.
1496
+ */
1497
+ async declineJoinRequests(chatId, params) {
1498
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "declineJoinRequests", chatId, params);
1499
+ }
1500
+ /**
1501
+ * Get pending join requests in a chat. User-only.
1502
+ *
1503
+ * @method ch
1504
+ * @param chatId The identifier of a chat with the join requests.
1505
+ */
1506
+ async getJoinRequests(chatId, params) {
1507
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getJoinRequests", chatId, params);
1508
+ }
1509
+ /**
1510
+ * Add a single user to a chat.
1511
+ *
1512
+ * @method ch
1513
+ * @param chatId The identifier of a chat to add the user to.
1514
+ * @param userId The identifier of the user to add to the chat.
1515
+ * @returns An array of FailedInvitation that has at most a length of 1. If empty, it means that the user was added.
1516
+ */
1517
+ async addChatMember(chatId, userId, params) {
1518
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addChatMember", chatId, userId, params);
1519
+ }
1520
+ /**
1521
+ * Add multiple users at once to a channel or a supergroup.
1522
+ *
1523
+ * @method ch
1524
+ * @param chatId The identifier of the channel or supergroup to add the users to.
1525
+ * @param userId The identifiers of the users to add to the channel or supergroup.
1526
+ * @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.
1527
+ */
1528
+ async addChatMembers(chatId, userIds) {
1529
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addChatMembers", chatId, userIds);
1530
+ }
1531
+ /**
1532
+ * Open a chat.
1533
+ *
1534
+ * @method ch
1535
+ * @param chatId The identifier of a chat to open.
1536
+ */
1537
+ async openChat(chatId, params) {
1538
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "openChat", chatId, params);
1539
+ }
1540
+ /**
1541
+ * Close a chat previously opened by openChat.
1542
+ *
1543
+ * @method ch
1544
+ * @param chatId The identifier of a chat to close.
1545
+ */
1546
+ async closeChat(chatId) {
1547
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "closeChat", chatId);
1548
+ }
1549
+ /**
1550
+ * Create a group. User-only.
1551
+ *
1552
+ * @method ch
1553
+ * @param title The title of the group.
1554
+ * @returns The created group.
1555
+ */
1556
+ async createGroup(title, params) {
1557
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "createGroup", title, params);
1558
+ }
1559
+ /**
1560
+ * Create a supergroup. User-only.
1561
+ *
1562
+ * @method ch
1563
+ * @param title The title of the supergroup.
1564
+ * @returns The created supergroup.
1565
+ */
1566
+ async createSupergroup(title, params) {
1567
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "createSupergroup", title, params);
1568
+ }
1569
+ /**
1570
+ * Create a channel. User-only.
1571
+ *
1572
+ * @method ch
1573
+ * @param title The title of the channel.
1574
+ * @returns The created channel.
1575
+ */
1576
+ async createChannel(title, params) {
1577
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "createChannel", title, params);
1578
+ }
1579
+ /**
1580
+ * Set the time to live of the messages of a chat. User-only.
1581
+ *
1582
+ * @method ch
1583
+ * @param chatId The identifier of a chat.
1584
+ * @param messageTtl The time to live of the messages in seconds.
1585
+ */
1586
+ async setMessageTtl(chatId, messageTtl) {
1587
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setMessageTtl", chatId, messageTtl);
1588
+ }
1589
+ /**
1590
+ * Archive multiple chats. User-only.
1591
+ *
1592
+ * @method ch
1593
+ * @param chatIds The identifiers of the chats to archive.
1594
+ */
1595
+ async archiveChats(chatIds) {
1596
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "archiveChats", chatIds);
1597
+ }
1598
+ /**
1599
+ * Archive a single chat. User-only.
1600
+ *
1601
+ * @method ch
1602
+ * @param chatId The identifier of a chat.
1603
+ */
1604
+ async archiveChat(chatId) {
1605
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "archiveChat", chatId);
1606
+ }
1607
+ /**
1608
+ * Unarchive multiple chats. User-only.
1609
+ *
1610
+ * @method ch
1611
+ * @param chatIds The identifiers of the chats to unarchive.
1612
+ */
1613
+ async unarchiveChats(chatIds) {
1614
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unarchiveChats", chatIds);
1615
+ }
1616
+ /**
1617
+ * Unarchive a single chat. User-only.
1618
+ *
1619
+ * @method ch
1620
+ * @param chatId The identifier of a chat.
1621
+ */
1622
+ async unarchiveChat(chatId) {
1623
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unarchiveChat", chatId);
1624
+ }
1625
+ /**
1626
+ * Get common chats between a user and the current one. User-only.
1627
+ *
1628
+ * @method ch
1629
+ * @param userId The identifier of the user to get the common chats with them.
1630
+ */
1631
+ async getCommonChats(userId, params) {
1632
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getCommonChats", userId, params);
1633
+ }
1634
+ /**
1635
+ * Get the settings of a chat. User-only.
1636
+ *
1637
+ * @method ch
1638
+ * @param chatId The identifier of a chat.
1639
+ */
1640
+ async getChatSettings(chatId) {
1641
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getChatSettings", chatId);
1642
+ }
1643
+ /**
1644
+ * Disable business bots in a private chat. User-only.
1645
+ *
1646
+ * @method ch
1647
+ * @param chatId The identifier of the private chat to disable business bots in.
1648
+ */
1649
+ async disableBusinessBots(chatId) {
1650
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableBusinessBots", chatId);
1651
+ }
1652
+ /**
1653
+ * Enable business bots in a private chat. User-only.
1654
+ *
1655
+ * @method ch
1656
+ * @param chatId The identifier of the private chat to enable business bots in.
1657
+ */
1658
+ async enableBusinessBots(chatId) {
1659
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableBusinessBots", chatId);
1660
+ }
1661
+ /**
1662
+ * Disable slow mode in a group. User-only.
1663
+ *
1664
+ * @method ch
1665
+ * @param chatId The identifier of the group to disable slow mode in.
1666
+ */
1667
+ async disableSlowMode(chatId) {
1668
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableSlowMode", chatId);
1669
+ }
1670
+ /**
1671
+ * Change slow mode in a group. User-only.
1672
+ *
1673
+ * @method ch
1674
+ * @param chatId The identifier of the group to change slow mode in.
1675
+ * @param duration New slow mode duration.
1676
+ */
1677
+ async setSlowMode(chatId, duration) {
1678
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setSlowMode", chatId, duration);
1679
+ }
1680
+ /**
1681
+ * Change the title of a chat.
1682
+ *
1683
+ * @method ch
1684
+ * @param chatId The identifier of a chat.
1685
+ * @param title The new title.
1686
+ */
1687
+ async setChatTitle(chatId, title) {
1688
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChatTitle", chatId, title);
1689
+ }
1690
+ /**
1691
+ * Change the description of a chat.
1692
+ *
1693
+ * @method ch
1694
+ * @param chatId The identifier of a chat.
1695
+ * @param description The new description.
1696
+ */
1697
+ async setChatDescription(chatId, description) {
1698
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChatDescription", chatId, description);
1699
+ }
1700
+ /**
1701
+ * Hide the member list of a group to non-admins. User-only.
1702
+ *
1703
+ * @method ch
1704
+ * @param chatId The identifier of the group.
1705
+ */
1706
+ async hideMemberList(chatId) {
1707
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "hideMemberList", chatId);
1708
+ }
1709
+ /**
1710
+ * Show the member list of a group to non-admins. User-only.
1711
+ *
1712
+ * @method ch
1713
+ * @param chatId The identifier of the group.
1714
+ */
1715
+ async showMemberList(chatId) {
1716
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "showMemberList", chatId);
1717
+ }
1718
+ /**
1719
+ * Enable topics in a group. User-only.
1720
+ *
1721
+ * @method ch
1722
+ * @param chatId The identifier of the group.
1723
+ * @param isShownAsTabs Whether topics should be displayed as tabs.
1724
+ */
1725
+ async enableTopics(chatId, isShownAsTabs) {
1726
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableTopics", chatId, isShownAsTabs);
1727
+ }
1728
+ /**
1729
+ * Disable topics in a group. User-only.
1730
+ *
1731
+ * @method ch
1732
+ * @param chatId The identifier of the group.
1733
+ */
1734
+ async disableTopics(chatId) {
1735
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableTopics", chatId);
1736
+ }
1737
+ /**
1738
+ * Enable automatic anti-spam in a group. User-only.
1739
+ *
1740
+ * @method ch
1741
+ * @param chatId The identifier of the group.
1742
+ */
1743
+ async enableAntispam(chatId) {
1744
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableAntispam", chatId);
1745
+ }
1746
+ /**
1747
+ * Disable automatic anti-spam in a group. User-only.
1748
+ *
1749
+ * @method ch
1750
+ * @param chatId The identifier of the group.
1751
+ */
1752
+ async disableAntispam(chatId) {
1753
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableAntispam", chatId);
1754
+ }
1755
+ /**
1756
+ * Enable post signatures in a channel. User-only.
1757
+ *
1758
+ * @method ch
1759
+ * @param chatId The identifier of the channel.
1760
+ */
1761
+ async enableSignatures(chatId, params) {
1762
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableSignatures", chatId, params);
1763
+ }
1764
+ /**
1765
+ * Disable post signatures in a channel. User-only.
1766
+ *
1767
+ * @method ch
1768
+ * @param chatId The identifier of the channel.
1769
+ */
1770
+ async disableSignatures(chatId) {
1771
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableSignatures", chatId);
1772
+ }
1773
+ /**
1774
+ * Delete a chat. User-only.
1775
+ *
1776
+ * @method ch
1777
+ * @param chatId The identifier of a chat.
1778
+ */
1779
+ async deleteChat(chatId) {
1780
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteChat", chatId);
1781
+ }
1782
+ /**
1783
+ * Get discussion chat suggestions. User-only.
1784
+ *
1785
+ * @method ch
1786
+ */
1787
+ async getDiscussionChatSuggestions() {
1788
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getDiscussionChatSuggestions");
1789
+ }
1790
+ /**
1791
+ * Set a channel's discussion chat. User-only.
1792
+ *
1793
+ * @method ch
1794
+ * @param chatId The identifier of a channel.
1795
+ * @param discussionChatId The identifier of a chat to use as discussion for the channel.
1796
+ */
1797
+ async setDiscussionChat(chatId, discussionChatId) {
1798
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setDiscussionChat", chatId, discussionChatId);
1799
+ }
1800
+ /**
1801
+ * Transfer the ownership of a chat. User-only.
1802
+ *
1803
+ * @method ch
1804
+ * @param chatId The identifier of a chat.
1805
+ * @param userId The identifier of the new owner.
1806
+ * @param password The password of the current account.
1807
+ */
1808
+ async transferChatOwnership(chatId, userId, password) {
1809
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "transferChatOwnership", chatId, userId, password);
1810
+ }
1811
+ /**
1812
+ * Create a forum topic.
1813
+ *
1814
+ * @method ch
1815
+ * @param chatId The identifier of a chat.
1816
+ * @param title The title of the topic.
1817
+ * @returns The created topic.
1818
+ */
1819
+ async createTopic(chatId, title, params) {
1820
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "createTopic", chatId, title, params);
1821
+ }
1822
+ /**
1823
+ * Edit a forum topic.
1824
+ *
1825
+ * @method ch
1826
+ * @param chatId The identifier of a chat.
1827
+ * @param topicId The identifier of the topic.
1828
+ * @param title The new title of the topic.
1829
+ * @returns The new topic.
1830
+ */
1831
+ async editTopic(chatId, topicId, title, params) {
1832
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "editTopic", chatId, topicId, title, params);
1833
+ }
1834
+ /**
1835
+ * Hide the general forum topic.
1836
+ *
1837
+ * @method ch
1838
+ * @param chatId The identifier of a chat.
1839
+ */
1840
+ async hideGeneralTopic(chatId) {
1841
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "hideGeneralTopic", chatId);
1842
+ }
1843
+ /**
1844
+ * Show the general forum topic.
1845
+ *
1846
+ * @method ch
1847
+ * @param chatId The identifier of a chat.
1848
+ */
1849
+ async showGeneralTopic(chatId) {
1850
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "showGeneralTopic", chatId);
1851
+ }
1852
+ /**
1853
+ * Close a forum topic.
1854
+ *
1855
+ * @method ch
1856
+ * @param chatId The identifier of a chat.
1857
+ * @param topicId The identifier of the topic.
1858
+ */
1859
+ async closeTopic(chatId, topicId) {
1860
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "closeTopic", chatId, topicId);
1861
+ }
1862
+ /**
1863
+ * Reopen a forum topic.
1864
+ *
1865
+ * @method ch
1866
+ * @param chatId The identifier of a chat.
1867
+ * @param topicId The identifier of the topic.
1868
+ */
1869
+ async reopenTopic(chatId, topicId) {
1870
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "reopenTopic", chatId, topicId);
1871
+ }
1872
+ /**
1873
+ * Pin a forum topic.
1874
+ *
1875
+ * @method ch
1876
+ * @param chatId The identifier of a chat.
1877
+ * @param topicId The identifier of the topic.
1878
+ */
1879
+ async pinTopic(chatId, topicId) {
1880
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "pinTopic", chatId, topicId);
1881
+ }
1882
+ /**
1883
+ * Unpin a forum topic.
1884
+ *
1885
+ * @method ch
1886
+ * @param chatId The identifier of a chat.
1887
+ * @param topicId The identifier of the topic.
1888
+ */
1889
+ async unpinTopic(chatId, topicId) {
1890
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unpinTopic", chatId, topicId);
1891
+ }
1892
+ /**
1893
+ * Promote a chat member.
1894
+ *
1895
+ * @method ch
1896
+ * @param chatId The identifier of a chat.
1897
+ * @param userId The identifier of the user to promote.
1898
+ */
1899
+ async promoteChatMember(chatId, userId, params) {
1900
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "promoteChatMember", chatId, userId, params);
1901
+ }
1902
+ /**
1903
+ * Change the tag of a chat member.
1904
+ *
1905
+ * @method ch
1906
+ * @param chatId The identifier of a chat.
1907
+ * @param userId The identifier of the user that is a member of the chat.
1908
+ */
1909
+ async setChatMemberTag(chatId, userId, params) {
1910
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setChatMemberTag", chatId, userId, params);
1911
+ }
1912
+ /**
1913
+ * Enable sharing in a chat. User-only.
1914
+ *
1915
+ * @method ch
1916
+ * @param chatId The identifier of a chat.
1917
+ */
1918
+ async enableSharing(chatId) {
1919
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "enableSharing", chatId);
1920
+ }
1921
+ /**
1922
+ * Disable sharing in a chat. User-only.
1923
+ *
1924
+ * @method ch
1925
+ * @param chatId The identifier of a chat.
1926
+ */
1927
+ async disableSharing(chatId) {
1928
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "disableSharing", chatId);
1929
+ }
1930
+ /**
1931
+ * Get recommended channels. User-only.
1932
+ *
1933
+ * @method ch
1934
+ * @returns A list of recommended channels.
1935
+ */
1936
+ async getRecommendedChannels() {
1937
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getRecommendedChannels");
1938
+ }
1939
+ /**
1940
+ * Get similar channels. User-only.
1941
+ *
1942
+ * @method ch
1943
+ * @param chatId The identifier of a channel to get similar channels for.
1944
+ * @returns A list of similar channels.
1945
+ */
1946
+ async getSimilarChannels(chatId) {
1947
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getSimilarChannels", chatId);
1948
+ }
1949
+ /**
1950
+ * Get similar bots. User-only.
1951
+ *
1952
+ * @method ch
1953
+ * @param chatId The identifier of a bot to get similar bots for.
1954
+ * @returns A list of similar bots.
1955
+ */
1956
+ async getSimilarBots(chatId) {
1957
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getSimilarBots", chatId);
1958
+ }
1959
+ //
1960
+ // ========================= CALLBACK QUERIES ========================= //
1961
+ //
1962
+ /**
1963
+ * Send a callback query. User-only.
1964
+ *
1965
+ * @method cq
1966
+ * @param botId The identifier of the bot to send the callback query to.
1967
+ * @param messageId The identifier of the message that includes at a button responsible for the callback query question.
1968
+ * @param question The callback query's question.
1969
+ * @returns The bot's answer to the callback query.
1970
+ * @cache
1971
+ */
1972
+ async sendCallbackQuery(botId, messageId, question) {
1973
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendCallbackQuery", botId, messageId, question);
1974
+ }
1975
+ /**
1976
+ * Answer a callback query. Bot-only.
1977
+ *
1978
+ * @method cq
1979
+ * @param id ID of the callback query to answer.
1980
+ */
1981
+ async answerCallbackQuery(id, params) {
1982
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "answerCallbackQuery", id, params);
1983
+ }
1984
+ //
1985
+ // ========================= INLINE QUERIES ========================= //
1986
+ //
1987
+ /**
1988
+ * Send an inline query. User-only.
1989
+ *
1990
+ * @method iq
1991
+ * @param botId The identifier of a bot to send the inline query to.
1992
+ * @param chatId The identifier of the chat from which the inline query is sent.
1993
+ * @returns The bot's answer to the inline query.
1994
+ * @cache
1995
+ */
1996
+ async sendInlineQuery(botId, chatId, params) {
1997
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendInlineQuery", botId, chatId, params);
1998
+ }
1999
+ /**
2000
+ * Answer an inline query. Bot-only.
2001
+ *
2002
+ * @method iq
2003
+ * @param id The identifier of the inline query to answer.
2004
+ * @param results The results to answer with.
2005
+ */
2006
+ async answerInlineQuery(id, results, params) {
2007
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "answerInlineQuery", id, results, params);
2008
+ }
2009
+ //
2010
+ // ========================= BOTS ========================= //
2011
+ //
2012
+ /**
2013
+ * Set the bot's description in the given language. Bot-only.
2014
+ *
2015
+ * @method bs
2016
+ */
2017
+ async setMyDescription(params) {
2018
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setMyDescription", params);
2019
+ }
2020
+ /**
2021
+ * Set the bot's name in the given language. Bot-only.
2022
+ *
2023
+ * @method bs
2024
+ */
2025
+ async setMyName(params) {
2026
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setMyName", params);
2027
+ }
2028
+ /**
2029
+ * Set the bot's short description in the given language. Bot-only.
2030
+ *
2031
+ * @method bs
2032
+ */
2033
+ async setMyShortDescription(params) {
2034
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setMyShortDescription", params);
2035
+ }
2036
+ /**
2037
+ * Get the bot's description in the given language. Bot-only.
2038
+ *
2039
+ * @method bs
2040
+ * @returns The current bot's description in the specified language.
2041
+ */
2042
+ async getMyDescription(params) {
2043
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMyDescription", params);
2044
+ }
2045
+ /**
2046
+ * Get the bot's name in the given language. Bot-only.
2047
+ *
2048
+ * @method bs
2049
+ * @returns The current bot's name in the specified language.
2050
+ */
2051
+ async getMyName(params) {
2052
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMyName", params);
2053
+ }
2054
+ /**
2055
+ * Get the bot's short description in the given language. Bot-only.
2056
+ *
2057
+ * @method bs
2058
+ * @returns The current bot's short description in the specified language.
2059
+ */
2060
+ async getMyShortDescription(params) {
2061
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMyShortDescription", params);
2062
+ }
2063
+ /**
2064
+ * Set the bot's commands in the given scope and/or language. Bot-only.
2065
+ *
2066
+ * @method bs
2067
+ * @param commands The commands to set.
2068
+ */
2069
+ async setMyCommands(commands, params) {
2070
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setMyCommands", commands, params);
2071
+ }
2072
+ /**
2073
+ * Get the bot's commands in the given scope and/or language. Bot-only.
2074
+ *
2075
+ * @method bs
2076
+ * @returns The current bot's commands in the specified language.
2077
+ */
2078
+ async getMyCommands(params) {
2079
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getMyCommands", params);
2080
+ }
2081
+ //
2082
+ // ========================= REACTIONS ========================= //
2083
+ //
2084
+ /**
2085
+ * Change reactions made to a message.
2086
+ *
2087
+ * @method re
2088
+ * @param chatId The identifier of the chat which the message belongs to.
2089
+ * @param messageId The identifier of the message to add the reaction to.
2090
+ * @param reactions The new reactions.
2091
+ */
2092
+ async setReactions(chatId, messageId, reactions, params) {
2093
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "setReactions", chatId, messageId, reactions, params);
2094
+ }
2095
+ /**
2096
+ * Make a reaction to a message.
2097
+ *
2098
+ * @method re
2099
+ * @param chatId The identifier of the chat which the message belongs to.
2100
+ * @param messageId The identifier of the message to add the reaction to.
2101
+ * @param reaction The reaction to add.
2102
+ */
2103
+ async addReaction(chatId, messageId, reaction, params) {
2104
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addReaction", chatId, messageId, reaction, params);
2105
+ }
2106
+ /**
2107
+ * Undo a reaction made to a message.
2108
+ *
2109
+ * @method re
2110
+ * @param chatId The identifier of the chat which the message belongs to.
2111
+ * @param messageId The identifier of the message which the reaction was made to.
2112
+ * @param reaction The reaction to remove.
2113
+ */
2114
+ async removeReaction(chatId, messageId, reaction) {
2115
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeReaction", chatId, messageId, reaction);
2116
+ }
2117
+ //
2118
+ // ========================= STORIES ========================= //
2119
+ //
2120
+ /**
2121
+ * Create a story. User-only.
2122
+ *
2123
+ * @method st
2124
+ * @param content The content of the story.
2125
+ * @returns The created story.
2126
+ */
2127
+ async createStory(chatId, content, params) {
2128
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "createStory", chatId, content, params);
2129
+ }
2130
+ /**
2131
+ * Retrieve multiple stories. User-only.
2132
+ *
2133
+ * @method st
2134
+ * @param chatId The identifier of a chat.
2135
+ * @param storyIds The identifiers of the stories to retrieve.
2136
+ * @returns The retrieved stories.
2137
+ */
2138
+ async getStories(chatId, storyIds) {
2139
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getStories", chatId, storyIds);
2140
+ }
2141
+ /**
2142
+ * Retrieve a single story. User-only.
2143
+ *
2144
+ * @method st
2145
+ * @param chatId The identifier of a chat.
2146
+ * @param storyId The identifier of the story to retrieve.
2147
+ * @returns The retrieved story.
2148
+ */
2149
+ async getStory(chatId, storyId) {
2150
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getStory", chatId, storyId);
2151
+ }
2152
+ /**
2153
+ * Delete multiple stories. User-only.
2154
+ *
2155
+ * @method st
2156
+ * @param chatId The identifier of a chat.
2157
+ * @param storyIds The identifiers of the stories to delete.
2158
+ */
2159
+ async deleteStories(chatId, storyIds) {
2160
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteStories", chatId, storyIds);
2161
+ }
2162
+ /**
2163
+ * Delete a single story. User-only.
2164
+ *
2165
+ * @method st
2166
+ * @param chatId The identifier of a chat.
2167
+ * @param storyId The identifier of the story to delete.
2168
+ */
2169
+ async deleteStory(chatId, storyId) {
2170
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteStory", chatId, storyId);
2171
+ }
2172
+ /**
2173
+ * Add multiple stories to highlights. User-only.
2174
+ *
2175
+ * @method st
2176
+ * @param chatId The identifier of a chat.
2177
+ * @param storyIds The identifiers of the stories to add to highlights.
2178
+ */
2179
+ async addStoriesToHighlights(chatId, storyIds) {
2180
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addStoriesToHighlights", chatId, storyIds);
2181
+ }
2182
+ /**
2183
+ * Add a single story to highlights. User-only.
2184
+ *
2185
+ * @method st
2186
+ * @param chatId The identifier of a chat.
2187
+ * @param storyId The identifier of the story to add to highlights.
2188
+ */
2189
+ async addStoryToHighlights(chatId, storyId) {
2190
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addStoryToHighlights", chatId, storyId);
2191
+ }
2192
+ /**
2193
+ * Remove multiple stories from highlights. User-only.
2194
+ *
2195
+ * @method st
2196
+ * @param chatId The identifier of a chat.
2197
+ * @param storyIds The identifiers of the stories to remove from highlights.
2198
+ */
2199
+ async removeStoriesFromHighlights(chatId, storyIds) {
2200
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeStoriesFromHighlights", chatId, storyIds);
2201
+ }
2202
+ /**
2203
+ * Remove a single story from highlights. User-only.
2204
+ *
2205
+ * @method st
2206
+ * @param chatId The identifier of a chat.
2207
+ * @param storyId The identifier of the story to remove from highlights.
2208
+ */
2209
+ async removeStoryFromHighlights(chatId, storyId) {
2210
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "removeStoryFromHighlights", chatId, storyId);
2211
+ }
2212
+ //
2213
+ // ========================= MISC ========================= //
2214
+ //
2215
+ /**
2216
+ * Get network statistics. This might not always be available.
2217
+ *
2218
+ * @method mc
2219
+ */
2220
+ async getNetworkStatistics() {
2221
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getNetworkStatistics");
2222
+ }
2223
+ /**
2224
+ * Block a user. User-only.
2225
+ *
2226
+ * @method mc
2227
+ * @param userId The identifier of the user to block.
2228
+ */
2229
+ async blockUser(userId) {
2230
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "blockUser", userId);
2231
+ }
2232
+ /**
2233
+ * Unblock a user. User-only.
2234
+ *
2235
+ * @method mc
2236
+ * @param userId The identifier of the user to unblock.
2237
+ */
2238
+ async unblockUser(userId) {
2239
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "unblockUser", userId);
2240
+ }
2241
+ //
2242
+ // ========================= VIDEO CHATS ========================= //
2243
+ //
2244
+ /**
2245
+ * Start a video chat. User-only.
2246
+ *
2247
+ * @method vc
2248
+ * @param chatId The identifier of a chat to start the video chat in.
2249
+ * @returns The started video chat.
2250
+ */
2251
+ async startVideoChat(chatId, params) {
2252
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "startVideoChat", chatId, params);
2253
+ }
2254
+ /**
2255
+ * Schedule a video chat. User-only.
2256
+ *
2257
+ * @method vc
2258
+ * @param chatId The identifier of a chat to schedule the video chat in.
2259
+ * @param startAt A point in time within the future in which the video chat will be started.
2260
+ * @returns The scheduled video chat.
2261
+ */
2262
+ async scheduleVideoChat(chatId, startAt, params) {
2263
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "scheduleVideoChat", chatId, startAt, params);
2264
+ }
2265
+ /**
2266
+ * Join a video chat. User-only.
2267
+ *
2268
+ * @method vc
2269
+ * @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
2270
+ * @param params_ WebRTC connection parameters.
2271
+ * @returns Parameters to be passed to the used WebRTC library.
2272
+ */
2273
+ async joinVideoChat(id, params_, params) {
2274
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "joinVideoChat", id, params_, params);
2275
+ }
2276
+ /**
2277
+ * Leave a video chat. User-only.
2278
+ *
2279
+ * @method vc
2280
+ * @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
2281
+ */
2282
+ async leaveVideoChat(id) {
2283
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "leaveVideoChat", id);
2284
+ }
2285
+ /**
2286
+ * Join a live stream. User-only.
2287
+ *
2288
+ * @method vc
2289
+ * @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
2290
+ */
2291
+ async joinLiveStream(id) {
2292
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "joinLiveStream", id);
2293
+ }
2294
+ /**
2295
+ * Get a video chat. User-only.
2296
+ *
2297
+ * @method vc
2298
+ * @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
2299
+ * @cache
2300
+ */
2301
+ async getVideoChat(id) {
2302
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getVideoChat", id);
2303
+ }
2304
+ /**
2305
+ * Get live stream channels. User-only.
2306
+ *
2307
+ * @method vc
2308
+ * @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
2309
+ */
2310
+ async getLiveStreamChannels(id) {
2311
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getLiveStreamChannels", id);
2312
+ }
2313
+ /**
2314
+ * Download a live stream segment. User-only.
2315
+ *
2316
+ * @method vc
2317
+ * @param id The identifier of a video chat retrieved from getChat, startVideoChat, or scheduleVideoChat.
2318
+ * @param channelId Stream channel ID.
2319
+ * @param scale Stream channel scale.
2320
+ * @param timestamp Millisecond timestamp of the chunk to download.
2321
+ */
2322
+ async downloadLiveStreamSegment(id, channelId, scale, timestamp, params) {
2323
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "downloadLiveStreamSegment", id, channelId, scale, timestamp, params);
2324
+ }
2325
+ //
2326
+ // ========================= PAYMENTS ========================= //
2327
+ //
2328
+ /**
2329
+ * Answer a pre-checkout query. Bot-only.
2330
+ *
2331
+ * @method pa
2332
+ * @param preCheckoutQueryId The identifier of the pre-checkout query.
2333
+ * @param ok Whether the checkout is going to be processed.
2334
+ */
2335
+ async answerPreCheckoutQuery(preCheckoutQueryId, ok, params) {
2336
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "answerPreCheckoutQuery", preCheckoutQueryId, ok, params);
2337
+ }
2338
+ /**
2339
+ * Refund a star payment. Bot-only.
2340
+ *
2341
+ * @method pa
2342
+ * @param userId The identifier of the user that was charged.
2343
+ * @param telegramPaymentChargeId The identifier of the charge.
2344
+ */
2345
+ async refundStarPayment(userId, telegramPaymentChargeId) {
2346
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "refundStarPayment", userId, telegramPaymentChargeId);
2347
+ }
2348
+ //
2349
+ // ========================= CONTACTS ========================= //
2350
+ //
2351
+ /**
2352
+ * Get contacts. User-only.
2353
+ *
2354
+ * @method co
2355
+ */
2356
+ async getContacts() {
2357
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getContacts");
2358
+ }
2359
+ /**
2360
+ * Delete multiple contacts. User-only.
2361
+ *
2362
+ * @method co
2363
+ * @param userIds The identifiers of contacts to delete.
2364
+ */
2365
+ async deleteContacts(userIds) {
2366
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteContacts", userIds);
2367
+ }
2368
+ /**
2369
+ * Delete a single contact. User-only.
2370
+ *
2371
+ * @method co
2372
+ * @param userId The identifier of the contact to delete.
2373
+ */
2374
+ async deleteContact(userId) {
2375
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "deleteContact", userId);
2376
+ }
2377
+ /**
2378
+ * Add a contact. User-only.
2379
+ *
2380
+ * @method co
2381
+ * @param userId The identifier of the user to add as contact.
2382
+ */
2383
+ async addContact(userId, params) {
2384
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "addContact", userId, params);
2385
+ }
2386
+ //
2387
+ // ========================= TRANSLATIONS ========================= //
2388
+ //
2389
+ /**
2390
+ * Get translations. User-only.
2391
+ *
2392
+ * @method ta
2393
+ * @cache
2394
+ */
2395
+ async getTranslations(params) {
2396
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getTranslations", params);
2397
+ }
2398
+ //
2399
+ // ========================= GIFTS ========================= //
2400
+ //
2401
+ /**
2402
+ * Get available gifts.
2403
+ *
2404
+ * @method gf
2405
+ */
2406
+ async getGifts() {
2407
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getGifts");
2408
+ }
2409
+ /**
2410
+ * Get gifts claimed by a user or a channel. User-only.
2411
+ *
2412
+ * @method gf
2413
+ * @param chatId The identifier of a user or a channel to get gifts for.
2414
+ */
2415
+ async getClaimedGifts(chatId, params) {
2416
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getClaimedGifts", chatId, params);
2417
+ }
2418
+ /**
2419
+ * Send a gift.
2420
+ *
2421
+ * @method gf
2422
+ * @param chatId The identifier of a user or a channel to send the gift to.
2423
+ * @param giftId The identifier of the gift to send.
2424
+ */
2425
+ async sendGift(chatId, giftId, params) {
2426
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sendGift", chatId, giftId, params);
2427
+ }
2428
+ /**
2429
+ * Sell a gift.
2430
+ *
2431
+ * @method gf
2432
+ * @param gift The gift to sell.
2433
+ */
2434
+ async sellGift(gift) {
2435
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "sellGift", gift);
2436
+ }
2437
+ /**
2438
+ * Craft gifts.
2439
+ *
2440
+ * @method gf
2441
+ * @param gifts The gifts to craft.
2442
+ */
2443
+ async craftGifts(gifts) {
2444
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "craftGifts", gifts);
2445
+ }
2446
+ /**
2447
+ * Get a gift using its slug.
2448
+ *
2449
+ * @method gf
2450
+ * @param slug The slug of a gift.
2451
+ */
2452
+ async getGift(slug) {
2453
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "getGift", slug);
2454
+ }
2455
+ /**
2456
+ * Transfer a gift. User-only.
2457
+ *
2458
+ * @method gf
2459
+ * @param chatId The identifier of a chat to transfer the gift to.
2460
+ * @param gift The gift to transfer.
2461
+ */
2462
+ async transferGift(chatId, gift) {
2463
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "transferGift", chatId, gift);
2464
+ }
2465
+ }
2466
+ exports.ClientDispatcher = ClientDispatcher;
2467
+ _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) {
2468
+ // deno-lint-ignore no-explicit-any
2469
+ const promiseWithResolvers = Promise.withResolvers();
2470
+ const id = crypto.randomUUID();
2471
+ __classPrivateFieldGet(this, _ClientDispatcher_pendingRequests, "f").set(id, promiseWithResolvers);
2472
+ const request = {
2473
+ type: "request",
2474
+ clientId: __classPrivateFieldGet(this, _ClientDispatcher_id, "f"),
2475
+ id,
2476
+ method,
2477
+ args,
2478
+ };
2479
+ __classPrivateFieldGet(this, _ClientDispatcher_L, "f").debug("posted message to worker", request);
2480
+ __classPrivateFieldGet(this, _ClientDispatcher_worker, "f").postMessage(request);
2481
+ return await promiseWithResolvers.promise;
2482
+ }, _ClientDispatcher_invoke = async function _ClientDispatcher_invoke(function_, params) {
2483
+ let n = 1;
2484
+ while (true) {
2485
+ try {
2486
+ return await __classPrivateFieldGet(this, _ClientDispatcher_instances, "m", _ClientDispatcher_dispatch).call(this, "invoke", function_, params);
2487
+ }
2488
+ catch (err) {
2489
+ if (await __classPrivateFieldGet(this, _ClientDispatcher_handleInvokeError, "f").call(this, Object.freeze({ client: this, error: err, function: function_, n: n++ }), () => Promise.resolve(false))) {
2490
+ continue;
2491
+ }
2492
+ else {
2493
+ throw err;
2494
+ }
2495
+ }
2496
+ }
2497
+ };