@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
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.constructMessage = void 0;
3
+ exports.constructMessage = exports.assertMessageType = void 0;
4
4
  const _0_deps_js_1 = require("../0_deps.js");
5
5
  const _1_utilities_js_1 = require("../1_utilities.js");
6
6
  const _2_tl_js_1 = require("../2_tl.js");
@@ -17,16 +17,67 @@ const _0_voice_js_1 = require("./0_voice.js");
17
17
  const _1_animation_js_1 = require("./1_animation.js");
18
18
  const _1_chat_p_js_1 = require("./1_chat_p.js");
19
19
  const _1_document_js_1 = require("./1_document.js");
20
+ const _1_reply_quote_js_1 = require("./1_reply_quote.js");
20
21
  const _1_photo_js_1 = require("./1_photo.js");
21
22
  const _1_poll_js_1 = require("./1_poll.js");
22
23
  const _1_sticker_js_1 = require("./1_sticker.js");
23
24
  const _1_user_js_1 = require("./1_user.js");
24
25
  const _1_video_note_js_1 = require("./1_video_note.js");
25
26
  const _1_video_js_1 = require("./1_video.js");
27
+ const _1_message_reaction_js_1 = require("./1_message_reaction.js");
28
+ const _1_giveaway_js_1 = require("./1_giveaway.js");
26
29
  const _2_game_js_1 = require("./2_game.js");
27
30
  const _2_reply_keyboard_markup_js_1 = require("./2_reply_keyboard_markup.js");
28
31
  const _3_inline_keyboard_markup_js_1 = require("./3_inline_keyboard_markup.js");
29
32
  const d = (0, _0_deps_js_1.debug)("types/Message");
33
+ const keys = {
34
+ text: ["text"],
35
+ photo: ["photo"],
36
+ document: ["document"],
37
+ video: ["video"],
38
+ sticker: ["sticker"],
39
+ animation: ["animation"],
40
+ voice: ["voice"],
41
+ audio: ["audio"],
42
+ dice: ["dice"],
43
+ videoNote: ["videoNote"],
44
+ contact: ["contact"],
45
+ game: ["game"],
46
+ poll: ["poll"],
47
+ venue: ["venue"],
48
+ location: ["location"],
49
+ newChatMembers: ["newChatMembers"],
50
+ leftChatMember: ["leftChatMember"],
51
+ newChatTitle: ["newChatTitle"],
52
+ newChatPhoto: ["newChatPhoto"],
53
+ deletedChatPhoto: ["deletedChatPhoto"],
54
+ groupCreated: ["groupCreated", "newChatMembers"],
55
+ supergroupCreated: ["supergroupCreated"],
56
+ channelCreated: ["channelCreated"],
57
+ newAutoDeleteTime: ["newAutoDeleteTime"],
58
+ chatMigratedTo: ["chatMigratedTo"],
59
+ chatMigratedFrom: ["chatMigratedFrom"],
60
+ pinnedMessage: ["pinnedMessage"],
61
+ userShared: ["userShared"],
62
+ writeAccessAllowed: ["writeAccessAllowed"],
63
+ forumTopicCreated: ["forumTopicCreated"],
64
+ forumTopicEdited: ["forumTopicEdited"],
65
+ forumTopicClosed: ["forumTopicClosed"],
66
+ forumTopicReopened: ["forumTopicReopened"],
67
+ videoChatScheduled: ["videoChatScheduled"],
68
+ videoChatStarted: ["videoChatStarted"],
69
+ videoChatEnded: ["videoChatEnded"],
70
+ giveaway: ["giveaway"],
71
+ };
72
+ function assertMessageType(message, type) {
73
+ for (const key of keys[type]) {
74
+ if (!(key in message) || message[key] === undefined) {
75
+ (0, _1_utilities_js_1.UNREACHABLE)();
76
+ }
77
+ }
78
+ return message;
79
+ }
80
+ exports.assertMessageType = assertMessageType;
30
81
  async function getSender(message_, getEntity) {
31
82
  if (message_.from_id instanceof _2_tl_js_1.types.PeerUser) {
32
83
  const entity = await getEntity(message_.from_id);
@@ -73,116 +124,142 @@ async function constructServiceMessage(message_, chat, getEntity, getMessage) {
73
124
  };
74
125
  Object.assign(message, await getSender(message_, getEntity));
75
126
  if (message_.action instanceof _2_tl_js_1.types.MessageActionChatAddUser) {
76
- message.newChatMembers = [];
127
+ const newChatMembers = new Array();
77
128
  for (const user_ of message_.action.users) {
78
129
  const entity = await getEntity(new _2_tl_js_1.types.PeerUser({ user_id: user_ }));
79
130
  if (entity) {
80
131
  const user = (0, _1_user_js_1.constructUser)(entity);
81
- message.newChatMembers.push(user);
132
+ newChatMembers.push(user);
82
133
  }
83
134
  else {
84
135
  (0, _1_utilities_js_1.UNREACHABLE)();
85
136
  }
86
137
  }
138
+ return { ...message, newChatMembers };
87
139
  }
88
140
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionChatDeleteUser) {
89
141
  const entity = await getEntity(new _2_tl_js_1.types.PeerUser({ user_id: message_.action.user_id }));
90
142
  if (entity) {
91
143
  const user = (0, _1_user_js_1.constructUser)(entity);
92
- message.leftChatMember = user;
144
+ const leftChatMember = user;
145
+ return { ...message, leftChatMember };
93
146
  }
94
147
  else {
95
148
  (0, _1_utilities_js_1.UNREACHABLE)();
96
149
  }
97
150
  }
98
151
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionChatEditTitle) {
99
- message.newChatTitle = message_.action.title;
152
+ const newChatTitle = message_.action.title;
153
+ return { ...message, newChatTitle };
100
154
  }
