@mtkruto/node 0.1.119 → 0.1.122

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 (631) hide show
  1. package/esm/0_deps.d.ts +3 -3
  2. package/esm/0_deps.js +3 -3
  3. package/esm/2_tl.d.ts +3 -3
  4. package/esm/2_tl.js +3 -3
  5. package/esm/3_errors.d.ts +509 -509
  6. package/esm/3_errors.js +509 -509
  7. package/esm/4_constants.d.ts +2 -2
  8. package/esm/4_constants.js +2 -2
  9. package/esm/4_errors.d.ts +7 -7
  10. package/esm/4_errors.js +6 -6
  11. package/esm/_dnt.shims.js +0 -1
  12. package/esm/client/0_password.d.ts +2 -2
  13. package/esm/client/0_password.js +4 -4
  14. package/esm/client/0_utilities.d.ts +3 -3
  15. package/esm/client/0_utilities.js +1 -2
  16. package/esm/client/2_client_plain.js +20 -20
  17. package/esm/client/5_client.d.ts +20 -6
  18. package/esm/client/5_client.js +313 -256
  19. package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.js +1 -1
  20. package/esm/storage/0_storage.d.ts +5 -5
  21. package/esm/tl/1_tl_object.d.ts +4 -0
  22. package/esm/tl/1_tl_object.js +11 -4
  23. package/esm/tl/2_types.d.ts +11385 -6448
  24. package/esm/tl/2_types.js +16324 -10139
  25. package/esm/tl/3_functions.d.ts +6773 -2401
  26. package/esm/tl/3_functions.js +9440 -3368
  27. package/esm/tl/3_utilities.d.ts +2 -2
  28. package/esm/tl/3_utilities.js +4 -4
  29. package/esm/tl/{5_rpc_result.d.ts → 4_rpc_result.d.ts} +2 -1
  30. package/esm/tl/{5_rpc_result.js → 4_rpc_result.js} +4 -1
  31. package/esm/tl/6_message.d.ts +1 -1
  32. package/esm/tl/6_message.js +1 -1
  33. package/esm/tl/7_message_container.d.ts +2 -1
  34. package/esm/tl/7_message_container.js +4 -1
  35. package/esm/types/0__file_id.js +1 -2
  36. package/esm/types/0_audio.js +1 -1
  37. package/esm/types/0_chat_administrator_rights.d.ts +3 -3
  38. package/esm/types/0_chat_administrator_rights.js +20 -20
  39. package/esm/types/0_chat_photo.js +8 -8
  40. package/esm/types/0_contact.js +4 -4
  41. package/esm/types/0_force_reply.d.ts +1 -1
  42. package/esm/types/0_location.js +4 -4
  43. package/esm/types/0_mask_position.d.ts +2 -2
  44. package/esm/types/0_message_entity.d.ts +3 -3
  45. package/esm/types/0_message_entity.js +8 -8
  46. package/esm/types/0_poll_option.d.ts +2 -2
  47. package/esm/types/0_reply_keyboard_remove.d.ts +1 -1
  48. package/esm/types/0_restriction_reason.d.ts +2 -2
  49. package/esm/types/0_thumbnail.js +3 -3
  50. package/esm/types/0_venue.js +3 -3
  51. package/esm/types/0_voice.js +1 -1
  52. package/esm/types/1_animation.js +2 -2
  53. package/esm/types/1_bot_command_scope.d.ts +1 -2
  54. package/esm/types/1_bot_command_scope.js +1 -1
  55. package/esm/types/1_chat.js +9 -9
  56. package/esm/types/1_document.js +2 -2
  57. package/esm/types/1_input_invoice_message_content.d.ts +1 -1
  58. package/esm/types/1_keyboard_button.d.ts +3 -3
  59. package/esm/types/1_keyboard_button.js +35 -35
  60. package/esm/types/1_photo.js +1 -1
  61. package/esm/types/1_poll.js +6 -6
  62. package/esm/types/1_sticker.js +3 -3
  63. package/esm/types/1_user.js +6 -6
  64. package/esm/types/1_video.js +1 -1
  65. package/esm/types/2_game.js +3 -3
  66. package/esm/types/2_inline_keyboard_button.d.ts +3 -3
  67. package/esm/types/2_inline_keyboard_button.js +9 -9
  68. package/esm/types/2_inline_query.js +8 -8
  69. package/esm/types/2_reply_keyboard_markup.d.ts +1 -1
  70. package/esm/types/2_reply_keyboard_markup.js +2 -2
  71. package/esm/types/3_inline_keyboard_markup.d.ts +1 -1
  72. package/esm/types/3_message.d.ts +4 -4
  73. package/esm/types/3_message.js +64 -64
  74. package/esm/types/4_callback_query.js +6 -6
  75. package/esm/types/4_reply_markup.d.ts +1 -1
  76. package/esm/types/5_inline_query_result.d.ts +1 -2
  77. package/esm/types/5_inline_query_result.js +30 -30
  78. package/package.json +13 -12
  79. package/script/0_deps.d.ts +3 -3
  80. package/script/0_deps.js +3 -3
  81. package/script/2_tl.d.ts +3 -3
  82. package/script/2_tl.js +5 -15
  83. package/script/3_errors.d.ts +509 -509
  84. package/script/3_errors.js +509 -509
  85. package/script/4_constants.d.ts +2 -2
  86. package/script/4_constants.js +2 -2
  87. package/script/4_errors.d.ts +7 -7
  88. package/script/4_errors.js +6 -6
  89. package/script/_dnt.shims.js +0 -1
  90. package/script/client/0_password.d.ts +2 -2
  91. package/script/client/0_password.js +4 -4
  92. package/script/client/0_utilities.d.ts +3 -3
  93. package/script/client/0_utilities.js +1 -2
  94. package/script/client/2_client_plain.js +20 -20
  95. package/script/client/5_client.d.ts +20 -6
  96. package/script/client/5_client.js +312 -255
  97. package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.js +1 -1
  98. package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.js +1 -1
  99. package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +1 -1
  100. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +3 -3
  101. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +1 -1
  102. package/script/storage/0_storage.d.ts +5 -5
  103. package/script/storage/0_utilities.js +1 -1
  104. package/script/tl/1_tl_object.d.ts +4 -0
  105. package/script/tl/1_tl_object.js +12 -5
  106. package/script/tl/2_types.d.ts +11385 -6448
  107. package/script/tl/2_types.js +18033 -11825
  108. package/script/tl/3_functions.d.ts +6773 -2401
  109. package/script/tl/3_functions.js +10051 -3994
  110. package/script/tl/3_utilities.d.ts +2 -2
  111. package/script/tl/3_utilities.js +7 -30
  112. package/script/tl/{5_rpc_result.d.ts → 4_rpc_result.d.ts} +2 -1
  113. package/script/tl/{5_rpc_result.js → 4_rpc_result.js} +3 -0
  114. package/script/tl/6_message.d.ts +1 -1
  115. package/script/tl/6_message.js +4 -4
  116. package/script/tl/7_message_container.d.ts +2 -1
  117. package/script/tl/7_message_container.js +3 -0
  118. package/script/types/0__file_id.js +4 -4
  119. package/script/types/0_audio.js +1 -1
  120. package/script/types/0_chat_administrator_rights.d.ts +3 -3
  121. package/script/types/0_chat_administrator_rights.js +20 -20
  122. package/script/types/0_chat_photo.js +8 -8
  123. package/script/types/0_contact.js +4 -4
  124. package/script/types/0_force_reply.d.ts +1 -1
  125. package/script/types/0_location.js +4 -4
  126. package/script/types/0_mask_position.d.ts +2 -2
  127. package/script/types/0_message_entity.d.ts +3 -3
  128. package/script/types/0_message_entity.js +8 -8
  129. package/script/types/0_poll_option.d.ts +2 -2
  130. package/script/types/0_reply_keyboard_remove.d.ts +1 -1
  131. package/script/types/0_restriction_reason.d.ts +2 -2
  132. package/script/types/0_thumbnail.js +3 -3
  133. package/script/types/0_venue.js +3 -3
  134. package/script/types/0_voice.js +1 -1
  135. package/script/types/1_animation.js +2 -2
  136. package/script/types/1_bot_command_scope.d.ts +1 -2
  137. package/script/types/1_bot_command_scope.js +1 -1
  138. package/script/types/1_chat.js +9 -9
  139. package/script/types/1_document.js +2 -2
  140. package/script/types/1_input_invoice_message_content.d.ts +1 -1
  141. package/script/types/1_keyboard_button.d.ts +3 -3
  142. package/script/types/1_keyboard_button.js +35 -35
  143. package/script/types/1_photo.js +1 -1
  144. package/script/types/1_poll.js +6 -6
  145. package/script/types/1_sticker.js +3 -3
  146. package/script/types/1_user.js +6 -6
  147. package/script/types/1_video.js +1 -1
  148. package/script/types/2_game.js +3 -3
  149. package/script/types/2_inline_keyboard_button.d.ts +3 -3
  150. package/script/types/2_inline_keyboard_button.js +9 -9
  151. package/script/types/2_inline_query.js +8 -8
  152. package/script/types/2_reply_keyboard_markup.d.ts +1 -1
  153. package/script/types/2_reply_keyboard_markup.js +2 -2
  154. package/script/types/3_inline_keyboard_markup.d.ts +1 -1
  155. package/script/types/3_message.d.ts +4 -4
  156. package/script/types/3_message.js +64 -64
  157. package/script/types/4_callback_query.js +6 -6
  158. package/script/types/4_reply_markup.d.ts +1 -1
  159. package/script/types/5_inline_query_result.d.ts +1 -2
  160. package/script/types/5_inline_query_result.js +30 -30
  161. package/esm/_dnt.test_shims.d.ts +0 -10
  162. package/esm/client/0_password_test.d.ts +0 -1
  163. package/esm/client/0_utilities_test.d.ts +0 -1
  164. package/esm/storage/0_utilities_test.d.ts +0 -1
  165. package/esm/tl/0_tl_raw_reader_test.d.ts +0 -1
  166. package/esm/tl/0_tl_raw_writer_test.d.ts +0 -1
  167. package/esm/tl/1_tl_object_test.d.ts +0 -1
  168. package/esm/tl/2_types_test.d.ts +0 -1
  169. package/esm/tl/3_deserialize_test.d.ts +0 -1
  170. package/esm/tl/3_functions_test.d.ts +0 -1
  171. package/esm/tl/6_message_test.d.ts +0 -1
  172. package/esm/utilities/0_base64_test.d.ts +0 -1
  173. package/esm/utilities/0_bigint_test.d.ts +0 -1
  174. package/esm/utilities/0_buffer_test.d.ts +0 -1
  175. package/esm/utilities/0_rle_test.d.ts +0 -1
  176. package/script/_dnt.test_shims.d.ts +0 -10
  177. package/script/client/0_password_test.d.ts +0 -1
  178. package/script/client/0_utilities_test.d.ts +0 -1
  179. package/script/storage/0_utilities_test.d.ts +0 -1
  180. package/script/tl/0_tl_raw_reader_test.d.ts +0 -1
  181. package/script/tl/0_tl_raw_writer_test.d.ts +0 -1
  182. package/script/tl/1_tl_object_test.d.ts +0 -1
  183. package/script/tl/2_types_test.d.ts +0 -1
  184. package/script/tl/3_deserialize_test.d.ts +0 -1
  185. package/script/tl/3_functions_test.d.ts +0 -1
  186. package/script/tl/6_message_test.d.ts +0 -1
  187. package/script/utilities/0_base64_test.d.ts +0 -1
  188. package/script/utilities/0_bigint_test.d.ts +0 -1
  189. package/script/utilities/0_buffer_test.d.ts +0 -1
  190. package/script/utilities/0_rle_test.d.ts +0 -1
  191. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.d.ts +0 -0
  192. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.js +0 -0
  193. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.d.ts +0 -0
  194. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.js +0 -0
  195. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.d.ts +0 -0
  196. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.js +0 -0
  197. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.d.ts +0 -0
  198. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.js +0 -0
  199. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.d.ts +0 -0
  200. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.js +0 -0
  201. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.d.ts +0 -0
  202. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.js +0 -0
  203. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.d.ts +0 -0
  204. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.js +0 -0
  205. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.d.ts +0 -0
  206. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.js +0 -0
  207. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.d.ts +0 -0
  208. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.js +0 -0
  209. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.d.ts +0 -0
  210. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.js +0 -0
  211. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.d.ts +0 -0
  212. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.js +0 -0
  213. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.d.ts +0 -0
  214. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.js +0 -0
  215. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.d.ts +0 -0
  216. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.js +0 -0
  217. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.d.ts +0 -0
  218. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.js +0 -0
  219. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.d.ts +0 -0
  220. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.js +0 -0
  221. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.d.ts +0 -0
  222. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.js +0 -0
  223. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.d.ts +0 -0
  224. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.js +0 -0
  225. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.d.ts +0 -0
  226. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.js +0 -0
  227. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.d.ts +0 -0
  228. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.js +0 -0
  229. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.d.ts +0 -0
  230. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.js +0 -0
  232. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.js +0 -0
  234. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.js +0 -0
  236. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.d.ts +0 -0
  237. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.js +0 -0
  238. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.d.ts +0 -0
  239. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.d.ts +0 -0
  241. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.js +0 -0
  242. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.js +0 -0
  244. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.d.ts +0 -0
  245. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.js +0 -0
  246. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.d.ts +0 -0
  247. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.js +0 -0
  248. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.d.ts +0 -0
  249. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.js +0 -0
  250. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.d.ts +0 -0
  251. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.js +0 -0
  252. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.d.ts +0 -0
  263. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.js +0 -0
  264. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.d.ts +0 -0
  265. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.js +0 -0
  266. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.d.ts +0 -0
  267. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.js +0 -0
  268. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.d.ts +0 -0
  269. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.js +0 -0
  270. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.d.ts +0 -0
  271. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  273. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.js +0 -0
  274. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.d.ts +0 -0
  275. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.js +0 -0
  276. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.d.ts +0 -0
  277. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.js +0 -0
  278. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.d.ts +0 -0
  279. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.js +0 -0
  280. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  281. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.js +0 -0
  282. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.js +0 -0
  286. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.d.ts +0 -0
  287. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.js +0 -0
  288. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.d.ts +0 -0
  289. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.js +0 -0
  290. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.d.ts +0 -0
  291. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.js +0 -0
  292. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.d.ts +0 -0
  293. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.js +0 -0
  294. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.d.ts +0 -0
  295. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.js +0 -0
  296. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.d.ts +0 -0
  297. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.js +0 -0
  298. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.d.ts +0 -0
  299. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.js +0 -0
  300. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.d.ts +0 -0
  301. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.d.ts +0 -0
  303. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.js +0 -0
  304. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.d.ts +0 -0
  305. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.js +0 -0
  306. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.d.ts +0 -0
  307. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.js +0 -0
  308. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.d.ts +0 -0
  309. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.js +0 -0
  310. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.d.ts +0 -0
  311. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.js +0 -0
  312. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.d.ts +0 -0
  313. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.js +0 -0
  314. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.d.ts +0 -0
  315. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.js +0 -0
  316. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.d.ts +0 -0
  317. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.js +0 -0
  318. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.d.ts +0 -0
  319. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.js +0 -0
  320. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.d.ts +0 -0
  321. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.js +0 -0
  322. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.d.ts +0 -0
  323. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.js +0 -0
  324. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.d.ts +0 -0
  325. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.js +0 -0
  326. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.d.ts +0 -0
  327. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.js +0 -0
  328. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.d.ts +0 -0
  329. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.js +0 -0
  330. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.d.ts +0 -0
  331. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.js +0 -0
  332. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.d.ts +0 -0
  333. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.js +0 -0
  334. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.d.ts +0 -0
  335. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.js +0 -0
  336. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.d.ts +0 -0
  337. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.js +0 -0
  338. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.d.ts +0 -0
  339. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.js +0 -0
  340. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.d.ts +0 -0
  341. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.js +0 -0
  342. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.d.ts +0 -0
  343. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.js +0 -0
  344. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.d.ts +0 -0
  345. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.js +0 -0
  346. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.d.ts +0 -0
  347. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.js +0 -0
  348. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.d.ts +0 -0
  349. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.js +0 -0
  350. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.d.ts +0 -0
  351. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.js +0 -0
  352. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.d.ts +0 -0
  353. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.js +0 -0
  354. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.d.ts +0 -0
  355. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.js +0 -0
  356. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.d.ts +0 -0
  357. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.js +0 -0
  358. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.d.ts +0 -0
  359. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.js +0 -0
  360. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.d.ts +0 -0
  361. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.js +0 -0
  362. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.d.ts +0 -0
  363. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.js +0 -0
  364. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.d.ts +0 -0
  365. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.js +0 -0
  366. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.d.ts +0 -0
  367. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.js +0 -0
  368. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.d.ts +0 -0
  369. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.js +0 -0
  370. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.d.ts +0 -0
  371. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.js +0 -0
  372. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.d.ts +0 -0
  373. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.js +0 -0
  374. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.d.ts +0 -0
  375. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.js +0 -0
  376. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.d.ts +0 -0
  377. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.js +0 -0
  378. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.d.ts +0 -0
  379. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.js +0 -0
  380. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.d.ts +0 -0
  381. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.js +0 -0
  382. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.d.ts +0 -0
  383. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.js +0 -0
  384. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.d.ts +0 -0
  385. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.js +0 -0
  386. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.d.ts +0 -0
  387. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.js +0 -0
  388. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.d.ts +0 -0
  389. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.js +0 -0
  390. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.d.ts +0 -0
  391. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.js +0 -0
  392. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.d.ts +0 -0
  393. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.js +0 -0
  394. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.d.ts +0 -0
  395. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.js +0 -0
  396. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.d.ts +0 -0
  397. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.js +0 -0
  398. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.d.ts +0 -0
  399. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.js +0 -0
  400. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.d.ts +0 -0
  401. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.js +0 -0
  402. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.d.ts +0 -0
  403. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.js +0 -0
  404. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.d.ts +0 -0
  405. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.js +0 -0
  406. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.d.ts +0 -0
  407. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.js +0 -0
  408. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.d.ts +0 -0
  409. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.js +0 -0
  410. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.d.ts +0 -0
  411. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.js +0 -0
  412. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.d.ts +0 -0
  413. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.js +0 -0
  414. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.d.ts +0 -0
  415. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.d.ts +0 -0
  416. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.js +0 -0
  417. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.d.ts +0 -0
  418. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.js +0 -0
  419. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.d.ts +0 -0
  420. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.js +0 -0
  421. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.d.ts +0 -0
  422. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.js +0 -0
  423. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.d.ts +0 -0
  424. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.js +0 -0
  425. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.d.ts +0 -0
  426. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.js +0 -0
  427. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.d.ts +0 -0
  428. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.js +0 -0
  429. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.d.ts +0 -0
  430. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.js +0 -0
  431. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.d.ts +0 -0
  432. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.js +0 -0
  433. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.d.ts +0 -0
  434. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.js +0 -0
  435. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.d.ts +0 -0
  436. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.js +0 -0
  437. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.d.ts +0 -0
  438. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.js +0 -0
  439. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.d.ts +0 -0
  440. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.js +0 -0
  441. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.d.ts +0 -0
  442. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.js +0 -0
  443. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.d.ts +0 -0
  444. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.js +0 -0
  445. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.d.ts +0 -0
  446. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.js +0 -0
  447. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.d.ts +0 -0
  448. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.js +0 -0
  449. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.d.ts +0 -0
  450. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.d.ts +0 -0
  451. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.js +0 -0
  452. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.d.ts +0 -0
  453. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.js +0 -0
  454. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.d.ts +0 -0
  455. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.js +0 -0
  456. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.d.ts +0 -0
  457. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.js +0 -0
  458. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.d.ts +0 -0
  459. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.js +0 -0
  460. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.d.ts +0 -0
  461. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.js +0 -0
  462. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.d.ts +0 -0
  463. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.js +0 -0
  464. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.d.ts +0 -0
  465. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.js +0 -0
  466. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.d.ts +0 -0
  467. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.js +0 -0
  468. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.d.ts +0 -0
  469. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.js +0 -0
  470. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.d.ts +0 -0
  471. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.js +0 -0
  472. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.d.ts +0 -0
  473. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.js +0 -0
  474. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.d.ts +0 -0
  475. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.js +0 -0
  476. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.d.ts +0 -0
  477. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.js +0 -0
  478. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.d.ts +0 -0
  479. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.js +0 -0
  480. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.d.ts +0 -0
  481. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.js +0 -0
  482. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.d.ts +0 -0
  483. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.js +0 -0
  484. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.d.ts +0 -0
  485. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.js +0 -0
  486. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.d.ts +0 -0
  487. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.js +0 -0
  488. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.d.ts +0 -0
  489. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.js +0 -0
  490. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.d.ts +0 -0
  491. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.js +0 -0
  492. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  493. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.js +0 -0
  494. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.d.ts +0 -0
  495. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.js +0 -0
  496. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.d.ts +0 -0
  497. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.js +0 -0
  498. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.d.ts +0 -0
  499. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.js +0 -0
  500. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  501. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.js +0 -0
  502. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.d.ts +0 -0
  503. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.js +0 -0
  504. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.d.ts +0 -0
  505. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.js +0 -0
  506. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.d.ts +0 -0
  507. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.js +0 -0
  508. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.d.ts +0 -0
  509. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.js +0 -0
  510. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.d.ts +0 -0
  511. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.js +0 -0
  512. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.d.ts +0 -0
  513. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.js +0 -0
  514. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.d.ts +0 -0
  515. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.js +0 -0
  516. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.d.ts +0 -0
  517. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.js +0 -0
  518. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.d.ts +0 -0
  519. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.js +0 -0
  520. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.d.ts +0 -0
  521. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.js +0 -0
  522. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.d.ts +0 -0
  523. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.js +0 -0
  524. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.d.ts +0 -0
  525. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.js +0 -0
  526. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.d.ts +0 -0
  527. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.js +0 -0
  528. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.d.ts +0 -0
  529. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.js +0 -0
  530. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.d.ts +0 -0
  531. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.js +0 -0
  532. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.d.ts +0 -0
  533. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.js +0 -0
  534. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.d.ts +0 -0
  535. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.js +0 -0
  536. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.d.ts +0 -0
  537. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.js +0 -0
  538. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.d.ts +0 -0
  539. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.js +0 -0
  540. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.d.ts +0 -0
  541. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.js +0 -0
  542. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.d.ts +0 -0
  543. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.js +0 -0
  544. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.d.ts +0 -0
  545. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.js +0 -0
  546. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.d.ts +0 -0
  547. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.js +0 -0
  548. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.d.ts +0 -0
  549. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.js +0 -0
  550. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.d.ts +0 -0
  551. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.js +0 -0
  552. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.d.ts +0 -0
  553. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.js +0 -0
  554. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.d.ts +0 -0
  555. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.js +0 -0
  556. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.d.ts +0 -0
  557. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.js +0 -0
  558. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.d.ts +0 -0
  559. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.js +0 -0
  560. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.d.ts +0 -0
  561. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.js +0 -0
  562. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.d.ts +0 -0
  563. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.js +0 -0
  564. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.d.ts +0 -0
  565. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.js +0 -0
  566. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.d.ts +0 -0
  567. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.js +0 -0
  568. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.d.ts +0 -0
  569. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.js +0 -0
  570. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.d.ts +0 -0
  571. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.js +0 -0
  572. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.d.ts +0 -0
  573. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.js +0 -0
  574. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.d.ts +0 -0
  575. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.js +0 -0
  576. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.d.ts +0 -0
  577. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.js +0 -0
  578. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.d.ts +0 -0
  579. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.js +0 -0
  580. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.d.ts +0 -0
  581. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.js +0 -0
  582. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.d.ts +0 -0
  583. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.js +0 -0
  584. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.d.ts +0 -0
  585. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.js +0 -0
  586. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.d.ts +0 -0
  587. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.js +0 -0
  588. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.d.ts +0 -0
  589. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.js +0 -0
  590. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.d.ts +0 -0
  591. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.js +0 -0
  592. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.d.ts +0 -0
  593. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.js +0 -0
  594. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.d.ts +0 -0
  595. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.js +0 -0
  596. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.d.ts +0 -0
  597. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.js +0 -0
  598. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.d.ts +0 -0
  599. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.js +0 -0
  600. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.d.ts +0 -0
  601. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.js +0 -0
  602. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.d.ts +0 -0
  603. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.js +0 -0
  604. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.d.ts +0 -0
  605. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.js +0 -0
  606. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.d.ts +0 -0
  607. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.js +0 -0
  608. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.d.ts +0 -0
  609. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.js +0 -0
  610. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.d.ts +0 -0
  611. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.js +0 -0
  612. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.d.ts +0 -0
  613. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.js +0 -0
  614. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.d.ts +0 -0
  615. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.js +0 -0
  616. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.d.ts +0 -0
  617. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.js +0 -0
  618. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.d.ts +0 -0
  619. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.js +0 -0
  620. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.d.ts +0 -0
  621. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.js +0 -0
  622. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.d.ts +0 -0
  623. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.js +0 -0
  624. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.d.ts +0 -0
  625. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.js +0 -0
  626. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.d.ts +0 -0
  627. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.js +0 -0
  628. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.d.ts +0 -0
  629. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.js +0 -0
  630. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.d.ts +0 -0
  631. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.js +0 -0
