@mtkruto/node 0.1.151 → 0.1.152

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 (585) 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 +9 -0
  4. package/esm/3_types.js +9 -0
  5. package/esm/4_constants.d.ts +1 -1
  6. package/esm/4_constants.js +1 -1
  7. package/esm/client/0_params.d.ts +14 -5
  8. package/esm/client/0_types.d.ts +3 -2
  9. package/esm/client/1_update_manager.js +65 -29
  10. package/esm/client/2_message_manager.d.ts +41 -3
  11. package/esm/client/2_message_manager.js +101 -40
  12. package/esm/client/3_story_manager.d.ts +28 -0
  13. package/esm/client/3_story_manager.js +143 -0
  14. package/esm/client/4_client.d.ts +148 -60
  15. package/esm/client/4_client.js +185 -59
  16. package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/fmt/colors.d.ts +3 -0
  17. package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/fmt/colors.js +3 -0
  18. package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/glob_to_regexp.d.ts +1 -0
  19. package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join_globs.d.ts +1 -0
  20. package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/mod.d.ts +0 -9
  21. package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/mod.js +0 -10
  22. package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/normalize_glob.d.ts +1 -0
  23. package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/posix/join_globs.d.ts +1 -0
  24. package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/posix/mod.d.ts +0 -9
  25. package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/mod.js +0 -9
  26. package/{script/deps/deno.land/std@0.214.0 → esm/deps/deno.land/std@0.216.0}/path/posix/normalize_glob.d.ts +1 -0
  27. package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join_globs.d.ts +1 -0
  28. package/esm/deps/deno.land/{std@0.214.0/path/posix → std@0.216.0/path/windows}/mod.d.ts +0 -9
  29. package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/mod.js +0 -9
  30. package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize_glob.d.ts +1 -0
  31. package/esm/tl/3_utilities.d.ts +7 -1
  32. package/esm/tl/3_utilities.js +3 -3
  33. package/esm/types/0_id.d.ts +2 -2
  34. package/esm/types/0_link_preview.d.ts +15 -0
  35. package/esm/types/0_link_preview.js +9 -0
  36. package/esm/types/0_story_reference.d.ts +5 -0
  37. package/esm/types/0_story_reference.js +1 -0
  38. package/esm/types/0_venue.d.ts +1 -1
  39. package/esm/types/1__getters.d.ts +2 -2
  40. package/esm/types/1_input_message_content.d.ts +6 -1
  41. package/esm/types/1_input_story_content.d.ts +15 -0
  42. package/esm/types/1_input_story_content.js +1 -0
  43. package/esm/types/1_story_interactive_area.d.ts +41 -0
  44. package/esm/types/1_story_interactive_area.js +98 -0
  45. package/esm/types/1_story_privacy.d.ts +22 -0
  46. package/esm/types/1_story_privacy.js +57 -0
  47. package/esm/types/1_story_reaction.d.ts +12 -0
  48. package/esm/types/1_story_reaction.js +7 -0
  49. package/esm/types/2_message_interactions.d.ts +1 -1
  50. package/esm/types/2_story_content.d.ts +18 -0
  51. package/esm/types/2_story_content.js +35 -0
  52. package/esm/types/2_story_interactions.d.ts +10 -0
  53. package/esm/types/2_story_interactions.js +8 -0
  54. package/esm/types/3_story.d.ts +24 -0
  55. package/esm/types/3_story.js +37 -0
  56. package/esm/types/4_inline_query_result.js +25 -6
  57. package/esm/types/4_message.d.ts +74 -2
  58. package/esm/types/4_message.js +15 -6
  59. package/esm/types/6_update.d.ts +20 -2
  60. package/package.json +1 -1
  61. package/script/0_deps.d.ts +4 -4
  62. package/script/0_deps.js +5 -5
  63. package/script/3_types.d.ts +9 -0
  64. package/script/3_types.js +9 -0
  65. package/script/4_constants.d.ts +1 -1
  66. package/script/4_constants.js +1 -1
  67. package/script/client/0_params.d.ts +14 -5
  68. package/script/client/0_types.d.ts +3 -2
  69. package/script/client/1_update_manager.js +65 -29
  70. package/script/client/2_message_manager.d.ts +41 -3
  71. package/script/client/2_message_manager.js +101 -40
  72. package/script/client/3_story_manager.d.ts +28 -0
  73. package/script/client/3_story_manager.js +147 -0
  74. package/script/client/4_client.d.ts +148 -60
  75. package/script/client/4_client.js +185 -59
  76. package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/fmt/colors.d.ts +3 -0
  77. package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/fmt/colors.js +3 -0
  78. package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/glob_to_regexp.d.ts +1 -0
  79. package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join_globs.d.ts +1 -0
  80. package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/mod.d.ts +0 -9
  81. package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/mod.js +1 -11
  82. package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/normalize_glob.d.ts +1 -0
  83. package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/posix/join_globs.d.ts +1 -0
  84. package/script/deps/deno.land/{std@0.214.0/path/windows → std@0.216.0/path/posix}/mod.d.ts +0 -9
  85. package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/mod.js +0 -10
  86. package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/posix/normalize_glob.d.ts +1 -0
  87. package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join_globs.d.ts +1 -0
  88. package/{esm/deps/deno.land/std@0.214.0 → script/deps/deno.land/std@0.216.0}/path/windows/mod.d.ts +0 -9
  89. package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/mod.js +0 -10
  90. package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize_glob.d.ts +1 -0
  91. package/script/tl/3_utilities.d.ts +7 -1
  92. package/script/tl/3_utilities.js +3 -3
  93. package/script/types/0_id.d.ts +2 -2
  94. package/script/types/0_link_preview.d.ts +15 -0
  95. package/script/types/0_link_preview.js +13 -0
  96. package/script/types/0_story_reference.d.ts +5 -0
  97. package/script/types/0_story_reference.js +2 -0
  98. package/script/types/0_venue.d.ts +1 -1
  99. package/script/types/1__getters.d.ts +2 -2
  100. package/script/types/1_input_message_content.d.ts +6 -1
  101. package/script/types/1_input_story_content.d.ts +15 -0
  102. package/script/types/1_input_story_content.js +2 -0
  103. package/script/types/1_story_interactive_area.d.ts +41 -0
  104. package/script/types/1_story_interactive_area.js +103 -0
  105. package/script/types/1_story_privacy.d.ts +22 -0
  106. package/script/types/1_story_privacy.js +62 -0
  107. package/script/types/1_story_reaction.d.ts +12 -0
  108. package/script/types/1_story_reaction.js +11 -0
  109. package/script/types/2_message_interactions.d.ts +1 -1
  110. package/script/types/2_story_content.d.ts +18 -0
  111. package/script/types/2_story_content.js +39 -0
  112. package/script/types/2_story_interactions.d.ts +10 -0
  113. package/script/types/2_story_interactions.js +12 -0
  114. package/script/types/3_story.d.ts +24 -0
  115. package/script/types/3_story.js +41 -0
  116. package/script/types/4_inline_query_result.js +25 -6
  117. package/script/types/4_message.d.ts +74 -2
  118. package/script/types/4_message.js +15 -6
  119. package/script/types/6_update.d.ts +20 -2
  120. package/esm/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +0 -8
  121. package/esm/deps/deno.land/std@0.214.0/path/posix/separator.js +0 -10
  122. package/esm/deps/deno.land/std@0.214.0/path/separator.d.ts +0 -8
  123. package/esm/deps/deno.land/std@0.214.0/path/separator.js +0 -11
  124. package/esm/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +0 -8
  125. package/esm/deps/deno.land/std@0.214.0/path/windows/separator.js +0 -10
  126. package/script/deps/deno.land/std@0.214.0/path/posix/separator.d.ts +0 -8
  127. package/script/deps/deno.land/std@0.214.0/path/posix/separator.js +0 -13
  128. package/script/deps/deno.land/std@0.214.0/path/separator.d.ts +0 -8
  129. package/script/deps/deno.land/std@0.214.0/path/separator.js +0 -14
  130. package/script/deps/deno.land/std@0.214.0/path/windows/separator.d.ts +0 -8
  131. package/script/deps/deno.land/std@0.214.0/path/windows/separator.js +0 -13
  132. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_constants.d.ts +0 -0
  133. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_constants.js +0 -0
  134. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_diff.d.ts +0 -0
  135. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_diff.js +0 -0
  136. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_format.d.ts +0 -0
  137. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_format.js +0 -0
  138. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert.d.ts +0 -0
  139. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert.js +0 -0
  140. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_almost_equals.d.ts +0 -0
  141. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_almost_equals.js +0 -0
  142. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_array_includes.d.ts +0 -0
  143. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_array_includes.js +0 -0
  144. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_equals.d.ts +0 -0
  145. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_equals.js +0 -0
  146. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_exists.d.ts +0 -0
  147. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_exists.js +0 -0
  148. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_false.d.ts +0 -0
  149. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_false.js +0 -0
  150. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater.d.ts +0 -0
  151. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater.js +0 -0
  152. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater_or_equal.d.ts +0 -0
  153. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater_or_equal.js +0 -0
  154. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_instance_of.d.ts +0 -0
  155. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_instance_of.js +0 -0
  156. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_is_error.d.ts +0 -0
  157. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_is_error.js +0 -0
  158. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less.d.ts +0 -0
  159. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less.js +0 -0
  160. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less_or_equal.d.ts +0 -0
  161. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less_or_equal.js +0 -0
  162. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_match.d.ts +0 -0
  163. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_match.js +0 -0
  164. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_equals.d.ts +0 -0
  165. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_equals.js +0 -0
  166. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_instance_of.d.ts +0 -0
  167. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_instance_of.js +0 -0
  168. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_match.d.ts +0 -0
  169. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_match.js +0 -0
  170. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_strict_equals.d.ts +0 -0
  171. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_strict_equals.js +0 -0
  172. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_object_match.d.ts +0 -0
  173. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_object_match.js +0 -0
  174. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_rejects.d.ts +0 -0
  175. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_rejects.js +0 -0
  176. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_strict_equals.d.ts +0 -0
  177. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_strict_equals.js +0 -0
  178. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_string_includes.d.ts +0 -0
  179. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_string_includes.js +0 -0
  180. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_throws.d.ts +0 -0
  181. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_throws.js +0 -0
  182. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assertion_error.d.ts +0 -0
  183. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assertion_error.js +0 -0
  184. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/equal.d.ts +0 -0
  185. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/equal.js +0 -0
  186. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/fail.d.ts +0 -0
  187. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/fail.js +0 -0
  188. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/mod.d.ts +0 -0
  189. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/mod.js +0 -0
  190. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unimplemented.d.ts +0 -0
  191. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unimplemented.js +0 -0
  192. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unreachable.d.ts +0 -0
  193. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unreachable.js +0 -0
  194. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/_util.d.ts +0 -0
  195. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/_util.js +0 -0
  196. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/base64.d.ts +0 -0
  197. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/base64.js +0 -0
  198. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_db.d.ts +0 -0
  199. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_db.js +0 -0
  200. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_util.d.ts +0 -0
  201. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_util.js +0 -0
  202. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/content_type.d.ts +0 -0
  203. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/content_type.js +0 -0
  204. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extension.d.ts +0 -0
  205. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extension.js +0 -0
  206. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extensions_by_type.d.ts +0 -0
  207. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extensions_by_type.js +0 -0
  208. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/format_media_type.d.ts +0 -0
  209. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/format_media_type.js +0 -0
  210. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/get_charset.d.ts +0 -0
  211. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/get_charset.js +0 -0
  212. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/parse_media_type.d.ts +0 -0
  213. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/parse_media_type.js +0 -0
  214. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/type_by_extension.d.ts +0 -0
  215. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/type_by_extension.js +0 -0
  216. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  217. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  218. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/assert_path.d.ts +0 -0
  219. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/assert_path.js +0 -0
  220. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/basename.d.ts +0 -0
  221. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/basename.js +0 -0
  222. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/common.d.ts +0 -0
  223. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/common.js +0 -0
  224. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/constants.d.ts +0 -0
  225. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/constants.js +0 -0
  226. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/dirname.d.ts +0 -0
  227. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/dirname.js +0 -0
  228. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/format.d.ts +0 -0
  229. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/format.js +0 -0
  230. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/from_file_url.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/from_file_url.js +0 -0
  232. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/glob_to_reg_exp.js +0 -0
  234. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize.js +0 -0
  236. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize_string.d.ts +0 -0
  237. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize_string.js +0 -0
  238. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/relative.d.ts +0 -0
  239. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/relative.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  241. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/strip_trailing_separators.js +0 -0
  242. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/to_file_url.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/to_file_url.js +0 -0
  244. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_interface.d.ts +0 -0
  245. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_interface.js +0 -0
  246. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_os.d.ts +0 -0
  247. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_os.js +0 -0
  248. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/basename.d.ts +0 -0
  249. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/basename.js +0 -0
  250. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/common.d.ts +0 -0
  251. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/common.js +0 -0
  252. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/constants.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/constants.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/dirname.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/dirname.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/extname.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/extname.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/format.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/format.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/from_file_url.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/from_file_url.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/glob_to_regexp.js +0 -0
  263. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_absolute.d.ts +0 -0
  264. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_absolute.js +0 -0
  265. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_glob.d.ts +0 -0
  266. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_glob.js +0 -0
  267. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join.d.ts +0 -0
  268. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join.js +0 -0
  269. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join_globs.js +0 -0
  270. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize.d.ts +0 -0
  271. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize_glob.js +0 -0
  273. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/parse.d.ts +0 -0
  274. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/parse.js +0 -0
  275. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/_util.d.ts +0 -0
  276. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/_util.js +0 -0
  277. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/basename.d.ts +0 -0
  278. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/basename.js +0 -0
  279. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/common.d.ts +0 -0
  280. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/common.js +0 -0
  281. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/constants.d.ts +0 -0
  282. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/constants.js +0 -0
  283. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/dirname.d.ts +0 -0
  284. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/dirname.js +0 -0
  285. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/extname.d.ts +0 -0
  286. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/extname.js +0 -0
  287. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/format.d.ts +0 -0
  288. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/format.js +0 -0
  289. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/from_file_url.d.ts +0 -0
  290. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/from_file_url.js +0 -0
  291. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/glob_to_regexp.d.ts +0 -0
  292. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/glob_to_regexp.js +0 -0
  293. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_absolute.d.ts +0 -0
  294. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_absolute.js +0 -0
  295. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_glob.d.ts +0 -0
  296. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_glob.js +0 -0
  297. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join.d.ts +0 -0
  298. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join.js +0 -0
  299. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join_globs.js +0 -0
  300. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize.d.ts +0 -0
  301. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize_glob.js +0 -0
  303. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/parse.d.ts +0 -0
  304. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/parse.js +0 -0
  305. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/relative.d.ts +0 -0
  306. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/relative.js +0 -0
  307. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/resolve.d.ts +0 -0
  308. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/resolve.js +0 -0
  309. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_file_url.d.ts +0 -0
  310. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_file_url.js +0 -0
  311. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_namespaced_path.d.ts +0 -0
  312. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_namespaced_path.js +0 -0
  313. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/relative.d.ts +0 -0
  314. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/relative.js +0 -0
  315. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/resolve.d.ts +0 -0
  316. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/resolve.js +0 -0
  317. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_file_url.d.ts +0 -0
  318. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_file_url.js +0 -0
  319. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_namespaced_path.d.ts +0 -0
  320. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_namespaced_path.js +0 -0
  321. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/_util.d.ts +0 -0
  322. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/_util.js +0 -0
  323. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/basename.d.ts +0 -0
  324. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/basename.js +0 -0
  325. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/common.d.ts +0 -0
  326. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/common.js +0 -0
  327. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/constants.d.ts +0 -0
  328. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/constants.js +0 -0
  329. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/dirname.d.ts +0 -0
  330. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/dirname.js +0 -0
  331. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/extname.d.ts +0 -0
  332. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/extname.js +0 -0
  333. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/format.d.ts +0 -0
  334. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/format.js +0 -0
  335. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/from_file_url.d.ts +0 -0
  336. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/from_file_url.js +0 -0
  337. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/glob_to_regexp.d.ts +0 -0
  338. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/glob_to_regexp.js +0 -0
  339. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_absolute.d.ts +0 -0
  340. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_absolute.js +0 -0
  341. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_glob.d.ts +0 -0
  342. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_glob.js +0 -0
  343. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join.d.ts +0 -0
  344. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join.js +0 -0
  345. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join_globs.js +0 -0
  346. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize.d.ts +0 -0
  347. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize.js +0 -0
  348. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize_glob.js +0 -0
  349. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/parse.d.ts +0 -0
  350. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/parse.js +0 -0
  351. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/relative.d.ts +0 -0
  352. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/relative.js +0 -0
  353. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/resolve.d.ts +0 -0
  354. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/resolve.js +0 -0
  355. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_file_url.d.ts +0 -0
  356. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_file_url.js +0 -0
  357. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_namespaced_path.d.ts +0 -0
  358. /package/esm/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_namespaced_path.js +0 -0
  359. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_constants.d.ts +0 -0
  360. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_constants.js +0 -0
  361. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_diff.d.ts +0 -0
  362. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_diff.js +0 -0
  363. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_format.d.ts +0 -0
  364. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/_format.js +0 -0
  365. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert.d.ts +0 -0
  366. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert.js +0 -0
  367. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_almost_equals.d.ts +0 -0
  368. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_almost_equals.js +0 -0
  369. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_array_includes.d.ts +0 -0
  370. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_array_includes.js +0 -0
  371. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_equals.d.ts +0 -0
  372. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_equals.js +0 -0
  373. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_exists.d.ts +0 -0
  374. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_exists.js +0 -0
  375. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_false.d.ts +0 -0
  376. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_false.js +0 -0
  377. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater.d.ts +0 -0
  378. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater.js +0 -0
  379. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater_or_equal.d.ts +0 -0
  380. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_greater_or_equal.js +0 -0
  381. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_instance_of.d.ts +0 -0
  382. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_instance_of.js +0 -0
  383. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_is_error.d.ts +0 -0
  384. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_is_error.js +0 -0
  385. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less.d.ts +0 -0
  386. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less.js +0 -0
  387. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less_or_equal.d.ts +0 -0
  388. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_less_or_equal.js +0 -0
  389. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_match.d.ts +0 -0
  390. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_match.js +0 -0
  391. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_equals.d.ts +0 -0
  392. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_equals.js +0 -0
  393. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_instance_of.d.ts +0 -0
  394. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_instance_of.js +0 -0
  395. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_match.d.ts +0 -0
  396. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_match.js +0 -0
  397. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_strict_equals.d.ts +0 -0
  398. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_not_strict_equals.js +0 -0
  399. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_object_match.d.ts +0 -0
  400. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_object_match.js +0 -0
  401. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_rejects.d.ts +0 -0
  402. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_rejects.js +0 -0
  403. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_strict_equals.d.ts +0 -0
  404. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_strict_equals.js +0 -0
  405. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_string_includes.d.ts +0 -0
  406. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_string_includes.js +0 -0
  407. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_throws.d.ts +0 -0
  408. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assert_throws.js +0 -0
  409. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assertion_error.d.ts +0 -0
  410. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/assertion_error.js +0 -0
  411. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/equal.d.ts +0 -0
  412. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/equal.js +0 -0
  413. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/fail.d.ts +0 -0
  414. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/fail.js +0 -0
  415. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/mod.d.ts +0 -0
  416. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/mod.js +0 -0
  417. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unimplemented.d.ts +0 -0
  418. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unimplemented.js +0 -0
  419. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unreachable.d.ts +0 -0
  420. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/assert/unreachable.js +0 -0
  421. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/_util.d.ts +0 -0
  422. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/_util.js +0 -0
  423. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/base64.d.ts +0 -0
  424. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/encoding/base64.js +0 -0
  425. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_db.d.ts +0 -0
  426. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_db.js +0 -0
  427. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_util.d.ts +0 -0
  428. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/_util.js +0 -0
  429. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/content_type.d.ts +0 -0
  430. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/content_type.js +0 -0
  431. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extension.d.ts +0 -0
  432. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extension.js +0 -0
  433. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extensions_by_type.d.ts +0 -0
  434. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/extensions_by_type.js +0 -0
  435. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/format_media_type.d.ts +0 -0
  436. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/format_media_type.js +0 -0
  437. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/get_charset.d.ts +0 -0
  438. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/get_charset.js +0 -0
  439. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/parse_media_type.d.ts +0 -0
  440. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/parse_media_type.js +0 -0
  441. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/type_by_extension.d.ts +0 -0
  442. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/type_by_extension.js +0 -0
  443. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  444. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  445. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/assert_path.d.ts +0 -0
  446. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/assert_path.js +0 -0
  447. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/basename.d.ts +0 -0
  448. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/basename.js +0 -0
  449. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/common.d.ts +0 -0
  450. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/common.js +0 -0
  451. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/constants.d.ts +0 -0
  452. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/constants.js +0 -0
  453. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/dirname.d.ts +0 -0
  454. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/dirname.js +0 -0
  455. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/format.d.ts +0 -0
  456. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/format.js +0 -0
  457. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/from_file_url.d.ts +0 -0
  458. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/from_file_url.js +0 -0
  459. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  460. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/glob_to_reg_exp.js +0 -0
  461. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize.d.ts +0 -0
  462. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize.js +0 -0
  463. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize_string.d.ts +0 -0
  464. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/normalize_string.js +0 -0
  465. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/relative.d.ts +0 -0
  466. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/relative.js +0 -0
  467. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  468. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/strip_trailing_separators.js +0 -0
  469. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/to_file_url.d.ts +0 -0
  470. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_common/to_file_url.js +0 -0
  471. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_interface.d.ts +0 -0
  472. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_interface.js +0 -0
  473. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_os.d.ts +0 -0
  474. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/_os.js +0 -0
  475. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/basename.d.ts +0 -0
  476. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/basename.js +0 -0
  477. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/common.d.ts +0 -0
  478. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/common.js +0 -0
  479. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/constants.d.ts +0 -0
  480. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/constants.js +0 -0
  481. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/dirname.d.ts +0 -0
  482. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/dirname.js +0 -0
  483. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/extname.d.ts +0 -0
  484. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/extname.js +0 -0
  485. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/format.d.ts +0 -0
  486. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/format.js +0 -0
  487. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/from_file_url.d.ts +0 -0
  488. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/from_file_url.js +0 -0
  489. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/glob_to_regexp.js +0 -0
  490. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_absolute.d.ts +0 -0
  491. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_absolute.js +0 -0
  492. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_glob.d.ts +0 -0
  493. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/is_glob.js +0 -0
  494. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join.d.ts +0 -0
  495. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join.js +0 -0
  496. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/join_globs.js +0 -0
  497. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize.d.ts +0 -0
  498. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize.js +0 -0
  499. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/normalize_glob.js +0 -0
  500. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/parse.d.ts +0 -0
  501. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/parse.js +0 -0
  502. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/_util.d.ts +0 -0
  503. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/_util.js +0 -0
  504. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/basename.d.ts +0 -0
  505. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/basename.js +0 -0
  506. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/common.d.ts +0 -0
  507. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/common.js +0 -0
  508. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/constants.d.ts +0 -0
  509. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/constants.js +0 -0
  510. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/dirname.d.ts +0 -0
  511. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/dirname.js +0 -0
  512. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/extname.d.ts +0 -0
  513. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/extname.js +0 -0
  514. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/format.d.ts +0 -0
  515. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/format.js +0 -0
  516. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/from_file_url.d.ts +0 -0
  517. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/from_file_url.js +0 -0
  518. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/glob_to_regexp.d.ts +0 -0
  519. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/glob_to_regexp.js +0 -0
  520. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_absolute.d.ts +0 -0
  521. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_absolute.js +0 -0
  522. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_glob.d.ts +0 -0
  523. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/is_glob.js +0 -0
  524. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join.d.ts +0 -0
  525. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join.js +0 -0
  526. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/join_globs.js +0 -0
  527. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize.d.ts +0 -0
  528. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize.js +0 -0
  529. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/normalize_glob.js +0 -0
  530. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/parse.d.ts +0 -0
  531. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/parse.js +0 -0
  532. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/relative.d.ts +0 -0
  533. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/relative.js +0 -0
  534. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/resolve.d.ts +0 -0
  535. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/resolve.js +0 -0
  536. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_file_url.d.ts +0 -0
  537. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_file_url.js +0 -0
  538. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_namespaced_path.d.ts +0 -0
  539. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/posix/to_namespaced_path.js +0 -0
  540. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/relative.d.ts +0 -0
  541. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/relative.js +0 -0
  542. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/resolve.d.ts +0 -0
  543. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/resolve.js +0 -0
  544. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_file_url.d.ts +0 -0
  545. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_file_url.js +0 -0
  546. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_namespaced_path.d.ts +0 -0
  547. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/to_namespaced_path.js +0 -0
  548. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/_util.d.ts +0 -0
  549. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/_util.js +0 -0
  550. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/basename.d.ts +0 -0
  551. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/basename.js +0 -0
  552. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/common.d.ts +0 -0
  553. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/common.js +0 -0
  554. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/constants.d.ts +0 -0
  555. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/constants.js +0 -0
  556. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/dirname.d.ts +0 -0
  557. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/dirname.js +0 -0
  558. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/extname.d.ts +0 -0
  559. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/extname.js +0 -0
  560. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/format.d.ts +0 -0
  561. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/format.js +0 -0
  562. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/from_file_url.d.ts +0 -0
  563. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/from_file_url.js +0 -0
  564. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/glob_to_regexp.d.ts +0 -0
  565. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/glob_to_regexp.js +0 -0
  566. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_absolute.d.ts +0 -0
  567. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_absolute.js +0 -0
  568. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_glob.d.ts +0 -0
  569. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/is_glob.js +0 -0
  570. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join.d.ts +0 -0
  571. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join.js +0 -0
  572. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/join_globs.js +0 -0
  573. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize.d.ts +0 -0
  574. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize.js +0 -0
  575. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/normalize_glob.js +0 -0
  576. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/parse.d.ts +0 -0
  577. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/parse.js +0 -0
  578. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/relative.d.ts +0 -0
  579. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/relative.js +0 -0
  580. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/resolve.d.ts +0 -0
  581. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/resolve.js +0 -0
  582. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_file_url.d.ts +0 -0
  583. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_file_url.js +0 -0
  584. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_namespaced_path.d.ts +0 -0
  585. /package/script/deps/deno.land/{std@0.214.0 → std@0.216.0}/path/windows/to_namespaced_path.js +0 -0
