@mtkruto/node 0.1.130 → 0.1.132

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 (520) 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 +2 -0
  4. package/esm/3_types.js +2 -0
  5. package/esm/4_constants.d.ts +1 -1
  6. package/esm/4_constants.js +1 -1
  7. package/esm/client/0_utilities.d.ts +1 -1
  8. package/esm/client/3_types.d.ts +99 -134
  9. package/esm/client/5_client.d.ts +118 -4
  10. package/esm/client/5_client.js +379 -42
  11. package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/base64.d.ts +0 -13
  12. package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/base64.js +0 -13
  13. package/esm/deps/deno.land/std@0.210.0/path/common.d.ts +13 -0
  14. package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/extname.js +1 -1
  15. package/{script/deps/deno.land/std@0.209.0 → esm/deps/deno.land/std@0.210.0}/path/mod.d.ts +2 -2
  16. package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/mod.js +3 -1
  17. package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/separator.d.ts +1 -1
  18. package/esm/types/0_reaction.d.ts +11 -0
  19. package/esm/types/0_reaction.js +1 -0
  20. package/esm/types/1_reply_quote.d.ts +8 -0
  21. package/esm/types/1_reply_quote.js +11 -0
  22. package/esm/types/3_message.d.ts +2 -0
  23. package/esm/types/3_message.js +4 -0
  24. package/package.json +1 -1
  25. package/script/0_deps.d.ts +4 -4
  26. package/script/0_deps.js +5 -5
  27. package/script/3_types.d.ts +2 -0
  28. package/script/3_types.js +2 -0
  29. package/script/4_constants.d.ts +1 -1
  30. package/script/4_constants.js +1 -1
  31. package/script/client/0_utilities.d.ts +1 -1
  32. package/script/client/3_types.d.ts +99 -134
  33. package/script/client/5_client.d.ts +118 -4
  34. package/script/client/5_client.js +379 -42
  35. package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/base64.d.ts +0 -13
  36. package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/base64.js +1 -14
  37. package/script/deps/deno.land/std@0.210.0/path/common.d.ts +13 -0
  38. package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/extname.js +1 -1
  39. package/{esm/deps/deno.land/std@0.209.0 → script/deps/deno.land/std@0.210.0}/path/mod.d.ts +2 -2
  40. package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/mod.js +3 -1
  41. package/script/deps/deno.land/std@0.210.0/path/separator.d.ts +2 -0
  42. package/script/types/0_reaction.d.ts +11 -0
  43. package/script/types/0_reaction.js +2 -0
  44. package/script/types/1_reply_quote.d.ts +8 -0
  45. package/script/types/1_reply_quote.js +15 -0
  46. package/script/types/3_message.d.ts +2 -0
  47. package/script/types/3_message.js +4 -0
  48. package/script/deps/deno.land/std@0.209.0/path/posix/common.d.ts +0 -13
  49. package/script/deps/deno.land/std@0.209.0/path/separator.d.ts +0 -2
  50. package/script/deps/deno.land/std@0.209.0/path/windows/common.d.ts +0 -13
  51. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_constants.d.ts +0 -0
  52. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_constants.js +0 -0
  53. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_diff.d.ts +0 -0
  54. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_diff.js +0 -0
  55. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_format.d.ts +0 -0
  56. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_format.js +0 -0
  57. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert.d.ts +0 -0
  58. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert.js +0 -0
  59. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_almost_equals.d.ts +0 -0
  60. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_almost_equals.js +0 -0
  61. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_array_includes.d.ts +0 -0
  62. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_array_includes.js +0 -0
  63. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_equals.d.ts +0 -0
  64. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_equals.js +0 -0
  65. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_exists.d.ts +0 -0
  66. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_exists.js +0 -0
  67. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_false.d.ts +0 -0
  68. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_false.js +0 -0
  69. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater.d.ts +0 -0
  70. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater.js +0 -0
  71. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater_or_equal.d.ts +0 -0
  72. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater_or_equal.js +0 -0
  73. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_instance_of.d.ts +0 -0
  74. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_instance_of.js +0 -0
  75. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_is_error.d.ts +0 -0
  76. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_is_error.js +0 -0
  77. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less.d.ts +0 -0
  78. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less.js +0 -0
  79. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less_or_equal.d.ts +0 -0
  80. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less_or_equal.js +0 -0
  81. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_match.d.ts +0 -0
  82. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_match.js +0 -0
  83. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_equals.d.ts +0 -0
  84. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_equals.js +0 -0
  85. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_instance_of.d.ts +0 -0
  86. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_instance_of.js +0 -0
  87. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_match.d.ts +0 -0
  88. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_match.js +0 -0
  89. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_strict_equals.d.ts +0 -0
  90. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_strict_equals.js +0 -0
  91. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_object_match.d.ts +0 -0
  92. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_object_match.js +0 -0
  93. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_rejects.d.ts +0 -0
  94. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_rejects.js +0 -0
  95. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_strict_equals.d.ts +0 -0
  96. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_strict_equals.js +0 -0
  97. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_string_includes.d.ts +0 -0
  98. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_string_includes.js +0 -0
  99. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_throws.d.ts +0 -0
  100. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_throws.js +0 -0
  101. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assertion_error.d.ts +0 -0
  102. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assertion_error.js +0 -0
  103. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/equal.d.ts +0 -0
  104. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/equal.js +0 -0
  105. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/fail.d.ts +0 -0
  106. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/fail.js +0 -0
  107. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/mod.d.ts +0 -0
  108. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/mod.js +0 -0
  109. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unimplemented.d.ts +0 -0
  110. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unimplemented.js +0 -0
  111. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unreachable.d.ts +0 -0
  112. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unreachable.js +0 -0
  113. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/_util.d.ts +0 -0
  114. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/_util.js +0 -0
  115. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/fmt/colors.d.ts +0 -0
  116. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/fmt/colors.js +0 -0
  117. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_db.d.ts +0 -0
  118. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_db.js +0 -0
  119. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_util.d.ts +0 -0
  120. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_util.js +0 -0
  121. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/content_type.d.ts +0 -0
  122. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/content_type.js +0 -0
  123. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extension.d.ts +0 -0
  124. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extension.js +0 -0
  125. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extensions_by_type.d.ts +0 -0
  126. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extensions_by_type.js +0 -0
  127. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/format_media_type.d.ts +0 -0
  128. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/format_media_type.js +0 -0
  129. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/get_charset.d.ts +0 -0
  130. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/get_charset.js +0 -0
  131. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/parse_media_type.d.ts +0 -0
  132. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/parse_media_type.js +0 -0
  133. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/type_by_extension.d.ts +0 -0
  134. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/type_by_extension.js +0 -0
  135. /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
  136. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  137. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/assert_path.d.ts +0 -0
  138. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/assert_path.js +0 -0
  139. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/basename.d.ts +0 -0
  140. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/basename.js +0 -0
  141. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/common.d.ts +0 -0
  142. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/common.js +0 -0
  143. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/constants.d.ts +0 -0
  144. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/constants.js +0 -0
  145. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/dirname.d.ts +0 -0
  146. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/dirname.js +0 -0
  147. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/format.d.ts +0 -0
  148. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/format.js +0 -0
  149. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/from_file_url.d.ts +0 -0
  150. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/from_file_url.js +0 -0
  151. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  152. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/glob_to_reg_exp.js +0 -0
  153. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize.d.ts +0 -0
  154. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize.js +0 -0
  155. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize_string.d.ts +0 -0
  156. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize_string.js +0 -0
  157. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/relative.d.ts +0 -0
  158. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/relative.js +0 -0
  159. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  160. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/strip_trailing_separators.js +0 -0
  161. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/to_file_url.d.ts +0 -0
  162. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/to_file_url.js +0 -0
  163. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_interface.d.ts +0 -0
  164. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_interface.js +0 -0
  165. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_os.d.ts +0 -0
  166. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_os.js +0 -0
  167. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/basename.d.ts +0 -0
  168. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/basename.js +0 -0
  169. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/common.js +0 -0
  170. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/dirname.d.ts +0 -0
  171. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/dirname.js +0 -0
  172. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/extname.d.ts +0 -0
  173. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/format.d.ts +0 -0
  174. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/format.js +0 -0
  175. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/from_file_url.d.ts +0 -0
  176. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/from_file_url.js +0 -0
  177. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/glob_to_regexp.d.ts +0 -0
  178. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/glob_to_regexp.js +0 -0
  179. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_absolute.d.ts +0 -0
  180. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_absolute.js +0 -0
  181. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_glob.d.ts +0 -0
  182. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_glob.js +0 -0
  183. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join.d.ts +0 -0
  184. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join.js +0 -0
  185. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join_globs.d.ts +0 -0
  186. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join_globs.js +0 -0
  187. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize.d.ts +0 -0
  188. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize.js +0 -0
  189. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize_glob.d.ts +0 -0
  190. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize_glob.js +0 -0
  191. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/parse.d.ts +0 -0
  192. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/parse.js +0 -0
  193. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/_util.d.ts +0 -0
  194. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/_util.js +0 -0
  195. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/basename.d.ts +0 -0
  196. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/basename.js +0 -0
  197. /package/esm/deps/deno.land/{std@0.209.0/path → std@0.210.0/path/posix}/common.d.ts +0 -0
  198. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/common.js +0 -0
  199. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/dirname.d.ts +0 -0
  200. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/dirname.js +0 -0
  201. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/extname.d.ts +0 -0
  202. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/extname.js +0 -0
  203. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/format.d.ts +0 -0
  204. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/format.js +0 -0
  205. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/from_file_url.d.ts +0 -0
  206. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/from_file_url.js +0 -0
  207. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/glob_to_regexp.d.ts +0 -0
  208. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/glob_to_regexp.js +0 -0
  209. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_absolute.d.ts +0 -0
  210. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_absolute.js +0 -0
  211. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_glob.d.ts +0 -0
  212. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_glob.js +0 -0
  213. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join.d.ts +0 -0
  214. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join.js +0 -0
  215. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join_globs.d.ts +0 -0
  216. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join_globs.js +0 -0
  217. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/mod.d.ts +0 -0
  218. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/mod.js +0 -0
  219. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize.d.ts +0 -0
  220. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize.js +0 -0
  221. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize_glob.d.ts +0 -0
  222. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize_glob.js +0 -0
  223. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/parse.d.ts +0 -0
  224. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/parse.js +0 -0
  225. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/relative.d.ts +0 -0
  226. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/relative.js +0 -0
  227. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/resolve.d.ts +0 -0
  228. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/resolve.js +0 -0
  229. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/separator.d.ts +0 -0
  230. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/separator.js +0 -0
  231. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_file_url.d.ts +0 -0
  232. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_file_url.js +0 -0
  233. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_namespaced_path.d.ts +0 -0
  234. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_namespaced_path.js +0 -0
  235. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/relative.d.ts +0 -0
  236. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/relative.js +0 -0
  237. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/resolve.d.ts +0 -0
  238. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/resolve.js +0 -0
  239. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/separator.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_file_url.d.ts +0 -0
  241. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_file_url.js +0 -0
  242. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_namespaced_path.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_namespaced_path.js +0 -0
  244. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/_util.d.ts +0 -0
  245. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/_util.js +0 -0
  246. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/basename.d.ts +0 -0
  247. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/basename.js +0 -0
  248. /package/esm/deps/deno.land/{std@0.209.0/path/posix → std@0.210.0/path/windows}/common.d.ts +0 -0
  249. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/common.js +0 -0
  250. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/dirname.d.ts +0 -0
  251. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/dirname.js +0 -0
  252. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/extname.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/extname.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/format.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/format.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/from_file_url.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/from_file_url.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/glob_to_regexp.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/glob_to_regexp.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_absolute.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_absolute.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_glob.d.ts +0 -0
  263. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_glob.js +0 -0
  264. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join.d.ts +0 -0
  265. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join.js +0 -0
  266. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join_globs.d.ts +0 -0
  267. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join_globs.js +0 -0
  268. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/mod.d.ts +0 -0
  269. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/mod.js +0 -0
  270. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize.d.ts +0 -0
  271. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize_glob.d.ts +0 -0
  273. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize_glob.js +0 -0
  274. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/parse.d.ts +0 -0
  275. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/parse.js +0 -0
  276. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/relative.d.ts +0 -0
  277. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/relative.js +0 -0
  278. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/resolve.d.ts +0 -0
  279. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/resolve.js +0 -0
  280. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/separator.d.ts +0 -0
  281. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/separator.js +0 -0
  282. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_file_url.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_file_url.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_namespaced_path.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_namespaced_path.js +0 -0
  286. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_constants.d.ts +0 -0
  287. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_constants.js +0 -0
  288. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_diff.d.ts +0 -0
  289. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_diff.js +0 -0
  290. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_format.d.ts +0 -0
  291. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/_format.js +0 -0
  292. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert.d.ts +0 -0
  293. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert.js +0 -0
  294. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_almost_equals.d.ts +0 -0
  295. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_almost_equals.js +0 -0
  296. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_array_includes.d.ts +0 -0
  297. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_array_includes.js +0 -0
  298. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_equals.d.ts +0 -0
  299. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_equals.js +0 -0
  300. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_exists.d.ts +0 -0
  301. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_exists.js +0 -0
  302. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_false.d.ts +0 -0
  303. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_false.js +0 -0
  304. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater.d.ts +0 -0
  305. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater.js +0 -0
  306. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater_or_equal.d.ts +0 -0
  307. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_greater_or_equal.js +0 -0
  308. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_instance_of.d.ts +0 -0
  309. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_instance_of.js +0 -0
  310. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_is_error.d.ts +0 -0
  311. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_is_error.js +0 -0
  312. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less.d.ts +0 -0
  313. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less.js +0 -0
  314. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less_or_equal.d.ts +0 -0
  315. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_less_or_equal.js +0 -0
  316. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_match.d.ts +0 -0
  317. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_match.js +0 -0
  318. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_equals.d.ts +0 -0
  319. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_equals.js +0 -0
  320. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_instance_of.d.ts +0 -0
  321. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_instance_of.js +0 -0
  322. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_match.d.ts +0 -0
  323. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_match.js +0 -0
  324. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_strict_equals.d.ts +0 -0
  325. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_not_strict_equals.js +0 -0
  326. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_object_match.d.ts +0 -0
  327. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_object_match.js +0 -0
  328. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_rejects.d.ts +0 -0
  329. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_rejects.js +0 -0
  330. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_strict_equals.d.ts +0 -0
  331. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_strict_equals.js +0 -0
  332. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_string_includes.d.ts +0 -0
  333. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_string_includes.js +0 -0
  334. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_throws.d.ts +0 -0
  335. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assert_throws.js +0 -0
  336. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assertion_error.d.ts +0 -0
  337. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/assertion_error.js +0 -0
  338. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/equal.d.ts +0 -0
  339. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/equal.js +0 -0
  340. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/fail.d.ts +0 -0
  341. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/fail.js +0 -0
  342. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/mod.d.ts +0 -0
  343. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/mod.js +0 -0
  344. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unimplemented.d.ts +0 -0
  345. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unimplemented.js +0 -0
  346. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unreachable.d.ts +0 -0
  347. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/assert/unreachable.js +0 -0
  348. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/_util.d.ts +0 -0
  349. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/encoding/_util.js +0 -0
  350. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/fmt/colors.d.ts +0 -0
  351. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/fmt/colors.js +0 -0
  352. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_db.d.ts +0 -0
  353. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_db.js +0 -0
  354. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_util.d.ts +0 -0
  355. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/_util.js +0 -0
  356. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/content_type.d.ts +0 -0
  357. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/content_type.js +0 -0
  358. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extension.d.ts +0 -0
  359. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extension.js +0 -0
  360. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extensions_by_type.d.ts +0 -0
  361. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/extensions_by_type.js +0 -0
  362. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/format_media_type.d.ts +0 -0
  363. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/format_media_type.js +0 -0
  364. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/get_charset.d.ts +0 -0
  365. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/get_charset.js +0 -0
  366. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/parse_media_type.d.ts +0 -0
  367. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/parse_media_type.js +0 -0
  368. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/type_by_extension.d.ts +0 -0
  369. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/type_by_extension.js +0 -0
  370. /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
  371. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  372. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/assert_path.d.ts +0 -0
  373. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/assert_path.js +0 -0
  374. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/basename.d.ts +0 -0
  375. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/basename.js +0 -0
  376. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/common.d.ts +0 -0
  377. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/common.js +0 -0
  378. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/constants.d.ts +0 -0
  379. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/constants.js +0 -0
  380. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/dirname.d.ts +0 -0
  381. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/dirname.js +0 -0
  382. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/format.d.ts +0 -0
  383. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/format.js +0 -0
  384. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/from_file_url.d.ts +0 -0
  385. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/from_file_url.js +0 -0
  386. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  387. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/glob_to_reg_exp.js +0 -0
  388. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize.d.ts +0 -0
  389. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize.js +0 -0
  390. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize_string.d.ts +0 -0
  391. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/normalize_string.js +0 -0
  392. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/relative.d.ts +0 -0
  393. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/relative.js +0 -0
  394. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  395. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/strip_trailing_separators.js +0 -0
  396. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/to_file_url.d.ts +0 -0
  397. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_common/to_file_url.js +0 -0
  398. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_interface.d.ts +0 -0
  399. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_interface.js +0 -0
  400. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_os.d.ts +0 -0
  401. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/_os.js +0 -0
  402. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/basename.d.ts +0 -0
  403. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/basename.js +0 -0
  404. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/common.js +0 -0
  405. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/dirname.d.ts +0 -0
  406. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/dirname.js +0 -0
  407. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/extname.d.ts +0 -0
  408. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/format.d.ts +0 -0
  409. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/format.js +0 -0
  410. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/from_file_url.d.ts +0 -0
  411. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/from_file_url.js +0 -0
  412. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/glob_to_regexp.d.ts +0 -0
  413. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/glob_to_regexp.js +0 -0
  414. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_absolute.d.ts +0 -0
  415. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_absolute.js +0 -0
  416. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_glob.d.ts +0 -0
  417. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/is_glob.js +0 -0
  418. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join.d.ts +0 -0
  419. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join.js +0 -0
  420. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join_globs.d.ts +0 -0
  421. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/join_globs.js +0 -0
  422. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize.d.ts +0 -0
  423. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize.js +0 -0
  424. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize_glob.d.ts +0 -0
  425. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/normalize_glob.js +0 -0
  426. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/parse.d.ts +0 -0
  427. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/parse.js +0 -0
  428. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/_util.d.ts +0 -0
  429. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/_util.js +0 -0
  430. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/basename.d.ts +0 -0
  431. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/basename.js +0 -0
  432. /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
  433. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/common.js +0 -0
  434. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/dirname.d.ts +0 -0
  435. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/dirname.js +0 -0
  436. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/extname.d.ts +0 -0
  437. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/extname.js +0 -0
  438. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/format.d.ts +0 -0
  439. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/format.js +0 -0
  440. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/from_file_url.d.ts +0 -0
  441. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/from_file_url.js +0 -0
  442. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/glob_to_regexp.d.ts +0 -0
  443. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/glob_to_regexp.js +0 -0
  444. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_absolute.d.ts +0 -0
  445. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_absolute.js +0 -0
  446. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_glob.d.ts +0 -0
  447. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/is_glob.js +0 -0
  448. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join.d.ts +0 -0
  449. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join.js +0 -0
  450. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join_globs.d.ts +0 -0
  451. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/join_globs.js +0 -0
  452. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/mod.d.ts +0 -0
  453. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/mod.js +0 -0
  454. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize.d.ts +0 -0
  455. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize.js +0 -0
  456. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize_glob.d.ts +0 -0
  457. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/normalize_glob.js +0 -0
  458. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/parse.d.ts +0 -0
  459. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/parse.js +0 -0
  460. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/relative.d.ts +0 -0
  461. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/relative.js +0 -0
  462. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/resolve.d.ts +0 -0
  463. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/resolve.js +0 -0
  464. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/separator.d.ts +0 -0
  465. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/separator.js +0 -0
  466. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_file_url.d.ts +0 -0
  467. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_file_url.js +0 -0
  468. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_namespaced_path.d.ts +0 -0
  469. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/posix/to_namespaced_path.js +0 -0
  470. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/relative.d.ts +0 -0
  471. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/relative.js +0 -0
  472. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/resolve.d.ts +0 -0
  473. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/resolve.js +0 -0
  474. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/separator.js +0 -0
  475. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_file_url.d.ts +0 -0
  476. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_file_url.js +0 -0
  477. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_namespaced_path.d.ts +0 -0
  478. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/to_namespaced_path.js +0 -0
  479. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/_util.d.ts +0 -0
  480. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/_util.js +0 -0
  481. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/basename.d.ts +0 -0
  482. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/basename.js +0 -0
  483. /package/script/deps/deno.land/{std@0.209.0/path → std@0.210.0/path/windows}/common.d.ts +0 -0
  484. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/common.js +0 -0
  485. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/dirname.d.ts +0 -0
  486. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/dirname.js +0 -0
  487. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/extname.d.ts +0 -0
  488. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/extname.js +0 -0
  489. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/format.d.ts +0 -0
  490. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/format.js +0 -0
  491. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/from_file_url.d.ts +0 -0
  492. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/from_file_url.js +0 -0
  493. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/glob_to_regexp.d.ts +0 -0
  494. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/glob_to_regexp.js +0 -0
  495. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_absolute.d.ts +0 -0
  496. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_absolute.js +0 -0
  497. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_glob.d.ts +0 -0
  498. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/is_glob.js +0 -0
  499. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join.d.ts +0 -0
  500. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join.js +0 -0
  501. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join_globs.d.ts +0 -0
  502. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/join_globs.js +0 -0
  503. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/mod.d.ts +0 -0
  504. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/mod.js +0 -0
  505. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize.d.ts +0 -0
  506. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize.js +0 -0
  507. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize_glob.d.ts +0 -0
  508. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/normalize_glob.js +0 -0
  509. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/parse.d.ts +0 -0
  510. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/parse.js +0 -0
  511. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/relative.d.ts +0 -0
  512. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/relative.js +0 -0
  513. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/resolve.d.ts +0 -0
  514. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/resolve.js +0 -0
  515. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/separator.d.ts +0 -0
  516. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/separator.js +0 -0
  517. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_file_url.d.ts +0 -0
  518. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_file_url.js +0 -0
  519. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_namespaced_path.d.ts +0 -0
  520. /package/script/deps/deno.land/{std@0.209.0 → std@0.210.0}/path/windows/to_namespaced_path.js +0 -0
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _Client_instances, _a, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_updateState, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_storageInited, _Client_setAuth, _Client_authKeyWasCreated, _Client_connectMutex, _Client_assertUser, _Client_assertBot, _Client_fetchState, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortSignal, _Client_pingInterval, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_processChats, _Client_processUsers, _Client_handleUpdateQueue, _Client_processUpdatesQueue, _Client_checkGap, _Client_checkChannelGap, _Client_lastUpdates, _Client_processUpdates, _Client_setUpdateStateDate, _Client_setUpdatePts, _Client_getLocalState, _Client_recoverUpdateGap, _Client_recoverChannelUpdateGap, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_updatesToMessages, _Client_resolveSendAs, _Client_parseText, _Client_getMessagesInner, _Client_downloadInner, _Client_lastGetMe, _Client_getMe, _Client_handleUpdate, _Client_usernameResolver, _Client_constructReplyMarkup, _Client_assertMsgHas, _Client_handle, _Client_setMyInfo, _Client_getMyInfo, _Client_resolveFileId, _Client_sendMedia, _Client_sendChatUpdate, _Client_reassignChatLastMessage, _Client_chats, _Client_archivedChats, _Client_chatsLoadedFromStorage, _Client_tryGetChatId, _Client_getChatAnywhere, _Client_getChatList, _Client_loadChatsFromStorage, _Client_getLoadedChats, _Client_pinnedChats, _Client_pinnedArchiveChats, _Client_storageHadPinnedChats, _Client_pinnedChatsLoaded, _Client_loadPinnedChats, _Client_fetchPinnedChats, _Client_getPinnedChats, _Client_updateOrAddChat, _Client_removeChat, _Client_updatePinnedChats, _Client_fetchChats;
13
+ var _Client_instances, _a, _Client_auth, _Client_sessionId, _Client_state, _Client_promises, _Client_toAcknowledge, _Client_updateState, _Client_publicKeys, _Client_autoStart, _Client_ignoreOutgoing, _Client_prefixes, _Client_namespaceProxies, _Client_constructContext, _Client_propagateConnectionState, _Client_lastPropagatedConnectionState, _Client_storageInited, _Client_setAuth, _Client_authKeyWasCreated, _Client_connectMutex, _Client_assertUser, _Client_assertBot, _Client_fetchState, _Client_connectionInited, _Client_initConnection, _Client_lastPropagatedAuthorizationState, _Client_propagateAuthorizationState, _Client_selfId, _Client_getSelfId, _Client_receiveLoop, _Client_pingLoopAbortSignal, _Client_pingInterval, _Client_pingLoop, _Client_pingLoopStarted, _Client_autoStarted, _Client_lastMsgId, _Client_invoke, _Client_handleInvokeError, _Client_processChats, _Client_processUsers, _Client_handleUpdateQueue, _Client_processUpdatesQueue, _Client_checkGap, _Client_checkChannelGap, _Client_lastUpdates, _Client_processUpdates, _Client_setUpdateStateDate, _Client_setUpdatePts, _Client_getLocalState, _Client_recoverUpdateGap, _Client_recoverChannelUpdateGap, _Client_getChannelAccessHash, _Client_getInputPeerInner, _Client_updatesToMessages, _Client_resolveSendAs, _Client_constructReplyTo, _Client_parseText, _Client_getMessagesInner, _Client_downloadInner, _Client_lastGetMe, _Client_getMe, _Client_handleUpdate, _Client_usernameResolver, _Client_constructReplyMarkup, _Client_assertMsgHas, _Client_handle, _Client_setMyInfo, _Client_getMyInfo, _Client_resolveFileId, _Client_sendMedia, _Client_sendDocumentInner, _Client_sendChatUpdate, _Client_reassignChatLastMessage, _Client_chats, _Client_archivedChats, _Client_chatsLoadedFromStorage, _Client_tryGetChatId, _Client_getChatAnywhere, _Client_getChatList, _Client_loadChatsFromStorage, _Client_getLoadedChats, _Client_pinnedChats, _Client_pinnedArchiveChats, _Client_storageHadPinnedChats, _Client_pinnedChatsLoaded, _Client_loadPinnedChats, _Client_fetchPinnedChats, _Client_getPinnedChats, _Client_updateOrAddChat, _Client_removeChat, _Client_updatePinnedChats, _Client_fetchChats;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.Client = exports.ConnectionError = exports.restartAuth = exports.skipInvoke = exports.handleMigrationError = void 0;
16
16
  const _0_deps_js_1 = require("../0_deps.js");
