@mtkruto/node 0.68.0 → 0.69.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 (1040) hide show
  1. package/esm/0_deps.d.ts +12 -12
  2. package/esm/0_deps.js +14 -14
  3. package/esm/3_types.d.ts +3 -0
  4. package/esm/3_types.d.ts.map +1 -1
  5. package/esm/3_types.js +3 -0
  6. package/esm/4_constants.d.ts +1 -1
  7. package/esm/4_constants.d.ts.map +1 -1
  8. package/esm/4_errors.d.ts +2 -2
  9. package/esm/4_errors.d.ts.map +1 -1
  10. package/esm/client/0_client_abstract.d.ts +3 -3
  11. package/esm/client/0_client_abstract.d.ts.map +1 -1
  12. package/esm/client/0_filters.d.ts +1 -1
  13. package/esm/client/0_filters.d.ts.map +1 -1
  14. package/esm/client/0_filters.js +3 -3
  15. package/esm/client/0_html.d.ts +1 -1
  16. package/esm/client/0_html.d.ts.map +1 -1
  17. package/esm/client/0_html.js +1 -1
  18. package/esm/client/0_markdown.d.ts +1 -1
  19. package/esm/client/0_markdown.d.ts.map +1 -1
  20. package/esm/client/0_markdown.js +8 -8
  21. package/esm/client/0_params.d.ts +42 -8
  22. package/esm/client/0_params.d.ts.map +1 -1
  23. package/esm/client/0_password.js +1 -1
  24. package/esm/client/0_storage_operations.d.ts +4 -4
  25. package/esm/client/0_storage_operations.d.ts.map +1 -1
  26. package/esm/client/0_storage_operations.js +23 -23
  27. package/esm/client/0_update_processor.d.ts +2 -2
  28. package/esm/client/0_update_processor.d.ts.map +1 -1
  29. package/esm/client/0_utilities.js +8 -8
  30. package/esm/client/1_client_plain.d.ts +3 -3
  31. package/esm/client/1_client_plain.d.ts.map +1 -1
  32. package/esm/client/1_client_plain.js +2 -2
  33. package/esm/client/1_composer.d.ts +3 -3
  34. package/esm/client/1_composer.d.ts.map +1 -1
  35. package/esm/client/1_composer.js +7 -7
  36. package/esm/client/1_types.d.ts +4 -4
  37. package/esm/client/1_types.d.ts.map +1 -1
  38. package/esm/client/2_account_manager.d.ts +3 -3
  39. package/esm/client/2_account_manager.d.ts.map +1 -1
  40. package/esm/client/2_account_manager.js +2 -2
  41. package/esm/client/2_bot_info_manager.d.ts +3 -3
  42. package/esm/client/2_bot_info_manager.d.ts.map +1 -1
  43. package/esm/client/2_business_connection_manager.d.ts +3 -3
  44. package/esm/client/2_business_connection_manager.d.ts.map +1 -1
  45. package/esm/client/2_client_encrypted.d.ts +2 -2
  46. package/esm/client/2_client_encrypted.d.ts.map +1 -1
  47. package/esm/client/2_file_manager.d.ts +3 -3
  48. package/esm/client/2_file_manager.d.ts.map +1 -1
  49. package/esm/client/2_file_manager.js +43 -29
  50. package/esm/client/2_network_statistics_manager.d.ts +1 -1
  51. package/esm/client/2_network_statistics_manager.d.ts.map +1 -1
  52. package/esm/client/2_payment_manager.d.ts +4 -4
  53. package/esm/client/2_payment_manager.d.ts.map +1 -1
  54. package/esm/client/2_reaction_manager.d.ts +3 -3
  55. package/esm/client/2_reaction_manager.d.ts.map +1 -1
  56. package/esm/client/2_translations_manager.d.ts +4 -4
  57. package/esm/client/2_translations_manager.d.ts.map +1 -1
  58. package/esm/client/2_translations_manager.js +6 -6
  59. package/esm/client/2_update_manager.d.ts +2 -2
  60. package/esm/client/2_update_manager.d.ts.map +1 -1
  61. package/esm/client/2_update_manager.js +21 -21
  62. package/esm/client/3_client_encrypted_pool.d.ts +1 -1
  63. package/esm/client/3_client_encrypted_pool.d.ts.map +1 -1
  64. package/esm/client/3_message_manager.d.ts +10 -7
  65. package/esm/client/3_message_manager.d.ts.map +1 -1
  66. package/esm/client/3_message_manager.js +163 -42
  67. package/esm/client/3_video_chat_manager.d.ts +5 -5
  68. package/esm/client/3_video_chat_manager.d.ts.map +1 -1
  69. package/esm/client/3_video_chat_manager.js +7 -7
  70. package/esm/client/4_callback_query_manager.d.ts +5 -5
  71. package/esm/client/4_callback_query_manager.d.ts.map +1 -1
  72. package/esm/client/4_callback_query_manager.js +2 -2
  73. package/esm/client/4_chat_list_manager.d.ts +6 -6
  74. package/esm/client/4_chat_list_manager.d.ts.map +1 -1
  75. package/esm/client/4_chat_list_manager.js +22 -22
  76. package/esm/client/4_chat_manager.d.ts +7 -7
  77. package/esm/client/4_chat_manager.d.ts.map +1 -1
  78. package/esm/client/4_chat_manager.js +4 -4
  79. package/esm/client/4_forum_manager.d.ts +4 -4
  80. package/esm/client/4_forum_manager.d.ts.map +1 -1
  81. package/esm/client/4_gift_manager.d.ts +4 -4
  82. package/esm/client/4_gift_manager.d.ts.map +1 -1
  83. package/esm/client/4_gift_manager.js +1 -1
  84. package/esm/client/4_inline_query_manager.d.ts +5 -5
  85. package/esm/client/4_inline_query_manager.d.ts.map +1 -1
  86. package/esm/client/4_inline_query_manager.js +1 -1
  87. package/esm/client/4_link_preview_manager.d.ts +5 -5
  88. package/esm/client/4_link_preview_manager.d.ts.map +1 -1
  89. package/esm/client/4_poll_manager.d.ts +4 -4
  90. package/esm/client/4_poll_manager.d.ts.map +1 -1
  91. package/esm/client/4_poll_manager.js +1 -1
  92. package/esm/client/4_story_manager.d.ts +7 -7
  93. package/esm/client/4_story_manager.d.ts.map +1 -1
  94. package/esm/client/4_story_manager.js +2 -2
  95. package/esm/client/5_client.d.ts +27 -15
  96. package/esm/client/5_client.d.ts.map +1 -1
  97. package/esm/client/5_client.js +67 -40
  98. package/esm/connection/0_connection.d.ts +1 -1
  99. package/esm/connection/0_connection.d.ts.map +1 -1
  100. package/esm/connection/1_connection_tcp.node.d.ts +1 -1
  101. package/esm/connection/1_connection_tcp.node.d.ts.map +1 -1
  102. package/esm/connection/1_connection_tcp.node.js +4 -4
  103. package/esm/connection/1_connection_web_socket.d.ts +1 -1
  104. package/esm/connection/1_connection_web_socket.d.ts.map +1 -1
  105. package/esm/connection/1_connection_web_socket.js +3 -3
  106. package/{script/deps/jsr.io/@std/assert/1.0.13 → esm/deps/jsr.io/@std/assert/1.0.14}/assert.d.ts.map +1 -1
  107. package/esm/deps/jsr.io/@std/assert/1.0.14/assertion_error.d.ts +26 -0
  108. package/esm/deps/jsr.io/@std/assert/1.0.14/assertion_error.d.ts.map +1 -0
  109. package/esm/deps/jsr.io/@std/assert/1.0.14/assertion_error.js +30 -0
  110. package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equal.d.ts.map +1 -1
  111. package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equals.d.ts.map +1 -1
  112. package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/false.d.ts.map +1 -1
  113. package/esm/deps/jsr.io/@std/assert/1.0.14/unreachable.d.ts +15 -0
  114. package/esm/deps/jsr.io/@std/assert/1.0.14/unreachable.d.ts.map +1 -0
  115. package/esm/deps/jsr.io/@std/assert/1.0.14/unreachable.js +20 -0
  116. package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/_util.d.ts.map +1 -1
  117. package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/abortable.d.ts.map +1 -1
  118. package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/deadline.d.ts.map +1 -1
  119. package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/debounce.d.ts.map +1 -1
  120. package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/delay.d.ts.map +1 -1
  121. package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/delay.js +17 -2
  122. package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mod.d.ts.map +1 -1
  123. package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mux_async_iterator.d.ts.map +1 -1
  124. package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/pool.d.ts.map +1 -1
  125. package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/retry.d.ts.map +1 -1
  126. package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/tee.d.ts.map +1 -1
  127. package/esm/deps/jsr.io/@std/internal/1.0.10/_os.d.ts +2 -0
  128. package/esm/deps/jsr.io/@std/internal/1.0.10/_os.d.ts.map +1 -0
  129. package/esm/deps/jsr.io/@std/internal/1.0.10/_os.js +12 -0
  130. package/esm/deps/jsr.io/@std/internal/1.0.10/os.d.ts +3 -0
  131. package/esm/deps/jsr.io/@std/internal/1.0.10/os.d.ts.map +1 -0
  132. package/esm/deps/jsr.io/@std/internal/1.0.10/os.js +5 -0
  133. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/assert_path.d.ts.map +1 -1
  134. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/basename.d.ts.map +1 -1
  135. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/constants.d.ts.map +1 -1
  136. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/from_file_url.d.ts.map +1 -1
  137. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize.d.ts.map +1 -1
  138. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize_string.d.ts.map +1 -1
  139. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/strip_trailing_separators.d.ts.map +1 -1
  140. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/to_file_url.d.ts.map +1 -1
  141. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/basename.d.ts.map +1 -1
  142. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/basename.js +1 -1
  143. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/extname.d.ts.map +1 -1
  144. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/extname.js +1 -1
  145. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/is_absolute.d.ts.map +1 -1
  146. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/is_absolute.js +1 -1
  147. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/join.d.ts.map +1 -1
  148. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/join.js +1 -1
  149. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/_util.d.ts.map +1 -1
  150. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/posix/basename.d.ts.map +1 -1
  151. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/posix/extname.d.ts.map +1 -1
  152. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/from_file_url.d.ts.map +1 -1
  153. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/is_absolute.d.ts.map +1 -1
  154. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/posix/join.d.ts.map +1 -1
  155. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/posix/normalize.d.ts.map +1 -1
  156. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/posix/to_file_url.d.ts.map +1 -1
  157. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/to_file_url.d.ts.map +1 -1
  158. package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/to_file_url.js +1 -1
  159. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/windows/_util.d.ts.map +1 -1
  160. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/windows/basename.d.ts.map +1 -1
  161. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/windows/extname.d.ts.map +1 -1
  162. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/windows/from_file_url.d.ts.map +1 -1
  163. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/windows/is_absolute.d.ts.map +1 -1
  164. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/windows/join.d.ts.map +1 -1
  165. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/windows/normalize.d.ts.map +1 -1
  166. package/{script/deps/jsr.io/@std/path/1.1.0 → esm/deps/jsr.io/@std/path/1.1.2}/windows/to_file_url.d.ts.map +1 -1
  167. package/esm/deps/jsr.io/@std/streams/{1.0.10 → 1.0.11}/to_array_buffer.d.ts.map +1 -1
  168. package/esm/session/1_session.d.ts +2 -2
  169. package/esm/session/1_session.d.ts.map +1 -1
  170. package/esm/session/2_session_encrypted.d.ts +2 -2
  171. package/esm/session/2_session_encrypted.d.ts.map +1 -1
  172. package/esm/session/2_session_encrypted.js +6 -6
  173. package/esm/session/2_session_plain.js +1 -1
  174. package/esm/storage/0_storage.d.ts +1 -1
  175. package/esm/storage/0_storage.d.ts.map +1 -1
  176. package/esm/storage/1_utilities.d.ts +14 -11
  177. package/esm/storage/1_utilities.d.ts.map +1 -1
  178. package/esm/storage/1_utilities.js +17 -17
  179. package/esm/storage/2_storage_indexed_db.d.ts +1 -1
  180. package/esm/storage/2_storage_indexed_db.d.ts.map +1 -1
  181. package/esm/storage/2_storage_indexed_db.js +3 -3
  182. package/esm/storage/2_storage_local_storage.node.d.ts +1 -1
  183. package/esm/storage/2_storage_local_storage.node.d.ts.map +1 -1
  184. package/esm/storage/2_storage_local_storage.node.js +3 -3
  185. package/esm/storage/2_storage_memory.d.ts +2 -2
  186. package/esm/storage/2_storage_memory.d.ts.map +1 -1
  187. package/esm/storage/2_storage_memory.js +2 -2
  188. package/esm/storage/2_storage_session_storage.d.ts +2 -2
  189. package/esm/storage/2_storage_session_storage.d.ts.map +1 -1
  190. package/esm/storage/2_storage_session_storage.js +3 -3
  191. package/esm/tl/0_utilities.js +1 -1
  192. package/esm/tl/1_tl_reader.d.ts +1 -1
  193. package/esm/tl/1_tl_reader.d.ts.map +1 -1
  194. package/esm/tl/1_tl_reader.js +8 -8
  195. package/esm/tl/1_tl_writer.d.ts +1 -1
  196. package/esm/tl/1_tl_writer.d.ts.map +1 -1
  197. package/esm/tl/1_tl_writer.js +6 -6
  198. package/esm/tl/1_utilities.d.ts +1 -1
  199. package/esm/tl/1_utilities.d.ts.map +1 -1
  200. package/esm/tl/1_utilities.js +2 -2
  201. package/esm/tl/2_message.js +1 -1
  202. package/esm/tl/2_mtproto.d.ts +1 -1
  203. package/esm/tl/2_mtproto.d.ts.map +1 -1
  204. package/esm/tl/2_telegram.d.ts +1 -1
  205. package/esm/tl/2_telegram.d.ts.map +1 -1
  206. package/esm/transport/0_obfuscation.d.ts +1 -1
  207. package/esm/transport/0_obfuscation.d.ts.map +1 -1
  208. package/esm/transport/0_obfuscation.js +2 -2
  209. package/esm/transport/0_transport.d.ts +1 -1
  210. package/esm/transport/0_transport.d.ts.map +1 -1
  211. package/esm/transport/1_transport_abridged.d.ts +1 -1
  212. package/esm/transport/1_transport_abridged.d.ts.map +1 -1
  213. package/esm/transport/1_transport_intermediate.d.ts +1 -1
  214. package/esm/transport/1_transport_intermediate.d.ts.map +1 -1
  215. package/esm/transport/1_transport_provider.d.ts +2 -2
  216. package/esm/transport/1_transport_provider.d.ts.map +1 -1
  217. package/esm/transport/2_transport_provider_tcp.d.ts +1 -1
  218. package/esm/transport/2_transport_provider_tcp.d.ts.map +1 -1
  219. package/esm/transport/2_transport_provider_web_socket.d.ts +1 -1
  220. package/esm/transport/2_transport_provider_web_socket.d.ts.map +1 -1
  221. package/esm/transport/2_transport_provider_web_socket.js +1 -1
  222. package/esm/types/0_birthday.d.ts +1 -1
  223. package/esm/types/0_birthday.d.ts.map +1 -1
  224. package/esm/types/0_callback_query_answer.d.ts +1 -1
  225. package/esm/types/0_callback_query_answer.d.ts.map +1 -1
  226. package/esm/types/0_callback_query_question.js +2 -2
  227. package/esm/types/0_chat_administrator_rights.d.ts +1 -1
  228. package/esm/types/0_chat_administrator_rights.d.ts.map +1 -1
  229. package/esm/types/0_chat_member_rights.d.ts +1 -1
  230. package/esm/types/0_chat_member_rights.d.ts.map +1 -1
  231. package/esm/types/0_contact.d.ts +1 -1
  232. package/esm/types/0_contact.d.ts.map +1 -1
  233. package/esm/types/0_dice.d.ts +1 -1
  234. package/esm/types/0_dice.d.ts.map +1 -1
  235. package/esm/types/0_failed_invitation.d.ts +1 -1
  236. package/esm/types/0_failed_invitation.d.ts.map +1 -1
  237. package/esm/types/0_invoice.d.ts +1 -1
  238. package/esm/types/0_invoice.d.ts.map +1 -1
  239. package/esm/types/0_live_stream_channel.d.ts +1 -1
  240. package/esm/types/0_live_stream_channel.d.ts.map +1 -1
  241. package/esm/types/0_mask_position.d.ts +1 -1
  242. package/esm/types/0_mask_position.d.ts.map +1 -1
  243. package/esm/types/0_mask_position.js +1 -1
  244. package/esm/types/0_message_entity.d.ts +1 -1
  245. package/esm/types/0_message_entity.d.ts.map +1 -1
  246. package/esm/types/0_message_entity.js +1 -1
  247. package/esm/types/0_message_search_filter.d.ts +1 -1
  248. package/esm/types/0_message_search_filter.d.ts.map +1 -1
  249. package/esm/types/0_opening_hours.d.ts +1 -1
  250. package/esm/types/0_opening_hours.d.ts.map +1 -1
  251. package/esm/types/0_reaction.js +5 -5
  252. package/esm/types/0_refunded_payment.d.ts +1 -1
  253. package/esm/types/0_refunded_payment.d.ts.map +1 -1
  254. package/esm/types/0_restriction_reason.d.ts +1 -1
  255. package/esm/types/0_restriction_reason.d.ts.map +1 -1
  256. package/esm/types/0_self_destruct_option.js +3 -3
  257. package/esm/types/0_shipping_address.d.ts +1 -1
  258. package/esm/types/0_shipping_address.d.ts.map +1 -1
  259. package/esm/types/0_slow_mode_duration.js +2 -2
  260. package/esm/types/0_voice.d.ts +1 -1
  261. package/esm/types/0_voice.d.ts.map +1 -1
  262. package/esm/types/0_voice_transcription.d.ts +1 -1
  263. package/esm/types/0_voice_transcription.d.ts.map +1 -1
  264. package/esm/types/1_animation.d.ts +1 -1
  265. package/esm/types/1_animation.d.ts.map +1 -1
  266. package/esm/types/1_audio.d.ts +1 -1
  267. package/esm/types/1_audio.d.ts.map +1 -1
  268. package/esm/types/1_bot_command_scope.d.ts +2 -2
  269. package/esm/types/1_bot_command_scope.d.ts.map +1 -1
  270. package/esm/types/1_chat_p.d.ts +2 -2
  271. package/esm/types/1_chat_p.d.ts.map +1 -1
  272. package/esm/types/1_chat_p.js +2 -2
  273. package/esm/types/1_document.d.ts +1 -1
  274. package/esm/types/1_document.d.ts.map +1 -1
  275. package/esm/types/1_giveaway.d.ts +2 -2
  276. package/esm/types/1_giveaway.d.ts.map +1 -1
  277. package/esm/types/1_inline_keyboard_button.d.ts +3 -3
  278. package/esm/types/1_inline_keyboard_button.d.ts.map +1 -1
  279. package/esm/types/1_inline_keyboard_button.js +4 -4
  280. package/esm/types/1_inline_query_result_button.d.ts +1 -1
  281. package/esm/types/1_inline_query_result_button.d.ts.map +1 -1
  282. package/esm/types/1_input_media.d.ts +4 -4
  283. package/esm/types/1_input_media.d.ts.map +1 -1
  284. package/esm/types/1_input_story_content.d.ts +1 -1
  285. package/esm/types/1_input_story_content.d.ts.map +1 -1
  286. package/esm/types/1_keyboard_button.d.ts +3 -3
  287. package/esm/types/1_keyboard_button.d.ts.map +1 -1
  288. package/esm/types/1_keyboard_button.js +1 -1
  289. package/esm/types/1_message_reaction.d.ts +1 -1
  290. package/esm/types/1_message_reaction.d.ts.map +1 -1
  291. package/esm/types/1_message_reaction.js +2 -2
  292. package/esm/types/1_mini_app_info.d.ts +2 -2
  293. package/esm/types/1_mini_app_info.d.ts.map +1 -1
  294. package/esm/types/1_network_statistics.d.ts +1 -1
  295. package/esm/types/1_network_statistics.d.ts.map +1 -1
  296. package/esm/types/1_order_info.d.ts +2 -2
  297. package/esm/types/1_order_info.d.ts.map +1 -1
  298. package/esm/types/1_photo.d.ts +1 -1
  299. package/esm/types/1_photo.d.ts.map +1 -1
  300. package/esm/types/1_poll_option.d.ts +2 -2
  301. package/esm/types/1_poll_option.d.ts.map +1 -1
  302. package/esm/types/1_poll_option.js +2 -2
  303. package/esm/types/1_reaction_count.d.ts +2 -2
  304. package/esm/types/1_reaction_count.d.ts.map +1 -1
  305. package/esm/types/1_reply_quote.d.ts +2 -2
  306. package/esm/types/1_reply_quote.d.ts.map +1 -1
  307. package/esm/types/1_sticker.d.ts +3 -3
  308. package/esm/types/1_sticker.d.ts.map +1 -1
  309. package/esm/types/1_sticker.js +2 -2
  310. package/esm/types/1_story_privacy.d.ts +1 -1
  311. package/esm/types/1_story_privacy.d.ts.map +1 -1
  312. package/esm/types/1_story_reaction.d.ts +2 -2
  313. package/esm/types/1_story_reaction.d.ts.map +1 -1
  314. package/esm/types/1_user.d.ts +2 -2
  315. package/esm/types/1_user.d.ts.map +1 -1
  316. package/esm/types/1_user.js +1 -1
  317. package/esm/types/1_venue.d.ts +1 -1
  318. package/esm/types/1_venue.d.ts.map +1 -1
  319. package/esm/types/1_video.d.ts +1 -1
  320. package/esm/types/1_video.d.ts.map +1 -1
  321. package/esm/types/1_video_note.d.ts +1 -1
  322. package/esm/types/1_video_note.d.ts.map +1 -1
  323. package/esm/types/2_business_connection.d.ts +3 -3
  324. package/esm/types/2_business_connection.d.ts.map +1 -1
  325. package/esm/types/2_chat.d.ts +6 -6
  326. package/esm/types/2_chat.d.ts.map +1 -1
  327. package/esm/types/2_chat.js +3 -3
  328. package/esm/types/2_chat_member.d.ts +4 -4
  329. package/esm/types/2_chat_member.d.ts.map +1 -1
  330. package/esm/types/2_chat_member.js +1 -1
  331. package/esm/types/2_chat_settings.d.ts +1 -1
  332. package/esm/types/2_chat_settings.d.ts.map +1 -1
  333. package/esm/types/2_chat_settings.js +1 -1
  334. package/esm/types/2_chosen_inline_result.d.ts +3 -3
  335. package/esm/types/2_chosen_inline_result.d.ts.map +1 -1
  336. package/esm/types/2_forward_header.d.ts +4 -4
  337. package/esm/types/2_forward_header.d.ts.map +1 -1
  338. package/esm/types/2_forward_header.js +6 -6
  339. package/esm/types/2_game.d.ts +3 -3
  340. package/esm/types/2_game.d.ts.map +1 -1
  341. package/esm/types/2_gift_upgraded_component.d.ts +2 -2
  342. package/esm/types/2_gift_upgraded_component.d.ts.map +1 -1
  343. package/esm/types/2_inactive_chat.d.ts +1 -1
  344. package/esm/types/2_inactive_chat.d.ts.map +1 -1
  345. package/esm/types/2_inline_query.d.ts +3 -3
  346. package/esm/types/2_inline_query.d.ts.map +1 -1
  347. package/esm/types/2_inline_query.js +1 -1
  348. package/esm/types/2_invite_link.d.ts +3 -3
  349. package/esm/types/2_invite_link.d.ts.map +1 -1
  350. package/esm/types/2_message_interactions.d.ts +1 -1
  351. package/esm/types/2_message_interactions.d.ts.map +1 -1
  352. package/esm/types/2_message_reaction_count.d.ts +4 -4
  353. package/esm/types/2_message_reaction_count.d.ts.map +1 -1
  354. package/esm/types/2_message_reactions.d.ts +4 -4
  355. package/esm/types/2_message_reactions.d.ts.map +1 -1
  356. package/esm/types/2_poll.d.ts +3 -3
  357. package/esm/types/2_poll.d.ts.map +1 -1
  358. package/esm/types/2_poll.js +3 -3
  359. package/esm/types/2_poll_answer.d.ts +3 -3
  360. package/esm/types/2_poll_answer.d.ts.map +1 -1
  361. package/esm/types/2_pre_checkout_query.d.ts +4 -4
  362. package/esm/types/2_pre_checkout_query.d.ts.map +1 -1
  363. package/esm/types/2_reply_markup.d.ts +3 -3
  364. package/esm/types/2_reply_markup.d.ts.map +1 -1
  365. package/esm/types/2_reply_to.d.ts +2 -2
  366. package/esm/types/2_reply_to.d.ts.map +1 -1
  367. package/esm/types/2_sticker_set.d.ts +51 -0
  368. package/esm/types/2_sticker_set.d.ts.map +1 -0
  369. package/esm/types/2_sticker_set.js +91 -0
  370. package/esm/types/2_story_content.d.ts +2 -2
  371. package/esm/types/2_story_content.d.ts.map +1 -1
  372. package/esm/types/2_story_interactions.d.ts +2 -2
  373. package/esm/types/2_story_interactions.d.ts.map +1 -1
  374. package/esm/types/2_story_interactive_area.d.ts +5 -5
  375. package/esm/types/2_story_interactive_area.d.ts.map +1 -1
  376. package/esm/types/2_successful_payment.d.ts +2 -2
  377. package/esm/types/2_successful_payment.d.ts.map +1 -1
  378. package/esm/types/3_chat_member_updated.d.ts +5 -5
  379. package/esm/types/3_chat_member_updated.d.ts.map +1 -1
  380. package/esm/types/3_gift.d.ts +4 -4
  381. package/esm/types/3_gift.d.ts.map +1 -1
  382. package/esm/types/3_join_request.d.ts +4 -4
  383. package/esm/types/3_join_request.d.ts.map +1 -1
  384. package/esm/types/3_story.d.ts +8 -8
  385. package/esm/types/3_story.d.ts.map +1 -1
  386. package/esm/types/4_claimed_gift.d.ts +4 -4
  387. package/esm/types/4_claimed_gift.d.ts.map +1 -1
  388. package/esm/types/4_link_preview.d.ts +5 -5
  389. package/esm/types/4_link_preview.d.ts.map +1 -1
  390. package/esm/types/5_claimed_gifts.d.ts +2 -2
  391. package/esm/types/5_claimed_gifts.d.ts.map +1 -1
  392. package/esm/types/5_claimed_gifts.js +3 -3
  393. package/esm/types/5_message.d.ts +29 -29
  394. package/esm/types/5_message.d.ts.map +1 -1
  395. package/esm/types/5_message.js +8 -8
  396. package/esm/types/5_message_content.d.ts +4 -4
  397. package/esm/types/5_message_content.d.ts.map +1 -1
  398. package/esm/types/6_callback_query.d.ts +3 -3
  399. package/esm/types/6_callback_query.d.ts.map +1 -1
  400. package/esm/types/6_callback_query.js +2 -2
  401. package/esm/types/6_chat_list_item.d.ts +4 -4
  402. package/esm/types/6_chat_list_item.d.ts.map +1 -1
  403. package/esm/types/6_chat_list_item.js +6 -6
  404. package/esm/types/6_inline_query_result.d.ts +6 -6
  405. package/esm/types/6_inline_query_result.d.ts.map +1 -1
  406. package/esm/types/6_inline_query_result.js +16 -16
  407. package/esm/types/6_saved_chat.d.ts +36 -0
  408. package/esm/types/6_saved_chat.d.ts.map +1 -0
  409. package/esm/types/6_saved_chat.js +43 -0
  410. package/esm/types/6_topic.d.ts +2 -2
  411. package/esm/types/6_topic.d.ts.map +1 -1
  412. package/esm/types/6_topic.js +1 -1
  413. package/esm/types/7_inline_query_answer.d.ts +2 -2
  414. package/esm/types/7_inline_query_answer.d.ts.map +1 -1
  415. package/esm/types/7_saved_chats.d.ts +33 -0
  416. package/esm/types/7_saved_chats.d.ts.map +1 -0
  417. package/esm/types/7_saved_chats.js +36 -0
  418. package/esm/types/7_update.d.ts +24 -24
  419. package/esm/types/7_update.d.ts.map +1 -1
  420. package/esm/types/_file_id.d.ts +60 -49
  421. package/esm/types/_file_id.d.ts.map +1 -1
  422. package/esm/types/_file_id.js +92 -73
  423. package/esm/types/_getters.d.ts +3 -3
  424. package/esm/types/_getters.d.ts.map +1 -1
  425. package/esm/utilities/0_bigint.js +5 -5
  426. package/esm/utilities/0_buffer.js +3 -3
  427. package/esm/utilities/0_env.js +1 -1
  428. package/esm/utilities/0_misc.d.ts.map +1 -1
  429. package/esm/utilities/0_misc.js +4 -3
  430. package/esm/utilities/0_rle.js +1 -1
  431. package/esm/utilities/1_auth.js +1 -1
  432. package/esm/utilities/1_base64.js +1 -1
  433. package/esm/utilities/1_logger.js +2 -2
  434. package/esm/utilities/1_math.js +2 -2
  435. package/esm/utilities/2_queue.js +1 -1
  436. package/package.json +1 -1
  437. package/script/0_deps.d.ts +12 -12
  438. package/script/0_deps.js +14 -14
  439. package/script/3_types.d.ts +3 -0
  440. package/script/3_types.d.ts.map +1 -1
  441. package/script/3_types.js +3 -0
  442. package/script/4_constants.d.ts +1 -1
  443. package/script/4_constants.d.ts.map +1 -1
  444. package/script/4_errors.d.ts +2 -2
  445. package/script/4_errors.d.ts.map +1 -1
  446. package/script/client/0_client_abstract.d.ts +3 -3
  447. package/script/client/0_client_abstract.d.ts.map +1 -1
  448. package/script/client/0_filters.d.ts +1 -1
  449. package/script/client/0_filters.d.ts.map +1 -1
  450. package/script/client/0_filters.js +3 -3
  451. package/script/client/0_html.d.ts +1 -1
  452. package/script/client/0_html.d.ts.map +1 -1
  453. package/script/client/0_html.js +1 -1
  454. package/script/client/0_markdown.d.ts +1 -1
  455. package/script/client/0_markdown.d.ts.map +1 -1
  456. package/script/client/0_markdown.js +8 -8
  457. package/script/client/0_params.d.ts +42 -8
  458. package/script/client/0_params.d.ts.map +1 -1
  459. package/script/client/0_password.js +1 -1
  460. package/script/client/0_storage_operations.d.ts +4 -4
  461. package/script/client/0_storage_operations.d.ts.map +1 -1
  462. package/script/client/0_storage_operations.js +23 -23
  463. package/script/client/0_update_processor.d.ts +2 -2
  464. package/script/client/0_update_processor.d.ts.map +1 -1
  465. package/script/client/0_utilities.js +8 -8
  466. package/script/client/1_client_plain.d.ts +3 -3
  467. package/script/client/1_client_plain.d.ts.map +1 -1
  468. package/script/client/1_client_plain.js +2 -2
  469. package/script/client/1_composer.d.ts +3 -3
  470. package/script/client/1_composer.d.ts.map +1 -1
  471. package/script/client/1_composer.js +7 -7
  472. package/script/client/1_types.d.ts +4 -4
  473. package/script/client/1_types.d.ts.map +1 -1
  474. package/script/client/2_account_manager.d.ts +3 -3
  475. package/script/client/2_account_manager.d.ts.map +1 -1
  476. package/script/client/2_account_manager.js +2 -2
  477. package/script/client/2_bot_info_manager.d.ts +3 -3
  478. package/script/client/2_bot_info_manager.d.ts.map +1 -1
  479. package/script/client/2_business_connection_manager.d.ts +3 -3
  480. package/script/client/2_business_connection_manager.d.ts.map +1 -1
  481. package/script/client/2_client_encrypted.d.ts +2 -2
  482. package/script/client/2_client_encrypted.d.ts.map +1 -1
  483. package/script/client/2_file_manager.d.ts +3 -3
  484. package/script/client/2_file_manager.d.ts.map +1 -1
  485. package/script/client/2_file_manager.js +43 -29
  486. package/script/client/2_network_statistics_manager.d.ts +1 -1
  487. package/script/client/2_network_statistics_manager.d.ts.map +1 -1
  488. package/script/client/2_payment_manager.d.ts +4 -4
  489. package/script/client/2_payment_manager.d.ts.map +1 -1
  490. package/script/client/2_reaction_manager.d.ts +3 -3
  491. package/script/client/2_reaction_manager.d.ts.map +1 -1
  492. package/script/client/2_translations_manager.d.ts +4 -4
  493. package/script/client/2_translations_manager.d.ts.map +1 -1
  494. package/script/client/2_translations_manager.js +6 -6
  495. package/script/client/2_update_manager.d.ts +2 -2
  496. package/script/client/2_update_manager.d.ts.map +1 -1
  497. package/script/client/2_update_manager.js +21 -21
  498. package/script/client/3_client_encrypted_pool.d.ts +1 -1
  499. package/script/client/3_client_encrypted_pool.d.ts.map +1 -1
  500. package/script/client/3_message_manager.d.ts +10 -7
  501. package/script/client/3_message_manager.d.ts.map +1 -1
  502. package/script/client/3_message_manager.js +162 -41
  503. package/script/client/3_video_chat_manager.d.ts +5 -5
  504. package/script/client/3_video_chat_manager.d.ts.map +1 -1
  505. package/script/client/3_video_chat_manager.js +7 -7
  506. package/script/client/4_callback_query_manager.d.ts +5 -5
  507. package/script/client/4_callback_query_manager.d.ts.map +1 -1
  508. package/script/client/4_callback_query_manager.js +2 -2
  509. package/script/client/4_chat_list_manager.d.ts +6 -6
  510. package/script/client/4_chat_list_manager.d.ts.map +1 -1
  511. package/script/client/4_chat_list_manager.js +22 -22
  512. package/script/client/4_chat_manager.d.ts +7 -7
  513. package/script/client/4_chat_manager.d.ts.map +1 -1
  514. package/script/client/4_chat_manager.js +4 -4
  515. package/script/client/4_forum_manager.d.ts +4 -4
  516. package/script/client/4_forum_manager.d.ts.map +1 -1
  517. package/script/client/4_gift_manager.d.ts +4 -4
  518. package/script/client/4_gift_manager.d.ts.map +1 -1
  519. package/script/client/4_gift_manager.js +1 -1
  520. package/script/client/4_inline_query_manager.d.ts +5 -5
  521. package/script/client/4_inline_query_manager.d.ts.map +1 -1
  522. package/script/client/4_inline_query_manager.js +1 -1
  523. package/script/client/4_link_preview_manager.d.ts +5 -5
  524. package/script/client/4_link_preview_manager.d.ts.map +1 -1
  525. package/script/client/4_poll_manager.d.ts +4 -4
  526. package/script/client/4_poll_manager.d.ts.map +1 -1
  527. package/script/client/4_poll_manager.js +1 -1
  528. package/script/client/4_story_manager.d.ts +7 -7
  529. package/script/client/4_story_manager.d.ts.map +1 -1
  530. package/script/client/4_story_manager.js +2 -2
  531. package/script/client/5_client.d.ts +27 -15
  532. package/script/client/5_client.d.ts.map +1 -1
  533. package/script/client/5_client.js +67 -40
  534. package/script/connection/0_connection.d.ts +1 -1
  535. package/script/connection/0_connection.d.ts.map +1 -1
  536. package/script/connection/1_connection_tcp.node.d.ts +1 -1
  537. package/script/connection/1_connection_tcp.node.d.ts.map +1 -1
  538. package/script/connection/1_connection_tcp.node.js +4 -4
  539. package/script/connection/1_connection_web_socket.d.ts +1 -1
  540. package/script/connection/1_connection_web_socket.d.ts.map +1 -1
  541. package/script/connection/1_connection_web_socket.js +3 -3
  542. package/{esm/deps/jsr.io/@std/assert/1.0.13 → script/deps/jsr.io/@std/assert/1.0.14}/assert.d.ts.map +1 -1
  543. package/script/deps/jsr.io/@std/assert/1.0.14/assertion_error.d.ts +26 -0
  544. package/script/deps/jsr.io/@std/assert/1.0.14/assertion_error.d.ts.map +1 -0
  545. package/script/deps/jsr.io/@std/assert/1.0.14/assertion_error.js +34 -0
  546. package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equal.d.ts.map +1 -1
  547. package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equals.d.ts.map +1 -1
  548. package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/false.d.ts.map +1 -1
  549. package/script/deps/jsr.io/@std/assert/1.0.14/unreachable.d.ts +15 -0
  550. package/script/deps/jsr.io/@std/assert/1.0.14/unreachable.d.ts.map +1 -0
  551. package/script/deps/jsr.io/@std/assert/1.0.14/unreachable.js +23 -0
  552. package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/_util.d.ts.map +1 -1
  553. package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/abortable.d.ts.map +1 -1
  554. package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/deadline.d.ts.map +1 -1
  555. package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/debounce.d.ts.map +1 -1
  556. package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/delay.d.ts.map +1 -1
  557. package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/delay.js +17 -2
  558. package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mod.d.ts.map +1 -1
  559. package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mux_async_iterator.d.ts.map +1 -1
  560. package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/pool.d.ts.map +1 -1
  561. package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/retry.d.ts.map +1 -1
  562. package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/tee.d.ts.map +1 -1
  563. package/script/deps/jsr.io/@std/internal/1.0.10/_os.d.ts +2 -0
  564. package/script/deps/jsr.io/@std/internal/1.0.10/_os.d.ts.map +1 -0
  565. package/script/deps/jsr.io/@std/{path/1.1.0 → internal/1.0.10}/_os.js +12 -9
  566. package/script/deps/jsr.io/@std/internal/1.0.10/os.d.ts +3 -0
  567. package/script/deps/jsr.io/@std/internal/1.0.10/os.d.ts.map +1 -0
  568. package/script/deps/jsr.io/@std/internal/1.0.10/os.js +8 -0
  569. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/assert_path.d.ts.map +1 -1
  570. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/basename.d.ts.map +1 -1
  571. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/constants.d.ts.map +1 -1
  572. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/from_file_url.d.ts.map +1 -1
  573. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize.d.ts.map +1 -1
  574. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize_string.d.ts.map +1 -1
  575. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/strip_trailing_separators.d.ts.map +1 -1
  576. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/to_file_url.d.ts.map +1 -1
  577. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/basename.d.ts.map +1 -1
  578. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/basename.js +2 -2
  579. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/extname.d.ts.map +1 -1
  580. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/extname.js +2 -2
  581. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/is_absolute.d.ts.map +1 -1
  582. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/is_absolute.js +2 -2
  583. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/join.d.ts.map +1 -1
  584. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/join.js +2 -2
  585. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/_util.d.ts.map +1 -1
  586. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/posix/basename.d.ts.map +1 -1
  587. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/posix/extname.d.ts.map +1 -1
  588. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/from_file_url.d.ts.map +1 -1
  589. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/is_absolute.d.ts.map +1 -1
  590. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/posix/join.d.ts.map +1 -1
  591. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/posix/normalize.d.ts.map +1 -1
  592. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/posix/to_file_url.d.ts.map +1 -1
  593. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/to_file_url.d.ts.map +1 -1
  594. package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/to_file_url.js +2 -2
  595. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/windows/_util.d.ts.map +1 -1
  596. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/windows/basename.d.ts.map +1 -1
  597. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/windows/extname.d.ts.map +1 -1
  598. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/windows/from_file_url.d.ts.map +1 -1
  599. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/windows/is_absolute.d.ts.map +1 -1
  600. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/windows/join.d.ts.map +1 -1
  601. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/windows/normalize.d.ts.map +1 -1
  602. package/{esm/deps/jsr.io/@std/path/1.1.0 → script/deps/jsr.io/@std/path/1.1.2}/windows/to_file_url.d.ts.map +1 -1
  603. package/script/deps/jsr.io/@std/streams/{1.0.10 → 1.0.11}/to_array_buffer.d.ts.map +1 -1
  604. package/script/session/1_session.d.ts +2 -2
  605. package/script/session/1_session.d.ts.map +1 -1
  606. package/script/session/2_session_encrypted.d.ts +2 -2
  607. package/script/session/2_session_encrypted.d.ts.map +1 -1
  608. package/script/session/2_session_encrypted.js +6 -6
  609. package/script/session/2_session_plain.js +1 -1
  610. package/script/storage/0_storage.d.ts +1 -1
  611. package/script/storage/0_storage.d.ts.map +1 -1
  612. package/script/storage/1_utilities.d.ts +14 -11
  613. package/script/storage/1_utilities.d.ts.map +1 -1
  614. package/script/storage/1_utilities.js +39 -39
  615. package/script/storage/2_storage_indexed_db.d.ts +1 -1
  616. package/script/storage/2_storage_indexed_db.d.ts.map +1 -1
  617. package/script/storage/2_storage_indexed_db.js +3 -3
  618. package/script/storage/2_storage_local_storage.node.d.ts +1 -1
  619. package/script/storage/2_storage_local_storage.node.d.ts.map +1 -1
  620. package/script/storage/2_storage_local_storage.node.js +3 -3
  621. package/script/storage/2_storage_memory.d.ts +2 -2
  622. package/script/storage/2_storage_memory.d.ts.map +1 -1
  623. package/script/storage/2_storage_memory.js +2 -2
  624. package/script/storage/2_storage_session_storage.d.ts +2 -2
  625. package/script/storage/2_storage_session_storage.d.ts.map +1 -1
  626. package/script/storage/2_storage_session_storage.js +3 -3
  627. package/script/tl/0_utilities.js +1 -1
  628. package/script/tl/1_tl_reader.d.ts +1 -1
  629. package/script/tl/1_tl_reader.d.ts.map +1 -1
  630. package/script/tl/1_tl_reader.js +8 -8
  631. package/script/tl/1_tl_writer.d.ts +1 -1
  632. package/script/tl/1_tl_writer.d.ts.map +1 -1
  633. package/script/tl/1_tl_writer.js +6 -6
  634. package/script/tl/1_utilities.d.ts +1 -1
  635. package/script/tl/1_utilities.d.ts.map +1 -1
  636. package/script/tl/1_utilities.js +2 -2
  637. package/script/tl/2_message.js +1 -1
  638. package/script/tl/2_mtproto.d.ts +1 -1
  639. package/script/tl/2_mtproto.d.ts.map +1 -1
  640. package/script/tl/2_telegram.d.ts +1 -1
  641. package/script/tl/2_telegram.d.ts.map +1 -1
  642. package/script/transport/0_obfuscation.d.ts +1 -1
  643. package/script/transport/0_obfuscation.d.ts.map +1 -1
  644. package/script/transport/0_obfuscation.js +2 -2
  645. package/script/transport/0_transport.d.ts +1 -1
  646. package/script/transport/0_transport.d.ts.map +1 -1
  647. package/script/transport/1_transport_abridged.d.ts +1 -1
  648. package/script/transport/1_transport_abridged.d.ts.map +1 -1
  649. package/script/transport/1_transport_intermediate.d.ts +1 -1
  650. package/script/transport/1_transport_intermediate.d.ts.map +1 -1
  651. package/script/transport/1_transport_provider.d.ts +2 -2
  652. package/script/transport/1_transport_provider.d.ts.map +1 -1
  653. package/script/transport/2_transport_provider_tcp.d.ts +1 -1
  654. package/script/transport/2_transport_provider_tcp.d.ts.map +1 -1
  655. package/script/transport/2_transport_provider_web_socket.d.ts +1 -1
  656. package/script/transport/2_transport_provider_web_socket.d.ts.map +1 -1
  657. package/script/transport/2_transport_provider_web_socket.js +1 -1
  658. package/script/types/0_birthday.d.ts +1 -1
  659. package/script/types/0_birthday.d.ts.map +1 -1
  660. package/script/types/0_callback_query_answer.d.ts +1 -1
  661. package/script/types/0_callback_query_answer.d.ts.map +1 -1
  662. package/script/types/0_callback_query_question.js +2 -2
  663. package/script/types/0_chat_administrator_rights.d.ts +1 -1
  664. package/script/types/0_chat_administrator_rights.d.ts.map +1 -1
  665. package/script/types/0_chat_member_rights.d.ts +1 -1
  666. package/script/types/0_chat_member_rights.d.ts.map +1 -1
  667. package/script/types/0_contact.d.ts +1 -1
  668. package/script/types/0_contact.d.ts.map +1 -1
  669. package/script/types/0_dice.d.ts +1 -1
  670. package/script/types/0_dice.d.ts.map +1 -1
  671. package/script/types/0_failed_invitation.d.ts +1 -1
  672. package/script/types/0_failed_invitation.d.ts.map +1 -1
  673. package/script/types/0_invoice.d.ts +1 -1
  674. package/script/types/0_invoice.d.ts.map +1 -1
  675. package/script/types/0_live_stream_channel.d.ts +1 -1
  676. package/script/types/0_live_stream_channel.d.ts.map +1 -1
  677. package/script/types/0_mask_position.d.ts +1 -1
  678. package/script/types/0_mask_position.d.ts.map +1 -1
  679. package/script/types/0_mask_position.js +1 -1
  680. package/script/types/0_message_entity.d.ts +1 -1
  681. package/script/types/0_message_entity.d.ts.map +1 -1
  682. package/script/types/0_message_entity.js +1 -1
  683. package/script/types/0_message_search_filter.d.ts +1 -1
  684. package/script/types/0_message_search_filter.d.ts.map +1 -1
  685. package/script/types/0_opening_hours.d.ts +1 -1
  686. package/script/types/0_opening_hours.d.ts.map +1 -1
  687. package/script/types/0_reaction.js +5 -5
  688. package/script/types/0_refunded_payment.d.ts +1 -1
  689. package/script/types/0_refunded_payment.d.ts.map +1 -1
  690. package/script/types/0_restriction_reason.d.ts +1 -1
  691. package/script/types/0_restriction_reason.d.ts.map +1 -1
  692. package/script/types/0_self_destruct_option.js +3 -3
  693. package/script/types/0_shipping_address.d.ts +1 -1
  694. package/script/types/0_shipping_address.d.ts.map +1 -1
  695. package/script/types/0_slow_mode_duration.js +2 -2
  696. package/script/types/0_voice.d.ts +1 -1
  697. package/script/types/0_voice.d.ts.map +1 -1
  698. package/script/types/0_voice_transcription.d.ts +1 -1
  699. package/script/types/0_voice_transcription.d.ts.map +1 -1
  700. package/script/types/1_animation.d.ts +1 -1
  701. package/script/types/1_animation.d.ts.map +1 -1
  702. package/script/types/1_audio.d.ts +1 -1
  703. package/script/types/1_audio.d.ts.map +1 -1
  704. package/script/types/1_bot_command_scope.d.ts +2 -2
  705. package/script/types/1_bot_command_scope.d.ts.map +1 -1
  706. package/script/types/1_chat_p.d.ts +2 -2
  707. package/script/types/1_chat_p.d.ts.map +1 -1
  708. package/script/types/1_chat_p.js +2 -2
  709. package/script/types/1_document.d.ts +1 -1
  710. package/script/types/1_document.d.ts.map +1 -1
  711. package/script/types/1_giveaway.d.ts +2 -2
  712. package/script/types/1_giveaway.d.ts.map +1 -1
  713. package/script/types/1_inline_keyboard_button.d.ts +3 -3
  714. package/script/types/1_inline_keyboard_button.d.ts.map +1 -1
  715. package/script/types/1_inline_keyboard_button.js +4 -4
  716. package/script/types/1_inline_query_result_button.d.ts +1 -1
  717. package/script/types/1_inline_query_result_button.d.ts.map +1 -1
  718. package/script/types/1_input_media.d.ts +4 -4
  719. package/script/types/1_input_media.d.ts.map +1 -1
  720. package/script/types/1_input_story_content.d.ts +1 -1
  721. package/script/types/1_input_story_content.d.ts.map +1 -1
  722. package/script/types/1_keyboard_button.d.ts +3 -3
  723. package/script/types/1_keyboard_button.d.ts.map +1 -1
  724. package/script/types/1_keyboard_button.js +1 -1
  725. package/script/types/1_message_reaction.d.ts +1 -1
  726. package/script/types/1_message_reaction.d.ts.map +1 -1
  727. package/script/types/1_message_reaction.js +2 -2
  728. package/script/types/1_mini_app_info.d.ts +2 -2
  729. package/script/types/1_mini_app_info.d.ts.map +1 -1
  730. package/script/types/1_network_statistics.d.ts +1 -1
  731. package/script/types/1_network_statistics.d.ts.map +1 -1
  732. package/script/types/1_order_info.d.ts +2 -2
  733. package/script/types/1_order_info.d.ts.map +1 -1
  734. package/script/types/1_photo.d.ts +1 -1
  735. package/script/types/1_photo.d.ts.map +1 -1
  736. package/script/types/1_poll_option.d.ts +2 -2
  737. package/script/types/1_poll_option.d.ts.map +1 -1
  738. package/script/types/1_poll_option.js +2 -2
  739. package/script/types/1_reaction_count.d.ts +2 -2
  740. package/script/types/1_reaction_count.d.ts.map +1 -1
  741. package/script/types/1_reply_quote.d.ts +2 -2
  742. package/script/types/1_reply_quote.d.ts.map +1 -1
  743. package/script/types/1_sticker.d.ts +3 -3
  744. package/script/types/1_sticker.d.ts.map +1 -1
  745. package/script/types/1_sticker.js +2 -2
  746. package/script/types/1_story_privacy.d.ts +1 -1
  747. package/script/types/1_story_privacy.d.ts.map +1 -1
  748. package/script/types/1_story_reaction.d.ts +2 -2
  749. package/script/types/1_story_reaction.d.ts.map +1 -1
  750. package/script/types/1_user.d.ts +2 -2
  751. package/script/types/1_user.d.ts.map +1 -1
  752. package/script/types/1_user.js +1 -1
  753. package/script/types/1_venue.d.ts +1 -1
  754. package/script/types/1_venue.d.ts.map +1 -1
  755. package/script/types/1_video.d.ts +1 -1
  756. package/script/types/1_video.d.ts.map +1 -1
  757. package/script/types/1_video_note.d.ts +1 -1
  758. package/script/types/1_video_note.d.ts.map +1 -1
  759. package/script/types/2_business_connection.d.ts +3 -3
  760. package/script/types/2_business_connection.d.ts.map +1 -1
  761. package/script/types/2_chat.d.ts +6 -6
  762. package/script/types/2_chat.d.ts.map +1 -1
  763. package/script/types/2_chat.js +3 -3
  764. package/script/types/2_chat_member.d.ts +4 -4
  765. package/script/types/2_chat_member.d.ts.map +1 -1
  766. package/script/types/2_chat_member.js +1 -1
  767. package/script/types/2_chat_settings.d.ts +1 -1
  768. package/script/types/2_chat_settings.d.ts.map +1 -1
  769. package/script/types/2_chat_settings.js +1 -1
  770. package/script/types/2_chosen_inline_result.d.ts +3 -3
  771. package/script/types/2_chosen_inline_result.d.ts.map +1 -1
  772. package/script/types/2_forward_header.d.ts +4 -4
  773. package/script/types/2_forward_header.d.ts.map +1 -1
  774. package/script/types/2_forward_header.js +6 -6
  775. package/script/types/2_game.d.ts +3 -3
  776. package/script/types/2_game.d.ts.map +1 -1
  777. package/script/types/2_gift_upgraded_component.d.ts +2 -2
  778. package/script/types/2_gift_upgraded_component.d.ts.map +1 -1
  779. package/script/types/2_inactive_chat.d.ts +1 -1
  780. package/script/types/2_inactive_chat.d.ts.map +1 -1
  781. package/script/types/2_inline_query.d.ts +3 -3
  782. package/script/types/2_inline_query.d.ts.map +1 -1
  783. package/script/types/2_inline_query.js +1 -1
  784. package/script/types/2_invite_link.d.ts +3 -3
  785. package/script/types/2_invite_link.d.ts.map +1 -1
  786. package/script/types/2_message_interactions.d.ts +1 -1
  787. package/script/types/2_message_interactions.d.ts.map +1 -1
  788. package/script/types/2_message_reaction_count.d.ts +4 -4
  789. package/script/types/2_message_reaction_count.d.ts.map +1 -1
  790. package/script/types/2_message_reactions.d.ts +4 -4
  791. package/script/types/2_message_reactions.d.ts.map +1 -1
  792. package/script/types/2_poll.d.ts +3 -3
  793. package/script/types/2_poll.d.ts.map +1 -1
  794. package/script/types/2_poll.js +3 -3
  795. package/script/types/2_poll_answer.d.ts +3 -3
  796. package/script/types/2_poll_answer.d.ts.map +1 -1
  797. package/script/types/2_pre_checkout_query.d.ts +4 -4
  798. package/script/types/2_pre_checkout_query.d.ts.map +1 -1
  799. package/script/types/2_reply_markup.d.ts +3 -3
  800. package/script/types/2_reply_markup.d.ts.map +1 -1
  801. package/script/types/2_reply_to.d.ts +2 -2
  802. package/script/types/2_reply_to.d.ts.map +1 -1
  803. package/script/types/2_sticker_set.d.ts +51 -0
  804. package/script/types/2_sticker_set.d.ts.map +1 -0
  805. package/script/types/2_sticker_set.js +94 -0
  806. package/script/types/2_story_content.d.ts +2 -2
  807. package/script/types/2_story_content.d.ts.map +1 -1
  808. package/script/types/2_story_interactions.d.ts +2 -2
  809. package/script/types/2_story_interactions.d.ts.map +1 -1
  810. package/script/types/2_story_interactive_area.d.ts +5 -5
  811. package/script/types/2_story_interactive_area.d.ts.map +1 -1
  812. package/script/types/2_successful_payment.d.ts +2 -2
  813. package/script/types/2_successful_payment.d.ts.map +1 -1
  814. package/script/types/3_chat_member_updated.d.ts +5 -5
  815. package/script/types/3_chat_member_updated.d.ts.map +1 -1
  816. package/script/types/3_gift.d.ts +4 -4
  817. package/script/types/3_gift.d.ts.map +1 -1
  818. package/script/types/3_join_request.d.ts +4 -4
  819. package/script/types/3_join_request.d.ts.map +1 -1
  820. package/script/types/3_story.d.ts +8 -8
  821. package/script/types/3_story.d.ts.map +1 -1
  822. package/script/types/4_claimed_gift.d.ts +4 -4
  823. package/script/types/4_claimed_gift.d.ts.map +1 -1
  824. package/script/types/4_link_preview.d.ts +5 -5
  825. package/script/types/4_link_preview.d.ts.map +1 -1
  826. package/script/types/5_claimed_gifts.d.ts +2 -2
  827. package/script/types/5_claimed_gifts.d.ts.map +1 -1
  828. package/script/types/5_claimed_gifts.js +3 -3
  829. package/script/types/5_message.d.ts +29 -29
  830. package/script/types/5_message.d.ts.map +1 -1
  831. package/script/types/5_message.js +8 -8
  832. package/script/types/5_message_content.d.ts +4 -4
  833. package/script/types/5_message_content.d.ts.map +1 -1
  834. package/script/types/6_callback_query.d.ts +3 -3
  835. package/script/types/6_callback_query.d.ts.map +1 -1
  836. package/script/types/6_callback_query.js +2 -2
  837. package/script/types/6_chat_list_item.d.ts +4 -4
  838. package/script/types/6_chat_list_item.d.ts.map +1 -1
  839. package/script/types/6_chat_list_item.js +6 -6
  840. package/script/types/6_inline_query_result.d.ts +6 -6
  841. package/script/types/6_inline_query_result.d.ts.map +1 -1
  842. package/script/types/6_inline_query_result.js +16 -16
  843. package/script/types/6_saved_chat.d.ts +36 -0
  844. package/script/types/6_saved_chat.d.ts.map +1 -0
  845. package/script/types/6_saved_chat.js +46 -0
  846. package/script/types/6_topic.d.ts +2 -2
  847. package/script/types/6_topic.d.ts.map +1 -1
  848. package/script/types/6_topic.js +1 -1
  849. package/script/types/7_inline_query_answer.d.ts +2 -2
  850. package/script/types/7_inline_query_answer.d.ts.map +1 -1
  851. package/script/types/7_saved_chats.d.ts +33 -0
  852. package/script/types/7_saved_chats.d.ts.map +1 -0
  853. package/script/types/7_saved_chats.js +39 -0
  854. package/script/types/7_update.d.ts +24 -24
  855. package/script/types/7_update.d.ts.map +1 -1
  856. package/script/types/_file_id.d.ts +60 -49
  857. package/script/types/_file_id.d.ts.map +1 -1
  858. package/script/types/_file_id.js +155 -136
  859. package/script/types/_getters.d.ts +3 -3
  860. package/script/types/_getters.d.ts.map +1 -1
  861. package/script/utilities/0_bigint.js +5 -5
  862. package/script/utilities/0_buffer.js +3 -3
  863. package/script/utilities/0_env.js +1 -1
  864. package/script/utilities/0_misc.d.ts.map +1 -1
  865. package/script/utilities/0_misc.js +4 -3
  866. package/script/utilities/0_rle.js +1 -1
  867. package/script/utilities/1_auth.js +1 -1
  868. package/script/utilities/1_base64.js +1 -1
  869. package/script/utilities/1_logger.js +2 -2
  870. package/script/utilities/1_math.js +2 -2
  871. package/script/utilities/2_queue.js +1 -1
  872. package/esm/deps/jsr.io/@std/path/1.1.0/_os.d.ts +0 -2
  873. package/esm/deps/jsr.io/@std/path/1.1.0/_os.d.ts.map +0 -1
  874. package/esm/deps/jsr.io/@std/path/1.1.0/_os.js +0 -9
  875. package/script/deps/jsr.io/@std/path/1.1.0/_os.d.ts +0 -2
  876. package/script/deps/jsr.io/@std/path/1.1.0/_os.d.ts.map +0 -1
  877. /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/assert.d.ts +0 -0
  878. /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/assert.js +0 -0
  879. /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equal.d.ts +0 -0
  880. /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equal.js +0 -0
  881. /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equals.d.ts +0 -0
  882. /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equals.js +0 -0
  883. /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/false.d.ts +0 -0
  884. /package/esm/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/false.js +0 -0
  885. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/_util.d.ts +0 -0
  886. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/_util.js +0 -0
  887. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/abortable.d.ts +0 -0
  888. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/abortable.js +0 -0
  889. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/deadline.d.ts +0 -0
  890. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/deadline.js +0 -0
  891. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/debounce.d.ts +0 -0
  892. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/debounce.js +0 -0
  893. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/delay.d.ts +0 -0
  894. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mod.d.ts +0 -0
  895. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mod.js +0 -0
  896. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mux_async_iterator.d.ts +0 -0
  897. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mux_async_iterator.js +0 -0
  898. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/pool.d.ts +0 -0
  899. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/pool.js +0 -0
  900. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/retry.d.ts +0 -0
  901. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/retry.js +0 -0
  902. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/tee.d.ts +0 -0
  903. /package/esm/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/tee.js +0 -0
  904. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/assert_path.d.ts +0 -0
  905. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/assert_path.js +0 -0
  906. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/basename.d.ts +0 -0
  907. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/basename.js +0 -0
  908. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/constants.d.ts +0 -0
  909. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/constants.js +0 -0
  910. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/from_file_url.d.ts +0 -0
  911. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/from_file_url.js +0 -0
  912. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize.d.ts +0 -0
  913. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize.js +0 -0
  914. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize_string.d.ts +0 -0
  915. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize_string.js +0 -0
  916. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/strip_trailing_separators.d.ts +0 -0
  917. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/strip_trailing_separators.js +0 -0
  918. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/to_file_url.d.ts +0 -0
  919. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/to_file_url.js +0 -0
  920. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/basename.d.ts +0 -0
  921. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/extname.d.ts +0 -0
  922. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/is_absolute.d.ts +0 -0
  923. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/join.d.ts +0 -0
  924. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/_util.d.ts +0 -0
  925. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/_util.js +0 -0
  926. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/basename.d.ts +0 -0
  927. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/basename.js +0 -0
  928. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/extname.d.ts +0 -0
  929. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/extname.js +0 -0
  930. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/from_file_url.d.ts +0 -0
  931. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/from_file_url.js +0 -0
  932. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/is_absolute.d.ts +0 -0
  933. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/is_absolute.js +0 -0
  934. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/join.d.ts +0 -0
  935. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/join.js +0 -0
  936. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/normalize.d.ts +0 -0
  937. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/normalize.js +0 -0
  938. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/to_file_url.d.ts +0 -0
  939. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/to_file_url.js +0 -0
  940. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/to_file_url.d.ts +0 -0
  941. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/_util.d.ts +0 -0
  942. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/_util.js +0 -0
  943. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/basename.d.ts +0 -0
  944. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/basename.js +0 -0
  945. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/extname.d.ts +0 -0
  946. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/extname.js +0 -0
  947. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/from_file_url.d.ts +0 -0
  948. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/from_file_url.js +0 -0
  949. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/is_absolute.d.ts +0 -0
  950. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/is_absolute.js +0 -0
  951. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/join.d.ts +0 -0
  952. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/join.js +0 -0
  953. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/normalize.d.ts +0 -0
  954. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/normalize.js +0 -0
  955. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/to_file_url.d.ts +0 -0
  956. /package/esm/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/to_file_url.js +0 -0
  957. /package/esm/deps/jsr.io/@std/streams/{1.0.10 → 1.0.11}/to_array_buffer.d.ts +0 -0
  958. /package/esm/deps/jsr.io/@std/streams/{1.0.10 → 1.0.11}/to_array_buffer.js +0 -0
  959. /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/assert.d.ts +0 -0
  960. /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/assert.js +0 -0
  961. /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equal.d.ts +0 -0
  962. /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equal.js +0 -0
  963. /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equals.d.ts +0 -0
  964. /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/equals.js +0 -0
  965. /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/false.d.ts +0 -0
  966. /package/script/deps/jsr.io/@std/assert/{1.0.13 → 1.0.14}/false.js +0 -0
  967. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/_util.d.ts +0 -0
  968. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/_util.js +0 -0
  969. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/abortable.d.ts +0 -0
  970. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/abortable.js +0 -0
  971. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/deadline.d.ts +0 -0
  972. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/deadline.js +0 -0
  973. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/debounce.d.ts +0 -0
  974. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/debounce.js +0 -0
  975. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/delay.d.ts +0 -0
  976. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mod.d.ts +0 -0
  977. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mod.js +0 -0
  978. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mux_async_iterator.d.ts +0 -0
  979. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/mux_async_iterator.js +0 -0
  980. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/pool.d.ts +0 -0
  981. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/pool.js +0 -0
  982. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/retry.d.ts +0 -0
  983. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/retry.js +0 -0
  984. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/tee.d.ts +0 -0
  985. /package/script/deps/jsr.io/@std/async/{1.0.13 → 1.0.14}/tee.js +0 -0
  986. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/assert_path.d.ts +0 -0
  987. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/assert_path.js +0 -0
  988. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/basename.d.ts +0 -0
  989. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/basename.js +0 -0
  990. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/constants.d.ts +0 -0
  991. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/constants.js +0 -0
  992. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/from_file_url.d.ts +0 -0
  993. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/from_file_url.js +0 -0
  994. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize.d.ts +0 -0
  995. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize.js +0 -0
  996. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize_string.d.ts +0 -0
  997. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/normalize_string.js +0 -0
  998. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/strip_trailing_separators.d.ts +0 -0
  999. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/strip_trailing_separators.js +0 -0
  1000. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/to_file_url.d.ts +0 -0
  1001. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/_common/to_file_url.js +0 -0
  1002. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/basename.d.ts +0 -0
  1003. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/extname.d.ts +0 -0
  1004. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/is_absolute.d.ts +0 -0
  1005. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/join.d.ts +0 -0
  1006. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/_util.d.ts +0 -0
  1007. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/_util.js +0 -0
  1008. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/basename.d.ts +0 -0
  1009. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/basename.js +0 -0
  1010. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/extname.d.ts +0 -0
  1011. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/extname.js +0 -0
  1012. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/from_file_url.d.ts +0 -0
  1013. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/from_file_url.js +0 -0
  1014. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/is_absolute.d.ts +0 -0
  1015. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/is_absolute.js +0 -0
  1016. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/join.d.ts +0 -0
  1017. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/join.js +0 -0
  1018. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/normalize.d.ts +0 -0
  1019. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/normalize.js +0 -0
  1020. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/to_file_url.d.ts +0 -0
  1021. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/posix/to_file_url.js +0 -0
  1022. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/to_file_url.d.ts +0 -0
  1023. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/_util.d.ts +0 -0
  1024. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/_util.js +0 -0
  1025. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/basename.d.ts +0 -0
  1026. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/basename.js +0 -0
  1027. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/extname.d.ts +0 -0
  1028. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/extname.js +0 -0
  1029. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/from_file_url.d.ts +0 -0
  1030. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/from_file_url.js +0 -0
  1031. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/is_absolute.d.ts +0 -0
  1032. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/is_absolute.js +0 -0
  1033. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/join.d.ts +0 -0
  1034. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/join.js +0 -0
  1035. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/normalize.d.ts +0 -0
  1036. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/normalize.js +0 -0
  1037. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/to_file_url.d.ts +0 -0
  1038. /package/script/deps/jsr.io/@std/path/{1.1.0 → 1.1.2}/windows/to_file_url.js +0 -0
  1039. /package/script/deps/jsr.io/@std/streams/{1.0.10 → 1.0.11}/to_array_buffer.d.ts +0 -0
  1040. /package/script/deps/jsr.io/@std/streams/{1.0.10 → 1.0.11}/to_array_buffer.js +0 -0