101
155
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionChatEditPhoto) {
102
- message.newChatPhoto = (0, _1_photo_js_1.constructPhoto)(message_.action.photo[_2_tl_js_1.as](_2_tl_js_1.types.Photo));
156
+ const newChatPhoto = (0, _1_photo_js_1.constructPhoto)(message_.action.photo[_2_tl_js_1.as](_2_tl_js_1.types.Photo));
157
+ return { ...message, newChatPhoto };
103
158
  }
104
159
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionChatDeletePhoto) {
105
- message.deletedChatPhoto = true;
160
+ const deletedChatPhoto = true;
161
+ return { ...message, deletedChatPhoto };
106
162
  }
107
163
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionChatCreate) {
108
- message.groupCreated = true;
109
- message.newChatMembers = [];
164
+ const groupCreated = true;
165
+ const newChatMembers = new Array();
110
166
  for (const user_ of message_.action.users) {
111
167
  const entity = await getEntity(new _2_tl_js_1.types.PeerUser({ user_id: user_ }));
112
168
  if (entity) {
113
169
  const user = (0, _1_user_js_1.constructUser)(entity);
114
- message.newChatMembers.push(user);
170
+ newChatMembers.push(user);
115
171
  }
116
172
  else {
117
173
  (0, _1_utilities_js_1.UNREACHABLE)();
118
174
  }
119
175
  }
176
+ return { ...message, groupCreated, newChatMembers };
120
177
  }
121
178
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionChannelCreate) {
122
179
  if (message.chat.type == "channel") {
123
- message.channelCreated = true;
180
+ const channelCreated = true;
181
+ return { ...message, channelCreated };
124
182
  }
125
183
  else if (message.chat.type == "supergroup") {
126
- message.supergroupCreated = true;
184
+ const supergroupCreated = true;
185
+ return { ...message, supergroupCreated };
127
186
  }
128
187
  else {
129
188
  (0, _1_utilities_js_1.UNREACHABLE)();
130
189
  }
131
190
  }