@@ -231,6 +231,51 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
231
231
  const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
232
232
  return this.sendDocument(effectiveMessage.chat.id, document, { ...params, replyToMessageId });
233
233
  },
234
+ replyContact: (firstName, number, params) => {
235
+ const effectiveMessage = mustGetMsg();
236
+ const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
237
+ return this.sendContact(effectiveMessage.chat.id, firstName, number, { ...params, replyToMessageId });
238
+ },
239
+ replyLocation: (latitude, longitude, params) => {
240
+ const effectiveMessage = mustGetMsg();
241
+ const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
242
+ return this.sendLocation(effectiveMessage.chat.id, latitude, longitude, { ...params, replyToMessageId });
243
+ },
244
+ replyDice: (params) => {
245
+ const effectiveMessage = mustGetMsg();
246
+ const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
247
+ return this.sendDice(effectiveMessage.chat.id, { ...params, replyToMessageId });
248
+ },
249
+ replyVenue: (latitude, longitude, title, address, params) => {
250
+ const effectiveMessage = mustGetMsg();
251
+ const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
252
+ return this.sendVenue(effectiveMessage.chat.id, latitude, longitude, title, address, { ...params, replyToMessageId });
253
+ },
254
+ replyVideo: (document, params) => {
255
+ const effectiveMessage = mustGetMsg();
256
+ const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
257
+ return this.sendDocument(effectiveMessage.chat.id, document, { ...params, replyToMessageId });
258
+ },
259
+ replyAnimation: (document, params) => {
260
+ const effectiveMessage = mustGetMsg();
261
+ const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
262
+ return this.sendAnimation(effectiveMessage.chat.id, document, { ...params, replyToMessageId });
263
+ },
264
+ replyVoice: (document, params) => {
265
+ const effectiveMessage = mustGetMsg();
266
+ const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
267
+ return this.sendVoice(effectiveMessage.chat.id, document, { ...params, replyToMessageId });
268
+ },
269
+ replyAudio: (document, params) => {
270
+ const effectiveMessage = mustGetMsg();
271
+ const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
272
+ return this.sendAudio(effectiveMessage.chat.id, document, { ...params, replyToMessageId });
273
+ },
274
+ replyVideoNote: (videoNote, params) => {
275
+ const effectiveMessage = mustGetMsg();
276
+ const replyToMessageId = getReplyToMessageId(params?.quote, effectiveMessage);
277
+ return this.sendVideoNote(effectiveMessage.chat.id, videoNote, { ...params, replyToMessageId });
278
+ },
234
279
  delete: () => {
235
280
  const effectiveMessage = mustGetMsg();
236
281
  return this.deleteMessage(effectiveMessage.chat.id, effectiveMessage.id);
@@ -285,6 +330,14 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
285
330
  const effectiveMessage = mustGetMsg();
286
331
  return this.deleteMessages(effectiveMessage.chat.id, messageIds, params);
287
332
  },
