@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
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.constructMessageReaction = void 0;
4
+ const _1_utilities_js_1 = require("../1_utilities.js");
5
+ const _2_tl_js_1 = require("../2_tl.js");
6
+ const _0_reaction_js_1 = require("./0_reaction.js");
7
+ function constructMessageReaction(reaction_, recentReactions) {
8
+ const choosers = recentReactions
9
+ .filter((v) => {
10
+ if (reaction_.reaction instanceof _2_tl_js_1.types.ReactionEmoji) {
11
+ return v.reaction instanceof _2_tl_js_1.types.ReactionEmoji && v.reaction.emoticon == reaction_.reaction.emoticon;
12
+ }
13
+ else if (reaction_.reaction instanceof _2_tl_js_1.types.ReactionCustomEmoji) {
14
+ return v.reaction instanceof _2_tl_js_1.types.ReactionCustomEmoji && v.reaction.document_id == reaction_.reaction.document_id;
15
+ }
16
+ else {
17
+ (0, _1_utilities_js_1.UNREACHABLE)();
18
+ }
19
+ })
20
+ .map((v) => (0, _2_tl_js_1.peerToChatId)(v.peer_id));
21
+ const reaction = (0, _0_reaction_js_1.constructReaction)(reaction_.reaction);
22
+ const count = reaction_.count;
23
+ const chosen = reaction_.chosen_order !== undefined ? true : false;
24
+ return { reaction, count, choosers, chosen };
25
+ }
26
+ exports.constructMessageReaction = constructMessageReaction;
@@ -0,0 +1,8 @@
1
+ import { enums } from "../2_tl.js";
2
+ import { MessageEntity } from "./0_message_entity.js";
3
+ export interface ReplyQuote {
4
+ offset: number;
5
+ text: string;
6
+ entities: MessageEntity[];
7
+ }
8
+ export declare function constructReplyQuote(quoteText: string | undefined, quoteOffset: number | undefined, quoteEntities: enums.MessageEntity[] | undefined): ReplyQuote;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.constructReplyQuote = void 0;
4
+ const _0_message_entity_js_1 = require("./0_message_entity.js");
5
+ function constructReplyQuote(quoteText, quoteOffset, quoteEntities) {
6
+ quoteText ??= "";
7
+ quoteOffset ??= 0;
8
+ quoteEntities ??= [];
9
+ return {
10
+ offset: quoteOffset,
11
+ text: quoteText,
12
+ entities: quoteEntities.map(_0_message_entity_js_1.constructMessageEntity).filter((v) => !!v),
13
+ };
14
+ }
15
+ exports.constructReplyQuote = constructReplyQuote;
@@ -1,5 +1,5 @@
1
1
  import { types } from "../2_tl.js";
2
- import { ChatPhoto } from "./0_chat_photo.js";
2
+ import { ChatPhotoUser } from "./0_chat_photo.js";
3
3
  /** This object represents a Telegram user or bot. */