132
191
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionChatMigrateTo) {
133
- message.chatMigratedTo = _1_utilities_js_1.ZERO_CHANNEL_ID + Number(-message_.action.channel_id);
192
+ const chatMigratedTo = _1_utilities_js_1.ZERO_CHANNEL_ID + Number(-message_.action.channel_id);
193
+ return { ...message, chatMigratedTo };
134
194
  }
135
195
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionChannelMigrateFrom) {
136
- message.chatMigratedFrom = Number(-message_.action.chat_id);
196
+ const chatMigratedFrom = Number(-message_.action.chat_id);
197
+ return { ...message, chatMigratedFrom };
137
198
  }
138
199
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionPinMessage) {
139
200
  const { replyToMessage } = await getReply(message_, chat, getMessage);
140
- message.pinnedMessage = replyToMessage;
201
+ if (!replyToMessage) {
202
+ (0, _1_utilities_js_1.UNREACHABLE)();
203
+ }
204
+ const pinnedMessage = replyToMessage;
205
+ return { ...message, pinnedMessage };
141
206
  }
142
207
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionRequestedPeer) {
143
- const user = message_.action.peer[_2_tl_js_1.as](_2_tl_js_1.types.PeerUser);
144
- message.userShared = { requestId: message_.action.button_id, userId: Number(user.user_id) };
208
+ const user = message_.action.peers[0][_2_tl_js_1.as](_2_tl_js_1.types.PeerUser);
209
+ const userShared = { requestId: message_.action.button_id, userId: Number(user.user_id) };
210
+ return { ...message, userShared };
145
211
  }
146
212
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionBotAllowed) {
147
213
  const webAppName = message_.action.app ? message_.action.app[_2_tl_js_1.as](_2_tl_js_1.types.BotApp).title : undefined;
148
- message.writeAccessAllowed = { webAppName };
214
+ const writeAccessAllowed = { webAppName };
215
+ return { ...message, writeAccessAllowed };
149
216
  }
150
217
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionTopicCreate) {
151
- message.forumTopicCreated = {
218
+ const forumTopicCreated = {
152
219
  name: message_.action.title,
153
220
  iconColor: "#" + message_.action.icon_color.toString(16).padStart(6, "0"),
154
221
  iconCutsomEmojiId: message_.action.icon_emoji_id ? String(message_.action.icon_emoji_id) : undefined,
155
222
  };
223
+ return { ...message, forumTopicCreated };
156
224
  }
157
225
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionTopicEdit) {
158
226
  if (message_.action.closed) {
159
- message.forumTopicClosed = {};
227
+ const forumTopicClosed = true;
228
+ return { ...message, forumTopicClosed };
160
229
  }
161
230
  else if (message_.action.title || message_.action.icon_emoji_id) {
162
- message.forumTopicEdited = {
163
- name: message_.action.title,
231
+ const forumTopicEdited = {
232
+ name: message_.action.title ?? "",
164
233
  iconCutsomEmojiId: message_.action.icon_emoji_id ? String(message_.action.icon_emoji_id) : undefined,
165
234
  };
235
+ return { ...message, forumTopicEdited };
166
236
  }
167
237
  else {
168
- message.forumTopicReopened = {};
238
+ const forumTopicReopened = true;
239
+ return { ...message, forumTopicReopened };
169
240
  }
170
241
  }
171
242
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionGroupCallScheduled) {
172
- message.videoChatScheduled = { startDate: new Date(message_.action.schedule_date * 1000) };
243
+ const videoChatScheduled = { startDate: new Date(message_.action.schedule_date * 1000) };
244
+ return { ...message, videoChatScheduled };
173
245
  }
174
246
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionGroupCall) {
175
247
  if (message_.action.duration) {
176
- message.videoChatEnded = { duration: message_.action.duration };
248
+ const videoChatEnded = { duration: message_.action.duration };
249
+ return { ...message, videoChatEnded };
177
250
  }
178
251
  else {
179
- message.videoChatStarted = {};
252
+ const videoChatStarted = true;
253
+ return { ...message, videoChatStarted };
180
254
  }
181
255
  }