333
+ setAvailableReactions: (availableReactions) => {
334
+ const effectiveMessage = mustGetMsg();
335
+ return this.setAvailableReactions(effectiveMessage.chat.id, availableReactions);
336
+ },
337
+ addReaction: (messageId, reaction, params) => {
338
+ const effectiveMessage = mustGetMsg();
339
+ return this.addReaction(effectiveMessage.chat.id, messageId, reaction, params);
340
+ },
288
341
  get toJSON() {
289
342
  return () => update;
290
343
  },
@@ -1464,8 +1517,6 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
1464
1517
  const noWebpage = params?.disableWebPagePreview ? true : undefined;
1465
1518
  const silent = params?.disableNotification ? true : undefined;
1466
1519
  const noforwards = params?.protectContent ? true : undefined;
1467
- const replyToMsgId = params?.replyToMessageId;
1468
- const topMsgId = params?.messageThreadId;
1469
1520
  const sendAs = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_resolveSendAs).call(this, params);
1470
1521
  const result = await this.api.messages.sendMessage({
1471
1522
  peer,
@@ -1474,7 +1525,7 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
1474
1525
  no_webpage: noWebpage,
1475
1526
  silent,
1476
1527
  noforwards,
1477
- reply_to: replyToMsgId !== undefined ? new _2_tl_js_1.types.InputReplyToMessage({ reply_to_msg_id: replyToMsgId, top_msg_id: topMsgId }) : undefined,
1528
+ reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
1478
1529
  send_as: sendAs,
1479
1530
  entities,
1480
1531
  reply_markup: replyMarkup,
@@ -1546,6 +1597,10 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
1546
1597
  await __classPrivateFieldGet(this, _Client_instances, "m", _Client_assertUser).call(this, "sendAs");
1547
1598
  return sendAs ? await this.getInputPeer(sendAs) : undefined;
1548
1599
  }
1600
+ }, _Client_constructReplyTo = function _Client_constructReplyTo(params) {
1601
+ const topMsgId = params?.messageThreadId;
1602
+ const replyToMsgId = params?.replyToMessageId;
1603
+ return replyToMsgId !== undefined ? new _2_tl_js_1.types.InputReplyToMessage({ reply_to_msg_id: replyToMsgId, top_msg_id: topMsgId, quote_text: params?.replyQuote?.text, quote_entities: params?.replyQuote?.entities.map(_3_types_js_1.messageEntityToTlObject), quote_offset: params?.replyQuote?.offset }) : undefined;
1549
1604
  }, _Client_parseText = function _Client_parseText(text, params) {
1550
1605
  const entities_ = params?.entities ?? [];
1551
1606
  const parseMode = params?.parseMode ?? this.parseMode;
@@ -1663,7 +1718,12 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
1663
1718
  break;
1664
1719
  }
