@mtkruto/node 0.1.170 → 0.1.190

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 (570) hide show
  1. package/esm/0_deps.d.ts +4 -4
  2. package/esm/0_deps.js +5 -5
  3. package/esm/4_constants.d.ts +1 -2
  4. package/esm/4_constants.js +2 -3
  5. package/esm/5_client.d.ts +2 -2
  6. package/esm/5_client.js +2 -2
  7. package/esm/client/0_client_abstract.d.ts +6 -4
  8. package/esm/client/0_client_abstract.js +11 -5
  9. package/esm/client/0_html.js +0 -6
  10. package/esm/client/0_markdown.d.ts +21 -0
  11. package/esm/client/0_markdown.js +321 -0
  12. package/esm/client/0_message.d.ts +1 -1
  13. package/esm/client/0_message.js +3 -6
  14. package/esm/client/0_params.d.ts +16 -0
  15. package/esm/client/1_client_encrypted.d.ts +34 -0
  16. package/esm/client/1_client_encrypted.js +239 -0
  17. package/esm/client/{2_client_plain.d.ts → 1_client_plain.d.ts} +3 -0
  18. package/esm/client/{2_client_plain.js → 1_client_plain.js} +4 -1
  19. package/esm/client/1_composer.d.ts +2 -3
  20. package/esm/client/2_message_manager.d.ts +8 -3
  21. package/esm/client/2_message_manager.js +101 -9
  22. package/esm/client/4_client.d.ts +98 -40
  23. package/esm/client/4_client.js +263 -414
  24. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_diff.js +6 -3
  25. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/base64.js +2 -1
  26. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize_string.js +2 -2
  27. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_interface.d.ts +13 -1
  28. package/{script/deps/deno.land/std@0.219.0 → esm/deps/deno.land/std@0.221.0}/path/basename.d.ts +9 -0
  29. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/basename.js +9 -0
  30. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/format.d.ts +3 -1
  31. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/format.js +3 -1
  32. package/esm/deps/deno.land/std@0.221.0/path/parse.d.ts +18 -0
  33. package/esm/deps/deno.land/std@0.221.0/path/parse.js +24 -0
  34. package/esm/deps/deno.land/std@0.221.0/path/posix/basename.d.ts +17 -0
  35. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/basename.js +9 -0
  36. package/esm/deps/deno.land/std@0.221.0/path/posix/dirname.d.ts +14 -0
  37. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/dirname.js +9 -0
  38. package/esm/deps/deno.land/std@0.221.0/path/posix/extname.d.ts +15 -0
  39. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/extname.js +9 -0
  40. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join.js +1 -1
  41. package/esm/deps/deno.land/{std@0.219.0/path/posix → std@0.221.0/path/windows}/basename.d.ts +9 -0
  42. package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/basename.js +9 -0
  43. package/esm/storage/0_storage.d.ts +10 -1
  44. package/esm/storage/0_storage.js +40 -5
  45. package/esm/tl/6_message.d.ts +3 -2
  46. package/esm/tl/6_message.js +1 -1
  47. package/esm/tl/7_message_container.d.ts +6 -4
  48. package/esm/tl/7_message_container.js +22 -7
  49. package/esm/types/0_message_entity.d.ts +1 -0
  50. package/esm/types/0_message_entity.js +34 -0
  51. package/esm/types/0_parse_mode.d.ts +1 -1
  52. package/esm/types/4_inline_query_result.d.ts +1 -1
  53. package/esm/types/4_inline_query_result.js +4 -0
  54. package/esm/utilities/0_bigint.d.ts +1 -0
  55. package/esm/utilities/0_bigint.js +1 -0
  56. package/package.json +1 -1
  57. package/script/0_deps.d.ts +4 -4
  58. package/script/0_deps.js +5 -5
  59. package/script/4_constants.d.ts +1 -2
  60. package/script/4_constants.js +3 -4
  61. package/script/5_client.d.ts +2 -2
  62. package/script/5_client.js +2 -2
  63. package/script/client/0_client_abstract.d.ts +6 -4
  64. package/script/client/0_client_abstract.js +11 -5
  65. package/script/client/0_html.js +0 -6
  66. package/script/client/0_markdown.d.ts +21 -0
  67. package/script/client/0_markdown.js +325 -0
  68. package/script/client/0_message.d.ts +1 -1
  69. package/script/client/0_message.js +3 -6
  70. package/script/client/0_params.d.ts +16 -0
  71. package/script/client/1_client_encrypted.d.ts +34 -0
  72. package/script/client/1_client_encrypted.js +243 -0
  73. package/script/client/{2_client_plain.d.ts → 1_client_plain.d.ts} +3 -0
  74. package/script/client/{2_client_plain.js → 1_client_plain.js} +4 -1
  75. package/script/client/1_composer.d.ts +2 -3
  76. package/script/client/2_message_manager.d.ts +8 -3
  77. package/script/client/2_message_manager.js +101 -9
  78. package/script/client/4_client.d.ts +98 -40
  79. package/script/client/4_client.js +259 -410
  80. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_diff.js +6 -3
  81. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/base64.js +2 -1
  82. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize_string.js +2 -2
  83. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_interface.d.ts +13 -1
  84. package/{esm/deps/deno.land/std@0.219.0/path/windows → script/deps/deno.land/std@0.221.0/path}/basename.d.ts +9 -0
  85. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/basename.js +9 -0
  86. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/format.d.ts +3 -1
  87. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/format.js +3 -1
  88. package/script/deps/deno.land/std@0.221.0/path/parse.d.ts +18 -0
  89. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/parse.js +13 -1
  90. package/script/deps/deno.land/std@0.221.0/path/posix/basename.d.ts +17 -0
  91. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/basename.js +9 -0
  92. package/script/deps/deno.land/std@0.221.0/path/posix/dirname.d.ts +14 -0
  93. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/dirname.js +9 -0
  94. package/script/deps/deno.land/std@0.221.0/path/posix/extname.d.ts +15 -0
  95. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/extname.js +9 -0
  96. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join.js +1 -1
  97. package/{esm/deps/deno.land/std@0.219.0/path → script/deps/deno.land/std@0.221.0/path/windows}/basename.d.ts +9 -0
  98. package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/basename.js +9 -0
  99. package/script/storage/0_storage.d.ts +10 -1
  100. package/script/storage/0_storage.js +40 -5
  101. package/script/tl/6_message.d.ts +3 -2
  102. package/script/tl/6_message.js +1 -1
  103. package/script/tl/7_message_container.d.ts +6 -4
  104. package/script/tl/7_message_container.js +20 -5
  105. package/script/types/0_message_entity.d.ts +1 -0
  106. package/script/types/0_message_entity.js +36 -1
  107. package/script/types/0_parse_mode.d.ts +1 -1
  108. package/script/types/4_inline_query_result.d.ts +1 -1
  109. package/script/types/4_inline_query_result.js +4 -0
  110. package/script/utilities/0_bigint.d.ts +1 -0
  111. package/script/utilities/0_bigint.js +1 -0
  112. package/esm/client/5_composer.d.ts +0 -4
  113. package/esm/client/5_composer.js +0 -3
  114. package/esm/deps/deno.land/std@0.219.0/path/parse.d.ts +0 -6
  115. package/esm/deps/deno.land/std@0.219.0/path/parse.js +0 -12
  116. package/script/client/5_composer.d.ts +0 -4
  117. package/script/client/5_composer.js +0 -7
  118. package/script/deps/deno.land/std@0.219.0/path/parse.d.ts +0 -6
  119. package/script/deps/deno.land/std@0.219.0/path/posix/basename.d.ts +0 -8
  120. package/script/deps/deno.land/std@0.219.0/path/posix/dirname.d.ts +0 -5
  121. package/script/deps/deno.land/std@0.219.0/path/posix/extname.d.ts +0 -6
  122. package/script/deps/deno.land/std@0.219.0/path/windows/basename.d.ts +0 -8
  123. package/script/deps/deno.land/std@0.219.0/path/windows/dirname.d.ts +0 -5
  124. package/script/deps/deno.land/std@0.219.0/path/windows/extname.d.ts +0 -6
  125. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_constants.d.ts +0 -0
  126. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_constants.js +0 -0
  127. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_diff.d.ts +0 -0
  128. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_format.d.ts +0 -0
  129. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_format.js +0 -0
  130. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert.d.ts +0 -0
  131. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert.js +0 -0
  132. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_almost_equals.d.ts +0 -0
  133. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_almost_equals.js +0 -0
  134. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_array_includes.d.ts +0 -0
  135. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_array_includes.js +0 -0
  136. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_equals.d.ts +0 -0
  137. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_equals.js +0 -0
  138. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_exists.d.ts +0 -0
  139. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_exists.js +0 -0
  140. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_false.d.ts +0 -0
  141. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_false.js +0 -0
  142. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater.d.ts +0 -0
  143. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater.js +0 -0
  144. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater_or_equal.d.ts +0 -0
  145. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater_or_equal.js +0 -0
  146. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_instance_of.d.ts +0 -0
  147. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_instance_of.js +0 -0
  148. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_is_error.d.ts +0 -0
  149. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_is_error.js +0 -0
  150. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less.d.ts +0 -0
  151. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less.js +0 -0
  152. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less_or_equal.d.ts +0 -0
  153. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less_or_equal.js +0 -0
  154. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_match.d.ts +0 -0
  155. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_match.js +0 -0
  156. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_equals.d.ts +0 -0
  157. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_equals.js +0 -0
  158. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_instance_of.d.ts +0 -0
  159. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_instance_of.js +0 -0
  160. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_match.d.ts +0 -0
  161. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_match.js +0 -0
  162. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_strict_equals.d.ts +0 -0
  163. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_strict_equals.js +0 -0
  164. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_object_match.d.ts +0 -0
  165. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_object_match.js +0 -0
  166. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_rejects.d.ts +0 -0
  167. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_rejects.js +0 -0
  168. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_strict_equals.d.ts +0 -0
  169. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_strict_equals.js +0 -0
  170. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_string_includes.d.ts +0 -0
  171. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_string_includes.js +0 -0
  172. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_throws.d.ts +0 -0
  173. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_throws.js +0 -0
  174. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assertion_error.d.ts +0 -0
  175. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assertion_error.js +0 -0
  176. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/equal.d.ts +0 -0
  177. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/equal.js +0 -0
  178. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/fail.d.ts +0 -0
  179. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/fail.js +0 -0
  180. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/mod.d.ts +0 -0
  181. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/mod.js +0 -0
  182. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unimplemented.d.ts +0 -0
  183. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unimplemented.js +0 -0
  184. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unreachable.d.ts +0 -0
  185. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unreachable.js +0 -0
  186. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/_util.d.ts +0 -0
  187. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/_util.js +0 -0
  188. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/base64.d.ts +0 -0
  189. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/fmt/colors.d.ts +0 -0
  190. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/fmt/colors.js +0 -0
  191. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_db.d.ts +0 -0
  192. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_db.js +0 -0
  193. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_util.d.ts +0 -0
  194. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_util.js +0 -0
  195. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/content_type.d.ts +0 -0
  196. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/content_type.js +0 -0
  197. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extension.d.ts +0 -0
  198. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extension.js +0 -0
  199. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extensions_by_type.d.ts +0 -0
  200. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extensions_by_type.js +0 -0
  201. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/format_media_type.d.ts +0 -0
  202. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/format_media_type.js +0 -0
  203. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/get_charset.d.ts +0 -0
  204. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/get_charset.js +0 -0
  205. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/parse_media_type.d.ts +0 -0
  206. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/parse_media_type.js +0 -0
  207. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/type_by_extension.d.ts +0 -0
  208. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/type_by_extension.js +0 -0
  209. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  210. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  211. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/assert_path.d.ts +0 -0
  212. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/assert_path.js +0 -0
  213. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/basename.d.ts +0 -0
  214. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/basename.js +0 -0
  215. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/common.d.ts +0 -0
  216. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/common.js +0 -0
  217. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/constants.d.ts +0 -0
  218. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/constants.js +0 -0
  219. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/dirname.d.ts +0 -0
  220. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/dirname.js +0 -0
  221. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/format.d.ts +0 -0
  222. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/format.js +0 -0
  223. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/from_file_url.d.ts +0 -0
  224. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/from_file_url.js +0 -0
  225. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  226. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/glob_to_reg_exp.js +0 -0
  227. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize.d.ts +0 -0
  228. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize.js +0 -0
  229. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize_string.d.ts +0 -0
  230. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/relative.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/relative.js +0 -0
  232. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/strip_trailing_separators.js +0 -0
  234. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/to_file_url.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/to_file_url.js +0 -0
  236. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_interface.js +0 -0
  237. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_os.d.ts +0 -0
  238. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_os.js +0 -0
  239. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/common.d.ts +0 -0
  240. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/common.js +0 -0
  241. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/constants.d.ts +0 -0
  242. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/constants.js +0 -0
  243. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/dirname.d.ts +0 -0
  244. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/dirname.js +0 -0
  245. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/extname.d.ts +0 -0
  246. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/extname.js +0 -0
  247. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/from_file_url.d.ts +0 -0
  248. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/from_file_url.js +0 -0
  249. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/glob_to_regexp.d.ts +0 -0
  250. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/glob_to_regexp.js +0 -0
  251. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_absolute.d.ts +0 -0
  252. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_absolute.js +0 -0
  253. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_glob.d.ts +0 -0
  254. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_glob.js +0 -0
  255. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join.d.ts +0 -0
  256. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join.js +0 -0
  257. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join_globs.d.ts +0 -0
  258. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join_globs.js +0 -0
  259. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/mod.d.ts +0 -0
  260. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/mod.js +0 -0
  261. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize.d.ts +0 -0
  262. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize.js +0 -0
  263. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize_glob.d.ts +0 -0
  264. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize_glob.js +0 -0
  265. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/_util.d.ts +0 -0
  266. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/_util.js +0 -0
  267. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/common.d.ts +0 -0
  268. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/common.js +0 -0
  269. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/constants.d.ts +0 -0
  270. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/constants.js +0 -0
  271. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/format.d.ts +0 -0
  272. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/format.js +0 -0
  273. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/from_file_url.d.ts +0 -0
  274. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/from_file_url.js +0 -0
  275. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/glob_to_regexp.d.ts +0 -0
  276. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/glob_to_regexp.js +0 -0
  277. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_absolute.d.ts +0 -0
  278. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_absolute.js +0 -0
  279. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_glob.d.ts +0 -0
  280. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_glob.js +0 -0
  281. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join.d.ts +0 -0
  282. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join_globs.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join_globs.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/mod.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/mod.js +0 -0
  286. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize.d.ts +0 -0
  287. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize.js +0 -0
  288. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize_glob.d.ts +0 -0
  289. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize_glob.js +0 -0
  290. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/parse.d.ts +0 -0
  291. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/parse.js +0 -0
  292. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/relative.d.ts +0 -0
  293. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/relative.js +0 -0
  294. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/resolve.d.ts +0 -0
  295. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/resolve.js +0 -0
  296. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_file_url.d.ts +0 -0
  297. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_file_url.js +0 -0
  298. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_namespaced_path.d.ts +0 -0
  299. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_namespaced_path.js +0 -0
  300. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/relative.d.ts +0 -0
  301. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/relative.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/resolve.d.ts +0 -0
  303. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/resolve.js +0 -0
  304. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_file_url.d.ts +0 -0
  305. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_file_url.js +0 -0
  306. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_namespaced_path.d.ts +0 -0
  307. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_namespaced_path.js +0 -0
  308. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/_util.d.ts +0 -0
  309. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/_util.js +0 -0
  310. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/common.d.ts +0 -0
  311. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/common.js +0 -0
  312. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/constants.d.ts +0 -0
  313. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/constants.js +0 -0
  314. /package/esm/deps/deno.land/{std@0.219.0/path/posix → std@0.221.0/path/windows}/dirname.d.ts +0 -0
  315. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/dirname.js +0 -0
  316. /package/esm/deps/deno.land/{std@0.219.0/path/posix → std@0.221.0/path/windows}/extname.d.ts +0 -0
  317. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/extname.js +0 -0
  318. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/format.d.ts +0 -0
  319. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/format.js +0 -0
  320. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/from_file_url.d.ts +0 -0
  321. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/from_file_url.js +0 -0
  322. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/glob_to_regexp.d.ts +0 -0
  323. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/glob_to_regexp.js +0 -0
  324. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_absolute.d.ts +0 -0
  325. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_absolute.js +0 -0
  326. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_glob.d.ts +0 -0
  327. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_glob.js +0 -0
  328. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join.d.ts +0 -0
  329. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join.js +0 -0
  330. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join_globs.d.ts +0 -0
  331. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join_globs.js +0 -0
  332. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/mod.d.ts +0 -0
  333. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/mod.js +0 -0
  334. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize.d.ts +0 -0
  335. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize.js +0 -0
  336. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize_glob.d.ts +0 -0
  337. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize_glob.js +0 -0
  338. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/parse.d.ts +0 -0
  339. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/parse.js +0 -0
  340. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/relative.d.ts +0 -0
  341. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/relative.js +0 -0
  342. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/resolve.d.ts +0 -0
  343. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/resolve.js +0 -0
  344. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_file_url.d.ts +0 -0
  345. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_file_url.js +0 -0
  346. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_namespaced_path.d.ts +0 -0
  347. /package/esm/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_namespaced_path.js +0 -0
  348. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_constants.d.ts +0 -0
  349. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_constants.js +0 -0
  350. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_diff.d.ts +0 -0
  351. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_format.d.ts +0 -0
  352. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/_format.js +0 -0
  353. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert.d.ts +0 -0
  354. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert.js +0 -0
  355. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_almost_equals.d.ts +0 -0
  356. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_almost_equals.js +0 -0
  357. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_array_includes.d.ts +0 -0
  358. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_array_includes.js +0 -0
  359. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_equals.d.ts +0 -0
  360. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_equals.js +0 -0
  361. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_exists.d.ts +0 -0
  362. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_exists.js +0 -0
  363. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_false.d.ts +0 -0
  364. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_false.js +0 -0
  365. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater.d.ts +0 -0
  366. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater.js +0 -0
  367. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater_or_equal.d.ts +0 -0
  368. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_greater_or_equal.js +0 -0
  369. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_instance_of.d.ts +0 -0
  370. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_instance_of.js +0 -0
  371. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_is_error.d.ts +0 -0
  372. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_is_error.js +0 -0
  373. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less.d.ts +0 -0
  374. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less.js +0 -0
  375. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less_or_equal.d.ts +0 -0
  376. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_less_or_equal.js +0 -0
  377. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_match.d.ts +0 -0
  378. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_match.js +0 -0
  379. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_equals.d.ts +0 -0
  380. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_equals.js +0 -0
  381. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_instance_of.d.ts +0 -0
  382. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_instance_of.js +0 -0
  383. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_match.d.ts +0 -0
  384. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_match.js +0 -0
  385. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_strict_equals.d.ts +0 -0
  386. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_not_strict_equals.js +0 -0
  387. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_object_match.d.ts +0 -0
  388. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_object_match.js +0 -0
  389. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_rejects.d.ts +0 -0
  390. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_rejects.js +0 -0
  391. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_strict_equals.d.ts +0 -0
  392. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_strict_equals.js +0 -0
  393. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_string_includes.d.ts +0 -0
  394. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_string_includes.js +0 -0
  395. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_throws.d.ts +0 -0
  396. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assert_throws.js +0 -0
  397. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assertion_error.d.ts +0 -0
  398. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/assertion_error.js +0 -0
  399. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/equal.d.ts +0 -0
  400. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/equal.js +0 -0
  401. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/fail.d.ts +0 -0
  402. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/fail.js +0 -0
  403. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/mod.d.ts +0 -0
  404. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/mod.js +0 -0
  405. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unimplemented.d.ts +0 -0
  406. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unimplemented.js +0 -0
  407. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unreachable.d.ts +0 -0
  408. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/assert/unreachable.js +0 -0
  409. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/_util.d.ts +0 -0
  410. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/_util.js +0 -0
  411. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/encoding/base64.d.ts +0 -0
  412. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/fmt/colors.d.ts +0 -0
  413. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/fmt/colors.js +0 -0
  414. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_db.d.ts +0 -0
  415. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_db.js +0 -0
  416. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_util.d.ts +0 -0
  417. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/_util.js +0 -0
  418. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/content_type.d.ts +0 -0
  419. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/content_type.js +0 -0
  420. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extension.d.ts +0 -0
  421. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extension.js +0 -0
  422. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extensions_by_type.d.ts +0 -0
  423. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/extensions_by_type.js +0 -0
  424. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/format_media_type.d.ts +0 -0
  425. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/format_media_type.js +0 -0
  426. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/get_charset.d.ts +0 -0
  427. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/get_charset.js +0 -0
  428. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/parse_media_type.d.ts +0 -0
  429. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/parse_media_type.js +0 -0
  430. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/type_by_extension.d.ts +0 -0
  431. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/type_by_extension.js +0 -0
  432. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  433. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  434. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/assert_path.d.ts +0 -0
  435. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/assert_path.js +0 -0
  436. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/basename.d.ts +0 -0
  437. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/basename.js +0 -0
  438. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/common.d.ts +0 -0
  439. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/common.js +0 -0
  440. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/constants.d.ts +0 -0
  441. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/constants.js +0 -0
  442. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/dirname.d.ts +0 -0
  443. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/dirname.js +0 -0
  444. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/format.d.ts +0 -0
  445. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/format.js +0 -0
  446. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/from_file_url.d.ts +0 -0
  447. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/from_file_url.js +0 -0
  448. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  449. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/glob_to_reg_exp.js +0 -0
  450. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize.d.ts +0 -0
  451. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize.js +0 -0
  452. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/normalize_string.d.ts +0 -0
  453. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/relative.d.ts +0 -0
  454. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/relative.js +0 -0
  455. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  456. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/strip_trailing_separators.js +0 -0
  457. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/to_file_url.d.ts +0 -0
  458. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_common/to_file_url.js +0 -0
  459. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_interface.js +0 -0
  460. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_os.d.ts +0 -0
  461. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/_os.js +0 -0
  462. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/common.d.ts +0 -0
  463. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/common.js +0 -0
  464. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/constants.d.ts +0 -0
  465. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/constants.js +0 -0
  466. /package/{esm/deps/deno.land/std@0.219.0/path/windows → script/deps/deno.land/std@0.221.0/path}/dirname.d.ts +0 -0
  467. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/dirname.js +0 -0
  468. /package/{esm/deps/deno.land/std@0.219.0/path/windows → script/deps/deno.land/std@0.221.0/path}/extname.d.ts +0 -0
  469. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/extname.js +0 -0
  470. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/from_file_url.d.ts +0 -0
  471. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/from_file_url.js +0 -0
  472. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/glob_to_regexp.d.ts +0 -0
  473. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/glob_to_regexp.js +0 -0
  474. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_absolute.d.ts +0 -0
  475. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_absolute.js +0 -0
  476. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_glob.d.ts +0 -0
  477. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/is_glob.js +0 -0
  478. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join.d.ts +0 -0
  479. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join.js +0 -0
  480. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join_globs.d.ts +0 -0
  481. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/join_globs.js +0 -0
  482. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/mod.d.ts +0 -0
  483. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/mod.js +0 -0
  484. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize.d.ts +0 -0
  485. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize.js +0 -0
  486. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize_glob.d.ts +0 -0
  487. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/normalize_glob.js +0 -0
  488. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/_util.d.ts +0 -0
  489. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/_util.js +0 -0
  490. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/common.d.ts +0 -0
  491. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/common.js +0 -0
  492. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/constants.d.ts +0 -0
  493. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/constants.js +0 -0
  494. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/format.d.ts +0 -0
  495. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/format.js +0 -0
  496. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/from_file_url.d.ts +0 -0
  497. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/from_file_url.js +0 -0
  498. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/glob_to_regexp.d.ts +0 -0
  499. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/glob_to_regexp.js +0 -0
  500. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_absolute.d.ts +0 -0
  501. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_absolute.js +0 -0
  502. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_glob.d.ts +0 -0
  503. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/is_glob.js +0 -0
  504. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join.d.ts +0 -0
  505. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join_globs.d.ts +0 -0
  506. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/join_globs.js +0 -0
  507. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/mod.d.ts +0 -0
  508. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/mod.js +0 -0
  509. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize.d.ts +0 -0
  510. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize.js +0 -0
  511. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize_glob.d.ts +0 -0
  512. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/normalize_glob.js +0 -0
  513. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/parse.d.ts +0 -0
  514. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/parse.js +0 -0
  515. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/relative.d.ts +0 -0
  516. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/relative.js +0 -0
  517. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/resolve.d.ts +0 -0
  518. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/resolve.js +0 -0
  519. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_file_url.d.ts +0 -0
  520. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_file_url.js +0 -0
  521. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_namespaced_path.d.ts +0 -0
  522. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/posix/to_namespaced_path.js +0 -0
  523. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/relative.d.ts +0 -0
  524. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/relative.js +0 -0
  525. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/resolve.d.ts +0 -0
  526. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/resolve.js +0 -0
  527. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_file_url.d.ts +0 -0
  528. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_file_url.js +0 -0
  529. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_namespaced_path.d.ts +0 -0
  530. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/to_namespaced_path.js +0 -0
  531. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/_util.d.ts +0 -0
  532. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/_util.js +0 -0
  533. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/common.d.ts +0 -0
  534. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/common.js +0 -0
  535. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/constants.d.ts +0 -0
  536. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/constants.js +0 -0
  537. /package/script/deps/deno.land/{std@0.219.0/path → std@0.221.0/path/windows}/dirname.d.ts +0 -0
  538. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/dirname.js +0 -0
  539. /package/script/deps/deno.land/{std@0.219.0/path → std@0.221.0/path/windows}/extname.d.ts +0 -0
  540. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/extname.js +0 -0
  541. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/format.d.ts +0 -0
  542. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/format.js +0 -0
  543. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/from_file_url.d.ts +0 -0
  544. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/from_file_url.js +0 -0
  545. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/glob_to_regexp.d.ts +0 -0
  546. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/glob_to_regexp.js +0 -0
  547. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_absolute.d.ts +0 -0
  548. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_absolute.js +0 -0
  549. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_glob.d.ts +0 -0
  550. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/is_glob.js +0 -0
  551. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join.d.ts +0 -0
  552. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join.js +0 -0
  553. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join_globs.d.ts +0 -0
  554. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/join_globs.js +0 -0
  555. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/mod.d.ts +0 -0
  556. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/mod.js +0 -0
  557. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize.d.ts +0 -0
  558. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize.js +0 -0
  559. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize_glob.d.ts +0 -0
  560. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/normalize_glob.js +0 -0
  561. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/parse.d.ts +0 -0
  562. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/parse.js +0 -0
  563. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/relative.d.ts +0 -0
  564. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/relative.js +0 -0
  565. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/resolve.d.ts +0 -0
  566. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/resolve.js +0 -0
  567. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_file_url.d.ts +0 -0
  568. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_file_url.js +0 -0
  569. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_namespaced_path.d.ts +0 -0
  570. /package/script/deps/deno.land/{std@0.219.0 → std@0.221.0}/path/windows/to_namespaced_path.js +0 -0