182
256
  else if (message_.action instanceof _2_tl_js_1.types.MessageActionSetMessagesTTL) {
183
- message.messageAutoDeleteTimerChanged = { messageAutoDeleteTime: message_.action.period || 0 };
257
+ const newAutoDeleteTime = message_.action.period || 0;
258
+ return { ...message, newAutoDeleteTime };
259
+ }
260
+ else {
261
+ (0, _1_utilities_js_1.UNREACHABLE)();
184
262
  }
185
- return (0, _1_utilities_js_1.cleanObject)(message);
186
263
  }
187
264
  async function constructMessage(message_, getEntity, getMessage, getStickerSetName, getReply_ = true) {
188
265
  if (!(message_ instanceof _2_tl_js_1.types.Message) && !(message_ instanceof _2_tl_js_1.types.MessageService)) {
@@ -234,38 +311,20 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
234
311
  isTopicMessage: false,
235
312
  hasProtectedContent: message_.noforwards || false,
236
313
  };
314
+ if (message_.reactions) {
315
+ const recentReactions = message_.reactions.recent_reactions ?? [];
316
+ message.reactions = message_.reactions.results.map((v) => (0, _1_message_reaction_js_1.constructMessageReaction)(v, recentReactions));
317
+ }
237
318
  if (message_.reply_to instanceof _2_tl_js_1.types.MessageReplyHeader && message_.reply_to.reply_to_msg_id) {
319
+ if (message_.reply_to.quote) {
320
+ message.replyQuote = (0, _1_reply_quote_js_1.constructReplyQuote)(message_.reply_to.quote_text, message_.reply_to.quote_offset, message_.reply_to.quote_entities);
321
+ }
238
322
  message.replyToMessageId = message_.reply_to.reply_to_msg_id;
239
323
  }
240
324
  if (getReply_) {
241
325
  Object.assign(message, await getReply(message_, chat_, getMessage));
242
326
  }
243
327
  Object.assign(message, await getSender(message_, getEntity));
244
- if (message_.media instanceof _2_tl_js_1.types.MessageMediaPhoto || message_.media instanceof _2_tl_js_1.types.MessageMediaDocument) {
245
- message.hasMediaSpoiler = message_.media.spoiler || false;
246
- }
247
- if (message_.grouped_id != undefined) {
248
- message.mediaGroupId = String(message_.grouped_id);
249
- }
250
- if (message_.message) {
251
- if (message_.media == undefined) {
252
- message.text = message_.message;
253
- }
254
- else {
255
- message.caption = message_.message;
256
- }
257
- }
258
- if (message_.entities != undefined) {
259
- if (message_.media == undefined) {
260
- message.entities = message_.entities.map(_0_message_entity_js_1.constructMessageEntity).filter((v) => v);
261
- }
262
- else {
263
- message.captionEntities = message_.entities.map(_0_message_entity_js_1.constructMessageEntity).filter((v) => v);
264
- }
265
- }
266
- if (message_.edit_date != undefined) {
267
- message.editDate = new Date(message_.edit_date * 1000);
268
- }
269
328
  if (message_.reply_markup) {
270
329
  if (message_.reply_markup instanceof _2_tl_js_1.types.ReplyKeyboardMarkup) {
271
330
  message.replyMarkup = (0, _2_reply_keyboard_markup_js_1.constructReplyKeyboardMarkup)(message_.reply_markup);
@@ -320,82 +379,125 @@ async function constructMessage(message_, getEntity, getMessage, getStickerSetNa
320
379
  }
321
380
  }
322
381
  }
323
- if (message_.media) {
324
- if (message_.media instanceof _2_tl_js_1.types.MessageMediaPhoto) {
325
- if (message_.media.photo instanceof _2_tl_js_1.types.Photo) {
326
- message.photo = (0, _1_photo_js_1.constructPhoto)(message_.media.photo);
327
- }
382
+ if (message_.grouped_id != undefined) {
383
+ message.mediaGroupId = String(message_.grouped_id);
384
+ }
385
+ if (message_.edit_date != undefined) {
386
+ message.editDate = new Date(message_.edit_date * 1000);
387
+ }
388
+ if (message_.message && message_.media === undefined) {
389
+ return {
390
+ ...message,
391
+ text: message_.message,
392
+ entities: message_.entities?.map(_0_message_entity_js_1.constructMessageEntity).filter((v) => !!v) ?? [],
393
+ };
394
+ }
395
+ const messageMedia = {
396
+ ...message,
397
+ caption: message_.message,
398
+ captionEntities: message_.entities?.map(_0_message_entity_js_1.constructMessageEntity).filter((v) => !!v) ?? [],
399
+ };
400
+ if (message_.media instanceof _2_tl_js_1.types.MessageMediaPhoto || message_.media instanceof _2_tl_js_1.types.MessageMediaDocument) {
401
+ messageMedia.hasMediaSpoiler = message_.media.spoiler || false;
402
+ }
403
+ let m = null;
404
+ if (message_.media instanceof _2_tl_js_1.types.MessageMediaPhoto) {
405
+ if (!message_.media.photo) {
406
+ (0, _1_utilities_js_1.UNREACHABLE)();
328
407
  }
329
- else if (message_.media instanceof _2_tl_js_1.types.MessageMediaDice) {
330
- message.dice = (0, _0_dice_js_1.constructDice)(message_.media);
331
- }
332
- else if (message_.media instanceof _2_tl_js_1.types.MessageMediaDocument) {
333
- const { document } = message_.media;
334
- if (document instanceof _2_tl_js_1.types.Document) {
335
- const getFileId = (type) => new _0__file_id_js_1.FileID(null, null, type, document.dc_id, {
336
- mediaId: document.id,
337
- accessHash: document.access_hash,
338
- fileReference: document.file_reference,
339
- }).encode();
340
- const fileUniqueId = new _0__file_id_js_1.FileUniqueID(_0__file_id_js_1.FileUniqueType.Document, { mediaId: document.id }).encode();
341
- const animated = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeAnimated);
342
- const audio = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeAudio);
343
- const fileName = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeFilename);
344
- const sticker = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeSticker);
345
- const video = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeVideo);
346
- if (animated) {
347
- message.animation = (0, _1_animation_js_1.constructAnimation)(document, video, fileName, getFileId(_0__file_id_js_1.FileType.Animation), fileUniqueId);
348
- }
349
- else if (video) {
350
- if (video.round_message) {
351
- message.videoNote = (0, _1_video_note_js_1.constructVideoNote)(document, video, getFileId(_0__file_id_js_1.FileType.VideoNote), fileUniqueId);
352
- }
353
- else {
354
- message.video = (0, _1_video_js_1.constructVideo)(document, video, fileName?.file_name, getFileId(_0__file_id_js_1.FileType.Video), fileUniqueId);
355
- }
356
- }
357
- else if (audio) {
358
- if (audio.voice) {
359
- message.voice = (0, _0_voice_js_1.constructVoice)(document, audio, getFileId(_0__file_id_js_1.FileType.Voice), fileUniqueId);
360
- }
361
- else {
362
- message.audio = (0, _0_audio_js_1.constructAudio)(document, audio, getFileId(_0__file_id_js_1.FileType.Audio), fileUniqueId);
363
- }
408
+ const photo = (0, _1_photo_js_1.constructPhoto)(message_.media.photo[_2_tl_js_1.as](_2_tl_js_1.types.Photo));
409
+ m = { ...messageMedia, photo };
410
+ }
411
+ else if (message_.media instanceof _2_tl_js_1.types.MessageMediaDice) {
412
+ const dice = (0, _0_dice_js_1.constructDice)(message_.media);
413
+ m = { ...message, dice };
414
+ }
415
+ else if (message_.media instanceof _2_tl_js_1.types.MessageMediaDocument) {
416
+ const { document } = message_.media;
417
+ if (document instanceof _2_tl_js_1.types.Document) {
418
+ const getFileId = (type) => new _0__file_id_js_1.FileID(null, null, type, document.dc_id, {
419
+ mediaId: document.id,
420
+ accessHash: document.access_hash,
421
+ fileReference: document.file_reference,
422
+ }).encode();
423
+ const fileUniqueId = new _0__file_id_js_1.FileUniqueID(_0__file_id_js_1.FileUniqueType.Document, { mediaId: document.id }).encode();
424
+ const animated = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeAnimated);
425
+ const audio = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeAudio);
426
+ const fileName = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeFilename);
427
+ const sticker = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeSticker);
428
+ const video = document.attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeVideo);
429
+ if (animated) {
430
+ const animation = (0, _1_animation_js_1.constructAnimation)(document, video, fileName, getFileId(_0__file_id_js_1.FileType.Animation), fileUniqueId);
431
+ m = { ...messageMedia, animation };
432
+ }
433
+ else if (video) {
434
+ if (video.round_message) {
435
+ const videoNote = (0, _1_video_note_js_1.constructVideoNote)(document, video, getFileId(_0__file_id_js_1.FileType.VideoNote), fileUniqueId);
436
+ m = { ...message, videoNote };
364
437
  }
365
- else if (sticker) {
366
- message.sticker = await (0, _1_sticker_js_1.constructSticker)(document, getFileId(_0__file_id_js_1.FileType.Sticker), fileUniqueId, getStickerSetName);
438
+ else {
439
+ const video_ = (0, _1_video_js_1.constructVideo)(document, video, fileName?.file_name, getFileId(_0__file_id_js_1.FileType.Video), fileUniqueId);
440
+ m = { ...messageMedia, video: video_ };
367
441
  }
368
- else if (fileName) {
369
- message.document = (0, _1_document_js_1.constructDocument)(document, fileName, getFileId(_0__file_id_js_1.FileType.Document), fileUniqueId);
442
+ }
443
+ else if (audio) {
444
+ if (audio.voice) {
445
+ const voice = (0, _0_voice_js_1.constructVoice)(document, audio, getFileId(_0__file_id_js_1.FileType.Voice), fileUniqueId);
446
+ m = { ...messageMedia, voice };
370
447
  }
371
448
  else {
372
- message.document = (0, _1_document_js_1.constructDocument)(document, new _2_tl_js_1.types.DocumentAttributeFilename({ file_name: "Unknown" }), getFileId(_0__file_id_js_1.FileType.Document), fileUniqueId);
449
+ const audio_ = (0, _0_audio_js_1.constructAudio)(document, audio, getFileId(_0__file_id_js_1.FileType.Audio), fileUniqueId);
450
+ m = { ...messageMedia, audio: audio_ };
373
451
  }
374
452
  }
453
+ else if (sticker) {
454
+ const sticker = await (0, _1_sticker_js_1.constructSticker)(document, getFileId(_0__file_id_js_1.FileType.Sticker), fileUniqueId, getStickerSetName);
455
+ m = { ...message, sticker };
456
+ }
457
+ else if (fileName) {
458
+ const document_ = (0, _1_document_js_1.constructDocument)(document, fileName, getFileId(_0__file_id_js_1.FileType.Document), fileUniqueId);
459
+ m = { ...messageMedia, document: document_ };
460
+ }
461
+ else {
462
+ const document_ = (0, _1_document_js_1.constructDocument)(document, new _2_tl_js_1.types.DocumentAttributeFilename({ file_name: "Unknown" }), getFileId(_0__file_id_js_1.FileType.Document), fileUniqueId);
463
+ m = { ...messageMedia, document: document_ };
464
+ }
375
465
  }
376
- else if (message_.media instanceof _2_tl_js_1.types.MessageMediaContact) {
377
- message.contact = (0, _0_contact_js_1.constructContact)(message_.media);
378
- }
379
- else if (message_.media instanceof _2_tl_js_1.types.MessageMediaGame) {
380
- message.game = (0, _2_game_js_1.constructGame)(message_.media);
381
- }
382
- else if (message_.media instanceof _2_tl_js_1.types.MessageMediaPoll) {
383
- message.poll = (0, _1_poll_js_1.constructPoll)(message_.media);
384
- }
385
- else if (message_.media instanceof _2_tl_js_1.types.MessageMediaVenue) {
386
- message.venue = (0, _0_venue_js_1.constructVenue)(message_.media);
387
- }
388
- else if (message_.media instanceof _2_tl_js_1.types.MessageMediaGeo || message_.media instanceof _2_tl_js_1.types.MessageMediaGeoLive) {
389
- message.location = (0, _0_location_js_1.constructLocation)(message_.media);
390
- }
391
- else if (message_.media instanceof _2_tl_js_1.types.MessageMediaWebPage) {
392
- //
393
- }
394
- else {
395
- // not implemented
396
- (0, _1_utilities_js_1.UNREACHABLE)();
397
- }
398
466
  }