1665
1720
  case _3_types_js_1.FileType.Document:
1666
- case _3_types_js_1.FileType.Sticker: {
1721
+ case _3_types_js_1.FileType.Sticker:
1722
+ case _3_types_js_1.FileType.VideoNote:
1723
+ case _3_types_js_1.FileType.Video:
1724
+ case _3_types_js_1.FileType.Audio:
1725
+ case _3_types_js_1.FileType.Voice:
1726
+ case _3_types_js_1.FileType.Animation: {
1667
1727
  if (fileId_.params.mediaId == undefined || fileId_.params.accessHash == undefined || fileId_.params.fileReference == undefined || fileId_.params.thumbnailSize == undefined) {
1668
1728
  (0, _1_utilities_js_1.UNREACHABLE)();
1669
1729
  }
@@ -1845,8 +1905,6 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
1845
1905
  const randomId = (0, _1_utilities_js_1.getRandomId)();
1846
1906
  const silent = params?.disableNotification ? true : undefined;
1847
1907
  const noforwards = params?.protectContent ? true : undefined;
1848
- const replyToMsgId = params?.replyToMessageId;
1849
- const topMsgId = params?.messageThreadId;
1850
1908
  const sendAs = params?.sendAs ? await this.getInputPeer(params.sendAs) : undefined; // TODO: check default sendAs
1851
1909
  const replyMarkup = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyMarkup).call(this, params);
1852
1910
  const explanation = params?.explanation;
@@ -1877,7 +1935,7 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
1877
1935
  silent,
1878
1936
  noforwards,
1879
1937
  reply_markup: replyMarkup,
1880
- reply_to: replyToMsgId !== undefined ? new _2_tl_js_1.types.InputReplyToMessage({ reply_to_msg_id: replyToMsgId, top_msg_id: topMsgId }) : undefined,
1938
+ reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
1881
1939
  send_as: sendAs,
1882
1940
  media,
1883
1941
  message: "",
@@ -2273,37 +2331,247 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
2273
2331
  * @param document The document to send.
2274
2332
  */
2275
2333
  async sendDocument(chatId, document, params) {
2276
- let media = null;
2277
- const spoiler = params?.hasSpoiler ? true : undefined;
2278
- if (typeof document === "string") {
2279
- const fileId = __classPrivateFieldGet(this, _Client_instances, "m", _Client_resolveFileId).call(this, document, _3_types_js_1.FileType.Document);
2280
- if (fileId != null) {
2281
- media = new _2_tl_js_1.types.InputMediaDocument({
2282
- id: new _2_tl_js_1.types.InputDocument(fileId),
2283
- spoiler,
2284
- });
2285
- }
2286
- }
2287
- if (media == null) {
2288
- if (typeof document === "string" && (0, _0_utilities_js_1.isHttpUrl)(document)) {
2289
- media = new _2_tl_js_1.types.InputMediaDocumentExternal({ url: document, spoiler });
2290
- }
2291
- else {
2292
- const [contents, fileName_] = await (0, _0_utilities_js_1.getFileContents)(document);
2293
- const fileName = params?.fileName ?? fileName_;
2294
- const mimeType = params?.mimeType ?? (0, _0_deps_js_1.contentType)(fileName.split(".").slice(-1)[0]) ?? "application/octet-stream";
2295
- const file = await this.upload(contents, { fileName, chunkSize: params?.chunkSize, signal: params?.signal });
2296
- media = new _2_tl_js_1.types.InputMediaUploadedDocument({
2297
- file,
2298
- spoiler,
2299
- attributes: [new _2_tl_js_1.types.DocumentAttributeFilename({ file_name: fileName })],
2300
- mime_type: mimeType,
2301
- });
2302
- }
2303
- }
2304
- const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendMedia).call(this, chatId, media, params);
2334
+ const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendDocumentInner).call(this, chatId, document, params, _3_types_js_1.FileType.Document, []);
2305
2335
  return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "document");
