@mtkruto/browser 0.6.1 → 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 (2604) hide show
  1. package/README.md +75 -1
  2. package/esm/0_deps.d.ts +23 -13
  3. package/esm/0_deps.d.ts.map +1 -1
  4. package/esm/0_deps.js +25 -15
  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 -7
  9. package/esm/1_utilities.d.ts.map +1 -1
  10. package/esm/1_utilities.js +6 -7
  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 +324 -41
  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 +238 -193
  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/path/1.1.4/_common/assert_path.d.ts.map +1 -0
  318. package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.js +7 -0
  319. package/esm/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts.map +1 -0
  320. package/esm/deps/jsr.io/@std/path/1.1.4/_common/basename.js +40 -0
  321. package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +1 -0
  322. package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.js +46 -0
  323. package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts +2 -0
  324. package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +1 -0
  325. package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.js +9 -0
  326. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +1 -0
  327. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.js +8 -0
  328. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +1 -0
  329. package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.js +77 -0
  330. package/esm/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts.map +1 -0
  331. package/esm/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.js +19 -0
  332. package/esm/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts.map +1 -0
  333. package/esm/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.js +15 -0
  334. package/esm/deps/jsr.io/@std/path/1.1.4/basename.d.ts +27 -0
  335. package/esm/deps/jsr.io/@std/path/1.1.4/basename.d.ts.map +1 -0
  336. package/esm/deps/jsr.io/@std/path/1.1.4/basename.js +35 -0
  337. package/esm/deps/jsr.io/@std/path/1.1.4/extname.d.ts +22 -0
  338. package/esm/deps/jsr.io/@std/path/1.1.4/extname.d.ts.map +1 -0
  339. package/esm/deps/jsr.io/@std/path/1.1.4/extname.js +28 -0
  340. package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts.map +1 -0
  341. package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.js +28 -0
  342. package/esm/deps/jsr.io/@std/path/1.1.4/join.d.ts +23 -0
  343. package/esm/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +1 -0
  344. package/esm/deps/jsr.io/@std/path/1.1.4/join.js +29 -0
  345. package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +1 -0
  346. package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.js +8 -0
  347. package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts +39 -0
  348. package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts.map +1 -0
  349. package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.js +52 -0
  350. package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts +37 -0
  351. package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts.map +1 -0
  352. package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.js +93 -0
  353. package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts +16 -0
  354. package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +1 -0
  355. package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.js +21 -0
  356. package/esm/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts.map +1 -0
  357. package/esm/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.js +23 -0
  358. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts +31 -0
  359. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +1 -0
  360. package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.js +45 -0
  361. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts +37 -0
  362. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +1 -0
  363. package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.js +58 -0
  364. package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts.map +1 -0
  365. package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.js +27 -0
  366. package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts.map +1 -0
  367. package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.js +28 -0
  368. package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +1 -0
  369. package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.js +15 -0
  370. package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts +22 -0
  371. package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts.map +1 -0
  372. package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.js +47 -0
  373. package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts +17 -0
  374. package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts.map +1 -0
  375. package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.js +82 -0
  376. package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts +18 -0
  377. package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +1 -0
  378. package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.js +30 -0
  379. package/esm/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts.map +1 -0
  380. package/esm/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.js +38 -0
  381. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts +18 -0
  382. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +1 -0
  383. package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.js +77 -0
  384. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts +19 -0
  385. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +1 -0
  386. package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.js +135 -0
  387. package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts.map +1 -0
  388. package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.js +34 -0
  389. package/esm/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.d.ts.map +1 -0
  390. package/esm/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.js +35 -0
  391. package/esm/mod.d.ts +2 -2
  392. package/esm/mod.d.ts.map +1 -1
  393. package/esm/mod.js +2 -2
  394. package/esm/session/0_session_error.d.ts +24 -0
  395. package/esm/session/0_session_error.d.ts.map +1 -0
  396. package/esm/session/0_session_error.js +25 -0
  397. package/esm/session/0_session_state.d.ts +28 -0
  398. package/esm/session/0_session_state.d.ts.map +1 -0
  399. package/esm/session/0_session_state.js +77 -0
  400. package/esm/session/1_session.d.ts +51 -0
  401. package/esm/session/1_session.d.ts.map +1 -0
  402. package/esm/session/1_session.js +147 -0
  403. package/esm/session/2_session_encrypted.d.ts +41 -0
  404. package/esm/session/2_session_encrypted.d.ts.map +1 -0
  405. package/esm/session/2_session_encrypted.js +507 -0
  406. package/esm/session/2_session_plain.d.ts +25 -0
  407. package/esm/session/2_session_plain.d.ts.map +1 -0
  408. package/esm/session/2_session_plain.js +56 -0
  409. package/esm/storage/0_storage.d.ts +3 -2
  410. package/esm/storage/0_storage.d.ts.map +1 -1
  411. package/esm/storage/0_storage.js +1 -1
  412. package/esm/storage/1_utilities.d.ts +15 -11
  413. package/esm/storage/1_utilities.d.ts.map +1 -1
  414. package/esm/storage/1_utilities.js +33 -41
  415. package/esm/storage/2_storage_indexed_db.d.ts +3 -2
  416. package/esm/storage/2_storage_indexed_db.d.ts.map +1 -1
  417. package/esm/storage/2_storage_indexed_db.js +7 -4
  418. package/esm/storage/2_storage_local_storage.d.ts +3 -2
  419. package/esm/storage/2_storage_local_storage.d.ts.map +1 -1
  420. package/esm/storage/2_storage_local_storage.js +7 -4
  421. package/esm/storage/2_storage_memory.d.ts +4 -3
  422. package/esm/storage/2_storage_memory.d.ts.map +1 -1
  423. package/esm/storage/2_storage_memory.js +6 -3
  424. package/esm/storage/2_storage_session_storage.d.ts +4 -3
  425. package/esm/storage/2_storage_session_storage.d.ts.map +1 -1
  426. package/esm/storage/2_storage_session_storage.js +7 -4
  427. package/esm/tl/0_types.d.ts +25 -0
  428. package/esm/tl/0_types.d.ts.map +1 -0
  429. package/esm/tl/0_types.js +20 -0
  430. package/esm/tl/0_utilities.d.ts +34 -0
  431. package/esm/tl/0_utilities.d.ts.map +1 -0
  432. package/esm/tl/0_utilities.js +79 -0
  433. package/esm/tl/1_mtproto_api.d.ts +371 -0
  434. package/esm/tl/1_mtproto_api.d.ts.map +1 -0
  435. package/esm/tl/1_mtproto_api.js +416 -0
  436. package/esm/tl/1_telegram_api.d.ts +19410 -0
  437. package/esm/tl/1_telegram_api.d.ts.map +1 -0
  438. package/esm/tl/1_telegram_api.js +22386 -0
  439. package/esm/tl/1_tl_reader.d.ts +39 -0
  440. package/esm/tl/1_tl_reader.d.ts.map +1 -0
  441. package/esm/tl/1_tl_reader.js +228 -0
  442. package/esm/tl/1_tl_writer.d.ts +37 -0
  443. package/esm/tl/1_tl_writer.d.ts.map +1 -0
  444. package/esm/tl/1_tl_writer.js +278 -0
  445. package/esm/tl/1_utilities.d.ts +9 -14
  446. package/esm/tl/1_utilities.d.ts.map +1 -1
  447. package/esm/tl/1_utilities.js +21 -40
  448. package/esm/tl/2_message.d.ts +36 -0
  449. package/esm/tl/2_message.d.ts.map +1 -0
  450. package/esm/tl/2_message.js +73 -0
  451. package/esm/tl/2_mtproto.d.ts +33 -0
  452. package/esm/tl/2_mtproto.d.ts.map +1 -0
  453. package/esm/tl/2_mtproto.js +53 -0
  454. package/esm/tl/2_telegram.d.ts +49 -0
  455. package/esm/tl/2_telegram.d.ts.map +1 -0
  456. package/esm/tl/2_telegram.js +135 -0
  457. package/esm/transport/0_obfuscation.d.ts +2 -2
  458. package/esm/transport/0_obfuscation.d.ts.map +1 -1
  459. package/esm/transport/0_obfuscation.js +10 -9
  460. package/esm/transport/0_transport.d.ts +4 -6
  461. package/esm/transport/0_transport.d.ts.map +1 -1
  462. package/esm/transport/0_transport.js +10 -11
  463. package/esm/transport/1_transport_abridged.d.ts +2 -4
  464. package/esm/transport/1_transport_abridged.d.ts.map +1 -1
  465. package/esm/transport/1_transport_abridged.js +17 -34
  466. package/esm/transport/1_transport_intermediate.d.ts +2 -4
  467. package/esm/transport/1_transport_intermediate.d.ts.map +1 -1
  468. package/esm/transport/1_transport_intermediate.js +12 -31
  469. package/esm/transport/1_transport_provider.d.ts +35 -0
  470. package/esm/transport/1_transport_provider.d.ts.map +1 -0
  471. package/esm/transport/1_transport_provider.js +81 -0
  472. package/esm/transport/2_transport_provider_tcp.d.ts +25 -0
  473. package/esm/transport/2_transport_provider_tcp.d.ts.map +1 -0
  474. package/esm/transport/2_transport_provider_tcp.js +29 -0
  475. package/esm/transport/2_transport_provider_web_socket.d.ts +24 -0
  476. package/esm/transport/2_transport_provider_web_socket.d.ts.map +1 -0
  477. package/esm/transport/2_transport_provider_web_socket.js +43 -0
  478. package/esm/types/0_authorization_state.d.ts +2 -2
  479. package/esm/types/0_authorization_state.d.ts.map +1 -1
  480. package/esm/types/0_authorization_state.js +1 -1
  481. package/esm/types/0_birthday.d.ts +3 -2
  482. package/esm/types/0_birthday.d.ts.map +1 -1
  483. package/esm/types/0_birthday.js +9 -1
  484. package/esm/types/0_bot_command.d.ts +1 -1
  485. package/esm/types/0_bot_command.js +1 -1
  486. package/esm/types/0_bot_token_check_result.d.ts +31 -0
  487. package/esm/types/0_bot_token_check_result.d.ts.map +1 -0
  488. package/esm/types/0_bot_token_check_result.js +20 -0
  489. package/esm/types/0_button_style.d.ts +28 -0
  490. package/esm/types/0_button_style.d.ts.map +1 -0
  491. package/esm/types/0_button_style.js +36 -0
  492. package/esm/types/0_callback_query_answer.d.ts +3 -3
  493. package/esm/types/0_callback_query_answer.d.ts.map +1 -1
  494. package/esm/types/0_callback_query_answer.js +2 -2
  495. package/esm/types/0_callback_query_question.d.ts +1 -1
  496. package/esm/types/0_callback_query_question.js +3 -3
  497. package/esm/types/0_chat_action.d.ts +1 -1
  498. package/esm/types/0_chat_action.js +1 -1
  499. package/esm/types/0_chat_administrator_rights.d.ts +17 -7
  500. package/esm/types/0_chat_administrator_rights.d.ts.map +1 -1
  501. package/esm/types/0_chat_administrator_rights.js +31 -16
  502. package/esm/types/0_chat_folder.d.ts +29 -0
  503. package/esm/types/0_chat_folder.d.ts.map +1 -0
  504. package/esm/types/0_chat_folder.js +25 -0
  505. package/esm/types/0_chat_member_rights.d.ts +3 -3
  506. package/esm/types/0_chat_member_rights.d.ts.map +1 -1
  507. package/esm/types/0_chat_member_rights.js +21 -21
  508. package/esm/types/0_chat_photo.d.ts +2 -2
  509. package/esm/types/0_chat_photo.d.ts.map +1 -1
  510. package/esm/types/0_chat_photo.js +5 -5
  511. package/esm/types/0_checklist_changed.d.ts +29 -0
  512. package/esm/types/0_checklist_changed.d.ts.map +1 -0
  513. package/esm/types/0_checklist_changed.js +25 -0
  514. package/esm/types/0_code_check_result.d.ts +47 -0
  515. package/esm/types/0_code_check_result.d.ts.map +1 -0
  516. package/esm/types/0_code_check_result.js +20 -0
  517. package/esm/types/0_connection_state.d.ts +1 -1
  518. package/esm/types/0_connection_state.js +1 -1
  519. package/esm/types/0_contact.d.ts +2 -2
  520. package/esm/types/0_contact.d.ts.map +1 -1
  521. package/esm/types/0_contact.js +1 -1
  522. package/esm/types/0_dice.d.ts +2 -2
  523. package/esm/types/0_dice.d.ts.map +1 -1
  524. package/esm/types/0_dice.js +1 -1
  525. package/esm/types/0_emoji_status.d.ts +48 -0
  526. package/esm/types/0_emoji_status.d.ts.map +1 -0
  527. package/esm/types/0_emoji_status.js +33 -0
  528. package/esm/types/0_failed_invitation.d.ts +8 -4
  529. package/esm/types/0_failed_invitation.d.ts.map +1 -1
  530. package/esm/types/0_failed_invitation.js +3 -3
  531. package/esm/types/0_file_source.d.ts +2 -2
  532. package/esm/types/0_file_source.d.ts.map +1 -1
  533. package/esm/types/0_file_source.js +1 -1
  534. package/esm/types/0_gift_component_rarity.d.ts +50 -0
  535. package/esm/types/0_gift_component_rarity.d.ts.map +1 -0
  536. package/esm/types/0_gift_component_rarity.js +43 -0
  537. package/esm/types/0_gift_value.d.ts +25 -0
  538. package/esm/types/0_gift_value.d.ts.map +1 -0
  539. package/esm/types/0_gift_value.js +20 -0
  540. package/esm/types/0_giveaway_parameters.d.ts +2 -2
  541. package/esm/types/0_giveaway_parameters.d.ts.map +1 -1
  542. package/esm/types/0_giveaway_parameters.js +5 -6
  543. package/esm/types/0_id.d.ts +1 -1
  544. package/esm/types/0_id.js +1 -1
  545. package/esm/types/0_input_emoji_status.d.ts +36 -0
  546. package/esm/types/0_input_emoji_status.d.ts.map +1 -0
  547. package/esm/types/0_input_emoji_status.js +20 -0
  548. package/esm/types/0_invoice.d.ts +3 -2
  549. package/esm/types/0_invoice.d.ts.map +1 -1
  550. package/esm/types/0_invoice.js +1 -1
  551. package/esm/types/0_keyboard_button_poll_type.d.ts +1 -1
  552. package/esm/types/0_keyboard_button_poll_type.js +1 -1
  553. package/esm/types/0_link_preview_media_size.d.ts +22 -0
  554. package/esm/types/0_link_preview_media_size.d.ts.map +1 -0
  555. package/esm/types/0_link_preview_media_size.js +20 -0
  556. package/esm/types/0_live_stream_channel.d.ts +2 -2
  557. package/esm/types/0_live_stream_channel.d.ts.map +1 -1
  558. package/esm/types/0_live_stream_channel.js +1 -1
  559. package/esm/types/0_location.d.ts +1 -1
  560. package/esm/types/0_location.d.ts.map +1 -1
  561. package/esm/types/0_location.js +6 -6
  562. package/esm/types/0_login_url.d.ts +1 -1
  563. package/esm/types/0_login_url.js +1 -1
  564. package/esm/types/0_mask_position.d.ts +2 -2
  565. package/esm/types/0_mask_position.d.ts.map +1 -1
  566. package/esm/types/0_mask_position.js +2 -2
  567. package/esm/types/0_message_reference.d.ts +1 -1
  568. package/esm/types/0_message_reference.js +1 -1
  569. package/esm/types/0_message_search_filter.d.ts +3 -2
  570. package/esm/types/0_message_search_filter.d.ts.map +1 -1
  571. package/esm/types/0_message_search_filter.js +1 -1
  572. package/esm/types/0_mini_app_button_info.d.ts +26 -0
  573. package/esm/types/0_mini_app_button_info.d.ts.map +1 -0
  574. package/esm/types/0_mini_app_button_info.js +22 -0
  575. package/esm/types/0_mini_app_mode.d.ts +22 -0
  576. package/esm/types/0_mini_app_mode.d.ts.map +1 -0
  577. package/esm/types/0_mini_app_mode.js +20 -0
  578. package/esm/types/0_network_statistics_entry.d.ts +1 -1
  579. package/esm/types/0_network_statistics_entry.js +1 -1
  580. package/esm/types/0_parse_mode.d.ts +1 -1
  581. package/esm/types/0_parse_mode.js +1 -1
  582. package/esm/types/0_password_check_result.d.ts +39 -0
  583. package/esm/types/0_password_check_result.d.ts.map +1 -0
  584. package/esm/types/0_password_check_result.js +20 -0
  585. package/esm/types/0_price_tag.d.ts +1 -1
  586. package/esm/types/0_price_tag.js +1 -1
  587. package/esm/types/0_reaction.d.ts +4 -1
  588. package/esm/types/0_reaction.d.ts.map +1 -1
  589. package/esm/types/0_reaction.js +10 -10
  590. package/esm/types/0_refunded_payment.d.ts +2 -2
  591. package/esm/types/0_refunded_payment.d.ts.map +1 -1
  592. package/esm/types/0_refunded_payment.js +3 -3
  593. package/esm/types/0_restriction_reason.d.ts +2 -2
  594. package/esm/types/0_restriction_reason.d.ts.map +1 -1
  595. package/esm/types/0_restriction_reason.js +1 -1
  596. package/esm/types/0_self_destruct_option.d.ts +11 -3
  597. package/esm/types/0_self_destruct_option.d.ts.map +1 -1
  598. package/esm/types/0_self_destruct_option.js +12 -3
  599. package/esm/types/0_shipping_address.d.ts +2 -2
  600. package/esm/types/0_shipping_address.d.ts.map +1 -1
  601. package/esm/types/0_shipping_address.js +1 -1
  602. package/esm/types/0_slow_mode_duration.d.ts +23 -0
  603. package/esm/types/0_slow_mode_duration.d.ts.map +1 -0
  604. package/esm/types/0_slow_mode_duration.js +28 -0
  605. package/esm/types/0_story_reference.d.ts +1 -1
  606. package/esm/types/0_story_reference.js +1 -1
  607. package/esm/types/0_switch_inline_query_chosen_chats.d.ts +20 -0
  608. package/esm/types/0_switch_inline_query_chosen_chats.d.ts.map +1 -1
  609. package/esm/types/0_switch_inline_query_chosen_chats.js +19 -0
  610. package/esm/types/0_thumbnail.d.ts +1 -1
  611. package/esm/types/0_thumbnail.d.ts.map +1 -1
  612. package/esm/types/0_thumbnail.js +4 -4
  613. package/esm/types/0_translation.d.ts +32 -0
  614. package/esm/types/0_translation.d.ts.map +1 -0
  615. package/esm/types/0_translation.js +45 -0
  616. package/esm/types/0_upload_progress.d.ts +29 -0
  617. package/esm/types/0_upload_progress.d.ts.map +1 -0
  618. package/esm/types/0_upload_progress.js +20 -0
  619. package/esm/types/0_user_status.d.ts +66 -0
  620. package/esm/types/0_user_status.d.ts.map +1 -0
  621. package/esm/types/0_user_status.js +35 -0
  622. package/esm/types/0_video_chat.d.ts +8 -4
  623. package/esm/types/0_video_chat.d.ts.map +1 -1
  624. package/esm/types/0_video_chat.js +7 -8
  625. package/esm/types/0_voice.d.ts +2 -2
  626. package/esm/types/0_voice.d.ts.map +1 -1
  627. package/esm/types/0_voice.js +1 -1
  628. package/esm/types/0_voice_transcription.d.ts +31 -0
  629. package/esm/types/0_voice_transcription.d.ts.map +1 -0
  630. package/esm/types/0_voice_transcription.js +26 -0
  631. package/esm/types/0_working_hours_interval.d.ts +27 -0
  632. package/esm/types/0_working_hours_interval.d.ts.map +1 -0
  633. package/esm/types/0_working_hours_interval.js +20 -0
  634. package/esm/types/1_animation.d.ts +2 -2
  635. package/esm/types/1_animation.d.ts.map +1 -1
  636. package/esm/types/1_animation.js +3 -3
  637. package/esm/types/1_audio.d.ts +2 -2
  638. package/esm/types/1_audio.d.ts.map +1 -1
  639. package/esm/types/1_audio.js +3 -3
  640. package/esm/types/1_bot_command_scope.d.ts +3 -3
  641. package/esm/types/1_bot_command_scope.d.ts.map +1 -1
  642. package/esm/types/1_bot_command_scope.js +4 -4
  643. package/esm/types/1_bot_commands.d.ts +30 -0
  644. package/esm/types/1_bot_commands.d.ts.map +1 -0
  645. package/esm/types/1_bot_commands.js +20 -0
  646. package/esm/types/1_chat_p.d.ts +36 -7
  647. package/esm/types/1_chat_p.d.ts.map +1 -1
  648. package/esm/types/1_chat_p.js +43 -17
  649. package/esm/types/1_document.d.ts +2 -2
  650. package/esm/types/1_document.d.ts.map +1 -1
  651. package/esm/types/1_document.js +3 -3
  652. package/esm/types/1_giveaway.d.ts +3 -3
  653. package/esm/types/1_giveaway.d.ts.map +1 -1
  654. package/esm/types/1_giveaway.js +1 -1
  655. package/esm/types/1_inline_keyboard_button.d.ts +140 -0
  656. package/esm/types/1_inline_keyboard_button.d.ts.map +1 -0
  657. package/esm/types/1_inline_keyboard_button.js +128 -0
  658. package/esm/types/1_inline_query_result_button.d.ts +3 -3
  659. package/esm/types/1_inline_query_result_button.d.ts.map +1 -1
  660. package/esm/types/1_inline_query_result_button.js +1 -1
  661. package/esm/types/1_input_gift.d.ts +54 -0
  662. package/esm/types/1_input_gift.d.ts.map +1 -0
  663. package/esm/types/1_input_gift.js +32 -0
  664. package/esm/types/1_input_story_content.d.ts +3 -3
  665. package/esm/types/1_input_story_content.d.ts.map +1 -1
  666. package/esm/types/1_input_story_content.js +1 -1
  667. package/esm/types/1_keyboard_button.d.ts +14 -12
  668. package/esm/types/1_keyboard_button.d.ts.map +1 -1
  669. package/esm/types/1_keyboard_button.js +87 -34
  670. package/esm/types/1_message_reaction.d.ts +3 -3
  671. package/esm/types/1_message_reaction.d.ts.map +1 -1
  672. package/esm/types/1_message_reaction.js +8 -8
  673. package/esm/types/1_mini_app_info.d.ts +32 -0
  674. package/esm/types/1_mini_app_info.d.ts.map +1 -0
  675. package/esm/types/1_mini_app_info.js +27 -0
  676. package/esm/types/1_network_statistics.d.ts +2 -2
  677. package/esm/types/1_network_statistics.d.ts.map +1 -1
  678. package/esm/types/1_network_statistics.js +1 -1
  679. package/esm/types/1_order_info.d.ts +8 -3
  680. package/esm/types/1_order_info.d.ts.map +1 -1
  681. package/esm/types/1_order_info.js +1 -1
  682. package/esm/types/1_photo.d.ts +2 -2
  683. package/esm/types/1_photo.d.ts.map +1 -1
  684. package/esm/types/1_photo.js +4 -4
  685. package/esm/types/1_reaction_count.d.ts +3 -3
  686. package/esm/types/1_reaction_count.d.ts.map +1 -1
  687. package/esm/types/1_reaction_count.js +1 -1
  688. package/esm/types/1_sticker.d.ts +6 -5
  689. package/esm/types/1_sticker.d.ts.map +1 -1
  690. package/esm/types/1_sticker.js +15 -11
  691. package/esm/types/1_story_reaction.d.ts +4 -4
  692. package/esm/types/1_story_reaction.d.ts.map +1 -1
  693. package/esm/types/1_story_reaction.js +2 -2
  694. package/esm/types/1_venue.d.ts +2 -2
  695. package/esm/types/1_venue.d.ts.map +1 -1
  696. package/esm/types/1_venue.js +3 -3
  697. package/esm/types/1_video.d.ts +2 -2
  698. package/esm/types/1_video.d.ts.map +1 -1
  699. package/esm/types/1_video.js +3 -3
  700. package/esm/types/1_video_note.d.ts +2 -2
  701. package/esm/types/1_video_note.d.ts.map +1 -1
  702. package/esm/types/1_video_note.js +3 -3
  703. package/esm/types/1_working_hours.d.ts +31 -0
  704. package/esm/types/1_working_hours.d.ts.map +1 -0
  705. package/esm/types/1_working_hours.js +33 -0
  706. package/esm/types/2_chat.d.ts +14 -17
  707. package/esm/types/2_chat.d.ts.map +1 -1
  708. package/esm/types/2_chat.js +23 -28
  709. package/esm/types/2_chat_member.d.ts +72 -15
  710. package/esm/types/2_chat_member.d.ts.map +1 -1
  711. package/esm/types/2_chat_member.js +40 -28
  712. package/esm/types/2_inactive_chat.d.ts +3 -3
  713. package/esm/types/2_inactive_chat.d.ts.map +1 -1
  714. package/esm/types/2_inactive_chat.js +4 -5
  715. package/esm/types/2_message_entity.d.ts +148 -0
  716. package/esm/types/2_message_entity.d.ts.map +1 -0
  717. package/esm/types/2_message_entity.js +243 -0
  718. package/esm/types/2_message_interactions.d.ts +2 -2
  719. package/esm/types/2_message_interactions.d.ts.map +1 -1
  720. package/esm/types/2_message_interactions.js +1 -1
  721. package/esm/types/2_message_reaction_count.d.ts +6 -7
  722. package/esm/types/2_message_reaction_count.d.ts.map +1 -1
  723. package/esm/types/2_message_reaction_count.js +6 -9
  724. package/esm/types/2_message_reaction_list_item.d.ts +39 -0
  725. package/esm/types/2_message_reaction_list_item.d.ts.map +1 -0
  726. package/esm/types/2_message_reaction_list_item.js +50 -0
  727. package/esm/types/2_poll_answer.d.ts +32 -0
  728. package/esm/types/2_poll_answer.d.ts.map +1 -0
  729. package/esm/types/2_poll_answer.js +35 -0
  730. package/esm/types/2_reply_markup.d.ts +71 -0
  731. package/esm/types/2_reply_markup.d.ts.map +1 -0
  732. package/esm/types/2_reply_markup.js +127 -0
  733. package/esm/types/2_sticker_set.d.ts +51 -0
  734. package/esm/types/2_sticker_set.d.ts.map +1 -0
  735. package/esm/types/2_sticker_set.js +91 -0
  736. package/esm/types/2_story_content.d.ts +3 -3
  737. package/esm/types/2_story_content.d.ts.map +1 -1
  738. package/esm/types/2_story_content.js +7 -7
  739. package/esm/types/2_story_interactions.d.ts +3 -3
  740. package/esm/types/2_story_interactions.d.ts.map +1 -1
  741. package/esm/types/2_story_interactions.js +1 -1
  742. package/esm/types/2_story_interactive_area.d.ts +9 -9
  743. package/esm/types/2_story_interactive_area.d.ts.map +1 -1
  744. package/esm/types/2_story_interactive_area.js +16 -15
  745. package/esm/types/2_story_privacy.d.ts +46 -0
  746. package/esm/types/2_story_privacy.d.ts.map +1 -0
  747. package/esm/types/2_story_privacy.js +76 -0
  748. package/esm/types/2_successful_payment.d.ts +11 -3
  749. package/esm/types/2_successful_payment.d.ts.map +1 -1
  750. package/esm/types/2_successful_payment.js +3 -3
  751. package/esm/types/2_user.d.ts +73 -0
  752. package/esm/types/2_user.d.ts.map +1 -0
  753. package/esm/types/2_user.js +82 -0
  754. package/esm/types/3_business_connection.d.ts +37 -0
  755. package/esm/types/3_business_connection.d.ts.map +1 -0
  756. package/esm/types/3_business_connection.js +36 -0
  757. package/esm/types/3_chat_settings.d.ts +47 -0
  758. package/esm/types/3_chat_settings.d.ts.map +1 -0
  759. package/esm/types/3_chat_settings.js +51 -0
  760. package/esm/types/3_checklist_item.d.ts +65 -0
  761. package/esm/types/3_checklist_item.d.ts.map +1 -0
  762. package/esm/types/3_checklist_item.js +51 -0
  763. package/esm/types/3_chosen_inline_result.d.ts +38 -0
  764. package/esm/types/3_chosen_inline_result.d.ts.map +1 -0
  765. package/esm/types/3_chosen_inline_result.js +37 -0
  766. package/esm/types/3_forward_header.d.ts +77 -0
  767. package/esm/types/3_forward_header.d.ts.map +1 -0
  768. package/esm/types/3_forward_header.js +73 -0
  769. package/esm/types/3_game.d.ts +40 -0
  770. package/esm/types/3_game.d.ts.map +1 -0
  771. package/esm/types/3_game.js +44 -0
  772. package/esm/types/3_gift_upgraded_component.d.ts +96 -0
  773. package/esm/types/3_gift_upgraded_component.d.ts.map +1 -0
  774. package/esm/types/3_gift_upgraded_component.js +88 -0
  775. package/esm/types/3_inline_query.d.ts +40 -0
  776. package/esm/types/3_inline_query.d.ts.map +1 -0
  777. package/esm/types/3_inline_query.js +60 -0
  778. package/esm/types/3_input_checklist_item.d.ts +31 -0
  779. package/esm/types/3_input_checklist_item.d.ts.map +1 -0
  780. package/esm/types/3_input_checklist_item.js +20 -0
  781. package/esm/types/3_input_media.d.ts +123 -0
  782. package/esm/types/3_input_media.d.ts.map +1 -0
  783. package/esm/types/3_input_media.js +20 -0
  784. package/esm/types/3_input_poll_option.d.ts +31 -0
  785. package/esm/types/3_input_poll_option.d.ts.map +1 -0
  786. package/esm/types/3_input_poll_option.js +20 -0
  787. package/esm/types/3_invite_link.d.ts +47 -0
  788. package/esm/types/3_invite_link.d.ts.map +1 -0
  789. package/esm/types/3_invite_link.js +48 -0
  790. package/esm/types/3_message_reaction_list.d.ts +32 -0
  791. package/esm/types/3_message_reaction_list.d.ts.map +1 -0
  792. package/esm/types/3_message_reaction_list.js +31 -0
  793. package/esm/types/3_message_reactions.d.ts +42 -0
  794. package/esm/types/3_message_reactions.d.ts.map +1 -0
  795. package/esm/types/3_message_reactions.js +54 -0
  796. package/esm/types/3_poll_option.d.ts +34 -0
  797. package/esm/types/3_poll_option.d.ts.map +1 -0
  798. package/esm/types/3_poll_option.js +29 -0
  799. package/esm/types/3_pre_checkout_query.d.ts +42 -0
  800. package/esm/types/3_pre_checkout_query.d.ts.map +1 -0
  801. package/esm/types/3_pre_checkout_query.js +39 -0
  802. package/esm/types/3_reply_quote.d.ts +32 -0
  803. package/esm/types/3_reply_quote.d.ts.map +1 -0
  804. package/esm/types/3_reply_quote.js +30 -0
  805. package/esm/types/3_story.d.ts +13 -14
  806. package/esm/types/3_story.d.ts.map +1 -1
  807. package/esm/types/3_story.js +13 -14
  808. package/esm/types/4_chat_member_updated.d.ts +43 -0
  809. package/esm/types/4_chat_member_updated.d.ts.map +1 -0
  810. package/esm/types/4_chat_member_updated.js +52 -0
  811. package/esm/types/4_checklist.d.ts +38 -0
  812. package/esm/types/4_checklist.d.ts.map +1 -0
  813. package/esm/types/4_checklist.js +31 -0
  814. package/esm/types/4_gift.d.ts +100 -0
  815. package/esm/types/4_gift.d.ts.map +1 -0
  816. package/esm/types/4_gift.js +112 -0
  817. package/esm/types/4_join_request.d.ts +39 -0
  818. package/esm/types/4_join_request.d.ts.map +1 -0
  819. package/esm/types/4_join_request.js +62 -0
  820. package/esm/types/4_poll.d.ts +55 -0
  821. package/esm/types/4_poll.d.ts.map +1 -0
  822. package/esm/types/4_poll.js +43 -0
  823. package/esm/types/4_reply_to.d.ts +51 -0
  824. package/esm/types/4_reply_to.d.ts.map +1 -0
  825. package/esm/types/4_reply_to.js +20 -0
  826. package/esm/types/5_claimed_gift.d.ts +44 -0
  827. package/esm/types/5_claimed_gift.d.ts.map +1 -0
  828. package/esm/types/5_claimed_gift.js +43 -0
  829. package/esm/types/5_gift_non_upgraded_information.d.ts +47 -0
  830. package/esm/types/5_gift_non_upgraded_information.d.ts.map +1 -0
  831. package/esm/types/5_gift_non_upgraded_information.js +69 -0
  832. package/esm/types/5_gift_upgraded_information.d.ts +41 -0
  833. package/esm/types/5_gift_upgraded_information.d.ts.map +1 -0
  834. package/esm/types/5_gift_upgraded_information.js +58 -0
  835. package/esm/types/5_link_preview.d.ts +186 -0
  836. package/esm/types/5_link_preview.d.ts.map +1 -0
  837. package/esm/types/5_link_preview.js +205 -0
  838. package/esm/types/6_claimed_gifts.d.ts +33 -0
  839. package/esm/types/6_claimed_gifts.d.ts.map +1 -0
  840. package/esm/types/6_claimed_gifts.js +43 -0
  841. package/esm/types/6_message.d.ts +704 -0
  842. package/esm/types/6_message.d.ts.map +1 -0
  843. package/esm/types/6_message.js +553 -0
  844. package/esm/types/6_message_content.d.ts +124 -0
  845. package/esm/types/6_message_content.d.ts.map +1 -0
  846. package/esm/types/6_message_content.js +20 -0
  847. package/esm/types/7_callback_query.d.ts +43 -0
  848. package/esm/types/7_callback_query.d.ts.map +1 -0
  849. package/esm/types/7_callback_query.js +59 -0
  850. package/esm/types/7_chat_list_item.d.ts +43 -0
  851. package/esm/types/7_chat_list_item.d.ts.map +1 -0
  852. package/esm/types/7_chat_list_item.js +57 -0
  853. package/esm/types/7_inline_query_result.d.ts +251 -0
  854. package/esm/types/7_inline_query_result.d.ts.map +1 -0
  855. package/esm/types/7_inline_query_result.js +380 -0
  856. package/esm/types/7_message_list.d.ts +28 -0
  857. package/esm/types/7_message_list.d.ts.map +1 -0
  858. package/esm/types/7_message_list.js +20 -0
  859. package/esm/types/7_saved_chat.d.ts +35 -0
  860. package/esm/types/7_saved_chat.d.ts.map +1 -0
  861. package/esm/types/7_saved_chat.js +42 -0
  862. package/esm/types/7_topic.d.ts +44 -0
  863. package/esm/types/7_topic.d.ts.map +1 -0
  864. package/esm/types/7_topic.js +61 -0
  865. package/esm/types/8_inline_query_answer.d.ts +32 -0
  866. package/esm/types/8_inline_query_answer.d.ts.map +1 -0
  867. package/esm/types/8_inline_query_answer.js +28 -0
  868. package/esm/types/8_saved_chats.d.ts +33 -0
  869. package/esm/types/8_saved_chats.d.ts.map +1 -0
  870. package/esm/types/8_saved_chats.js +36 -0
  871. package/esm/types/8_update.d.ts +583 -0
  872. package/esm/types/8_update.d.ts.map +1 -0
  873. package/esm/types/8_update.js +20 -0
  874. package/esm/types/_file_id.d.ts +64 -51
  875. package/esm/types/_file_id.d.ts.map +1 -1
  876. package/esm/types/_file_id.js +96 -77
  877. package/esm/types/_getters.d.ts +4 -11
  878. package/esm/types/_getters.d.ts.map +1 -1
  879. package/esm/types/_getters.js +1 -1
  880. package/esm/utilities/0_color.d.ts +1 -1
  881. package/esm/utilities/0_color.js +1 -1
  882. package/esm/utilities/0_env.d.ts.map +1 -1
  883. package/esm/utilities/0_env.js +20 -1
  884. package/esm/utilities/0_gzip.d.ts +22 -0
  885. package/esm/utilities/0_gzip.d.ts.map +1 -0
  886. package/esm/utilities/0_gzip.js +42 -0
  887. package/esm/utilities/0_hash.d.ts +3 -3
  888. package/esm/utilities/0_hash.d.ts.map +1 -1
  889. package/esm/utilities/0_hash.js +1 -1
  890. package/esm/utilities/0_int.d.ts +71 -0
  891. package/esm/utilities/0_int.d.ts.map +1 -0
  892. package/esm/utilities/0_int.js +140 -0
  893. package/esm/utilities/0_misc.d.ts +29 -0
  894. package/esm/utilities/0_misc.d.ts.map +1 -0
  895. package/esm/utilities/0_misc.js +84 -0
  896. package/esm/utilities/0_mutex.d.ts +1 -1
  897. package/esm/utilities/0_mutex.js +1 -1
  898. package/esm/utilities/0_object.d.ts +1 -1
  899. package/esm/utilities/0_object.js +1 -1
  900. package/esm/utilities/0_part_stream.d.ts +4 -4
  901. package/esm/utilities/0_part_stream.d.ts.map +1 -1
  902. package/esm/utilities/0_part_stream.js +3 -3
  903. package/esm/utilities/0_rle.d.ts +3 -3
  904. package/esm/utilities/0_rle.d.ts.map +1 -1
  905. package/esm/utilities/0_rle.js +2 -2
  906. package/esm/utilities/0_text.d.ts +22 -0
  907. package/esm/utilities/0_text.d.ts.map +1 -0
  908. package/esm/utilities/0_text.js +27 -0
  909. package/esm/utilities/0_types.d.ts +1 -1
  910. package/esm/utilities/0_types.js +1 -1
  911. package/esm/utilities/0_units.d.ts +1 -4
  912. package/esm/utilities/0_units.d.ts.map +1 -1
  913. package/esm/utilities/0_units.js +1 -4
  914. package/esm/utilities/1_auth.d.ts +2 -2
  915. package/esm/utilities/1_auth.d.ts.map +1 -1
  916. package/esm/utilities/1_auth.js +5 -6
  917. package/esm/utilities/1_base64.d.ts +3 -3
  918. package/esm/utilities/1_base64.d.ts.map +1 -1
  919. package/esm/utilities/1_base64.js +3 -3
  920. package/esm/utilities/1_crypto.d.ts +30 -0
  921. package/esm/utilities/1_crypto.d.ts.map +1 -0
  922. package/esm/utilities/1_crypto.js +90 -0
  923. package/esm/utilities/1_logger.d.ts +3 -3
  924. package/esm/utilities/1_logger.d.ts.map +1 -1
  925. package/esm/utilities/1_logger.js +5 -4
  926. package/esm/utilities/1_math.d.ts +1 -1
  927. package/esm/utilities/1_math.js +4 -4
  928. package/esm/utilities/2_queue.d.ts +2 -2
  929. package/esm/utilities/2_queue.d.ts.map +1 -1
  930. package/esm/utilities/2_queue.js +12 -8
  931. package/package.json +2 -5
  932. package/script/0_deps.d.ts +23 -13
  933. package/script/0_deps.d.ts.map +1 -1
  934. package/script/0_deps.js +47 -41
  935. package/script/0_errors.d.ts +9 -2
  936. package/script/0_errors.d.ts.map +1 -1
  937. package/script/0_errors.js +37 -2
  938. package/script/1_utilities.d.ts +6 -7
  939. package/script/1_utilities.d.ts.map +1 -1
  940. package/script/1_utilities.js +6 -7
  941. package/script/2_connection.d.ts +1 -1
  942. package/script/2_connection.js +1 -1
  943. package/script/2_storage.d.ts +1 -1
  944. package/script/2_storage.js +1 -1
  945. package/script/2_tl.d.ts +7 -10
  946. package/script/2_tl.d.ts.map +1 -1
  947. package/script/2_tl.js +25 -19
  948. package/script/3_errors.d.ts +8 -3
  949. package/script/3_errors.d.ts.map +1 -1
  950. package/script/3_errors.js +14 -5
  951. package/script/3_transport.d.ts +4 -4
  952. package/script/3_transport.js +4 -4
  953. package/script/3_types.d.ts +74 -34
  954. package/script/3_types.d.ts.map +1 -1
  955. package/script/3_types.js +74 -34
  956. package/script/4_constants.d.ts +21 -2
  957. package/script/4_constants.d.ts.map +1 -1
  958. package/script/4_constants.js +6 -29
  959. package/script/4_errors.d.ts +4 -4
  960. package/script/4_errors.d.ts.map +1 -1
  961. package/script/4_errors.js +1 -1
  962. package/script/4_session.d.ts +24 -0
  963. package/script/4_session.d.ts.map +1 -0
  964. package/script/4_session.js +39 -0
  965. package/script/5_client.d.ts +9 -3
  966. package/script/5_client.d.ts.map +1 -1
  967. package/script/5_client.js +9 -3
  968. package/script/_dnt.polyfills.d.ts +119 -0
  969. package/script/_dnt.polyfills.d.ts.map +1 -1
  970. package/script/_dnt.polyfills.js +248 -0
  971. package/script/_dnt.shims.d.ts +0 -1
  972. package/script/_dnt.shims.d.ts.map +1 -1
  973. package/script/client/0_abortable_loop.d.ts +27 -0
  974. package/script/client/0_abortable_loop.d.ts.map +1 -0
  975. package/script/client/0_abortable_loop.js +73 -0
  976. package/script/client/0_client_abstract.d.ts +31 -28
  977. package/script/client/0_client_abstract.d.ts.map +1 -1
  978. package/script/client/0_client_abstract.js +23 -115
  979. package/script/client/0_html.d.ts +4 -3
  980. package/script/client/0_html.d.ts.map +1 -1
  981. package/script/client/0_html.js +413 -74
  982. package/script/client/0_markdown.d.ts +2 -2
  983. package/script/client/0_markdown.d.ts.map +1 -1
  984. package/script/client/0_markdown.js +39 -19
  985. package/script/client/0_params.d.ts +324 -41
  986. package/script/client/0_params.d.ts.map +1 -1
  987. package/script/client/0_params.js +1 -1
  988. package/script/client/0_password.d.ts +6 -6
  989. package/script/client/0_password.d.ts.map +1 -1
  990. package/script/client/0_password.js +11 -11
  991. package/script/client/0_storage_operations.d.ts +81 -69
  992. package/script/client/0_storage_operations.d.ts.map +1 -1
  993. package/script/client/0_storage_operations.js +354 -233
  994. package/script/client/0_update_processor.d.ts +26 -0
  995. package/script/client/0_update_processor.d.ts.map +1 -0
  996. package/script/client/0_update_processor.js +21 -0
  997. package/script/client/0_utilities.d.ts +10 -5
  998. package/script/client/0_utilities.d.ts.map +1 -1
  999. package/script/client/0_utilities.js +47 -32
  1000. package/script/client/0_worker_error.d.ts +26 -0
  1001. package/script/client/0_worker_error.d.ts.map +1 -0
  1002. package/script/client/0_worker_error.js +90 -0
  1003. package/script/client/0_worker_request.d.ts +27 -0
  1004. package/script/client/0_worker_request.d.ts.map +1 -0
  1005. package/script/client/0_worker_request.js +21 -0
  1006. package/script/client/1_client_generic.d.ts +1846 -0
  1007. package/script/client/1_client_generic.d.ts.map +1 -0
  1008. package/script/client/1_client_generic.js +28 -0
  1009. package/script/client/1_client_plain.d.ts +12 -9
  1010. package/script/client/1_client_plain.d.ts.map +1 -1
  1011. package/script/client/1_client_plain.js +39 -50
  1012. package/script/client/1_invoke_middleware.d.ts +32 -0
  1013. package/script/client/1_invoke_middleware.d.ts.map +1 -0
  1014. package/script/client/1_invoke_middleware.js +25 -0
  1015. package/script/client/1_types.d.ts +17 -32
  1016. package/script/client/1_types.d.ts.map +1 -1
  1017. package/script/client/1_types.js +1 -1
  1018. package/script/client/1_worker_response.d.ts +37 -0
  1019. package/script/client/1_worker_response.d.ts.map +1 -0
  1020. package/script/client/1_worker_response.js +21 -0
  1021. package/script/client/2_account_manager.d.ts +43 -5
  1022. package/script/client/2_account_manager.d.ts.map +1 -1
  1023. package/script/client/2_account_manager.js +336 -7
  1024. package/script/client/2_bot_info_manager.d.ts +12 -5
  1025. package/script/client/2_bot_info_manager.d.ts.map +1 -1
  1026. package/script/client/2_bot_info_manager.js +15 -1
  1027. package/script/client/2_business_connection_manager.d.ts +6 -5
  1028. package/script/client/2_business_connection_manager.d.ts.map +1 -1
  1029. package/script/client/2_business_connection_manager.js +8 -8
  1030. package/script/client/2_client_encrypted.d.ts +58 -0
  1031. package/script/client/2_client_encrypted.d.ts.map +1 -0
  1032. package/script/client/2_client_encrypted.js +294 -0
  1033. package/script/client/2_file_manager.d.ts +27 -7
  1034. package/script/client/2_file_manager.d.ts.map +1 -1
  1035. package/script/client/2_file_manager.js +236 -214
  1036. package/script/client/2_network_statistics_manager.d.ts +5 -5
  1037. package/script/client/2_network_statistics_manager.d.ts.map +1 -1
  1038. package/script/client/2_network_statistics_manager.js +36 -10
  1039. package/script/client/2_payment_manager.d.ts +8 -7
  1040. package/script/client/2_payment_manager.d.ts.map +1 -1
  1041. package/script/client/2_payment_manager.js +6 -6
  1042. package/script/client/2_reaction_manager.d.ts +6 -5
  1043. package/script/client/2_reaction_manager.d.ts.map +1 -1
  1044. package/script/client/2_reaction_manager.js +13 -13
  1045. package/script/client/2_sign_in.d.ts +25 -0
  1046. package/script/client/2_sign_in.d.ts.map +1 -0
  1047. package/script/client/2_sign_in.js +118 -0
  1048. package/script/client/2_translations_manager.d.ts +35 -0
  1049. package/script/client/2_translations_manager.d.ts.map +1 -0
  1050. package/script/client/2_translations_manager.js +175 -0
  1051. package/script/client/2_update_manager.d.ts +11 -8
  1052. package/script/client/2_update_manager.d.ts.map +1 -1
  1053. package/script/client/2_update_manager.js +351 -293
  1054. package/script/client/3_client_encrypted_pool.d.ts +29 -0
  1055. package/script/client/3_client_encrypted_pool.d.ts.map +1 -0
  1056. package/script/client/3_client_encrypted_pool.js +67 -0
  1057. package/script/client/3_filters.d.ts +96 -0
  1058. package/script/client/3_filters.d.ts.map +1 -0
  1059. package/script/client/3_filters.js +55 -0
  1060. package/script/client/3_message_manager.d.ts +30 -35
  1061. package/script/client/3_message_manager.d.ts.map +1 -1
  1062. package/script/client/3_message_manager.js +785 -487
  1063. package/script/client/3_video_chat_manager.d.ts +11 -10
  1064. package/script/client/3_video_chat_manager.d.ts.map +1 -1
  1065. package/script/client/3_video_chat_manager.js +46 -43
  1066. package/script/client/4_callback_query_manager.d.ts +9 -8
  1067. package/script/client/4_callback_query_manager.d.ts.map +1 -1
  1068. package/script/client/4_callback_query_manager.js +13 -12
  1069. package/script/client/4_chat_list_manager.d.ts +20 -11
  1070. package/script/client/4_chat_list_manager.d.ts.map +1 -1
  1071. package/script/client/4_chat_list_manager.js +141 -365
  1072. package/script/client/4_chat_manager.d.ts +86 -0
  1073. package/script/client/4_chat_manager.d.ts.map +1 -0
  1074. package/script/client/4_chat_manager.js +490 -0
  1075. package/script/client/4_checklist_manager.d.ts +38 -0
  1076. package/script/client/4_checklist_manager.d.ts.map +1 -0
  1077. package/script/client/4_checklist_manager.js +85 -0
  1078. package/script/client/4_context.d.ts +691 -0
  1079. package/script/client/4_context.d.ts.map +1 -0
  1080. package/script/client/4_context.js +1425 -0
  1081. package/script/client/4_forum_manager.d.ts +40 -0
  1082. package/script/client/4_forum_manager.d.ts.map +1 -0
  1083. package/script/client/4_forum_manager.js +138 -0
  1084. package/script/client/4_gift_manager.d.ts +39 -0
  1085. package/script/client/4_gift_manager.d.ts.map +1 -0
  1086. package/script/client/4_gift_manager.js +101 -0
  1087. package/script/client/4_inline_query_manager.d.ts +10 -9
  1088. package/script/client/4_inline_query_manager.d.ts.map +1 -1
  1089. package/script/client/4_inline_query_manager.js +13 -13
  1090. package/script/client/4_link_preview_manager.d.ts +39 -0
  1091. package/script/client/4_link_preview_manager.d.ts.map +1 -0
  1092. package/script/client/4_link_preview_manager.js +68 -0
  1093. package/script/client/4_poll_manager.d.ts +39 -0
  1094. package/script/client/4_poll_manager.d.ts.map +1 -0
  1095. package/script/client/4_poll_manager.js +122 -0
  1096. package/script/client/4_story_manager.d.ts +11 -10
  1097. package/script/client/4_story_manager.d.ts.map +1 -1
  1098. package/script/client/4_story_manager.js +20 -20
  1099. package/script/client/5_composer.d.ts +51 -0
  1100. package/script/client/5_composer.d.ts.map +1 -0
  1101. package/script/client/5_composer.js +126 -0
  1102. package/script/client/6_client.d.ts +1952 -0
  1103. package/script/client/6_client.d.ts.map +1 -0
  1104. package/script/client/6_client.js +3444 -0
  1105. package/script/client/6_client_dispatcher.d.ts +1917 -0
  1106. package/script/client/6_client_dispatcher.d.ts.map +1 -0
  1107. package/script/client/6_client_dispatcher.js +2497 -0
  1108. package/script/client/7_client_worker.d.ts +27 -0
  1109. package/script/client/7_client_worker.d.ts.map +1 -0
  1110. package/script/client/7_client_worker.js +93 -0
  1111. package/script/connection/0_connection.d.ts +9 -8
  1112. package/script/connection/0_connection.d.ts.map +1 -1
  1113. package/script/connection/0_connection.js +1 -1
  1114. package/script/connection/1_connection_tcp.d.ts +4 -5
  1115. package/script/connection/1_connection_tcp.d.ts.map +1 -1
  1116. package/script/connection/1_connection_tcp.js +28 -52
  1117. package/script/connection/1_connection_web_socket.d.ts +3 -3
  1118. package/script/connection/1_connection_web_socket.d.ts.map +1 -1
  1119. package/script/connection/1_connection_web_socket.js +10 -13
  1120. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.d.ts +18 -0
  1121. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.d.ts.map +1 -0
  1122. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.js +71 -0
  1123. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.d.ts +3 -0
  1124. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.d.ts.map +1 -0
  1125. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.js +303 -0
  1126. package/script/deps/jsr.io/@std/assert/1.0.19/assert.d.ts +17 -0
  1127. package/script/deps/jsr.io/@std/assert/1.0.19/assert.d.ts.map +1 -0
  1128. package/script/deps/jsr.io/@std/assert/1.0.19/assert.js +26 -0
  1129. package/script/deps/jsr.io/@std/assert/1.0.19/assertion_error.d.ts.map +1 -0
  1130. package/script/deps/jsr.io/@std/assert/1.0.19/assertion_error.js +34 -0
  1131. package/script/deps/jsr.io/@std/assert/1.0.19/equal.d.ts +25 -0
  1132. package/script/deps/jsr.io/@std/assert/1.0.19/equal.d.ts.map +1 -0
  1133. package/script/deps/jsr.io/@std/assert/1.0.19/equal.js +230 -0
  1134. package/script/deps/jsr.io/@std/assert/1.0.19/equals.d.ts +37 -0
  1135. package/script/deps/jsr.io/@std/assert/1.0.19/equals.d.ts.map +1 -0
  1136. package/script/deps/jsr.io/@std/assert/1.0.19/equals.js +64 -0
  1137. package/script/deps/jsr.io/@std/assert/1.0.19/false.d.ts +19 -0
  1138. package/script/deps/jsr.io/@std/assert/1.0.19/false.d.ts.map +1 -0
  1139. package/script/deps/jsr.io/@std/assert/1.0.19/false.js +26 -0
  1140. package/script/deps/jsr.io/@std/assert/1.0.19/unreachable.d.ts.map +1 -0
  1141. package/script/deps/jsr.io/@std/assert/1.0.19/unreachable.js +23 -0
  1142. package/script/deps/jsr.io/@std/async/1.2.0/_util.d.ts +2 -0
  1143. package/script/deps/jsr.io/@std/async/1.2.0/_util.d.ts.map +1 -0
  1144. package/script/deps/jsr.io/@std/async/1.2.0/_util.js +9 -0
  1145. package/script/deps/jsr.io/@std/async/1.2.0/abortable.d.ts +107 -0
  1146. package/script/deps/jsr.io/@std/async/1.2.0/abortable.d.ts.map +1 -0
  1147. package/script/deps/jsr.io/@std/async/1.2.0/abortable.js +49 -0
  1148. package/script/deps/jsr.io/@std/async/1.2.0/deadline.d.ts +37 -0
  1149. package/script/deps/jsr.io/@std/async/1.2.0/deadline.d.ts.map +1 -0
  1150. package/script/deps/jsr.io/@std/async/1.2.0/deadline.js +44 -0
  1151. package/script/deps/jsr.io/@std/async/1.2.0/debounce.d.ts +44 -0
  1152. package/script/deps/jsr.io/@std/async/1.2.0/debounce.d.ts.map +1 -0
  1153. package/script/deps/jsr.io/@std/async/1.2.0/debounce.js +60 -0
  1154. package/script/deps/jsr.io/@std/async/1.2.0/delay.d.ts +45 -0
  1155. package/script/deps/jsr.io/@std/async/1.2.0/delay.d.ts.map +1 -0
  1156. package/script/deps/jsr.io/@std/async/1.2.0/delay.js +87 -0
  1157. package/script/deps/jsr.io/@std/async/1.2.0/mod.d.ts +22 -0
  1158. package/script/deps/jsr.io/@std/async/1.2.0/mod.d.ts.map +1 -0
  1159. package/script/deps/jsr.io/@std/async/1.2.0/mod.js +39 -0
  1160. package/script/deps/jsr.io/@std/async/1.2.0/mux_async_iterator.d.ts +111 -0
  1161. package/script/deps/jsr.io/@std/async/1.2.0/mux_async_iterator.d.ts.map +1 -0
  1162. package/script/deps/jsr.io/@std/async/1.2.0/mux_async_iterator.js +174 -0
  1163. package/script/deps/jsr.io/@std/async/1.2.0/pool.d.ts +33 -0
  1164. package/script/deps/jsr.io/@std/async/1.2.0/pool.d.ts.map +1 -0
  1165. package/script/deps/jsr.io/@std/async/1.2.0/pool.js +102 -0
  1166. package/script/deps/jsr.io/@std/async/1.2.0/retry.d.ts +155 -0
  1167. package/script/deps/jsr.io/@std/async/1.2.0/retry.d.ts.map +1 -0
  1168. package/script/deps/jsr.io/@std/async/1.2.0/retry.js +152 -0
  1169. package/script/deps/jsr.io/@std/async/1.2.0/tee.d.ts +43 -0
  1170. package/script/deps/jsr.io/@std/async/1.2.0/tee.d.ts.map +1 -0
  1171. package/script/deps/jsr.io/@std/async/1.2.0/tee.js +105 -0
  1172. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +9 -0
  1173. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
  1174. package/script/deps/jsr.io/@std/bytes/1.0.6/_types.js +3 -0
  1175. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +21 -0
  1176. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
  1177. package/script/deps/jsr.io/@std/bytes/1.0.6/concat.js +35 -0
  1178. package/script/deps/jsr.io/@std/bytes/1.0.6/equals.d.ts +22 -0
  1179. package/script/deps/jsr.io/@std/bytes/1.0.6/equals.d.ts.map +1 -0
  1180. package/script/deps/jsr.io/@std/bytes/1.0.6/equals.js +85 -0
  1181. package/script/deps/jsr.io/@std/bytes/1.0.6/starts_with.d.ts +24 -0
  1182. package/script/deps/jsr.io/@std/bytes/1.0.6/starts_with.d.ts.map +1 -0
  1183. package/script/deps/jsr.io/@std/bytes/1.0.6/starts_with.js +37 -0
  1184. package/script/deps/jsr.io/@std/cache/0.2.2/_serialize_arg_list.d.ts +12 -0
  1185. package/script/deps/jsr.io/@std/cache/0.2.2/_serialize_arg_list.d.ts.map +1 -0
  1186. package/script/deps/jsr.io/@std/cache/0.2.2/_serialize_arg_list.js +72 -0
  1187. package/script/deps/jsr.io/@std/cache/0.2.2/lru_cache.d.ts +155 -0
  1188. package/script/deps/jsr.io/@std/cache/0.2.2/lru_cache.d.ts.map +1 -0
  1189. package/script/deps/jsr.io/@std/cache/0.2.2/lru_cache.js +209 -0
  1190. package/script/deps/jsr.io/@std/cache/0.2.2/memoize.d.ts +111 -0
  1191. package/script/deps/jsr.io/@std/cache/0.2.2/memoize.d.ts.map +1 -0
  1192. package/script/deps/jsr.io/@std/cache/0.2.2/memoize.js +85 -0
  1193. package/script/deps/jsr.io/@std/datetime/0.225.7/_date_time_formatter.d.ts +19 -0
  1194. package/script/deps/jsr.io/@std/datetime/0.225.7/_date_time_formatter.d.ts.map +1 -0
  1195. package/script/deps/jsr.io/@std/datetime/0.225.7/_date_time_formatter.js +554 -0
  1196. package/script/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts +265 -0
  1197. package/script/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts.map +1 -0
  1198. package/script/deps/jsr.io/@std/datetime/0.225.7/constants.js +269 -0
  1199. package/script/deps/jsr.io/@std/datetime/0.225.7/format.d.ts +70 -0
  1200. package/script/deps/jsr.io/@std/datetime/0.225.7/format.d.ts.map +1 -0
  1201. package/script/deps/jsr.io/@std/datetime/0.225.7/format.js +69 -0
  1202. package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts +23 -0
  1203. package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts.map +1 -0
  1204. package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.js +57 -0
  1205. package/script/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts +35 -0
  1206. package/script/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts.map +1 -0
  1207. package/script/deps/jsr.io/@std/encoding/1.0.10/_common64.js +119 -0
  1208. package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts +4 -0
  1209. package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts.map +1 -0
  1210. package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.js +16 -0
  1211. package/script/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts +9 -0
  1212. package/script/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts.map +1 -0
  1213. package/script/deps/jsr.io/@std/encoding/1.0.10/_types.js +3 -0
  1214. package/script/deps/jsr.io/@std/encoding/1.0.10/base64.d.ts +40 -0
  1215. package/script/deps/jsr.io/@std/encoding/1.0.10/base64.d.ts.map +1 -0
  1216. package/script/deps/jsr.io/@std/encoding/1.0.10/base64.js +86 -0
  1217. package/script/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts +39 -0
  1218. package/script/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts.map +1 -0
  1219. package/script/deps/jsr.io/@std/encoding/1.0.10/hex.js +91 -0
  1220. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +2 -0
  1221. package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +1 -0
  1222. package/script/deps/jsr.io/@std/internal/1.0.12/_os.js +48 -0
  1223. package/script/deps/jsr.io/@std/internal/1.0.12/build_message.d.ts +80 -0
  1224. package/script/deps/jsr.io/@std/internal/1.0.12/build_message.d.ts.map +1 -0
  1225. package/script/deps/jsr.io/@std/internal/1.0.12/build_message.js +121 -0
  1226. package/script/deps/jsr.io/@std/internal/1.0.12/diff.d.ts.map +1 -0
  1227. package/script/deps/jsr.io/@std/internal/1.0.12/diff.js +283 -0
  1228. package/script/deps/jsr.io/@std/internal/1.0.12/diff_str.d.ts.map +1 -0
  1229. package/script/deps/jsr.io/@std/internal/1.0.12/diff_str.js +188 -0
  1230. package/script/deps/jsr.io/@std/internal/1.0.12/format.d.ts +29 -0
  1231. package/script/deps/jsr.io/@std/internal/1.0.12/format.d.ts.map +1 -0
  1232. package/script/deps/jsr.io/@std/internal/1.0.12/format.js +106 -0
  1233. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts +3 -0
  1234. package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +1 -0
  1235. package/script/deps/jsr.io/@std/internal/1.0.12/os.js +8 -0
  1236. package/script/deps/jsr.io/@std/internal/1.0.12/styles.d.ts.map +1 -0
  1237. package/script/deps/jsr.io/@std/internal/1.0.12/styles.js +252 -0
  1238. package/script/deps/jsr.io/@std/internal/1.0.12/types.d.ts +25 -0
  1239. package/script/deps/jsr.io/@std/internal/1.0.12/types.d.ts.map +1 -0
  1240. package/script/deps/jsr.io/@std/internal/1.0.12/types.js +4 -0
  1241. package/script/deps/jsr.io/@std/io/0.225.3/_constants.d.ts.map +1 -0
  1242. package/script/deps/jsr.io/@std/io/0.225.3/_constants.js +7 -0
  1243. package/script/deps/jsr.io/@std/io/0.225.3/iterate_reader.d.ts.map +1 -0
  1244. package/script/deps/jsr.io/@std/io/0.225.3/iterate_reader.js +100 -0
  1245. package/script/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +1 -0
  1246. package/script/deps/jsr.io/@std/io/0.225.3/types.js +18 -0
  1247. package/script/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +1 -0
  1248. package/script/deps/jsr.io/@std/path/1.1.4/_common/assert_path.js +10 -0
  1249. package/script/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts.map +1 -0
  1250. package/script/deps/jsr.io/@std/path/1.1.4/_common/basename.js +45 -0
  1251. package/script/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +1 -0
  1252. package/script/deps/jsr.io/@std/path/1.1.4/_common/constants.js +49 -0
  1253. package/script/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts +2 -0
  1254. package/script/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +1 -0
  1255. package/script/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.js +12 -0
  1256. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +1 -0
  1257. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize.js +11 -0
  1258. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +1 -0
  1259. package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.js +80 -0
  1260. package/script/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts.map +1 -0
  1261. package/script/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.js +22 -0
  1262. package/script/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts.map +1 -0
  1263. package/script/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.js +18 -0
  1264. package/script/deps/jsr.io/@std/path/1.1.4/basename.d.ts +27 -0
  1265. package/script/deps/jsr.io/@std/path/1.1.4/basename.d.ts.map +1 -0
  1266. package/script/deps/jsr.io/@std/path/1.1.4/basename.js +38 -0
  1267. package/script/deps/jsr.io/@std/path/1.1.4/extname.d.ts +22 -0
  1268. package/script/deps/jsr.io/@std/path/1.1.4/extname.d.ts.map +1 -0
  1269. package/script/deps/jsr.io/@std/path/1.1.4/extname.js +31 -0
  1270. package/script/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts.map +1 -0
  1271. package/script/deps/jsr.io/@std/path/1.1.4/is_absolute.js +31 -0
  1272. package/script/deps/jsr.io/@std/path/1.1.4/join.d.ts +23 -0
  1273. package/script/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +1 -0
  1274. package/script/deps/jsr.io/@std/path/1.1.4/join.js +32 -0
  1275. package/script/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +1 -0
  1276. package/script/deps/jsr.io/@std/path/1.1.4/posix/_util.js +11 -0
  1277. package/script/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts +39 -0
  1278. package/script/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts.map +1 -0
  1279. package/script/deps/jsr.io/@std/path/1.1.4/posix/basename.js +55 -0
  1280. package/script/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts +37 -0
  1281. package/script/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts.map +1 -0
  1282. package/script/deps/jsr.io/@std/path/1.1.4/posix/extname.js +96 -0
  1283. package/script/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts +16 -0
  1284. package/script/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +1 -0
  1285. package/script/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.js +24 -0
  1286. package/script/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts.map +1 -0
  1287. package/script/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.js +26 -0
  1288. package/script/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts +31 -0
  1289. package/script/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +1 -0
  1290. package/script/deps/jsr.io/@std/path/1.1.4/posix/join.js +48 -0
  1291. package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts +37 -0
  1292. package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +1 -0
  1293. package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize.js +61 -0
  1294. package/script/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts.map +1 -0
  1295. package/script/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.js +30 -0
  1296. package/script/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts.map +1 -0
  1297. package/script/deps/jsr.io/@std/path/1.1.4/to_file_url.js +31 -0
  1298. package/script/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +1 -0
  1299. package/script/deps/jsr.io/@std/path/1.1.4/windows/_util.js +20 -0
  1300. package/script/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts +22 -0
  1301. package/script/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts.map +1 -0
  1302. package/script/deps/jsr.io/@std/path/1.1.4/windows/basename.js +50 -0
  1303. package/script/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts +17 -0
  1304. package/script/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts.map +1 -0
  1305. package/script/deps/jsr.io/@std/path/1.1.4/windows/extname.js +85 -0
  1306. package/script/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts +18 -0
  1307. package/script/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +1 -0
  1308. package/script/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.js +33 -0
  1309. package/script/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts.map +1 -0
  1310. package/script/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.js +41 -0
  1311. package/script/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts +18 -0
  1312. package/script/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +1 -0
  1313. package/script/deps/jsr.io/@std/path/1.1.4/windows/join.js +80 -0
  1314. package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts +19 -0
  1315. package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +1 -0
  1316. package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize.js +138 -0
  1317. package/script/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts.map +1 -0
  1318. package/script/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.js +37 -0
  1319. package/script/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.d.ts.map +1 -0
  1320. package/script/deps/jsr.io/@std/streams/1.0.17/to_array_buffer.js +38 -0
  1321. package/script/mod.d.ts +2 -2
  1322. package/script/mod.d.ts.map +1 -1
  1323. package/script/mod.js +19 -10
  1324. package/script/session/0_session_error.d.ts +24 -0
  1325. package/script/session/0_session_error.d.ts.map +1 -0
  1326. package/script/session/0_session_error.js +29 -0
  1327. package/script/session/0_session_state.d.ts +28 -0
  1328. package/script/session/0_session_state.d.ts.map +1 -0
  1329. package/script/session/0_session_state.js +81 -0
  1330. package/script/session/1_session.d.ts +51 -0
  1331. package/script/session/1_session.d.ts.map +1 -0
  1332. package/script/session/1_session.js +151 -0
  1333. package/script/session/2_session_encrypted.d.ts +41 -0
  1334. package/script/session/2_session_encrypted.d.ts.map +1 -0
  1335. package/script/session/2_session_encrypted.js +511 -0
  1336. package/script/session/2_session_plain.d.ts +25 -0
  1337. package/script/session/2_session_plain.d.ts.map +1 -0
  1338. package/script/session/2_session_plain.js +60 -0
  1339. package/script/storage/0_storage.d.ts +3 -2
  1340. package/script/storage/0_storage.d.ts.map +1 -1
  1341. package/script/storage/0_storage.js +1 -1
  1342. package/script/storage/1_utilities.d.ts +15 -11
  1343. package/script/storage/1_utilities.d.ts.map +1 -1
  1344. package/script/storage/1_utilities.js +47 -55
  1345. package/script/storage/2_storage_indexed_db.d.ts +3 -2
  1346. package/script/storage/2_storage_indexed_db.d.ts.map +1 -1
  1347. package/script/storage/2_storage_indexed_db.js +7 -4
  1348. package/script/storage/2_storage_local_storage.d.ts +3 -2
  1349. package/script/storage/2_storage_local_storage.d.ts.map +1 -1
  1350. package/script/storage/2_storage_local_storage.js +7 -4
  1351. package/script/storage/2_storage_memory.d.ts +4 -3
  1352. package/script/storage/2_storage_memory.d.ts.map +1 -1
  1353. package/script/storage/2_storage_memory.js +6 -3
  1354. package/script/storage/2_storage_session_storage.d.ts +4 -3
  1355. package/script/storage/2_storage_session_storage.d.ts.map +1 -1
  1356. package/script/storage/2_storage_session_storage.js +7 -4
  1357. package/script/tl/0_types.d.ts +25 -0
  1358. package/script/tl/0_types.d.ts.map +1 -0
  1359. package/script/tl/0_types.js +21 -0
  1360. package/script/tl/0_utilities.d.ts +34 -0
  1361. package/script/tl/0_utilities.d.ts.map +1 -0
  1362. package/script/tl/0_utilities.js +89 -0
  1363. package/script/tl/1_mtproto_api.d.ts +371 -0
  1364. package/script/tl/1_mtproto_api.d.ts.map +1 -0
  1365. package/script/tl/1_mtproto_api.js +419 -0
  1366. package/script/tl/1_telegram_api.d.ts +19410 -0
  1367. package/script/tl/1_telegram_api.d.ts.map +1 -0
  1368. package/script/tl/1_telegram_api.js +22389 -0
  1369. package/script/tl/1_tl_reader.d.ts +39 -0
  1370. package/script/tl/1_tl_reader.d.ts.map +1 -0
  1371. package/script/tl/1_tl_reader.js +232 -0
  1372. package/script/tl/1_tl_writer.d.ts +37 -0
  1373. package/script/tl/1_tl_writer.d.ts.map +1 -0
  1374. package/script/tl/1_tl_writer.js +282 -0
  1375. package/script/tl/1_utilities.d.ts +9 -14
  1376. package/script/tl/1_utilities.d.ts.map +1 -1
  1377. package/script/tl/1_utilities.js +23 -44
  1378. package/script/tl/2_message.d.ts +36 -0
  1379. package/script/tl/2_message.d.ts.map +1 -0
  1380. package/script/tl/2_message.js +80 -0
  1381. package/script/tl/2_mtproto.d.ts +33 -0
  1382. package/script/tl/2_mtproto.d.ts.map +1 -0
  1383. package/script/tl/2_mtproto.js +78 -0
  1384. package/script/tl/2_telegram.d.ts +49 -0
  1385. package/script/tl/2_telegram.d.ts.map +1 -0
  1386. package/script/tl/2_telegram.js +189 -0
  1387. package/script/transport/0_obfuscation.d.ts +2 -2
  1388. package/script/transport/0_obfuscation.d.ts.map +1 -1
  1389. package/script/transport/0_obfuscation.js +9 -8
  1390. package/script/transport/0_transport.d.ts +4 -6
  1391. package/script/transport/0_transport.d.ts.map +1 -1
  1392. package/script/transport/0_transport.js +10 -11
  1393. package/script/transport/1_transport_abridged.d.ts +2 -4
  1394. package/script/transport/1_transport_abridged.d.ts.map +1 -1
  1395. package/script/transport/1_transport_abridged.js +16 -33
  1396. package/script/transport/1_transport_intermediate.d.ts +2 -4
  1397. package/script/transport/1_transport_intermediate.d.ts.map +1 -1
  1398. package/script/transport/1_transport_intermediate.js +11 -30
  1399. package/script/transport/1_transport_provider.d.ts +35 -0
  1400. package/script/transport/1_transport_provider.d.ts.map +1 -0
  1401. package/script/transport/1_transport_provider.js +86 -0
  1402. package/script/transport/2_transport_provider_tcp.d.ts +25 -0
  1403. package/script/transport/2_transport_provider_tcp.d.ts.map +1 -0
  1404. package/script/transport/2_transport_provider_tcp.js +32 -0
  1405. package/script/transport/2_transport_provider_web_socket.d.ts +24 -0
  1406. package/script/transport/2_transport_provider_web_socket.d.ts.map +1 -0
  1407. package/script/transport/2_transport_provider_web_socket.js +47 -0
  1408. package/script/types/0_authorization_state.d.ts +2 -2
  1409. package/script/types/0_authorization_state.d.ts.map +1 -1
  1410. package/script/types/0_authorization_state.js +1 -1
  1411. package/script/types/0_birthday.d.ts +3 -2
  1412. package/script/types/0_birthday.d.ts.map +1 -1
  1413. package/script/types/0_birthday.js +10 -1
  1414. package/script/types/0_bot_command.d.ts +1 -1
  1415. package/script/types/0_bot_command.js +1 -1
  1416. package/script/types/0_bot_token_check_result.d.ts +31 -0
  1417. package/script/types/0_bot_token_check_result.d.ts.map +1 -0
  1418. package/script/types/0_bot_token_check_result.js +21 -0
  1419. package/script/types/0_button_style.d.ts +28 -0
  1420. package/script/types/0_button_style.d.ts.map +1 -0
  1421. package/script/types/0_button_style.js +40 -0
  1422. package/script/types/0_callback_query_answer.d.ts +3 -3
  1423. package/script/types/0_callback_query_answer.d.ts.map +1 -1
  1424. package/script/types/0_callback_query_answer.js +2 -2
  1425. package/script/types/0_callback_query_question.d.ts +1 -1
  1426. package/script/types/0_callback_query_question.js +3 -3
  1427. package/script/types/0_chat_action.d.ts +1 -1
  1428. package/script/types/0_chat_action.js +1 -1
  1429. package/script/types/0_chat_administrator_rights.d.ts +17 -7
  1430. package/script/types/0_chat_administrator_rights.d.ts.map +1 -1
  1431. package/script/types/0_chat_administrator_rights.js +31 -16
  1432. package/script/types/0_chat_folder.d.ts +29 -0
  1433. package/script/types/0_chat_folder.d.ts.map +1 -0
  1434. package/script/types/0_chat_folder.js +28 -0
  1435. package/script/types/0_chat_member_rights.d.ts +3 -3
  1436. package/script/types/0_chat_member_rights.d.ts.map +1 -1
  1437. package/script/types/0_chat_member_rights.js +20 -20
  1438. package/script/types/0_chat_photo.d.ts +2 -2
  1439. package/script/types/0_chat_photo.d.ts.map +1 -1
  1440. package/script/types/0_chat_photo.js +4 -4
  1441. package/script/types/0_checklist_changed.d.ts +29 -0
  1442. package/script/types/0_checklist_changed.d.ts.map +1 -0
  1443. package/script/types/0_checklist_changed.js +28 -0
  1444. package/script/types/0_code_check_result.d.ts +47 -0
  1445. package/script/types/0_code_check_result.d.ts.map +1 -0
  1446. package/script/types/0_code_check_result.js +21 -0
  1447. package/script/types/0_connection_state.d.ts +1 -1
  1448. package/script/types/0_connection_state.js +1 -1
  1449. package/script/types/0_contact.d.ts +2 -2
  1450. package/script/types/0_contact.d.ts.map +1 -1
  1451. package/script/types/0_contact.js +1 -1
  1452. package/script/types/0_dice.d.ts +2 -2
  1453. package/script/types/0_dice.d.ts.map +1 -1
  1454. package/script/types/0_dice.js +1 -1
  1455. package/script/types/0_emoji_status.d.ts +48 -0
  1456. package/script/types/0_emoji_status.d.ts.map +1 -0
  1457. package/script/types/0_emoji_status.js +36 -0
  1458. package/script/types/0_failed_invitation.d.ts +8 -4
  1459. package/script/types/0_failed_invitation.d.ts.map +1 -1
  1460. package/script/types/0_failed_invitation.js +3 -3
  1461. package/script/types/0_file_source.d.ts +2 -2
  1462. package/script/types/0_file_source.d.ts.map +1 -1
  1463. package/script/types/0_file_source.js +1 -1
  1464. package/script/types/0_gift_component_rarity.d.ts +50 -0
  1465. package/script/types/0_gift_component_rarity.d.ts.map +1 -0
  1466. package/script/types/0_gift_component_rarity.js +46 -0
  1467. package/script/types/0_gift_value.d.ts +25 -0
  1468. package/script/types/0_gift_value.d.ts.map +1 -0
  1469. package/script/types/0_gift_value.js +21 -0
  1470. package/script/types/0_giveaway_parameters.d.ts +2 -2
  1471. package/script/types/0_giveaway_parameters.d.ts.map +1 -1
  1472. package/script/types/0_giveaway_parameters.js +4 -5
  1473. package/script/types/0_id.d.ts +1 -1
  1474. package/script/types/0_id.js +1 -1
  1475. package/script/types/0_input_emoji_status.d.ts +36 -0
  1476. package/script/types/0_input_emoji_status.d.ts.map +1 -0
  1477. package/script/types/0_input_emoji_status.js +21 -0
  1478. package/script/types/0_invoice.d.ts +3 -2
  1479. package/script/types/0_invoice.d.ts.map +1 -1
  1480. package/script/types/0_invoice.js +1 -1
  1481. package/script/types/0_keyboard_button_poll_type.d.ts +1 -1
  1482. package/script/types/0_keyboard_button_poll_type.js +1 -1
  1483. package/script/types/0_link_preview_media_size.d.ts +22 -0
  1484. package/script/types/0_link_preview_media_size.d.ts.map +1 -0
  1485. package/script/types/0_link_preview_media_size.js +21 -0
  1486. package/script/types/0_live_stream_channel.d.ts +2 -2
  1487. package/script/types/0_live_stream_channel.d.ts.map +1 -1
  1488. package/script/types/0_live_stream_channel.js +1 -1
  1489. package/script/types/0_location.d.ts +1 -1
  1490. package/script/types/0_location.d.ts.map +1 -1
  1491. package/script/types/0_location.js +5 -5
  1492. package/script/types/0_login_url.d.ts +1 -1
  1493. package/script/types/0_login_url.js +1 -1
  1494. package/script/types/0_mask_position.d.ts +2 -2
  1495. package/script/types/0_mask_position.d.ts.map +1 -1
  1496. package/script/types/0_mask_position.js +2 -2
  1497. package/script/types/0_message_reference.d.ts +1 -1
  1498. package/script/types/0_message_reference.js +1 -1
  1499. package/script/types/0_message_search_filter.d.ts +3 -2
  1500. package/script/types/0_message_search_filter.d.ts.map +1 -1
  1501. package/script/types/0_message_search_filter.js +1 -1
  1502. package/script/types/0_mini_app_button_info.d.ts +26 -0
  1503. package/script/types/0_mini_app_button_info.d.ts.map +1 -0
  1504. package/script/types/0_mini_app_button_info.js +25 -0
  1505. package/script/types/0_mini_app_mode.d.ts +22 -0
  1506. package/script/types/0_mini_app_mode.d.ts.map +1 -0
  1507. package/script/types/0_mini_app_mode.js +21 -0
  1508. package/script/types/0_network_statistics_entry.d.ts +1 -1
  1509. package/script/types/0_network_statistics_entry.js +1 -1
  1510. package/script/types/0_parse_mode.d.ts +1 -1
  1511. package/script/types/0_parse_mode.js +1 -1
  1512. package/script/types/0_password_check_result.d.ts +39 -0
  1513. package/script/types/0_password_check_result.d.ts.map +1 -0
  1514. package/script/types/0_password_check_result.js +21 -0
  1515. package/script/types/0_price_tag.d.ts +1 -1
  1516. package/script/types/0_price_tag.js +1 -1
  1517. package/script/types/0_reaction.d.ts +4 -1
  1518. package/script/types/0_reaction.d.ts.map +1 -1
  1519. package/script/types/0_reaction.js +9 -9
  1520. package/script/types/0_refunded_payment.d.ts +2 -2
  1521. package/script/types/0_refunded_payment.d.ts.map +1 -1
  1522. package/script/types/0_refunded_payment.js +2 -2
  1523. package/script/types/0_restriction_reason.d.ts +2 -2
  1524. package/script/types/0_restriction_reason.d.ts.map +1 -1
  1525. package/script/types/0_restriction_reason.js +1 -1
  1526. package/script/types/0_self_destruct_option.d.ts +11 -3
  1527. package/script/types/0_self_destruct_option.d.ts.map +1 -1
  1528. package/script/types/0_self_destruct_option.js +13 -3
  1529. package/script/types/0_shipping_address.d.ts +2 -2
  1530. package/script/types/0_shipping_address.d.ts.map +1 -1
  1531. package/script/types/0_shipping_address.js +1 -1
  1532. package/script/types/0_slow_mode_duration.d.ts +23 -0
  1533. package/script/types/0_slow_mode_duration.d.ts.map +1 -0
  1534. package/script/types/0_slow_mode_duration.js +31 -0
  1535. package/script/types/0_story_reference.d.ts +1 -1
  1536. package/script/types/0_story_reference.js +1 -1
  1537. package/script/types/0_switch_inline_query_chosen_chats.d.ts +20 -0
  1538. package/script/types/0_switch_inline_query_chosen_chats.d.ts.map +1 -1
  1539. package/script/types/0_switch_inline_query_chosen_chats.js +19 -0
  1540. package/script/types/0_thumbnail.d.ts +1 -1
  1541. package/script/types/0_thumbnail.d.ts.map +1 -1
  1542. package/script/types/0_thumbnail.js +3 -3
  1543. package/script/types/0_translation.d.ts +32 -0
  1544. package/script/types/0_translation.d.ts.map +1 -0
  1545. package/script/types/0_translation.js +48 -0
  1546. package/script/types/0_upload_progress.d.ts +29 -0
  1547. package/script/types/0_upload_progress.d.ts.map +1 -0
  1548. package/script/types/0_upload_progress.js +21 -0
  1549. package/script/types/0_user_status.d.ts +66 -0
  1550. package/script/types/0_user_status.d.ts.map +1 -0
  1551. package/script/types/0_user_status.js +38 -0
  1552. package/script/types/0_video_chat.d.ts +8 -4
  1553. package/script/types/0_video_chat.d.ts.map +1 -1
  1554. package/script/types/0_video_chat.js +6 -7
  1555. package/script/types/0_voice.d.ts +2 -2
  1556. package/script/types/0_voice.d.ts.map +1 -1
  1557. package/script/types/0_voice.js +1 -1
  1558. package/script/types/0_voice_transcription.d.ts +31 -0
  1559. package/script/types/0_voice_transcription.d.ts.map +1 -0
  1560. package/script/types/0_voice_transcription.js +29 -0
  1561. package/script/types/0_working_hours_interval.d.ts +27 -0
  1562. package/script/types/0_working_hours_interval.d.ts.map +1 -0
  1563. package/script/types/0_working_hours_interval.js +21 -0
  1564. package/script/types/1_animation.d.ts +2 -2
  1565. package/script/types/1_animation.d.ts.map +1 -1
  1566. package/script/types/1_animation.js +2 -2
  1567. package/script/types/1_audio.d.ts +2 -2
  1568. package/script/types/1_audio.d.ts.map +1 -1
  1569. package/script/types/1_audio.js +2 -2
  1570. package/script/types/1_bot_command_scope.d.ts +3 -3
  1571. package/script/types/1_bot_command_scope.d.ts.map +1 -1
  1572. package/script/types/1_bot_command_scope.js +3 -3
  1573. package/script/types/1_bot_commands.d.ts +30 -0
  1574. package/script/types/1_bot_commands.d.ts.map +1 -0
  1575. package/script/types/1_bot_commands.js +21 -0
  1576. package/script/types/1_chat_p.d.ts +36 -7
  1577. package/script/types/1_chat_p.d.ts.map +1 -1
  1578. package/script/types/1_chat_p.js +43 -16
  1579. package/script/types/1_document.d.ts +2 -2
  1580. package/script/types/1_document.d.ts.map +1 -1
  1581. package/script/types/1_document.js +2 -2
  1582. package/script/types/1_giveaway.d.ts +3 -3
  1583. package/script/types/1_giveaway.d.ts.map +1 -1
  1584. package/script/types/1_giveaway.js +1 -1
  1585. package/script/types/1_inline_keyboard_button.d.ts +140 -0
  1586. package/script/types/1_inline_keyboard_button.d.ts.map +1 -0
  1587. package/script/types/1_inline_keyboard_button.js +132 -0
  1588. package/script/types/1_inline_query_result_button.d.ts +3 -3
  1589. package/script/types/1_inline_query_result_button.d.ts.map +1 -1
  1590. package/script/types/1_inline_query_result_button.js +1 -1
  1591. package/script/types/1_input_gift.d.ts +54 -0
  1592. package/script/types/1_input_gift.d.ts.map +1 -0
  1593. package/script/types/1_input_gift.js +35 -0
  1594. package/script/types/1_input_story_content.d.ts +3 -3
  1595. package/script/types/1_input_story_content.d.ts.map +1 -1
  1596. package/script/types/1_input_story_content.js +1 -1
  1597. package/script/types/1_keyboard_button.d.ts +14 -12
  1598. package/script/types/1_keyboard_button.d.ts.map +1 -1
  1599. package/script/types/1_keyboard_button.js +86 -33
  1600. package/script/types/1_message_reaction.d.ts +3 -3
  1601. package/script/types/1_message_reaction.d.ts.map +1 -1
  1602. package/script/types/1_message_reaction.js +7 -7
  1603. package/script/types/1_mini_app_info.d.ts +32 -0
  1604. package/script/types/1_mini_app_info.d.ts.map +1 -0
  1605. package/script/types/1_mini_app_info.js +30 -0
  1606. package/script/types/1_network_statistics.d.ts +2 -2
  1607. package/script/types/1_network_statistics.d.ts.map +1 -1
  1608. package/script/types/1_network_statistics.js +1 -1
  1609. package/script/types/1_order_info.d.ts +8 -3
  1610. package/script/types/1_order_info.d.ts.map +1 -1
  1611. package/script/types/1_order_info.js +1 -1
  1612. package/script/types/1_photo.d.ts +2 -2
  1613. package/script/types/1_photo.d.ts.map +1 -1
  1614. package/script/types/1_photo.js +3 -3
  1615. package/script/types/1_reaction_count.d.ts +3 -3
  1616. package/script/types/1_reaction_count.d.ts.map +1 -1
  1617. package/script/types/1_reaction_count.js +1 -1
  1618. package/script/types/1_sticker.d.ts +6 -5
  1619. package/script/types/1_sticker.d.ts.map +1 -1
  1620. package/script/types/1_sticker.js +15 -10
  1621. package/script/types/1_story_reaction.d.ts +4 -4
  1622. package/script/types/1_story_reaction.d.ts.map +1 -1
  1623. package/script/types/1_story_reaction.js +2 -2
  1624. package/script/types/1_venue.d.ts +2 -2
  1625. package/script/types/1_venue.d.ts.map +1 -1
  1626. package/script/types/1_venue.js +2 -2
  1627. package/script/types/1_video.d.ts +2 -2
  1628. package/script/types/1_video.d.ts.map +1 -1
  1629. package/script/types/1_video.js +2 -2
  1630. package/script/types/1_video_note.d.ts +2 -2
  1631. package/script/types/1_video_note.d.ts.map +1 -1
  1632. package/script/types/1_video_note.js +2 -2
  1633. package/script/types/1_working_hours.d.ts +31 -0
  1634. package/script/types/1_working_hours.d.ts.map +1 -0
  1635. package/script/types/1_working_hours.js +37 -0
  1636. package/script/types/2_chat.d.ts +14 -17
  1637. package/script/types/2_chat.d.ts.map +1 -1
  1638. package/script/types/2_chat.js +22 -27
  1639. package/script/types/2_chat_member.d.ts +72 -15
  1640. package/script/types/2_chat_member.d.ts.map +1 -1
  1641. package/script/types/2_chat_member.js +38 -26
  1642. package/script/types/2_inactive_chat.d.ts +3 -3
  1643. package/script/types/2_inactive_chat.d.ts.map +1 -1
  1644. package/script/types/2_inactive_chat.js +3 -4
  1645. package/script/types/2_message_entity.d.ts +148 -0
  1646. package/script/types/2_message_entity.d.ts.map +1 -0
  1647. package/script/types/2_message_entity.js +248 -0
  1648. package/script/types/2_message_interactions.d.ts +2 -2
  1649. package/script/types/2_message_interactions.d.ts.map +1 -1
  1650. package/script/types/2_message_interactions.js +1 -1
  1651. package/script/types/2_message_reaction_count.d.ts +6 -7
  1652. package/script/types/2_message_reaction_count.d.ts.map +1 -1
  1653. package/script/types/2_message_reaction_count.js +6 -9
  1654. package/script/types/2_message_reaction_list_item.d.ts +39 -0
  1655. package/script/types/2_message_reaction_list_item.d.ts.map +1 -0
  1656. package/script/types/2_message_reaction_list_item.js +53 -0
  1657. package/script/types/2_poll_answer.d.ts +32 -0
  1658. package/script/types/2_poll_answer.d.ts.map +1 -0
  1659. package/script/types/2_poll_answer.js +38 -0
  1660. package/script/types/2_reply_markup.d.ts +71 -0
  1661. package/script/types/2_reply_markup.d.ts.map +1 -0
  1662. package/script/types/2_reply_markup.js +131 -0
  1663. package/script/types/2_sticker_set.d.ts +51 -0
  1664. package/script/types/2_sticker_set.d.ts.map +1 -0
  1665. package/script/types/2_sticker_set.js +94 -0
  1666. package/script/types/2_story_content.d.ts +3 -3
  1667. package/script/types/2_story_content.d.ts.map +1 -1
  1668. package/script/types/2_story_content.js +6 -6
  1669. package/script/types/2_story_interactions.d.ts +3 -3
  1670. package/script/types/2_story_interactions.d.ts.map +1 -1
  1671. package/script/types/2_story_interactions.js +1 -1
  1672. package/script/types/2_story_interactive_area.d.ts +9 -9
  1673. package/script/types/2_story_interactive_area.d.ts.map +1 -1
  1674. package/script/types/2_story_interactive_area.js +15 -14
  1675. package/script/types/2_story_privacy.d.ts +46 -0
  1676. package/script/types/2_story_privacy.d.ts.map +1 -0
  1677. package/script/types/2_story_privacy.js +80 -0
  1678. package/script/types/2_successful_payment.d.ts +11 -3
  1679. package/script/types/2_successful_payment.d.ts.map +1 -1
  1680. package/script/types/2_successful_payment.js +2 -2
  1681. package/script/types/2_user.d.ts +73 -0
  1682. package/script/types/2_user.d.ts.map +1 -0
  1683. package/script/types/2_user.js +86 -0
  1684. package/script/types/3_business_connection.d.ts +37 -0
  1685. package/script/types/3_business_connection.d.ts.map +1 -0
  1686. package/script/types/3_business_connection.js +39 -0
  1687. package/script/types/3_chat_settings.d.ts +47 -0
  1688. package/script/types/3_chat_settings.d.ts.map +1 -0
  1689. package/script/types/3_chat_settings.js +54 -0
  1690. package/script/types/3_checklist_item.d.ts +65 -0
  1691. package/script/types/3_checklist_item.d.ts.map +1 -0
  1692. package/script/types/3_checklist_item.js +54 -0
  1693. package/script/types/3_chosen_inline_result.d.ts +38 -0
  1694. package/script/types/3_chosen_inline_result.d.ts.map +1 -0
  1695. package/script/types/3_chosen_inline_result.js +40 -0
  1696. package/script/types/3_forward_header.d.ts +77 -0
  1697. package/script/types/3_forward_header.d.ts.map +1 -0
  1698. package/script/types/3_forward_header.js +76 -0
  1699. package/script/types/3_game.d.ts +40 -0
  1700. package/script/types/3_game.d.ts.map +1 -0
  1701. package/script/types/3_game.js +47 -0
  1702. package/script/types/3_gift_upgraded_component.d.ts +96 -0
  1703. package/script/types/3_gift_upgraded_component.d.ts.map +1 -0
  1704. package/script/types/3_gift_upgraded_component.js +91 -0
  1705. package/script/types/3_inline_query.d.ts +40 -0
  1706. package/script/types/3_inline_query.d.ts.map +1 -0
  1707. package/script/types/3_inline_query.js +63 -0
  1708. package/script/types/3_input_checklist_item.d.ts +31 -0
  1709. package/script/types/3_input_checklist_item.d.ts.map +1 -0
  1710. package/script/types/3_input_checklist_item.js +21 -0
  1711. package/script/types/3_input_media.d.ts +123 -0
  1712. package/script/types/3_input_media.d.ts.map +1 -0
  1713. package/script/types/3_input_media.js +21 -0
  1714. package/script/types/3_input_poll_option.d.ts +31 -0
  1715. package/script/types/3_input_poll_option.d.ts.map +1 -0
  1716. package/script/types/3_input_poll_option.js +21 -0
  1717. package/script/types/3_invite_link.d.ts +47 -0
  1718. package/script/types/3_invite_link.d.ts.map +1 -0
  1719. package/script/types/3_invite_link.js +51 -0
  1720. package/script/types/3_message_reaction_list.d.ts +32 -0
  1721. package/script/types/3_message_reaction_list.d.ts.map +1 -0
  1722. package/script/types/3_message_reaction_list.js +34 -0
  1723. package/script/types/3_message_reactions.d.ts +42 -0
  1724. package/script/types/3_message_reactions.d.ts.map +1 -0
  1725. package/script/types/3_message_reactions.js +57 -0
  1726. package/script/types/3_poll_option.d.ts +34 -0
  1727. package/script/types/3_poll_option.d.ts.map +1 -0
  1728. package/script/types/3_poll_option.js +32 -0
  1729. package/script/types/3_pre_checkout_query.d.ts +42 -0
  1730. package/script/types/3_pre_checkout_query.d.ts.map +1 -0
  1731. package/script/types/3_pre_checkout_query.js +42 -0
  1732. package/script/types/3_reply_quote.d.ts +32 -0
  1733. package/script/types/3_reply_quote.d.ts.map +1 -0
  1734. package/script/types/3_reply_quote.js +33 -0
  1735. package/script/types/3_story.d.ts +13 -14
  1736. package/script/types/3_story.d.ts.map +1 -1
  1737. package/script/types/3_story.js +14 -15
  1738. package/script/types/4_chat_member_updated.d.ts +43 -0
  1739. package/script/types/4_chat_member_updated.d.ts.map +1 -0
  1740. package/script/types/4_chat_member_updated.js +55 -0
  1741. package/script/types/4_checklist.d.ts +38 -0
  1742. package/script/types/4_checklist.d.ts.map +1 -0
  1743. package/script/types/4_checklist.js +34 -0
  1744. package/script/types/4_gift.d.ts +100 -0
  1745. package/script/types/4_gift.d.ts.map +1 -0
  1746. package/script/types/4_gift.js +117 -0
  1747. package/script/types/4_join_request.d.ts +39 -0
  1748. package/script/types/4_join_request.d.ts.map +1 -0
  1749. package/script/types/4_join_request.js +66 -0
  1750. package/script/types/4_poll.d.ts +55 -0
  1751. package/script/types/4_poll.d.ts.map +1 -0
  1752. package/script/types/4_poll.js +46 -0
  1753. package/script/types/4_reply_to.d.ts +51 -0
  1754. package/script/types/4_reply_to.d.ts.map +1 -0
  1755. package/script/types/4_reply_to.js +21 -0
  1756. package/script/types/5_claimed_gift.d.ts +44 -0
  1757. package/script/types/5_claimed_gift.d.ts.map +1 -0
  1758. package/script/types/5_claimed_gift.js +46 -0
  1759. package/script/types/5_gift_non_upgraded_information.d.ts +47 -0
  1760. package/script/types/5_gift_non_upgraded_information.d.ts.map +1 -0
  1761. package/script/types/5_gift_non_upgraded_information.js +72 -0
  1762. package/script/types/5_gift_upgraded_information.d.ts +41 -0
  1763. package/script/types/5_gift_upgraded_information.d.ts.map +1 -0
  1764. package/script/types/5_gift_upgraded_information.js +61 -0
  1765. package/script/types/5_link_preview.d.ts +186 -0
  1766. package/script/types/5_link_preview.d.ts.map +1 -0
  1767. package/script/types/5_link_preview.js +208 -0
  1768. package/script/types/6_claimed_gifts.d.ts +33 -0
  1769. package/script/types/6_claimed_gifts.d.ts.map +1 -0
  1770. package/script/types/6_claimed_gifts.js +46 -0
  1771. package/script/types/6_message.d.ts +704 -0
  1772. package/script/types/6_message.d.ts.map +1 -0
  1773. package/script/types/6_message.js +558 -0
  1774. package/script/types/6_message_content.d.ts +124 -0
  1775. package/script/types/6_message_content.d.ts.map +1 -0
  1776. package/script/types/6_message_content.js +21 -0
  1777. package/script/types/7_callback_query.d.ts +43 -0
  1778. package/script/types/7_callback_query.d.ts.map +1 -0
  1779. package/script/types/7_callback_query.js +63 -0
  1780. package/script/types/7_chat_list_item.d.ts +43 -0
  1781. package/script/types/7_chat_list_item.d.ts.map +1 -0
  1782. package/script/types/7_chat_list_item.js +60 -0
  1783. package/script/types/7_inline_query_result.d.ts +251 -0
  1784. package/script/types/7_inline_query_result.d.ts.map +1 -0
  1785. package/script/types/7_inline_query_result.js +384 -0
  1786. package/script/types/7_message_list.d.ts +28 -0
  1787. package/script/types/7_message_list.d.ts.map +1 -0
  1788. package/script/types/7_message_list.js +21 -0
  1789. package/script/types/7_saved_chat.d.ts +35 -0
  1790. package/script/types/7_saved_chat.d.ts.map +1 -0
  1791. package/script/types/7_saved_chat.js +45 -0
  1792. package/script/types/7_topic.d.ts +44 -0
  1793. package/script/types/7_topic.d.ts.map +1 -0
  1794. package/script/types/7_topic.js +64 -0
  1795. package/script/types/8_inline_query_answer.d.ts +32 -0
  1796. package/script/types/8_inline_query_answer.d.ts.map +1 -0
  1797. package/script/types/8_inline_query_answer.js +31 -0
  1798. package/script/types/8_saved_chats.d.ts +33 -0
  1799. package/script/types/8_saved_chats.d.ts.map +1 -0
  1800. package/script/types/8_saved_chats.js +39 -0
  1801. package/script/types/8_update.d.ts +583 -0
  1802. package/script/types/8_update.d.ts.map +1 -0
  1803. package/script/types/8_update.js +21 -0
  1804. package/script/types/_file_id.d.ts +64 -51
  1805. package/script/types/_file_id.d.ts.map +1 -1
  1806. package/script/types/_file_id.js +158 -139
  1807. package/script/types/_getters.d.ts +4 -11
  1808. package/script/types/_getters.d.ts.map +1 -1
  1809. package/script/types/_getters.js +1 -1
  1810. package/script/utilities/0_color.d.ts +1 -1
  1811. package/script/utilities/0_color.js +1 -1
  1812. package/script/utilities/0_env.d.ts.map +1 -1
  1813. package/script/utilities/0_env.js +37 -8
  1814. package/script/utilities/0_gzip.d.ts +22 -0
  1815. package/script/utilities/0_gzip.d.ts.map +1 -0
  1816. package/script/utilities/0_gzip.js +46 -0
  1817. package/script/utilities/0_hash.d.ts +3 -3
  1818. package/script/utilities/0_hash.d.ts.map +1 -1
  1819. package/script/utilities/0_hash.js +1 -1
  1820. package/script/utilities/0_int.d.ts +71 -0
  1821. package/script/utilities/0_int.d.ts.map +1 -0
  1822. package/script/utilities/0_int.js +149 -0
  1823. package/script/utilities/0_misc.d.ts +29 -0
  1824. package/script/utilities/0_misc.d.ts.map +1 -0
  1825. package/script/utilities/0_misc.js +95 -0
  1826. package/script/utilities/0_mutex.d.ts +1 -1
  1827. package/script/utilities/0_mutex.js +1 -1
  1828. package/script/utilities/0_object.d.ts +1 -1
  1829. package/script/utilities/0_object.js +1 -1
  1830. package/script/utilities/0_part_stream.d.ts +4 -4
  1831. package/script/utilities/0_part_stream.d.ts.map +1 -1
  1832. package/script/utilities/0_part_stream.js +3 -3
  1833. package/script/utilities/0_rle.d.ts +3 -3
  1834. package/script/utilities/0_rle.d.ts.map +1 -1
  1835. package/script/utilities/0_rle.js +2 -2
  1836. package/script/utilities/0_text.d.ts +22 -0
  1837. package/script/utilities/0_text.d.ts.map +1 -0
  1838. package/script/utilities/0_text.js +31 -0
  1839. package/script/utilities/0_types.d.ts +1 -1
  1840. package/script/utilities/0_types.js +1 -1
  1841. package/script/utilities/0_units.d.ts +1 -4
  1842. package/script/utilities/0_units.d.ts.map +1 -1
  1843. package/script/utilities/0_units.js +2 -5
  1844. package/script/utilities/1_auth.d.ts +2 -2
  1845. package/script/utilities/1_auth.d.ts.map +1 -1
  1846. package/script/utilities/1_auth.js +6 -7
  1847. package/script/utilities/1_base64.d.ts +3 -3
  1848. package/script/utilities/1_base64.d.ts.map +1 -1
  1849. package/script/utilities/1_base64.js +4 -4
  1850. package/script/utilities/1_crypto.d.ts +30 -0
  1851. package/script/utilities/1_crypto.d.ts.map +1 -0
  1852. package/script/utilities/1_crypto.js +94 -0
  1853. package/script/utilities/1_logger.d.ts +3 -3
  1854. package/script/utilities/1_logger.d.ts.map +1 -1
  1855. package/script/utilities/1_logger.js +5 -4
  1856. package/script/utilities/1_math.d.ts +1 -1
  1857. package/script/utilities/1_math.js +7 -7
  1858. package/script/utilities/2_queue.d.ts +2 -2
  1859. package/script/utilities/2_queue.d.ts.map +1 -1
  1860. package/script/utilities/2_queue.js +12 -8
  1861. package/esm/client/0_filters.d.ts +0 -58
  1862. package/esm/client/0_filters.d.ts.map +0 -1
  1863. package/esm/client/0_filters.js +0 -49
  1864. package/esm/client/0_message.d.ts +0 -29
  1865. package/esm/client/0_message.d.ts.map +0 -1
  1866. package/esm/client/0_message.js +0 -83
  1867. package/esm/client/1_client_encrypted.d.ts +0 -52
  1868. package/esm/client/1_client_encrypted.d.ts.map +0 -1
  1869. package/esm/client/1_client_encrypted.js +0 -339
  1870. package/esm/client/1_composer.d.ts +0 -51
  1871. package/esm/client/1_composer.d.ts.map +0 -1
  1872. package/esm/client/1_composer.js +0 -168
  1873. package/esm/client/5_client.d.ts +0 -1372
  1874. package/esm/client/5_client.d.ts.map +0 -1
  1875. package/esm/client/5_client.js +0 -2858
  1876. package/esm/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/mod.d.ts +0 -55
  1877. package/esm/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/mod.d.ts.map +0 -1
  1878. package/esm/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/mod.js +0 -167
  1879. package/esm/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/tgcrypto.d.ts +0 -3
  1880. package/esm/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/tgcrypto.d.ts.map +0 -1
  1881. package/esm/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/tgcrypto.js +0 -308
  1882. package/esm/deps/jsr.io/@std/assert/1.0.8/almost_equals.d.ts +0 -29
  1883. package/esm/deps/jsr.io/@std/assert/1.0.8/almost_equals.d.ts.map +0 -1
  1884. package/esm/deps/jsr.io/@std/assert/1.0.8/almost_equals.js +0 -46
  1885. package/esm/deps/jsr.io/@std/assert/1.0.8/array_includes.d.ts +0 -24
  1886. package/esm/deps/jsr.io/@std/assert/1.0.8/array_includes.d.ts.map +0 -1
  1887. package/esm/deps/jsr.io/@std/assert/1.0.8/array_includes.js +0 -46
  1888. package/esm/deps/jsr.io/@std/assert/1.0.8/assert.d.ts +0 -16
  1889. package/esm/deps/jsr.io/@std/assert/1.0.8/assert.d.ts.map +0 -1
  1890. package/esm/deps/jsr.io/@std/assert/1.0.8/assert.js +0 -22
  1891. package/esm/deps/jsr.io/@std/assert/1.0.8/assertion_error.d.ts.map +0 -1
  1892. package/esm/deps/jsr.io/@std/assert/1.0.8/assertion_error.js +0 -30
  1893. package/esm/deps/jsr.io/@std/assert/1.0.8/equal.d.ts +0 -17
  1894. package/esm/deps/jsr.io/@std/assert/1.0.8/equal.d.ts.map +0 -1
  1895. package/esm/deps/jsr.io/@std/assert/1.0.8/equal.js +0 -183
  1896. package/esm/deps/jsr.io/@std/assert/1.0.8/equals.d.ts +0 -22
  1897. package/esm/deps/jsr.io/@std/assert/1.0.8/equals.d.ts.map +0 -1
  1898. package/esm/deps/jsr.io/@std/assert/1.0.8/equals.js +0 -45
  1899. package/esm/deps/jsr.io/@std/assert/1.0.8/exists.d.ts +0 -18
  1900. package/esm/deps/jsr.io/@std/assert/1.0.8/exists.d.ts.map +0 -1
  1901. package/esm/deps/jsr.io/@std/assert/1.0.8/exists.js +0 -27
  1902. package/esm/deps/jsr.io/@std/assert/1.0.8/fail.d.ts +0 -15
  1903. package/esm/deps/jsr.io/@std/assert/1.0.8/fail.d.ts.map +0 -1
  1904. package/esm/deps/jsr.io/@std/assert/1.0.8/fail.js +0 -20
  1905. package/esm/deps/jsr.io/@std/assert/1.0.8/false.d.ts +0 -18
  1906. package/esm/deps/jsr.io/@std/assert/1.0.8/false.d.ts.map +0 -1
  1907. package/esm/deps/jsr.io/@std/assert/1.0.8/false.js +0 -22
  1908. package/esm/deps/jsr.io/@std/assert/1.0.8/greater.d.ts +0 -20
  1909. package/esm/deps/jsr.io/@std/assert/1.0.8/greater.d.ts.map +0 -1
  1910. package/esm/deps/jsr.io/@std/assert/1.0.8/greater.js +0 -29
  1911. package/esm/deps/jsr.io/@std/assert/1.0.8/greater_or_equal.d.ts +0 -20
  1912. package/esm/deps/jsr.io/@std/assert/1.0.8/greater_or_equal.d.ts.map +0 -1
  1913. package/esm/deps/jsr.io/@std/assert/1.0.8/greater_or_equal.js +0 -29
  1914. package/esm/deps/jsr.io/@std/assert/1.0.8/instance_of.d.ts +0 -23
  1915. package/esm/deps/jsr.io/@std/assert/1.0.8/instance_of.d.ts.map +0 -1
  1916. package/esm/deps/jsr.io/@std/assert/1.0.8/instance_of.js +0 -52
  1917. package/esm/deps/jsr.io/@std/assert/1.0.8/is_error.d.ts +0 -25
  1918. package/esm/deps/jsr.io/@std/assert/1.0.8/is_error.d.ts.map +0 -1
  1919. package/esm/deps/jsr.io/@std/assert/1.0.8/is_error.js +0 -53
  1920. package/esm/deps/jsr.io/@std/assert/1.0.8/less.d.ts +0 -19
  1921. package/esm/deps/jsr.io/@std/assert/1.0.8/less.d.ts.map +0 -1
  1922. package/esm/deps/jsr.io/@std/assert/1.0.8/less.js +0 -28
  1923. package/esm/deps/jsr.io/@std/assert/1.0.8/less_or_equal.d.ts +0 -20
  1924. package/esm/deps/jsr.io/@std/assert/1.0.8/less_or_equal.d.ts.map +0 -1
  1925. package/esm/deps/jsr.io/@std/assert/1.0.8/less_or_equal.js +0 -29
  1926. package/esm/deps/jsr.io/@std/assert/1.0.8/match.d.ts +0 -18
  1927. package/esm/deps/jsr.io/@std/assert/1.0.8/match.d.ts.map +0 -1
  1928. package/esm/deps/jsr.io/@std/assert/1.0.8/match.js +0 -26
  1929. package/esm/deps/jsr.io/@std/assert/1.0.8/mod.d.ts +0 -44
  1930. package/esm/deps/jsr.io/@std/assert/1.0.8/mod.d.ts.map +0 -1
  1931. package/esm/deps/jsr.io/@std/assert/1.0.8/mod.js +0 -45
  1932. package/esm/deps/jsr.io/@std/assert/1.0.8/not_equals.d.ts +0 -21
  1933. package/esm/deps/jsr.io/@std/assert/1.0.8/not_equals.d.ts.map +0 -1
  1934. package/esm/deps/jsr.io/@std/assert/1.0.8/not_equals.js +0 -32
  1935. package/esm/deps/jsr.io/@std/assert/1.0.8/not_instance_of.d.ts +0 -20
  1936. package/esm/deps/jsr.io/@std/assert/1.0.8/not_instance_of.d.ts.map +0 -1
  1937. package/esm/deps/jsr.io/@std/assert/1.0.8/not_instance_of.js +0 -29
  1938. package/esm/deps/jsr.io/@std/assert/1.0.8/not_match.d.ts +0 -18
  1939. package/esm/deps/jsr.io/@std/assert/1.0.8/not_match.d.ts.map +0 -1
  1940. package/esm/deps/jsr.io/@std/assert/1.0.8/not_match.js +0 -26
  1941. package/esm/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.d.ts +0 -23
  1942. package/esm/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.d.ts.map +0 -1
  1943. package/esm/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.js +0 -32
  1944. package/esm/deps/jsr.io/@std/assert/1.0.8/object_match.d.ts +0 -28
  1945. package/esm/deps/jsr.io/@std/assert/1.0.8/object_match.d.ts.map +0 -1
  1946. package/esm/deps/jsr.io/@std/assert/1.0.8/object_match.js +0 -159
  1947. package/esm/deps/jsr.io/@std/assert/1.0.8/rejects.d.ts +0 -42
  1948. package/esm/deps/jsr.io/@std/assert/1.0.8/rejects.d.ts.map +0 -1
  1949. package/esm/deps/jsr.io/@std/assert/1.0.8/rejects.js +0 -53
  1950. package/esm/deps/jsr.io/@std/assert/1.0.8/strict_equals.d.ts +0 -24
  1951. package/esm/deps/jsr.io/@std/assert/1.0.8/strict_equals.d.ts.map +0 -1
  1952. package/esm/deps/jsr.io/@std/assert/1.0.8/strict_equals.js +0 -57
  1953. package/esm/deps/jsr.io/@std/assert/1.0.8/string_includes.d.ts +0 -18
  1954. package/esm/deps/jsr.io/@std/assert/1.0.8/string_includes.d.ts.map +0 -1
  1955. package/esm/deps/jsr.io/@std/assert/1.0.8/string_includes.js +0 -26
  1956. package/esm/deps/jsr.io/@std/assert/1.0.8/throws.d.ts +0 -45
  1957. package/esm/deps/jsr.io/@std/assert/1.0.8/throws.d.ts.map +0 -1
  1958. package/esm/deps/jsr.io/@std/assert/1.0.8/throws.js +0 -44
  1959. package/esm/deps/jsr.io/@std/assert/1.0.8/unimplemented.d.ts +0 -15
  1960. package/esm/deps/jsr.io/@std/assert/1.0.8/unimplemented.d.ts.map +0 -1
  1961. package/esm/deps/jsr.io/@std/assert/1.0.8/unimplemented.js +0 -20
  1962. package/esm/deps/jsr.io/@std/assert/1.0.8/unreachable.d.ts.map +0 -1
  1963. package/esm/deps/jsr.io/@std/assert/1.0.8/unreachable.js +0 -20
  1964. package/esm/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts +0 -19
  1965. package/esm/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +0 -1
  1966. package/esm/deps/jsr.io/@std/bytes/1.0.4/concat.js +0 -32
  1967. package/esm/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.d.ts +0 -2
  1968. package/esm/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.d.ts.map +0 -1
  1969. package/esm/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.js +0 -26
  1970. package/esm/deps/jsr.io/@std/encoding/1.0.5/base64.d.ts +0 -38
  1971. package/esm/deps/jsr.io/@std/encoding/1.0.5/base64.d.ts.map +0 -1
  1972. package/esm/deps/jsr.io/@std/encoding/1.0.5/base64.js +0 -163
  1973. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +0 -82
  1974. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
  1975. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.js +0 -110
  1976. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
  1977. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.js +0 -276
  1978. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
  1979. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.js +0 -179
  1980. package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts +0 -2
  1981. package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
  1982. package/esm/deps/jsr.io/@std/internal/1.0.5/format.js +0 -37
  1983. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
  1984. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.js +0 -207
  1985. package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts +0 -16
  1986. package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
  1987. package/esm/deps/jsr.io/@std/internal/1.0.5/types.js +0 -2
  1988. package/esm/deps/jsr.io/@std/io/0.225.0/_constants.d.ts.map +0 -1
  1989. package/esm/deps/jsr.io/@std/io/0.225.0/_constants.js +0 -4
  1990. package/esm/deps/jsr.io/@std/io/0.225.0/iterate_reader.d.ts.map +0 -1
  1991. package/esm/deps/jsr.io/@std/io/0.225.0/iterate_reader.js +0 -96
  1992. package/esm/deps/jsr.io/@std/io/0.225.0/types.d.ts.map +0 -1
  1993. package/esm/deps/jsr.io/@std/io/0.225.0/types.js +0 -15
  1994. package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +0 -1
  1995. package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.js +0 -7
  1996. package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +0 -1
  1997. package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.js +0 -40
  1998. package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +0 -1
  1999. package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.js +0 -46
  2000. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +0 -1
  2001. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.js +0 -8
  2002. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +0 -1
  2003. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.js +0 -77
  2004. package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +0 -1
  2005. package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.js +0 -19
  2006. package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +0 -1
  2007. package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.js +0 -15
  2008. package/esm/deps/jsr.io/@std/path/1.0.8/_os.d.ts +0 -2
  2009. package/esm/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +0 -1
  2010. package/esm/deps/jsr.io/@std/path/1.0.8/_os.js +0 -9
  2011. package/esm/deps/jsr.io/@std/path/1.0.8/basename.d.ts +0 -28
  2012. package/esm/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +0 -1
  2013. package/esm/deps/jsr.io/@std/path/1.0.8/basename.js +0 -36
  2014. package/esm/deps/jsr.io/@std/path/1.0.8/extname.d.ts +0 -23
  2015. package/esm/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +0 -1
  2016. package/esm/deps/jsr.io/@std/path/1.0.8/extname.js +0 -29
  2017. package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +0 -1
  2018. package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.js +0 -28
  2019. package/esm/deps/jsr.io/@std/path/1.0.8/join.d.ts +0 -23
  2020. package/esm/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +0 -1
  2021. package/esm/deps/jsr.io/@std/path/1.0.8/join.js +0 -29
  2022. package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +0 -1
  2023. package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.js +0 -8
  2024. package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +0 -40
  2025. package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +0 -1
  2026. package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.js +0 -49
  2027. package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +0 -37
  2028. package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +0 -1
  2029. package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.js +0 -89
  2030. package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +0 -1
  2031. package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.js +0 -23
  2032. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +0 -33
  2033. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +0 -1
  2034. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.js +0 -42
  2035. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +0 -40
  2036. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +0 -1
  2037. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.js +0 -57
  2038. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +0 -1
  2039. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.js +0 -27
  2040. package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +0 -1
  2041. package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.js +0 -28
  2042. package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +0 -1
  2043. package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.js +0 -15
  2044. package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts +0 -23
  2045. package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +0 -1
  2046. package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.js +0 -44
  2047. package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts +0 -20
  2048. package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +0 -1
  2049. package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.js +0 -81
  2050. package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +0 -1
  2051. package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.js +0 -38
  2052. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +0 -20
  2053. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +0 -1
  2054. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.js +0 -74
  2055. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts +0 -22
  2056. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +0 -1
  2057. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.js +0 -134
  2058. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +0 -1
  2059. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.js +0 -34
  2060. package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts.map +0 -1
  2061. package/esm/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.js +0 -35
  2062. package/esm/tl/0_api.d.ts +0 -15839
  2063. package/esm/tl/0_api.d.ts.map +0 -1
  2064. package/esm/tl/0_api.js +0 -24746
  2065. package/esm/tl/0_tl_raw_reader.d.ts +0 -36
  2066. package/esm/tl/0_tl_raw_reader.d.ts.map +0 -1
  2067. package/esm/tl/0_tl_raw_reader.js +0 -87
  2068. package/esm/tl/0_tl_raw_writer.d.ts +0 -34
  2069. package/esm/tl/0_tl_raw_writer.d.ts.map +0 -1
  2070. package/esm/tl/0_tl_raw_writer.js +0 -86
  2071. package/esm/tl/2_deserialize.d.ts +0 -23
  2072. package/esm/tl/2_deserialize.d.ts.map +0 -1
  2073. package/esm/tl/2_deserialize.js +0 -95
  2074. package/esm/tl/2_serialize.d.ts +0 -22
  2075. package/esm/tl/2_serialize.d.ts.map +0 -1
  2076. package/esm/tl/2_serialize.js +0 -160
  2077. package/esm/tl/3_tl_reader.d.ts +0 -26
  2078. package/esm/tl/3_tl_reader.d.ts.map +0 -1
  2079. package/esm/tl/3_tl_reader.js +0 -49
  2080. package/esm/tl/3_utilities.d.ts +0 -34
  2081. package/esm/tl/3_utilities.d.ts.map +0 -1
  2082. package/esm/tl/3_utilities.js +0 -89
  2083. package/esm/tl/4_rpc_result.d.ts +0 -27
  2084. package/esm/tl/4_rpc_result.d.ts.map +0 -1
  2085. package/esm/tl/4_rpc_result.js +0 -28
  2086. package/esm/tl/4_tl_writer.d.ts +0 -25
  2087. package/esm/tl/4_tl_writer.d.ts.map +0 -1
  2088. package/esm/tl/4_tl_writer.js +0 -45
  2089. package/esm/tl/5_message.d.ts +0 -39
  2090. package/esm/tl/5_message.d.ts.map +0 -1
  2091. package/esm/tl/5_message.js +0 -98
  2092. package/esm/transport/2_transport_provider.d.ts +0 -35
  2093. package/esm/transport/2_transport_provider.d.ts.map +0 -1
  2094. package/esm/transport/2_transport_provider.js +0 -81
  2095. package/esm/transport/3_transport_provider_tcp.d.ts +0 -25
  2096. package/esm/transport/3_transport_provider_tcp.d.ts.map +0 -1
  2097. package/esm/transport/3_transport_provider_tcp.js +0 -29
  2098. package/esm/transport/3_transport_provider_web_socket.d.ts +0 -24
  2099. package/esm/transport/3_transport_provider_web_socket.d.ts.map +0 -1
  2100. package/esm/transport/3_transport_provider_web_socket.js +0 -43
  2101. package/esm/types/0_link_preview.d.ts +0 -35
  2102. package/esm/types/0_link_preview.d.ts.map +0 -1
  2103. package/esm/types/0_link_preview.js +0 -28
  2104. package/esm/types/0_message_entity.d.ts +0 -139
  2105. package/esm/types/0_message_entity.d.ts.map +0 -1
  2106. package/esm/types/0_message_entity.js +0 -183
  2107. package/esm/types/0_mini_app_info.d.ts +0 -26
  2108. package/esm/types/0_mini_app_info.d.ts.map +0 -1
  2109. package/esm/types/0_mini_app_info.js +0 -22
  2110. package/esm/types/0_opening_hours.d.ts +0 -26
  2111. package/esm/types/0_opening_hours.d.ts.map +0 -1
  2112. package/esm/types/0_opening_hours.js +0 -25
  2113. package/esm/types/1_input_media.d.ts +0 -122
  2114. package/esm/types/1_input_media.d.ts.map +0 -1
  2115. package/esm/types/1_input_media.js +0 -20
  2116. package/esm/types/1_message_content.d.ts +0 -119
  2117. package/esm/types/1_message_content.d.ts.map +0 -1
  2118. package/esm/types/1_message_content.js +0 -20
  2119. package/esm/types/1_poll_option.d.ts +0 -32
  2120. package/esm/types/1_poll_option.d.ts.map +0 -1
  2121. package/esm/types/1_poll_option.js +0 -27
  2122. package/esm/types/1_reply_quote.d.ts +0 -32
  2123. package/esm/types/1_reply_quote.d.ts.map +0 -1
  2124. package/esm/types/1_reply_quote.js +0 -30
  2125. package/esm/types/1_story_privacy.d.ts +0 -46
  2126. package/esm/types/1_story_privacy.d.ts.map +0 -1
  2127. package/esm/types/1_story_privacy.js +0 -76
  2128. package/esm/types/1_user.d.ts +0 -56
  2129. package/esm/types/1_user.d.ts.map +0 -1
  2130. package/esm/types/1_user.js +0 -47
  2131. package/esm/types/2_business_connection.d.ts +0 -37
  2132. package/esm/types/2_business_connection.d.ts.map +0 -1
  2133. package/esm/types/2_business_connection.js +0 -30
  2134. package/esm/types/2_chosen_inline_result.d.ts +0 -38
  2135. package/esm/types/2_chosen_inline_result.d.ts.map +0 -1
  2136. package/esm/types/2_chosen_inline_result.js +0 -37
  2137. package/esm/types/2_forward_header.d.ts +0 -40
  2138. package/esm/types/2_forward_header.d.ts.map +0 -1
  2139. package/esm/types/2_forward_header.js +0 -55
  2140. package/esm/types/2_game.d.ts +0 -40
  2141. package/esm/types/2_game.d.ts.map +0 -1
  2142. package/esm/types/2_game.js +0 -44
  2143. package/esm/types/2_inline_keyboard_button.d.ts +0 -138
  2144. package/esm/types/2_inline_keyboard_button.d.ts.map +0 -1
  2145. package/esm/types/2_inline_keyboard_button.js +0 -117
  2146. package/esm/types/2_inline_query.d.ts +0 -40
  2147. package/esm/types/2_inline_query.d.ts.map +0 -1
  2148. package/esm/types/2_inline_query.js +0 -60
  2149. package/esm/types/2_invite_link.d.ts +0 -47
  2150. package/esm/types/2_invite_link.d.ts.map +0 -1
  2151. package/esm/types/2_invite_link.js +0 -48
  2152. package/esm/types/2_message_reactions.d.ts +0 -43
  2153. package/esm/types/2_message_reactions.d.ts.map +0 -1
  2154. package/esm/types/2_message_reactions.js +0 -56
  2155. package/esm/types/2_poll.d.ts +0 -55
  2156. package/esm/types/2_poll.d.ts.map +0 -1
  2157. package/esm/types/2_poll.js +0 -43
  2158. package/esm/types/2_pre_checkout_query.d.ts +0 -34
  2159. package/esm/types/2_pre_checkout_query.d.ts.map +0 -1
  2160. package/esm/types/2_pre_checkout_query.js +0 -39
  2161. package/esm/types/2_reply_to.d.ts +0 -35
  2162. package/esm/types/2_reply_to.d.ts.map +0 -1
  2163. package/esm/types/2_reply_to.js +0 -20
  2164. package/esm/types/3_chat_member_updated.d.ts +0 -44
  2165. package/esm/types/3_chat_member_updated.d.ts.map +0 -1
  2166. package/esm/types/3_chat_member_updated.js +0 -53
  2167. package/esm/types/3_join_request.d.ts +0 -39
  2168. package/esm/types/3_join_request.d.ts.map +0 -1
  2169. package/esm/types/3_join_request.js +0 -45
  2170. package/esm/types/3_reply_markup.d.ts +0 -71
  2171. package/esm/types/3_reply_markup.d.ts.map +0 -1
  2172. package/esm/types/3_reply_markup.js +0 -127
  2173. package/esm/types/4_inline_query_result.d.ts +0 -251
  2174. package/esm/types/4_inline_query_result.d.ts.map +0 -1
  2175. package/esm/types/4_inline_query_result.js +0 -380
  2176. package/esm/types/4_message.d.ts +0 -615
  2177. package/esm/types/4_message.d.ts.map +0 -1
  2178. package/esm/types/4_message.js +0 -533
  2179. package/esm/types/5_callback_query.d.ts +0 -43
  2180. package/esm/types/5_callback_query.d.ts.map +0 -1
  2181. package/esm/types/5_callback_query.js +0 -60
  2182. package/esm/types/5_chat_list_item.d.ts +0 -36
  2183. package/esm/types/5_chat_list_item.d.ts.map +0 -1
  2184. package/esm/types/5_chat_list_item.js +0 -86
  2185. package/esm/types/5_inline_query_answer.d.ts +0 -32
  2186. package/esm/types/5_inline_query_answer.d.ts.map +0 -1
  2187. package/esm/types/5_inline_query_answer.js +0 -28
  2188. package/esm/types/6_update.d.ts +0 -388
  2189. package/esm/types/6_update.d.ts.map +0 -1
  2190. package/esm/types/6_update.js +0 -20
  2191. package/esm/utilities/0_bigint.d.ts +0 -29
  2192. package/esm/utilities/0_bigint.d.ts.map +0 -1
  2193. package/esm/utilities/0_bigint.js +0 -90
  2194. package/esm/utilities/0_buffer.d.ts +0 -21
  2195. package/esm/utilities/0_buffer.d.ts.map +0 -1
  2196. package/esm/utilities/0_buffer.js +0 -51
  2197. package/esm/utilities/0_cache_map.d.ts +0 -26
  2198. package/esm/utilities/0_cache_map.d.ts.map +0 -1
  2199. package/esm/utilities/0_cache_map.js +0 -52
  2200. package/esm/utilities/0_crypto.d.ts +0 -27
  2201. package/esm/utilities/0_crypto.d.ts.map +0 -1
  2202. package/esm/utilities/0_crypto.js +0 -48
  2203. package/esm/utilities/0_gunzip.d.ts +0 -2
  2204. package/esm/utilities/0_gunzip.d.ts.map +0 -1
  2205. package/esm/utilities/0_gunzip.js +0 -17
  2206. package/esm/utilities/1_misc.d.ts +0 -29
  2207. package/esm/utilities/1_misc.d.ts.map +0 -1
  2208. package/esm/utilities/1_misc.js +0 -72
  2209. package/script/client/0_filters.d.ts +0 -58
  2210. package/script/client/0_filters.d.ts.map +0 -1
  2211. package/script/client/0_filters.js +0 -52
  2212. package/script/client/0_message.d.ts +0 -29
  2213. package/script/client/0_message.d.ts.map +0 -1
  2214. package/script/client/0_message.js +0 -90
  2215. package/script/client/1_client_encrypted.d.ts +0 -52
  2216. package/script/client/1_client_encrypted.d.ts.map +0 -1
  2217. package/script/client/1_client_encrypted.js +0 -343
  2218. package/script/client/1_composer.d.ts +0 -51
  2219. package/script/client/1_composer.d.ts.map +0 -1
  2220. package/script/client/1_composer.js +0 -175
  2221. package/script/client/5_client.d.ts +0 -1372
  2222. package/script/client/5_client.d.ts.map +0 -1
  2223. package/script/client/5_client.js +0 -2863
  2224. package/script/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/mod.d.ts +0 -55
  2225. package/script/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/mod.d.ts.map +0 -1
  2226. package/script/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/mod.js +0 -182
  2227. package/script/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/tgcrypto.d.ts +0 -3
  2228. package/script/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/tgcrypto.d.ts.map +0 -1
  2229. package/script/deps/jsr.io/@roj/tgcrypto/0.4.1/dist/tgcrypto.js +0 -310
  2230. package/script/deps/jsr.io/@std/assert/1.0.8/almost_equals.d.ts +0 -29
  2231. package/script/deps/jsr.io/@std/assert/1.0.8/almost_equals.d.ts.map +0 -1
  2232. package/script/deps/jsr.io/@std/assert/1.0.8/almost_equals.js +0 -49
  2233. package/script/deps/jsr.io/@std/assert/1.0.8/array_includes.d.ts +0 -24
  2234. package/script/deps/jsr.io/@std/assert/1.0.8/array_includes.d.ts.map +0 -1
  2235. package/script/deps/jsr.io/@std/assert/1.0.8/array_includes.js +0 -49
  2236. package/script/deps/jsr.io/@std/assert/1.0.8/assert.d.ts +0 -16
  2237. package/script/deps/jsr.io/@std/assert/1.0.8/assert.d.ts.map +0 -1
  2238. package/script/deps/jsr.io/@std/assert/1.0.8/assert.js +0 -25
  2239. package/script/deps/jsr.io/@std/assert/1.0.8/assertion_error.d.ts.map +0 -1
  2240. package/script/deps/jsr.io/@std/assert/1.0.8/assertion_error.js +0 -34
  2241. package/script/deps/jsr.io/@std/assert/1.0.8/equal.d.ts +0 -17
  2242. package/script/deps/jsr.io/@std/assert/1.0.8/equal.d.ts.map +0 -1
  2243. package/script/deps/jsr.io/@std/assert/1.0.8/equal.js +0 -209
  2244. package/script/deps/jsr.io/@std/assert/1.0.8/equals.d.ts +0 -22
  2245. package/script/deps/jsr.io/@std/assert/1.0.8/equals.d.ts.map +0 -1
  2246. package/script/deps/jsr.io/@std/assert/1.0.8/equals.js +0 -48
  2247. package/script/deps/jsr.io/@std/assert/1.0.8/exists.d.ts +0 -18
  2248. package/script/deps/jsr.io/@std/assert/1.0.8/exists.d.ts.map +0 -1
  2249. package/script/deps/jsr.io/@std/assert/1.0.8/exists.js +0 -30
  2250. package/script/deps/jsr.io/@std/assert/1.0.8/fail.d.ts +0 -15
  2251. package/script/deps/jsr.io/@std/assert/1.0.8/fail.d.ts.map +0 -1
  2252. package/script/deps/jsr.io/@std/assert/1.0.8/fail.js +0 -23
  2253. package/script/deps/jsr.io/@std/assert/1.0.8/false.d.ts +0 -18
  2254. package/script/deps/jsr.io/@std/assert/1.0.8/false.d.ts.map +0 -1
  2255. package/script/deps/jsr.io/@std/assert/1.0.8/false.js +0 -25
  2256. package/script/deps/jsr.io/@std/assert/1.0.8/greater.d.ts +0 -20
  2257. package/script/deps/jsr.io/@std/assert/1.0.8/greater.d.ts.map +0 -1
  2258. package/script/deps/jsr.io/@std/assert/1.0.8/greater.js +0 -32
  2259. package/script/deps/jsr.io/@std/assert/1.0.8/greater_or_equal.d.ts +0 -20
  2260. package/script/deps/jsr.io/@std/assert/1.0.8/greater_or_equal.d.ts.map +0 -1
  2261. package/script/deps/jsr.io/@std/assert/1.0.8/greater_or_equal.js +0 -32
  2262. package/script/deps/jsr.io/@std/assert/1.0.8/instance_of.d.ts +0 -23
  2263. package/script/deps/jsr.io/@std/assert/1.0.8/instance_of.d.ts.map +0 -1
  2264. package/script/deps/jsr.io/@std/assert/1.0.8/instance_of.js +0 -55
  2265. package/script/deps/jsr.io/@std/assert/1.0.8/is_error.d.ts +0 -25
  2266. package/script/deps/jsr.io/@std/assert/1.0.8/is_error.d.ts.map +0 -1
  2267. package/script/deps/jsr.io/@std/assert/1.0.8/is_error.js +0 -56
  2268. package/script/deps/jsr.io/@std/assert/1.0.8/less.d.ts +0 -19
  2269. package/script/deps/jsr.io/@std/assert/1.0.8/less.d.ts.map +0 -1
  2270. package/script/deps/jsr.io/@std/assert/1.0.8/less.js +0 -31
  2271. package/script/deps/jsr.io/@std/assert/1.0.8/less_or_equal.d.ts +0 -20
  2272. package/script/deps/jsr.io/@std/assert/1.0.8/less_or_equal.d.ts.map +0 -1
  2273. package/script/deps/jsr.io/@std/assert/1.0.8/less_or_equal.js +0 -32
  2274. package/script/deps/jsr.io/@std/assert/1.0.8/match.d.ts +0 -18
  2275. package/script/deps/jsr.io/@std/assert/1.0.8/match.d.ts.map +0 -1
  2276. package/script/deps/jsr.io/@std/assert/1.0.8/match.js +0 -29
  2277. package/script/deps/jsr.io/@std/assert/1.0.8/mod.d.ts +0 -44
  2278. package/script/deps/jsr.io/@std/assert/1.0.8/mod.d.ts.map +0 -1
  2279. package/script/deps/jsr.io/@std/assert/1.0.8/mod.js +0 -61
  2280. package/script/deps/jsr.io/@std/assert/1.0.8/not_equals.d.ts +0 -21
  2281. package/script/deps/jsr.io/@std/assert/1.0.8/not_equals.d.ts.map +0 -1
  2282. package/script/deps/jsr.io/@std/assert/1.0.8/not_equals.js +0 -35
  2283. package/script/deps/jsr.io/@std/assert/1.0.8/not_instance_of.d.ts +0 -20
  2284. package/script/deps/jsr.io/@std/assert/1.0.8/not_instance_of.d.ts.map +0 -1
  2285. package/script/deps/jsr.io/@std/assert/1.0.8/not_instance_of.js +0 -32
  2286. package/script/deps/jsr.io/@std/assert/1.0.8/not_match.d.ts +0 -18
  2287. package/script/deps/jsr.io/@std/assert/1.0.8/not_match.d.ts.map +0 -1
  2288. package/script/deps/jsr.io/@std/assert/1.0.8/not_match.js +0 -29
  2289. package/script/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.d.ts +0 -23
  2290. package/script/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.d.ts.map +0 -1
  2291. package/script/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.js +0 -35
  2292. package/script/deps/jsr.io/@std/assert/1.0.8/object_match.d.ts +0 -28
  2293. package/script/deps/jsr.io/@std/assert/1.0.8/object_match.d.ts.map +0 -1
  2294. package/script/deps/jsr.io/@std/assert/1.0.8/object_match.js +0 -162
  2295. package/script/deps/jsr.io/@std/assert/1.0.8/rejects.d.ts +0 -42
  2296. package/script/deps/jsr.io/@std/assert/1.0.8/rejects.d.ts.map +0 -1
  2297. package/script/deps/jsr.io/@std/assert/1.0.8/rejects.js +0 -56
  2298. package/script/deps/jsr.io/@std/assert/1.0.8/strict_equals.d.ts +0 -24
  2299. package/script/deps/jsr.io/@std/assert/1.0.8/strict_equals.d.ts.map +0 -1
  2300. package/script/deps/jsr.io/@std/assert/1.0.8/strict_equals.js +0 -60
  2301. package/script/deps/jsr.io/@std/assert/1.0.8/string_includes.d.ts +0 -18
  2302. package/script/deps/jsr.io/@std/assert/1.0.8/string_includes.d.ts.map +0 -1
  2303. package/script/deps/jsr.io/@std/assert/1.0.8/string_includes.js +0 -29
  2304. package/script/deps/jsr.io/@std/assert/1.0.8/throws.d.ts +0 -45
  2305. package/script/deps/jsr.io/@std/assert/1.0.8/throws.d.ts.map +0 -1
  2306. package/script/deps/jsr.io/@std/assert/1.0.8/throws.js +0 -47
  2307. package/script/deps/jsr.io/@std/assert/1.0.8/unimplemented.d.ts +0 -15
  2308. package/script/deps/jsr.io/@std/assert/1.0.8/unimplemented.d.ts.map +0 -1
  2309. package/script/deps/jsr.io/@std/assert/1.0.8/unimplemented.js +0 -23
  2310. package/script/deps/jsr.io/@std/assert/1.0.8/unreachable.d.ts.map +0 -1
  2311. package/script/deps/jsr.io/@std/assert/1.0.8/unreachable.js +0 -23
  2312. package/script/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts +0 -19
  2313. package/script/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +0 -1
  2314. package/script/deps/jsr.io/@std/bytes/1.0.4/concat.js +0 -35
  2315. package/script/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.d.ts +0 -2
  2316. package/script/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.d.ts.map +0 -1
  2317. package/script/deps/jsr.io/@std/encoding/1.0.5/_validate_binary_like.js +0 -29
  2318. package/script/deps/jsr.io/@std/encoding/1.0.5/base64.d.ts +0 -38
  2319. package/script/deps/jsr.io/@std/encoding/1.0.5/base64.d.ts.map +0 -1
  2320. package/script/deps/jsr.io/@std/encoding/1.0.5/base64.js +0 -167
  2321. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +0 -82
  2322. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
  2323. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.js +0 -115
  2324. package/script/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
  2325. package/script/deps/jsr.io/@std/internal/1.0.5/diff.js +0 -283
  2326. package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
  2327. package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.js +0 -185
  2328. package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts +0 -2
  2329. package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
  2330. package/script/deps/jsr.io/@std/internal/1.0.5/format.js +0 -63
  2331. package/script/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
  2332. package/script/deps/jsr.io/@std/internal/1.0.5/styles.js +0 -242
  2333. package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts +0 -16
  2334. package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
  2335. package/script/deps/jsr.io/@std/internal/1.0.5/types.js +0 -3
  2336. package/script/deps/jsr.io/@std/io/0.225.0/_constants.d.ts.map +0 -1
  2337. package/script/deps/jsr.io/@std/io/0.225.0/_constants.js +0 -7
  2338. package/script/deps/jsr.io/@std/io/0.225.0/iterate_reader.d.ts.map +0 -1
  2339. package/script/deps/jsr.io/@std/io/0.225.0/iterate_reader.js +0 -100
  2340. package/script/deps/jsr.io/@std/io/0.225.0/types.d.ts.map +0 -1
  2341. package/script/deps/jsr.io/@std/io/0.225.0/types.js +0 -18
  2342. package/script/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +0 -1
  2343. package/script/deps/jsr.io/@std/path/1.0.8/_common/assert_path.js +0 -10
  2344. package/script/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +0 -1
  2345. package/script/deps/jsr.io/@std/path/1.0.8/_common/basename.js +0 -45
  2346. package/script/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +0 -1
  2347. package/script/deps/jsr.io/@std/path/1.0.8/_common/constants.js +0 -49
  2348. package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +0 -1
  2349. package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize.js +0 -11
  2350. package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +0 -1
  2351. package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.js +0 -80
  2352. package/script/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +0 -1
  2353. package/script/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.js +0 -22
  2354. package/script/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +0 -1
  2355. package/script/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.js +0 -18
  2356. package/script/deps/jsr.io/@std/path/1.0.8/_os.d.ts +0 -2
  2357. package/script/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +0 -1
  2358. package/script/deps/jsr.io/@std/path/1.0.8/_os.js +0 -35
  2359. package/script/deps/jsr.io/@std/path/1.0.8/basename.d.ts +0 -28
  2360. package/script/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +0 -1
  2361. package/script/deps/jsr.io/@std/path/1.0.8/basename.js +0 -39
  2362. package/script/deps/jsr.io/@std/path/1.0.8/extname.d.ts +0 -23
  2363. package/script/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +0 -1
  2364. package/script/deps/jsr.io/@std/path/1.0.8/extname.js +0 -32
  2365. package/script/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +0 -1
  2366. package/script/deps/jsr.io/@std/path/1.0.8/is_absolute.js +0 -31
  2367. package/script/deps/jsr.io/@std/path/1.0.8/join.d.ts +0 -23
  2368. package/script/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +0 -1
  2369. package/script/deps/jsr.io/@std/path/1.0.8/join.js +0 -32
  2370. package/script/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +0 -1
  2371. package/script/deps/jsr.io/@std/path/1.0.8/posix/_util.js +0 -11
  2372. package/script/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +0 -40
  2373. package/script/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +0 -1
  2374. package/script/deps/jsr.io/@std/path/1.0.8/posix/basename.js +0 -52
  2375. package/script/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +0 -37
  2376. package/script/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +0 -1
  2377. package/script/deps/jsr.io/@std/path/1.0.8/posix/extname.js +0 -92
  2378. package/script/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +0 -1
  2379. package/script/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.js +0 -26
  2380. package/script/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +0 -33
  2381. package/script/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +0 -1
  2382. package/script/deps/jsr.io/@std/path/1.0.8/posix/join.js +0 -45
  2383. package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +0 -40
  2384. package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +0 -1
  2385. package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize.js +0 -60
  2386. package/script/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +0 -1
  2387. package/script/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.js +0 -30
  2388. package/script/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +0 -1
  2389. package/script/deps/jsr.io/@std/path/1.0.8/to_file_url.js +0 -31
  2390. package/script/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +0 -1
  2391. package/script/deps/jsr.io/@std/path/1.0.8/windows/_util.js +0 -20
  2392. package/script/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts +0 -23
  2393. package/script/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +0 -1
  2394. package/script/deps/jsr.io/@std/path/1.0.8/windows/basename.js +0 -47
  2395. package/script/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts +0 -20
  2396. package/script/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +0 -1
  2397. package/script/deps/jsr.io/@std/path/1.0.8/windows/extname.js +0 -84
  2398. package/script/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +0 -1
  2399. package/script/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.js +0 -41
  2400. package/script/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +0 -20
  2401. package/script/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +0 -1
  2402. package/script/deps/jsr.io/@std/path/1.0.8/windows/join.js +0 -77
  2403. package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts +0 -22
  2404. package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +0 -1
  2405. package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize.js +0 -137
  2406. package/script/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +0 -1
  2407. package/script/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.js +0 -37
  2408. package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.d.ts.map +0 -1
  2409. package/script/deps/jsr.io/@std/streams/1.0.8/to_array_buffer.js +0 -38
  2410. package/script/tl/0_api.d.ts +0 -15839
  2411. package/script/tl/0_api.d.ts.map +0 -1
  2412. package/script/tl/0_api.js +0 -24772
  2413. package/script/tl/0_tl_raw_reader.d.ts +0 -36
  2414. package/script/tl/0_tl_raw_reader.d.ts.map +0 -1
  2415. package/script/tl/0_tl_raw_reader.js +0 -92
  2416. package/script/tl/0_tl_raw_writer.d.ts +0 -34
  2417. package/script/tl/0_tl_raw_writer.d.ts.map +0 -1
  2418. package/script/tl/0_tl_raw_writer.js +0 -90
  2419. package/script/tl/2_deserialize.d.ts +0 -23
  2420. package/script/tl/2_deserialize.d.ts.map +0 -1
  2421. package/script/tl/2_deserialize.js +0 -98
  2422. package/script/tl/2_serialize.d.ts +0 -22
  2423. package/script/tl/2_serialize.d.ts.map +0 -1
  2424. package/script/tl/2_serialize.js +0 -163
  2425. package/script/tl/3_tl_reader.d.ts +0 -26
  2426. package/script/tl/3_tl_reader.d.ts.map +0 -1
  2427. package/script/tl/3_tl_reader.js +0 -53
  2428. package/script/tl/3_utilities.d.ts +0 -34
  2429. package/script/tl/3_utilities.d.ts.map +0 -1
  2430. package/script/tl/3_utilities.js +0 -97
  2431. package/script/tl/4_rpc_result.d.ts +0 -27
  2432. package/script/tl/4_rpc_result.d.ts.map +0 -1
  2433. package/script/tl/4_rpc_result.js +0 -32
  2434. package/script/tl/4_tl_writer.d.ts +0 -25
  2435. package/script/tl/4_tl_writer.d.ts.map +0 -1
  2436. package/script/tl/4_tl_writer.js +0 -49
  2437. package/script/tl/5_message.d.ts +0 -39
  2438. package/script/tl/5_message.d.ts.map +0 -1
  2439. package/script/tl/5_message.js +0 -106
  2440. package/script/transport/2_transport_provider.d.ts +0 -35
  2441. package/script/transport/2_transport_provider.d.ts.map +0 -1
  2442. package/script/transport/2_transport_provider.js +0 -86
  2443. package/script/transport/3_transport_provider_tcp.d.ts +0 -25
  2444. package/script/transport/3_transport_provider_tcp.d.ts.map +0 -1
  2445. package/script/transport/3_transport_provider_tcp.js +0 -32
  2446. package/script/transport/3_transport_provider_web_socket.d.ts +0 -24
  2447. package/script/transport/3_transport_provider_web_socket.d.ts.map +0 -1
  2448. package/script/transport/3_transport_provider_web_socket.js +0 -47
  2449. package/script/types/0_link_preview.d.ts +0 -35
  2450. package/script/types/0_link_preview.d.ts.map +0 -1
  2451. package/script/types/0_link_preview.js +0 -31
  2452. package/script/types/0_message_entity.d.ts +0 -139
  2453. package/script/types/0_message_entity.d.ts.map +0 -1
  2454. package/script/types/0_message_entity.js +0 -188
  2455. package/script/types/0_mini_app_info.d.ts +0 -26
  2456. package/script/types/0_mini_app_info.d.ts.map +0 -1
  2457. package/script/types/0_mini_app_info.js +0 -25
  2458. package/script/types/0_opening_hours.d.ts +0 -26
  2459. package/script/types/0_opening_hours.d.ts.map +0 -1
  2460. package/script/types/0_opening_hours.js +0 -28
  2461. package/script/types/1_input_media.d.ts +0 -122
  2462. package/script/types/1_input_media.d.ts.map +0 -1
  2463. package/script/types/1_input_media.js +0 -21
  2464. package/script/types/1_message_content.d.ts +0 -119
  2465. package/script/types/1_message_content.d.ts.map +0 -1
  2466. package/script/types/1_message_content.js +0 -21
  2467. package/script/types/1_poll_option.d.ts +0 -32
  2468. package/script/types/1_poll_option.d.ts.map +0 -1
  2469. package/script/types/1_poll_option.js +0 -30
  2470. package/script/types/1_reply_quote.d.ts +0 -32
  2471. package/script/types/1_reply_quote.d.ts.map +0 -1
  2472. package/script/types/1_reply_quote.js +0 -33
  2473. package/script/types/1_story_privacy.d.ts +0 -46
  2474. package/script/types/1_story_privacy.d.ts.map +0 -1
  2475. package/script/types/1_story_privacy.js +0 -80
  2476. package/script/types/1_user.d.ts +0 -56
  2477. package/script/types/1_user.d.ts.map +0 -1
  2478. package/script/types/1_user.js +0 -50
  2479. package/script/types/2_business_connection.d.ts +0 -37
  2480. package/script/types/2_business_connection.d.ts.map +0 -1
  2481. package/script/types/2_business_connection.js +0 -33
  2482. package/script/types/2_chosen_inline_result.d.ts +0 -38
  2483. package/script/types/2_chosen_inline_result.d.ts.map +0 -1
  2484. package/script/types/2_chosen_inline_result.js +0 -40
  2485. package/script/types/2_forward_header.d.ts +0 -40
  2486. package/script/types/2_forward_header.d.ts.map +0 -1
  2487. package/script/types/2_forward_header.js +0 -58
  2488. package/script/types/2_game.d.ts +0 -40
  2489. package/script/types/2_game.d.ts.map +0 -1
  2490. package/script/types/2_game.js +0 -47
  2491. package/script/types/2_inline_keyboard_button.d.ts +0 -138
  2492. package/script/types/2_inline_keyboard_button.d.ts.map +0 -1
  2493. package/script/types/2_inline_keyboard_button.js +0 -121
  2494. package/script/types/2_inline_query.d.ts +0 -40
  2495. package/script/types/2_inline_query.d.ts.map +0 -1
  2496. package/script/types/2_inline_query.js +0 -63
  2497. package/script/types/2_invite_link.d.ts +0 -47
  2498. package/script/types/2_invite_link.d.ts.map +0 -1
  2499. package/script/types/2_invite_link.js +0 -51
  2500. package/script/types/2_message_reactions.d.ts +0 -43
  2501. package/script/types/2_message_reactions.d.ts.map +0 -1
  2502. package/script/types/2_message_reactions.js +0 -59
  2503. package/script/types/2_poll.d.ts +0 -55
  2504. package/script/types/2_poll.d.ts.map +0 -1
  2505. package/script/types/2_poll.js +0 -46
  2506. package/script/types/2_pre_checkout_query.d.ts +0 -34
  2507. package/script/types/2_pre_checkout_query.d.ts.map +0 -1
  2508. package/script/types/2_pre_checkout_query.js +0 -42
  2509. package/script/types/2_reply_to.d.ts +0 -35
  2510. package/script/types/2_reply_to.d.ts.map +0 -1
  2511. package/script/types/2_reply_to.js +0 -21
  2512. package/script/types/3_chat_member_updated.d.ts +0 -44
  2513. package/script/types/3_chat_member_updated.d.ts.map +0 -1
  2514. package/script/types/3_chat_member_updated.js +0 -56
  2515. package/script/types/3_join_request.d.ts +0 -39
  2516. package/script/types/3_join_request.d.ts.map +0 -1
  2517. package/script/types/3_join_request.js +0 -48
  2518. package/script/types/3_reply_markup.d.ts +0 -71
  2519. package/script/types/3_reply_markup.d.ts.map +0 -1
  2520. package/script/types/3_reply_markup.js +0 -131
  2521. package/script/types/4_inline_query_result.d.ts +0 -251
  2522. package/script/types/4_inline_query_result.d.ts.map +0 -1
  2523. package/script/types/4_inline_query_result.js +0 -384
  2524. package/script/types/4_message.d.ts +0 -615
  2525. package/script/types/4_message.d.ts.map +0 -1
  2526. package/script/types/4_message.js +0 -537
  2527. package/script/types/5_callback_query.d.ts +0 -43
  2528. package/script/types/5_callback_query.d.ts.map +0 -1
  2529. package/script/types/5_callback_query.js +0 -64
  2530. package/script/types/5_chat_list_item.d.ts +0 -36
  2531. package/script/types/5_chat_list_item.d.ts.map +0 -1
  2532. package/script/types/5_chat_list_item.js +0 -93
  2533. package/script/types/5_inline_query_answer.d.ts +0 -32
  2534. package/script/types/5_inline_query_answer.d.ts.map +0 -1
  2535. package/script/types/5_inline_query_answer.js +0 -31
  2536. package/script/types/6_update.d.ts +0 -388
  2537. package/script/types/6_update.d.ts.map +0 -1
  2538. package/script/types/6_update.js +0 -21
  2539. package/script/utilities/0_bigint.d.ts +0 -29
  2540. package/script/utilities/0_bigint.d.ts.map +0 -1
  2541. package/script/utilities/0_bigint.js +0 -98
  2542. package/script/utilities/0_buffer.d.ts +0 -21
  2543. package/script/utilities/0_buffer.d.ts.map +0 -1
  2544. package/script/utilities/0_buffer.js +0 -54
  2545. package/script/utilities/0_cache_map.d.ts +0 -26
  2546. package/script/utilities/0_cache_map.d.ts.map +0 -1
  2547. package/script/utilities/0_cache_map.js +0 -56
  2548. package/script/utilities/0_crypto.d.ts +0 -27
  2549. package/script/utilities/0_crypto.d.ts.map +0 -1
  2550. package/script/utilities/0_crypto.js +0 -52
  2551. package/script/utilities/0_gunzip.d.ts +0 -2
  2552. package/script/utilities/0_gunzip.d.ts.map +0 -1
  2553. package/script/utilities/0_gunzip.js +0 -20
  2554. package/script/utilities/1_misc.d.ts +0 -29
  2555. package/script/utilities/1_misc.d.ts.map +0 -1
  2556. package/script/utilities/1_misc.js +0 -82
  2557. /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.19}/assertion_error.d.ts +0 -0
  2558. /package/esm/deps/jsr.io/@std/assert/{1.0.8 → 1.0.19}/unreachable.d.ts +0 -0
  2559. /package/esm/deps/jsr.io/@std/internal/{1.0.5 → 1.0.12}/diff.d.ts +0 -0
  2560. /package/esm/deps/jsr.io/@std/internal/{1.0.5 → 1.0.12}/diff_str.d.ts +0 -0
  2561. /package/esm/deps/jsr.io/@std/internal/{1.0.5 → 1.0.12}/styles.d.ts +0 -0
  2562. /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.3}/_constants.d.ts +0 -0
  2563. /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.3}/iterate_reader.d.ts +0 -0
  2564. /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.3}/types.d.ts +0 -0
  2565. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/assert_path.d.ts +0 -0
  2566. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/basename.d.ts +0 -0
  2567. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/constants.d.ts +0 -0
  2568. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/normalize.d.ts +0 -0
  2569. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/normalize_string.d.ts +0 -0
  2570. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/strip_trailing_separators.d.ts +0 -0
  2571. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/to_file_url.d.ts +0 -0
  2572. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/is_absolute.d.ts +0 -0
  2573. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/_util.d.ts +0 -0
  2574. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/is_absolute.d.ts +0 -0
  2575. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/to_file_url.d.ts +0 -0
  2576. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/to_file_url.d.ts +0 -0
  2577. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/_util.d.ts +0 -0
  2578. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/is_absolute.d.ts +0 -0
  2579. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/to_file_url.d.ts +0 -0
  2580. /package/esm/deps/jsr.io/@std/streams/{1.0.8 → 1.0.17}/to_array_buffer.d.ts +0 -0
  2581. /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.19}/assertion_error.d.ts +0 -0
  2582. /package/script/deps/jsr.io/@std/assert/{1.0.8 → 1.0.19}/unreachable.d.ts +0 -0
  2583. /package/script/deps/jsr.io/@std/internal/{1.0.5 → 1.0.12}/diff.d.ts +0 -0
  2584. /package/script/deps/jsr.io/@std/internal/{1.0.5 → 1.0.12}/diff_str.d.ts +0 -0
  2585. /package/script/deps/jsr.io/@std/internal/{1.0.5 → 1.0.12}/styles.d.ts +0 -0
  2586. /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.3}/_constants.d.ts +0 -0
  2587. /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.3}/iterate_reader.d.ts +0 -0
  2588. /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.3}/types.d.ts +0 -0
  2589. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/assert_path.d.ts +0 -0
  2590. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/basename.d.ts +0 -0
  2591. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/constants.d.ts +0 -0
  2592. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/normalize.d.ts +0 -0
  2593. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/normalize_string.d.ts +0 -0
  2594. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/strip_trailing_separators.d.ts +0 -0
  2595. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/_common/to_file_url.d.ts +0 -0
  2596. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/is_absolute.d.ts +0 -0
  2597. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/_util.d.ts +0 -0
  2598. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/is_absolute.d.ts +0 -0
  2599. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/posix/to_file_url.d.ts +0 -0
  2600. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/to_file_url.d.ts +0 -0
  2601. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/_util.d.ts +0 -0
  2602. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/is_absolute.d.ts +0 -0
  2603. /package/script/deps/jsr.io/@std/path/{1.0.8 → 1.1.4}/windows/to_file_url.d.ts +0 -0
  2604. /package/script/deps/jsr.io/@std/streams/{1.0.8 → 1.0.17}/to_array_buffer.d.ts +0 -0