399
- return (0, _1_utilities_js_1.cleanObject)(message);
467
+ else if (message_.media instanceof _2_tl_js_1.types.MessageMediaContact) {
468
+ const contact = (0, _0_contact_js_1.constructContact)(message_.media);
469
+ m = { ...messageMedia, contact };
470
+ }
471
+ else if (message_.media instanceof _2_tl_js_1.types.MessageMediaGame) {
472
+ const game = (0, _2_game_js_1.constructGame)(message_.media);
473
+ m = { ...message, game };
474
+ }
475
+ else if (message_.media instanceof _2_tl_js_1.types.MessageMediaPoll) {
476
+ const poll = (0, _1_poll_js_1.constructPoll)(message_.media);
477
+ m = { ...message, poll };
478
+ }
479
+ else if (message_.media instanceof _2_tl_js_1.types.MessageMediaVenue) {
480
+ const venue = (0, _0_venue_js_1.constructVenue)(message_.media);
481
+ m = { ...message, venue };
482
+ }
483
+ else if (message_.media instanceof _2_tl_js_1.types.MessageMediaGeo || message_.media instanceof _2_tl_js_1.types.MessageMediaGeoLive) {
484
+ const location = (0, _0_location_js_1.constructLocation)(message_.media);
485
+ m = { ...message, location };
486
+ }
487
+ else if (message_.media instanceof _2_tl_js_1.types.MessageMediaWebPage) {
488
+ (0, _1_utilities_js_1.UNREACHABLE)(); // TODO: implement
489
+ }
490
+ else if (message_.media instanceof _2_tl_js_1.types.MessageMediaGiveaway) {
491
+ const giveaway = (0, _1_giveaway_js_1.constructGiveaway)(message_.media);
492
+ m = { ...message, giveaway };
493
+ }
494
+ else {
495
+ // not implemented
496
+ (0, _1_utilities_js_1.UNREACHABLE)();
497
+ }
498
+ if (m == null) {
499
+ (0, _1_utilities_js_1.UNREACHABLE)();
500
+ }
501
+ return (0, _1_utilities_js_1.cleanObject)(m);
400
502
  }