2306
2336
  }
2337
+ /**
2338
+ * Send a video.
2339
+ *
2340
+ * @method
2341
+ * @param chatId The chat to send the video to.
2342
+ * @param video The video to send.
2343
+ */
2344
+ async sendVideo(chatId, video, params) {
2345
+ const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendDocumentInner).call(this, chatId, video, params, _3_types_js_1.FileType.Video, [
2346
+ new _2_tl_js_1.types.DocumentAttributeVideo({
2347
+ supports_streaming: params?.supportsStreaming ? true : undefined,
2348
+ w: params?.width ?? 0,
2349
+ h: params?.height ?? 0,
2350
+ duration: params?.duration ?? 0,
2351
+ }),
2352
+ ]);
2353
+ return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "video");
2354
+ }
2355
+ /**
2356
+ * Send an animation.
2357
+ *
2358
+ * @method
2359
+ * @param chatId The chat to send the animation to.
2360
+ * @param animation The animation to send.
2361
+ */
2362
+ async sendAnimation(chatId, animation, params) {
2363
+ const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendDocumentInner).call(this, chatId, animation, params, _3_types_js_1.FileType.Animation, [
2364
+ new _2_tl_js_1.types.DocumentAttributeAnimated(),
2365
+ new _2_tl_js_1.types.DocumentAttributeVideo({
2366
+ supports_streaming: true,
2367
+ w: params?.width ?? 0,
2368
+ h: params?.height ?? 0,
2369
+ duration: params?.duration ?? 0,
2370
+ }),
2371
+ ]);
2372
+ return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "animation");
2373
+ }
2374
+ /**
2375
+ * Send a voice message.
2376
+ *
2377
+ * @method
2378
+ * @param chatId The chat to send the voice message to.
2379
+ * @param voice The voice to send.
2380
+ */
2381
+ async sendVoice(chatId, voice, params) {
2382
+ const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendDocumentInner).call(this, chatId, voice, params, _3_types_js_1.FileType.Voice, [
2383
+ new _2_tl_js_1.types.DocumentAttributeAudio({
2384
+ voice: true,
2385
+ duration: params?.duration ?? 0,
2386
+ }),
2387
+ ]);
2388
+ return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "voice");
2389
+ }
2390
+ /**
2391
+ * Send an audio file.
2392
+ *
2393
+ * @method
2394
+ * @param chatId The chat to send the audio file to.
2395
+ * @param audio The audio to send.
2396
+ */
2397
+ async sendAudio(chatId, audio, params) {
2398
+ const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendDocumentInner).call(this, chatId, audio, params, _3_types_js_1.FileType.Audio, [
2399
+ new _2_tl_js_1.types.DocumentAttributeAudio({
2400
+ duration: params?.duration ?? 0,
2401
+ performer: params?.performer,
2402
+ title: params?.title,
2403
+ }),
2404
+ ]);
2405
+ return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "audio");
2406
+ }
2407
+ /**
2408
+ * Send a video note.
2409
+ *
2410
+ * @method
2411
+ * @param chatId The chat to send the video note to.
2412
+ * @param videoNote The video note to send.
2413
+ */
2414
+ async sendVideoNote(chatId, audio, params) {
2415
+ const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendDocumentInner).call(this, chatId, audio, params, _3_types_js_1.FileType.VideoNote, [
2416
+ new _2_tl_js_1.types.DocumentAttributeVideo({
2417
+ round_message: true,
2418
+ w: params?.length ?? 0,
2419
+ h: params?.length ?? 0,
2420
+ duration: params?.duration ?? 0,
2421
+ }),
2422
+ ], false);
2423
+ return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "videoNote");
2424
+ }
2425
+ /**
2426
+ * Send a location.
2427
+ *
2428
+ * @method
2429
+ * @param chatId The chat to send the location to.
2430
+ * @param latitude The location's latitude.
2431
+ * @param longitude The location's longitude.
2432
+ */
2433
+ async sendLocation(chatId, latitude, longitude, params) {
2434
+ const peer = await this.getInputPeer(chatId);
2435
+ const randomId = (0, _1_utilities_js_1.getRandomId)();
2436
+ const silent = params?.disableNotification ? true : undefined;
2437
+ const noforwards = params?.protectContent ? true : undefined;
2438
+ const sendAs = params?.sendAs ? await this.getInputPeer(params.sendAs) : undefined; // TODO: check default sendAs
2439
+ const replyMarkup = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyMarkup).call(this, params);
2440
+ const result = await this.api.messages.sendMedia({
2441
+ peer,
2442
+ random_id: randomId,
2443
+ silent,
2444
+ noforwards,
2445
+ reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
2446
+ send_as: sendAs,
2447
+ reply_markup: replyMarkup,
2448
+ media: params?.livePeriod !== undefined
2449
+ ? new _2_tl_js_1.types.InputMediaGeoLive({
2450
+ geo_point: new _2_tl_js_1.types.InputGeoPoint({
2451
+ lat: latitude,
2452
+ long: longitude,
2453
+ accuracy_radius: params?.horizontalAccuracy,
2454
+ }),
2455
+ heading: params?.heading,
2456
+ period: params.livePeriod,
2457
+ proximity_notification_radius: params?.proximityAlertRadius,
2458
+ })
2459
+ : new _2_tl_js_1.types.InputMediaGeoPoint({
2460
+ geo_point: new _2_tl_js_1.types.InputGeoPoint({
2461
+ lat: latitude,
2462
+ long: longitude,
2463
+ accuracy_radius: params?.horizontalAccuracy,
2464
+ }),
2465
+ }),
2466
+ message: "",
2467
+ });
2468
+ const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
2469
+ return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "location");
2470
+ }
2471
+ /**
2472
+ * Send a contact.
2473
+ *
2474
+ * @method
2475
+ * @param chatId The chat to send the contact to.
2476
+ * @param firstName The contact's first name.
2477
+ * @param number The contact's phone number.
2478
+ */
2479
+ async sendContact(chatId, firstName, number, params) {
2480
+ const peer = await this.getInputPeer(chatId);
2481
+ const randomId = (0, _1_utilities_js_1.getRandomId)();
2482
+ const silent = params?.disableNotification ? true : undefined;
2483
+ const noforwards = params?.protectContent ? true : undefined;
2484
+ const sendAs = params?.sendAs ? await this.getInputPeer(params.sendAs) : undefined; // TODO: check default sendAs
2485
+ const replyMarkup = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyMarkup).call(this, params);
2486
+ const result = await this.api.messages.sendMedia({
2487
+ peer,
2488
+ random_id: randomId,
2489
+ silent,
2490
+ noforwards,
2491
+ reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
2492
+ send_as: sendAs,
2493
+ reply_markup: replyMarkup,
2494
+ media: new _2_tl_js_1.types.InputMediaContact({
2495
+ phone_number: number,
2496
+ first_name: firstName,
2497
+ last_name: params?.lastName ?? "",
2498
+ vcard: params?.vcard ?? "",
2499
+ }),
2500
+ message: "",
2501
+ });
2502
+ const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
2503
+ return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "contact");
2504
+ }
2505
+ /**
2506
+ * Send a dice.
2507
+ *
2508
+ * @method
2509
+ * @param chatId The chat to send the dice to.
2510
+ */
2511
+ async sendDice(chatId, params) {
2512
+ const peer = await this.getInputPeer(chatId);
2513
+ const randomId = (0, _1_utilities_js_1.getRandomId)();
2514
+ const silent = params?.disableNotification ? true : undefined;
2515
+ const noforwards = params?.protectContent ? true : undefined;
2516
+ const sendAs = params?.sendAs ? await this.getInputPeer(params.sendAs) : undefined; // TODO: check default sendAs
2517
+ const replyMarkup = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyMarkup).call(this, params);
2518
+ const result = await this.api.messages.sendMedia({
2519
+ peer,
2520
+ random_id: randomId,
2521
+ silent,
2522
+ noforwards,
2523
+ reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
2524
+ send_as: sendAs,
2525
+ reply_markup: replyMarkup,
2526
+ media: new _2_tl_js_1.types.InputMediaDice({
2527
+ emoticon: params?.emoji ?? "🎲",
2528
+ }),
2529
+ message: "",
2530
+ });
2531
+ const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
2532
+ return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "dice");
2533
+ }
2534
+ /**
2535
+ * Send a venue.
2536
+ *
2537
+ * @method
2538
+ * @param chatId The chat to send the venue to.
2539
+ * @param latitude The latitude of the venue.
2540
+ * @param longitude The longitude of the venue.
2541
+ * @param title The title of the venue.
2542
+ * @param address The written address of the venue.
2543
+ */
2544
+ async sendVenue(chatId, latitude, longitude, title, address, params) {
2545
+ const peer = await this.getInputPeer(chatId);
2546
+ const randomId = (0, _1_utilities_js_1.getRandomId)();
2547
+ const silent = params?.disableNotification ? true : undefined;
2548
+ const noforwards = params?.protectContent ? true : undefined;
2549
+ const sendAs = params?.sendAs ? await this.getInputPeer(params.sendAs) : undefined; // TODO: check default sendAs
2550
+ const replyMarkup = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyMarkup).call(this, params);
2551
+ const result = await this.api.messages.sendMedia({
2552
+ peer,
2553
+ random_id: randomId,
2554
+ silent,
2555
+ noforwards,
2556
+ reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
2557
+ send_as: sendAs,
2558
+ reply_markup: replyMarkup,
2559
+ media: new _2_tl_js_1.types.InputMediaVenue({
2560
+ geo_point: new _2_tl_js_1.types.InputGeoPoint({
2561
+ lat: latitude,
2562
+ long: longitude,
2563
+ }),
2564
+ title,
2565
+ address,
2566
+ venue_id: params?.foursquareId ?? "",
2567
+ venue_type: params?.foursquareType ?? "",
2568
+ provider: "foursquare",
2569
+ }),
2570
+ message: "",
2571
+ });
2572
+ const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
2573
+ return __classPrivateFieldGet(_a, _a, "m", _Client_assertMsgHas).call(_a, message, "dice");
2574
+ }
2307
2575
  /**
2308
2576
  * Get network statistics. This might not always be available.
2309
2577
  *
@@ -2327,7 +2595,7 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
2327
2595
  return { messages, cdn };
2328
2596
  }
2329
2597
  /**
2330
- * Get chats from a chat list.
2598
+ * Get chats from a chat list. User-only.
2331
2599
  *
2332
2600
  * @method
2333
2601
  */
