@mtkruto/node 0.1.131 → 0.1.133

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 (564) hide show
  1. package/esm/0_deps.d.ts +4 -4
  2. package/esm/0_deps.js +5 -5
  3. package/esm/3_types.d.ts +5 -0
  4. package/esm/3_types.js +5 -0
  5. package/esm/4_constants.d.ts +2 -2
  6. package/esm/4_constants.js +2 -2
  7. package/esm/client/0_utilities.d.ts +3 -3
  8. package/esm/client/0_utilities.js +3 -5
  9. package/esm/client/3_types.d.ts +69 -459
  10. package/esm/client/4_composer.d.ts +4 -4
  11. package/esm/client/4_composer.js +13 -1
  12. package/esm/client/5_client.d.ts +56 -36
  13. package/esm/client/5_client.js +235 -196
  14. package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/base64.d.ts +0 -13
  15. package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/base64.js +0 -13
  16. package/esm/deps/deno.land/std@0.210.0/path/common.d.ts +13 -0
  17. package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/extname.js +1 -1
  18. package/{script/deps/deno.land/std@0.209.0 → esm/deps/deno.land/std@0.210.0}/path/mod.d.ts +2 -2
  19. package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/mod.js +3 -1
  20. package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/separator.d.ts +1 -1
  21. package/esm/tl/2_types.d.ts +313 -24
  22. package/esm/tl/2_types.js +982 -46
  23. package/esm/tl/3_functions.d.ts +95 -32
  24. package/esm/tl/3_functions.js +227 -66
  25. package/esm/types/0_chat_photo.d.ts +22 -21
  26. package/esm/types/0_giveaway_parameters.d.ts +9 -0
  27. package/esm/types/0_giveaway_parameters.js +9 -0
  28. package/esm/types/0_message_entity.d.ts +93 -74
  29. package/esm/types/0_reaction.d.ts +14 -0
  30. package/esm/types/0_reaction.js +16 -0
  31. package/esm/types/1_bot_command_scope.d.ts +32 -27
  32. package/esm/types/1_chat_p.d.ts +76 -68
  33. package/esm/types/1_giveaway.d.ts +8 -0
  34. package/esm/types/1_giveaway.js +7 -0
  35. package/esm/types/1_keyboard_button.d.ts +62 -56
  36. package/esm/types/1_keyboard_button.js +3 -0
  37. package/esm/types/1_message_reaction.d.ts +14 -0
  38. package/esm/types/1_message_reaction.js +22 -0
  39. package/esm/types/1_reply_quote.d.ts +8 -0
  40. package/esm/types/1_reply_quote.js +11 -0
  41. package/esm/types/1_user.d.ts +2 -2
  42. package/esm/types/2_inline_keyboard_button.d.ts +44 -37
  43. package/esm/types/3_message.d.ts +171 -112
  44. package/esm/types/3_message.js +221 -120
  45. package/esm/types/4_chat.d.ts +32 -29
  46. package/package.json +1 -1
  47. package/script/0_deps.d.ts +4 -4
  48. package/script/0_deps.js +5 -5
  49. package/script/3_types.d.ts +5 -0
  50. package/script/3_types.js +5 -0
  51. package/script/4_constants.d.ts +2 -2
  52. package/script/4_constants.js +2 -2
  53. package/script/client/0_utilities.d.ts +3 -3
  54. package/script/client/0_utilities.js +3 -5
  55. package/script/client/3_types.d.ts +69 -459
  56. package/script/client/4_composer.d.ts +4 -4
  57. package/script/client/4_composer.js +13 -1
  58. package/script/client/5_client.d.ts +56 -36
  59. package/script/client/5_client.js +234 -195
  60. package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/base64.d.ts +0 -13
  61. package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/base64.js +1 -14
  62. package/script/deps/deno.land/std@0.210.0/path/common.d.ts +13 -0
  63. package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/extname.js +1 -1
  64. package/{esm/deps/deno.land/std@0.209.0 → script/deps/deno.land/std@0.210.0}/path/mod.d.ts +2 -2
  65. package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/mod.js +3 -1
  66. package/script/deps/deno.land/std@0.210.0/path/separator.d.ts +2 -0
  67. package/script/tl/2_types.d.ts +313 -24
  68. package/script/tl/2_types.js +1169 -217
  69. package/script/tl/3_functions.d.ts +95 -32
  70. package/script/tl/3_functions.js +241 -77
  71. package/script/types/0_chat_photo.d.ts +22 -21
  72. package/script/types/0_giveaway_parameters.d.ts +9 -0
  73. package/script/types/0_giveaway_parameters.js +13 -0
  74. package/script/types/0_message_entity.d.ts +93 -74
  75. package/script/types/0_reaction.d.ts +14 -0
  76. package/script/types/0_reaction.js +21 -0
  77. package/script/types/1_bot_command_scope.d.ts +32 -27
  78. package/script/types/1_chat_p.d.ts +76 -68
  79. package/script/types/1_giveaway.d.ts +8 -0
  80. package/script/types/1_giveaway.js +11 -0
  81. package/script/types/1_keyboard_button.d.ts +62 -56
  82. package/script/types/1_keyboard_button.js +3 -0
  83. package/script/types/1_message_reaction.d.ts +14 -0
  84. package/script/types/1_message_reaction.js +26 -0
  85. package/script/types/1_reply_quote.d.ts +8 -0
  86. package/script/types/1_reply_quote.js +15 -0
  87. package/script/types/1_user.d.ts +2 -2
  88. package/script/types/2_inline_keyboard_button.d.ts +44 -37
  89. package/script/types/3_message.d.ts +171 -112
  90. package/script/types/3_message.js +223 -121
  91. package/script/types/4_chat.d.ts +32 -29
  92. package/script/deps/deno.land/std@0.209.0/path/posix/common.d.ts +0 -13
  93. package/script/deps/deno.land/std@0.209.0/path/separator.d.ts +0 -2
  94. package/script/deps/deno.land/std@0.209.0/path/windows/common.d.ts +0 -13
  95. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_constants.d.ts +0 -0
  96. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_constants.js +0 -0
  97. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_diff.d.ts +0 -0
  98. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_diff.js +0 -0
  99. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_format.d.ts +0 -0
  100. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_format.js +0 -0
  101. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert.d.ts +0 -0
  102. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert.js +0 -0
  103. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_almost_equals.d.ts +0 -0
  104. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_almost_equals.js +0 -0
  105. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_array_includes.d.ts +0 -0
  106. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_array_includes.js +0 -0
  107. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_equals.d.ts +0 -0
  108. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_equals.js +0 -0
  109. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_exists.d.ts +0 -0
  110. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_exists.js +0 -0
  111. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_false.d.ts +0 -0
  112. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_false.js +0 -0
  113. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater.d.ts +0 -0
  114. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater.js +0 -0
  115. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater_or_equal.d.ts +0 -0
  116. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater_or_equal.js +0 -0
  117. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_instance_of.d.ts +0 -0
  118. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_instance_of.js +0 -0
  119. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_is_error.d.ts +0 -0
  120. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_is_error.js +0 -0
  121. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less.d.ts +0 -0
  122. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less.js +0 -0
  123. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less_or_equal.d.ts +0 -0
  124. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less_or_equal.js +0 -0
  125. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_match.d.ts +0 -0
  126. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_match.js +0 -0
  127. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_equals.d.ts +0 -0
  128. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_equals.js +0 -0
  129. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_instance_of.d.ts +0 -0
  130. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_instance_of.js +0 -0
  131. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_match.d.ts +0 -0
  132. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_match.js +0 -0
  133. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_strict_equals.d.ts +0 -0
  134. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_strict_equals.js +0 -0
  135. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_object_match.d.ts +0 -0
  136. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_object_match.js +0 -0
  137. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_rejects.d.ts +0 -0
  138. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_rejects.js +0 -0
  139. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_strict_equals.d.ts +0 -0
  140. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_strict_equals.js +0 -0
  141. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_string_includes.d.ts +0 -0
  142. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_string_includes.js +0 -0
  143. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_throws.d.ts +0 -0
  144. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_throws.js +0 -0
  145. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assertion_error.d.ts +0 -0
  146. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assertion_error.js +0 -0
  147. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/equal.d.ts +0 -0
  148. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/equal.js +0 -0
  149. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/fail.d.ts +0 -0
  150. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/fail.js +0 -0
  151. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/mod.d.ts +0 -0
  152. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/mod.js +0 -0
  153. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unimplemented.d.ts +0 -0
  154. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unimplemented.js +0 -0
  155. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unreachable.d.ts +0 -0
  156. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unreachable.js +0 -0
  157. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/_util.d.ts +0 -0
  158. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/_util.js +0 -0
  159. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/fmt/colors.d.ts +0 -0
  160. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/fmt/colors.js +0 -0
  161. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_db.d.ts +0 -0
  162. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_db.js +0 -0
  163. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_util.d.ts +0 -0
  164. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_util.js +0 -0
  165. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/content_type.d.ts +0 -0
  166. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/content_type.js +0 -0
  167. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extension.d.ts +0 -0
  168. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extension.js +0 -0
  169. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extensions_by_type.d.ts +0 -0
  170. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extensions_by_type.js +0 -0
  171. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/format_media_type.d.ts +0 -0
  172. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/format_media_type.js +0 -0
  173. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/get_charset.d.ts +0 -0
  174. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/get_charset.js +0 -0
  175. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/parse_media_type.d.ts +0 -0
  176. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/parse_media_type.js +0 -0
  177. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/type_by_extension.d.ts +0 -0
  178. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/type_by_extension.js +0 -0
  179. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  180. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  181. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/assert_path.d.ts +0 -0
  182. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/assert_path.js +0 -0
  183. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/basename.d.ts +0 -0
  184. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/basename.js +0 -0
  185. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/common.d.ts +0 -0
  186. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/common.js +0 -0
  187. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/constants.d.ts +0 -0
  188. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/constants.js +0 -0
  189. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/dirname.d.ts +0 -0
  190. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/dirname.js +0 -0
  191. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/format.d.ts +0 -0
  192. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/format.js +0 -0
  193. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/from_file_url.d.ts +0 -0
  194. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/from_file_url.js +0 -0
  195. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  196. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/glob_to_reg_exp.js +0 -0
  197. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize.d.ts +0 -0
  198. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize.js +0 -0
  199. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize_string.d.ts +0 -0
  200. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize_string.js +0 -0
  201. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/relative.d.ts +0 -0
  202. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/relative.js +0 -0
  203. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  204. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/strip_trailing_separators.js +0 -0
  205. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/to_file_url.d.ts +0 -0
  206. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/to_file_url.js +0 -0
  207. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_interface.d.ts +0 -0
  208. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_interface.js +0 -0
  209. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_os.d.ts +0 -0
  210. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_os.js +0 -0
  211. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/basename.d.ts +0 -0
  212. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/basename.js +0 -0
  213. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/common.js +0 -0
  214. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/dirname.d.ts +0 -0
  215. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/dirname.js +0 -0
  216. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/extname.d.ts +0 -0
  217. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/format.d.ts +0 -0
  218. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/format.js +0 -0
  219. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/from_file_url.d.ts +0 -0
  220. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/from_file_url.js +0 -0
  221. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/glob_to_regexp.d.ts +0 -0
  222. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/glob_to_regexp.js +0 -0
  223. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_absolute.d.ts +0 -0
  224. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_absolute.js +0 -0
  225. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_glob.d.ts +0 -0
  226. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_glob.js +0 -0
  227. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join.d.ts +0 -0
  228. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join.js +0 -0
  229. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join_globs.d.ts +0 -0
  230. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join_globs.js +0 -0
  231. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize.d.ts +0 -0
  232. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize.js +0 -0
  233. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize_glob.d.ts +0 -0
  234. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize_glob.js +0 -0
  235. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/parse.d.ts +0 -0
  236. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/parse.js +0 -0
  237. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/_util.d.ts +0 -0
  238. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/_util.js +0 -0
  239. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/basename.d.ts +0 -0
  240. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/basename.js +0 -0
  241. /package/esm/deps/deno.land/{std@0.209.0/path → std@0.210.0/path/posix}/common.d.ts +0 -0
  242. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/common.js +0 -0
  243. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/dirname.d.ts +0 -0
  244. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/dirname.js +0 -0
  245. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/extname.d.ts +0 -0
  246. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/extname.js +0 -0
  247. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/format.d.ts +0 -0
  248. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/format.js +0 -0
  249. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/from_file_url.d.ts +0 -0
  250. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/from_file_url.js +0 -0
  251. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/glob_to_regexp.d.ts +0 -0
  252. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/glob_to_regexp.js +0 -0
  253. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_absolute.d.ts +0 -0
  254. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_absolute.js +0 -0
  255. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_glob.d.ts +0 -0
  256. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_glob.js +0 -0
  257. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join.d.ts +0 -0
  258. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join.js +0 -0
  259. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join_globs.d.ts +0 -0
  260. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join_globs.js +0 -0
  261. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/mod.d.ts +0 -0
  262. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/mod.js +0 -0
  263. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize.d.ts +0 -0
  264. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize.js +0 -0
  265. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize_glob.d.ts +0 -0
  266. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize_glob.js +0 -0
  267. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/parse.d.ts +0 -0
  268. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/parse.js +0 -0
  269. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/relative.d.ts +0 -0
  270. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/relative.js +0 -0
  271. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/resolve.d.ts +0 -0
  272. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/resolve.js +0 -0
  273. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/separator.d.ts +0 -0
  274. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/separator.js +0 -0
  275. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_file_url.d.ts +0 -0
  276. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_file_url.js +0 -0
  277. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_namespaced_path.d.ts +0 -0
  278. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_namespaced_path.js +0 -0
  279. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/relative.d.ts +0 -0
  280. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/relative.js +0 -0
  281. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/resolve.d.ts +0 -0
  282. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/resolve.js +0 -0
  283. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/separator.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_file_url.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_file_url.js +0 -0
  286. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_namespaced_path.d.ts +0 -0
  287. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_namespaced_path.js +0 -0
  288. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/_util.d.ts +0 -0
  289. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/_util.js +0 -0
  290. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/basename.d.ts +0 -0
  291. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/basename.js +0 -0
  292. /package/esm/deps/deno.land/{std@0.209.0/path/posix → std@0.210.0/path/windows}/common.d.ts +0 -0
  293. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/common.js +0 -0
  294. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/dirname.d.ts +0 -0
  295. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/dirname.js +0 -0
  296. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/extname.d.ts +0 -0
  297. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/extname.js +0 -0
  298. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/format.d.ts +0 -0
  299. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/format.js +0 -0
  300. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/from_file_url.d.ts +0 -0
  301. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/from_file_url.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/glob_to_regexp.d.ts +0 -0
  303. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/glob_to_regexp.js +0 -0
  304. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_absolute.d.ts +0 -0
  305. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_absolute.js +0 -0
  306. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_glob.d.ts +0 -0
  307. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_glob.js +0 -0
  308. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join.d.ts +0 -0
  309. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join.js +0 -0
  310. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join_globs.d.ts +0 -0
  311. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join_globs.js +0 -0
  312. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/mod.d.ts +0 -0
  313. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/mod.js +0 -0
  314. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize.d.ts +0 -0
  315. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize.js +0 -0
  316. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize_glob.d.ts +0 -0
  317. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize_glob.js +0 -0
  318. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/parse.d.ts +0 -0
  319. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/parse.js +0 -0
  320. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/relative.d.ts +0 -0
  321. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/relative.js +0 -0
  322. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/resolve.d.ts +0 -0
  323. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/resolve.js +0 -0
  324. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/separator.d.ts +0 -0
  325. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/separator.js +0 -0
  326. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_file_url.d.ts +0 -0
  327. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_file_url.js +0 -0
  328. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_namespaced_path.d.ts +0 -0
  329. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_namespaced_path.js +0 -0
  330. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_constants.d.ts +0 -0
  331. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_constants.js +0 -0
  332. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_diff.d.ts +0 -0
  333. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_diff.js +0 -0
  334. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_format.d.ts +0 -0
  335. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_format.js +0 -0
  336. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert.d.ts +0 -0
  337. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert.js +0 -0
  338. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_almost_equals.d.ts +0 -0
  339. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_almost_equals.js +0 -0
  340. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_array_includes.d.ts +0 -0
  341. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_array_includes.js +0 -0
  342. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_equals.d.ts +0 -0
  343. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_equals.js +0 -0
  344. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_exists.d.ts +0 -0
  345. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_exists.js +0 -0
  346. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_false.d.ts +0 -0
  347. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_false.js +0 -0
  348. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater.d.ts +0 -0
  349. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater.js +0 -0
  350. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater_or_equal.d.ts +0 -0
  351. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater_or_equal.js +0 -0
  352. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_instance_of.d.ts +0 -0
  353. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_instance_of.js +0 -0
  354. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_is_error.d.ts +0 -0
  355. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_is_error.js +0 -0
  356. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less.d.ts +0 -0
  357. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less.js +0 -0
  358. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less_or_equal.d.ts +0 -0
  359. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less_or_equal.js +0 -0
  360. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_match.d.ts +0 -0
  361. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_match.js +0 -0
  362. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_equals.d.ts +0 -0
  363. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_equals.js +0 -0
  364. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_instance_of.d.ts +0 -0
  365. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_instance_of.js +0 -0
  366. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_match.d.ts +0 -0
  367. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_match.js +0 -0
  368. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_strict_equals.d.ts +0 -0
  369. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_strict_equals.js +0 -0
  370. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_object_match.d.ts +0 -0
  371. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_object_match.js +0 -0
  372. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_rejects.d.ts +0 -0
  373. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_rejects.js +0 -0
  374. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_strict_equals.d.ts +0 -0
  375. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_strict_equals.js +0 -0
  376. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_string_includes.d.ts +0 -0
  377. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_string_includes.js +0 -0
  378. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_throws.d.ts +0 -0
  379. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_throws.js +0 -0
  380. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assertion_error.d.ts +0 -0
  381. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assertion_error.js +0 -0
  382. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/equal.d.ts +0 -0
  383. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/equal.js +0 -0
  384. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/fail.d.ts +0 -0
  385. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/fail.js +0 -0
  386. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/mod.d.ts +0 -0
  387. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/mod.js +0 -0
  388. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unimplemented.d.ts +0 -0
  389. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unimplemented.js +0 -0
  390. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unreachable.d.ts +0 -0
  391. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unreachable.js +0 -0
  392. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/_util.d.ts +0 -0
  393. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/_util.js +0 -0
  394. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/fmt/colors.d.ts +0 -0
  395. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/fmt/colors.js +0 -0
  396. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_db.d.ts +0 -0
  397. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_db.js +0 -0
  398. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_util.d.ts +0 -0
  399. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_util.js +0 -0
  400. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/content_type.d.ts +0 -0
  401. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/content_type.js +0 -0
  402. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extension.d.ts +0 -0
  403. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extension.js +0 -0
  404. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extensions_by_type.d.ts +0 -0
  405. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extensions_by_type.js +0 -0
  406. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/format_media_type.d.ts +0 -0
  407. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/format_media_type.js +0 -0
  408. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/get_charset.d.ts +0 -0
  409. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/get_charset.js +0 -0
  410. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/parse_media_type.d.ts +0 -0
  411. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/parse_media_type.js +0 -0
  412. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/type_by_extension.d.ts +0 -0
  413. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/type_by_extension.js +0 -0
  414. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  415. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  416. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/assert_path.d.ts +0 -0
  417. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/assert_path.js +0 -0
  418. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/basename.d.ts +0 -0
  419. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/basename.js +0 -0
  420. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/common.d.ts +0 -0
  421. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/common.js +0 -0
  422. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/constants.d.ts +0 -0
  423. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/constants.js +0 -0
  424. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/dirname.d.ts +0 -0
  425. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/dirname.js +0 -0
  426. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/format.d.ts +0 -0
  427. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/format.js +0 -0
  428. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/from_file_url.d.ts +0 -0
  429. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/from_file_url.js +0 -0
  430. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  431. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/glob_to_reg_exp.js +0 -0
  432. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize.d.ts +0 -0
  433. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize.js +0 -0
  434. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize_string.d.ts +0 -0
  435. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize_string.js +0 -0
  436. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/relative.d.ts +0 -0
  437. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/relative.js +0 -0
  438. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  439. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/strip_trailing_separators.js +0 -0
  440. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/to_file_url.d.ts +0 -0
  441. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/to_file_url.js +0 -0
  442. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_interface.d.ts +0 -0
  443. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_interface.js +0 -0
  444. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_os.d.ts +0 -0
  445. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_os.js +0 -0
  446. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/basename.d.ts +0 -0
  447. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/basename.js +0 -0
  448. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/common.js +0 -0
  449. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/dirname.d.ts +0 -0
  450. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/dirname.js +0 -0
  451. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/extname.d.ts +0 -0
  452. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/format.d.ts +0 -0
  453. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/format.js +0 -0
  454. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/from_file_url.d.ts +0 -0
  455. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/from_file_url.js +0 -0
  456. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/glob_to_regexp.d.ts +0 -0
  457. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/glob_to_regexp.js +0 -0
  458. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_absolute.d.ts +0 -0
  459. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_absolute.js +0 -0
  460. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_glob.d.ts +0 -0
  461. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_glob.js +0 -0
  462. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join.d.ts +0 -0
  463. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join.js +0 -0
  464. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join_globs.d.ts +0 -0
  465. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join_globs.js +0 -0
  466. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize.d.ts +0 -0
  467. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize.js +0 -0
  468. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize_glob.d.ts +0 -0
  469. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize_glob.js +0 -0
  470. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/parse.d.ts +0 -0
  471. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/parse.js +0 -0
  472. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/_util.d.ts +0 -0
  473. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/_util.js +0 -0
  474. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/basename.d.ts +0 -0
  475. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/basename.js +0 -0
  476. /package/{esm/deps/deno.land/std@0.209.0/path/windows → script/deps/deno.land/std@0.210.0/path/posix}/common.d.ts +0 -0
  477. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/common.js +0 -0
  478. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/dirname.d.ts +0 -0
  479. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/dirname.js +0 -0
  480. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/extname.d.ts +0 -0
  481. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/extname.js +0 -0
  482. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/format.d.ts +0 -0
  483. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/format.js +0 -0
  484. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/from_file_url.d.ts +0 -0
  485. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/from_file_url.js +0 -0
  486. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/glob_to_regexp.d.ts +0 -0
  487. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/glob_to_regexp.js +0 -0
  488. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_absolute.d.ts +0 -0
  489. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_absolute.js +0 -0
  490. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_glob.d.ts +0 -0
  491. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_glob.js +0 -0
  492. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join.d.ts +0 -0
  493. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join.js +0 -0
  494. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join_globs.d.ts +0 -0
  495. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join_globs.js +0 -0
  496. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/mod.d.ts +0 -0
  497. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/mod.js +0 -0
  498. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize.d.ts +0 -0
  499. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize.js +0 -0
  500. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize_glob.d.ts +0 -0
  501. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize_glob.js +0 -0
  502. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/parse.d.ts +0 -0
  503. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/parse.js +0 -0
  504. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/relative.d.ts +0 -0
  505. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/relative.js +0 -0
  506. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/resolve.d.ts +0 -0
  507. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/resolve.js +0 -0
  508. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/separator.d.ts +0 -0
  509. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/separator.js +0 -0
  510. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_file_url.d.ts +0 -0
  511. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_file_url.js +0 -0
  512. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_namespaced_path.d.ts +0 -0
  513. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_namespaced_path.js +0 -0
  514. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/relative.d.ts +0 -0
  515. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/relative.js +0 -0
  516. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/resolve.d.ts +0 -0
  517. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/resolve.js +0 -0
  518. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/separator.js +0 -0
  519. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_file_url.d.ts +0 -0
  520. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_file_url.js +0 -0
  521. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_namespaced_path.d.ts +0 -0
  522. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_namespaced_path.js +0 -0
  523. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/_util.d.ts +0 -0
  524. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/_util.js +0 -0
  525. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/basename.d.ts +0 -0
  526. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/basename.js +0 -0
  527. /package/script/deps/deno.land/{std@0.209.0/path → std@0.210.0/path/windows}/common.d.ts +0 -0
  528. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/common.js +0 -0
  529. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/dirname.d.ts +0 -0
  530. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/dirname.js +0 -0
  531. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/extname.d.ts +0 -0
  532. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/extname.js +0 -0
  533. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/format.d.ts +0 -0
  534. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/format.js +0 -0
  535. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/from_file_url.d.ts +0 -0
  536. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/from_file_url.js +0 -0
  537. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/glob_to_regexp.d.ts +0 -0
  538. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/glob_to_regexp.js +0 -0
  539. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_absolute.d.ts +0 -0
  540. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_absolute.js +0 -0
  541. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_glob.d.ts +0 -0
  542. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_glob.js +0 -0
  543. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join.d.ts +0 -0
  544. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join.js +0 -0
  545. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join_globs.d.ts +0 -0
  546. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join_globs.js +0 -0
  547. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/mod.d.ts +0 -0
  548. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/mod.js +0 -0
  549. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize.d.ts +0 -0
  550. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize.js +0 -0
  551. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize_glob.d.ts +0 -0
  552. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize_glob.js +0 -0
  553. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/parse.d.ts +0 -0
  554. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/parse.js +0 -0
  555. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/relative.d.ts +0 -0
  556. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/relative.js +0 -0
  557. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/resolve.d.ts +0 -0
  558. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/resolve.js +0 -0
  559. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/separator.d.ts +0 -0
  560. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/separator.js +0 -0
  561. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_file_url.d.ts +0 -0
  562. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_file_url.js +0 -0
  563. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_namespaced_path.d.ts +0 -0
  564. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_namespaced_path.js +0 -0