@@ -0,0 +1,35 @@
1
+ import { UNREACHABLE } from "../1_utilities.js";
2
+ import { as, types } from "../2_tl.js";
3
+ import { FileID, FileType, FileUniqueID, FileUniqueType } from "./0__file_id.js";
4
+ import { constructPhoto } from "./1_photo.js";
5
+ import { constructVideo } from "./1_video.js";
6
+ export function constructStoryContent(media) {
7
+ if (media instanceof types.MessageMediaPhoto) {
8
+ if (!media.photo) {
9
+ UNREACHABLE();
10
+ }
11
+ const photo = constructPhoto(media.photo[as](types.Photo));
12
+ return { photo };
13
+ }
14
+ else if (media instanceof types.MessageMediaDocument) {
15
+ const document = media.document;
16
+ if (!(document instanceof types.Document)) {
17
+ UNREACHABLE();
18
+ }
19
+ const video = document.attributes.find((v) => v instanceof types.DocumentAttributeVideo);
20
+ if (!video) {
21
+ UNREACHABLE();
22
+ }
23
+ const fileUniqueId = new FileUniqueID(FileUniqueType.Document, { mediaId: document.id }).encode();
24
+ const fileId = new FileID(null, null, FileType.Video, document.dc_id, {
25
+ mediaId: document.id,
26
+ accessHash: document.access_hash,
27
+ fileReference: document.file_reference,
28
+ }).encode();
29
+ const video_ = constructVideo(document, video, undefined, fileId, fileUniqueId);
30
+ return { video: video_ };
31
+ }
32
+ else {
33
+ UNREACHABLE();
34
+ }
35
+ }
@@ -0,0 +1,10 @@
1
+ import { types } from "../2_tl.js";
2
+ import { StoryReaction } from "./1_story_reaction.js";
3
+ /** The interactions made with a story. */
4
+ export interface StoryInteractions {
5
+ reactions?: StoryReaction[];
6
+ reactionCount?: number;
7
+ views: number;
8
+ forwards: number;
9
+ }
10
+ export declare function constructStoryInteractions(views_: types.StoryViews): StoryInteractions;
@@ -0,0 +1,8 @@
1
+ import { constructStoryReaction } from "./1_story_reaction.js";
2
+ export function constructStoryInteractions(views_) {
3
+ const views = views_.views_count;
4
+ const forwards = views_.forwards_count ?? 0;
5
+ const reactionCount = views_.reactions_count;
6
+ const reactions = views_.reactions ? views_.reactions.map(constructStoryReaction) : undefined;
7
+ return { reactions, reactionCount, views, forwards };
8
+ }
@@ -0,0 +1,24 @@
1
+ import { types } from "../2_tl.js";
2
+ import { MessageEntity } from "./0_message_entity.js";
3
+ import { EntityGetter } from "./1__getters.js";
4
+ import { ChatP } from "./1_chat_p.js";
5
+ import { StoryInteractiveArea } from "./1_story_interactive_area.js";
6
+ import { StoryPrivacy } from "./1_story_privacy.js";
7
+ import { StoryContent } from "./2_story_content.js";
8
+ import { StoryInteractions } from "./2_story_interactions.js";
9
+ /** A story. */
10
+ export interface Story {
11
+ out: boolean;
12
+ id: number;
13
+ chat: ChatP;
14
+ date: Date;
15
+ edited: boolean;
16
+ content: StoryContent;
17
+ interactiveAreas: StoryInteractiveArea[];
18
+ highlighted: boolean;
19
+ interactions?: StoryInteractions;
20
+ privacy?: StoryPrivacy;
21
+ caption?: string;
22
+ captionEntities?: MessageEntity[];
23
+ }
24
+ export declare function constructStory(story: types.StoryItem, peer: types.PeerUser | types.PeerChat | types.PeerChannel, getEntity: EntityGetter): Promise<Story>;
@@ -0,0 +1,37 @@
1
+ import { cleanObject, fromUnixTimestamp, UNREACHABLE } from "../1_utilities.js";
2
+ import { constructMessageEntity } from "./0_message_entity.js";
3
+ import { constructChatP } from "./1_chat_p.js";
4
+ import { constructStoryInteractiveArea } from "./1_story_interactive_area.js";
5
+ import { constructStoryPrivacy } from "./1_story_privacy.js";
6
+ import { constructStoryContent } from "./2_story_content.js";
7
+ import { constructStoryInteractions } from "./2_story_interactions.js";
8
+ export async function constructStory(story, peer, getEntity) {
9
+ const id = story.id;
10
+ const entity = await getEntity(peer);
11
+ if (!entity) {
12
+ UNREACHABLE();
13
+ }
14
+ const chat = constructChatP(entity);
15
+ const date = fromUnixTimestamp(story.date);
16
+ const interactiveAreas = (story.media_areas ?? []).map(constructStoryInteractiveArea);
17
+ const highlighted = story.pinned ? true : false;
18
+ const content = constructStoryContent(story.media);
19
+ const caption = story.caption;
20
+ const captionEntities = story.entities?.map(constructMessageEntity).filter((v) => !!v);
21
+ const privacy = story.privacy ? constructStoryPrivacy(story.privacy) : undefined;
22
+ const interactions = story.views ? constructStoryInteractions(story.views) : undefined;
23
+ return cleanObject({
24
+ out: story.out ? true : false,
25
+ id,
26
+ chat,
27
+ date,
28
+ content,
29
+ edited: story.edited ? true : false,
30
+ interactiveAreas,
31
+ highlighted,
32
+ interactions,
33
+ privacy,
34
+ caption,
35
+ captionEntities,
36
+ });
37
+ }
@@ -224,17 +224,36 @@ export async function inlineQueryResultToTlObject(result_, parseText, usernameRe
224
224
  UNREACHABLE();
225
225
  }