@@ -2430,7 +2698,7 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
2430
2698
  }
2431
2699
  }
2432
2700
  /**
2433
- * Get chat history.
2701
+ * Get chat history. User-only.
2434
2702
  *
2435
2703
  * @param chatId The identifier of the chat to get its history.
2436
2704
  * @method
@@ -2525,6 +2793,37 @@ class Client extends _1_client_abstract_js_1.ClientAbstract {
2525
2793
  }
2526
2794
  return documents;
2527
2795
  }
2796
+ /**
2797
+ * Set a chat's available reactions.
2798
+ *
2799
+ * @param chatId The identifier of the chat.
2800
+ * @param availableReactions The new available reactions.
2801
+ * @method
2802
+ */
2803
+ async setAvailableReactions(chatId, availableReactions) {
2804
+ // TODO: sync with storage
2805
+ await this.api.messages.setChatAvailableReactions({
2806
+ peer: await this.getInputPeer(chatId),
2807
+ available_reactions: availableReactions == "none" ? new _2_tl_js_1.types.ChatReactionsNone() : availableReactions == "all" ? new _2_tl_js_1.types.ChatReactionsAll() : Array.isArray(availableReactions) ? new _2_tl_js_1.types.ChatReactionsSome({ reactions: availableReactions.map((v) => v.type == "emoji" ? new _2_tl_js_1.types.ReactionEmoji({ emoticon: v.emoji }) : new _2_tl_js_1.types.ReactionCustomEmoji({ document_id: BigInt(v.id) })) }) : (0, _1_utilities_js_1.UNREACHABLE)(),
2808
+ });
2809
+ }
2810
+ /**
2811
+ * Add a reaction to a message.
2812
+ *
2813
+ * @param chatId The identifier of the chat which the message belongs to.
2814
+ * @param messageId The identifier of the message to add the reaction to.
2815
+ * @param reaction The reaction to add.
2816
+ */
2817
+ async addReaction(chatId, messageId, reaction, params) {
2818
+ // TODO: check storage and skip if already there
2819
+ await this.api.messages.sendReaction({
2820
+ peer: await this.getInputPeer(chatId),
2821
+ msg_id: messageId,
2822
+ reaction: [reaction.type == "emoji" ? new _2_tl_js_1.types.ReactionEmoji({ emoticon: reaction.emoji }) : new _2_tl_js_1.types.ReactionCustomEmoji({ document_id: BigInt(reaction.id) })],
2823
+ big: params?.big ? true : undefined,
2824
+ add_to_recent: params?.addToRecents ? true : undefined,
2825
+ });
2826
+ }
2528
2827
  }