@@ -195,6 +195,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
195
195
  type,
196
196
  title,
197
197
  description,
198
+ thumb: thumb == null ? undefined : thumb,
198
199
  send_message: new types.InputBotInlineMessageMediaGeo({
199
200
  geo_point: new types.InputGeoPoint({
200
201
  lat: result_.latitude,
@@ -214,6 +215,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
214
215
  type,
215
216
  title,
216
217
  description,
218
+ thumb: thumb == null ? undefined : thumb,
217
219
  send_message: new types.InputBotInlineMessageGame({
218
220
  reply_markup: replyMarkup,
219
221
  }),
@@ -253,6 +255,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
253
255
  type,
254
256
  title,
255
257
  description,
258
+ thumb: thumb == null ? undefined : thumb,
256
259
  send_message: sendMessage,
257
260
  });
258
261
  }
@@ -265,6 +268,7 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
265
268
  type,
266
269
  title,
267
270
  description,
271
+ thumb: thumb == null ? undefined : thumb,
268
272
  send_message: new types.InputBotInlineMessageMediaVenue({
269
273
  geo_point: new types.InputGeoPoint({ long: result_.longitude, lat: result_.latitude }),
270
274
  address: result_.address,
@@ -3,4 +3,5 @@ export declare function mod(n: bigint, m: bigint): bigint;
3
3
  export declare function mod(n: number, m: number): number;
4
4
  export declare function bigIntFromBuffer(buffer: Uint8Array, little?: boolean, signed?: boolean): bigint;
5
5
  export declare function getRandomBigInt(byteLength: number, little?: boolean, signed?: boolean): bigint;
6
+ /** Get a random ID. Useful when calling API functions directly. */
6
7
  export declare function getRandomId(): bigint;
@@ -37,6 +37,7 @@ export function getRandomBigInt(byteLength, little, signed) {
37
37
  dntShim.crypto.getRandomValues(randomBytes);
38
38
  return bigIntFromBuffer(randomBytes, little, signed);
39
39
  }
40
+ /** Get a random ID. Useful when calling API functions directly. */
40
41
  export function getRandomId() {
41
42
  return getRandomBigInt(8, true, true);
42
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtkruto/node",
3
- "version": "0.1.170",
3
+ "version": "0.1.190",
4
4
  "description": "MTKruto for Node.js",
5
5
  "author": "Roj <rojvv@icloud.com>",
6
6
  "repository": {
@@ -1,7 +1,7 @@
1
- export * from "./deps/deno.land/std@0.219.0/assert/mod.js";
2
- export * as path from "./deps/deno.land/std@0.219.0/path/mod.js";
3
- export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.219.0/encoding/base64.js";
4
- import { contentType as contentType_ } from "./deps/deno.land/std@0.219.0/media_types/content_type.js";
1
+ export * from "./deps/deno.land/std@0.221.0/assert/mod.js";
2
+ export * as path from "./deps/deno.land/std@0.221.0/path/mod.js";
3
+ export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.221.0/encoding/base64.js";
4
+ import { contentType as contentType_ } from "./deps/deno.land/std@0.221.0/media_types/content_type.js";
5
5
  export declare const contentType: typeof contentType_;
6
6
  export declare function extension(mimeType: string): string;
7
7
  export { ctr256, factorize, ige256Decrypt, ige256Encrypt, init as initTgCrypto } from "./deps/deno.land/x/tgcrypto@0.3.3/mod.js";
package/script/0_deps.js CHANGED
@@ -27,12 +27,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Parser = exports.gzip = exports.gunzip = exports.initTgCrypto = exports.ige256Encrypt = exports.ige256Decrypt = exports.factorize = exports.ctr256 = exports.extension = exports.contentType = exports.encodeBase64 = exports.decodeBase64 = exports.path = void 0;
30
- __exportStar(require("./deps/deno.land/std@0.219.0/assert/mod.js"), exports);
31
- exports.path = __importStar(require("./deps/deno.land/std@0.219.0/path/mod.js"));
32
- var base64_js_1 = require("./deps/deno.land/std@0.219.0/encoding/base64.js");
30
+ __exportStar(require("./deps/deno.land/std@0.221.0/assert/mod.js"), exports);
31
+ exports.path = __importStar(require("./deps/deno.land/std@0.221.0/path/mod.js"));
32
+ var base64_js_1 = require("./deps/deno.land/std@0.221.0/encoding/base64.js");
33
33
  Object.defineProperty(exports, "decodeBase64", { enumerable: true, get: function () { return base64_js_1.decodeBase64; } });
34
34
  Object.defineProperty(exports, "encodeBase64", { enumerable: true, get: function () { return base64_js_1.encodeBase64; } });
35
- const content_type_js_1 = require("./deps/deno.land/std@0.219.0/media_types/content_type.js");
35
+ const content_type_js_1 = require("./deps/deno.land/std@0.221.0/media_types/content_type.js");
36
36
  const contentType = (extentionOrType) => {
37
37
  if (extentionOrType == "tgs") {
38
38
  return "application/x-tgsticker";
@@ -42,7 +42,7 @@ const contentType = (extentionOrType) => {
42
42
  }
43
43
  };
44
44
  exports.contentType = contentType;
45
- const extension_js_1 = require("./deps/deno.land/std@0.219.0/media_types/extension.js");
45
+ const extension_js_1 = require("./deps/deno.land/std@0.221.0/media_types/extension.js");
46
46
  function extension(mimeType) {
47
47
  if (mimeType == "application/x-tgsticker") {
48
48
  return "tgs";
@@ -1,10 +1,9 @@
1
1
  import { DC } from "./3_transport.js";
2
- export declare const ACK_THRESHOLD = 10;
3
2
  export type PublicKeys = readonly [bigint, [bigint, bigint]][];
4
3
  export declare const PUBLIC_KEYS: PublicKeys;
5
4
  export declare const INITIAL_DC: DC;
6
5
  export declare const LAYER = 176;
7
- export declare const APP_VERSION = "MTKruto 0.1.170";
6
+ export declare const APP_VERSION = "MTKruto 0.1.190";
8
7
  export declare const DEVICE_MODEL: string;
9
8
  export declare const LANG_CODE: string;
10
9
  export declare const LANG_PACK = "";
@@ -23,9 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.CHANNEL_DIFFERENCE_LIMIT_BOT = exports.CHANNEL_DIFFERENCE_LIMIT_USER = exports.MAX_CHANNEL_ID = exports.MAX_CHAT_ID = exports.STICKER_SET_NAME_TTL = exports.USERNAME_TTL = exports.SYSTEM_VERSION = exports.SYSTEM_LANG_CODE = exports.LANG_PACK = exports.LANG_CODE = exports.DEVICE_MODEL = exports.APP_VERSION = exports.LAYER = exports.INITIAL_DC = exports.PUBLIC_KEYS = exports.ACK_THRESHOLD = void 0;
26
+ exports.CHANNEL_DIFFERENCE_LIMIT_BOT = exports.CHANNEL_DIFFERENCE_LIMIT_USER = exports.MAX_CHANNEL_ID = exports.MAX_CHAT_ID = exports.STICKER_SET_NAME_TTL = exports.USERNAME_TTL = exports.SYSTEM_VERSION = exports.SYSTEM_LANG_CODE = exports.LANG_PACK = exports.LANG_CODE = exports.DEVICE_MODEL = exports.APP_VERSION = exports.LAYER = exports.INITIAL_DC = exports.PUBLIC_KEYS = void 0;
27
27
  const dntShim = __importStar(require("./_dnt.shims.js"));
28
- exports.ACK_THRESHOLD = 10;
29
28
  exports.PUBLIC_KEYS = Object.freeze([
30
29
  [
31
30
  1562291298945373506n,
@@ -79,9 +78,9 @@ exports.PUBLIC_KEYS = Object.freeze([
79
78
  ]);
80
79
  exports.INITIAL_DC = "2";
81
80
  exports.LAYER = 176;
82
- exports.APP_VERSION = "MTKruto 0.1.170";
81
+ exports.APP_VERSION = "MTKruto 0.1.190";
83
82
  // @ts-ignore: lib
84
- exports.DEVICE_MODEL = typeof dntShim.Deno === "undefined" ? typeof navigator === "undefined" ? typeof process === "undefined" ? "Unknown" : process.platform + "-" + process.arch : navigator.userAgent.split(" ")[0] : dntShim.Deno.build.os + "-" + dntShim.Deno.build.arch;
83
+ exports.DEVICE_MODEL = typeof dntShim.Deno === "undefined" ? typeof navigator === "undefined" ? typeof process === "undefined" ? "Unknown" : process.platform + "-" + process.arch : (navigator.userAgent.split(" ")[0] || "Unknown") : dntShim.Deno.build.os + "-" + dntShim.Deno.build.arch;
85
84
  exports.LANG_CODE = typeof navigator === "undefined" || typeof navigator.language !== "string" ? "en" : navigator.language.split("-")[0];
86
85
  exports.LANG_PACK = "";
87
86
  exports.SYSTEM_LANG_CODE = exports.LANG_CODE;
@@ -1,4 +1,4 @@
1
1
  export * from "./client/0_params.js";
2
- export * from "./client/2_client_plain.js";
2
+ export * from "./client/1_client_plain.js";
3
+ export * from "./client/1_client_encrypted.js";
3
4
  export * from "./client/4_client.js";
4
- export * from "./client/5_composer.js";
@@ -15,6 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/0_params.js"), exports);
18
- __exportStar(require("./client/2_client_plain.js"), exports);
18
+ __exportStar(require("./client/1_client_plain.js"), exports);
19
+ __exportStar(require("./client/1_client_encrypted.js"), exports);
19
20
  __exportStar(require("./client/4_client.js"), exports);
20
- __exportStar(require("./client/5_composer.js"), exports);
@@ -16,16 +16,18 @@ export interface ClientAbstractParams {
16
16
  }
17
17
  export declare abstract class ClientAbstract {
18
18
  #private;
19
- protected readonly initialDc: DC;
20
- protected transportProvider: TransportProvider;
21
- protected readonly cdn: boolean;
19
+ readonly initialDc: DC;
20
+ transportProvider: TransportProvider;
21
+ readonly cdn: boolean;
22
22
  protected transport?: ReturnType<TransportProvider>;
23
23
  constructor(params?: ClientAbstractParams);
24
- protected stateChangeHandler?: (connected: boolean) => void;
24
+ stateChangeHandler?: (connected: boolean) => void;
25
+ get dc(): DC;
25
26
  get dcId(): number;
26
27
  setDc(dc: DC): MaybePromise<void>;
27
28
  get connected(): boolean;
28
29
  connect(): Promise<void>;
29
30
  reconnect(dc?: DC): Promise<void>;
30
31
  disconnect(): Promise<void>;
32
+ get disconnected(): boolean;
31
33
  }
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
3
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
5
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
6
+ };
2
7
  var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
8
  if (kind === "m") throw new TypeError("Private method is not writable");
4
9
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
11
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
12
  };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
13
  var _ClientAbstract_dc;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.ClientAbstract = void 0;
@@ -53,6 +53,9 @@ class ClientAbstract {
53
53
  this.transportProvider = params?.transportProvider ?? (0, _3_transport_js_1.transportProviderWebSocket)();
54
54
  this.cdn = params?.cdn ?? false;
55
55
  }
56
+ get dc() {
57
+ return __classPrivateFieldGet(this, _ClientAbstract_dc, "f") ?? this.initialDc;
58
+ }
56
59
  get dcId() {
57
60
  if (!this.transport) {
58
61
  throw new Error("Not connected");
@@ -87,6 +90,9 @@ class ClientAbstract {
87
90
  await this.transport.transport.deinitialize();
88
91
  await this.transport.connection.close();
89
92
  }
93
+ get disconnected() {
94
+ return !this.transport?.transport.initialized;
95
+ }
90
96
  }
91
97
  exports.ClientAbstract = ClientAbstract;
92
98
  _ClientAbstract_dc = new WeakMap();
@@ -78,12 +78,6 @@ function parseHtml(html) {
78
78
  });
79
79
  parser.write(html);
80
80
  parser.end();
81
- text = text.trimEnd();
82
- for (const entity of entities) {
83
- while (text[entity.offset + (entity.length - 1)] === undefined) {
84
- --entity.length;
85
- }
86
- }
87
81
  return [text, entities];
88
82
  }
89
83
  exports.parseHtml = parseHtml;
@@ -0,0 +1,21 @@
1
+ import { MessageEntity } from "../3_types.js";
2
+ export declare const CODEPOINTS: {
3
+ "\t": number;
4
+ "\r": number;
5
+ "\0": number;
6
+ "\v": number;
7
+ "\n": number;
8
+ " ": number;
9
+ _: number;
10
+ "[": number;
11
+ "]": number;
12
+ "(": number;
13
+ ")": number;
14
+ "`": number;
15
+ "~": number;
16
+ "\\": number;
17
+ "*": number;
18
+ "!": number;
19
+ "|": number;
20
+ };
21
+ export declare function parseMarkdown(text_: string): [string, MessageEntity[]];
@@ -0,0 +1,325 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.parseMarkdown = exports.CODEPOINTS = void 0;
4
+ /**
5
+ * Copyright (c) 2023 Dunkan
6
+ * Copyright (c) 2024 Roj
7
+ */
8
+ const _1_utilities_js_1 = require("../1_utilities.js");
9
+ const _3_types_js_1 = require("../3_types.js");
10
+ const enc = new TextEncoder();
11
+ const dec = new TextDecoder();
12
+ exports.CODEPOINTS = {
13
+ "\t": 9,
14
+ "\r": 13,
15
+ "\0": 0,
16
+ "\v": 11,
17
+ "\n": 10,
18
+ " ": 32,
19
+ "_": 95,
20
+ "[": 91,
21
+ "]": 93,
22
+ "(": 40,
23
+ ")": 41,
24
+ "`": 96,
25
+ "~": 126,
26
+ "\\": 92,
27
+ "*": 42,
28
+ "!": 33,
29
+ "|": 124,
30
+ };
31
+ function isUtf8CharacterFirstCodeUnit(c) {
32
+ return (c & 0xC0) !== 0x80;
33
+ }
34
+ function isWhitespace(codepoint) {
35
+ return (codepoint === exports.CODEPOINTS[" "] || codepoint === exports.CODEPOINTS["\t"] || codepoint === exports.CODEPOINTS["\r"] ||
36
+ codepoint === exports.CODEPOINTS["\n"] || codepoint === exports.CODEPOINTS["\0"] || codepoint === exports.CODEPOINTS["\v"]);
37
+ }
38
+ function getUrl(url_) {
39
+ try {
40
+ const url = new URL(url_);
41
+ if (url.protocol != "http:" && url.protocol != "https:" && url.protocol != "tg:" && url.protocol != "ton:") {
42
+ return "";
43
+ }
44
+ else {
45
+ return url.href;
46
+ }
47
+ }
48
+ catch {
49
+ return "";
50
+ }
51
+ }
52
+ function getLinkUserId(url_) {
53
+ try {
54
+ const url = new URL(url_);
55
+ if (url.protocol != "tg:" || url.hostname != "user" || url.pathname.slice(1) != "" || url.port != "") {
56
+ return 0;
57
+ }
58
+ return Number(url.searchParams.get("id")) || 0;
59
+ }
60
+ catch {
61
+ return 0;
62
+ }
63
+ }
64
+ function getLinkCustomEmojiId(url_) {
65
+ try {
66
+ const url = new URL(url_);
67
+ if (url.protocol != "tg:" || url.hostname != "emoji" || url.pathname.slice(1) != "" || url.port != "") {
68
+ return "";
69
+ }
70
+ const id_ = url.searchParams.get("id");
71
+ if (!id_) {
72
+ return "";
73
+ }
74
+ const id = BigInt(id_);
75
+ if (!id) {
76
+ return "";
77
+ }
78
+ else {
79
+ return String(id);
80
+ }
81
+ }
82
+ catch {
83
+ return "";
84
+ }
85
+ }
86
+ function parseMarkdown(text_) {
87
+ const text = enc.encode(text_);
88
+ let resultSize = 0;
89
+ let entities = [];
90
+ let utf16Offset = 0;
91
+ const nestedEntities = [];
92
+ for (let i = 0; i < text.length; i++) {
93
+ const c = text[i];
94
+ if (c === exports.CODEPOINTS["\\"] && text[i + 1] != null && text[i + 1] > 0 && text[i + 1] <= 126) {
95
+ i++;
96
+ utf16Offset += 1;
97
+ text[resultSize++] = text[i];
98
+ continue;
99
+ }
100
+ let reservedCharacters = enc.encode("_*[]()~`>#+-=|{}.!");
101
+ if (nestedEntities.length !== 0) {
102
+ switch (nestedEntities[nestedEntities.length - 1].type) {
103
+ case "code":
104
+ case "pre":
105
+ reservedCharacters = Uint8Array.of(exports.CODEPOINTS["`"]);
106
+ break;
107
+ default:
108
+ break;
109
+ }
110
+ }
111
+ if (!reservedCharacters.includes(text[i])) {
112
+ if (isUtf8CharacterFirstCodeUnit(c)) {
113
+ utf16Offset += 1 + (c >= 0xf0 ? 1 : 0);
114
+ }
115
+ text[resultSize++] = text[i];
116
+ continue;
117
+ }
118
+ let isEndOfAnEntity = false;
119
+ if (nestedEntities.length !== 0) {
120
+ isEndOfAnEntity = (() => {
121
+ switch (nestedEntities[nestedEntities.length - 1].type) {
122
+ case "bold":
123
+ return c === exports.CODEPOINTS["*"];
124
+ case "italic":
125
+ return c === exports.CODEPOINTS["_"] && text[i + 1] !== exports.CODEPOINTS["_"];
126
+ case "code":
127
+ return c === exports.CODEPOINTS["`"];
128
+ case "pre":
129
+ return c === exports.CODEPOINTS["`"] && text[i + 1] === exports.CODEPOINTS["`"] && text[i + 2] === exports.CODEPOINTS["`"];
130
+ case "textLink":
131
+ return c === exports.CODEPOINTS["]"];
132
+ case "underline":
133
+ return c === exports.CODEPOINTS["_"] && text[i + 1] === exports.CODEPOINTS["_"];
134
+ case "strikethrough":
135
+ return c === exports.CODEPOINTS["~"];
136
+ case "spoiler":
137
+ return c === exports.CODEPOINTS["|"] && text[i + 1] === exports.CODEPOINTS["|"];
138
+ case "customEmoji":
139
+ return c === exports.CODEPOINTS["]"];
140
+ default:
141
+ (0, _1_utilities_js_1.UNREACHABLE)();
142
+ }
143
+ })();
144
+ }
145
+ if (!isEndOfAnEntity) {
146
+ let type;
147
+ let argument = new Uint8Array();
148
+ const entityByteOffset = i;
149
+ switch (c) {
150
+ case exports.CODEPOINTS["_"]:
151
+ if (text[i + 1] === exports.CODEPOINTS["_"]) {
152
+ type = "underline";
153
+ i++;
154
+ }
155
+ else {
156
+ type = "italic";
157
+ }
158
+ break;
159
+ case exports.CODEPOINTS["*"]:
160
+ type = "bold";
161
+ break;
162
+ case exports.CODEPOINTS["~"]:
163
+ type = "strikethrough";
164
+ break;
165
+ case exports.CODEPOINTS["|"]:
166
+ if (text[i + 1] === exports.CODEPOINTS["|"]) {
167
+ i++;
168
+ type = "spoiler";
169
+ }
170
+ else {
171
+ throw new Error(`Character '${String.fromCharCode(c)}' is reserved and must be escaped with the preceding '\\'`);
172
+ }
173
+ break;
174
+ case exports.CODEPOINTS["["]:
175
+ type = "textLink";
176
+ break;
177
+ case exports.CODEPOINTS["`"]:
178
+ if (text[i + 1] === exports.CODEPOINTS["`"] && text[i + 2] === exports.CODEPOINTS["`"]) {
179
+ i += 3;
180
+ type = "code";
181
+ let languageEnd = i;
182
+ while (text[languageEnd] != null && !isWhitespace(text[languageEnd]) && text[languageEnd] !== exports.CODEPOINTS["`"]) {
183
+ languageEnd++;
184
+ }
185
+ if (i !== languageEnd && languageEnd < text.length && text[languageEnd] !== exports.CODEPOINTS["`"]) {
186
+ type = "pre";
187
+ argument = text.slice(i, languageEnd);
188
+ i = languageEnd;
189
+ }
190
+ const current = text[i], next = text[i + 1];
191
+ if (current === exports.CODEPOINTS["\n"] || current === exports.CODEPOINTS["\r"]) {
192
+ if ((next === exports.CODEPOINTS["\n"] || next === exports.CODEPOINTS["\r"]) && current !== next) {
193
+ i += 2;
194
+ }
195
+ else {
196
+ i++;
197
+ }
198
+ }
199
+ i--;
200
+ }
201
+ else {
202
+ type = "code";
203
+ }
204
+ break;
205
+ case exports.CODEPOINTS["!"]:
206
+ if (text[i + 1] === exports.CODEPOINTS["["]) {
207
+ i++;
208
+ type = "customEmoji";
209
+ }
210
+ else {
211
+ throw new Error(`Character '${String.fromCharCode(text[i])}' is reserved and must be escaped with the preceding '\\'`);
212
+ }
213
+ break;
214
+ default:
215
+ throw new Error(`Character '${String.fromCharCode(text[i])}' is reserved and must be escaped with the preceding '\\'`);
216
+ }
217
+ nestedEntities.push({ type, argument, entityOffset: utf16Offset, entityByteOffset, entityBeginPos: resultSize });
218
+ }
219
+ else {
220
+ let { type, argument } = nestedEntities[nestedEntities.length - 1];
221
+ let userId = 0;
222
+ let customEmojiId = "";
223
+ let skipEntity = utf16Offset === nestedEntities.at(-1).entityOffset;
224
+ switch (type) {
225
+ case "bold":
226
+ case "italic":
227
+ case "code":
228
+ case "strikethrough":
229
+ break;
230
+ case "underline":
231
+ case "spoiler":
232
+ i++;
233
+ break;
234
+ case "pre":
235
+ i += 2;
236
+ break;
237
+ case "textLink": {
238
+ let url;
239
+ if (text[i + 1] !== exports.CODEPOINTS["("]) {
240
+ url = text.slice(nestedEntities.at(-1).entityBeginPos, resultSize);
241
+ }
242
+ else {
243
+ i += 2;
244
+ const urlBeginPos = i;
245
+ const url_ = [];
246
+ while (i < text.length && text[i] !== exports.CODEPOINTS[")"]) {
247
+ if (text[i] === exports.CODEPOINTS["\\"] && text[i + 1] > 0 && text[i + 1] <= 126) {
248
+ url_.push(text[i + 1]);
249
+ i += 2;
250
+ continue;
251
+ }
252
+ url_.push(text[i++]);
253
+ }
254
+ url = Uint8Array.from(url_);
255
+ if (text[i] !== exports.CODEPOINTS[")"]) {
256
+ throw new Error("Can't find end of a URL at byte offset " + urlBeginPos);
257
+ }
258
+ }
259
+ userId = getLinkUserId(dec.decode(url));
260
+ if (!userId) {
261
+ const url_ = getUrl(dec.decode(url));
262
+ if (!url_) {
263
+ skipEntity = true;
264
+ }
265
+ else {
266
+ argument = url_;
267
+ }
268
+ }
269
+ break;
270
+ }
271
+ case "customEmoji": {
272
+ if (text[i + 1] !== exports.CODEPOINTS["("]) {
273
+ throw new Error("Custom emoji entity must contain a tg://emoji URL");
274
+ }
275
+ i += 2;
276
+ const url_ = [];
277
+ const urlBeginPos = i;
278
+ while (i < text.length && text[i] !== exports.CODEPOINTS[")"]) {
279
+ if (text[i] === exports.CODEPOINTS["\\"] && text[i + 1] > 0 && text[i + 1] <= 126) {
280
+ url_.push(text[i + 1]);
281
+ i += 2;
282
+ continue;
283
+ }
284
+ url_.push(text[i++]);
285
+ }
286
+ const url = Uint8Array.from(url_);
287
+ if (text[i] !== exports.CODEPOINTS[")"]) {
288
+ throw new Error("Can't find end of a custom emoji URL at byte offset " + urlBeginPos);
289
+ }
290
+ customEmojiId = getLinkCustomEmojiId(dec.decode(url));
291
+ break;
292
+ }
293
+ default:
294
+ (0, _1_utilities_js_1.UNREACHABLE)();
295
+ }
296
+ if (!skipEntity) {
297
+ const entityOffset = nestedEntities.at(-1).entityOffset;
298
+ const entityLength = utf16Offset - entityOffset;
299
+ if (userId) {
300
+ entities.push({ type: "textMention", offset: entityOffset, length: entityLength, userId });
301
+ }
302
+ else if (customEmojiId) {
303
+ entities.push({ type: "customEmoji", offset: entityOffset, length: entityLength, customEmojiId });
304
+ }
305
+ else if (type == "textLink") {
306
+ entities.push({ type, offset: entityOffset, length: entityLength, url: typeof argument === "string" ? argument : dec.decode(argument) });
307
+ }
308
+ else if (type == "pre") {
309
+ entities.push({ type, offset: entityOffset, length: entityLength, language: typeof argument === "string" ? argument : dec.decode(argument) });
310
+ }
311
+ else if (type != "customEmoji") {
312
+ entities.push({ type, offset: entityOffset, length: entityLength });
313
+ }
314
+ }
315
+ nestedEntities.pop();
316
+ }
317
+ }
318
+ if (nestedEntities.length !== 0) {
319
+ const last = nestedEntities[nestedEntities.length - 1];
320
+ throw new Error(`Can't find end of ${last.type} entity at byte offset ${last.entityByteOffset}`);
321
+ }
322
+ entities = (0, _3_types_js_1.sortMessageEntities)(entities);
323
+ return [dec.decode(text.slice(0, resultSize)), entities];
324
+ }
325
+ exports.parseMarkdown = parseMarkdown;
@@ -5,5 +5,5 @@ export declare function unpackUnencryptedMessage(buffer: Uint8Array): {
5
5
  messageId: bigint;
6
6
  message: Uint8Array;
7
7
  };
8
- export declare function encryptMessage(message: Message_, authKey: Uint8Array, authKeyId: bigint, salt: bigint, sessionId: bigint): Promise<Uint8Array>;
8
+ export declare function encryptMessage(message: Message_ | MessageContainer, authKey: Uint8Array, authKeyId: bigint, salt: bigint, sessionId: bigint): Promise<Uint8Array>;
9
9
  export declare function decryptMessage(buffer: Uint8Array, authKey: Uint8Array, authKeyId: bigint, _sessionId: bigint): Promise<Message_ | MessageContainer>;
@@ -35,14 +35,10 @@ function unpackUnencryptedMessage(buffer) {
35
35
  }
36
36
  exports.unpackUnencryptedMessage = unpackUnencryptedMessage;
37
37
  async function encryptMessage(message, authKey, authKeyId, salt, sessionId) {
38
- const encoded = message.body[_2_tl_js_1.serialize]();
39
38
  const payloadWriter = new _2_tl_js_1.TLWriter();
40
39
  payloadWriter.writeInt64(salt);
41
40
  payloadWriter.writeInt64(sessionId);
42
- payloadWriter.writeInt64(message.id);
43
- payloadWriter.writeInt32(message.seqNo);
44
- payloadWriter.writeInt32(encoded.length);
45
- payloadWriter.write(encoded);
41
+ payloadWriter.write(message[_2_tl_js_1.serialize]());
46
42
  payloadWriter.write(new Uint8Array((0, _1_utilities_js_1.mod)(-(payloadWriter.buffer.length + 12), 16) + 12));
47
43
  const payload = payloadWriter.buffer;
48
44
  const messageKey = (await (0, _1_utilities_js_1.sha256)((0, _1_utilities_js_1.concat)(authKey.subarray(88, 120), payload))).subarray(8, 24);
@@ -77,7 +73,8 @@ async function decryptMessage(buffer, authKey, authKeyId, _sessionId) {
77
73
  plainReader = new _2_tl_js_1.TLReader(plainReader.read(length));
78
74
  const cid = plainReader.readInt32(false);
79
75
  if (cid == _2_tl_js_1.MessageContainer[_2_tl_js_1.id]) {
80
- return _2_tl_js_1.MessageContainer.deserialize(plainReader.buffer);
76
+ const messages = _2_tl_js_1.MessageContainer.deserialize(plainReader.buffer);
77
+ return new _2_tl_js_1.MessageContainer(mid, seqno, messages);
81
78
  }
82
79
  else if (cid == _2_tl_js_1.RPCResult[_2_tl_js_1.id]) {
83
80
  const body = _2_tl_js_1.RPCResult.deserialize(plainReader.buffer);
@@ -153,6 +153,9 @@ export interface _ThumbnailCommon {
153
153
  }
154
154
  export interface SendDocumentParams extends _CaptionCommon, _ThumbnailCommon, _SpoilCommon, _UploadCommon, _SendCommon {
155
155
  }
156
+ export interface SendStickerParams extends _UploadCommon, _SendCommon {
157
+ emoji?: string;
158
+ }
156
159
  export interface SendVideoParams extends _CaptionCommon, _ThumbnailCommon, _SpoilCommon, _UploadCommon, _SendCommon {
157
160
  /** The duration of the video in seconds. */
158
161
  duration?: number;
@@ -307,3 +310,16 @@ export interface GetCreatedInviteLinksParams {
307
310
  afterDate?: Date;
308
311
  afterInviteLink?: string;
309
312
  }
313
+ export interface StopPollParams {
314
+ replyMarkup?: ReplyMarkup;
315
+ }
316
+ export interface EditMessageLiveLocationParams {
317
+ /** The accuracy radius of the location in meters. Must be in the range of 0-1500. */
318
+ horizontalAccuracy?: number;
319
+ /** The direction which the user is moving towards. Must be in the range of 1-350. */
320
+ heading?: number;
321
+ /** The maximum distance for proximity alerts on approaching another chat member in meters. Must be in the range 1-100,000. */
322
+ proximityAlertRadius?: number;
323
+ /** The reply markup of the message. Bot-only. */
324
+ replyMarkup?: ReplyMarkup;
325
+ }