@@ -0,0 +1,1421 @@
1
+ /**
2
+ * MTKruto - Cross-runtime JavaScript library for building Telegram clients
3
+ * Copyright (C) 2023-2026 Roj <https://roj.im/>
4
+ *
5
+ * This file is part of MTKruto.
6
+ *
7
+ * This program is free software: you can redistribute it and/or modify
8
+ * it under the terms of the GNU Lesser General Public License as published by
9
+ * the Free Software Foundation, either version 3 of the License, or
10
+ * (at your option) any later version.
11
+ *
12
+ * This program is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ * GNU Lesser General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public License
18
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+ */
20
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
21
+ if (kind === "m") throw new TypeError("Private method is not writable");
22
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
23
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
24
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
25
+ };
26
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
27
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
28
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
29
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
30
+ };
31
+ var _Context_instances, _Context_client, _Context_me, _Context_update, _Context_mustGetMsg, _Context_mustGetChatId, _Context_mustGetUserId, _Context_mustGetInlineMsgId, _Context_getReplyTo;
32
+ import { unreachable } from "../0_deps.js";
33
+ import { InputError } from "../0_errors.js";
34
+ import { toJSON } from "../2_tl.js";
35
+ import { match } from "./3_filters.js";
36
+ const staticHas = {
37
+ filterQuery(filter) {
38
+ return (ctx) => {
39
+ return match(filter, ctx.update);
40
+ };
41
+ },
42
+ command(commands, fallbackPrefixes) {
43
+ const hasText = staticHas.filterQuery("message:text");
44
+ const commands__ = typeof commands === "object" && "names" in commands ? commands.names : commands;
45
+ const commands_ = Array.isArray(commands__) ? commands__ : [commands__];
46
+ const prefixes_ = typeof commands === "object" && "prefixes" in commands ? commands.prefixes : (fallbackPrefixes ?? []);
47
+ const prefixes = Array.isArray(prefixes_) ? prefixes_ : [prefixes_];
48
+ for (const left of prefixes) {
49
+ for (const right of prefixes) {
50
+ if (left === right) {
51
+ continue;
52
+ }
53
+ if (left.startsWith(right) || right.startsWith(left)) {
54
+ throw new InputError("Intersecting prefixes");
55
+ }
56
+ }
57
+ }
58
+ return (ctx) => {
59
+ if (!hasText(ctx)) {
60
+ return false;
61
+ }
62
+ const prefixes_ = prefixes.length === 0 ? [!ctx.me?.isBot ? "\\" : "/"] : prefixes;
63
+ if (prefixes_.length === 0) {
64
+ return false;
65
+ }
66
+ const cmd = ctx.update.message.text.split(/\s/, 1)[0];
67
+ const prefix = prefixes_.find((v) => cmd.startsWith(v));
68
+ if (prefix === undefined) {
69
+ return false;
70
+ }
71
+ if (cmd.includes("@")) {
72
+ const username = cmd.split("@", 2)[1];
73
+ if (username.toLowerCase() !== ctx.me.username?.toLowerCase()) {
74
+ return false;
75
+ }
76
+ }
77
+ const command_ = cmd.split("@", 1)[0].split(prefix, 2)[1].toLowerCase();
78
+ for (const command of commands_) {
79
+ if (typeof command === "string" && (command.toLowerCase() === command_)) {
80
+ return true;
81
+ }
82
+ else if (command instanceof RegExp && command.test(command_)) {
83
+ return true;
84
+ }
85
+ }
86
+ return false;
87
+ };
88
+ },
89
+ callbackQuery(data) {
90
+ const hasCallbackQueryData = staticHas.filterQuery("callbackQuery:data");
91
+ const data_ = Array.isArray(data) ? data : [data];
92
+ return (ctx) => {
93
+ if (!hasCallbackQueryData(ctx)) {
94
+ return false;
95
+ }
96
+ for (const data of data_) {
97
+ if (typeof data === "string" && data === ctx.update.callbackQuery.data) {
98
+ return true;
99
+ }
100
+ else if (data instanceof RegExp && data.test(ctx.update.callbackQuery.data)) {
101
+ return true;
102
+ }
103
+ }
104
+ return false;
105
+ };
106
+ },
107
+ inlineQuery(queries) {
108
+ const hasInlineQuery = staticHas.filterQuery("inlineQuery");
109
+ const queries_ = Array.isArray(queries) ? queries : [queries];
110
+ return (ctx) => {
111
+ if (!hasInlineQuery(ctx)) {
112
+ return false;
113
+ }
114
+ for (const query of queries_) {
115
+ if (typeof query === "string" && query === ctx.update.inlineQuery.query) {
116
+ return true;
117
+ }
118
+ else if (query instanceof RegExp && query.test(ctx.update.inlineQuery.query)) {
119
+ return true;
120
+ }
121
+ }
122
+ return false;
123
+ };
124
+ },
125
+ chosenInlineResult(queries) {
126
+ const hasChosenInlineResult = staticHas.filterQuery("chosenInlineResult");
127
+ const queries_ = Array.isArray(queries) ? queries : [queries];
128
+ return (ctx) => {
129
+ if (!hasChosenInlineResult(ctx)) {
130
+ return false;
131
+ }
132
+ for (const query of queries_) {
133
+ if (typeof query === "string" && query === ctx.update.chosenInlineResult.query) {
134
+ return true;
135
+ }
136
+ else if (query instanceof RegExp && query.test(ctx.update.chosenInlineResult.query)) {
137
+ return true;
138
+ }
139
+ }
140
+ return false;
141
+ };
142
+ },
143
+ chatType(chatType) {
144
+ const set = new Set(Array.isArray(chatType) ? chatType : [chatType]);
145
+ return (ctx) => {
146
+ return ctx.chat !== undefined && set.has(ctx.chat.type);
147
+ };
148
+ },
149
+ };
150
+ /**
151
+ * The context object that is passed to the client's update handlers.
152
+ *
153
+ * It wraps the {@link Update} type with shortcuts and method aliases.
154
+ */
155
+ export class Context {
156
+ constructor(client, me, update) {
157
+ _Context_instances.add(this);
158
+ _Context_client.set(this, void 0);
159
+ _Context_me.set(this, void 0);
160
+ _Context_update.set(this, void 0);
161
+ _Context_getReplyTo.set(this, (isQuoted, chatId, messageId) => {
162
+ if ("story" in this.update) {
163
+ return { replyTo: { chatId: this.update.story.chat.id, storyId: this.update.story.id } };
164
+ }
165
+ let messageThreadId = undefined;
166
+ if ("message" in this.update) {
167
+ messageThreadId = this.update.message.threadId;
168
+ }
169
+ else if ("editedMessage" in this.update) {
170
+ messageThreadId = this.update.editedMessage.threadId;
171
+ }
172
+ else if ("scheduledMessage" in this.update) {
173
+ messageThreadId = this.update.scheduledMessage.threadId;
174
+ }
175
+ const isPrivate = chatId > 0;
176
+ const shouldQuote = isQuoted === undefined ? !isPrivate : isQuoted;
177
+ return { messageThreadId, replyTo: shouldQuote ? { messageId } : undefined };
178
+ });
179
+ __classPrivateFieldSet(this, _Context_client, client, "f");
180
+ __classPrivateFieldSet(this, _Context_me, me, "f");
181
+ __classPrivateFieldSet(this, _Context_update, update, "f");
182
+ }
183
+ get update() {
184
+ return __classPrivateFieldGet(this, _Context_update, "f");
185
+ }
186
+ get me() {
187
+ return __classPrivateFieldGet(this, _Context_me, "f");
188
+ }
189
+ get client() {
190
+ return __classPrivateFieldGet(this, _Context_client, "f");
191
+ }
192
+ get msg() {
193
+ return "message" in this.update ? this.update.message : "editedMessage" in this.update ? this.update.editedMessage : "scheduledMessage" in this.update ? this.update.scheduledMessage : "callbackQuery" in this.update ? this.update.callbackQuery.message : undefined;
194
+ }
195
+ get message() {
196
+ return "message" in this.update ? this.update.message : undefined;
197
+ }
198
+ get editedMessage() {
199
+ return "editedMessage" in this.update ? this.update.editedMessage : undefined;
200
+ }
201
+ get callbackQuery() {
202
+ return "callbackQuery" in this.update ? this.update.callbackQuery : undefined;
203
+ }
204
+ get inlineQuery() {
205
+ return "inlineQuery" in this.update ? this.update.inlineQuery : undefined;
206
+ }
207
+ get chosenInlineResult() {
208
+ return "chosenInlineResult" in this.update ? this.update.chosenInlineResult : undefined;
209
+ }
210
+ get chat() {
211
+ return this.msg?.chat ?? ("messageReactions" in this.update ? this.update.messageReactions.chat : "messageReactionCount" in this.update ? this.update.messageReactionCount.chat : "chatMember" in this.update ? this.update.chatMember.chat : "myChatMember" in this.update ? this.update.myChatMember.chat : "joinRequest" in this.update ? this.update.joinRequest.chat : "story" in this.update ? this.update.story.chat : undefined);
212
+ }
213
+ get from() {
214
+ const from = "callbackQuery" in this.update ? this.update.callbackQuery.from : "inlineQuery" in this.update ? this.update.inlineQuery.from : "chatMember" in this.update ? this.update.chatMember.from : "myChatMember" in this.update ? this.update.myChatMember.from : "messageReactions" in this.update ? this.update.messageReactions.user : "preCheckoutQuery" in this.update ? this.update.preCheckoutQuery.from : "joinRequest" in this.update ? this.update.joinRequest.from : "businessConnection" in this.update ? this.update.businessConnection.user : "pollAnswer" in this.update ? this.update.pollAnswer.from : this.msg?.from;
215
+ return from;
216
+ }
217
+ hasFilterQuery(filter) {
218
+ return Context.has.filterQuery(filter)(this);
219
+ }
220
+ hasCommand(commands, fallbackPrefixes) {
221
+ return Context.has.command(commands, fallbackPrefixes)(this);
222
+ }
223
+ hasCallbackQuery(data) {
224
+ return Context.has.callbackQuery(data)(this);
225
+ }
226
+ hasInlineQuery(queries) {
227
+ return Context.has.inlineQuery(queries)(this);
228
+ }
229
+ hasChosenInlineResult(queries) {
230
+ return Context.has.chosenInlineResult(queries)(this);
231
+ }
232
+ hasChatType(chatType) {
233
+ return Context.has.chatType(chatType)(this);
234
+ }
235
+ /**
236
+ * Returns a representation of the update held in the context that can be converted to JSON.
237
+ *
238
+ * @returns A representation of the update in a way that can be converted to JSON.
239
+ */
240
+ toJSON() {
241
+ if ("update" in this.update) {
242
+ return { update: toJSON(this.update.update) };
243
+ }
244
+ else {
245
+ return this.update;
246
+ }
247
+ }
248
+ /**
249
+ * Context-aware alias for {@link Client.addContact}.
250
+ */
251
+ async addAsContact(params) {
252
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
253
+ return await this.client.addContact(chatId, params);
254
+ }
255
+ /**
256
+ * Context-aware alias for {@link Client.addChatMember}.
257
+ */
258
+ async addMember(userId, params) {
259
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
260
+ return await this.client.addChatMember(chatId, userId, params);
261
+ }
262
+ /**
263
+ * Context-aware alias for {@link Client.addChatMembers}.
264
+ */
265
+ async addMembers(userIds) {
266
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
267
+ return await this.client.addChatMembers(chatId, userIds);
268
+ }
269
+ /**
270
+ * Context-aware alias for {@link Client.addReaction}.
271
+ */
272
+ async addReaction(messageId, reaction, params) {
273
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
274
+ return await this.client.addReaction(chatId, messageId, reaction, params);
275
+ }
276
+ /**
277
+ * Context-aware alias for {@link Client.addStoriesToHighlights}.
278
+ */
279
+ async addStoriesToHighlights(storyIds) {
280
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
281
+ return await this.client.addStoriesToHighlights(chatId, storyIds);
282
+ }
283
+ /**
284
+ * Context-aware alias for {@link Client.addStoryToHighlights}.
285
+ */
286
+ async addStoryToHighlights(storyId) {
287
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
288
+ return await this.client.addStoryToHighlights(chatId, storyId);
289
+ }
290
+ /**
291
+ * Context-aware alias for {@link Client.addToChecklist}.
292
+ */
293
+ async addToChecklist(messageId, items) {
294
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
295
+ return await this.client.addToChecklist(chatId, messageId, items);
296
+ }
297
+ /**
298
+ * Context-aware alias for {@link Client.answerCallbackQuery}.
299
+ */
300
+ async answerCallbackQuery(params) {
301
+ if (!("callbackQuery" in this.update)) {
302
+ unreachable();
303
+ }
304
+ return await this.client.answerCallbackQuery(this.update.callbackQuery.id, params);
305
+ }
306
+ /**
307
+ * Context-aware alias for {@link Client.answerInlineQuery}.
308
+ */
309
+ async answerInlineQuery(results, params) {
310
+ if (!("inlineQuery" in this.update)) {
311
+ unreachable();
312
+ }
313
+ return await this.client.answerInlineQuery(this.update.inlineQuery.id, results, params);
314
+ }
315
+ /**
316
+ * Context-aware alias for {@link Client.answerPreCheckoutQuery}.
317
+ */
318
+ async answerPreCheckoutQuery(ok, params) {
319
+ if (!("preCheckoutQuery" in this.update)) {
320
+ unreachable();
321
+ }
322
+ return await this.client.answerPreCheckoutQuery(this.update.preCheckoutQuery.id, ok, params);
323
+ }
324
+ /**
325
+ * Context-aware alias for {@link Client.approveJoinRequest}.
326
+ */
327
+ async approveJoinRequest() {
328
+ const { chatId, userId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
329
+ if (!userId) {
330
+ unreachable();
331
+ }
332
+ return await this.client.approveJoinRequest(chatId, userId);
333
+ }
334
+ /**
335
+ * Context-aware alias for {@link Client.approveJoinRequests}.
336
+ */
337
+ async approveJoinRequests(params) {
338
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
339
+ return await this.client.approveJoinRequests(chatId, params);
340
+ }
341
+ /**
342
+ * Context-aware alias for {@link Client.archiveChat}.
343
+ */
344
+ async archive() {
345
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
346
+ return await this.client.archiveChat(chatId);
347
+ }
348
+ /**
349
+ * Context-aware alias for {@link Client.banChatMember}.
350
+ */
351
+ async banChatMember(memberId, params) {
352
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
353
+ return await this.client.banChatMember(chatId, memberId, params);
354
+ }
355
+ /**
356
+ * Context-aware alias for {@link Client.banChatMember}.
357
+ */
358
+ async banSender(params) {
359
+ const { chatId, senderId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
360
+ if (!senderId) {
361
+ unreachable();
362
+ }
363
+ return await this.client.banChatMember(chatId, senderId, params);
364
+ }
365
+ /**
366
+ * Context-aware alias for {@link Client.blockUser}.
367
+ */
368
+ async blockUser() {
369
+ return await this.client.blockUser(__classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetUserId).call(this));
370
+ }
371
+ /**
372
+ * Context-aware alias for {@link Client.checkChecklistItem}.
373
+ */
374
+ async checkChecklistItem(messageId, item) {
375
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
376
+ return await this.client.checkChecklistItem(chatId, messageId, item);
377
+ }
378
+ /**
379
+ * Context-aware alias for {@link Client.checkChecklistItems}.
380
+ */
381
+ async checkChecklistItems(messageId, items) {
382
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
383
+ return await this.client.checkChecklistItems(chatId, messageId, items);
384
+ }
385
+ /**
386
+ * Context-aware alias for {@link Client.closeChat}.
387
+ */
388
+ async close() {
389
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
390
+ return await this.client.closeChat(chatId);
391
+ }
392
+ /**
393
+ * Context-aware alias for {@link Client.closeTopic}.
394
+ */
395
+ async closeTopic(topicId) {
396
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
397
+ return await this.client.closeTopic(chatId, topicId);
398
+ }
399
+ /**
400
+ * Context-aware alias for {@link Client.createInviteLink}.
401
+ */
402
+ async createInviteLink(params) {
403
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
404
+ return await this.client.createInviteLink(chatId, params);
405
+ }
406
+ /**
407
+ * Context-aware alias for {@link Client.createStory}.
408
+ */
409
+ async createStory(content, params) {
410
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
411
+ return await this.client.createStory(chatId, content, params);
412
+ }
413
+ /**
414
+ * Context-aware alias for {@link Client.createTopic}.
415
+ */
416
+ async createTopic(title, params) {
417
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
418
+ return await this.client.createTopic(chatId, title, params);
419
+ }
420
+ /**
421
+ * Context-aware alias for {@link Client.declineJoinRequest}.
422
+ */
423
+ async declineJoinRequest() {
424
+ const { chatId, userId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
425
+ if (!userId) {
426
+ unreachable();
427
+ }
428
+ return await this.client.declineJoinRequest(chatId, userId);
429
+ }
430
+ /**
431
+ * Context-aware alias for {@link Client.declineJoinRequests}.
432
+ */
433
+ async declineJoinRequests(params) {
434
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
435
+ return await this.client.declineJoinRequests(chatId, params);
436
+ }
437
+ /**
438
+ * Context-aware alias for {@link Client.deleteChatPhoto}.
439
+ */
440
+ async deletChatPhoto() {
441
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
442
+ return await this.client.deleteChatPhoto(chatId);
443
+ }
444
+ /**
445
+ * Context-aware alias for {@link Client.deleteMessage}.
446
+ */
447
+ async delete() {
448
+ const { chatId, messageId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
449
+ return await this.client.deleteMessage(chatId, messageId);
450
+ }
451
+ /**
452
+ * Context-aware alias for {@link Client.deleteChat}.
453
+ */
454
+ async deleteChat() {
455
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
456
+ return await this.client.deleteChat(chatId);
457
+ }
458
+ /**
459
+ * Context-aware alias for {@link Client.deleteChatMemberMessages}.
460
+ */
461
+ async deleteChatMemberMessages(userId) {
462
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
463
+ return await this.client.deleteChatMemberMessages(chatId, userId);
464
+ }
465
+ /**
466
+ * Context-aware alias for {@link Client.deleteChatStickerSet}.
467
+ */
468
+ async deleteChatStickerSet() {
469
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
470
+ return await this.client.deleteChatStickerSet(chatId);
471
+ }
472
+ /**
473
+ * Context-aware alias for {@link Client.deleteMessage}.
474
+ */
475
+ async deleteMessage(messageId, params) {
476
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
477
+ return await this.client.deleteMessage(chatId, messageId, params);
478
+ }
479
+ /**
480
+ * Context-aware alias for {@link Client.deleteMessages}.
481
+ */
482
+ async deleteMessages(messageIds, params) {
483
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
484
+ return await this.client.deleteMessages(chatId, messageIds, params);
485
+ }
486
+ /**
487
+ * Context-aware alias for {@link Client.deleteScheduledMessage}.
488
+ */
489
+ async deleteScheduledMessage(messageId) {
490
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
491
+ return await this.client.deleteScheduledMessage(chatId, messageId);
492
+ }
493
+ /**
494
+ * Context-aware alias for {@link Client.deleteScheduledMessages}.
495
+ */
496
+ async deleteScheduledMessages(messageIds) {
497
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
498
+ return await this.client.deleteScheduledMessages(chatId, messageIds);
499
+ }
500
+ /**
501
+ * Context-aware alias for {@link Client.deleteStories}.
502
+ */
503
+ async deleteStories(storyIds) {
504
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
505
+ return await this.client.deleteStories(chatId, storyIds);
506
+ }
507
+ /**
508
+ * Context-aware alias for {@link Client.deleteStory}.
509
+ */
510
+ async deleteStory(storyId) {
511
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
512
+ return await this.client.deleteStory(chatId, storyId);
513
+ }
514
+ /**
515
+ * Context-aware alias for {@link Client.disableAntispam}.
516
+ */
517
+ async disableAntispam() {
518
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
519
+ return await this.client.disableAntispam(chatId);
520
+ }
521
+ /**
522
+ * Context-aware alias for {@link Client.disableBusinessBots}.
523
+ */
524
+ async disableBusinessBots() {
525
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
526
+ return await this.client.disableBusinessBots(chatId);
527
+ }
528
+ /**
529
+ * Context-aware alias for {@link Client.disableJoinRequests}.
530
+ */
531
+ async disableJoinRequests() {
532
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
533
+ return await this.client.disableJoinRequests(chatId);
534
+ }
535
+ /**
536
+ * Context-aware alias for {@link Client.disableSharing}.
537
+ */
538
+ async disableSharing() {
539
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
540
+ return await this.client.disableSharing(chatId);
541
+ }
542
+ /**
543
+ * Context-aware alias for {@link Client.disableSignatures}.
544
+ */
545
+ async disableSignatures() {
546
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
547
+ return await this.client.disableSignatures(chatId);
548
+ }
549
+ /**
550
+ * Context-aware alias for {@link Client.disableSlowMode}.
551
+ */
552
+ async disableSlowMode() {
553
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
554
+ return await this.client.disableSlowMode(chatId);
555
+ }
556
+ /**
557
+ * Context-aware alias for {@link Client.disableTopics}.
558
+ */
559
+ async disableTopics() {
560
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
561
+ return await this.client.disableTopics(chatId);
562
+ }
563
+ /**
564
+ * Context-aware alias for {@link Client.editInlineMessageCaption}.
565
+ */
566
+ async editInlineMessageCaption(params) {
567
+ const inlineMessageId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetInlineMsgId).call(this);
568
+ return await this.client.editInlineMessageCaption(inlineMessageId, params);
569
+ }
570
+ /**
571
+ * Context-aware alias for {@link Client.editInlineMessageLiveLocation}.
572
+ */
573
+ async editInlineMessageLiveLocation(latitude, longitude, params) {
574
+ const inlineMessageId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetInlineMsgId).call(this);
575
+ return await this.client.editInlineMessageLiveLocation(inlineMessageId, latitude, longitude, params);
576
+ }
577
+ /**
578
+ * Context-aware alias for {@link Client.editInlineMessageMedia}.
579
+ */
580
+ async editInlineMessageMedia(media, params) {
581
+ const inlineMessageId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetInlineMsgId).call(this);
582
+ return await this.client.editInlineMessageMedia(inlineMessageId, media, params);
583
+ }
584
+ /**
585
+ * Context-aware alias for {@link Client.editInlineMessageReplyMarkup}.
586
+ */
587
+ async editInlineMessageReplyMarkup(params) {
588
+ const inlineMessageId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetInlineMsgId).call(this);
589
+ return await this.client.editInlineMessageReplyMarkup(inlineMessageId, params);
590
+ }
591
+ /**
592
+ * Context-aware alias for {@link Client.editInlineMessageText}.
593
+ */
594
+ async editInlineMessageText(text, params) {
595
+ const inlineMessageId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetInlineMsgId).call(this);
596
+ return await this.client.editInlineMessageText(inlineMessageId, text, params);
597
+ }
598
+ /**
599
+ * Context-aware alias for {@link Client.editMessageCaption}.
600
+ */
601
+ async editMessageCaption(messageId, params) {
602
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
603
+ return await this.client.editMessageCaption(chatId, messageId, params);
604
+ }
605
+ /**
606
+ * Context-aware alias for {@link Client.editMessageLiveLocation}.
607
+ */
608
+ async editMessageLiveLocation(messageId, latitude, longitude, params) {
609
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
610
+ return await this.client.editMessageLiveLocation(chatId, messageId, latitude, longitude, params);
611
+ }
612
+ /**
613
+ * Context-aware alias for {@link Client.editMessageMedia}.
614
+ */
615
+ async editMessageMedia(messageId, media, params) {
616
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
617
+ return await this.client.editMessageMedia(chatId, messageId, media, params);
618
+ }
619
+ /**
620
+ * Context-aware alias for {@link Client.editMessageReplyMarkup}.
621
+ */
622
+ async editMessageReplyMarkup(messageId, params) {
623
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
624
+ return await this.client.editMessageReplyMarkup(chatId, messageId, params);
625
+ }
626
+ /**
627
+ * Context-aware alias for {@link Client.editMessageText}.
628
+ */
629
+ async editMessageText(messageId, text, params) {
630
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
631
+ return await this.client.editMessageText(chatId, messageId, text, params);
632
+ }
633
+ /**
634
+ * Context-aware alias for {@link Client.editTopic}.
635
+ */
636
+ async editTopic(topicId, title, params) {
637
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
638
+ return await this.client.editTopic(chatId, topicId, title, params);
639
+ }
640
+ /**
641
+ * Context-aware alias for {@link Client.enableAntispam}.
642
+ */
643
+ async enableAntispam() {
644
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
645
+ return await this.client.enableAntispam(chatId);
646
+ }
647
+ /**
648
+ * Context-aware alias for {@link Client.enableBusinessBots}.
649
+ */
650
+ async enableBusinessBots() {
651
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
652
+ return await this.client.enableBusinessBots(chatId);
653
+ }
654
+ /**
655
+ * Context-aware alias for {@link Client.enableJoinRequests}.
656
+ */
657
+ async enableJoinRequests() {
658
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
659
+ return await this.client.enableJoinRequests(chatId);
660
+ }
661
+ /**
662
+ * Context-aware alias for {@link Client.enableSharing}.
663
+ */
664
+ async enableSharing() {
665
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
666
+ return await this.client.enableSharing(chatId);
667
+ }
668
+ /**
669
+ * Context-aware alias for {@link Client.enableSignatures}.
670
+ */
671
+ async enableSignatures(params) {
672
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
673
+ return await this.client.enableSignatures(chatId, params);
674
+ }
675
+ /**
676
+ * Context-aware alias for {@link Client.enableTopics}.
677
+ */
678
+ async enableTopics(isShownAsTabs) {
679
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
680
+ return await this.client.enableTopics(chatId, isShownAsTabs);
681
+ }
682
+ /**
683
+ * Context-aware alias for {@link Client.forwardMessage}.
684
+ */
685
+ async forward(to, params) {
686
+ const { chatId, messageId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
687
+ return await this.client.forwardMessage(chatId, to, messageId, params);
688
+ }
689
+ /**
690
+ * Context-aware alias for {@link Client.forwardMessage}.
691
+ */
692
+ async forwardMessage(to, messageId, params) {
693
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
694
+ return await this.client.forwardMessage(chatId, to, messageId, params);
695
+ }
696
+ /**
697
+ * Context-aware alias for {@link Client.forwardMessages}.
698
+ */
699
+ async forwardMessages(to, messageIds, params) {
700
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
701
+ return await this.client.forwardMessages(chatId, to, messageIds, params);
702
+ }
703
+ /**
704
+ * Context-aware alias for {@link Client.getBusinessConnection}.
705
+ */
706
+ async getBusinessConnection() {
707
+ const { businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
708
+ if (!businessConnectionId) {
709
+ unreachable();
710
+ }
711
+ return await this.client.getBusinessConnection(businessConnectionId);
712
+ }
713
+ /**
714
+ * Context-aware alias for {@link Client.getChat}.
715
+ */
716
+ async getChat() {
717
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
718
+ return await this.client.getChat(chatId);
719
+ }
720
+ /**
721
+ * Context-aware alias for {@link Client.getChatAdministrators}.
722
+ */
723
+ async getChatAdministrators() {
724
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
725
+ return await this.client.getChatAdministrators(chatId);
726
+ }
727
+ /**
728
+ * Context-aware alias for {@link Client.getChatMember}.
729
+ */
730
+ async getChatMember(userId) {
731
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
732
+ return await this.client.getChatMember(chatId, userId);
733
+ }
734
+ /**
735
+ * Context-aware alias for {@link Client.getChatMembers}.
736
+ */
737
+ async getChatMembers(params) {
738
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
739
+ return await this.client.getChatMembers(chatId, params);
740
+ }
741
+ /**
742
+ * Context-aware alias for {@link Client.getChatSettings}.
743
+ */
744
+ async getChatSettings() {
745
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
746
+ return await this.client.getChatSettings(chatId);
747
+ }
748
+ /**
749
+ * Context-aware alias for {@link Client.getClaimedGifts}.
750
+ */
751
+ async getClaimedGifts(params) {
752
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
753
+ return await this.client.getClaimedGifts(chatId, params);
754
+ }
755
+ /**
756
+ * Context-aware alias for {@link Client.getChatSettings}.
757
+ */
758
+ async getCommonChats() {
759
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
760
+ return await this.client.getCommonChats(chatId);
761
+ }
762
+ /**
763
+ * Context-aware alias for {@link Client.getCreatedInviteLinks}.
764
+ */
765
+ async getCreatedInviteLinks(params) {
766
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
767
+ return await this.client.getCreatedInviteLinks(chatId, params);
768
+ }
769
+ /**
770
+ * Context-aware alias for {@link Client.getHistory}.
771
+ */
772
+ async getHistory(params) {
773
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
774
+ return await this.client.getHistory(chatId, params);
775
+ }
776
+ /**
777
+ * Context-aware alias for {@link Client.getJoinRequests}.
778
+ */
779
+ async getJoinRequests(params) {
780
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
781
+ return await this.client.getJoinRequests(chatId, params);
782
+ }
783
+ /**
784
+ * Context-aware alias for {@link Client.getMessage}.
785
+ */
786
+ async getMessage(messageId) {
787
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
788
+ return await this.client.getMessage(chatId, messageId);
789
+ }
790
+ /**
791
+ * Context-aware alias for {@link Client.getMessageReactions}.
792
+ */
793
+ async getMessageReactions(messageId) {
794
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
795
+ return await this.client.getMessageReactions(chatId, messageId);
796
+ }
797
+ /**
798
+ * Context-aware alias for {@link Client.getMessages}.
799
+ */
800
+ async getMessages(messageIds) {
801
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
802
+ return await this.client.getMessages(chatId, messageIds);
803
+ }
804
+ /**
805
+ * Context-aware alias for {@link Client.getSavedMessages}.
806
+ */
807
+ async getSavedMessages(params) {
808
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
809
+ return await this.client.getSavedMessages(chatId, params);
810
+ }
811
+ /**
812
+ * Context-aware alias for {@link Client.getSimilarBots}.
813
+ */
814
+ async getSimilarBots() {
815
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
816
+ return await this.client.getSimilarBots(chatId);
817
+ }
818
+ /**
819
+ * Context-aware alias for {@link Client.getSimilarChannels}.
820
+ */
821
+ async getSimilarChannels() {
822
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
823
+ return await this.client.getSimilarChannels(chatId);
824
+ }
825
+ /**
826
+ * Context-aware alias for {@link Client.getStories}.
827
+ */
828
+ async getStories(storyIds) {
829
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
830
+ return await this.client.getStories(chatId, storyIds);
831
+ }
832
+ /**
833
+ * Context-aware alias for {@link Client.getStory}.
834
+ */
835
+ async getStory(storyId) {
836
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
837
+ return await this.client.getStory(chatId, storyId);
838
+ }
839
+ /**
840
+ * Context-aware alias for {@link Client.sendGift}.
841
+ */
842
+ async gift(giftId, params) {
843
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
844
+ return await this.client.sendGift(chatId, giftId, params);
845
+ }
846
+ /**
847
+ * Context-aware alias for {@link Client.hideGeneralTopic}.
848
+ */
849
+ async hideGeneralTopic() {
850
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
851
+ return await this.client.hideGeneralTopic(chatId);
852
+ }
853
+ /**
854
+ * Context-aware alias for {@link Client.hideMemberList}.
855
+ */
856
+ async hideMemberList() {
857
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
858
+ return await this.client.hideMemberList(chatId);
859
+ }
860
+ /**
861
+ * Context-aware alias for {@link Client.kickChatMember}.
862
+ */
863
+ async kickChatMember(memberId) {
864
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
865
+ return await this.client.kickChatMember(chatId, memberId);
866
+ }
867
+ /**
868
+ * Context-aware alias for {@link Client.kickChatMember}.
869
+ */
870
+ async kickSender() {
871
+ const { chatId, senderId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
872
+ if (!senderId) {
873
+ unreachable();
874
+ }
875
+ return await this.client.kickChatMember(chatId, senderId);
876
+ }
877
+ /**
878
+ * Context-aware alias for {@link Client.leaveChat}.
879
+ */
880
+ async leaveChat() {
881
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
882
+ return await this.client.leaveChat(chatId);
883
+ }
884
+ /**
885
+ * Context-aware alias for {@link Client.openChat}.
886
+ */
887
+ async open() {
888
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
889
+ return await this.client.openChat(chatId);
890
+ }
891
+ /**
892
+ * Context-aware alias for {@link Client.pauseBusinessBotConnection}.
893
+ */
894
+ async pauseBusinessBotConnection() {
895
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
896
+ return await this.client.pauseBusinessBotConnection(chatId);
897
+ }
898
+ /**
899
+ * Context-aware alias for {@link Client.pinMessage}.
900
+ */
901
+ async pin(params) {
902
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
903
+ return await this.client.pinMessage(chatId, messageId, { ...params, businessConnectionId });
904
+ }
905
+ /**
906
+ * Context-aware alias for {@link Client.pinMessage}.
907
+ */
908
+ async pinMessage(messageId, params) {
909
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
910
+ return await this.client.pinMessage(chatId, messageId, params);
911
+ }
912
+ /**
913
+ * Context-aware alias for {@link Client.pinTopic}.
914
+ */
915
+ async pinTopic(topicId) {
916
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
917
+ return await this.client.pinTopic(chatId, topicId);
918
+ }
919
+ /**
920
+ * Context-aware alias for {@link Client.promoteChatMember}.
921
+ */
922
+ async promoteChatMember(userId, params) {
923
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
924
+ return await this.client.promoteChatMember(chatId, userId, params);
925
+ }
926
+ /**
927
+ * Context-aware alias for {@link Client.setReactions}.
928
+ */
929
+ async react(reactions, params) {
930
+ const { chatId, messageId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
931
+ return await this.client.setReactions(chatId, messageId, reactions, params);
932
+ }
933
+ /**
934
+ * Context-aware alias for {@link Client.readMessages}.
935
+ */
936
+ async read() {
937
+ const { chatId, messageId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
938
+ return await this.client.readMessages(chatId, messageId);
939
+ }
940
+ /**
941
+ * Context-aware alias for {@link Client.refundStarPayment}.
942
+ */
943
+ async refundStarPayment(telegramPaymentChargeId) {
944
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
945
+ return await this.client.refundStarPayment(chatId, telegramPaymentChargeId);
946
+ }
947
+ /**
948
+ * Context-aware alias for {@link Client.deleteContact}.
949
+ */
950
+ async removeAsContact() {
951
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
952
+ return await this.client.deleteContact(chatId);
953
+ }
954
+ /**
955
+ * Context-aware alias for {@link Client.removeReaction}.
956
+ */
957
+ async removeReaction(messageId, reaction) {
958
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
959
+ return await this.client.removeReaction(chatId, messageId, reaction);
960
+ }
961
+ /**
962
+ * Context-aware alias for {@link Client.removeStoriesFromHighlights}.
963
+ */
964
+ async removeStoriesFromHighlights(storyIds) {
965
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
966
+ return await this.client.removeStoriesFromHighlights(chatId, storyIds);
967
+ }
968
+ /**
969
+ * Context-aware alias for {@link Client.removeStoryFromHighlights}.
970
+ */
971
+ async removeStoryFromHighlights(storyId) {
972
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
973
+ return await this.client.removeStoryFromHighlights(chatId, storyId);
974
+ }
975
+ /**
976
+ * Context-aware alias for {@link Client.reopenTopic}.
977
+ */
978
+ async reopenTopic(topicId) {
979
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
980
+ return await this.client.reopenTopic(chatId, topicId);
981
+ }
982
+ /**
983
+ * Context-aware alias for {@link Client.sendMessage}.
984
+ */
985
+ async reply(text, params) {
986
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
987
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
988
+ return await this.client.sendMessage(chatId, text, { ...params, ...replyTo, businessConnectionId });
989
+ }
990
+ /**
991
+ * Context-aware alias for {@link Client.sendAnimation}.
992
+ */
993
+ async replyAnimation(animation, params) {
994
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
995
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
996
+ return await this.client.sendAnimation(chatId, animation, { ...params, ...replyTo, businessConnectionId });
997
+ }
998
+ /**
999
+ * Context-aware alias for {@link Client.sendAudio}.
1000
+ */
1001
+ async replyAudio(audio, params) {
1002
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1003
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1004
+ return await this.client.sendAudio(chatId, audio, { ...params, ...replyTo, businessConnectionId });
1005
+ }
1006
+ /**
1007
+ * Context-aware alias for {@link Client.sendChecklist}.
1008
+ */
1009
+ async replyChecklist(title, items, params) {
1010
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1011
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1012
+ return await this.client.sendChecklist(chatId, title, items, { ...params, ...replyTo, businessConnectionId });
1013
+ }
1014
+ /**
1015
+ * Context-aware alias for {@link Client.sendContact}.
1016
+ */
1017
+ async replyContact(firstName, number, params) {
1018
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1019
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1020
+ return await this.client.sendContact(chatId, firstName, number, { ...params, ...replyTo, businessConnectionId });
1021
+ }
1022
+ /**
1023
+ * Context-aware alias for {@link Client.sendDice}.
1024
+ */
1025
+ async replyDice(params) {
1026
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1027
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1028
+ return await this.client.sendDice(chatId, { ...params, ...replyTo, businessConnectionId });
1029
+ }
1030
+ /**
1031
+ * Context-aware alias for {@link Client.sendDocument}.
1032
+ */
1033
+ async replyDocument(document, params) {
1034
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1035
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1036
+ return await this.client.sendDocument(chatId, document, { ...params, ...replyTo, businessConnectionId });
1037
+ }
1038
+ /**
1039
+ * Context-aware alias for {@link Client.sendMessageDraft}.
1040
+ */
1041
+ async replyDraft(draftId, text, params) {
1042
+ const { chatId, messageId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1043
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1044
+ return await this.client.sendMessageDraft(chatId, draftId, text, { ...params, ...replyTo });
1045
+ }
1046
+ /**
1047
+ * Context-aware alias for {@link Client.sendInvoice}.
1048
+ */
1049
+ async replyInvoice(title, description, payload, currency, prices, params) {
1050
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1051
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1052
+ return await this.client.sendInvoice(chatId, title, description, payload, currency, prices, { ...params, ...replyTo, businessConnectionId });
1053
+ }
1054
+ /**
1055
+ * Context-aware alias for {@link Client.sendLocation}.
1056
+ */
1057
+ async replyLocation(latitude, longitude, params) {
1058
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1059
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1060
+ return await this.client.sendLocation(chatId, latitude, longitude, { ...params, ...replyTo, businessConnectionId });
1061
+ }
1062
+ /**
1063
+ * Context-aware alias for {@link Client.sendMediaGroup}.
1064
+ */
1065
+ async replyMediaGroup(media, params) {
1066
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1067
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1068
+ return await this.client.sendMediaGroup(chatId, media, { ...params, ...replyTo, businessConnectionId });
1069
+ }
1070
+ /**
1071
+ * Context-aware alias for {@link Client.sendPhoto}.
1072
+ */
1073
+ async replyPhoto(photo, params) {
1074
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1075
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1076
+ return await this.client.sendPhoto(chatId, photo, { ...params, ...replyTo, businessConnectionId });
1077
+ }
1078
+ /**
1079
+ * Context-aware alias for {@link Client.sendPoll}.
1080
+ */
1081
+ async replyPoll(question, options, params) {
1082
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1083
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1084
+ return await this.client.sendPoll(chatId, question, options, { ...params, ...replyTo, businessConnectionId });
1085
+ }
1086
+ /**
1087
+ * Context-aware alias for {@link Client.sendSticker}.
1088
+ */
1089
+ async replySticker(sticker, params) {
1090
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1091
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1092
+ return await this.client.sendSticker(chatId, sticker, { ...params, ...replyTo, businessConnectionId });
1093
+ }
1094
+ /**
1095
+ * Context-aware alias for {@link Client.sendVenue}.
1096
+ */
1097
+ async replyVenue(latitude, longitude, title, address, params) {
1098
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1099
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1100
+ return await this.client.sendVenue(chatId, latitude, longitude, title, address, { ...params, ...replyTo, businessConnectionId });
1101
+ }
1102
+ /**
1103
+ * Context-aware alias for {@link Client.sendVideo}.
1104
+ */
1105
+ async replyVideo(video, params) {
1106
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1107
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1108
+ return await this.client.sendVideo(chatId, video, { ...params, ...replyTo, businessConnectionId });
1109
+ }
1110
+ /**
1111
+ * Context-aware alias for {@link Client.sendVideoNote}.
1112
+ */
1113
+ async replyVideoNote(videoNote, params) {
1114
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1115
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1116
+ return await this.client.sendVideoNote(chatId, videoNote, { ...params, ...replyTo, businessConnectionId });
1117
+ }
1118
+ /**
1119
+ * Context-aware alias for {@link Client.sendVoice}.
1120
+ */
1121
+ async replyVoice(voice, params) {
1122
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1123
+ const replyTo = __classPrivateFieldGet(this, _Context_getReplyTo, "f").call(this, params?.isQuoted, chatId, messageId);
1124
+ return await this.client.sendVoice(chatId, voice, { ...params, ...replyTo, businessConnectionId });
1125
+ }
1126
+ /**
1127
+ * Context-aware alias for {@link Client.resumeBusinessBotConnection}.
1128
+ */
1129
+ async resumeBusinessBotConnection() {
1130
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1131
+ return await this.client.resumeBusinessBotConnection(chatId);
1132
+ }
1133
+ /**
1134
+ * Context-aware alias for {@link Client.scheduleVideoChat}.
1135
+ */
1136
+ async scheduleVideoChat(startAt, params) {
1137
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1138
+ return await this.client.scheduleVideoChat(chatId, startAt, params);
1139
+ }
1140
+ /**
1141
+ * Context-aware alias for {@link Client.searchMessages}.
1142
+ */
1143
+ async searchMessages(params) {
1144
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1145
+ params ??= {};
1146
+ params.chatId = chatId;
1147
+ return await this.client.searchMessages(params);
1148
+ }
1149
+ /**
1150
+ * Context-aware alias for {@link Client.sendChatAction}.
1151
+ */
1152
+ async sendChatAction(action, params) {
1153
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1154
+ return await this.client.sendChatAction(chatId, action, params);
1155
+ }
1156
+ /**
1157
+ * Context-aware alias for {@link Client.sendScheduledMessage}.
1158
+ */
1159
+ async sendScheduledMessage(messageId) {
1160
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1161
+ return await this.client.sendScheduledMessage(chatId, messageId);
1162
+ }
1163
+ /**
1164
+ * Context-aware alias for {@link Client.setAvailableReactions}.
1165
+ */
1166
+ async setAvailableReactions(availableReactions) {
1167
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1168
+ return await this.client.setAvailableReactions(chatId, availableReactions);
1169
+ }
1170
+ /**
1171
+ * Context-aware alias for {@link Client.setBoostsRequiredToCircumventRestrictions}.
1172
+ */
1173
+ async setBoostsRequiredToCircumventRestrictions(boosts) {
1174
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1175
+ return await this.client.setBoostsRequiredToCircumventRestrictions(chatId, boosts);
1176
+ }
1177
+ /**
1178
+ * Context-aware alias for {@link Client.setChatDescription}.
1179
+ */
1180
+ async setChatDescription(description) {
1181
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1182
+ return await this.client.setChatDescription(chatId, description);
1183
+ }
1184
+ /**
1185
+ * Context-aware alias for {@link Client.setChatMemberRights}.
1186
+ */
1187
+ async setChatMemberRights(memberId, params) {
1188
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1189
+ return await this.client.setChatMemberRights(chatId, memberId, params);
1190
+ }
1191
+ /**
1192
+ * Context-aware alias for {@link Client.setChatPhoto}.
1193
+ */
1194
+ async setChatPhoto(photo, params) {
1195
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1196
+ return await this.client.setChatPhoto(chatId, photo, params);
1197
+ }
1198
+ /**
1199
+ * Context-aware alias for {@link Client.setChatStickerSet}.
1200
+ */
1201
+ async setChatStickerSet(setName) {
1202
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1203
+ return await this.client.setChatStickerSet(chatId, setName);
1204
+ }
1205
+ /**
1206
+ * Context-aware alias for {@link Client.setChatTitle}.
1207
+ */
1208
+ async setChatTitle(title) {
1209
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1210
+ return await this.client.setChatTitle(chatId, title);
1211
+ }
1212
+ /**
1213
+ * Context-aware alias for {@link Client.setDiscussionChat}.
1214
+ */
1215
+ async setDiscussionChat(discussionChatId) {
1216
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1217
+ return await this.client.setDiscussionChat(chatId, discussionChatId);
1218
+ }
1219
+ /**
1220
+ * Context-aware alias for {@link Client.setChatMemberTag}.
1221
+ */
1222
+ async setMemberTag(params) {
1223
+ const { chatId, userId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1224
+ if (!userId) {
1225
+ unreachable();
1226
+ }
1227
+ return await this.client.setChatMemberTag(chatId, userId, params);
1228
+ }
1229
+ /**
1230
+ * Context-aware alias for {@link Client.setMessageTtl}.
1231
+ */
1232
+ async setMessageTtl(messageTtl) {
1233
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1234
+ return await this.client.setMessageTtl(chatId, messageTtl);
1235
+ }
1236
+ /**
1237
+ * Context-aware alias for {@link Client.setReactions}.
1238
+ */
1239
+ async setReactions(messageId, reactions, params) {
1240
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1241
+ return await this.client.setReactions(chatId, messageId, reactions, params);
1242
+ }
1243
+ /**
1244
+ * Context-aware alias for {@link Client.setChatMemberRights}.
1245
+ */
1246
+ async setSenderRights(params) {
1247
+ const { chatId, senderId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1248
+ if (!senderId) {
1249
+ unreachable();
1250
+ }
1251
+ return await this.client.setChatMemberRights(chatId, senderId, params);
1252
+ }
1253
+ /**
1254
+ * Context-aware alias for {@link Client.setSlowMode}.
1255
+ */
1256
+ async setSlowMode(duration) {
1257
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1258
+ return await this.client.setSlowMode(chatId, duration);
1259
+ }
1260
+ /**
1261
+ * Context-aware alias for {@link Client.showGeneralTopic}.
1262
+ */
1263
+ async showGeneralTopic() {
1264
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1265
+ return await this.client.showGeneralTopic(chatId);
1266
+ }
1267
+ /**
1268
+ * Context-aware alias for {@link Client.showMemberList}.
1269
+ */
1270
+ async showMemberList() {
1271
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1272
+ return await this.client.showMemberList(chatId);
1273
+ }
1274
+ /**
1275
+ * Context-aware alias for {@link Client.startVideoChat}.
1276
+ */
1277
+ async startVideoChat(params) {
1278
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1279
+ return await this.client.startVideoChat(chatId, params);
1280
+ }
1281
+ /**
1282
+ * Context-aware alias for {@link Client.stopPoll}.
1283
+ */
1284
+ async stopPoll(messageId, params) {
1285
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1286
+ return await this.client.stopPoll(chatId, messageId, params);
1287
+ }
1288
+ /**
1289
+ * Context-aware alias for {@link Client.transcribeVoice}.
1290
+ */
1291
+ async transcribeVoice(messageId) {
1292
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1293
+ return await this.client.transcribeVoice(chatId, messageId);
1294
+ }
1295
+ /**
1296
+ * Context-aware alias for {@link Client.transferChatOwnership}.
1297
+ */
1298
+ async transferOwnership(userId, password) {
1299
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1300
+ return await this.client.transferChatOwnership(chatId, userId, password);
1301
+ }
1302
+ /**
1303
+ * Context-aware alias for {@link Client.unarchiveChat}.
1304
+ */
1305
+ async unarchive() {
1306
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1307
+ return await this.client.unarchiveChat(chatId);
1308
+ }
1309
+ /**
1310
+ * Context-aware alias for {@link Client.unbanChatMember}.
1311
+ */
1312
+ async unbanChatMember(memberId) {
1313
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1314
+ return await this.client.unbanChatMember(chatId, memberId);
1315
+ }
1316
+ /**
1317
+ * Context-aware alias for {@link Client.unblockUser}.
1318
+ */
1319
+ async unblockUser() {
1320
+ return await this.client.unblockUser(__classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetUserId).call(this));
1321
+ }
1322
+ /**
1323
+ * Context-aware alias for {@link Client.uncheckChecklistItem}.
1324
+ */
1325
+ async uncheckChecklistItem(messageId, item) {
1326
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1327
+ return await this.client.uncheckChecklistItem(chatId, messageId, item);
1328
+ }
1329
+ /**
1330
+ * Context-aware alias for {@link Client.uncheckChecklistItems}.
1331
+ */
1332
+ async uncheckChecklistItems(messageId, items) {
1333
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1334
+ return await this.client.uncheckChecklistItems(chatId, messageId, items);
1335
+ }
1336
+ /**
1337
+ * Context-aware alias for {@link Client.unpinMessage}.
1338
+ */
1339
+ async unpin() {
1340
+ const { chatId, messageId, businessConnectionId } = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetMsg).call(this);
1341
+ return await this.client.unpinMessage(chatId, messageId, { businessConnectionId });
1342
+ }
1343
+ /**
1344
+ * Context-aware alias for {@link Client.unpinMessage}.
1345
+ */
1346
+ async unpinMessage(messageId) {
1347
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1348
+ return await this.client.unpinMessage(chatId, messageId);
1349
+ }
1350
+ /**
1351
+ * Context-aware alias for {@link Client.unpinMessages}.
1352
+ */
1353
+ async unpinMessages() {
1354
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1355
+ return await this.client.unpinMessages(chatId);
1356
+ }
1357
+ /**
1358
+ * Context-aware alias for {@link Client.unpinTopic}.
1359
+ */
1360
+ async unpinTopic(topicId) {
1361
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1362
+ return await this.client.unpinTopic(chatId, topicId);
1363
+ }
1364
+ /**
1365
+ * Context-aware alias for {@link Client.updateChecklist}.
1366
+ */
1367
+ async updateChecklist(messageId, params) {
1368
+ const chatId = __classPrivateFieldGet(this, _Context_instances, "m", _Context_mustGetChatId).call(this);
1369
+ return await this.client.updateChecklist(chatId, messageId, params);
1370
+ }
1371
+ }
1372
+ _Context_client = new WeakMap(), _Context_me = new WeakMap(), _Context_update = new WeakMap(), _Context_getReplyTo = new WeakMap(), _Context_instances = new WeakSet(), _Context_mustGetMsg = function _Context_mustGetMsg() {
1373
+ if (this.msg !== undefined) {
1374
+ return { chatId: this.msg.chat.id, messageId: this.msg.id, businessConnectionId: this.msg.businessConnectionId, senderId: this.msg.from?.id, userId: this.msg.from?.id };
1375
+ }
1376
+ const reactions = "messageInteractions" in this.update ? this.update.messageInteractions : undefined;
1377
+ if (reactions !== undefined) {
1378
+ return { chatId: reactions.chatId, messageId: reactions.messageId };
1379
+ }
1380
+ else {
1381
+ unreachable();
1382
+ }
1383
+ }, _Context_mustGetChatId = function _Context_mustGetChatId() {
1384
+ if (this.chat) {
1385
+ return this.chat.id;
1386
+ }
1387
+ else {
1388
+ unreachable();
1389
+ }
1390
+ }, _Context_mustGetUserId = function _Context_mustGetUserId() {
1391
+ if (this.msg?.from) {
1392
+ return this.msg.from.id;
1393
+ }
1394
+ else if ("callbackQuery" in this.update) {
1395
+ return this.update.callbackQuery.from.id;
1396
+ }
1397
+ else if ("chosenInlineResult" in this.update) {
1398
+ return this.update.chosenInlineResult.from.id;
1399
+ }
1400
+ else {
1401
+ unreachable();
1402
+ }
1403
+ }, _Context_mustGetInlineMsgId = function _Context_mustGetInlineMsgId() {
1404
+ if ("chosenInlineResult" in this.update) {
1405
+ if (this.update.chosenInlineResult.inlineMessageId) {
1406
+ return this.update.chosenInlineResult.inlineMessageId;
1407
+ }
1408
+ }
1409
+ else if ("callbackQuery" in this.update) {
1410
+ if (this.update.callbackQuery.inlineMessageId) {
1411
+ return this.update.callbackQuery.inlineMessageId;
1412
+ }
1413
+ }
1414
+ unreachable();
1415
+ };
1416
+ Object.defineProperty(Context, "has", {
1417
+ enumerable: true,
1418
+ configurable: true,
1419
+ writable: true,
1420
+ value: staticHas
1421
+ });