2529
2828
  exports.Client = Client;
2530
2829
  _a = Client, _Client_getMe = async function _Client_getMe() {
@@ -2727,8 +3026,6 @@ async function _Client_setMyInfo(info) {
2727
3026
  const randomId = (0, _1_utilities_js_1.getRandomId)();
2728
3027
  const silent = params?.disableNotification ? true : undefined;
2729
3028
  const noforwards = params?.protectContent ? true : undefined;
2730
- const replyToMsgId = params?.replyToMessageId;
2731
- const topMsgId = params?.messageThreadId;
2732
3029
  const sendAs = params?.sendAs ? await this.getInputPeer(params.sendAs) : undefined; // TODO: check default sendAs
2733
3030
  const replyMarkup = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyMarkup).call(this, params);
2734
3031
  const caption_ = params?.caption;
@@ -2741,13 +3038,53 @@ async function _Client_setMyInfo(info) {
2741
3038
  silent,
2742
3039
  noforwards,
2743
3040
  reply_markup: replyMarkup,
2744
- reply_to: replyToMsgId !== undefined ? new _2_tl_js_1.types.InputReplyToMessage({ reply_to_msg_id: replyToMsgId, top_msg_id: topMsgId }) : undefined,
3041
+ reply_to: __classPrivateFieldGet(this, _Client_instances, "m", _Client_constructReplyTo).call(this, params),
2745
3042
  send_as: sendAs,
2746
3043
  media,
2747
3044
  message: caption ?? "",
2748
3045
  entities: captionEntities,
2749
3046
  });