@@ -10,6 +10,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
10
10
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
11
11
  };
12
12
  var _Composer_handle, _Composer_prefixes;
13
+ import { assertMessageType } from "../3_types.js";
13
14
  export function flatten(mw) {
14
15
  return typeof mw === "function" ? mw : (ctx, next) => mw.middleware()(ctx, next);
15
16
  }
@@ -67,9 +68,19 @@ export class Composer {
67
68
  }
68
69
  on(filter, ...middleawre) {
69
70
  const type = typeof filter === "string" ? filter : filter[0];
70
- const keys = Array.isArray(filter) ? filter.slice(1) : [];
71
+ let keys = Array.isArray(filter) ? filter.slice(1) : [];
72
+ let messageType = null;
73
+ if (type == "message") {
74
+ messageType = keys[0];
75
+ keys = keys.slice(1);
76
+ }
71
77
  return this.filter((ctx) => {
72
78
  if (type in ctx) {
79
+ if (messageType != null) {
80
+ // deno-lint-ignore ban-ts-comment
81
+ // @ts-ignore
82
+ assertMessageType(ctx[type], messageType);
83
+ }
73
84
  if (keys.length > 0) {
74
85
  for (const key of keys) {
75
86
  // deno-lint-ignore ban-ts-comment
@@ -84,6 +95,7 @@ export class Composer {
84
95
  else {
85
96
  return false;
86
97
  }
98
+ // deno-lint-ignore no-explicit-any
87
99
  }, ...middleawre);
88
100
  }
89
101
  command(commands, ...middleawre) {
@@ -2,11 +2,11 @@ import { MaybePromise } from "../1_utilities.js";
2
2
  import { functions, ReadObject, types } from "../2_tl.js";
3
3
  import { Storage } from "../3_storage.js";
4
4
  import { DC } from "../3_transport.js";
5
- import { BotCommand, CallbackQuery, Chat, ChatAction, ChatID, Document, InlineQuery, InlineQueryResult, Message, ParseMode, User } from "../3_types.js";
5
+ import { BotCommand, CallbackQuery, Chat, ChatAction, ChatID, Document, InlineQuery, InlineQueryResult, Message, MessageAnimation, MessageAudio, MessageContact, MessageDice, MessageDocument, MessageLocation, MessagePhoto, MessagePoll, MessageText, MessageTypes, MessageVenue, MessageVideo, MessageVideoNote, MessageVoice, ParseMode, Reaction, User } from "../3_types.js";
6
6
  import { Migrate } from "../4_errors.js";
7
7
  import { FileSource, With } from "./0_utilities.js";
8
8
  import { ClientAbstract } from "./1_client_abstract.js";
9
- import { AnswerCallbackQueryParams, AnswerInlineQueryParams, AuthorizeUserParams, ClientParams, DeleteMessageParams, DeleteMessagesParams, DownloadParams, EditMessageParams, FilterableUpdates, FilterUpdate, ForwardMessagesParams, GetChatsParams, GetHistoryParams, GetMyCommandsParams, InvokeErrorHandler, NetworkStatistics, ReplyParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendLocationParams, SendMessageParams, SendPhotoParams, SendPollParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetMyCommandsParams, Update, UploadParams } from "./3_types.js";
9
+ import { AddReactionParams, AnswerCallbackQueryParams, AnswerInlineQueryParams, AuthorizeUserParams, ClientParams, DeleteMessageParams, DeleteMessagesParams, DownloadParams, EditMessageParams, FilterUpdate, ForwardMessagesParams, GetChatsParams, GetHistoryParams, GetMyCommandsParams, InvokeErrorHandler, MessageUpdates, NetworkStatistics, ReplyParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendLocationParams, SendMessageParams, SendPhotoParams, SendPollParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetMyCommandsParams, Update, UploadParams } from "./3_types.js";
10
10
  import { Composer, Middleware } from "./4_composer.js";
11
11
  declare const getEntity: unique symbol;
12
12
  declare const getStickerSetName: unique symbol;
@@ -38,31 +38,31 @@ export interface Context extends Update {
38
38
  /** Resolves to `effectiveMessage?.senderChat`. */
39
39
  senderChat: this["msg"] extends never ? never : this["msg"]["senderChat"];
40
40
  /** Reply the received message with a text message. */
41
- reply: (text: string, params?: Omit<SendMessageParams, "replyToMessageId"> & ReplyParams) => Promise<With<Message, "text">>;
41
+ reply: (text: string, params?: Omit<SendMessageParams, "replyToMessageId"> & ReplyParams) => Promise<MessageText>;
42
42
  /** Reply the received message with a poll. */
43
- replyPoll: (question: string, options: [string, string, ...string[]], params?: Omit<SendPollParams, "replyToMessageId"> & ReplyParams) => Promise<With<Message, "poll">>;
43
+ replyPoll: (question: string, options: [string, string, ...string[]], params?: Omit<SendPollParams, "replyToMessageId"> & ReplyParams) => Promise<MessagePoll>;
44
44
  /** Reply the received message with a photo. */
45
- replyPhoto: (photo: FileSource, params?: Omit<SendPhotoParams, "replyToMessageId"> & ReplyParams) => Promise<With<Message, "photo">>;
45
+ replyPhoto: (photo: FileSource, params?: Omit<SendPhotoParams, "replyToMessageId"> & ReplyParams) => Promise<MessagePhoto>;
46
46
  /** Reply the received message with a document. */
47
- replyDocument: (document: FileSource, params?: Omit<SendDocumentParams, "replyToMessageId"> & ReplyParams) => Promise<With<Message, "document">>;
47
+ replyDocument: (document: FileSource, params?: Omit<SendDocumentParams, "replyToMessageId"> & ReplyParams) => Promise<MessageDocument>;
48
48
  /** Reply the received message with a location. */
49
- replyLocation: (latitude: number, longitude: number, params?: Omit<SendLocationParams, "replyToMessageId"> & ReplyParams) => Promise<With<Message, "location">>;
49
+ replyLocation: (latitude: number, longitude: number, params?: Omit<SendLocationParams, "replyToMessageId"> & ReplyParams) => Promise<MessageLocation>;
50
50
  /** Reply the received message with a dice. */
51
- replyDice: (params?: Omit<SendDiceParams, "replyToMessageId"> & ReplyParams) => Promise<With<Message, "dice">>;
51
+ replyDice: (params?: Omit<SendDiceParams, "replyToMessageId"> & ReplyParams) => Promise<MessageDice>;
52
52
  /** Reply the received message with a venue. */
53
- replyVenue: (latitude: number, longitude: number, title: string, address: string, params?: Omit<SendVenueParams, "replyToMessageId"> & ReplyParams) => Promise<With<Message, "venue">>;
53
+ replyVenue: (latitude: number, longitude: number, title: string, address: string, params?: Omit<SendVenueParams, "replyToMessageId"> & ReplyParams) => Promise<MessageVenue>;
54
54
  /** Reply the received message with a contact. */
55
- replyContact: (firstName: string, number: string, params?: Omit<SendContactParams, "replyToMessageId"> & ReplyParams) => Promise<With<Message, "contact">>;
55
+ replyContact: (firstName: string, number: string, params?: Omit<SendContactParams, "replyToMessageId"> & ReplyParams) => Promise<MessageContact>;
56
56
  /** Reply the received message with a video. */
57
- replyVideo: (video: FileSource, params?: Omit<SendVideoParams, "replyToMessageId"> & ReplyParams) => Promise<With<Message, "video">>;
57
+ replyVideo: (video: FileSource, params?: Omit<SendVideoParams, "replyToMessageId"> & ReplyParams) => Promise<MessageVideo>;
58
58
  /** Reply the received message with an animation. */
59
- replyAnimation: (animation: FileSource, params?: Omit<SendAnimationParams, "replyToMessageId"> & ReplyParams) => Promise<With<Message, "animation">>;
59
+ replyAnimation: (animation: FileSource, params?: Omit<SendAnimationParams, "replyToMessageId"> & ReplyParams) => Promise<MessageAnimation>;
60
60
  /** Reply the received message with a voice message. */
61
- replyVoice: (voice: FileSource, params?: Omit<SendVoiceParams, "replyToMessageId"> & ReplyParams) => Promise<With<Message, "voice">>;
61
+ replyVoice: (voice: FileSource, params?: Omit<SendVoiceParams, "replyToMessageId"> & ReplyParams) => Promise<MessageVoice>;
62
62
  /** Reply the received message with an audio file. */
63
- replyAudio: (audio: FileSource, params?: Omit<SendAudioParams, "replyToMessageId"> & ReplyParams) => Promise<With<Message, "audio">>;
63
+ replyAudio: (audio: FileSource, params?: Omit<SendAudioParams, "replyToMessageId"> & ReplyParams) => Promise<MessageAudio>;
64
64
  /** Reply the received message with a video note. */
65
- replyVideoNote: (videoNote: FileSource, params?: Omit<SendVideoNoteParams, "replyToMessageId"> & ReplyParams) => Promise<With<Message, "videoNote">>;
65
+ replyVideoNote: (videoNote: FileSource, params?: Omit<SendVideoNoteParams, "replyToMessageId"> & ReplyParams) => Promise<MessageVideoNote>;
66
66
  /** Delete the received message. */
67
67
  delete: () => Promise<void>;
68
68
  /** Forward the received message. */
@@ -72,15 +72,15 @@ export interface Context extends Update {
72
72
  messageThreadId?: number;
73
73
  }) => Promise<void>;
74
74
  /** Edit a message in the chat which the message was received from. */
75
- editMessageText: (messageId: number, text: string, params?: EditMessageParams) => Promise<With<Message, "text">>;
75
+ editMessageText: (messageId: number, text: string, params?: EditMessageParams) => Promise<MessageText>;
76
76
  /** Answer the received callback query. */
77
77
  answerCallbackQuery: (params?: AnswerCallbackQueryParams) => Promise<void>;
78
78
  /** Answer the received inline query. */
79
79
  answerInlineQuery: (results: InlineQueryResult[], params?: AnswerInlineQueryParams) => Promise<void>;
80
80
  /** Retrieve a single message of the chat which the message was received from. */
81
- getMessage: (messageId: number) => Promise<Omit<Message, "replyToMessage"> | null>;
81
+ getMessage: (messageId: number) => Promise<Message | null>;
82
82
  /** Retrieve multiple messages of the chat which the message was received from. */
83
- getMessages: (messageIds: number[]) => Promise<Omit<Message, "replyToMessage">[]>;
83
+ getMessages: (messageIds: number[]) => Promise<Message[]>;
84
84
  /** Forward a message of the chat which the message was received from. */
85
85
  forwardMessage: (to: ChatID, messageId: number, params?: ForwardMessagesParams) => Promise<Message>;
86
86
  /** Forward multiple messages of the chat which the message was received from. */
@@ -89,6 +89,10 @@ export interface Context extends Update {
89
89
  deleteMessage: (messageId: number, params?: DeleteMessagesParams) => Promise<void>;
90
90
  /** Delete multiple messages in the chat which the message was received from. */
91
91
  deleteMessages: (messageIds: number[], params?: DeleteMessagesParams) => Promise<void>;
92
+ /** Set the available reactions of the chat which the message was received from. */
93
+ setAvailableReactions: (availableReactions: "none" | "all" | Reaction[]) => Promise<void>;
94
+ /** Add a reaction to a message of the chat which the message was received from. */
95
+ addReaction: (messageId: number, reaction: Reaction, params?: AddReactionParams) => Promise<void>;
92
96
  toJSON: () => Update;
93
97
  }
94
98
  export declare function skipInvoke<C extends Context>(): InvokeErrorHandler<Client<C>>;
@@ -185,7 +189,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
185
189
  * @param text The message's text.
186
190
  * @returns The sent text message.
187
191
  */
188
- sendMessage(chatId: ChatID, text: string, params?: SendMessageParams): Promise<With<Message, "text">>;
192
+ sendMessage(chatId: ChatID, text: string, params?: SendMessageParams): Promise<MessageText>;
189
193
  /**
190
194
  * Edit a message's text.
191
195
  *
@@ -195,7 +199,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
195
199
  * @param text The new text of the message.
196
200
  * @returns The edited text message.
197
201
  */
198
- editMessageText(chatId: ChatID, messageId: number, text: string, params?: EditMessageParams): Promise<With<Message, "text">>;
202
+ editMessageText(chatId: ChatID, messageId: number, text: string, params?: EditMessageParams): Promise<MessageText>;
199
203
  /**
200
204
  * Retrieve multiple messages.
201
205
  *
@@ -207,7 +211,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
207
211
  * ```
208
212
  * @returns The retrieved messages.
209
213
  */
210
- getMessages(chatId: ChatID, messageIds: number[]): Promise<Omit<Message, "replyToMessage">[]>;
214
+ getMessages(chatId: ChatID, messageIds: number[]): Promise<Message[]>;
211
215
  private [getMessageWithReply];
212
216
  /**
213
217
  * Retrieve a single message.
@@ -220,7 +224,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
220
224
  * ```
221
225
  * @returns The retrieved message.
222
226
  */
223
- getMessage(chatId: ChatID, messageId: number): Promise<Omit<Message, "replyToMessage"> | null>;
227
+ getMessage(chatId: ChatID, messageId: number): Promise<Message | null>;
224
228
  /**
225
229
  * Download a file.
226
230
  *
@@ -277,7 +281,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
277
281
  * @param options The poll's options.
278
282
  * @returns The sent poll.
279
283
  */
280
- sendPoll(chatId: ChatID, question: string, options: [string, string, ...string[]], params?: SendPollParams): Promise<With<Message, "poll">>;
284
+ sendPoll(chatId: ChatID, question: string, options: [string, string, ...string[]], params?: SendPollParams): Promise<MessagePoll>;
281
285
  /**
282
286
  * Send a chat action.
283
287
  *
@@ -319,11 +323,11 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
319
323
  branch(predicate: (ctx: C) => MaybePromise<boolean>, trueHandler_: Middleware<C>, falseHandler_: Middleware<C>): Composer<C>;
320
324
  filter<D extends C>(predicate: (ctx: C) => ctx is D, ...middleware: Middleware<D>[]): Composer<D>;
321
325
  filter(predicate: (ctx: C) => MaybePromise<boolean>, ...middleware: Middleware<C>[]): Composer<C>;
322
- on<T extends keyof Update, F extends string>(filter: T extends FilterableUpdates ? T | [T, F, ...F[]] : T, ...middleawre: Middleware<FilterUpdate<C, T, F>>[]): Composer<FilterUpdate<C, T, F>>;
326
+ on<T extends keyof Update, F extends string, K extends keyof MessageTypes | null = null>(filter: T extends MessageUpdates ? T | [T, K, ...F[]] : T, ...middleawre: Middleware<FilterUpdate<C, T, F, K extends keyof MessageTypes ? MessageTypes[K] : C[T]>>[]): Composer<FilterUpdate<C, T, F, K extends keyof MessageTypes ? MessageTypes[K] : C[T]>>;
323
327
  command(commands: string | RegExp | (string | RegExp)[] | {
324
328
  names: string | RegExp | (string | RegExp)[];
325
329
  prefixes: string | string[];
326
- }, ...middleawre: Middleware<FilterUpdate<C, "message", "text">>[]): Composer<FilterUpdate<C, "message", "text">>;
330
+ }, ...middleawre: Middleware<FilterUpdate<C, "message", "text">>[]): Composer<FilterUpdate<C, "message", string, MessageText>>;
327
331
  /**
328
332
  * Set the bot's description in the given language. Bot-only.
329
333
  *
@@ -398,7 +402,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
398
402
  * @param chatId The chat to send the photo to.
399
403
  * @param photo The photo to send.
400
404
  */
401
- sendPhoto(chatId: ChatID, photo: FileSource, params?: SendPhotoParams): Promise<With<Message, "photo">>;
405
+ sendPhoto(chatId: ChatID, photo: FileSource, params?: SendPhotoParams): Promise<MessagePhoto>;
402
406
  /**
403
407
  * Send a document.
404
408
  *
@@ -406,7 +410,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
406
410
  * @param chatId The chat to send the document to.
407
411
  * @param document The document to send.
408
412
  */
409
- sendDocument(chatId: ChatID, document: FileSource, params?: SendDocumentParams): Promise<With<Message, "document">>;
413
+ sendDocument(chatId: ChatID, document: FileSource, params?: SendDocumentParams): Promise<MessageDocument>;
410
414
  /**
411
415
  * Send a video.
412
416
  *
@@ -414,7 +418,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
414
418
  * @param chatId The chat to send the video to.
415
419
  * @param video The video to send.
416
420
  */
417
- sendVideo(chatId: ChatID, video: FileSource, params?: SendVideoParams): Promise<With<Message, "video">>;
421
+ sendVideo(chatId: ChatID, video: FileSource, params?: SendVideoParams): Promise<MessageVideo>;
418
422
  /**
419
423
  * Send an animation.
420
424
  *
@@ -422,7 +426,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
422
426
  * @param chatId The chat to send the animation to.
423
427
  * @param animation The animation to send.
424
428
  */
425
- sendAnimation(chatId: ChatID, animation: FileSource, params?: SendAnimationParams): Promise<With<Message, "animation">>;
429
+ sendAnimation(chatId: ChatID, animation: FileSource, params?: SendAnimationParams): Promise<MessageAnimation>;
426
430
  /**
427
431
  * Send a voice message.
428
432
  *
@@ -430,7 +434,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
430
434
  * @param chatId The chat to send the voice message to.
431
435
  * @param voice The voice to send.
432
436
  */
433
- sendVoice(chatId: ChatID, voice: FileSource, params?: SendVoiceParams): Promise<With<Message, "voice">>;
437
+ sendVoice(chatId: ChatID, voice: FileSource, params?: SendVoiceParams): Promise<MessageVoice>;
434
438
  /**
435
439
  * Send an audio file.
436
440
  *
@@ -438,7 +442,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
438
442
  * @param chatId The chat to send the audio file to.
439
443
  * @param audio The audio to send.
440
444
  */
441
- sendAudio(chatId: ChatID, audio: FileSource, params?: SendAudioParams): Promise<With<Message, "audio">>;
445
+ sendAudio(chatId: ChatID, audio: FileSource, params?: SendAudioParams): Promise<MessageAudio>;
442
446
  /**
443
447
  * Send a video note.
444
448
  *
@@ -446,7 +450,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
446
450
  * @param chatId The chat to send the video note to.
447
451
  * @param videoNote The video note to send.
448
452
  */
449
- sendVideoNote(chatId: ChatID, audio: FileSource, params?: SendVideoNoteParams): Promise<With<Message, "videoNote">>;
453
+ sendVideoNote(chatId: ChatID, audio: FileSource, params?: SendVideoNoteParams): Promise<MessageVideoNote>;
450
454
  /**
451
455
  * Send a location.
452
456
  *
@@ -455,7 +459,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
455
459
  * @param latitude The location's latitude.
456
460
  * @param longitude The location's longitude.
457
461
  */
458
- sendLocation(chatId: ChatID, latitude: number, longitude: number, params?: SendLocationParams): Promise<With<Message, "location">>;
462
+ sendLocation(chatId: ChatID, latitude: number, longitude: number, params?: SendLocationParams): Promise<MessageLocation>;
459
463
  /**
460
464
  * Send a contact.
461
465
  *
@@ -464,14 +468,14 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
464
468
  * @param firstName The contact's first name.
465
469
  * @param number The contact's phone number.
466
470
  */
467
- sendContact(chatId: ChatID, firstName: string, number: string, params?: SendContactParams): Promise<With<Message, "contact">>;
471
+ sendContact(chatId: ChatID, firstName: string, number: string, params?: SendContactParams): Promise<MessageContact>;
468
472
  /**
469
473
  * Send a dice.
470
474
  *
471
475
  * @method
472
476
  * @param chatId The chat to send the dice to.
473
477
  */
474
- sendDice(chatId: ChatID, params?: SendDiceParams): Promise<With<Message, "dice">>;
478
+ sendDice(chatId: ChatID, params?: SendDiceParams): Promise<MessageDice>;
475
479
  /**
476
480
  * Send a venue.
477
481
  *
@@ -482,7 +486,7 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
482
486
  * @param title The title of the venue.
483
487
  * @param address The written address of the venue.
484
488
  */
485
- sendVenue(chatId: ChatID, latitude: number, longitude: number, title: string, address: string, params?: SendVenueParams): Promise<With<Message, "dice">>;
489
+ sendVenue(chatId: ChatID, latitude: number, longitude: number, title: string, address: string, params?: SendVenueParams): Promise<MessageVenue>;
486
490
  /**
487
491
  * Get network statistics. This might not always be available.
488
492
  *
@@ -515,5 +519,21 @@ export declare class Client<C extends Context = Context> extends ClientAbstract
515
519
  * @method
516
520
  */
517
521
  getCustomEmojiDocuments(id: string | string[]): Promise<Document[]>;
522
+ /**
523
+ * Set a chat's available reactions.
524
+ *
525
+ * @param chatId The identifier of the chat.
526
+ * @param availableReactions The new available reactions.
527
+ * @method
528
+ */
529
+ setAvailableReactions(chatId: ChatID, availableReactions: "none" | "all" | Reaction[]): Promise<void>;
530
+ /**
531
+ * Add a reaction to a message.
532
+ *
533
+ * @param chatId The identifier of the chat which the message belongs to.
534
+ * @param messageId The identifier of the message to add the reaction to.
535
+ * @param reaction The reaction to add.
536
+ */
537
+ addReaction(chatId: number, messageId: number, reaction: Reaction, params?: AddReactionParams): Promise<void>;
518
538
  }
519
539
  export {};