401
503
  exports.constructMessage = constructMessage;
@@ -1,34 +1,37 @@
1
1
  import { enums, types } from "../2_tl.js";
2
- import { ChatP } from "./1_chat_p.js";
3
- import { ChatPhoto } from "./0_chat_photo.js";
2
+ import { ChatPChannel, ChatPGroup, ChatPPrivate, ChatPSupergroup } from "./1_chat_p.js";
3
+ import { ChatPhotoChat, ChatPhotoUser } from "./0_chat_photo.js";
4
4
  import { Message, MessageGetter } from "./3_message.js";
5
5
  import { StickerSetNameGetter } from "./1_sticker.js";
6
6
  import { EntityGetter } from "./1__getters.js";
7
- export declare namespace Chat {
8
- interface Base {
9
- order: string;
10
- lastMessage?: Message;
11
- pinned: number;
12
- }
13
- interface Channel extends Base, ChatP.Channel {
14
- also?: string[];
15
- photo?: ChatPhoto.Chat;
16
- }
17
- interface Supergroup extends Base, ChatP.Supergroup {
18
- also?: string[];
19
- photo?: ChatPhoto.Chat;
20
- }
21
- interface Group extends Base, ChatP.Group {
22
- photo?: ChatPhoto.Chat;
23
- }
24
- interface Private extends Base, ChatP.Private {
25
- also?: string[];
26
- photo?: ChatPhoto.User;
27
- }
7
+ /** @unlisted */
8
+ export interface ChatBase {
9
+ order: string;
10
+ lastMessage?: Omit<Message, "replyToMessage">;
11
+ pinned: number;
28
12
  }
29
- export type Chat = Chat.Channel | Chat.Supergroup | Chat.Group | Chat.Private;
30
- export declare function getChatOrder(lastMessage: Message | undefined, pinned: number): string;
31
- export declare function constructChat(dialog: enums.Dialog, dialogs: types.messages.Dialogs | types.messages.DialogsSlice, pinnedChats: number[], getEntity: EntityGetter, getMessage: MessageGetter<"replyToMessage">, getStickerSetName: StickerSetNameGetter): Promise<Chat>;
32
- export declare function constructChat2(entity: types.User | types.Chat | types.ChatForbidden | types.Channel | types.ChannelForbidden, pinned: number, lastMessage: Message | undefined): Chat;
33
- export declare function constructChat3(chatId: number, pinned: number, lastMessage: Message | undefined, getEntity: EntityGetter): Promise<Chat | null>;
34
- export declare function constructChat4(chatId: number, pinned: number, lastMessageId: number, getEntity: EntityGetter, getMessage: MessageGetter<"replyToMessage">): Promise<Chat | null>;
13
+ /** @unlisted */
14
+ export interface ChatChannel extends ChatBase, ChatPChannel {
15
+ also?: string[];
16
+ photo?: ChatPhotoChat;
17
+ }
18
+ /** @unlisted */
19
+ export interface ChatSupergroup extends ChatBase, ChatPSupergroup {
20
+ also?: string[];
21
+ photo?: ChatPhotoChat;
22
+ }
23
+ /** @unlisted */
24
+ export interface ChatGroup extends ChatBase, ChatPGroup {
25
+ photo?: ChatPhotoChat;
26
+ }
27
+ /** @unlisted */
28
+ export interface ChatPrivate extends ChatBase, ChatPPrivate {
29
+ also?: string[];
30
+ photo?: ChatPhotoUser;
31
+ }
32
+ export type Chat = ChatChannel | ChatSupergroup | ChatGroup | ChatPrivate;
33
+ export declare function getChatOrder(lastMessage: Omit<Message, "replyToMessage"> | undefined, pinned: number): string;
34
+ export declare function constructChat(dialog: enums.Dialog, dialogs: types.messages.Dialogs | types.messages.DialogsSlice, pinnedChats: number[], getEntity: EntityGetter, getMessage: MessageGetter, getStickerSetName: StickerSetNameGetter): Promise<Chat>;
35
+ export declare function constructChat2(entity: types.User | types.Chat | types.ChatForbidden | types.Channel | types.ChannelForbidden, pinned: number, lastMessage: Omit<Message, "replyToMessage"> | undefined): Chat;
36
+ export declare function constructChat3(chatId: number, pinned: number, lastMessage: Omit<Message, "replyToMessage"> | undefined, getEntity: EntityGetter): Promise<Chat | null>;
37
+ export declare function constructChat4(chatId: number, pinned: number, lastMessageId: number, getEntity: EntityGetter, getMessage: MessageGetter): Promise<Chat | null>;
@@ -1,13 +0,0 @@
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): string;
@@ -1,2 +0,0 @@
1
- export declare const SEP: string;
2
- export declare const SEP_PATTERN: RegExp;
@@ -1,13 +0,0 @@
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): string;