2750
3047
  return await __classPrivateFieldGet(this, _Client_instances, "m", _Client_updatesToMessages).call(this, chatId, result).then((v) => v[0]);
3048
+ }, _Client_sendDocumentInner = async function _Client_sendDocumentInner(chatId, document, params, fileType, otherAttribs, urlSupported = false) {
3049
+ let media = null;
3050
+ const spoiler = params?.hasSpoiler ? true : undefined;
3051
+ if (typeof document === "string") {
3052
+ const fileId = __classPrivateFieldGet(this, _Client_instances, "m", _Client_resolveFileId).call(this, document, fileType);
3053
+ if (fileId != null) {
3054
+ media = new _2_tl_js_1.types.InputMediaDocument({
3055
+ id: new _2_tl_js_1.types.InputDocument(fileId),
3056
+ spoiler,
3057
+ });
3058
+ }
3059
+ }
3060
+ if (media == null) {
3061
+ if (typeof document === "string" && (0, _0_utilities_js_1.isHttpUrl)(document)) {
3062
+ if (!urlSupported) {
3063
+ throw new Error("URL not supported");
3064
+ }
3065
+ media = new _2_tl_js_1.types.InputMediaDocumentExternal({ url: document, spoiler });
3066
+ }
3067
+ else {
3068
+ const [contents, fileName_] = await (0, _0_utilities_js_1.getFileContents)(document);
3069
+ const fileName = params?.fileName ?? fileName_;
3070
+ const mimeType = params?.mimeType ?? (0, _0_deps_js_1.contentType)(fileName.split(".").slice(-1)[0]) ?? "application/octet-stream";
3071
+ const file = await this.upload(contents, { fileName, chunkSize: params?.chunkSize, signal: params?.signal });
3072
+ let thumb = undefined;
3073
+ if (params?.thumbnail) {
3074
+ const [thumbContents, fileName__] = await (0, _0_utilities_js_1.getFileContents)(params.thumbnail);
3075
+ thumb = await this.upload(thumbContents, { fileName: fileName__, chunkSize: params?.chunkSize, signal: params?.signal });
3076
+ }
3077
+ media = new _2_tl_js_1.types.InputMediaUploadedDocument({
3078
+ file,
3079
+ thumb,
3080
+ spoiler,
3081
+ attributes: [new _2_tl_js_1.types.DocumentAttributeFilename({ file_name: fileName }), ...otherAttribs],
3082
+ mime_type: mimeType,
3083
+ });
3084
+ }
3085
+ }
3086
+ const message = await __classPrivateFieldGet(this, _Client_instances, "m", _Client_sendMedia).call(this, chatId, media, params);
3087
+ return message;
2751
3088
  }, _Client_sendChatUpdate = async function _Client_sendChatUpdate(chatId, added) {
2752
3089
  try {
2753
3090
  await __classPrivateFieldGet(this, _Client_instances, "m", _Client_assertUser).call(this, "");
@@ -1,16 +1,3 @@
1
- /**
2
- * CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727
3
- * Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation
4
- *
5
- * @deprecated (will be removed in 0.210.0) Use {@linkcode encodeBase64} instead.
6
- */
7
- export declare const encode: typeof encodeBase64;
8
- /**
9
- * Decodes a given RFC4648 base64 encoded string
10
- *
11
- * @deprecated (will be removed in 0.210.0) Use {@linkcode decodeBase64} instead.
12
- */
13
- export declare const decode: typeof decodeBase64;
14
1
  /**
15
2
  * Converts data into a base64-encoded string.
16
3
  *
@@ -2,7 +2,7 @@
2
2
  // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.decodeBase64 = exports.encodeBase64 = exports.decode = exports.encode = void 0;
5
+ exports.decodeBase64 = exports.encodeBase64 = void 0;
6
6
  const _util_js_1 = require("./_util.js");
7
7
  /**
8
8
  * Utilities for
@@ -79,19 +79,6 @@ const base64abc = [
79
79
  "+",
80
80
  "/",
81
81
  ];
82
- /**
83
- * CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727
84
- * Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation
85
- *
86
- * @deprecated (will be removed in 0.210.0) Use {@linkcode encodeBase64} instead.
87
- */
88
- exports.encode = encodeBase64;
89
- /**
90
- * Decodes a given RFC4648 base64 encoded string
91
- *
92
- * @deprecated (will be removed in 0.210.0) Use {@linkcode decodeBase64} instead.
93
- */
94
- exports.decode = decodeBase64;
95
82
  /**
96
83
  * Converts data into a base64-encoded string.
97
84
  *
@@ -0,0 +1,13 @@
1
+ /** Determines the common path from a set of paths, using an optional separator,
2
+ * which defaults to the OS default separator.
3
+ *
4
+ * ```ts
5
+ * import { common } from "https://deno.land/std@$STD_VERSION/path/mod.ts";
6
+ * const p = common([
7
+ * "./deno/std/path/mod.ts",
8
+ * "./deno/std/fs/mod.ts",
9
+ * ]);
10
+ * console.log(p); // "./deno/std/"
11
+ * ```
12
+ */
13
+ export declare function common(paths: string[], sep?: "\\" | "/"): string;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.extname = void 0;
6
6
  const _os_js_1 = require("./_os.js");
7
7
  const extname_js_1 = require("./posix/extname.js");
8
- const extname_js_2 = require("./posix/extname.js");
8
+ const extname_js_2 = require("./windows/extname.js");
9
9
  /**
10
10
  * Return the extension of the `path` with leading period.
11
11
  * @param path with extension
@@ -4,8 +4,8 @@ import * as _posix from "./posix/mod.js";
4
4
  export declare const win32: typeof _windows;
5
5
  /** @deprecated (will be removed after 1.0.0) Import from {@link https://deno.land/std/posix/mod.ts} instead. */
6
6
  export declare const posix: typeof _posix;
7
- export declare const sep: string;
8
- export declare const delimiter: string;
7
+ export declare const sep: "/" | "\\";
8
+ export declare const delimiter: ":" | ";";
9
9
  export * from "./basename.js";
10
10
  export * from "./dirname.js";
11
11
  export * from "./extname.js";
@@ -69,7 +69,9 @@ exports.win32 = _windows;
69
69
  /** @deprecated (will be removed after 1.0.0) Import from {@link https://deno.land/std/posix/mod.ts} instead. */
70
70
  exports.posix = _posix;
71
71
  exports.sep = _os_js_1.isWindows ? _windows.sep : _posix.sep;
72
- exports.delimiter = _os_js_1.isWindows ? _windows.delimiter : _posix.delimiter;
72
+ exports.delimiter = _os_js_1.isWindows
73
+ ? _windows.delimiter
74
+ : _posix.delimiter;
73
75
  __exportStar(require("./basename.js"), exports);
74
76
  __exportStar(require("./dirname.js"), exports);
75
77
  __exportStar(require("./extname.js"), exports);
@@ -0,0 +1,2 @@
1
+ export declare const SEP: "/" | "\\";
2
+ export declare const SEP_PATTERN: RegExp;
@@ -0,0 +1,11 @@
1
+ export declare namespace Reaction {
2
+ interface Emoji {
3
+ type: "emoji";
4
+ emoji: string;
5
+ }
6
+ interface CustomEmoji {
7
+ type: "customEmoji";
8
+ id: string;
9
+ }
10
+ }
11
+ export type Reaction = Reaction.Emoji | Reaction.CustomEmoji;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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;