4
4
  export interface User {
5
5
  /** Unique identifier for this user or bot */
@@ -17,7 +17,7 @@ export interface User {
17
17
  /** Additional usernames */
18
18
  also?: string[];
19
19
  /** The user's photo. */
20
- photo?: ChatPhoto.User;
20
+ photo?: ChatPhotoUser;
21
21
  /** [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) of the user's language */
22
22
  languageCode?: string;
23
23
  /** True, if the user is a scam user */
@@ -2,44 +2,51 @@ import { enums } from "../2_tl.js";
2
2
  import { LoginUrl } from "./0_login_url.js";
3
3
  import { WebAppInfo } from "./0_web_app_info.js";
4
4
  import { UsernameResolver } from "./1__getters.js";
5
- export declare namespace InlineKeyboardButton {
6
- interface Base {
7
- /** Label text on the button */
8
- text: string;
9
- }
10
- interface URL extends Base {
11
- /** HTTP or tg:// URL to be opened when the button is pressed. Links `tg://user?id=<user_id>` can be used to mention a user by their ID without using a username, if this is allowed by their privacy settings. */
12
- url: string;
13
- }
14
- interface Callback extends Base {
15
- /** Data to be sent in a callback query to the bot when button is pressed, 1-64 bytes */
16
- callbackData: string;
17
- }
18
- interface WebApp extends Base {
19
- /** Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery. Available only in private chats between a user and the bot. */
20
- webApp: WebAppInfo;
21
- }
22
- interface Login extends Base {
23
- /** An HTTPS URL used to automatically authorize the user. Can be used as a replacement for the [Telegram Login Widget](https://core.telegram.org/widgets/login). */
24
- loginUrl: LoginUrl;
25
- }
26
- interface SwitchInline extends Base {
27
- /** If set, pressing the button will prompt the user to select one of their chats, open that chat and insert the bot's username and the specified inline query in the input field. May be empty, in which case just the bot's username will be inserted. */
28
- switchInlineQuery: string;
29
- }
30
- interface SwitchInlineCurrent extends Base {
31
- /** If set, pressing the button will insert the bot's username and the specified inline query in the current chat's input field. May be empty, in which case only the bot's username will be inserted. */
32
- switchInlineQueryCurrentChat: string;
33
- }
34
- interface Game extends Base {
35
- callbackGame: Record<never, never>;
36
- }
37
- interface Pay extends Base {
38
- /** Specify True to send a Pay button */
39
- pay: boolean;
40
- }
5
+ /** @unlisted */
6
+ export interface InlineKeyboardButtonBase {
7
+ /** Label text on the button */
8
+ text: string;
9
+ }
10
+ /** @unlisted */
11
+ export interface InlineKeyboardButtonURL extends InlineKeyboardButtonBase {
12
+ /** HTTP or tg:// URL to be opened when the button is pressed. Links `tg://user?id=<user_id>` can be used to mention a user by their ID without using a username, if this is allowed by their privacy settings. */
13
+ url: string;
14
+ }
15
+ /** @unlisted */
16
+ export interface InlineKeyboardButtonCallback extends InlineKeyboardButtonBase {
17
+ /** Data to be sent in a callback query to the bot when button is pressed, 1-64 bytes */
18
+ callbackData: string;
19
+ }
20
+ /** @unlisted */
21
+ export interface InlineKeyboardButtonWebApp extends InlineKeyboardButtonBase {
22
+ /** Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery. Available only in private chats between a user and the bot. */
23
+ webApp: WebAppInfo;
24
+ }
25
+ /** @unlisted */
26
+ export interface InlineKeyboardButtonLogin extends InlineKeyboardButtonBase {
27
+ /** An HTTPS URL used to automatically authorize the user. Can be used as a replacement for the [Telegram Login Widget](https://core.telegram.org/widgets/login). */
28
+ loginUrl: LoginUrl;
29
+ }
30
+ /** @unlisted */
31
+ export interface InlineKeyboardButtonSwitchInline extends InlineKeyboardButtonBase {
32
+ /** If set, pressing the button will prompt the user to select one of their chats, open that chat and insert the bot's username and the specified inline query in the input field. May be empty, in which case just the bot's username will be inserted. */
33
+ switchInlineQuery: string;
34
+ }
35
+ /** @unlisted */
36
+ export interface InlineKeyboardButtonSwitchInlineCurrent extends InlineKeyboardButtonBase {
37
+ /** If set, pressing the button will insert the bot's username and the specified inline query in the current chat's input field. May be empty, in which case only the bot's username will be inserted. */
38
+ switchInlineQueryCurrentChat: string;
39
+ }
40
+ /** @unlisted */
41
+ export interface InlineKeyboardButtonGame extends InlineKeyboardButtonBase {
42
+ callbackGame: Record<never, never>;
43
+ }
44
+ /** @unlisted */
45
+ export interface InlineKeyboardButtonPay extends InlineKeyboardButtonBase {
46
+ /** Specify True to send a Pay button */
47
+ pay: boolean;
41
48
  }
42
49
  /** This object represents one button of an inline keyboard. You **must** use exactly one of the optional fields. */
43
- export type InlineKeyboardButton = InlineKeyboardButton.URL | InlineKeyboardButton.Callback | InlineKeyboardButton.WebApp | InlineKeyboardButton.Login | InlineKeyboardButton.SwitchInline | InlineKeyboardButton.SwitchInlineCurrent | InlineKeyboardButton.Game | InlineKeyboardButton.Pay;
50
+ export type InlineKeyboardButton = InlineKeyboardButtonURL | InlineKeyboardButtonCallback | InlineKeyboardButtonWebApp | InlineKeyboardButtonLogin | InlineKeyboardButtonSwitchInline | InlineKeyboardButtonSwitchInlineCurrent | InlineKeyboardButtonGame | InlineKeyboardButtonPay;
44
51
  export declare function constructInlineKeyboardButton(button_: enums.KeyboardButton): InlineKeyboardButton;
45
52
  export declare function inlineKeyboardButtonToTlObject(button: InlineKeyboardButton, usernameResolver: UsernameResolver): Promise<import("../tl/2_types.js").KeyboardButtonUrl_ | import("../tl/2_types.js").KeyboardButtonCallback_ | import("../tl/2_types.js").KeyboardButtonSwitchInline_ | import("../tl/2_types.js").KeyboardButtonBuy_ | import("../tl/2_types.js").InputKeyboardButtonUrlAuth_ | import("../tl/2_types.js").KeyboardButtonWebView_>;
@@ -13,168 +13,227 @@ import { EntityGetter } from "./1__getters.js";
13
13
  import { Animation } from "./1_animation.js";
14
14
  import { ChatP } from "./1_chat_p.js";
15
15
  import { Document } from "./1_document.js";
16
+ import { ReplyQuote } from "./1_reply_quote.js";
16
17
  import { Photo } from "./1_photo.js";
17
18
  import { Poll } from "./1_poll.js";
18
19
  import { Sticker, StickerSetNameGetter } from "./1_sticker.js";
19
20
  import { User } from "./1_user.js";
20
21
  import { VideoNote } from "./1_video_note.js";
21
22
  import { Video } from "./1_video.js";
23
+ import { MessageReaction } from "./1_message_reaction.js";
24
+ import { Giveaway } from "./1_giveaway.js";
22
25
  import { Game } from "./2_game.js";
23
26
  import { ReplyKeyboardMarkup } from "./2_reply_keyboard_markup.js";
24
27
  import { InlineKeyboardMarkup } from "./3_inline_keyboard_markup.js";
25
- /** This object represents a message. */
26
- export interface Message {
27
- /** Whether the message is outgoing */
28
+ /** Properties shared between all message types. */
29
+ export interface MessageBase {
28
30
  out: boolean;
29
- /** Unique message identifier inside this chat */
30
31
  id: number;
31
- /** Unique identifier of a message thread to which the message belongs; for supergroups only */
32
32
  threadId?: number;
33
- /** Sender of the message; empty for messages sent to channels. For backward compatibility, the field contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat. */
34
33
  from?: User;
35
- /** Sender of the message, sent on behalf of a chat. For example, the channel itself for channel posts, the supergroup itself for messages from anonymous group administrators, the linked channel for messages automatically forwarded to the discussion group. For backward compatibility, the field from contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat. */
36
34
  senderChat?: ChatP;
37
- /** Date the message was sent in Unix time */
38
35
  date: Date;
39
- /** Conversation the message belongs to */
40
36
  chat: ChatP;
41
- /** A link to the message */
42
37
  link?: string;
43
- /** For forwarded messages, sender of the original message */
44
38
  forwardFrom?: User;
45
- /** For messages forwarded from channels or from anonymous administrators, information about the original sender chat */
46
39
  forwardFromChat?: ChatP;
47
- /** For messages forwarded from channels, identifier of the original message in the channel */
48
40
  forwardId?: number;
49
- /** For forwarded messages that were originally sent in channels or by an anonymous chat administrator, signature of the message sender if present */
50
41
  forwardSignature?: string;
51
- /** Sender's name for messages forwarded from users who disallow adding a link to their account in forwarded messages */
52
42
  forwardSenderName?: string;
53
- /** For forwarded messages, date the original message was sent in Unix time */
54
43
  forwardDate?: Date;
55
- /** True, if the message is sent to a forum topic */
56
44
  isTopicMessage: boolean;
57
- /** True, if the message is a channel post that was automatically forwarded to the connected discussion group */
58
45
  isAutomaticForward?: boolean;
59
- /** For replies, the original message. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply. */
60
- replyToMessage?: Omit<Message, "replyToMessage">;
46
+ replyToMessage?: Message;
61
47
  replyToMessageId?: number;
62
- /** Bot through which the message was sent */
48
+ reactions?: MessageReaction[];
49
+ replyQuote?: ReplyQuote;
63
50
  viaBot?: User;
64
- /** Date the message was last edited in Unix time */
65
51
  editDate?: Date;
66
- /** True, if the message can't be forwarded */
67
52
  hasProtectedContent?: boolean;
68
- /** The unique identifier of a media message group this message belongs to */
69
53
  mediaGroupId?: string;
70
- /** Signature of the post author for messages in channels, or the custom title of an anonymous group administrator */
71
54
  authorSignature?: string;
72
- /** For text messages, the actual UTF-8 text of the message */
73
- text?: string;
74
- /** For text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text */
75
- entities?: MessageEntity[];
76
- /** Caption for the animation, audio, document, photo, video or voice */
55
+ views?: number;
56
+ replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
57
+ }
58
+ /** Properties shared between media message types. */
59
+ export interface MessageMediaBase extends MessageBase {
77
60
  caption?: string;
78
- /** For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption */
79
61
  captionEntities?: MessageEntity[];
80
- /** True, if the message media is covered by a spoiler animation */
81
62
  hasMediaSpoiler?: boolean;
82
- /** View count for channel posts */
83
- views?: number;
84
- /** Inline keyboard attached to the message. `login_url` buttons are represented as ordinary `url` buttons. */
85
- replyMarkup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
86
- /** Message is a photo, available sizes of the photo */
87
- photo?: Photo;
88
- /** Message is a general file, information about the file */
89
- document?: Document;
90
- /** Message is a video, information about the video */
91
- video?: Video;
92
- /** Message is a sticker, information about the sticker */
93
- sticker?: Sticker;
94
- /** Message is an animation, information about the animation. For backward compatibility, when this field is set, the document field will also be set */
95
- animation?: Animation;
96
- /** Message is a voice message, information about the file */
97
- voice?: Voice;
98
- /** Message is an audio file, information about the file */
99
- audio?: Audio;
100
- /** Message is a dice with random value */
101
- dice?: Dice;
102
- /** Message is a [video note](https://telegram.org/blog/video-messages-and-telescope), information about the video message */
103
- videoNote?: VideoNote;
104
- /** Message is a shared contact, information about the contact */
105
- contact?: Contact;
106
- /** Message is a game, information about the game. */
107
- game?: Game;
108
- /** New poll state. Bots receive only updates about stopped polls and polls, which were sent by the bot. */
109
- poll?: Poll;
110
- /** Message is a venue, information about the venue. For backward compatibility, when this field is set, the location field will also be set */
111
- venue?: Venue;
112
- /** Message is a shared location, information about the location */
113
- location?: Location;
114
- /** New members that were added to the group or supergroup and information about them (the bot itself may be one of these members) */
115
- newChatMembers?: User[];
116
- /** A member was removed from the group, information about them (this member may be the bot itself) */
117
- leftChatMember?: User;
118
- /** A chat title was changed to this value */
119
- newChatTitle?: string;
120
- /** A chat photo was change to this value */
121
- newChatPhoto?: Photo;
122
- /** Service message: the chat photo was deleted */
123
- deletedChatPhoto?: true;
124
- /** Service message: the group has been created */
125
- groupCreated?: true;
126
- /** Service message: the supergroup has been created. This field can't be received in a message coming through updates, because bot can't be a member of a supergroup when it is created. It can only be found in reply_to_message if someone replies to a very first message in a directly created supergroup. */
127
- supergroupCreated?: true;
128
- /** Service message: the channel has been created. This field can't be received in a message coming through updates, because bot can't be a member of a channel when it is created. It can only be found in reply_to_message if someone replies to a very first message in a channel. */
129
- channelCreated?: true;
130
- /** Service message: auto-delete timer settings changed in the chat */
131
- messageAutoDeleteTimerChanged?: {
132
- messageAutoDeleteTime: number;
133
- };
134
- /** The group has been migrated to a supergroup with the specified identifier */
135
- chatMigratedTo?: number;
136
- /** The supergroup has been migrated from a group with the specified identifier */
137
- chatMigratedFrom?: number;
138
- /** Specified message was pinned. Note that the Message object in this field will not contain further reply_to_message fields even if it is itself a reply. */
139
- pinnedMessage?: Message;
140
- /** Service message: a user was shared with the bot */
141
- userShared?: {
63
+ }
64
+ export interface MessageText extends MessageBase {
65
+ text: string;
66
+ entities: MessageEntity[];
67
+ }
68
+ export interface MessagePhoto extends MessageMediaBase {
69
+ photo: Photo;
70
+ }
71
+ export interface MessageDocument extends MessageMediaBase {
72
+ document: Document;
73
+ }
74
+ export interface MessageVideo extends MessageMediaBase {
75
+ video: Video;
76
+ }
77
+ export interface MessageSticker extends MessageBase {
78
+ sticker: Sticker;
79
+ }
80
+ export interface MessageAnimation extends MessageMediaBase {
81
+ animation: Animation;
82
+ }
83
+ export interface MessageVoice extends MessageMediaBase {
84
+ voice: Voice;
85
+ }
86
+ export interface MessageAudio extends MessageMediaBase {
87
+ audio: Audio;
88
+ }
89
+ export interface MessageDice extends MessageBase {
90
+ dice: Dice;
91
+ }
92
+ export interface MessageVideoNote extends MessageBase {
93
+ videoNote: VideoNote;
94
+ }
95
+ export interface MessageContact extends MessageBase {
96
+ contact: Contact;
97
+ }
98
+ export interface MessageGame extends MessageBase {
99
+ game: Game;
100
+ }
101
+ export interface MessagePoll extends MessageBase {
102
+ poll: Poll;
103
+ }
104
+ export interface MessageVenue extends MessageBase {
105
+ venue: Venue;
106
+ }
107
+ export interface MessageLocation extends MessageBase {
108
+ location: Location;
109
+ }
110
+ export interface MessageNewChatMembers extends MessageBase {
111
+ newChatMembers: User[];
112
+ }
113
+ export interface MessageLeftChatMember extends MessageBase {
114
+ leftChatMember: User;
115
+ }
116
+ export interface MessageNewChatTitle extends MessageBase {
117
+ newChatTitle: string;
118
+ }
119
+ export interface MessageNewChatPhoto extends MessageBase {
120
+ newChatPhoto: Photo;
121
+ }
122
+ export interface MessageDeletedChatPhoto extends MessageBase {
123
+ deletedChatPhoto: true;
124
+ }
125
+ export interface MessageGroupCreated extends MessageBase {
126
+ groupCreated: true;
127
+ newChatMembers: User[];
128
+ }
129
+ export interface MessageSupergroupCreated extends MessageBase {
130
+ supergroupCreated: true;
131
+ }
132
+ export interface MessageChannelCreated extends MessageBase {
133
+ channelCreated: true;
134
+ }
135
+ export interface MessageAutoDeleteTimerChanged extends MessageBase {
136
+ newAutoDeleteTime: number;
137
+ }
138
+ export interface MessageChatMigratedTo extends MessageBase {
139
+ chatMigratedTo: number;
140
+ }
141
+ export interface MessageChatMigratedFrom extends MessageBase {
142
+ chatMigratedFrom: number;
143
+ }
144
+ export interface MessagePinnedMessage extends MessageBase {
145
+ pinnedMessage: Message;
146
+ }
147
+ export interface MessageUserShared extends MessageBase {
148
+ userShared: {
142
149
  requestId: number;
143
150
  userId: number;
144
151
  };
145
- /** Service message: the user allowed the bot added to the attachment menu to write messages */
146
- writeAccessAllowed?: {
152
+ }
153
+ export interface MessageWriteAccessAllowed extends MessageBase {
154
+ writeAccessAllowed: {
147
155
  webAppName?: string;
148
156
  };
149
- /** Service message: forum topic created */
150
- forumTopicCreated?: {
157
+ }
158
+ export interface MessageForumTopicCreated extends MessageBase {
159
+ forumTopicCreated: {
151
160
  name: string;
152
161
  iconColor: string;
153
162
  iconCutsomEmojiId?: string;
154
163
  };
155
- /** Service message: forum topic edited */
156
- forumTopicEdited?: {
157
- name?: string;
164
+ }
165
+ export interface MessageForumTopicEdited extends MessageBase {
166
+ forumTopicEdited: {
167
+ name: string;
158
168
  iconCutsomEmojiId?: string;
159
169
  };
160
- /** Service message: forum topic closed */
161
- forumTopicClosed?: Record<never, never>;
162
- /** Service message: forum topic reopened */
163
- forumTopicReopened?: Record<never, never>;
164
- /** Service message: video chat scheduled */
165
- videoChatScheduled?: {
170
+ }
171
+ export interface MessageForumTopicClosed extends MessageBase {
172
+ forumTopicClosed: true;
173
+ }
174
+ export interface MessageForumTopicReopened extends MessageBase {
175
+ forumTopicReopened: true;
176
+ }
177
+ export interface MessageVideoChatScheduled extends MessageBase {
178
+ videoChatScheduled: {
166
179
  startDate: Date;
167
180
  };
168
- /** Service message: video chat started */
169
- videoChatStarted?: Record<never, never>;
170
- /** Service message: video chat ended */
171
- videoChatEnded?: {
181
+ }
182
+ export interface MessageVideoChatStarted extends MessageBase {
183
+ videoChatStarted: true;
184
+ }
185
+ export interface MessageVideoChatEnded extends MessageBase {
186
+ videoChatEnded: {
172
187
  duration: number;
173
188
  };
174
189
  }
175
- export interface MessageGetter<O extends keyof Message | null = null> {
176
- (chatId: number, messageId: number): MaybePromise<(O extends keyof Message ? Omit<Message, O> : Message) | null>;
190
+ export interface MessageGiveaway extends MessageBase {
191
+ giveaway: Giveaway;
192
+ }
193
+ export interface MessageTypes {
194
+ text: MessageText;
195
+ photo: MessagePhoto;
196
+ document: MessageDocument;
197
+ video: MessageVideo;
198
+ sticker: MessageSticker;
199
+ animation: MessageAnimation;
200
+ voice: MessageVoice;
201
+ audio: MessageAudio;
202
+ dice: MessageDice;
203
+ videoNote: MessageVideoNote;
204
+ contact: MessageContact;
205
+ game: MessageGame;
206
+ poll: MessagePoll;
207
+ venue: MessageVenue;
208
+ location: MessageLocation;
209
+ newChatMembers: MessageNewChatMembers;
210
+ leftChatMember: MessageLeftChatMember;
211
+ newChatTitle: MessageNewChatTitle;
212
+ newChatPhoto: MessageNewChatPhoto;
213
+ deletedChatPhoto: MessageDeletedChatPhoto;
214
+ groupCreated: MessageGroupCreated;
215
+ supergroupCreated: MessageSupergroupCreated;
216
+ channelCreated: MessageChannelCreated;
217
+ newAutoDeleteTime: MessageAutoDeleteTimerChanged;
218
+ chatMigratedTo: MessageChatMigratedTo;
219
+ chatMigratedFrom: MessageChatMigratedFrom;
220
+ pinnedMessage: MessagePinnedMessage;
221
+ userShared: MessageUserShared;
222
+ writeAccessAllowed: MessageWriteAccessAllowed;
223
+ forumTopicCreated: MessageForumTopicCreated;
224
+ forumTopicEdited: MessageForumTopicEdited;
225
+ forumTopicClosed: MessageForumTopicClosed;
226
+ forumTopicReopened: MessageForumTopicReopened;
227
+ videoChatScheduled: MessageVideoChatScheduled;
228
+ videoChatStarted: MessageVideoChatStarted;
229
+ videoChatEnded: MessageVideoChatEnded;
230
+ giveaway: MessageGiveaway;
231
+ }
232
+ export declare function assertMessageType<T extends keyof MessageTypes>(message: Message, type: T): MessageTypes[T];
233
+ export type Message = MessageText | MessagePhoto | MessageDocument | MessageVideo | MessageSticker | MessageAnimation | MessageVoice | MessageAudio | MessageDice | MessageVideoNote | MessageContact | MessageGame | MessagePoll | MessageVenue | MessageLocation | MessageNewChatMembers | MessageLeftChatMember | MessageNewChatTitle | MessageNewChatPhoto | MessageDeletedChatPhoto | MessageGroupCreated | MessageSupergroupCreated | MessageChannelCreated | MessageAutoDeleteTimerChanged | MessageChatMigratedTo | MessageChatMigratedFrom | MessagePinnedMessage | MessageUserShared | MessageWriteAccessAllowed | MessageForumTopicCreated | MessageForumTopicEdited | MessageForumTopicClosed | MessageForumTopicReopened | MessageVideoChatScheduled | MessageVideoChatStarted | MessageVideoChatEnded | MessageGiveaway;
234
+ export interface MessageGetter {
235
+ (chatId: number, messageId: number): MaybePromise<Message | null>;
177
236
  }
178
- type Message_MessageGetter = MessageGetter<"replyToMessage"> | null;
237
+ type Message_MessageGetter = MessageGetter | null;
179
238
  export declare function constructMessage(message_: enums.Message, getEntity: EntityGetter, getMessage: Message_MessageGetter, getStickerSetName: StickerSetNameGetter, getReply_?: boolean): Promise<Message>;
180
239
  export {};