226
226
  const [message, entities] = await parseText(result_.inputMessageContent.messageText, { entities: result_.inputMessageContent.entities, parseMode: result_.inputMessageContent.parseMode });
227
+ const noWebpage = result_.inputMessageContent?.linkPreview?.disable ? true : undefined;
228
+ const invertMedia = result_.inputMessageContent?.linkPreview?.aboveText ? true : undefined;
229
+ let sendMessage;
230
+ if (result_.inputMessageContent.linkPreview?.url) {
231
+ sendMessage = new types.InputBotInlineMessageMediaWebPage({
232
+ url: result_.inputMessageContent.linkPreview.url,
233
+ force_large_media: result_.inputMessageContent.linkPreview.largeMedia ? true : undefined,
234
+ force_small_media: result_.inputMessageContent.linkPreview.smallMedia ? true : undefined,
235
+ optional: message.length ? undefined : true,
236
+ message,
237
+ entities,
238
+ invert_media: invertMedia,
239
+ reply_markup: replyMarkup,
240
+ });
241
+ }
242
+ else {
243
+ sendMessage = new types.InputBotInlineMessageText({
244
+ message,
245
+ entities,
246
+ no_webpage: noWebpage,
247
+ invert_media: invertMedia,
248
+ reply_markup: replyMarkup,
249
+ });
250
+ }
227
251
  return new types.InputBotInlineResult({
228
252
  id,
229
253
  type,
230
254
  title,
231
255
  description,
232
- send_message: new types.InputBotInlineMessageText({
233
- message,
234
- entities,
235
- no_webpage: result_.inputMessageContent.disableWebPagePreview ? true : undefined,
236
- reply_markup: replyMarkup,
237
- }),
256
+ send_message: sendMessage,
238
257
  });