@@ -1,3 +1,3 @@
1
- import * as types from "./2_types.js";
1
+ import { enums } from "./2_types.js";
2
2
  export declare function getChannelChatId(channelId: bigint): number;
3
- export declare function peerToChatId(peer: types.TypePeer | types.TypeInputPeer): number;
3
+ export declare function peerToChatId(peer: enums.Peer | enums.InputPeer): number;
@@ -1,45 +1,22 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
3
  exports.peerToChatId = exports.getChannelChatId = void 0;
27
4
  const _1_utilities_js_1 = require("../1_utilities.js");
28
5
  const _4_constants_js_1 = require("../4_constants.js");
29
- const types = __importStar(require("./2_types.js"));
6
+ const _2_types_js_1 = require("./2_types.js");
30
7
  function getChannelChatId(channelId) {
31
8
  return _4_constants_js_1.ZERO_CHANNEL_ID + -Number(channelId);
32
9
  }
33
10
  exports.getChannelChatId = getChannelChatId;
34
11
  function peerToChatId(peer) {
35
- if (peer instanceof types.PeerUser || peer instanceof types.InputPeerUser) {
36
- return Number(peer.userId);
12
+ if (peer instanceof _2_types_js_1.types.PeerUser || peer instanceof _2_types_js_1.types.InputPeerUser) {
13
+ return Number(peer.user_id);
37
14
  }
38
- else if (peer instanceof types.PeerChat || peer instanceof types.InputPeerChat) {
39
- return -Number(peer.chatId);
15
+ else if (peer instanceof _2_types_js_1.types.PeerChat || peer instanceof _2_types_js_1.types.InputPeerChat) {
16
+ return -Number(peer.chat_id);
40
17
  }
41
- else if (peer instanceof types.PeerChannel || peer instanceof types.InputPeerChannel) {
42
- return getChannelChatId(peer.channelId);
18
+ else if (peer instanceof _2_types_js_1.types.PeerChannel || peer instanceof _2_types_js_1.types.InputPeerChannel) {
19
+ return getChannelChatId(peer.channel_id);
43
20
  }
44
21
  else {
45
22
  (0, _1_utilities_js_1.UNREACHABLE)();
@@ -1,9 +1,10 @@
1
- import { id } from "./1_tl_object.js";
1
+ import { id, name } from "./1_tl_object.js";
2
2
  import { ReadObject } from "./3_tl_reader.js";
3
3
  export declare class RPCResult {
4
4
  readonly messageId: bigint;
5
5
  readonly result: ReadObject;
6
6
  static get [id](): number;
7
+ get [name](): string;
7
8
  constructor(messageId: bigint, result: ReadObject);
8
9
  static deserialize(buffer: Uint8Array): RPCResult;
9
10
  }
@@ -7,6 +7,9 @@ class RPCResult {
7
7
  static get [_1_tl_object_js_1.id]() {
8
8
  return 0xF35C6D01;
9
9
  }
10
+ get [_1_tl_object_js_1.name]() {
11
+ return "rpc_result";
12
+ }
10
13
  constructor(messageId, result) {
11
14
  Object.defineProperty(this, "messageId", {
12
15
  enumerable: true,
@@ -1,5 +1,5 @@
1
1
  import { ReadObject, TLReader } from "./3_tl_reader.js";
2
- import { RPCResult } from "./5_rpc_result.js";
2
+ import { RPCResult } from "./4_rpc_result.js";
3
3
  export declare function calculateLength(object: ReadObject): number;
4
4
  export declare class Message_ {
5
5
  readonly id: bigint;
@@ -4,7 +4,7 @@ exports.Message_ = exports.calculateLength = void 0;
4
4
  const _1_tl_object_js_1 = require("./1_tl_object.js");
5
5
  const _3_tl_reader_js_1 = require("./3_tl_reader.js");
6
6
  const _4_tl_writer_js_1 = require("./4_tl_writer.js");
7
- const _5_rpc_result_js_1 = require("./5_rpc_result.js");
7
+ const _4_rpc_result_js_1 = require("./4_rpc_result.js");
8
8
  function calculateLength(object) {
9
9
  let length = 0;
10
10
  if (Array.isArray(object)) {
@@ -45,7 +45,7 @@ class Message_ {
45
45
  });
46
46
  }
47
47
  serialize() {
48
- if (this.body instanceof _5_rpc_result_js_1.RPCResult) {
48
+ if (this.body instanceof _4_rpc_result_js_1.RPCResult) {
49
49
  throw new Error("Not applicable");
50
50
  }
51
51
  return new _4_tl_writer_js_1.TLWriter()
@@ -63,8 +63,8 @@ class Message_ {
63
63
  const cid = reader.readInt32(false);
64
64
  let body;
65
65
  {
66
- if (cid == _5_rpc_result_js_1.RPCResult[_1_tl_object_js_1.id]) {
67
- body = _5_rpc_result_js_1.RPCResult.deserialize(reader.buffer);
66
+ if (cid == _4_rpc_result_js_1.RPCResult[_1_tl_object_js_1.id]) {
67
+ body = _4_rpc_result_js_1.RPCResult.deserialize(reader.buffer);
68
68
  }
69
69
  else {
70
70
  body = reader.readObject(cid);
@@ -1,8 +1,9 @@
1
- import { id } from "./1_tl_object.js";
1
+ import { id, name } from "./1_tl_object.js";
2
2
  import { Message_ } from "./6_message.js";
3
3
  export declare class MessageContainer {
4
4
  messages: Message_[];
5
5
  static get [id](): number;
6
+ get [name](): string;
6
7
  constructor(messages: Message_[]);
7
8
  serialize(): Uint8Array;
8
9
  static deserialize(buffer: Uint8Array): MessageContainer;
@@ -9,6 +9,9 @@ class MessageContainer {
9
9
  static get [_1_tl_object_js_1.id]() {
10
10
  return 0x73F1F8DC;
11
11
  }
12
+ get [_1_tl_object_js_1.name]() {
13
+ return "msg_container";
14
+ }
12
15
  constructor(messages) {
13
16
  Object.defineProperty(this, "messages", {
14
17
  enumerable: true,
@@ -23,7 +23,7 @@ var FileType;
23
23
  FileType[FileType["Secure"] = 15] = "Secure";
24
24
  FileType[FileType["Background"] = 16] = "Background";
25
25
  FileType[FileType["DocumentAsFile"] = 17] = "DocumentAsFile";
26
- })(FileType = exports.FileType || (exports.FileType = {}));
26
+ })(FileType || (exports.FileType = FileType = {}));
27
27
  const PHOTO_TYPES = [FileType.Thumbnail, FileType.ChatPhoto, FileType.Photo, FileType.EncryptedThumbnail];
28
28
  const DOCUMENT_TYPES = Object.keys(FileType).map(Number).filter((v) => !isNaN(v)).filter((v) => !PHOTO_TYPES.includes(v));
29
29
  var ThumbnailSource;
@@ -33,7 +33,7 @@ var ThumbnailSource;
33
33
  ThumbnailSource[ThumbnailSource["ChatPhotoSmall"] = 2] = "ChatPhotoSmall";
34
34
  ThumbnailSource[ThumbnailSource["ChatPhotoBig"] = 3] = "ChatPhotoBig";
35
35
  ThumbnailSource[ThumbnailSource["StickerSetThumbnail"] = 4] = "StickerSetThumbnail";
36
- })(ThumbnailSource = exports.ThumbnailSource || (exports.ThumbnailSource = {}));
36
+ })(ThumbnailSource || (exports.ThumbnailSource = ThumbnailSource = {}));
37
37
  const WEB_LOCATION_FLAG = 1 << 24;
38
38
  const FILE_REFERENCE_FLAG = 1 << 25;
39
39
  class FileID {
@@ -235,6 +235,7 @@ class FileID {
235
235
  return (0, _1_utilities_js_1.base64EncodeUrlSafe)((0, _1_utilities_js_1.rleEncode)(writer.buffer));
236
236
  }
237
237
  }
238
+ exports.FileID = FileID;
238
239
  Object.defineProperty(FileID, "MAJOR", {
239
240
  enumerable: true,
240
241
  configurable: true,
@@ -247,7 +248,6 @@ Object.defineProperty(FileID, "MINOR", {
247
248
  writable: true,
248
249
  value: 30
249
250
  });
250
- exports.FileID = FileID;
251
251
  var FileUniqueType;
252
252
  (function (FileUniqueType) {
253
253
  FileUniqueType[FileUniqueType["Web"] = 0] = "Web";
@@ -256,7 +256,7 @@ var FileUniqueType;
256
256
  FileUniqueType[FileUniqueType["Secure"] = 3] = "Secure";
257
257
  FileUniqueType[FileUniqueType["Encrypted"] = 4] = "Encrypted";
258
258
  FileUniqueType[FileUniqueType["Temp"] = 5] = "Temp";
259
- })(FileUniqueType = exports.FileUniqueType || (exports.FileUniqueType = {}));
259
+ })(FileUniqueType || (exports.FileUniqueType = FileUniqueType = {}));
260
260
  class FileUniqueID {
261
261
  constructor(fileUniqueType, params) {
262
262
  Object.defineProperty(this, "fileUniqueType", {
@@ -10,7 +10,7 @@ function constructAudio(document, audioAttribute, fileId, fileUniqueId) {
10
10
  duration: audioAttribute?.duration ?? 0,
11
11
  performer: audioAttribute?.performer,
12
12
  title: audioAttribute?.title,
13
- mimeType: document.mimeType,
13
+ mimeType: document.mime_type,
14
14
  fileSize: Number(document.size),
15
15
  thumbnails: document.thumbs ? document.thumbs.map((v) => v instanceof _2_tl_js_1.types.PhotoSize ? (0, _0_thumbnail_js_1.constructThumbnail)(v, document) : null).filter((v) => v) : [],
16
16
  };
@@ -1,4 +1,4 @@
1
- import { types } from "../2_tl.js";
1
+ import { enums } from "../2_tl.js";
2
2
  /** The rights of a chat administrator. */
3
3
  export interface ChatAdministratorRights {
4
4
  /** Whether the admininistrator's presence in the chat is hidden. */
@@ -26,5 +26,5 @@ export interface ChatAdministratorRights {
26
26
  /** Whether the administrator can manage topics. Only available for supergroups. */
27
27
  canManageTopics?: boolean;
28
28
  }
29
- export declare function constructChatAdministratorRights(rights_: types.ChatAdminRights): ChatAdministratorRights;
30
- export declare function chatAdministratorRightsToTlObject(rights: ChatAdministratorRights): types.ChatAdminRights;
29
+ export declare function constructChatAdministratorRights(rights_: enums.ChatAdminRights): ChatAdministratorRights;
30
+ export declare function chatAdministratorRightsToTlObject(rights: ChatAdministratorRights): import("../tl/2_types.js").ChatAdminRights_;
@@ -6,24 +6,24 @@ function constructChatAdministratorRights(rights_) {
6
6
  const rights = {
7
7
  isAnonymous: rights_.anonymous || false,
8
8
  canManageChat: rights_.other || false,
9
- canDeleteMessages: rights_.deleteMessages || false,
10
- canManageVideoChats: rights_.manageCall || false,
11
- canRestrictMembers: rights_.banUsers || false,
12
- canPromoteMembers: rights_.addAdmins || false,
13
- canChangeInfo: rights_.changeInfo || false,
14
- canInviteUsers: rights_.inviteUsers || false,
9
+ canDeleteMessages: rights_.delete_messages || false,
10
+ canManageVideoChats: rights_.manage_call || false,
11
+ canRestrictMembers: rights_.ban_users || false,
12
+ canPromoteMembers: rights_.add_admins || false,
13
+ canChangeInfo: rights_.change_info || false,
14
+ canInviteUsers: rights_.invite_users || false,
15
15
  };
16
- if (rights_.postMessages) {
17
- rights.canPostMessages = rights_.postMessages;
16
+ if (rights_.post_messages) {
17
+ rights.canPostMessages = rights_.post_messages;
18
18
  }
19
- if (rights_.editMessages) {
20
- rights.canEditMessages = rights_.editMessages;
19
+ if (rights_.edit_messages) {
20
+ rights.canEditMessages = rights_.edit_messages;
21
21
  }
22
- if (rights_.pinMessages) {
23
- rights.canPinMessages = rights_.pinMessages;
22
+ if (rights_.pin_messages) {
23
+ rights.canPinMessages = rights_.pin_messages;
24
24
  }
25
- if (rights_.manageTopics) {
26
- rights.canManageTopics = rights_.manageTopics;
25
+ if (rights_.manage_topics) {
26
+ rights.canManageTopics = rights_.manage_topics;
27
27
  }
28
28
  return rights;
29
29
  }
@@ -32,12 +32,12 @@ function chatAdministratorRightsToTlObject(rights) {
32
32
  return new _2_tl_js_1.types.ChatAdminRights({
33
33
  anonymous: rights.isAnonymous || undefined,
34
34
  other: rights.canManageChat || undefined,
35
- deleteMessages: rights.canDeleteMessages || undefined,
36
- manageCall: rights.canManageChat || undefined,
37
- banUsers: rights.canRestrictMembers || undefined,
38
- addAdmins: rights.canPromoteMembers || undefined,
39
- changeInfo: rights.canChangeInfo || undefined,
40
- inviteUsers: rights.canInviteUsers || undefined,
35
+ delete_messages: rights.canDeleteMessages || undefined,
36
+ manage_call: rights.canManageChat || undefined,
37
+ ban_users: rights.canRestrictMembers || undefined,
38
+ add_admins: rights.canPromoteMembers || undefined,
39
+ change_info: rights.canChangeInfo || undefined,
40
+ invite_users: rights.canInviteUsers || undefined,
41
41
  });
42
42
  }
43
43
  exports.chatAdministratorRightsToTlObject = chatAdministratorRightsToTlObject;
@@ -4,8 +4,8 @@ exports.constructChatPhoto = void 0;
4
4
  const _2_tl_js_1 = require("../2_tl.js");
5
5
  const _0__file_id_js_1 = require("./0__file_id.js");
6
6
  function constructChatPhoto(photo, chatId, chatAccessHash) {
7
- const smallFileId = new _0__file_id_js_1.FileID(null, null, _0__file_id_js_1.FileType.ChatPhoto, photo.dcId, {
8
- mediaId: photo.photoId,
7
+ const smallFileId = new _0__file_id_js_1.FileID(null, null, _0__file_id_js_1.FileType.ChatPhoto, photo.dc_id, {
8
+ mediaId: photo.photo_id,
9
9
  thumbnailSource: _0__file_id_js_1.ThumbnailSource.ChatPhotoSmall,
10
10
  chatId,
11
11
  chatAccessHash,
@@ -13,9 +13,9 @@ function constructChatPhoto(photo, chatId, chatAccessHash) {
13
13
  volumeId: 0n,
14
14
  localId: 0,
15
15
  }).encode();
16
- const smallFileUniqueId = new _0__file_id_js_1.FileUniqueID(_0__file_id_js_1.FileUniqueType.Document, { mediaId: photo.photoId }).encode();
17
- const bigFileId = new _0__file_id_js_1.FileID(null, null, _0__file_id_js_1.FileType.ChatPhoto, photo.dcId, {
18
- mediaId: photo.photoId,
16
+ const smallFileUniqueId = new _0__file_id_js_1.FileUniqueID(_0__file_id_js_1.FileUniqueType.Document, { mediaId: photo.photo_id }).encode();
17
+ const bigFileId = new _0__file_id_js_1.FileID(null, null, _0__file_id_js_1.FileType.ChatPhoto, photo.dc_id, {
18
+ mediaId: photo.photo_id,
19
19
  thumbnailSource: _0__file_id_js_1.ThumbnailSource.ChatPhotoBig,
20
20
  chatId,
21
21
  chatAccessHash,
@@ -23,14 +23,14 @@ function constructChatPhoto(photo, chatId, chatAccessHash) {
23
23
  volumeId: 0n,
24
24
  localId: 0,
25
25
  }).encode();
26
- const bigFileUniqueId = new _0__file_id_js_1.FileUniqueID(_0__file_id_js_1.FileUniqueType.Document, { mediaId: photo.photoId }).encode();
26
+ const bigFileUniqueId = new _0__file_id_js_1.FileUniqueID(_0__file_id_js_1.FileUniqueType.Document, { mediaId: photo.photo_id }).encode();
27
27
  if (photo instanceof _2_tl_js_1.types.ChatPhoto) {
28
28
  return {
29
29
  smallFileId,
30
30
  smallFileUniqueId,
31
31
  bigFileId,
32
32
  bigFileUniqueId,
33
- hasVideo: photo.hasVideo || false,
33
+ hasVideo: photo.has_video || false,
34
34
  };
35
35
  }
36
36
  else {
@@ -40,7 +40,7 @@ function constructChatPhoto(photo, chatId, chatAccessHash) {
40
40
  smallFileUniqueId,
41
41
  bigFileId,
42
42
  bigFileUniqueId,
43
- hasVideo: photo.hasVideo || false,
43
+ hasVideo: photo.has_video || false,
44
44
  };
45
45
  }
46
46
  }
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.constructContact = void 0;
4
4
  function constructContact(contact) {
5
5
  return {
6
- phoneNumber: contact.phoneNumber,
7
- firstName: contact.firstName,
8
- lastName: contact.lastName || undefined,
9
- userId: Number(contact.userId) || undefined,
6
+ phoneNumber: contact.phone_number,
7
+ firstName: contact.first_name,
8
+ lastName: contact.last_name || undefined,
9
+ userId: Number(contact.user_id) || undefined,
10
10
  vcard: contact.vcard || undefined,
11
11
  };
12
12
  }
@@ -9,4 +9,4 @@ export interface ForceReply {
9
9
  selective?: boolean;
10
10
  }
11
11
  export declare function constructForceReply(replyMarkup_: types.ReplyKeyboardForceReply): ForceReply;
12
- export declare function forceReplyToTlObject(replyMarkup: ForceReply): types.ReplyKeyboardForceReply;
12
+ export declare function forceReplyToTlObject(replyMarkup: ForceReply): import("../tl/2_types.js").ReplyKeyboardForceReply_;
@@ -8,7 +8,7 @@ function constructLocation(geo_) {
8
8
  return {
9
9
  latitude: geo.lat,
10
10
  longitude: geo.long,
11
- horizontalAccuracy: geo.accuracyRadius,
11
+ horizontalAccuracy: geo.accuracy_radius,
12
12
  };
13
13
  }
14
14
  else if (geo_ instanceof _2_tl_js_1.types.MessageMediaGeoLive) {
@@ -17,17 +17,17 @@ function constructLocation(geo_) {
17
17
  return {
18
18
  latitude: geo.lat,
19
19
  longitude: geo.long,
20
- horizontalAccuracy: geo.accuracyRadius,
20
+ horizontalAccuracy: geo.accuracy_radius,
21
21
  livePeriod: media.period,
22
22
  heading: media.heading,
23
- proximityAlertRadius: media.proximityNotificationRadius,
23
+ proximityAlertRadius: media.proximity_notification_radius,
24
24
  };
25
25
  }
26
26
  else {
27
27
  return {
28
28
  latitude: geo_.lat,
29
29
  longitude: geo_.long,
30
- horizontalAccuracy: geo_.accuracyRadius,
30
+ horizontalAccuracy: geo_.accuracy_radius,
31
31
  };
32
32
  }
33
33
  }
@@ -1,4 +1,4 @@
1
- import { types } from "../2_tl.js";
1
+ import { enums } from "../2_tl.js";
2
2
  export interface MaskPosition {
3
3
  /** The part of the face relative to which the mask should be placed. One of "forehead", "eyes", "mouth", or "chin". */
4
4
  point: "forehead" | "eyes" | "mouth" | "chin";
@@ -9,4 +9,4 @@ export interface MaskPosition {
9
9
  /** Mask scaling coefficient. For example, 2.0 means double size. */
10
10
  scale: number;
11
11
  }
12
- export declare function constructMaskPosition({ n, x, y, zoom }: types.MaskCoords): MaskPosition;
12
+ export declare function constructMaskPosition({ n, x, y, zoom }: enums.MaskCoords): MaskPosition;
@@ -1,4 +1,4 @@
1
- import { types } from "../2_tl.js";
1
+ import { enums } from "../2_tl.js";
2
2
  export type MessageEntityType = "mention" | "hashtag" | "botCommand" | "url" | "email" | "bold" | "italic" | "code" | "pre" | "textLink" | "textMention" | "cashtag" | "phoneNumber" | "underline" | "strikethrough" | "blockquote" | "bankCard" | "spoiler" | "customEmoji";
3
3
  export declare namespace MessageEntity {
4
4
  interface Base {
@@ -76,5 +76,5 @@ export declare namespace MessageEntity {
76
76
  }
77
77
  /** A single entity of a message's text or caption. */
78
78
  export type MessageEntity = MessageEntity.Mention | MessageEntity.Hashtag | MessageEntity.BotCommand | MessageEntity.URL | MessageEntity.EmailAddress | MessageEntity.Bold | MessageEntity.Italic | MessageEntity.Code | MessageEntity.Pre | MessageEntity.TextLink | MessageEntity.TextMention | MessageEntity.Cashtag | MessageEntity.PhoneNumber | MessageEntity.Underline | MessageEntity.Strikethrough | MessageEntity.Blockquote | MessageEntity.BankCard | MessageEntity.Spoiler | MessageEntity.CustomEmoji;
79
- export declare function constructMessageEntity(obj: types.TypeMessageEntity): MessageEntity | null;
80
- export declare function messageEntityToTlObject(entity: MessageEntity): types.MessageEntityMention | types.MessageEntityHashtag | types.MessageEntityBotCommand | types.MessageEntityURL | types.MessageEntityEmail | types.MessageEntityBold | types.MessageEntityItalic | types.MessageEntityCode | types.MessageEntityPre | types.MessageEntityTextURL | types.MessageEntityMentionName | types.MessageEntityPhone | types.MessageEntityCashtag | types.MessageEntityUnderline | types.MessageEntityStrike | types.MessageEntityBankCard | types.MessageEntitySpoiler | types.MessageEntityCustomEmoji | types.MessageEntityBlockquote;
79
+ export declare function constructMessageEntity(obj: enums.MessageEntity): MessageEntity | null;
80
+ export declare function messageEntityToTlObject(entity: MessageEntity): import("../tl/2_types.js").MessageEntityMention_ | import("../tl/2_types.js").MessageEntityHashtag_ | import("../tl/2_types.js").MessageEntityBotCommand_ | import("../tl/2_types.js").MessageEntityUrl_ | import("../tl/2_types.js").MessageEntityEmail_ | import("../tl/2_types.js").MessageEntityBold_ | import("../tl/2_types.js").MessageEntityItalic_ | import("../tl/2_types.js").MessageEntityCode_ | import("../tl/2_types.js").MessageEntityPre_ | import("../tl/2_types.js").MessageEntityTextUrl_ | import("../tl/2_types.js").MessageEntityMentionName_ | import("../tl/2_types.js").MessageEntityPhone_ | import("../tl/2_types.js").MessageEntityCashtag_ | import("../tl/2_types.js").MessageEntityUnderline_ | import("../tl/2_types.js").MessageEntityStrike_ | import("../tl/2_types.js").MessageEntityBankCard_ | import("../tl/2_types.js").MessageEntitySpoiler_ | import("../tl/2_types.js").MessageEntityCustomEmoji_ | import("../tl/2_types.js").MessageEntityBlockquote_;
@@ -12,7 +12,7 @@ function constructMessageEntity(obj) {
12
12
  else if (obj instanceof _2_tl_js_1.types.MessageEntityBotCommand) {
13
13
  return { type: "botCommand", offset: obj.offset ?? 0, length: obj.length };
14
14
  }
15
- else if (obj instanceof _2_tl_js_1.types.MessageEntityURL) {
15
+ else if (obj instanceof _2_tl_js_1.types.MessageEntityUrl) {
16
16
  return { type: "url", offset: obj.offset, length: obj.length };
17
17
  }
18
18
  else if (obj instanceof _2_tl_js_1.types.MessageEntityEmail) {
@@ -30,11 +30,11 @@ function constructMessageEntity(obj) {
30
30
  else if (obj instanceof _2_tl_js_1.types.MessageEntityPre) {
31
31
  return { type: "pre", offset: obj.offset, length: obj.length, language: obj.language };
32
32
  }
33
- else if (obj instanceof _2_tl_js_1.types.MessageEntityTextURL) {
33
+ else if (obj instanceof _2_tl_js_1.types.MessageEntityTextUrl) {
34
34
  return { type: "textLink", offset: obj.offset, length: obj.length, url: obj.url };
35
35
  }
36
36
  else if (obj instanceof _2_tl_js_1.types.MessageEntityMentionName) {
37
- return { type: "textMention", offset: obj.offset, length: obj.length, userId: Number(obj.userId) };
37
+ return { type: "textMention", offset: obj.offset, length: obj.length, userId: Number(obj.user_id) };
38
38
  }
39
39
  else if (obj instanceof _2_tl_js_1.types.MessageEntityCashtag) {
40
40
  return { type: "cashtag", offset: obj.offset, length: obj.length };
@@ -58,7 +58,7 @@ function constructMessageEntity(obj) {
58
58
  return { type: "spoiler", offset: obj.offset, length: obj.length };
59
59
  }
60
60
  else if (obj instanceof _2_tl_js_1.types.MessageEntityCustomEmoji) {
61
- return { type: "customEmoji", offset: obj.offset, length: obj.length, customEmojiId: String(obj.documentId) };
61
+ return { type: "customEmoji", offset: obj.offset, length: obj.length, customEmojiId: String(obj.document_id) };
62
62
  }
63
63
  else {
64
64
  return null;
@@ -75,7 +75,7 @@ function messageEntityToTlObject(entity) {
75
75
  case "botCommand":
76
76
  return new _2_tl_js_1.types.MessageEntityBotCommand({ offset, length });
77
77
  case "url":
78
- return new _2_tl_js_1.types.MessageEntityURL({ offset, length });
78
+ return new _2_tl_js_1.types.MessageEntityUrl({ offset, length });
79
79
  case "email":
80
80
  return new _2_tl_js_1.types.MessageEntityEmail({ offset, length });
81
81
  case "bold":
@@ -87,9 +87,9 @@ function messageEntityToTlObject(entity) {
87
87
  case "pre":
88
88
  return new _2_tl_js_1.types.MessageEntityPre({ offset, length, language: entity.language });
89
89
  case "textLink":
90
- return new _2_tl_js_1.types.MessageEntityTextURL({ offset, length, url: entity.url });
90
+ return new _2_tl_js_1.types.MessageEntityTextUrl({ offset, length, url: entity.url });
91
91
  case "textMention":
92
- return new _2_tl_js_1.types.MessageEntityMentionName({ offset, length, userId: BigInt(entity.userId) });
92
+ return new _2_tl_js_1.types.MessageEntityMentionName({ offset, length, user_id: BigInt(entity.userId) });
93
93
  case "cashtag":
94
94
  return new _2_tl_js_1.types.MessageEntityCashtag({ offset, length });
95
95
  case "phoneNumber":
@@ -105,7 +105,7 @@ function messageEntityToTlObject(entity) {
105
105
  case "spoiler":
106
106
  return new _2_tl_js_1.types.MessageEntitySpoiler({ offset, length });
107
107
  case "customEmoji":
108
- return new _2_tl_js_1.types.MessageEntityCustomEmoji({ offset, length, documentId: BigInt(entity.customEmojiId) });
108
+ return new _2_tl_js_1.types.MessageEntityCustomEmoji({ offset, length, document_id: BigInt(entity.customEmojiId) });
109
109
  }
110
110
  }
111
111
  exports.messageEntityToTlObject = messageEntityToTlObject;
@@ -1,8 +1,8 @@
1
- import { types } from "../2_tl.js";
1
+ import { enums } from "../2_tl.js";
2
2
  export interface PollOption {
3
3
  /** The option's text (1-100 characters). */
4
4
  text: string;
5
5
  /** Number of users that voted this option. */
6
6
  voterCount: number;
7
7
  }
8
- export declare function constructPollOption(option: types.PollAnswer, results: Array<types.TypePollAnswerVoters>): PollOption;
8
+ export declare function constructPollOption(option: enums.PollAnswer, results: Array<enums.PollAnswerVoters>): PollOption;
@@ -7,4 +7,4 @@ export interface ReplyKeyboardRemove {
7
7
  selective?: boolean;
8
8
  }
9
9
  export declare function constructReplyKeyboardRemove(replyMarkup_: types.ReplyKeyboardHide): ReplyKeyboardRemove;
10
- export declare function replyKeyboardRemoveToTlObject(replyMarkup: ReplyKeyboardRemove): types.ReplyKeyboardHide;
10
+ export declare function replyKeyboardRemoveToTlObject(replyMarkup: ReplyKeyboardRemove): import("../tl/2_types.js").ReplyKeyboardHide_;
@@ -1,7 +1,7 @@
1
- import { types } from "../2_tl.js";
1
+ import { enums } from "../2_tl.js";
2
2
  export interface RestrictionReason {
3
3
  platform: string;
4
4
  reason: string;
5
5
  text: string;
6
6
  }
7
- export declare function constructRestrictionReason(rr: types.TypeRestrictionReason): RestrictionReason;
7
+ export declare function constructRestrictionReason(rr: enums.RestrictionReason): RestrictionReason;
@@ -5,10 +5,10 @@ const _2_tl_js_1 = require("../2_tl.js");
5
5
  const _0__file_id_js_1 = require("./0__file_id.js");
6
6
  function constructThumbnail(size, file) {
7
7
  const fileType = file instanceof _2_tl_js_1.types.Photo ? _0__file_id_js_1.FileType.Photo : _0__file_id_js_1.FileType.Document;
8
- const fileId = new _0__file_id_js_1.FileID(null, null, fileType, file.dcId, {
8
+ const fileId = new _0__file_id_js_1.FileID(null, null, fileType, file.dc_id, {
9
9
  mediaId: file.id,
10
- accessHash: file.accessHash,
11
- fileReference: file.fileReference,
10
+ accessHash: file.access_hash,
11
+ fileReference: file.file_reference,
12
12
  thumbnailFileType: fileType,
13
13
  thumbnailSource: _0__file_id_js_1.ThumbnailSource.Thumbnail,
14
14
  thumbnailSize: size.type,
@@ -8,12 +8,12 @@ function constructVenue(media_) {
8
8
  location: {
9
9
  latitude: geo.lat,
10
10
  longitude: geo.long,
11
- horizontalAccuracy: geo.accuracyRadius,
11
+ horizontalAccuracy: geo.accuracy_radius,
12
12
  },
13
13
  title: media_.title,
14
14
  address: media_.address,
15
- foursquareId: media_.venueId,
16
- foursquareType: media_.venueType,
15
+ foursquareId: media_.venue_id,
16
+ foursquareType: media_.venue_type,
17
17
  };
18
18
  }
19
19
  exports.constructVenue = constructVenue;
@@ -6,7 +6,7 @@ function constructVoice(document, audioAttributes, fileId, fileUniqueId) {
6
6
  fileId,
7
7
  fileUniqueId,
8
8
  duration: audioAttributes.duration,
9
- mimeType: document.mimeType,
9
+ mimeType: document.mime_type,
10
10
  fileSize: Number(document.size),
11
11
  };
12
12
  }
@@ -11,8 +11,8 @@ function constructAnimation(document, videoAttribute, fileAttribute, fileId, fil
11
11
  height: videoAttribute?.h ?? 0,
12
12
  duration: videoAttribute?.duration ?? 0,
13
13
  thumbnails: document.thumbs ? document.thumbs.map((v) => v instanceof _2_tl_js_1.types.PhotoSize ? (0, _0_thumbnail_js_1.constructThumbnail)(v, document) : null).filter((v) => v) : [],
14
- fileName: fileAttribute?.fileName,
15
- mimeType: document.mimeType,
14
+ fileName: fileAttribute?.file_name,
15
+ mimeType: document.mime_type,
16
16
  fileSize: Number(document.size),
17
17
  };
18
18
  }
@@ -1,4 +1,3 @@
1
- import { types } from "../2_tl.js";
2
1
  import { ChatID } from "./0_chat_id.js";
3
2
  import { InputPeerGetter } from "./1__getters.js";
4
3
  export declare namespace BotCommandScope {
@@ -29,4 +28,4 @@ export declare namespace BotCommandScope {
29
28
  }
30
29
  }
31
30
  export type BotCommandScope = BotCommandScope.Default | BotCommandScope.AllPrivateChats | BotCommandScope.AllGroupChats | BotCommandScope.AllChatAdministrators | BotCommandScope.Chat | BotCommandScope.ChatAdministrators | BotCommandScope.ChatMember;
32
- export declare function botCommandScopeToTlObject(scope: BotCommandScope, getInputPeer: InputPeerGetter): Promise<types.BotCommandScopeDefault | types.BotCommandScopeUsers | types.BotCommandScopeChats | types.BotCommandScopeChatAdmins | types.BotCommandScopePeer | types.BotCommandScopePeerAdmins | types.BotCommandScopePeerUser>;
31
+ export declare function botCommandScopeToTlObject(scope: BotCommandScope, getInputPeer: InputPeerGetter): Promise<import("../tl/2_types.js").BotCommandScopeDefault_ | import("../tl/2_types.js").BotCommandScopeUsers_ | import("../tl/2_types.js").BotCommandScopeChats_ | import("../tl/2_types.js").BotCommandScopeChatAdmins_ | import("../tl/2_types.js").BotCommandScopePeer_ | import("../tl/2_types.js").BotCommandScopePeerAdmins_ | import("../tl/2_types.js").BotCommandScopePeerUser_>;
@@ -22,7 +22,7 @@ async function botCommandScopeToTlObject(scope, getInputPeer) {
22
22
  if (!(user instanceof _2_tl_js_1.types.InputPeerUser)) {
23
23
  (0, _1_utilities_js_1.UNREACHABLE)();
24
24
  }
25
- return new _2_tl_js_1.types.BotCommandScopePeerUser({ peer: await getInputPeer(scope.chatId), userId: new _2_tl_js_1.types.InputUser({ userId: user.userId, accessHash: user.accessHash }) });
25
+ return new _2_tl_js_1.types.BotCommandScopePeerUser({ peer: await getInputPeer(scope.chatId), user_id: new _2_tl_js_1.types.InputUser({ user_id: user.user_id, access_hash: user.access_hash }) });
26
26
  }
27
27
  default:
28
28
  (0, _1_utilities_js_1.UNREACHABLE)();
@@ -13,9 +13,9 @@ function constructChat(chat) {
13
13
  type: "private",
14
14
  isBot: chat.bot || false,
15
15
  id,
16
- color: chat.color !== undefined ? chat.color : (0, _1_utilities_js_1.getColorFromPeerId)(id),
17
- firstName: chat.firstName || "",
18
- lastName: chat.lastName,
16
+ color: chat.color?.color !== undefined ? chat.color.color : (0, _1_utilities_js_1.getColorFromPeerId)(id),
17
+ firstName: chat.first_name || "",
18
+ lastName: chat.last_name,
19
19
  isScam: chat.scam || false,
20
20
  isFake: chat.fake || false,
21
21
  isSupport: chat.support || false,
@@ -23,10 +23,10 @@ function constructChat(chat) {
23
23
  };
24
24
  if (chat_.isBot) {
25
25
  chat_.isRestricted = chat.restricted || false;
26
- chat_.restrictionReason = chat.restrictionReason;
26
+ chat_.restrictionReason = chat.restriction_reason;
27
27
  }
28
28
  if (chat.photo instanceof _2_tl_js_1.types.UserProfilePhoto) {
29
- chat_.photo = (0, _0_chat_photo_js_1.constructChatPhoto)(chat.photo, chat_.id, chat.accessHash ?? 0n);
29
+ chat_.photo = (0, _0_chat_photo_js_1.constructChatPhoto)(chat.photo, chat_.id, chat.access_hash ?? 0n);
30
30
  }
31
31
  return (0, _1_utilities_js_1.cleanObject)(chat_);
32
32
  }
@@ -51,7 +51,7 @@ function constructChat(chat) {
51
51
  if (chat.megagroup) {
52
52
  chat_ = {
53
53
  id,
54
- color: chat.color !== undefined ? chat.color : (0, _1_utilities_js_1.getColorFromPeerId)(id),
54
+ color: chat.color?.color !== undefined ? chat.color.color : (0, _1_utilities_js_1.getColorFromPeerId)(id),
55
55
  type: "supergroup",
56
56
  title,
57
57
  isScam,
@@ -65,7 +65,7 @@ function constructChat(chat) {
65
65
  const id = _4_constants_js_1.ZERO_CHANNEL_ID + -Number(chat.id);
66
66
  chat_ = {
67
67
  id,
68
- color: chat.color !== undefined ? chat.color : (0, _1_utilities_js_1.getColorFromPeerId)(id),
68
+ color: chat.color?.color !== undefined ? chat.color.color : (0, _1_utilities_js_1.getColorFromPeerId)(id),
69
69
  type: "channel",
70
70
  title,
71
71
  isScam,
@@ -77,10 +77,10 @@ function constructChat(chat) {
77
77
  chat_.username = chat.username;
78
78
  chat_.also = chat.usernames?.map((v) => v.username);
79
79
  if (chat_.isRestricted) {
80
- chat_.restrictionReason = (chat.restrictionReason ?? []).map(_0_restriction_reason_js_1.constructRestrictionReason);
80
+ chat_.restrictionReason = (chat.restriction_reason ?? []).map(_0_restriction_reason_js_1.constructRestrictionReason);
81
81
  }
82
82
  if (chat.photo instanceof _2_tl_js_1.types.ChatPhoto) {
83
- chat_.photo = (0, _0_chat_photo_js_1.constructChatPhoto)(chat.photo, chat_.id, chat.accessHash ?? 0n);
83
+ chat_.photo = (0, _0_chat_photo_js_1.constructChatPhoto)(chat.photo, chat_.id, chat.access_hash ?? 0n);
84
84
  }
85
85
  return (0, _1_utilities_js_1.cleanObject)(chat_);
86
86
  }