@@ -208,11 +208,11 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage, ge
208
208
  return { ...message, groupCreated, newChatMembers };
209
209
  }
210
210
  else if (_2_tl_js_1.Api.is("messageActionChannelCreate", message_.action)) {
211
- if (message.chat.type == "channel") {
211
+ if (message.chat.type === "channel") {
212
212
  const channelCreated = true;
213
213
  return { ...message, channelCreated };
214
214
  }
215
- else if (message.chat.type == "supergroup") {
215
+ else if (message.chat.type === "supergroup") {
216
216
  const supergroupCreated = true;
217
217
  return { ...message, supergroupCreated };
218
218
  }
@@ -382,7 +382,7 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
382
382
  if (message_.reply_markup) {
383
383
  message.replyMarkup = (0, _2_reply_markup_js_1.constructReplyMarkup)(message_.reply_markup);
384
384
  }
385
- if (message_.via_bot_id != undefined) {
385
+ if (message_.via_bot_id !== undefined) {
386
386
  const viaBot = await getEntity({ _: "peerUser", user_id: message_.via_bot_id });
387
387
  if (viaBot) {
388
388
  message.viaBot = (0, _1_user_js_1.constructUser)(viaBot);
@@ -391,7 +391,7 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
391
391
  (0, _0_deps_js_1.unreachable)();
392
392
  }
393
393
  }
394
- if (message_.via_business_bot_id != undefined) {
394
+ if (message_.via_business_bot_id !== undefined) {
395
395
  const viaBusinessBot = await getEntity({ _: "peerUser", user_id: message_.via_business_bot_id });
396
396
  if (viaBusinessBot) {
397
397
  message.viaBusinessBot = (0, _1_user_js_1.constructUser)(viaBusinessBot);
@@ -400,14 +400,14 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
400
400
  (0, _0_deps_js_1.unreachable)();
401
401
  }
402
402
  }
403
- if (message_.post_author != undefined) {
403
+ if (message_.post_author !== undefined) {
404
404
  message.authorSignature = message_.post_author;
405
405
  }
406
406
  if (_2_tl_js_1.Api.is("messageFwdHeader", message_.fwd_from)) {
407
- message.isAutomaticForward = message_.fwd_from.saved_from_peer != undefined && message_.fwd_from.saved_from_msg_id != undefined;
407
+ message.isAutomaticForward = message_.fwd_from.saved_from_peer !== undefined && message_.fwd_from.saved_from_msg_id !== undefined;
408
408
  message.forwardFrom = await (0, _2_forward_header_js_1.constructForwardHeader)(message_.fwd_from, getEntity);
409
409
  }
410
- if (message_.grouped_id != undefined) {
410
+ if (message_.grouped_id !== undefined) {
411
411
  message.mediaGroupId = String(message_.grouped_id);
412
412
  }
413
413
  if (message_.edit_date) {
@@ -542,7 +542,7 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
542
542
  const invoice = (0, _0_invoice_js_1.constructInvoice)(message_.media);
543
543
  m = { ...message, invoice };
544
544
  }
545
- if (m == null) {
545
+ if (m === null) {
546
546
  const unsupported = true;
547
547
  m = { ...message, unsupported };
548
548
  }
@@ -17,10 +17,10 @@
17
17
  * You should have received a copy of the GNU Lesser General Public License
18
18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
19
  */
20
- import { MessageEntity } from "./0_message_entity.js";
21
- import { ParseMode } from "./0_parse_mode.js";
22
- import { PriceTag } from "./0_price_tag.js";
23
- import { LinkPreview } from "./4_link_preview.js";
20
+ import type { MessageEntity } from "./0_message_entity.js";
21
+ import type { ParseMode } from "./0_parse_mode.js";
22
+ import type { PriceTag } from "./0_price_tag.js";
23
+ import type { LinkPreview } from "./4_link_preview.js";
24
24
  /**
25
25
  * A message content that shares a contact.
26
26
  * @unlisted
@@ -1 +1 @@
1
- {"version":3,"file":"5_message_content.d.ts","sourceRoot":"","sources":["../../src/types/5_message_content.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,SAAS,CAAC;IAChB,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,oCAAoC;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,qCAAqC;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,qFAAqF;IACrF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wGAAwG;IACxG,UAAU,CAAC,EAAE,MAAM,C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EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,0DAA0D;AAC1D,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG,sBAAsB,GAAG,mBAAmB,GAAG,qBAAqB,GAAG,qBAAqB,CAAC"}
@@ -18,9 +18,9 @@
18
18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
19
  */
20
20
  import { Api } from "../2_tl.js";
21
- import { EntityGetter } from "./_getters.js";
22
- import { User } from "./1_user.js";
23
- import { Message, MessageGetter } from "./5_message.js";
21
+ import type { EntityGetter } from "./_getters.js";
22
+ import { type User } from "./1_user.js";
23
+ import type { Message, MessageGetter } from "./5_message.js";
24
24
  /** A received callback query. */
25
25
  export interface CallbackQuery {
26
26
  /** The identifier of the callback query. */
@@ -1 +1 @@
1
- {"version":3,"file":"6_callback_query.d.ts","sourceRoot":"","sources":["../../src/types/6_callback_query.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAKH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MA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AAI,EAAE,IAAI,CAAC;IACX,uGAAuG;IACvG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oKAAoK;IACpK,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gHAAgH;IAChH,YAAY,EAAE,MAAM,CAAC;IACrB,oFAAoF;IACpF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAGD,wBAAsB,0BAA0B,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAY9G;AAED,wBAAsB,sBAAsB,CAAC,aAAa,EAAE,GAAG,CAAC,sBAAsB,GAAG,GAAG,CAAC,4BAA4B,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,CAmBrM"}
@@ -49,10 +49,10 @@ async function constructCallbackQuery(callbackQuery, getEntity, getMessage) {
49
49
  const id = String(callbackQuery.query_id);
50
50
  const gameShortName = callbackQuery.game_short_name;
51
51
  const data = callbackQuery.data !== undefined ? (0, _1_utilities_js_1.decodeText)(callbackQuery.data) : undefined;
52
- const chatInstance = callbackQuery.chat_instance == 0n ? "" : String(callbackQuery.chat_instance);
52
+ const chatInstance = callbackQuery.chat_instance === 0n ? "" : String(callbackQuery.chat_instance);
53
53
  if (_2_tl_js_1.Api.is("updateBotCallbackQuery", callbackQuery)) {
54
54
  const message = await getMessage(_2_tl_js_1.Api.peerToChatId(callbackQuery.peer), Number(callbackQuery.msg_id));
55
- if (message == null) {
55
+ if (message === null) {
56
56
  (0, _0_deps_js_1.unreachable)();
57
57
  }
58
58
  return (0, _1_utilities_js_1.cleanObject)({ id, from: user, message, chatInstance, data, gameShortName });
@@ -18,10 +18,10 @@
18
18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
19
  */
20
20
  import { Api } from "../2_tl.js";
21
- import { EntityGetter } from "./_getters.js";
22
- import { ChatP } from "./1_chat_p.js";
23
- import { StickerSetNameGetter } from "./1_sticker.js";
24
- import { Message, MessageGetter } from "./5_message.js";
21
+ import type { EntityGetter } from "./_getters.js";
22
+ import { type ChatP } from "./1_chat_p.js";
23
+ import type { StickerSetNameGetter } from "./1_sticker.js";
24
+ import { type Message, type MessageGetter } from "./5_message.js";
25
25
  export interface ChatListItem {
26
26
  chat: ChatP;
27
27
  order: string;
@@ -1 +1 @@
1
- {"version":3,"file":"6_chat_list_item.d.ts","sourceRoot":"","sources":["../../src/types/6_chat_list_item.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAkB,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAoB,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE1E,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,KAAK,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC;CAC/C;AAED,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,EAAE,gBAAgB,CAAC,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAMrH;AAED,wBAAsB,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,CAenL;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,GAAG,GAAG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1 = require("./5_message.js");
32
32
  function getChatListItemOrder(lastMessage, pinned) {
33
- const p = pinned == -1 ? "" : `P${100 - pinned}`;
33
+ const p = pinned === -1 ? "" : `P${100 - pinned}`;
34
34
  if (!lastMessage) {
35
35
  return p + "0";
36
36
  }
@@ -38,11 +38,11 @@ function getChatListItemOrder(lastMessage, pinned) {
38
38
  }
39
39
  async function constructChatListItem(chatId, pinned, lastMessageId, getEntity, getMessage) {
40
40
  const entity = await getEntity(_2_tl_js_1.Api.chatIdToPeer(chatId));
41
- if (entity == null) {
41
+ if (entity === null) {
42
42
  return null;
43
43
  }
44
44
  const lastMessage_ = lastMessageId > 0 ? await getMessage(chatId, lastMessageId) : null;
45
- const lastMessage = lastMessage_ == null ? undefined : lastMessage_;
45
+ const lastMessage = lastMessage_ === null ? undefined : lastMessage_;
46
46
  return (0, _1_utilities_js_1.cleanObject)({
47
47
  chat: (0, _1_chat_p_js_1.constructChatP)(entity),
48
48
  order: getChatListItemOrder(lastMessage, pinned),
@@ -60,7 +60,7 @@ function constructChatListItem2(entity, pinned, lastMessage) {
60
60
  }
61
61
  async function constructChatListItem3(chatId, pinned, lastMessage, getEntity) {
62
62
  const entity = await getEntity(_2_tl_js_1.Api.chatIdToPeer(chatId));
63
- if (entity == null) {
63
+ if (entity === null) {
64
64
  return null;
65
65
  }
66
66
  return (0, _1_utilities_js_1.cleanObject)({
@@ -71,7 +71,7 @@ async function constructChatListItem3(chatId, pinned, lastMessage, getEntity) {
71
71
  });
72
72
  }
73
73
  async function constructChatListItem4(dialog, dialogs, pinnedChats, getEntity, getMessage, getStickerSetName) {
74
- const topMessage_ = dialogs.messages.find((v) => "id" in v && v.id == dialog.top_message);
74
+ const topMessage_ = dialogs.messages.find((v) => "id" in v && v.id === dialog.top_message);
75
75
  if (!topMessage_) {
76
76
  (0, _0_deps_js_1.unreachable)();
77
77
  }
@@ -81,7 +81,7 @@ async function constructChatListItem4(dialog, dialogs, pinnedChats, getEntity, g
81
81
  const userId = "user_id" in dialog.peer ? dialog.peer.user_id : null;
82
82
  const chatId = "chat_id" in dialog.peer ? dialog.peer.chat_id : null;
83
83
  const channelId = "channel_id" in dialog.peer ? dialog.peer.channel_id : null;
84
- const chat__ = chatId != null ? dialogs.chats.find((v) => _2_tl_js_1.Api.is("chat", v) && v.id == chatId) : channelId != null ? dialogs.chats.find((v) => _2_tl_js_1.Api.is("channel", v) && v.id == channelId) : userId != null ? dialogs.users.find((v) => _2_tl_js_1.Api.is("user", v) && v.id == userId) : (0, _0_deps_js_1.unreachable)();
84
+ const chat__ = chatId !== null ? dialogs.chats.find((v) => _2_tl_js_1.Api.is("chat", v) && v.id === chatId) : channelId !== null ? dialogs.chats.find((v) => _2_tl_js_1.Api.is("channel", v) && v.id === channelId) : userId !== null ? dialogs.users.find((v) => _2_tl_js_1.Api.is("user", v) && v.id === userId) : (0, _0_deps_js_1.unreachable)();
85
85
  if (!chat__) {
86
86
  (0, _0_deps_js_1.unreachable)();
87
87
  }
@@ -18,12 +18,12 @@
18
18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
19
  */
20
20
  import { Api } from "../2_tl.js";
21
- import { UsernameResolver } from "./_getters.js";
22
- import { MessageEntity } from "./0_message_entity.js";
23
- import { ParseMode } from "./0_parse_mode.js";
24
- import { Thumbnail } from "./0_thumbnail.js";
25
- import { ReplyMarkupInlineKeyboard } from "./2_reply_markup.js";
26
- import { MessageContent } from "./5_message_content.js";
21
+ import type { UsernameResolver } from "./_getters.js";
22
+ import { type MessageEntity } from "./0_message_entity.js";
23
+ import type { ParseMode } from "./0_parse_mode.js";
24
+ import { type Thumbnail } from "./0_thumbnail.js";
25
+ import { type ReplyMarkupInlineKeyboard } from "./2_reply_markup.js";
26
+ import type { MessageContent } from "./5_message_content.js";
27
27
  /** @unlisted */
28
28
  export type InlineQueryResultType = "article" | "audio" | "document" | "gif" | "mpeg4Gif" | "photo" | "sticker" | "video" | "voice" | "game" | "location" | "venue";
29
29
  /** @unlisted */
@@ -1 +1 @@
1
- {"version":3,"file":"6_inline_query_result.d.ts","sourceRoot":"","sources":["../../src/types/6_inline_query_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAA0B,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAsB,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAEjE,OAAO,EAAwB,yBAAyB,EAAyB,MAAM,qBAAqB,CAAC;AAC7G,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAC7B,SAAS,GACT,OAAO,GACP,UAAU,GACV,KAAK,GACL,UAAU,GACV,OAAO,GACP,SAAS,GACT,OAAO,GACP,OAAO,GACP,MAAM,GACN,UAAU,GACV,OAAO,CAAC;AAEZ,gBAAgB;AAChB,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,qBAAqB,CAAC;IAC5B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,gBAAgB;AAChB,MAAM,WAAW,+BAA+B;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,eAAe,CAAC,EAAE,aAAa,EAAE,CAAC;CACnC;AAED,gBAAgB;AAChB,MAAM,WAAW,iDAAiD;IAChE,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,WAAW,CAAC,EAAE,yBAAyB,CAAC;CACzC;AAED,gBAAgB;AAChB,MAAM,WAAW,iCAAiC;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,gBAAgB;AAChB,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,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE;IAAE,SAAS,CAAC,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAA;CAAE,KAAK,OAAO,CAAC,SAAS,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC,CAAC,EAAE,gBAAgB,EAAE,gBAAgB,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAsK/R"}
@@ -67,7 +67,7 @@ function constructInlineQueryResult(result) {
67
67
  messageContent: (0, _1_utilities_js_1.cleanObject)({
68
68
  type: "text",
69
69
  text: result.send_message.message,
70
- entities: (result.send_message.entities ?? []).map(_0_message_entity_js_1.constructMessageEntity).filter((v) => v != null),
70
+ entities: (result.send_message.entities ?? []).map(_0_message_entity_js_1.constructMessageEntity).filter((v) => v !== null),
71
71
  linkPreview: _2_tl_js_1.Api.is("botInlineMessageMediaWebPage", result.send_message) ? { type: "unknown", id: "", url: result.send_message.url, smallMedia: result.send_message.force_small_media ?? false, largeMedia: result.send_message.force_large_media ?? false, aboveText: result.send_message.invert_media ?? false } : undefined,
72
72
  }),
73
73
  replyMarkup: result.send_message.reply_markup ? (0, _2_reply_markup_js_1.constructReplyMarkup)(result.send_message.reply_markup) : undefined,
@@ -113,7 +113,7 @@ function constructInlineQueryResult(result) {
113
113
  ? {
114
114
  type: "text",
115
115
  text: result.send_message.message,
116
- entities: (result.send_message.entities ?? []).map(_0_message_entity_js_1.constructMessageEntity).filter((v) => v != null),
116
+ entities: (result.send_message.entities ?? []).map(_0_message_entity_js_1.constructMessageEntity).filter((v) => v !== null),
117
117
  }
118
118
  : undefined;
119
119
  const replyMarkup = result.send_message.reply_markup ? (0, _2_reply_markup_js_1.constructReplyMarkup)(result.send_message.reply_markup) : undefined;
@@ -318,7 +318,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
318
318
  if ("thumbnailUrl" in result_ && result_.thumbnailUrl) {
319
319
  thumb = { _: "inputWebDocument", url: result_.thumbnailUrl, size: 0, mime_type: "image/jpeg", attributes: [] };
320
320
  }
321
- else if (result_.type == "photo") {
321
+ else if (result_.type === "photo") {
322
322
  thumb = document;
323
323
  }
324
324
  let ret = ["", []];
@@ -330,15 +330,15 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
330
330
  const sendMessage = { _: "inputBotInlineMessageMediaAuto", message, entities, reply_markup: replyMarkup };
331
331
  const title = "title" in result_ ? result_.title : undefined;
332
332
  const description = "description" in result_ ? result_.description : undefined;
333
- if (document != null) {
334
- return { _: "inputBotInlineResult", id, type, title, description, thumb: thumb == null ? undefined : thumb, content: document, send_message: ({ _: "inputBotInlineMessageMediaAuto", message, entities, reply_markup: replyMarkup }) };
333
+ if (document !== null) {
334
+ return { _: "inputBotInlineResult", id, type, title, description, thumb: thumb === null ? undefined : thumb, content: document, send_message: ({ _: "inputBotInlineMessageMediaAuto", message, entities, reply_markup: replyMarkup }) };
335
335
  }
336
- else if (fileId_ != null) {
336
+ else if (fileId_ !== null) {
337
337
  const fileId = (0, _file_id_js_1.deserializeFileId)(fileId_);
338
338
  return {
339
339
  _: "inputBotInlineResultDocument",
340
340
  id,
341
- type: type == "document" ? "file" : type,
341
+ type: type === "document" ? "file" : type,
342
342
  title,
343
343
  description,
344
344
  document: ({
@@ -350,18 +350,18 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
350
350
  send_message: sendMessage,
351
351
  };
352
352
  }
353
- else if (result_.type == "location") {
354
- return { _: "inputBotInlineResult", id, type, title, description, thumb: thumb == null ? undefined : thumb, send_message: ({ _: "inputBotInlineMessageMediaGeo", geo_point: ({ _: "inputGeoPoint", lat: result_.latitude, long: result_.longitude, accuracy_radius: result_.horizontalAccuracy }), heading: result_.heading, period: result_.livePeriod, proximity_notification_radius: result_.proximityAlertRadius, reply_markup: replyMarkup }) };
353
+ else if (result_.type === "location") {
354
+ return { _: "inputBotInlineResult", id, type, title, description, thumb: thumb === null ? undefined : thumb, send_message: ({ _: "inputBotInlineMessageMediaGeo", geo_point: ({ _: "inputGeoPoint", lat: result_.latitude, long: result_.longitude, accuracy_radius: result_.horizontalAccuracy }), heading: result_.heading, period: result_.livePeriod, proximity_notification_radius: result_.proximityAlertRadius, reply_markup: replyMarkup }) };
355
355
  }
356
- else if (result_.type == "game") {
357
- return { _: "inputBotInlineResult", id, type, title, description, thumb: thumb == null ? undefined : thumb, send_message: ({ _: "inputBotInlineMessageGame", reply_markup: replyMarkup }) };
356
+ else if (result_.type === "game") {
357
+ return { _: "inputBotInlineResult", id, type, title, description, thumb: thumb === null ? undefined : thumb, send_message: ({ _: "inputBotInlineMessageGame", reply_markup: replyMarkup }) };
358
358
  }
359
- else if (result_.type == "article") {
359
+ else if (result_.type === "article") {
360
360
  if (!("text" in result_.messageContent)) {
361
361
  (0, _0_deps_js_1.unreachable)();
362
362
  }
363
363
  const [message, entities] = await parseText(result_.messageContent.text, { entities: result_.messageContent.entities, parseMode: result_.messageContent.parseMode });
364
- const noWebpage = result_.messageContent?.linkPreview && result_.messageContent?.linkPreview.type == "input" && result_.messageContent?.linkPreview.disable ? true : undefined;
364
+ const noWebpage = result_.messageContent?.linkPreview && result_.messageContent?.linkPreview.type === "input" && result_.messageContent?.linkPreview.disable ? true : undefined;
365
365
  const invertMedia = result_.messageContent?.linkPreview?.aboveText ? true : undefined;
366
366
  let sendMessage;
367
367
  if (result_.messageContent.linkPreview?.url) {
@@ -370,13 +370,13 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
370
370
  else {
371
371
  sendMessage = { _: "inputBotInlineMessageText", message, entities, no_webpage: noWebpage, invert_media: invertMedia, reply_markup: replyMarkup };
372
372
  }
373
- return { _: "inputBotInlineResult", id, type, title, description, thumb: thumb == null ? undefined : thumb, send_message: sendMessage };
373
+ return { _: "inputBotInlineResult", id, type, title, description, thumb: thumb === null ? undefined : thumb, send_message: sendMessage };
374
374
  }
375
- else if (result_.type == "venue") {
375
+ else if (result_.type === "venue") {
376
376
  if (!result_.foursquareId || !result_.foursquareType) {
377
377
  (0, _0_deps_js_1.unreachable)();
378
378
  }
379
- return { _: "inputBotInlineResult", id, type, title, description, thumb: thumb == null ? undefined : thumb, send_message: ({ _: "inputBotInlineMessageMediaVenue", geo_point: ({ _: "inputGeoPoint", long: result_.longitude, lat: result_.latitude }), address: result_.address, provider: "foursquare", title: result_.title, venue_id: result_.foursquareId, venue_type: result_.foursquareType, reply_markup: replyMarkup }) };
379
+ return { _: "inputBotInlineResult", id, type, title, description, thumb: thumb === null ? undefined : thumb, send_message: ({ _: "inputBotInlineMessageMediaVenue", geo_point: ({ _: "inputGeoPoint", long: result_.longitude, lat: result_.latitude }), address: result_.address, provider: "foursquare", title: result_.title, venue_id: result_.foursquareId, venue_type: result_.foursquareType, reply_markup: replyMarkup }) };
380
380
  }
381
381
  else {
382
382
  (0, _0_deps_js_1.unreachable)();
@@ -0,0 +1,36 @@
1
+ /**
2
+ * MTKruto - Cross-runtime JavaScript library for building Telegram clients
3
+ * Copyright (C) 2023-2025 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
+ import { Api } from "../2_tl.js";
21
+ import type { SavedDialog } from "../tl/1_telegram_api.js";
22
+ import type { EntityGetter } from "./_getters.js";
23
+ import { type ChatP } from "./1_chat_p.js";
24
+ import type { StickerSetNameGetter } from "./1_sticker.js";
25
+ import { type Message, type MessageGetter } from "./5_message.js";
26
+ /** Information on a saved chat. */
27
+ export interface SavedChat {
28
+ /** The chat. */
29
+ chat: ChatP;
30
+ /** The chat's last saved message. */
31
+ lastMessage: Message;
32
+ /** Whether the chat is pinned. */
33
+ pinned: boolean;
34
+ }
35
+ export declare function constructSavedChat(dialog: SavedDialog, result: Api.messages_savedDialogs | Api.messages_savedDialogsSlice, getEntity: EntityGetter, getMessage: MessageGetter, getStickerSetName: StickerSetNameGetter): Promise<SavedChat>;
36
+ //# sourceMappingURL=6_saved_chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"6_saved_chat.d.ts","sourceRoot":"","sources":["../../src/types/6_saved_chat.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,KAAK,KAAK,EAAkB,MAAM,eAAe,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAoB,KAAK,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGpF,mCAAmC;AACnC,MAAM,WAAW,SAAS;IACxB,gBAAgB;IAChB,IAAI,EAAE,KAAK,CAAC;IACZ,qCAAqC;IACrC,WAAW,EAAE,OAAO,CAAC;IACrB,kCAAkC;IAClC,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,CAAC,qBAAqB,GAAG,GAAG,CAAC,0BAA0B,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,GAAG,OAAO,CAAC,SAAS,CAAC,CAkBjP"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * MTKruto - Cross-runtime JavaScript library for building Telegram clients
4
+ * Copyright (C) 2023-2025 Roj <https://roj.im/>
5
+ *
6
+ * This file is part of MTKruto.
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU Lesser General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU Lesser General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU Lesser General Public License
19
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.constructSavedChat = constructSavedChat;
23
+ const _2_tl_js_1 = require("../2_tl.js");
24
+ const _2_telegram_js_1 = require("../tl/2_telegram.js");
25
+ const _1_chat_p_js_1 = require("./1_chat_p.js");
26
+ const _5_message_js_1 = require("./5_message.js");
27
+ const unreachable_js_1 = require("../deps/jsr.io/@std/assert/1.0.13/unreachable.js");
28
+ async function constructSavedChat(dialog, result, getEntity, getMessage, getStickerSetName) {
29
+ const message = result.messages.find((v) => v.id === dialog.top_message);
30
+ if (message === undefined) {
31
+ (0, unreachable_js_1.unreachable)();
32
+ }
33
+ const dialogId = (0, _2_telegram_js_1.peerToChatId)(dialog.peer);
34
+ const chat_ = (dialog.peer._ === "peerUser" ? result.users : result.chats).find((v) => (0, _2_telegram_js_1.peerToChatId)(v) === dialogId);
35
+ if (chat_ === undefined || _2_tl_js_1.Api.isOneOf(["userEmpty", "chatEmpty"], chat_)) {
36
+ (0, unreachable_js_1.unreachable)();
37
+ }
38
+ const chat = (0, _1_chat_p_js_1.constructChatP)(chat_);
39
+ const lastMessage = await (0, _5_message_js_1.constructMessage)(message, getEntity, getMessage, getStickerSetName, false);
40
+ const pinned = !!dialog.pinned;
41
+ return {
42
+ chat,
43
+ lastMessage,
44
+ pinned,
45
+ };
46
+ }
@@ -17,8 +17,8 @@
17
17
  * You should have received a copy of the GNU Lesser General Public License
18
18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
19
  */
20
- import { ChatP } from "./1_chat_p.js";
21
- import { Message } from "./5_message.js";
20
+ import type { ChatP } from "./1_chat_p.js";
21
+ import type { Message } from "./5_message.js";
22
22
  export interface Topic {
23
23
  id: number;
24
24
  date: number;
@@ -1 +1 @@
1
- {"version":3,"file":"6_topic.d.ts","sourceRoot":"","sources":["../../src/types/6_topic.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,OAAO,EAAqD,MAAM,gBAAgB,CAAC;AAE5F,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,KAAK,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,KAAK,CAqCtD"}
1
+ {"version":3,"file":"6_topic.d.ts","sourceRoot":"","sources":["../../src/types/6_topic.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAqD,MAAM,gBAAgB,CAAC;AAEjG,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,KAAK,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,KAAK,CAqCtD"}
@@ -40,7 +40,7 @@ function constructTopic(message) {
40
40
  const id = forumTopicCreated.id;
41
41
  const date = forumTopicCreated.date;
42
42
  const creator = forumTopicCreated.from ? forumTopicCreated.from : message.from;
43
- const general = forumTopicCreated.id == 1;
43
+ const general = forumTopicCreated.id === 1;
44
44
  const closed = false;
45
45
  const hidden = false;
46
46
  let name = forumTopicCreated.forumTopicCreated.name;
@@ -17,8 +17,8 @@
17
17
  * You should have received a copy of the GNU Lesser General Public License
18
18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
19
  */
20
- import { Api } from "../2_tl.js";
21
- import { InlineQueryResult } from "./6_inline_query_result.js";
20
+ import type { Api } from "../2_tl.js";
21
+ import { type InlineQueryResult } from "./6_inline_query_result.js";
22
22
  /** An answer to an inline query. */
23
23
  export interface InlineQueryAnswer {
24
24
  /** The ID of the inline query that yielded these results. */
@@ -1 +1 @@
1
- {"version":3,"file":"7_inline_query_answer.d.ts","sourceRoot":"","sources":["../../src/types/7_inline_query_answer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAA8B,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE3F,oCAAoC;AACpC,MAAM,WAAW,iBAAiB;IAChC,6DAA6D;IAC7D,EAAE,EAAE,MAAM,CAAC;IACX,gCAAgC;IAChC,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,+FAA+F;IAC/F,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,GAAG,CAAC,mBAAmB,GAAG,iBAAiB,CAM9F"}
1
+ {"version":3,"file":"7_inline_query_answer.d.ts","sourceRoot":"","sources":["../../src/types/7_inline_query_answer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAA8B,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEhG,oCAAoC;AACpC,MAAM,WAAW,iBAAiB;IAChC,6DAA6D;IAC7D,EAAE,EAAE,MAAM,CAAC;IACX,gCAAgC;IAChC,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,+FAA+F;IAC/F,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,GAAG,CAAC,mBAAmB,GAAG,iBAAiB,CAM9F"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * MTKruto - Cross-runtime JavaScript library for building Telegram clients
3
+ * Copyright (C) 2023-2025 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
+ import { Api } from "../2_tl.js";
21
+ import type { EntityGetter } from "./_getters.js";
22
+ import type { StickerSetNameGetter } from "./1_sticker.js";
23
+ import type { MessageGetter } from "./5_message.js";
24
+ import { type SavedChat } from "./6_saved_chat.js";
25
+ /** A list of saved chats. */
26
+ export interface SavedChats {
27
+ /** The saved chats. */
28
+ chats: SavedChat[];
29
+ /** The total count of saved chats. */
30
+ total: number;
31
+ }
32
+ export declare function constructSavedChats(result: Api.messages_SavedDialogs, getEntity: EntityGetter, getMessage: MessageGetter, getStickerSetName: StickerSetNameGetter): Promise<SavedChats>;
33
+ //# sourceMappingURL=7_saved_chats.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"7_saved_chats.d.ts","sourceRoot":"","sources":["../../src/types/7_saved_chats.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEvE,6BAA6B;AAC7B,MAAM,WAAW,UAAU;IACzB,uBAAuB;IACvB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAsB,mBAAmB,CAAC,MAAM,EAAE,GAAG,CAAC,qBAAqB,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC,CAa7L"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * MTKruto - Cross-runtime JavaScript library for building Telegram clients
4
+ * Copyright (C) 2023-2025 Roj <https://roj.im/>
5
+ *
6
+ * This file is part of MTKruto.
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU Lesser General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU Lesser General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU Lesser General Public License
19
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
20
+ */
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.constructSavedChats = constructSavedChats;
23
+ const _0_deps_js_1 = require("../0_deps.js");
24
+ const _2_tl_js_1 = require("../2_tl.js");
25
+ const _6_saved_chat_js_1 = require("./6_saved_chat.js");
26
+ async function constructSavedChats(result, getEntity, getMessage, getStickerSetName) {
27
+ if (_2_tl_js_1.Api.is("messages.savedDialogsNotModified", result)) {
28
+ (0, _0_deps_js_1.unreachable)();
29
+ }
30
+ const chats = new Array();
31
+ const total = "count" in result ? result.count : result.dialogs.length;
32
+ for (const dialog of result.dialogs) {
33
+ chats.push((0, _6_saved_chat_js_1.constructSavedChat)(dialog, result, getEntity, getMessage, getStickerSetName));
34
+ }
35
+ return {
36
+ chats: await Promise.all(chats),
37
+ total,
38
+ };
39
+ }
@@ -17,30 +17,30 @@
17
17
  * You should have received a copy of the GNU Lesser General Public License
18
18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
19
  */
20
- import { AuthorizationState } from "./0_authorization_state.js";
21
- import { ConnectionState } from "./0_connection_state.js";
22
- import { MessageReference } from "./0_message_reference.js";
23
- import { StoryReference } from "./0_story_reference.js";
24
- import { Translation } from "./0_translation.js";
25
- import { UploadProgress } from "./0_upload_progress.js";
26
- import { VideoChat } from "./0_video_chat.js";
27
- import { VoiceTranscription } from "./0_voice_transcription.js";
28
- import { BusinessConnection } from "./2_business_connection.js";
29
- import { ChosenInlineResult } from "./2_chosen_inline_result.js";
30
- import { InlineQuery } from "./2_inline_query.js";
31
- import { MessageInteractions } from "./2_message_interactions.js";
32
- import { MessageReactionCount } from "./2_message_reaction_count.js";
33
- import { MessageReactions } from "./2_message_reactions.js";
34
- import { PollAnswer } from "./2_poll_answer.js";
35
- import { Poll } from "./2_poll.js";
36
- import { PreCheckoutQuery } from "./2_pre_checkout_query.js";
37
- import { ChatMemberUpdated } from "./3_chat_member_updated.js";
38
- import { JoinRequest } from "./3_join_request.js";
39
- import { Story } from "./3_story.js";
40
- import { LinkPreview } from "./4_link_preview.js";
41
- import { Message } from "./5_message.js";
42
- import { CallbackQuery } from "./6_callback_query.js";
43
- import { ChatListItem } from "./6_chat_list_item.js";
20
+ import type { AuthorizationState } from "./0_authorization_state.js";
21
+ import type { ConnectionState } from "./0_connection_state.js";
22
+ import type { MessageReference } from "./0_message_reference.js";
23
+ import type { StoryReference } from "./0_story_reference.js";
24
+ import type { Translation } from "./0_translation.js";
25
+ import type { UploadProgress } from "./0_upload_progress.js";
26
+ import type { VideoChat } from "./0_video_chat.js";
27
+ import type { VoiceTranscription } from "./0_voice_transcription.js";
28
+ import type { BusinessConnection } from "./2_business_connection.js";
29
+ import type { ChosenInlineResult } from "./2_chosen_inline_result.js";
30
+ import type { InlineQuery } from "./2_inline_query.js";
31
+ import type { MessageInteractions } from "./2_message_interactions.js";
32
+ import type { MessageReactionCount } from "./2_message_reaction_count.js";
33
+ import type { MessageReactions } from "./2_message_reactions.js";
34
+ import type { PollAnswer } from "./2_poll_answer.js";
35
+ import type { Poll } from "./2_poll.js";
36
+ import type { PreCheckoutQuery } from "./2_pre_checkout_query.js";
37
+ import type { ChatMemberUpdated } from "./3_chat_member_updated.js";
38
+ import type { JoinRequest } from "./3_join_request.js";
39
+ import type { Story } from "./3_story.js";
40
+ import type { LinkPreview } from "./4_link_preview.js";
41
+ import type { Message } from "./5_message.js";
42
+ import type { CallbackQuery } from "./6_callback_query.js";
43
+ import type { ChatListItem } from "./6_chat_list_item.js";
44
44
  /**
45
45
  * A client's connection state was changed.
46
46
  *