239
258
  }
240
259
  else if (result_.type == "venue") {
@@ -2,6 +2,7 @@ import { MaybePromise } from "../1_utilities.js";
2
2
  import { enums } from "../2_tl.js";
3
3
  import { Contact } from "./0_contact.js";
4
4
  import { Dice } from "./0_dice.js";
5
+ import { LinkPreview } from "./0_link_preview.js";
5
6
  import { Location } from "./0_location.js";
6
7
  import { MessageEntity } from "./0_message_entity.js";
7
8
  import { Venue } from "./0_venue.js";
@@ -102,6 +103,17 @@ export interface MessageText extends _MessageBase {
102
103
  text: string;
103
104
  /** Entities of the text. */
104
105
  entities: MessageEntity[];
106
+ /** The message's link preview. */
107
+ linkPreview?: LinkPreview;
108
+ }
109
+ /**
110
+ * A message with a link preview only.
111
+ * @unlisted
112
+ */
113
+ export interface MessageLink extends _MessageBase {
114
+ linkPreview: LinkPreview & {
115
+ url: NonNullable<LinkPreview["url"]>;
116
+ };
105
117
  }
106
118
  /** @unlisted */
107
119
  export interface MessagePhoto extends _MessageMediaBase {
@@ -405,6 +417,7 @@ export interface MessageUnsupported extends _MessageBase {
405
417
  /** @unlisted */
406
418
  export interface MessageTypes {
407
419
  text: MessageText;
420
+ link: MessageLink;
408
421
  photo: MessagePhoto;
409
422
  document: MessageDocument;
410
423
  video: MessageVideo;
@@ -445,11 +458,70 @@ export interface MessageTypes {
445
458
  }
446
459
  export declare function assertMessageType<T extends keyof MessageTypes>(message: Message, type: T): MessageTypes[T];
447
460
  /** Any type of message. */
448
- export type Message = MessageText | MessagePhoto | MessageDocument | MessageVideo | MessageSticker | MessageAnimation | MessageVoice | MessageAudio | MessageDice | MessageVideoNote | MessageContact | MessageGame | MessagePoll | MessageVenue | MessageLocation | MessageNewChatMembers | MessageLeftChatMember | MessageNewChatTitle | MessageNewChatPhoto | MessageDeletedChatPhoto | MessageGroupCreated | MessageSupergroupCreated | MessageChannelCreated | MessageAutoDeleteTimerChanged | MessageChatMigratedTo | MessageChatMigratedFrom | MessagePinnedMessage | MessageUserShared | MessageWriteAccessAllowed | MessageForumTopicCreated | MessageForumTopicEdited | MessageForumTopicClosed | MessageForumTopicReopened | MessageVideoChatScheduled | MessageVideoChatStarted | MessageVideoChatEnded | MessageGiveaway | MessageUnsupported;
461
+ export type Message = MessageText | MessageLink | MessagePhoto | MessageDocument | MessageVideo | MessageSticker | MessageAnimation | MessageVoice | MessageAudio | MessageDice | MessageVideoNote | MessageContact | MessageGame | MessagePoll | MessageVenue | MessageLocation | MessageNewChatMembers | MessageLeftChatMember | MessageNewChatTitle | MessageNewChatPhoto | MessageDeletedChatPhoto | MessageGroupCreated | MessageSupergroupCreated | MessageChannelCreated | MessageAutoDeleteTimerChanged | MessageChatMigratedTo | MessageChatMigratedFrom | MessagePinnedMessage | MessageUserShared | MessageWriteAccessAllowed | MessageForumTopicCreated | MessageForumTopicEdited | MessageForumTopicClosed | MessageForumTopicReopened | MessageVideoChatScheduled | MessageVideoChatStarted | MessageVideoChatEnded | MessageGiveaway | MessageUnsupported;
449
462
  /** @unlisted */
450
463
  export interface MessageGetter {
451
464
  (chatId: number, messageId: number): MaybePromise<Message | null>;
452
465
  }
453
466
  type Message_MessageGetter = MessageGetter | null;
454
- export declare function constructMessage(message_: enums.Message, getEntity: EntityGetter, getMessage: Message_MessageGetter, getStickerSetName: StickerSetNameGetter, getReply_?: boolean): Promise<Message>;
467
+ export declare function constructMessage(message_: enums.Message, getEntity: EntityGetter, getMessage: Message_MessageGetter, getStickerSetName: StickerSetNameGetter, getReply_?: boolean): Promise<MessageLink | MessagePhoto | MessageDocument | MessageVideo | MessageSticker | MessageAnimation | MessageVoice | MessageAudio | MessageDice | MessageVideoNote | MessageContact | MessageGame | MessagePoll | MessageVenue | MessageLocation | MessageNewChatMembers | MessageLeftChatMember | MessageNewChatTitle | MessageNewChatPhoto | MessageDeletedChatPhoto | MessageSupergroupCreated | MessageChannelCreated | MessageAutoDeleteTimerChanged | MessageChatMigratedTo | MessageChatMigratedFrom | MessagePinnedMessage | MessageUserShared | MessageWriteAccessAllowed | MessageForumTopicCreated | MessageForumTopicEdited | MessageForumTopicClosed | MessageForumTopicReopened | MessageVideoChatScheduled | MessageVideoChatStarted | MessageVideoChatEnded | MessageGiveaway | MessageUnsupported | {
468
+ text: string;
469
+ entities: NonNullable<MessageEntity | null>[];
470
+ /** Whether the message is outgoing (sent by the current user). */
471
+ out: boolean;
472
+ /** The identifier of the message. */
473
+ id: number;
474
+ /** The identifier of the message's thread. */
475
+ threadId?: number | undefined;
476
+ /** The user who sent the message. */
477
+ from?: User | undefined;
478
+ /** The chat which the message was sent on behalf of. */
479
+ senderChat?: ChatP | undefined;
480
+ /** The point of time in which the message was sent. */
481
+ date: Date;
482
+ /** The chat where the message was sent to. */
483
+ chat: ChatP;
484
+ /** A link to the message. */
485
+ link?: string | undefined;
486
+ /** The original sender of the message. */
487
+ forwardFrom?: User | undefined;
488
+ /** The original chat of the message. */
489
+ forwardFromChat?: ChatP | undefined;
490
+ /** The original identifier of the message. */
491
+ forwardId?: number | undefined;
492
+ /** The original signature of the message. */
493
+ forwardSignature?: string | undefined;
494
+ /** The name of the original sender of the message. */
495
+ forwardSenderName?: string | undefined;
496
+ /** The point of time in which the original message was sent. */
497
+ forwardDate?: Date | undefined;
498
+ /** Whether the message was sent in a topic thread. */
499
+ isTopicMessage: boolean;
500
+ /** Whether the message is an automatic forward. */
501
+ isAutomaticForward?: boolean | undefined;
502
+ /** The message that is being replied to. Not always available even if a message is being replied to. */
503
+ replyToMessage?: Message | undefined;
504
+ /** The identifier of the message that is being replied to. */
505
+ replyToMessageId?: number | undefined;
506
+ /** The reactions of the message. */
507
+ reactions?: MessageReaction[] | undefined;
508
+ /** The part of the message that is being replied to. */
509
+ replyQuote?: ReplyQuote | undefined;
510
+ /** The inline bot that was used to send this message. */
511
+ viaBot?: User | undefined;
512
+ /** The point of time in which the message's last edit was made. */
513
+ editDate?: Date | undefined;
514
+ /** Whether the contents of the message is protected. */
515
+ hasProtectedContent?: boolean | undefined;
516
+ /** The identifier of the message's media group. */
517
+ mediaGroupId?: string | undefined;
518
+ /** The signature of the message. */
519
+ authorSignature?: string | undefined;
520
+ /** The number of times the message was viewed. */
521
+ views?: number | undefined;
522
+ /** The number of times the message was forwarded. */
523
+ forwards?: number | undefined;
524
+ /** The message's reply markup. */
525
+ replyMarkup?: ReplyMarkup | undefined;
526
+ }>;
455
527
  export {};
@@ -4,6 +4,7 @@ import { as, types } from "../2_tl.js";
4
4
  import { FileID, FileType, FileUniqueID, FileUniqueType } from "./0__file_id.js";
5
5
  import { constructContact } from "./0_contact.js";
6
6
  import { constructDice } from "./0_dice.js";
7
+ import { constructLinkPreview } from "./0_link_preview.js";
7
8
  import { constructLocation } from "./0_location.js";
8
9
  import { constructMessageEntity } from "./0_message_entity.js";
9
10
  import { constructVenue } from "./0_venue.js";
@@ -26,6 +27,7 @@ import { constructReplyMarkup } from "./3_reply_markup.js";
26
27
  const d = debug("types/Message");
27
28
  const keys = {
28
29
  text: ["text"],
30
+ link: ["linkPreview"],
29
31
  photo: ["photo"],
30
32
  document: ["document"],
31
33
  video: ["video"],
@@ -357,12 +359,13 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
357
359
  if (message_.edit_date != undefined) {
358
360
  message.editDate = fromUnixTimestamp(message_.edit_date);
359
361
  }
362
+ const messageText = {
363
+ ...message,
364
+ text: message_.message,
365
+ entities: message_.entities?.map(constructMessageEntity).filter((v) => !!v) ?? [],
366
+ };
360
367
  if (message_.message && message_.media === undefined) {
361
- return {
362
- ...message,
363
- text: message_.message,
364
- entities: message_.entities?.map(constructMessageEntity).filter((v) => !!v) ?? [],
365
- };
368
+ return messageText;
366
369
  }
367
370
  const messageMedia = {
368
371
  ...message,
@@ -457,7 +460,13 @@ export async function constructMessage(message_, getEntity, getMessage, getStick
457
460
  m = { ...message, location };
458
461
  }
459
462
  else if (message_.media instanceof types.MessageMediaWebPage) {
460
- // TODO: implement
463
+ const linkPreview = constructLinkPreview(message_.media, message_.invert_media);
464
+ if (message_.message) {
465
+ m = { ...messageText, linkPreview };
466
+ }
467
+ else {
468
+ m = { ...message, linkPreview: { ...linkPreview, url: linkPreview.url ? linkPreview.url : UNREACHABLE() } };
469
+ }
461
470
  }
462
471
  else if (message_.media instanceof types.MessageMediaGiveaway) {
463
472
  const giveaway = constructGiveaway(message_.media);
@@ -1,12 +1,14 @@
1
1
  import { AuthorizationState } from "./0_authorization_state.js";
2
2
  import { ConnectionState } from "./0_connection_state.js";
3
3
  import { MessageReference } from "./0_message_reference.js";
4
+ import { StoryReference } from "./0_story_reference.js";
4
5
  import { ChosenInlineResult } from "./2_chosen_inline_result.js";
5
6
  import { InlineQuery } from "./2_inline_query.js";
6
7
  import { MessageInteractions } from "./2_message_interactions.js";
7
8
  import { MessageReactionCount } from "./2_message_reaction_count.js";
8
9
  import { MessageReactions } from "./2_message_reactions.js";
9
10
  import { ChatMemberUpdated } from "./3_chat_member_updated.js";
11
+ import { Story } from "./3_story.js";
10
12
  import { Message } from "./4_message.js";
11
13
  import { CallbackQuery } from "./5_callback_query.js";
12
14
  import { Chat } from "./5_chat.js";
@@ -198,6 +200,20 @@ export interface UpdateChatMember {
198
200
  export interface UpdateMyChatMember {
199
201
  myChatMember: ChatMemberUpdated;
200
202
  }
203
+ /**
204
+ * A story was deleted.
205
+ * @unlisted
206
+ */
207
+ export interface UpdateDeletedStory {
208
+ deletedStory: StoryReference;
209
+ }
210
+ /**
211
+ * A story was posted.
212
+ * @unlisted
213
+ */
214
+ export interface UpdateNewStory {
215
+ story: Story;
216
+ }
201
217
  /** @unlisted */
202
218
  export interface UpdateMap {
203
219
  message: UpdateNewMessage;
@@ -216,8 +232,10 @@ export interface UpdateMap {
216
232
  messageReactions: UpdateMessageReactions;
217
233
  chatMember: UpdateChatMember;
218
234
  myChatMember: UpdateMyChatMember;
235
+ deletedStory: UpdateDeletedStory;
236
+ story: UpdateNewStory;
219
237
  }
220
238
  /** @unlisted */
221
- export type UpdateIntersection<T> = T & Partial<UpdateConnectionState & UpdateAuthorizationState & UpdateNewMessage & UpdateEditedMessage & UpdateDeletedMessages & UpdateCallbackQuery & UpdateInlineQuery & UpdateChosenInlineResult & UpdateNewChat & UpdateEditedChat & UpdateDeletedChat & UpdateMessageInteractions & UpdateMessageReactionCount & UpdateMessageReactions & UpdateChatMember & UpdateMyChatMember>;
239
+ export type UpdateIntersection<T> = T & Partial<UpdateConnectionState & UpdateAuthorizationState & UpdateNewMessage & UpdateEditedMessage & UpdateDeletedMessages & UpdateCallbackQuery & UpdateInlineQuery & UpdateChosenInlineResult & UpdateNewChat & UpdateEditedChat & UpdateDeletedChat & UpdateMessageInteractions & UpdateMessageReactionCount & UpdateMessageReactions & UpdateChatMember & UpdateMyChatMember & UpdateDeletedStory & UpdateNewStory>;
222
240
  /** An incoming update. */
223
- export type Update = UpdateConnectionState | UpdateAuthorizationState | UpdateNewMessage | UpdateEditedMessage | UpdateDeletedMessages | UpdateCallbackQuery | UpdateInlineQuery | UpdateChosenInlineResult | UpdateNewChat | UpdateEditedChat | UpdateDeletedChat | UpdateMessageInteractions | UpdateMessageReactionCount | UpdateMessageReactions | UpdateChatMember | UpdateMyChatMember;
241
+ export type Update = UpdateConnectionState | UpdateAuthorizationState | UpdateNewMessage | UpdateEditedMessage | UpdateDeletedMessages | UpdateCallbackQuery | UpdateInlineQuery | UpdateChosenInlineResult | UpdateNewChat | UpdateEditedChat | UpdateDeletedChat | UpdateMessageInteractions | UpdateMessageReactionCount | UpdateMessageReactions | UpdateChatMember | UpdateMyChatMember | UpdateDeletedStory | UpdateNewStory;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtkruto/node",
3
- "version": "0.1.151",
3
+ "version": "0.1.152",
4
4
  "description": "MTKruto for Node.js",
5
5
  "author": "Roj <rojvv@icloud.com>",
6
6
  "repository": {
@@ -1,7 +1,7 @@
1
- export * from "./deps/deno.land/std@0.214.0/assert/mod.js";
2
- export * as path from "./deps/deno.land/std@0.214.0/path/mod.js";
3
- export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.214.0/encoding/base64.js";
4
- export { contentType } from "./deps/deno.land/std@0.214.0/media_types/content_type.js";
1
+ export * from "./deps/deno.land/std@0.216.0/assert/mod.js";
2
+ export * as path from "./deps/deno.land/std@0.216.0/path/mod.js";
3
+ export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.216.0/encoding/base64.js";
4
+ export { contentType } from "./deps/deno.land/std@0.216.0/media_types/content_type.js";
5
5
  export declare function extension(mimeType: string): string;
6
6
  export { ctr256, factorize, ige256Decrypt, ige256Encrypt, init as initTgCrypto } from "./deps/deno.land/x/tgcrypto@0.3.3/mod.js";
7
7
  export { gunzip, gzip } from "./deps/raw.githubusercontent.com/MTKruto/compress/main/gzip/gzip.js";
package/script/0_deps.js CHANGED
@@ -27,14 +27,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.debug = exports.Parser = exports.Mutex = exports.gzip = exports.gunzip = exports.initTgCrypto = exports.ige256Encrypt = exports.ige256Decrypt = exports.factorize = exports.ctr256 = exports.extension = exports.contentType = exports.encodeBase64 = exports.decodeBase64 = exports.path = void 0;
30
- __exportStar(require("./deps/deno.land/std@0.214.0/assert/mod.js"), exports);
31
- exports.path = __importStar(require("./deps/deno.land/std@0.214.0/path/mod.js"));
32
- var base64_js_1 = require("./deps/deno.land/std@0.214.0/encoding/base64.js");
30
+ __exportStar(require("./deps/deno.land/std@0.216.0/assert/mod.js"), exports);
31
+ exports.path = __importStar(require("./deps/deno.land/std@0.216.0/path/mod.js"));
32
+ var base64_js_1 = require("./deps/deno.land/std@0.216.0/encoding/base64.js");
33
33
  Object.defineProperty(exports, "decodeBase64", { enumerable: true, get: function () { return base64_js_1.decodeBase64; } });
34
34
  Object.defineProperty(exports, "encodeBase64", { enumerable: true, get: function () { return base64_js_1.encodeBase64; } });
35
- var content_type_js_1 = require("./deps/deno.land/std@0.214.0/media_types/content_type.js");
35
+ var content_type_js_1 = require("./deps/deno.land/std@0.216.0/media_types/content_type.js");
36
36
  Object.defineProperty(exports, "contentType", { enumerable: true, get: function () { return content_type_js_1.contentType; } });
37
- const extension_js_1 = require("./deps/deno.land/std@0.214.0/media_types/extension.js");
37
+ const extension_js_1 = require("./deps/deno.land/std@0.216.0/media_types/extension.js");
38
38
  function extension(mimeType) {
39
39
  if (mimeType == "application/x-tgsticker") {
40
40
  return "tgs";
@@ -12,6 +12,7 @@ export * from "./types/0_file_source.js";
12
12
  export * from "./types/0_giveaway_parameters.js";
13
13
  export * from "./types/0_id.js";
14
14
  export * from "./types/0_keyboard_button_poll_type.js";
15
+ export * from "./types/0_link_preview.js";
15
16
  export * from "./types/0_location.js";
16
17
  export * from "./types/0_login_url.js";
17
18
  export * from "./types/0_mask_position.js";
@@ -24,6 +25,7 @@ export * from "./types/0_poll_option.js";
24
25
  export * from "./types/0_price_tag.js";
25
26
  export * from "./types/0_reaction.js";
26
27
  export * from "./types/0_restriction_reason.js";
28
+ export * from "./types/0_story_reference.js";
27
29
  export * from "./types/0_thumbnail.js";
28
30
  export * from "./types/0_venue.js";
29
31
  export * from "./types/0_voice.js";
@@ -36,6 +38,7 @@ export * from "./types/1__getters.js";
36
38
  export * from "./types/1_giveaway.js";
37
39
  export * from "./types/1_inline_query_result_button.js";
38
40
  export * from "./types/1_input_message_content.js";
41
+ export * from "./types/1_input_story_content.js";
39
42
  export * from "./types/1_keyboard_button.js";
40
43
  export * from "./types/1_message_reaction.js";
41
44
  export * from "./types/1_network_statistics.js";
@@ -44,6 +47,9 @@ export * from "./types/1_poll.js";
44
47
  export * from "./types/1_reaction_count.js";
45
48
  export * from "./types/1_reply_quote.js";
46
49
  export * from "./types/1_sticker.js";
50
+ export * from "./types/1_story_interactive_area.js";
51
+ export * from "./types/1_story_privacy.js";
52
+ export * from "./types/1_story_reaction.js";
47
53
  export * from "./types/1_user.js";
48
54
  export * from "./types/1_video_note.js";
49
55
  export * from "./types/1_video.js";
@@ -56,8 +62,11 @@ export * from "./types/2_invite_link.js";
56
62
  export * from "./types/2_message_interactions.js";
57
63
  export * from "./types/2_message_reaction_count.js";
58
64
  export * from "./types/2_message_reactions.js";
65
+ export * from "./types/2_story_content.js";
66
+ export * from "./types/2_story_interactions.js";
59
67
  export * from "./types/3_chat_member_updated.js";
60
68
  export * from "./types/3_reply_markup.js";
69
+ export * from "./types/3_story.js";
61
70
  export * from "./types/4_inline_query_result.js";
62
71
  export * from "./types/4_message.js";
63
72
  export * from "./types/5_callback_query.js";
package/script/3_types.js CHANGED
@@ -28,6 +28,7 @@ __exportStar(require("./types/0_file_source.js"), exports);
28
28
  __exportStar(require("./types/0_giveaway_parameters.js"), exports);
29
29
  __exportStar(require("./types/0_id.js"), exports);
30
30
  __exportStar(require("./types/0_keyboard_button_poll_type.js"), exports);
31
+ __exportStar(require("./types/0_link_preview.js"), exports);
31
32
  __exportStar(require("./types/0_location.js"), exports);
32
33
  __exportStar(require("./types/0_login_url.js"), exports);
33
34
  __exportStar(require("./types/0_mask_position.js"), exports);
@@ -40,6 +41,7 @@ __exportStar(require("./types/0_poll_option.js"), exports);
40
41
  __exportStar(require("./types/0_price_tag.js"), exports);
41
42
  __exportStar(require("./types/0_reaction.js"), exports);
42
43
  __exportStar(require("./types/0_restriction_reason.js"), exports);
44
+ __exportStar(require("./types/0_story_reference.js"), exports);
43
45
  __exportStar(require("./types/0_thumbnail.js"), exports);
44
46
  __exportStar(require("./types/0_venue.js"), exports);
45
47
  __exportStar(require("./types/0_voice.js"), exports);
@@ -52,6 +54,7 @@ __exportStar(require("./types/1__getters.js"), exports);
52
54
  __exportStar(require("./types/1_giveaway.js"), exports);
53
55
  __exportStar(require("./types/1_inline_query_result_button.js"), exports);
54
56
  __exportStar(require("./types/1_input_message_content.js"), exports);
57
+ __exportStar(require("./types/1_input_story_content.js"), exports);
55
58
  __exportStar(require("./types/1_keyboard_button.js"), exports);
56
59
  __exportStar(require("./types/1_message_reaction.js"), exports);
57
60
  __exportStar(require("./types/1_network_statistics.js"), exports);
@@ -60,6 +63,9 @@ __exportStar(require("./types/1_poll.js"), exports);
60
63
  __exportStar(require("./types/1_reaction_count.js"), exports);
61
64
  __exportStar(require("./types/1_reply_quote.js"), exports);
62
65
  __exportStar(require("./types/1_sticker.js"), exports);
66
+ __exportStar(require("./types/1_story_interactive_area.js"), exports);
67
+ __exportStar(require("./types/1_story_privacy.js"), exports);
68
+ __exportStar(require("./types/1_story_reaction.js"), exports);
63
69
  __exportStar(require("./types/1_user.js"), exports);
64
70
  __exportStar(require("./types/1_video_note.js"), exports);
65
71
  __exportStar(require("./types/1_video.js"), exports);
@@ -72,8 +78,11 @@ __exportStar(require("./types/2_invite_link.js"), exports);
72
78
  __exportStar(require("./types/2_message_interactions.js"), exports);
73
79
  __exportStar(require("./types/2_message_reaction_count.js"), exports);
74
80
  __exportStar(require("./types/2_message_reactions.js"), exports);
81
+ __exportStar(require("./types/2_story_content.js"), exports);
82
+ __exportStar(require("./types/2_story_interactions.js"), exports);
75
83
  __exportStar(require("./types/3_chat_member_updated.js"), exports);
76
84
  __exportStar(require("./types/3_reply_markup.js"), exports);
85
+ __exportStar(require("./types/3_story.js"), exports);
77
86
  __exportStar(require("./types/4_inline_query_result.js"), exports);
78
87
  __exportStar(require("./types/4_message.js"), exports);
79
88
  __exportStar(require("./types/5_callback_query.js"), exports);
@@ -4,7 +4,7 @@ export type PublicKeys = readonly [bigint, [bigint, bigint]][];
4
4
  export declare const PUBLIC_KEYS: PublicKeys;
5
5
  export declare const INITIAL_DC: DC;
6
6
  export declare const LAYER = 173;
7
- export declare const APP_VERSION = "MTKruto 0.1.150";
7
+ export declare const APP_VERSION = "MTKruto 0.1.152";
8
8
  export declare const DEVICE_MODEL: string;
9
9
  export declare const LANG_CODE: string;
10
10
  export declare const LANG_PACK = "";
@@ -79,7 +79,7 @@ exports.PUBLIC_KEYS = Object.freeze([
79
79
  ]);
80
80
  exports.INITIAL_DC = "2";
81
81
  exports.LAYER = 173;
82
- exports.APP_VERSION = "MTKruto 0.1.150";
82
+ exports.APP_VERSION = "MTKruto 0.1.152";
83
83
  // @ts-ignore: lib
84
84
  exports.DEVICE_MODEL = typeof dntShim.Deno === "undefined" ? typeof navigator === "undefined" ? typeof process === "undefined" ? "Unknown" : process.platform + "-" + process.arch : navigator.userAgent.split(" ")[0] : dntShim.Deno.build.os + "-" + dntShim.Deno.build.arch;
85
85
  exports.LANG_CODE = typeof navigator === "undefined" ? "en" : navigator.language.split("-")[0];
@@ -1,5 +1,6 @@
1
1
  import { MaybePromise } from "../1_utilities.js";
2
- import { BotCommandScope, Chat, ChatMemberRights, FileSource, ID, InlineQueryResultButton, Message, MessageEntity, ParseMode, ReplyMarkup, ReplyQuote } from "../3_types.js";
2
+ import { BotCommandScope, Chat, ChatMemberRights, FileSource, ID, InlineQueryResultButton, LinkPreview, Message, MessageEntity, ParseMode, ReplyMarkup, ReplyQuote, StoryInteractiveArea } from "../3_types.js";
3
+ import { StoryPrivacy } from "../types/1_story_privacy.js";
3
4
  export interface AnswerCallbackQueryParams {
4
5
  /** A text to be shown to the user. */
5
6
  text?: string;
@@ -36,16 +37,16 @@ export interface SendMessageParams extends _SendCommon {
36
37
  parseMode?: ParseMode;
37
38
  /** The message's entities. */
38
39
  entities?: MessageEntity[];
39
- /** Whether to disable web page previews in the message that is to be sent. */
40
- disableWebPagePreview?: boolean;
40
+ /** The message's link preview. */
41
+ linkPreview?: LinkPreview;
41
42
  }
42
43
  export interface EditMessageParams {
43
44
  /** The parse mode to use. If not provided, the default parse mode will be used. */
44
45
  parseMode?: ParseMode;
45
46
  /** The message's entities. */
46
47
  entities?: MessageEntity[];
47
- /** Whether to disable web page previews in the message that is to be edited. */
48
- disableWebPagePreview?: boolean;
48
+ /** The message's link preview. */
49
+ linkPreview?: LinkPreview;
49
50
  /** The reply markup of the message. Bot-only. */
50
51
  replyMarkup?: ReplyMarkup;
51
52
  }
@@ -260,3 +261,11 @@ export interface SetChatMemberRightsParams {
260
261
  /** A point of time in the future to automatically withdraw the restrictions. */
261
262
  untilDate?: Date;
262
263
  }
264
+ export interface CreateStoryParams extends _CaptionCommon, _UploadCommon {
265
+ interactiveAreas?: StoryInteractiveArea[];
266
+ privacy?: StoryPrivacy;
267
+ activeFor?: number;
268
+ from?: number;
269
+ highlight?: boolean;
270
+ protectContent?: boolean;
271
+ }
@@ -1,4 +1,4 @@
1
- import { functions, types } from "../2_tl.js";
1
+ import { enums, functions, types } from "../2_tl.js";
2
2
  import { Storage } from "../3_storage.js";
3
3
  import { ConnectionState, EntityGetter, ID, ParseMode, Update } from "../3_types.js";
4
4
  type Functions = typeof functions;
@@ -29,7 +29,8 @@ export interface C {
29
29
  setConnectionState: (connectionState: ConnectionState) => void;
30
30
  resetConnectionState: () => void;
31
31
  getSelfId: () => Promise<number>;
32
- getInputPeer: (id: ID) => Promise<types.InputPeerChat | types.InputPeerUser | types.InputPeerChannel>;
32
+ getInputPeer: (id: ID) => Promise<enums.InputPeer>;
33
+ getInputChannel: (id: ID) => Promise<types.InputChannel>;
33
34
  getEntity: EntityGetter;
34
35
  handleUpdate: (update: Update) => void;
35
36
  parseMode: ParseMode;