@mtkruto/node 0.1.119 → 0.1.121

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 (627) 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 +13 -4
  23. package/esm/tl/2_types.d.ts +11384 -6448
  24. package/esm/tl/2_types.js +16321 -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/6_message.d.ts +1 -1
  30. package/esm/tl/6_message.js +1 -1
  31. package/esm/types/0__file_id.js +1 -2
  32. package/esm/types/0_audio.js +1 -1
  33. package/esm/types/0_chat_administrator_rights.d.ts +3 -3
  34. package/esm/types/0_chat_administrator_rights.js +20 -20
  35. package/esm/types/0_chat_photo.js +8 -8
  36. package/esm/types/0_contact.js +4 -4
  37. package/esm/types/0_force_reply.d.ts +1 -1
  38. package/esm/types/0_location.js +4 -4
  39. package/esm/types/0_mask_position.d.ts +2 -2
  40. package/esm/types/0_message_entity.d.ts +3 -3
  41. package/esm/types/0_message_entity.js +8 -8
  42. package/esm/types/0_poll_option.d.ts +2 -2
  43. package/esm/types/0_reply_keyboard_remove.d.ts +1 -1
  44. package/esm/types/0_restriction_reason.d.ts +2 -2
  45. package/esm/types/0_thumbnail.js +3 -3
  46. package/esm/types/0_venue.js +3 -3
  47. package/esm/types/0_voice.js +1 -1
  48. package/esm/types/1_animation.js +2 -2
  49. package/esm/types/1_bot_command_scope.d.ts +1 -2
  50. package/esm/types/1_bot_command_scope.js +1 -1
  51. package/esm/types/1_chat.js +9 -9
  52. package/esm/types/1_document.js +2 -2
  53. package/esm/types/1_input_invoice_message_content.d.ts +1 -1
  54. package/esm/types/1_keyboard_button.d.ts +3 -3
  55. package/esm/types/1_keyboard_button.js +35 -35
  56. package/esm/types/1_photo.js +1 -1
  57. package/esm/types/1_poll.js +6 -6
  58. package/esm/types/1_sticker.js +3 -3
  59. package/esm/types/1_user.js +6 -6
  60. package/esm/types/1_video.js +1 -1
  61. package/esm/types/2_game.js +3 -3
  62. package/esm/types/2_inline_keyboard_button.d.ts +3 -3
  63. package/esm/types/2_inline_keyboard_button.js +9 -9
  64. package/esm/types/2_inline_query.js +8 -8
  65. package/esm/types/2_reply_keyboard_markup.d.ts +1 -1
  66. package/esm/types/2_reply_keyboard_markup.js +2 -2
  67. package/esm/types/3_inline_keyboard_markup.d.ts +1 -1
  68. package/esm/types/3_message.d.ts +4 -4
  69. package/esm/types/3_message.js +64 -64
  70. package/esm/types/4_callback_query.js +6 -6
  71. package/esm/types/4_reply_markup.d.ts +1 -1
  72. package/esm/types/5_inline_query_result.d.ts +1 -2
  73. package/esm/types/5_inline_query_result.js +30 -30
  74. package/package.json +13 -12
  75. package/script/0_deps.d.ts +3 -3
  76. package/script/0_deps.js +3 -3
  77. package/script/2_tl.d.ts +3 -3
  78. package/script/2_tl.js +5 -15
  79. package/script/3_errors.d.ts +509 -509
  80. package/script/3_errors.js +509 -509
  81. package/script/4_constants.d.ts +2 -2
  82. package/script/4_constants.js +2 -2
  83. package/script/4_errors.d.ts +7 -7
  84. package/script/4_errors.js +6 -6
  85. package/script/_dnt.shims.js +0 -1
  86. package/script/client/0_password.d.ts +2 -2
  87. package/script/client/0_password.js +4 -4
  88. package/script/client/0_utilities.d.ts +3 -3
  89. package/script/client/0_utilities.js +1 -2
  90. package/script/client/2_client_plain.js +20 -20
  91. package/script/client/5_client.d.ts +20 -6
  92. package/script/client/5_client.js +312 -255
  93. package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.js +1 -1
  94. package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.js +1 -1
  95. package/script/deps/deno.land/x/html_parser@v0.1.3/src/ElementType.js +1 -1
  96. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.js +3 -3
  97. package/script/deps/deno.land/x/html_parser@v0.1.3/src/utils/helpers.js +1 -1
  98. package/script/storage/0_storage.d.ts +5 -5
  99. package/script/storage/0_utilities.js +1 -1
  100. package/script/tl/1_tl_object.d.ts +4 -0
  101. package/script/tl/1_tl_object.js +14 -5
  102. package/script/tl/2_types.d.ts +11384 -6448
  103. package/script/tl/2_types.js +18030 -11825
  104. package/script/tl/3_functions.d.ts +6773 -2401
  105. package/script/tl/3_functions.js +10051 -3994
  106. package/script/tl/3_utilities.d.ts +2 -2
  107. package/script/tl/3_utilities.js +7 -30
  108. package/script/tl/6_message.d.ts +1 -1
  109. package/script/tl/6_message.js +4 -4
  110. package/script/types/0__file_id.js +4 -4
  111. package/script/types/0_audio.js +1 -1
  112. package/script/types/0_chat_administrator_rights.d.ts +3 -3
  113. package/script/types/0_chat_administrator_rights.js +20 -20
  114. package/script/types/0_chat_photo.js +8 -8
  115. package/script/types/0_contact.js +4 -4
  116. package/script/types/0_force_reply.d.ts +1 -1
  117. package/script/types/0_location.js +4 -4
  118. package/script/types/0_mask_position.d.ts +2 -2
  119. package/script/types/0_message_entity.d.ts +3 -3
  120. package/script/types/0_message_entity.js +8 -8
  121. package/script/types/0_poll_option.d.ts +2 -2
  122. package/script/types/0_reply_keyboard_remove.d.ts +1 -1
  123. package/script/types/0_restriction_reason.d.ts +2 -2
  124. package/script/types/0_thumbnail.js +3 -3
  125. package/script/types/0_venue.js +3 -3
  126. package/script/types/0_voice.js +1 -1
  127. package/script/types/1_animation.js +2 -2
  128. package/script/types/1_bot_command_scope.d.ts +1 -2
  129. package/script/types/1_bot_command_scope.js +1 -1
  130. package/script/types/1_chat.js +9 -9
  131. package/script/types/1_document.js +2 -2
  132. package/script/types/1_input_invoice_message_content.d.ts +1 -1
  133. package/script/types/1_keyboard_button.d.ts +3 -3
  134. package/script/types/1_keyboard_button.js +35 -35
  135. package/script/types/1_photo.js +1 -1
  136. package/script/types/1_poll.js +6 -6
  137. package/script/types/1_sticker.js +3 -3
  138. package/script/types/1_user.js +6 -6
  139. package/script/types/1_video.js +1 -1
  140. package/script/types/2_game.js +3 -3
  141. package/script/types/2_inline_keyboard_button.d.ts +3 -3
  142. package/script/types/2_inline_keyboard_button.js +9 -9
  143. package/script/types/2_inline_query.js +8 -8
  144. package/script/types/2_reply_keyboard_markup.d.ts +1 -1
  145. package/script/types/2_reply_keyboard_markup.js +2 -2
  146. package/script/types/3_inline_keyboard_markup.d.ts +1 -1
  147. package/script/types/3_message.d.ts +4 -4
  148. package/script/types/3_message.js +64 -64
  149. package/script/types/4_callback_query.js +6 -6
  150. package/script/types/4_reply_markup.d.ts +1 -1
  151. package/script/types/5_inline_query_result.d.ts +1 -2
  152. package/script/types/5_inline_query_result.js +30 -30
  153. package/esm/_dnt.test_shims.d.ts +0 -10
  154. package/esm/client/0_password_test.d.ts +0 -1
  155. package/esm/client/0_utilities_test.d.ts +0 -1
  156. package/esm/storage/0_utilities_test.d.ts +0 -1
  157. package/esm/tl/0_tl_raw_reader_test.d.ts +0 -1
  158. package/esm/tl/0_tl_raw_writer_test.d.ts +0 -1
  159. package/esm/tl/1_tl_object_test.d.ts +0 -1
  160. package/esm/tl/2_types_test.d.ts +0 -1
  161. package/esm/tl/3_deserialize_test.d.ts +0 -1
  162. package/esm/tl/3_functions_test.d.ts +0 -1
  163. package/esm/tl/6_message_test.d.ts +0 -1
  164. package/esm/utilities/0_base64_test.d.ts +0 -1
  165. package/esm/utilities/0_bigint_test.d.ts +0 -1
  166. package/esm/utilities/0_buffer_test.d.ts +0 -1
  167. package/esm/utilities/0_rle_test.d.ts +0 -1
  168. package/script/_dnt.test_shims.d.ts +0 -10
  169. package/script/client/0_password_test.d.ts +0 -1
  170. package/script/client/0_utilities_test.d.ts +0 -1
  171. package/script/storage/0_utilities_test.d.ts +0 -1
  172. package/script/tl/0_tl_raw_reader_test.d.ts +0 -1
  173. package/script/tl/0_tl_raw_writer_test.d.ts +0 -1
  174. package/script/tl/1_tl_object_test.d.ts +0 -1
  175. package/script/tl/2_types_test.d.ts +0 -1
  176. package/script/tl/3_deserialize_test.d.ts +0 -1
  177. package/script/tl/3_functions_test.d.ts +0 -1
  178. package/script/tl/6_message_test.d.ts +0 -1
  179. package/script/utilities/0_base64_test.d.ts +0 -1
  180. package/script/utilities/0_bigint_test.d.ts +0 -1
  181. package/script/utilities/0_buffer_test.d.ts +0 -1
  182. package/script/utilities/0_rle_test.d.ts +0 -1
  183. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.d.ts +0 -0
  184. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.js +0 -0
  185. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.d.ts +0 -0
  186. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.js +0 -0
  187. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.d.ts +0 -0
  188. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.js +0 -0
  189. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.d.ts +0 -0
  190. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.js +0 -0
  191. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.d.ts +0 -0
  192. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.js +0 -0
  193. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.d.ts +0 -0
  194. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.js +0 -0
  195. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.d.ts +0 -0
  196. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.js +0 -0
  197. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.d.ts +0 -0
  198. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.js +0 -0
  199. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.d.ts +0 -0
  200. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.js +0 -0
  201. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.d.ts +0 -0
  202. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.js +0 -0
  203. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.d.ts +0 -0
  204. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.js +0 -0
  205. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.d.ts +0 -0
  206. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.js +0 -0
  207. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.d.ts +0 -0
  208. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.js +0 -0
  209. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.d.ts +0 -0
  210. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.js +0 -0
  211. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.d.ts +0 -0
  212. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.js +0 -0
  213. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.d.ts +0 -0
  214. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.js +0 -0
  215. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.d.ts +0 -0
  216. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.js +0 -0
  217. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.d.ts +0 -0
  218. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.js +0 -0
  219. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.d.ts +0 -0
  220. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.js +0 -0
  221. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.d.ts +0 -0
  222. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.d.ts +0 -0
  223. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.js +0 -0
  224. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.d.ts +0 -0
  225. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.js +0 -0
  226. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.d.ts +0 -0
  227. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.js +0 -0
  228. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.d.ts +0 -0
  229. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.js +0 -0
  230. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.js +0 -0
  232. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.js +0 -0
  234. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.js +0 -0
  236. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.d.ts +0 -0
  237. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.js +0 -0
  238. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.d.ts +0 -0
  239. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.d.ts +0 -0
  241. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.js +0 -0
  242. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.js +0 -0
  244. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.d.ts +0 -0
  245. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.js +0 -0
  246. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.d.ts +0 -0
  247. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.js +0 -0
  248. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.d.ts +0 -0
  249. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.js +0 -0
  250. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.d.ts +0 -0
  251. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.js +0 -0
  252. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.d.ts +0 -0
  263. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.js +0 -0
  264. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  265. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.js +0 -0
  266. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.d.ts +0 -0
  267. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.js +0 -0
  268. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.d.ts +0 -0
  269. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.js +0 -0
  270. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.d.ts +0 -0
  271. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  273. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.js +0 -0
  274. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.d.ts +0 -0
  275. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.js +0 -0
  276. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.d.ts +0 -0
  277. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.js +0 -0
  278. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.d.ts +0 -0
  279. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.js +0 -0
  280. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.d.ts +0 -0
  281. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.js +0 -0
  282. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.js +0 -0
  286. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.d.ts +0 -0
  287. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.js +0 -0
  288. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.d.ts +0 -0
  289. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.js +0 -0
  290. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.d.ts +0 -0
  291. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.js +0 -0
  292. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.d.ts +0 -0
  293. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.js +0 -0
  294. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.d.ts +0 -0
  295. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.js +0 -0
  296. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.d.ts +0 -0
  297. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.js +0 -0
  298. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.d.ts +0 -0
  299. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.js +0 -0
  300. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.d.ts +0 -0
  301. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.d.ts +0 -0
  303. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.js +0 -0
  304. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.d.ts +0 -0
  305. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.js +0 -0
  306. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.d.ts +0 -0
  307. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.js +0 -0
  308. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.d.ts +0 -0
  309. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.js +0 -0
  310. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.d.ts +0 -0
  311. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.js +0 -0
  312. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.d.ts +0 -0
  313. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.js +0 -0
  314. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.d.ts +0 -0
  315. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.js +0 -0
  316. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.d.ts +0 -0
  317. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.js +0 -0
  318. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.d.ts +0 -0
  319. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.js +0 -0
  320. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.d.ts +0 -0
  321. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.js +0 -0
  322. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.d.ts +0 -0
  323. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.js +0 -0
  324. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.d.ts +0 -0
  325. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.js +0 -0
  326. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.d.ts +0 -0
  327. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.js +0 -0
  328. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.d.ts +0 -0
  329. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.js +0 -0
  330. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.d.ts +0 -0
  331. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.js +0 -0
  332. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.d.ts +0 -0
  333. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.js +0 -0
  334. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.d.ts +0 -0
  335. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.js +0 -0
  336. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.d.ts +0 -0
  337. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.js +0 -0
  338. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.d.ts +0 -0
  339. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.js +0 -0
  340. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.d.ts +0 -0
  341. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.js +0 -0
  342. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.d.ts +0 -0
  343. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.js +0 -0
  344. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.d.ts +0 -0
  345. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.js +0 -0
  346. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.d.ts +0 -0
  347. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.js +0 -0
  348. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.d.ts +0 -0
  349. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.js +0 -0
  350. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.d.ts +0 -0
  351. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.js +0 -0
  352. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.d.ts +0 -0
  353. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.js +0 -0
  354. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.d.ts +0 -0
  355. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.js +0 -0
  356. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.d.ts +0 -0
  357. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.js +0 -0
  358. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.d.ts +0 -0
  359. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.js +0 -0
  360. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.d.ts +0 -0
  361. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.js +0 -0
  362. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.d.ts +0 -0
  363. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.js +0 -0
  364. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.d.ts +0 -0
  365. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.js +0 -0
  366. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.d.ts +0 -0
  367. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.js +0 -0
  368. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.d.ts +0 -0
  369. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.js +0 -0
  370. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.d.ts +0 -0
  371. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.js +0 -0
  372. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.d.ts +0 -0
  373. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.js +0 -0
  374. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.d.ts +0 -0
  375. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.js +0 -0
  376. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.d.ts +0 -0
  377. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.js +0 -0
  378. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.d.ts +0 -0
  379. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.js +0 -0
  380. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.d.ts +0 -0
  381. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.js +0 -0
  382. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.d.ts +0 -0
  383. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.js +0 -0
  384. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.d.ts +0 -0
  385. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.js +0 -0
  386. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.d.ts +0 -0
  387. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.js +0 -0
  388. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.d.ts +0 -0
  389. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.js +0 -0
  390. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.d.ts +0 -0
  391. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.js +0 -0
  392. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.d.ts +0 -0
  393. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.js +0 -0
  394. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.d.ts +0 -0
  395. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.js +0 -0
  396. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.d.ts +0 -0
  397. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.js +0 -0
  398. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.d.ts +0 -0
  399. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.js +0 -0
  400. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.d.ts +0 -0
  401. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.js +0 -0
  402. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.d.ts +0 -0
  403. /package/esm/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.js +0 -0
  404. /package/esm/tl/{5_rpc_result.d.ts → 4_rpc_result.d.ts} +0 -0
  405. /package/esm/tl/{5_rpc_result.js → 4_rpc_result.js} +0 -0
  406. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.d.ts +0 -0
  407. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_constants.js +0 -0
  408. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_diff.d.ts +0 -0
  409. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.d.ts +0 -0
  410. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/_format.js +0 -0
  411. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.d.ts +0 -0
  412. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert.js +0 -0
  413. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.d.ts +0 -0
  414. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_almost_equals.js +0 -0
  415. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.d.ts +0 -0
  416. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_array_includes.js +0 -0
  417. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.d.ts +0 -0
  418. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_equals.js +0 -0
  419. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.d.ts +0 -0
  420. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_exists.js +0 -0
  421. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.d.ts +0 -0
  422. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_false.js +0 -0
  423. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.d.ts +0 -0
  424. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater.js +0 -0
  425. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.d.ts +0 -0
  426. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_greater_or_equal.js +0 -0
  427. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.d.ts +0 -0
  428. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_instance_of.js +0 -0
  429. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.d.ts +0 -0
  430. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_is_error.js +0 -0
  431. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.d.ts +0 -0
  432. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less.js +0 -0
  433. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.d.ts +0 -0
  434. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_less_or_equal.js +0 -0
  435. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.d.ts +0 -0
  436. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_match.js +0 -0
  437. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.d.ts +0 -0
  438. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_equals.js +0 -0
  439. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.d.ts +0 -0
  440. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_instance_of.js +0 -0
  441. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.d.ts +0 -0
  442. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_match.js +0 -0
  443. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_not_strict_equals.d.ts +0 -0
  444. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.d.ts +0 -0
  445. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_object_match.js +0 -0
  446. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.d.ts +0 -0
  447. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_rejects.js +0 -0
  448. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.d.ts +0 -0
  449. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_strict_equals.js +0 -0
  450. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.d.ts +0 -0
  451. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_string_includes.js +0 -0
  452. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.d.ts +0 -0
  453. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assert_throws.js +0 -0
  454. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.d.ts +0 -0
  455. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/assertion_error.js +0 -0
  456. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.d.ts +0 -0
  457. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/equal.js +0 -0
  458. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.d.ts +0 -0
  459. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/fail.js +0 -0
  460. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.d.ts +0 -0
  461. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/mod.js +0 -0
  462. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.d.ts +0 -0
  463. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unimplemented.js +0 -0
  464. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.d.ts +0 -0
  465. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/assert/unreachable.js +0 -0
  466. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.d.ts +0 -0
  467. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/_util.js +0 -0
  468. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.d.ts +0 -0
  469. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/encoding/base64.js +0 -0
  470. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.d.ts +0 -0
  471. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/fmt/colors.js +0 -0
  472. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.d.ts +0 -0
  473. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/assert_path.js +0 -0
  474. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.d.ts +0 -0
  475. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/basename.js +0 -0
  476. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.d.ts +0 -0
  477. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/common.js +0 -0
  478. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.d.ts +0 -0
  479. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/constants.js +0 -0
  480. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.d.ts +0 -0
  481. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/dirname.js +0 -0
  482. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.d.ts +0 -0
  483. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/format.js +0 -0
  484. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.d.ts +0 -0
  485. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/from_file_url.js +0 -0
  486. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  487. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/glob_to_reg_exp.js +0 -0
  488. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.d.ts +0 -0
  489. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize.js +0 -0
  490. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.d.ts +0 -0
  491. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/normalize_string.js +0 -0
  492. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.d.ts +0 -0
  493. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/relative.js +0 -0
  494. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  495. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/strip_trailing_separators.js +0 -0
  496. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.d.ts +0 -0
  497. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_common/to_file_url.js +0 -0
  498. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.d.ts +0 -0
  499. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_interface.js +0 -0
  500. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.d.ts +0 -0
  501. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/_os.js +0 -0
  502. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.d.ts +0 -0
  503. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/basename.js +0 -0
  504. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.d.ts +0 -0
  505. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/common.js +0 -0
  506. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.d.ts +0 -0
  507. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/dirname.js +0 -0
  508. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.d.ts +0 -0
  509. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/extname.js +0 -0
  510. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.d.ts +0 -0
  511. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/format.js +0 -0
  512. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.d.ts +0 -0
  513. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/from_file_url.js +0 -0
  514. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.d.ts +0 -0
  515. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/glob_to_regexp.js +0 -0
  516. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.d.ts +0 -0
  517. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_absolute.js +0 -0
  518. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.d.ts +0 -0
  519. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/is_glob.js +0 -0
  520. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.d.ts +0 -0
  521. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join.js +0 -0
  522. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.d.ts +0 -0
  523. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/join_globs.js +0 -0
  524. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.d.ts +0 -0
  525. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/mod.js +0 -0
  526. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.d.ts +0 -0
  527. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize.js +0 -0
  528. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.d.ts +0 -0
  529. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/normalize_glob.js +0 -0
  530. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.d.ts +0 -0
  531. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/parse.js +0 -0
  532. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.d.ts +0 -0
  533. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/_util.js +0 -0
  534. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.d.ts +0 -0
  535. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/basename.js +0 -0
  536. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.d.ts +0 -0
  537. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/common.js +0 -0
  538. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.d.ts +0 -0
  539. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/dirname.js +0 -0
  540. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.d.ts +0 -0
  541. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/extname.js +0 -0
  542. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.d.ts +0 -0
  543. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/format.js +0 -0
  544. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.d.ts +0 -0
  545. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/from_file_url.js +0 -0
  546. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.d.ts +0 -0
  547. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/glob_to_regexp.js +0 -0
  548. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.d.ts +0 -0
  549. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_absolute.js +0 -0
  550. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.d.ts +0 -0
  551. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/is_glob.js +0 -0
  552. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.d.ts +0 -0
  553. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join.js +0 -0
  554. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.d.ts +0 -0
  555. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/join_globs.js +0 -0
  556. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.d.ts +0 -0
  557. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/mod.js +0 -0
  558. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.d.ts +0 -0
  559. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize.js +0 -0
  560. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.d.ts +0 -0
  561. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/normalize_glob.js +0 -0
  562. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.d.ts +0 -0
  563. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/parse.js +0 -0
  564. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.d.ts +0 -0
  565. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/relative.js +0 -0
  566. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.d.ts +0 -0
  567. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/resolve.js +0 -0
  568. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.d.ts +0 -0
  569. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/separator.js +0 -0
  570. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.d.ts +0 -0
  571. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_file_url.js +0 -0
  572. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.d.ts +0 -0
  573. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/posix/to_namespaced_path.js +0 -0
  574. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.d.ts +0 -0
  575. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/relative.js +0 -0
  576. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.d.ts +0 -0
  577. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/resolve.js +0 -0
  578. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.d.ts +0 -0
  579. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/separator.js +0 -0
  580. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.d.ts +0 -0
  581. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_file_url.js +0 -0
  582. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.d.ts +0 -0
  583. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/to_namespaced_path.js +0 -0
  584. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.d.ts +0 -0
  585. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/_util.js +0 -0
  586. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.d.ts +0 -0
  587. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/basename.js +0 -0
  588. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.d.ts +0 -0
  589. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/common.js +0 -0
  590. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.d.ts +0 -0
  591. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/dirname.js +0 -0
  592. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.d.ts +0 -0
  593. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/extname.js +0 -0
  594. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.d.ts +0 -0
  595. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/format.js +0 -0
  596. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.d.ts +0 -0
  597. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/from_file_url.js +0 -0
  598. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.d.ts +0 -0
  599. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/glob_to_regexp.js +0 -0
  600. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.d.ts +0 -0
  601. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_absolute.js +0 -0
  602. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.d.ts +0 -0
  603. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/is_glob.js +0 -0
  604. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.d.ts +0 -0
  605. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join.js +0 -0
  606. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.d.ts +0 -0
  607. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/join_globs.js +0 -0
  608. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.d.ts +0 -0
  609. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/mod.js +0 -0
  610. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.d.ts +0 -0
  611. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize.js +0 -0
  612. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.d.ts +0 -0
  613. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/normalize_glob.js +0 -0
  614. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.d.ts +0 -0
  615. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/parse.js +0 -0
  616. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.d.ts +0 -0
  617. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/relative.js +0 -0
  618. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.d.ts +0 -0
  619. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/resolve.js +0 -0
  620. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.d.ts +0 -0
  621. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/separator.js +0 -0
  622. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.d.ts +0 -0
  623. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_file_url.js +0 -0
  624. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.d.ts +0 -0
  625. /package/script/deps/deno.land/{std@0.207.0 → std@0.208.0}/path/windows/to_namespaced_path.js +0 -0
  626. /package/script/tl/{5_rpc_result.d.ts → 4_rpc_result.d.ts} +0 -0
  627. /package/script/tl/{5_rpc_result.js → 4_rpc_result.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,18 +1,18 @@
1
1
  import { UNREACHABLE } from "../1_utilities.js";
2
2
  import { ZERO_CHANNEL_ID } from "../4_constants.js";
3
- import * as types from "./2_types.js";
3
+ import { types } from "./2_types.js";
4
4
  export function getChannelChatId(channelId) {
5
5
  return ZERO_CHANNEL_ID + -Number(channelId);
6
6
  }
7
7
  export function peerToChatId(peer) {
8
8
  if (peer instanceof types.PeerUser || peer instanceof types.InputPeerUser) {
9
- return Number(peer.userId);
9
+ return Number(peer.user_id);
10
10
  }
11
11
  else if (peer instanceof types.PeerChat || peer instanceof types.InputPeerChat) {
12
- return -Number(peer.chatId);
12
+ return -Number(peer.chat_id);
13
13
  }
14
14
  else if (peer instanceof types.PeerChannel || peer instanceof types.InputPeerChannel) {
15
- return getChannelChatId(peer.channelId);
15
+ return getChannelChatId(peer.channel_id);
16
16
  }
17
17
  else {
18
18
  UNREACHABLE();
@@ -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;
@@ -1,7 +1,7 @@
1
1
  import { id, serialize } from "./1_tl_object.js";
2
2
  import { TLReader } from "./3_tl_reader.js";
3
3
  import { TLWriter } from "./4_tl_writer.js";
4
- import { RPCResult } from "./5_rpc_result.js";
4
+ import { RPCResult } from "./4_rpc_result.js";
5
5
  export function calculateLength(object) {
6
6
  let length = 0;
7
7
  if (Array.isArray(object)) {
@@ -33,7 +33,7 @@ export var ThumbnailSource;
33
33
  })(ThumbnailSource || (ThumbnailSource = {}));
34
34
  const WEB_LOCATION_FLAG = 1 << 24;
35
35
  const FILE_REFERENCE_FLAG = 1 << 25;
36
- class FileID {
36
+ export class FileID {
37
37
  constructor(major = FileID.MAJOR, minor = FileID.MINOR, fileType, dcId, params) {
38
38
  Object.defineProperty(this, "fileType", {
39
39
  enumerable: true,
@@ -244,7 +244,6 @@ Object.defineProperty(FileID, "MINOR", {
244
244
  writable: true,
245
245
  value: 30
246
246
  });
247
- export { FileID };
248
247
  export var FileUniqueType;
249
248
  (function (FileUniqueType) {
250
249
  FileUniqueType[FileUniqueType["Web"] = 0] = "Web";
@@ -7,7 +7,7 @@ export function constructAudio(document, audioAttribute, fileId, fileUniqueId) {
7
7
  duration: audioAttribute?.duration ?? 0,
8
8
  performer: audioAttribute?.performer,
9
9
  title: audioAttribute?.title,
10
- mimeType: document.mimeType,
10
+ mimeType: document.mime_type,
11
11
  fileSize: Number(document.size),
12
12
  thumbnails: document.thumbs ? document.thumbs.map((v) => v instanceof types.PhotoSize ? constructThumbnail(v, document) : null).filter((v) => v) : [],
13
13
  };
@@ -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_;
@@ -3,24 +3,24 @@ export function constructChatAdministratorRights(rights_) {
3
3
  const rights = {
4
4
  isAnonymous: rights_.anonymous || false,
5
5
  canManageChat: rights_.other || false,
6
- canDeleteMessages: rights_.deleteMessages || false,
7
- canManageVideoChats: rights_.manageCall || false,
8
- canRestrictMembers: rights_.banUsers || false,
9
- canPromoteMembers: rights_.addAdmins || false,
10
- canChangeInfo: rights_.changeInfo || false,
11
- canInviteUsers: rights_.inviteUsers || false,
6
+ canDeleteMessages: rights_.delete_messages || false,
7
+ canManageVideoChats: rights_.manage_call || false,
8
+ canRestrictMembers: rights_.ban_users || false,
9
+ canPromoteMembers: rights_.add_admins || false,
10
+ canChangeInfo: rights_.change_info || false,
11
+ canInviteUsers: rights_.invite_users || false,
12
12
  };
13
- if (rights_.postMessages) {
14
- rights.canPostMessages = rights_.postMessages;
13
+ if (rights_.post_messages) {
14
+ rights.canPostMessages = rights_.post_messages;
15
15
  }
16
- if (rights_.editMessages) {
17
- rights.canEditMessages = rights_.editMessages;
16
+ if (rights_.edit_messages) {
17
+ rights.canEditMessages = rights_.edit_messages;
18
18
  }
19
- if (rights_.pinMessages) {
20
- rights.canPinMessages = rights_.pinMessages;
19
+ if (rights_.pin_messages) {
20
+ rights.canPinMessages = rights_.pin_messages;
21
21
  }
22
- if (rights_.manageTopics) {
23
- rights.canManageTopics = rights_.manageTopics;
22
+ if (rights_.manage_topics) {
23
+ rights.canManageTopics = rights_.manage_topics;
24
24
  }
25
25
  return rights;
26
26
  }
@@ -28,11 +28,11 @@ export function chatAdministratorRightsToTlObject(rights) {
28
28
  return new types.ChatAdminRights({
29
29
  anonymous: rights.isAnonymous || undefined,
30
30
  other: rights.canManageChat || undefined,
31
- deleteMessages: rights.canDeleteMessages || undefined,
32
- manageCall: rights.canManageChat || undefined,
33
- banUsers: rights.canRestrictMembers || undefined,
34
- addAdmins: rights.canPromoteMembers || undefined,
35
- changeInfo: rights.canChangeInfo || undefined,
36
- inviteUsers: rights.canInviteUsers || undefined,
31
+ delete_messages: rights.canDeleteMessages || undefined,
32
+ manage_call: rights.canManageChat || undefined,
33
+ ban_users: rights.canRestrictMembers || undefined,
34
+ add_admins: rights.canPromoteMembers || undefined,
35
+ change_info: rights.canChangeInfo || undefined,
36
+ invite_users: rights.canInviteUsers || undefined,
37
37
  });
38
38
  }
@@ -1,8 +1,8 @@
1
1
  import { types } from "../2_tl.js";
2
2
  import { FileID, FileType, FileUniqueID, FileUniqueType, ThumbnailSource } from "./0__file_id.js";
3
3
  export function constructChatPhoto(photo, chatId, chatAccessHash) {
4
- const smallFileId = new FileID(null, null, FileType.ChatPhoto, photo.dcId, {
5
- mediaId: photo.photoId,
4
+ const smallFileId = new FileID(null, null, FileType.ChatPhoto, photo.dc_id, {
5
+ mediaId: photo.photo_id,
6
6
  thumbnailSource: ThumbnailSource.ChatPhotoSmall,
7
7
  chatId,
8
8
  chatAccessHash,
@@ -10,9 +10,9 @@ export function constructChatPhoto(photo, chatId, chatAccessHash) {
10
10
  volumeId: 0n,
11
11
  localId: 0,
12
12
  }).encode();
13
- const smallFileUniqueId = new FileUniqueID(FileUniqueType.Document, { mediaId: photo.photoId }).encode();
14
- const bigFileId = new FileID(null, null, FileType.ChatPhoto, photo.dcId, {
15
- mediaId: photo.photoId,
13
+ const smallFileUniqueId = new FileUniqueID(FileUniqueType.Document, { mediaId: photo.photo_id }).encode();
14
+ const bigFileId = new FileID(null, null, FileType.ChatPhoto, photo.dc_id, {
15
+ mediaId: photo.photo_id,
16
16
  thumbnailSource: ThumbnailSource.ChatPhotoBig,
17
17
  chatId,
18
18
  chatAccessHash,
@@ -20,14 +20,14 @@ export function constructChatPhoto(photo, chatId, chatAccessHash) {
20
20
  volumeId: 0n,
21
21
  localId: 0,
22
22
  }).encode();
23
- const bigFileUniqueId = new FileUniqueID(FileUniqueType.Document, { mediaId: photo.photoId }).encode();
23
+ const bigFileUniqueId = new FileUniqueID(FileUniqueType.Document, { mediaId: photo.photo_id }).encode();
24
24
  if (photo instanceof types.ChatPhoto) {
25
25
  return {
26
26
  smallFileId,
27
27
  smallFileUniqueId,
28
28
  bigFileId,
29
29
  bigFileUniqueId,
30
- hasVideo: photo.hasVideo || false,
30
+ hasVideo: photo.has_video || false,
31
31
  };
32
32
  }
33
33
  else {
@@ -37,7 +37,7 @@ export function constructChatPhoto(photo, chatId, chatAccessHash) {
37
37
  smallFileUniqueId,
38
38
  bigFileId,
39
39
  bigFileUniqueId,
40
- hasVideo: photo.hasVideo || false,
40
+ hasVideo: photo.has_video || false,
41
41
  };
42
42
  }
43
43
  }
@@ -1,9 +1,9 @@
1
1
  export function constructContact(contact) {
2
2
  return {
3
- phoneNumber: contact.phoneNumber,
4
- firstName: contact.firstName,
5
- lastName: contact.lastName || undefined,
6
- userId: Number(contact.userId) || undefined,
3
+ phoneNumber: contact.phone_number,
4
+ firstName: contact.first_name,
5
+ lastName: contact.last_name || undefined,
6
+ userId: Number(contact.user_id) || undefined,
7
7
  vcard: contact.vcard || undefined,
8
8
  };
9
9
  }
@@ -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_;
@@ -5,7 +5,7 @@ export function constructLocation(geo_) {
5
5
  return {
6
6
  latitude: geo.lat,
7
7
  longitude: geo.long,
8
- horizontalAccuracy: geo.accuracyRadius,
8
+ horizontalAccuracy: geo.accuracy_radius,
9
9
  };
10
10
  }
11
11
  else if (geo_ instanceof types.MessageMediaGeoLive) {
@@ -14,17 +14,17 @@ export function constructLocation(geo_) {
14
14
  return {
15
15
  latitude: geo.lat,
16
16
  longitude: geo.long,
17
- horizontalAccuracy: geo.accuracyRadius,
17
+ horizontalAccuracy: geo.accuracy_radius,
18
18
  livePeriod: media.period,
19
19
  heading: media.heading,
20
- proximityAlertRadius: media.proximityNotificationRadius,
20
+ proximityAlertRadius: media.proximity_notification_radius,
21
21
  };
22
22
  }
23
23
  else {
24
24
  return {
25
25
  latitude: geo_.lat,
26
26
  longitude: geo_.long,
27
- horizontalAccuracy: geo_.accuracyRadius,
27
+ horizontalAccuracy: geo_.accuracy_radius,
28
28
  };
29
29
  }
30
30
  }
@@ -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_;
@@ -9,7 +9,7 @@ export function constructMessageEntity(obj) {
9
9
  else if (obj instanceof types.MessageEntityBotCommand) {
10
10
  return { type: "botCommand", offset: obj.offset ?? 0, length: obj.length };
11
11
  }
12
- else if (obj instanceof types.MessageEntityURL) {
12
+ else if (obj instanceof types.MessageEntityUrl) {
13
13
  return { type: "url", offset: obj.offset, length: obj.length };
14
14
  }
15
15
  else if (obj instanceof types.MessageEntityEmail) {
@@ -27,11 +27,11 @@ export function constructMessageEntity(obj) {
27
27
  else if (obj instanceof types.MessageEntityPre) {
28
28
  return { type: "pre", offset: obj.offset, length: obj.length, language: obj.language };
29
29
  }
30
- else if (obj instanceof types.MessageEntityTextURL) {
30
+ else if (obj instanceof types.MessageEntityTextUrl) {
31
31
  return { type: "textLink", offset: obj.offset, length: obj.length, url: obj.url };
32
32
  }
33
33
  else if (obj instanceof types.MessageEntityMentionName) {
34
- return { type: "textMention", offset: obj.offset, length: obj.length, userId: Number(obj.userId) };
34
+ return { type: "textMention", offset: obj.offset, length: obj.length, userId: Number(obj.user_id) };
35
35
  }
36
36
  else if (obj instanceof types.MessageEntityCashtag) {
37
37
  return { type: "cashtag", offset: obj.offset, length: obj.length };
@@ -55,7 +55,7 @@ export function constructMessageEntity(obj) {
55
55
  return { type: "spoiler", offset: obj.offset, length: obj.length };
56
56
  }
57
57
  else if (obj instanceof types.MessageEntityCustomEmoji) {
58
- return { type: "customEmoji", offset: obj.offset, length: obj.length, customEmojiId: String(obj.documentId) };
58
+ return { type: "customEmoji", offset: obj.offset, length: obj.length, customEmojiId: String(obj.document_id) };
59
59
  }
60
60
  else {
61
61
  return null;
@@ -71,7 +71,7 @@ export function messageEntityToTlObject(entity) {
71
71
  case "botCommand":
72
72
  return new types.MessageEntityBotCommand({ offset, length });
73
73
  case "url":
74
- return new types.MessageEntityURL({ offset, length });
74
+ return new types.MessageEntityUrl({ offset, length });
75
75
  case "email":
76
76
  return new types.MessageEntityEmail({ offset, length });
77
77
  case "bold":
@@ -83,9 +83,9 @@ export function messageEntityToTlObject(entity) {
83
83
  case "pre":
84
84
  return new types.MessageEntityPre({ offset, length, language: entity.language });
85
85
  case "textLink":
86
- return new types.MessageEntityTextURL({ offset, length, url: entity.url });
86
+ return new types.MessageEntityTextUrl({ offset, length, url: entity.url });
87
87
  case "textMention":
88
- return new types.MessageEntityMentionName({ offset, length, userId: BigInt(entity.userId) });
88
+ return new types.MessageEntityMentionName({ offset, length, user_id: BigInt(entity.userId) });
89
89
  case "cashtag":
90
90
  return new types.MessageEntityCashtag({ offset, length });
91
91
  case "phoneNumber":
@@ -101,6 +101,6 @@ export function messageEntityToTlObject(entity) {
101
101
  case "spoiler":
102
102
  return new types.MessageEntitySpoiler({ offset, length });
103
103
  case "customEmoji":
104
- return new types.MessageEntityCustomEmoji({ offset, length, documentId: BigInt(entity.customEmojiId) });
104
+ return new types.MessageEntityCustomEmoji({ offset, length, document_id: BigInt(entity.customEmojiId) });
105
105
  }
106
106
  }
@@ -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;
@@ -2,10 +2,10 @@ import { types } from "../2_tl.js";
2
2
  import { FileID, FileType, FileUniqueID, FileUniqueType, ThumbnailSource } from "./0__file_id.js";
3
3
  export function constructThumbnail(size, file) {
4
4
  const fileType = file instanceof types.Photo ? FileType.Photo : FileType.Document;
5
- const fileId = new FileID(null, null, fileType, file.dcId, {
5
+ const fileId = new FileID(null, null, fileType, file.dc_id, {
6
6
  mediaId: file.id,
7
- accessHash: file.accessHash,
8
- fileReference: file.fileReference,
7
+ accessHash: file.access_hash,
8
+ fileReference: file.file_reference,
9
9
  thumbnailFileType: fileType,
10
10
  thumbnailSource: ThumbnailSource.Thumbnail,
11
11
  thumbnailSize: size.type,
@@ -5,11 +5,11 @@ export function constructVenue(media_) {
5
5
  location: {
6
6
  latitude: geo.lat,
7
7
  longitude: geo.long,
8
- horizontalAccuracy: geo.accuracyRadius,
8
+ horizontalAccuracy: geo.accuracy_radius,
9
9
  },
10
10
  title: media_.title,
11
11
  address: media_.address,
12
- foursquareId: media_.venueId,
13
- foursquareType: media_.venueType,
12
+ foursquareId: media_.venue_id,
13
+ foursquareType: media_.venue_type,
14
14
  };
15
15
  }
@@ -3,7 +3,7 @@ export function constructVoice(document, audioAttributes, fileId, fileUniqueId)
3
3
  fileId,
4
4
  fileUniqueId,
5
5
  duration: audioAttributes.duration,
6
- mimeType: document.mimeType,
6
+ mimeType: document.mime_type,
7
7
  fileSize: Number(document.size),
8
8
  };
9
9
  }
@@ -8,8 +8,8 @@ export function constructAnimation(document, videoAttribute, fileAttribute, file
8
8
  height: videoAttribute?.h ?? 0,
9
9
  duration: videoAttribute?.duration ?? 0,
10
10
  thumbnails: document.thumbs ? document.thumbs.map((v) => v instanceof types.PhotoSize ? constructThumbnail(v, document) : null).filter((v) => v) : [],
11
- fileName: fileAttribute?.fileName,
12
- mimeType: document.mimeType,
11
+ fileName: fileAttribute?.file_name,
12
+ mimeType: document.mime_type,
13
13
  fileSize: Number(document.size),
14
14
  };
15
15
  }
@@ -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_>;
@@ -19,7 +19,7 @@ export async function botCommandScopeToTlObject(scope, getInputPeer) {
19
19
  if (!(user instanceof types.InputPeerUser)) {
20
20
  UNREACHABLE();
21
21
  }
22
- return new types.BotCommandScopePeerUser({ peer: await getInputPeer(scope.chatId), userId: new types.InputUser({ userId: user.userId, accessHash: user.accessHash }) });
22
+ return new types.BotCommandScopePeerUser({ peer: await getInputPeer(scope.chatId), user_id: new types.InputUser({ user_id: user.user_id, access_hash: user.access_hash }) });
23
23
  }
24
24
  default:
25
25
  UNREACHABLE();
@@ -10,9 +10,9 @@ export function constructChat(chat) {
10
10
  type: "private",
11
11
  isBot: chat.bot || false,
12
12
  id,
13
- color: chat.color !== undefined ? chat.color : getColorFromPeerId(id),
14
- firstName: chat.firstName || "",
15
- lastName: chat.lastName,
13
+ color: chat.color?.color !== undefined ? chat.color.color : getColorFromPeerId(id),
14
+ firstName: chat.first_name || "",
15
+ lastName: chat.last_name,
16
16
  isScam: chat.scam || false,
17
17
  isFake: chat.fake || false,
18
18
  isSupport: chat.support || false,
@@ -20,10 +20,10 @@ export function constructChat(chat) {
20
20
  };
21
21
  if (chat_.isBot) {
22
22
  chat_.isRestricted = chat.restricted || false;
23
- chat_.restrictionReason = chat.restrictionReason;
23
+ chat_.restrictionReason = chat.restriction_reason;
24
24
  }
25
25
  if (chat.photo instanceof types.UserProfilePhoto) {
26
- chat_.photo = constructChatPhoto(chat.photo, chat_.id, chat.accessHash ?? 0n);
26
+ chat_.photo = constructChatPhoto(chat.photo, chat_.id, chat.access_hash ?? 0n);
27
27
  }
28
28
  return cleanObject(chat_);
29
29
  }
@@ -48,7 +48,7 @@ export function constructChat(chat) {
48
48
  if (chat.megagroup) {
49
49
  chat_ = {
50
50
  id,
51
- color: chat.color !== undefined ? chat.color : getColorFromPeerId(id),
51
+ color: chat.color?.color !== undefined ? chat.color.color : getColorFromPeerId(id),
52
52
  type: "supergroup",
53
53
  title,
54
54
  isScam,
@@ -62,7 +62,7 @@ export function constructChat(chat) {
62
62
  const id = ZERO_CHANNEL_ID + -Number(chat.id);
63
63
  chat_ = {
64
64
  id,
65
- color: chat.color !== undefined ? chat.color : getColorFromPeerId(id),
65
+ color: chat.color?.color !== undefined ? chat.color.color : getColorFromPeerId(id),
66
66
  type: "channel",
67
67
  title,
68
68
  isScam,
@@ -74,10 +74,10 @@ export function constructChat(chat) {
74
74
  chat_.username = chat.username;
75
75
  chat_.also = chat.usernames?.map((v) => v.username);
76
76
  if (chat_.isRestricted) {
77
- chat_.restrictionReason = (chat.restrictionReason ?? []).map(constructRestrictionReason);
77
+ chat_.restrictionReason = (chat.restriction_reason ?? []).map(constructRestrictionReason);
78
78
  }
79
79
  if (chat.photo instanceof types.ChatPhoto) {
80
- chat_.photo = constructChatPhoto(chat.photo, chat_.id, chat.accessHash ?? 0n);
80
+ chat_.photo = constructChatPhoto(chat.photo, chat_.id, chat.access_hash ?? 0n);
81
81
  }
82
82
  return cleanObject(chat_);
83
83
  }
@@ -5,8 +5,8 @@ export function constructDocument(document, fileNameAttribute, fileId, fileUniqu
5
5
  fileId,
6
6
  fileUniqueId,
7
7
  thumbnails: document.thumbs ? document.thumbs.map((v) => v instanceof types.PhotoSize ? constructThumbnail(v, document) : null).filter((v) => v) : [],
8
- fileName: fileNameAttribute.fileName,
9
- mimeType: document.mimeType,
8
+ fileName: fileNameAttribute.file_name,
9
+ mimeType: document.mime_type,
10
10
  fileSize: Number(document.size),
11
11
  };
12
12
  }
@@ -1,4 +1,4 @@
1
- import { LabeledPrice } from "../tl/2_types.js";
1
+ import { LabeledPrice } from "./0_labeled_price.js";
2
2
  export interface InputInvoiceMessageContent {
3
3
  title: string;
4
4
  description: string;
@@ -1,4 +1,4 @@
1
- import { types } from "../2_tl.js";
1
+ import { enums } from "../2_tl.js";
2
2
  import { ChatAdministratorRights } from "./0_chat_administrator_rights.js";
3
3
  import { KeyboardButtonPollType } from "./0_keyboard_button_poll_type.js";
4
4
  import { WebAppInfo } from "./0_web_app_info.js";
@@ -60,5 +60,5 @@ export declare namespace KeyboardButton {
60
60
  }
61
61
  /** This object represents one button of the reply keyboard. For simple text buttons, _String_ can be used instead of this object to specify the button text. The optional fields _web_app_, _request_user_, _request_chat_, _request_contact_, _request_location_, and _request_poll_ are mutually exclusive. */
62
62
  export type KeyboardButton = KeyboardButton.Text | KeyboardButton.RequestUser | KeyboardButton.RequestChat | KeyboardButton.RequestContact | KeyboardButton.RequestLocation | KeyboardButton.RequestPoll | KeyboardButton.WebApp;
63
- export declare function constructKeyboardButton(button_: types.TypeKeyboardButton): KeyboardButton;
64
- export declare function keyboardButtonToTlObject(button: KeyboardButton): types.KeyboardButton | types.KeyboardButtonRequestPhone | types.KeyboardButtonRequestGeoLocation | types.KeyboardButtonRequestPoll | types.KeyboardButtonWebView | types.KeyboardButtonRequestPeer;
63
+ export declare function constructKeyboardButton(button_: enums.KeyboardButton): KeyboardButton;
64
+ export declare function keyboardButtonToTlObject(button: KeyboardButton): import("../tl/2_types.js").KeyboardButton_ | import("../tl/2_types.js").KeyboardButtonRequestPhone_ | import("../tl/2_types.js").KeyboardButtonRequestGeoLocation_ | import("../tl/2_types.js").KeyboardButtonRequestPoll_ | import("../tl/2_types.js").KeyboardButtonWebView_ | import("../tl/2_types.js").KeyboardButtonRequestPeer_;