@mtkruto/node 0.1.400 → 0.1.600

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 (619) hide show
  1. package/esm/0_deps.d.ts +5 -5
  2. package/esm/0_deps.js +6 -6
  3. package/esm/3_types.d.ts +10 -2
  4. package/esm/3_types.js +10 -2
  5. package/esm/client/0_markdown.d.ts +19 -0
  6. package/esm/client/0_markdown.js +19 -1
  7. package/esm/client/0_params.d.ts +32 -6
  8. package/esm/client/0_utilities.js +1 -1
  9. package/esm/client/1_file_manager.d.ts +5 -1
  10. package/esm/client/1_file_manager.js +50 -49
  11. package/esm/client/2_video_chat_manager.d.ts +43 -0
  12. package/esm/client/2_video_chat_manager.js +194 -0
  13. package/esm/client/3_callback_query_manager.d.ts +2 -1
  14. package/esm/client/3_callback_query_manager.js +34 -5
  15. package/esm/client/3_chat_list_manager.d.ts +3 -3
  16. package/esm/client/3_chat_list_manager.js +75 -98
  17. package/esm/client/3_inline_query_manager.d.ts +3 -2
  18. package/esm/client/3_inline_query_manager.js +21 -4
  19. package/esm/client/4_client.d.ts +88 -5
  20. package/esm/client/4_client.js +115 -3
  21. package/esm/storage/0_storage.d.ts +24 -0
  22. package/esm/storage/0_storage.js +81 -2
  23. package/esm/tl/3_utilities.d.ts +1 -1
  24. package/esm/tl/3_utilities.js +3 -3
  25. package/esm/types/0_birthday.d.ts +27 -0
  26. package/esm/types/0_birthday.js +26 -0
  27. package/esm/types/0_callback_query_answer.d.ts +30 -0
  28. package/esm/types/0_callback_query_answer.js +26 -0
  29. package/esm/types/0_callback_query_question.d.ts +49 -0
  30. package/esm/types/0_callback_query_question.js +31 -0
  31. package/esm/types/0_giveaway_parameters.d.ts +1 -1
  32. package/esm/types/0_live_stream_channel.d.ts +30 -0
  33. package/esm/types/0_live_stream_channel.js +26 -0
  34. package/esm/types/0_opening_hours.d.ts +25 -0
  35. package/esm/types/0_opening_hours.js +25 -0
  36. package/esm/types/0_video_chat.d.ts +60 -0
  37. package/esm/types/0_video_chat.js +53 -0
  38. package/esm/types/1_chat_p.d.ts +4 -0
  39. package/esm/types/1_chat_p.js +1 -0
  40. package/esm/types/{1_input_message_content.d.ts → 1_message_content.d.ts} +6 -6
  41. package/esm/types/1_photo.d.ts +4 -0
  42. package/esm/types/1_photo.js +12 -26
  43. package/esm/types/2_business_connection.d.ts +6 -0
  44. package/esm/types/2_chat.d.ts +62 -0
  45. package/esm/types/2_chat.js +66 -0
  46. package/esm/types/2_inactive_chat.d.ts +1 -1
  47. package/esm/types/2_invite_link.d.ts +1 -1
  48. package/esm/types/2_message_reaction_count.d.ts +1 -1
  49. package/esm/types/2_message_reactions.d.ts +1 -1
  50. package/esm/types/3_chat_member_updated.d.ts +1 -1
  51. package/esm/types/4_inline_query_result.d.ts +52 -49
  52. package/esm/types/4_inline_query_result.js +225 -44
  53. package/esm/types/4_message.d.ts +3 -3
  54. package/esm/types/5_chat_list_item.d.ts +35 -0
  55. package/esm/types/5_chat_list_item.js +86 -0
  56. package/esm/types/5_inline_query_answer.d.ts +31 -0
  57. package/esm/types/5_inline_query_answer.js +28 -0
  58. package/esm/types/6_update.d.ts +14 -5
  59. package/esm/types/_file_id.d.ts +6 -0
  60. package/esm/types/_file_id.js +32 -1
  61. package/esm/utilities/0_bigint.d.ts +1 -0
  62. package/esm/utilities/0_bigint.js +7 -3
  63. package/package.json +1 -1
  64. package/script/0_deps.d.ts +5 -5
  65. package/script/0_deps.js +6 -6
  66. package/script/3_types.d.ts +10 -2
  67. package/script/3_types.js +10 -2
  68. package/script/client/0_markdown.d.ts +19 -0
  69. package/script/client/0_markdown.js +19 -1
  70. package/script/client/0_params.d.ts +32 -6
  71. package/script/client/0_utilities.js +1 -1
  72. package/script/client/1_file_manager.d.ts +5 -1
  73. package/script/client/1_file_manager.js +50 -49
  74. package/script/client/2_video_chat_manager.d.ts +43 -0
  75. package/script/client/2_video_chat_manager.js +198 -0
  76. package/script/client/3_callback_query_manager.d.ts +2 -1
  77. package/script/client/3_callback_query_manager.js +31 -2
  78. package/script/client/3_chat_list_manager.d.ts +3 -3
  79. package/script/client/3_chat_list_manager.js +72 -95
  80. package/script/client/3_inline_query_manager.d.ts +3 -2
  81. package/script/client/3_inline_query_manager.js +19 -2
  82. package/script/client/4_client.d.ts +88 -5
  83. package/script/client/4_client.js +115 -3
  84. package/script/storage/0_storage.d.ts +24 -0
  85. package/script/storage/0_storage.js +81 -2
  86. package/script/tl/3_utilities.d.ts +1 -1
  87. package/script/tl/3_utilities.js +3 -3
  88. package/script/types/0_birthday.d.ts +27 -0
  89. package/script/types/0_birthday.js +30 -0
  90. package/script/types/0_callback_query_answer.d.ts +30 -0
  91. package/script/types/0_callback_query_answer.js +30 -0
  92. package/script/types/0_callback_query_question.d.ts +49 -0
  93. package/script/types/0_callback_query_question.js +35 -0
  94. package/script/types/0_giveaway_parameters.d.ts +1 -1
  95. package/script/types/0_live_stream_channel.d.ts +30 -0
  96. package/script/types/0_live_stream_channel.js +30 -0
  97. package/script/types/0_opening_hours.d.ts +25 -0
  98. package/script/types/0_opening_hours.js +29 -0
  99. package/script/types/0_video_chat.d.ts +60 -0
  100. package/script/types/0_video_chat.js +57 -0
  101. package/script/types/1_chat_p.d.ts +4 -0
  102. package/script/types/1_chat_p.js +1 -0
  103. package/script/types/{1_input_message_content.d.ts → 1_message_content.d.ts} +6 -6
  104. package/script/types/1_photo.d.ts +4 -0
  105. package/script/types/1_photo.js +14 -27
  106. package/script/types/2_business_connection.d.ts +6 -0
  107. package/script/types/2_chat.d.ts +62 -0
  108. package/script/types/2_chat.js +70 -0
  109. package/script/types/2_inactive_chat.d.ts +1 -1
  110. package/script/types/2_invite_link.d.ts +1 -1
  111. package/script/types/2_message_reaction_count.d.ts +1 -1
  112. package/script/types/2_message_reactions.d.ts +1 -1
  113. package/script/types/3_chat_member_updated.d.ts +1 -1
  114. package/script/types/4_inline_query_result.d.ts +52 -49
  115. package/script/types/4_inline_query_result.js +224 -42
  116. package/script/types/4_message.d.ts +3 -3
  117. package/script/types/5_chat_list_item.d.ts +35 -0
  118. package/script/types/5_chat_list_item.js +94 -0
  119. package/script/types/5_inline_query_answer.d.ts +31 -0
  120. package/script/types/5_inline_query_answer.js +32 -0
  121. package/script/types/6_update.d.ts +14 -5
  122. package/script/types/_file_id.d.ts +6 -0
  123. package/script/types/_file_id.js +33 -1
  124. package/script/utilities/0_bigint.d.ts +1 -0
  125. package/script/utilities/0_bigint.js +7 -3
  126. package/esm/types/5_chat.d.ts +0 -59
  127. package/esm/types/5_chat.js +0 -126
  128. package/script/types/5_chat.d.ts +0 -59
  129. package/script/types/5_chat.js +0 -134
  130. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_constants.d.ts +0 -0
  131. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_constants.js +0 -0
  132. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_diff.d.ts +0 -0
  133. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_diff.js +0 -0
  134. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_format.d.ts +0 -0
  135. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_format.js +0 -0
  136. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert.d.ts +0 -0
  137. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert.js +0 -0
  138. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_almost_equals.d.ts +0 -0
  139. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_almost_equals.js +0 -0
  140. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_array_includes.d.ts +0 -0
  141. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_array_includes.js +0 -0
  142. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_equals.d.ts +0 -0
  143. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_equals.js +0 -0
  144. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_exists.d.ts +0 -0
  145. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_exists.js +0 -0
  146. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_false.d.ts +0 -0
  147. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_false.js +0 -0
  148. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater.d.ts +0 -0
  149. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater.js +0 -0
  150. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater_or_equal.d.ts +0 -0
  151. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater_or_equal.js +0 -0
  152. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_instance_of.d.ts +0 -0
  153. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_instance_of.js +0 -0
  154. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_is_error.d.ts +0 -0
  155. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_is_error.js +0 -0
  156. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less.d.ts +0 -0
  157. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less.js +0 -0
  158. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less_or_equal.d.ts +0 -0
  159. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less_or_equal.js +0 -0
  160. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_match.d.ts +0 -0
  161. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_match.js +0 -0
  162. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_equals.d.ts +0 -0
  163. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_equals.js +0 -0
  164. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_instance_of.d.ts +0 -0
  165. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_instance_of.js +0 -0
  166. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_match.d.ts +0 -0
  167. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_match.js +0 -0
  168. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_strict_equals.d.ts +0 -0
  169. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_strict_equals.js +0 -0
  170. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_object_match.d.ts +0 -0
  171. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_object_match.js +0 -0
  172. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_rejects.d.ts +0 -0
  173. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_rejects.js +0 -0
  174. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_strict_equals.d.ts +0 -0
  175. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_strict_equals.js +0 -0
  176. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_string_includes.d.ts +0 -0
  177. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_string_includes.js +0 -0
  178. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_throws.d.ts +0 -0
  179. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_throws.js +0 -0
  180. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assertion_error.d.ts +0 -0
  181. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assertion_error.js +0 -0
  182. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/equal.d.ts +0 -0
  183. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/equal.js +0 -0
  184. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/fail.d.ts +0 -0
  185. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/fail.js +0 -0
  186. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/mod.d.ts +0 -0
  187. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/mod.js +0 -0
  188. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unimplemented.d.ts +0 -0
  189. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unimplemented.js +0 -0
  190. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unreachable.d.ts +0 -0
  191. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unreachable.js +0 -0
  192. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/bytes/concat.d.ts +0 -0
  193. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/bytes/concat.js +0 -0
  194. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/_util.d.ts +0 -0
  195. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/_util.js +0 -0
  196. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/base64.d.ts +0 -0
  197. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/base64.js +0 -0
  198. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/fmt/colors.d.ts +0 -0
  199. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/fmt/colors.js +0 -0
  200. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_db.d.ts +0 -0
  201. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_db.js +0 -0
  202. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_util.d.ts +0 -0
  203. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_util.js +0 -0
  204. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/content_type.d.ts +0 -0
  205. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/content_type.js +0 -0
  206. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extension.d.ts +0 -0
  207. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extension.js +0 -0
  208. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extensions_by_type.d.ts +0 -0
  209. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extensions_by_type.js +0 -0
  210. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/format_media_type.d.ts +0 -0
  211. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/format_media_type.js +0 -0
  212. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/get_charset.d.ts +0 -0
  213. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/get_charset.js +0 -0
  214. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/parse_media_type.d.ts +0 -0
  215. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/parse_media_type.js +0 -0
  216. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/type_by_extension.d.ts +0 -0
  217. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/type_by_extension.js +0 -0
  218. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  219. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  220. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/assert_path.d.ts +0 -0
  221. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/assert_path.js +0 -0
  222. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/basename.d.ts +0 -0
  223. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/basename.js +0 -0
  224. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/common.d.ts +0 -0
  225. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/common.js +0 -0
  226. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/constants.d.ts +0 -0
  227. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/constants.js +0 -0
  228. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/dirname.d.ts +0 -0
  229. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/dirname.js +0 -0
  230. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/format.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/format.js +0 -0
  232. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/from_file_url.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/from_file_url.js +0 -0
  234. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/glob_to_reg_exp.js +0 -0
  236. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize.d.ts +0 -0
  237. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize.js +0 -0
  238. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize_string.d.ts +0 -0
  239. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize_string.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/relative.d.ts +0 -0
  241. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/relative.js +0 -0
  242. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/strip_trailing_separators.js +0 -0
  244. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/to_file_url.d.ts +0 -0
  245. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/to_file_url.js +0 -0
  246. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_interface.d.ts +0 -0
  247. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_interface.js +0 -0
  248. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_os.d.ts +0 -0
  249. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_os.js +0 -0
  250. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/basename.d.ts +0 -0
  251. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/basename.js +0 -0
  252. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/common.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/common.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/constants.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/constants.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/dirname.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/dirname.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/extname.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/extname.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/format.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/format.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/from_file_url.d.ts +0 -0
  263. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/from_file_url.js +0 -0
  264. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/glob_to_regexp.d.ts +0 -0
  265. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/glob_to_regexp.js +0 -0
  266. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_absolute.d.ts +0 -0
  267. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_absolute.js +0 -0
  268. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_glob.d.ts +0 -0
  269. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_glob.js +0 -0
  270. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join.d.ts +0 -0
  271. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join_globs.d.ts +0 -0
  273. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join_globs.js +0 -0
  274. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/mod.d.ts +0 -0
  275. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/mod.js +0 -0
  276. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize.d.ts +0 -0
  277. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize.js +0 -0
  278. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize_glob.d.ts +0 -0
  279. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize_glob.js +0 -0
  280. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/parse.d.ts +0 -0
  281. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/parse.js +0 -0
  282. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/_util.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/_util.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/basename.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/basename.js +0 -0
  286. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/common.d.ts +0 -0
  287. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/common.js +0 -0
  288. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/constants.d.ts +0 -0
  289. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/constants.js +0 -0
  290. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/dirname.d.ts +0 -0
  291. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/dirname.js +0 -0
  292. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/extname.d.ts +0 -0
  293. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/extname.js +0 -0
  294. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/format.d.ts +0 -0
  295. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/format.js +0 -0
  296. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/from_file_url.d.ts +0 -0
  297. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/from_file_url.js +0 -0
  298. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/glob_to_regexp.d.ts +0 -0
  299. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/glob_to_regexp.js +0 -0
  300. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_absolute.d.ts +0 -0
  301. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_absolute.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_glob.d.ts +0 -0
  303. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_glob.js +0 -0
  304. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join.d.ts +0 -0
  305. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join.js +0 -0
  306. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join_globs.d.ts +0 -0
  307. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join_globs.js +0 -0
  308. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/mod.d.ts +0 -0
  309. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/mod.js +0 -0
  310. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize.d.ts +0 -0
  311. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize.js +0 -0
  312. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize_glob.d.ts +0 -0
  313. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize_glob.js +0 -0
  314. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/parse.d.ts +0 -0
  315. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/parse.js +0 -0
  316. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/relative.d.ts +0 -0
  317. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/relative.js +0 -0
  318. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/resolve.d.ts +0 -0
  319. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/resolve.js +0 -0
  320. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_file_url.d.ts +0 -0
  321. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_file_url.js +0 -0
  322. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_namespaced_path.d.ts +0 -0
  323. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_namespaced_path.js +0 -0
  324. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/relative.d.ts +0 -0
  325. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/relative.js +0 -0
  326. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/resolve.d.ts +0 -0
  327. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/resolve.js +0 -0
  328. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_file_url.d.ts +0 -0
  329. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_file_url.js +0 -0
  330. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_namespaced_path.d.ts +0 -0
  331. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_namespaced_path.js +0 -0
  332. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/_util.d.ts +0 -0
  333. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/_util.js +0 -0
  334. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/basename.d.ts +0 -0
  335. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/basename.js +0 -0
  336. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/common.d.ts +0 -0
  337. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/common.js +0 -0
  338. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/constants.d.ts +0 -0
  339. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/constants.js +0 -0
  340. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/dirname.d.ts +0 -0
  341. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/dirname.js +0 -0
  342. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/extname.d.ts +0 -0
  343. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/extname.js +0 -0
  344. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/format.d.ts +0 -0
  345. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/format.js +0 -0
  346. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/from_file_url.d.ts +0 -0
  347. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/from_file_url.js +0 -0
  348. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/glob_to_regexp.d.ts +0 -0
  349. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/glob_to_regexp.js +0 -0
  350. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_absolute.d.ts +0 -0
  351. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_absolute.js +0 -0
  352. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_glob.d.ts +0 -0
  353. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_glob.js +0 -0
  354. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join.d.ts +0 -0
  355. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join.js +0 -0
  356. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join_globs.d.ts +0 -0
  357. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join_globs.js +0 -0
  358. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/mod.d.ts +0 -0
  359. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/mod.js +0 -0
  360. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize.d.ts +0 -0
  361. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize.js +0 -0
  362. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize_glob.d.ts +0 -0
  363. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize_glob.js +0 -0
  364. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/parse.d.ts +0 -0
  365. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/parse.js +0 -0
  366. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/relative.d.ts +0 -0
  367. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/relative.js +0 -0
  368. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/resolve.d.ts +0 -0
  369. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/resolve.js +0 -0
  370. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_file_url.d.ts +0 -0
  371. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_file_url.js +0 -0
  372. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_namespaced_path.d.ts +0 -0
  373. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_namespaced_path.js +0 -0
  374. /package/esm/types/{1_input_message_content.js → 1_message_content.js} +0 -0
  375. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_constants.d.ts +0 -0
  376. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_constants.js +0 -0
  377. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_diff.d.ts +0 -0
  378. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_diff.js +0 -0
  379. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_format.d.ts +0 -0
  380. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_format.js +0 -0
  381. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert.d.ts +0 -0
  382. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert.js +0 -0
  383. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_almost_equals.d.ts +0 -0
  384. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_almost_equals.js +0 -0
  385. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_array_includes.d.ts +0 -0
  386. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_array_includes.js +0 -0
  387. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_equals.d.ts +0 -0
  388. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_equals.js +0 -0
  389. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_exists.d.ts +0 -0
  390. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_exists.js +0 -0
  391. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_false.d.ts +0 -0
  392. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_false.js +0 -0
  393. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater.d.ts +0 -0
  394. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater.js +0 -0
  395. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater_or_equal.d.ts +0 -0
  396. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater_or_equal.js +0 -0
  397. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_instance_of.d.ts +0 -0
  398. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_instance_of.js +0 -0
  399. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_is_error.d.ts +0 -0
  400. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_is_error.js +0 -0
  401. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less.d.ts +0 -0
  402. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less.js +0 -0
  403. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less_or_equal.d.ts +0 -0
  404. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less_or_equal.js +0 -0
  405. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_match.d.ts +0 -0
  406. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_match.js +0 -0
  407. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_equals.d.ts +0 -0
  408. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_equals.js +0 -0
  409. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_instance_of.d.ts +0 -0
  410. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_instance_of.js +0 -0
  411. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_match.d.ts +0 -0
  412. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_match.js +0 -0
  413. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_strict_equals.d.ts +0 -0
  414. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_strict_equals.js +0 -0
  415. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_object_match.d.ts +0 -0
  416. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_object_match.js +0 -0
  417. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_rejects.d.ts +0 -0
  418. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_rejects.js +0 -0
  419. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_strict_equals.d.ts +0 -0
  420. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_strict_equals.js +0 -0
  421. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_string_includes.d.ts +0 -0
  422. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_string_includes.js +0 -0
  423. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_throws.d.ts +0 -0
  424. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_throws.js +0 -0
  425. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assertion_error.d.ts +0 -0
  426. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assertion_error.js +0 -0
  427. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/equal.d.ts +0 -0
  428. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/equal.js +0 -0
  429. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/fail.d.ts +0 -0
  430. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/fail.js +0 -0
  431. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/mod.d.ts +0 -0
  432. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/mod.js +0 -0
  433. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unimplemented.d.ts +0 -0
  434. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unimplemented.js +0 -0
  435. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unreachable.d.ts +0 -0
  436. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unreachable.js +0 -0
  437. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/bytes/concat.d.ts +0 -0
  438. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/bytes/concat.js +0 -0
  439. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/_util.d.ts +0 -0
  440. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/_util.js +0 -0
  441. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/base64.d.ts +0 -0
  442. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/base64.js +0 -0
  443. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/fmt/colors.d.ts +0 -0
  444. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/fmt/colors.js +0 -0
  445. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_db.d.ts +0 -0
  446. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_db.js +0 -0
  447. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_util.d.ts +0 -0
  448. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_util.js +0 -0
  449. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/content_type.d.ts +0 -0
  450. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/content_type.js +0 -0
  451. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extension.d.ts +0 -0
  452. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extension.js +0 -0
  453. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extensions_by_type.d.ts +0 -0
  454. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extensions_by_type.js +0 -0
  455. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/format_media_type.d.ts +0 -0
  456. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/format_media_type.js +0 -0
  457. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/get_charset.d.ts +0 -0
  458. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/get_charset.js +0 -0
  459. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/parse_media_type.d.ts +0 -0
  460. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/parse_media_type.js +0 -0
  461. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/type_by_extension.d.ts +0 -0
  462. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/type_by_extension.js +0 -0
  463. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.d.ts +0 -0
  464. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  465. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/assert_path.d.ts +0 -0
  466. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/assert_path.js +0 -0
  467. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/basename.d.ts +0 -0
  468. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/basename.js +0 -0
  469. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/common.d.ts +0 -0
  470. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/common.js +0 -0
  471. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/constants.d.ts +0 -0
  472. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/constants.js +0 -0
  473. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/dirname.d.ts +0 -0
  474. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/dirname.js +0 -0
  475. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/format.d.ts +0 -0
  476. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/format.js +0 -0
  477. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/from_file_url.d.ts +0 -0
  478. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/from_file_url.js +0 -0
  479. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  480. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/glob_to_reg_exp.js +0 -0
  481. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize.d.ts +0 -0
  482. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize.js +0 -0
  483. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize_string.d.ts +0 -0
  484. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize_string.js +0 -0
  485. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/relative.d.ts +0 -0
  486. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/relative.js +0 -0
  487. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  488. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/strip_trailing_separators.js +0 -0
  489. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/to_file_url.d.ts +0 -0
  490. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/to_file_url.js +0 -0
  491. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_interface.d.ts +0 -0
  492. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_interface.js +0 -0
  493. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_os.d.ts +0 -0
  494. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_os.js +0 -0
  495. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/basename.d.ts +0 -0
  496. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/basename.js +0 -0
  497. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/common.d.ts +0 -0
  498. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/common.js +0 -0
  499. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/constants.d.ts +0 -0
  500. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/constants.js +0 -0
  501. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/dirname.d.ts +0 -0
  502. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/dirname.js +0 -0
  503. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/extname.d.ts +0 -0
  504. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/extname.js +0 -0
  505. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/format.d.ts +0 -0
  506. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/format.js +0 -0
  507. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/from_file_url.d.ts +0 -0
  508. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/from_file_url.js +0 -0
  509. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/glob_to_regexp.d.ts +0 -0
  510. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/glob_to_regexp.js +0 -0
  511. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_absolute.d.ts +0 -0
  512. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_absolute.js +0 -0
  513. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_glob.d.ts +0 -0
  514. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_glob.js +0 -0
  515. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join.d.ts +0 -0
  516. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join.js +0 -0
  517. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join_globs.d.ts +0 -0
  518. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join_globs.js +0 -0
  519. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/mod.d.ts +0 -0
  520. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/mod.js +0 -0
  521. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize.d.ts +0 -0
  522. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize.js +0 -0
  523. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize_glob.d.ts +0 -0
  524. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize_glob.js +0 -0
  525. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/parse.d.ts +0 -0
  526. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/parse.js +0 -0
  527. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/_util.d.ts +0 -0
  528. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/_util.js +0 -0
  529. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/basename.d.ts +0 -0
  530. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/basename.js +0 -0
  531. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/common.d.ts +0 -0
  532. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/common.js +0 -0
  533. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/constants.d.ts +0 -0
  534. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/constants.js +0 -0
  535. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/dirname.d.ts +0 -0
  536. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/dirname.js +0 -0
  537. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/extname.d.ts +0 -0
  538. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/extname.js +0 -0
  539. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/format.d.ts +0 -0
  540. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/format.js +0 -0
  541. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/from_file_url.d.ts +0 -0
  542. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/from_file_url.js +0 -0
  543. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/glob_to_regexp.d.ts +0 -0
  544. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/glob_to_regexp.js +0 -0
  545. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_absolute.d.ts +0 -0
  546. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_absolute.js +0 -0
  547. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_glob.d.ts +0 -0
  548. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_glob.js +0 -0
  549. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join.d.ts +0 -0
  550. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join.js +0 -0
  551. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join_globs.d.ts +0 -0
  552. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join_globs.js +0 -0
  553. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/mod.d.ts +0 -0
  554. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/mod.js +0 -0
  555. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize.d.ts +0 -0
  556. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize.js +0 -0
  557. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize_glob.d.ts +0 -0
  558. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize_glob.js +0 -0
  559. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/parse.d.ts +0 -0
  560. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/parse.js +0 -0
  561. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/relative.d.ts +0 -0
  562. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/relative.js +0 -0
  563. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/resolve.d.ts +0 -0
  564. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/resolve.js +0 -0
  565. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_file_url.d.ts +0 -0
  566. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_file_url.js +0 -0
  567. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_namespaced_path.d.ts +0 -0
  568. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_namespaced_path.js +0 -0
  569. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/relative.d.ts +0 -0
  570. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/relative.js +0 -0
  571. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/resolve.d.ts +0 -0
  572. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/resolve.js +0 -0
  573. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_file_url.d.ts +0 -0
  574. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_file_url.js +0 -0
  575. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_namespaced_path.d.ts +0 -0
  576. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_namespaced_path.js +0 -0
  577. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/_util.d.ts +0 -0
  578. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/_util.js +0 -0
  579. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/basename.d.ts +0 -0
  580. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/basename.js +0 -0
  581. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/common.d.ts +0 -0
  582. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/common.js +0 -0
  583. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/constants.d.ts +0 -0
  584. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/constants.js +0 -0
  585. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/dirname.d.ts +0 -0
  586. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/dirname.js +0 -0
  587. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/extname.d.ts +0 -0
  588. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/extname.js +0 -0
  589. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/format.d.ts +0 -0
  590. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/format.js +0 -0
  591. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/from_file_url.d.ts +0 -0
  592. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/from_file_url.js +0 -0
  593. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/glob_to_regexp.d.ts +0 -0
  594. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/glob_to_regexp.js +0 -0
  595. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_absolute.d.ts +0 -0
  596. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_absolute.js +0 -0
  597. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_glob.d.ts +0 -0
  598. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_glob.js +0 -0
  599. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join.d.ts +0 -0
  600. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join.js +0 -0
  601. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join_globs.d.ts +0 -0
  602. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join_globs.js +0 -0
  603. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/mod.d.ts +0 -0
  604. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/mod.js +0 -0
  605. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize.d.ts +0 -0
  606. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize.js +0 -0
  607. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize_glob.d.ts +0 -0
  608. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize_glob.js +0 -0
  609. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/parse.d.ts +0 -0
  610. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/parse.js +0 -0
  611. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/relative.d.ts +0 -0
  612. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/relative.js +0 -0
  613. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/resolve.d.ts +0 -0
  614. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/resolve.js +0 -0
  615. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_file_url.d.ts +0 -0
  616. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_file_url.js +0 -0
  617. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_namespaced_path.d.ts +0 -0
  618. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_namespaced_path.js +0 -0
  619. /package/script/types/{1_input_message_content.js → 1_message_content.js} +0 -0
package/esm/0_deps.d.ts CHANGED
@@ -17,11 +17,11 @@
17
17
  * You should have received a copy of the GNU Lesser General Public License
18
18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
19
  */
20
- export * from "./deps/deno.land/std@0.222.1/assert/mod.js";
21
- export * as path from "./deps/deno.land/std@0.222.1/path/mod.js";
22
- export { concat } from "./deps/deno.land/std@0.222.1/bytes/concat.js";
23
- export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.222.1/encoding/base64.js";
24
- import { contentType as contentType_ } from "./deps/deno.land/std@0.222.1/media_types/content_type.js";
20
+ export * from "./deps/deno.land/std@0.223.0/assert/mod.js";
21
+ export * as path from "./deps/deno.land/std@0.223.0/path/mod.js";
22
+ export { concat } from "./deps/deno.land/std@0.223.0/bytes/concat.js";
23
+ export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.223.0/encoding/base64.js";
24
+ import { contentType as contentType_ } from "./deps/deno.land/std@0.223.0/media_types/content_type.js";
25
25
  export declare const contentType: typeof contentType_;
26
26
  export declare function extension(mimeType: string): string;
27
27
  export { createCtr256State, ctr256, type Ctr256State, destroyCtr256State, ige256Decrypt, ige256Encrypt, init as initTgCrypto } from "./deps/deno.land/x/tgcrypto@0.4.1/mod.js";
package/esm/0_deps.js CHANGED
@@ -18,11 +18,11 @@
18
18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
19
  */
20
20
  // connection/1_connection_tcp.ts must be updated too when updating std.
21
- export * from "./deps/deno.land/std@0.222.1/assert/mod.js";
22
- export * as path from "./deps/deno.land/std@0.222.1/path/mod.js";
23
- export { concat } from "./deps/deno.land/std@0.222.1/bytes/concat.js";
24
- export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.222.1/encoding/base64.js";
25
- import { contentType as contentType_ } from "./deps/deno.land/std@0.222.1/media_types/content_type.js";
21
+ export * from "./deps/deno.land/std@0.223.0/assert/mod.js";
22
+ export * as path from "./deps/deno.land/std@0.223.0/path/mod.js";
23
+ export { concat } from "./deps/deno.land/std@0.223.0/bytes/concat.js";
24
+ export { decodeBase64, encodeBase64 } from "./deps/deno.land/std@0.223.0/encoding/base64.js";
25
+ import { contentType as contentType_ } from "./deps/deno.land/std@0.223.0/media_types/content_type.js";
26
26
  export const contentType = (extentionOrType) => {
27
27
  if (extentionOrType == "tgs") {
28
28
  return "application/x-tgsticker";
@@ -31,7 +31,7 @@ export const contentType = (extentionOrType) => {
31
31
  return contentType_(extentionOrType);
32
32
  }
33
33
  };
34
- import { extension as extension_ } from "./deps/deno.land/std@0.222.1/media_types/extension.js";
34
+ import { extension as extension_ } from "./deps/deno.land/std@0.223.0/media_types/extension.js";
35
35
  export function extension(mimeType) {
36
36
  if (mimeType == "application/x-tgsticker") {
37
37
  return "tgs";
package/esm/3_types.d.ts CHANGED
@@ -20,7 +20,10 @@
20
20
  export * from "./types/_file_id.js";
21
21
  export * from "./types/_getters.js";
22
22
  export * from "./types/0_authorization_state.js";
23
+ export * from "./types/0_birthday.js";
23
24
  export * from "./types/0_bot_command.js";
25
+ export * from "./types/0_callback_query_answer.js";
26
+ export * from "./types/0_callback_query_question.js";
24
27
  export * from "./types/0_chat_action.js";
25
28
  export * from "./types/0_chat_administrator_rights.js";
26
29
  export * from "./types/0_chat_member_rights.js";
@@ -33,6 +36,7 @@ export * from "./types/0_giveaway_parameters.js";
33
36
  export * from "./types/0_id.js";
34
37
  export * from "./types/0_keyboard_button_poll_type.js";
35
38
  export * from "./types/0_link_preview.js";
39
+ export * from "./types/0_live_stream_channel.js";
36
40
  export * from "./types/0_location.js";
37
41
  export * from "./types/0_login_url.js";
38
42
  export * from "./types/0_mask_position.js";
@@ -41,6 +45,7 @@ export * from "./types/0_message_reference.js";
41
45
  export * from "./types/0_message_search_filter.js";
42
46
  export * from "./types/0_mini_app_info.js";
43
47
  export * from "./types/0_network_statistics_entry.js";
48
+ export * from "./types/0_opening_hours.js";
44
49
  export * from "./types/0_parse_mode.js";
45
50
  export * from "./types/0_poll_option.js";
46
51
  export * from "./types/0_price_tag.js";
@@ -49,6 +54,7 @@ export * from "./types/0_restriction_reason.js";
49
54
  export * from "./types/0_self_destruct_option.js";
50
55
  export * from "./types/0_story_reference.js";
51
56
  export * from "./types/0_thumbnail.js";
57
+ export * from "./types/0_video_chat.js";
52
58
  export * from "./types/0_voice.js";
53
59
  export * from "./types/1_animation.js";
54
60
  export * from "./types/1_audio.js";
@@ -58,9 +64,9 @@ export * from "./types/1_document.js";
58
64
  export * from "./types/1_giveaway.js";
59
65
  export * from "./types/1_inline_query_result_button.js";
60
66
  export * from "./types/1_input_media.js";
61
- export * from "./types/1_input_message_content.js";
62
67
  export * from "./types/1_input_story_content.js";
63
68
  export * from "./types/1_keyboard_button.js";
69
+ export * from "./types/1_message_content.js";
64
70
  export * from "./types/1_message_reaction.js";
65
71
  export * from "./types/1_network_statistics.js";
66
72
  export * from "./types/1_photo.js";
@@ -94,5 +100,7 @@ export * from "./types/3_story.js";
94
100
  export * from "./types/4_inline_query_result.js";
95
101
  export * from "./types/4_message.js";
96
102
  export * from "./types/5_callback_query.js";
97
- export * from "./types/5_chat.js";
103
+ export * from "./types/5_chat_list_item.js";
104
+ export * from "./types/2_chat.js";
105
+ export * from "./types/5_inline_query_answer.js";
98
106
  export * from "./types/6_update.js";
package/esm/3_types.js CHANGED
@@ -20,7 +20,10 @@
20
20
  export * from "./types/_file_id.js";
21
21
  export * from "./types/_getters.js";
22
22
  export * from "./types/0_authorization_state.js";
23
+ export * from "./types/0_birthday.js";
23
24
  export * from "./types/0_bot_command.js";
25
+ export * from "./types/0_callback_query_answer.js";
26
+ export * from "./types/0_callback_query_question.js";
24
27
  export * from "./types/0_chat_action.js";
25
28
  export * from "./types/0_chat_administrator_rights.js";
26
29
  export * from "./types/0_chat_member_rights.js";
@@ -33,6 +36,7 @@ export * from "./types/0_giveaway_parameters.js";
33
36
  export * from "./types/0_id.js";
34
37
  export * from "./types/0_keyboard_button_poll_type.js";
35
38
  export * from "./types/0_link_preview.js";
39
+ export * from "./types/0_live_stream_channel.js";
36
40
  export * from "./types/0_location.js";
37
41
  export * from "./types/0_login_url.js";
38
42
  export * from "./types/0_mask_position.js";
@@ -41,6 +45,7 @@ export * from "./types/0_message_reference.js";
41
45
  export * from "./types/0_message_search_filter.js";
42
46
  export * from "./types/0_mini_app_info.js";
43
47
  export * from "./types/0_network_statistics_entry.js";
48
+ export * from "./types/0_opening_hours.js";
44
49
  export * from "./types/0_parse_mode.js";
45
50
  export * from "./types/0_poll_option.js";
46
51
  export * from "./types/0_price_tag.js";
@@ -49,6 +54,7 @@ export * from "./types/0_restriction_reason.js";
49
54
  export * from "./types/0_self_destruct_option.js";
50
55
  export * from "./types/0_story_reference.js";
51
56
  export * from "./types/0_thumbnail.js";
57
+ export * from "./types/0_video_chat.js";
52
58
  export * from "./types/0_voice.js";
53
59
  export * from "./types/1_animation.js";
54
60
  export * from "./types/1_audio.js";
@@ -58,9 +64,9 @@ export * from "./types/1_document.js";
58
64
  export * from "./types/1_giveaway.js";
59
65
  export * from "./types/1_inline_query_result_button.js";
60
66
  export * from "./types/1_input_media.js";
61
- export * from "./types/1_input_message_content.js";
62
67
  export * from "./types/1_input_story_content.js";
63
68
  export * from "./types/1_keyboard_button.js";
69
+ export * from "./types/1_message_content.js";
64
70
  export * from "./types/1_message_reaction.js";
65
71
  export * from "./types/1_network_statistics.js";
66
72
  export * from "./types/1_photo.js";
@@ -94,5 +100,7 @@ export * from "./types/3_story.js";
94
100
  export * from "./types/4_inline_query_result.js";
95
101
  export * from "./types/4_message.js";
96
102
  export * from "./types/5_callback_query.js";
97
- export * from "./types/5_chat.js";
103
+ export * from "./types/5_chat_list_item.js";
104
+ export * from "./types/2_chat.js";
105
+ export * from "./types/5_inline_query_answer.js";
98
106
  export * from "./types/6_update.js";
@@ -1,3 +1,22 @@
1
+ /**
2
+ * MTKruto - Cross-runtime JavaScript library for building Telegram clients
3
+ * Copyright (C) 2023-2024 Roj <https://roj.im/>
4
+ *
5
+ * This file is part of MTKruto.
6
+ *
7
+ * This program is free software: you can redistribute it and/or modify
8
+ * it under the terms of the GNU Lesser General Public License as published by
9
+ * the Free Software Foundation, either version 3 of the License, or
10
+ * (at your option) any later version.
11
+ *
12
+ * This program is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ * GNU Lesser General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public License
18
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+ */
1
20
  import { MessageEntity } from "../3_types.js";
2
21
  export declare const CODEPOINTS: {
3
22
  "\t": number;
@@ -1,6 +1,24 @@
1
+ /**
2
+ * MTKruto - Cross-runtime JavaScript library for building Telegram clients
3
+ * Copyright (C) 2023-2024 Roj <https://roj.im/>
4
+ *
5
+ * This file is part of MTKruto.
6
+ *
7
+ * This program is free software: you can redistribute it and/or modify
8
+ * it under the terms of the GNU Lesser General Public License as published by
9
+ * the Free Software Foundation, either version 3 of the License, or
10
+ * (at your option) any later version.
11
+ *
12
+ * This program is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ * GNU Lesser General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public License
18
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+ */
1
20
  /**
2
21
  * Copyright (C) 2023 Dunkan
3
- * Copyright (C) 2024 Roj
4
22
  */
5
23
  import { unreachable } from "../0_deps.js";
6
24
  import { sortMessageEntities } from "../3_types.js";
@@ -18,7 +18,7 @@
18
18
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
19
  */
20
20
  import { MaybePromise } from "../1_utilities.js";
21
- import { BotCommandScope, Chat, ChatMemberRights, FileSource, ID, InlineQueryResultButton, LinkPreview, Message, MessageEntity, MessageSearchFilter, ParseMode, ReplyMarkup, ReplyQuote, SelfDestructOption, StoryInteractiveArea, StoryPrivacy } from "../3_types.js";
21
+ import { BotCommandScope, ChatListItem, ChatMemberRights, FileSource, ID, InlineQueryResultButton, LinkPreview, Message, MessageEntity, MessageSearchFilter, ParseMode, ReplyMarkup, ReplyQuote, SelfDestructOption, StoryInteractiveArea, StoryPrivacy } from "../3_types.js";
22
22
  export interface AnswerCallbackQueryParams {
23
23
  /** A text to be shown to the user. */
24
24
  text?: string;
@@ -48,7 +48,7 @@ export interface _SendCommon extends _BusinessConnectionIdCommon {
48
48
  replyQuote?: ReplyQuote;
49
49
  /** The identifier of a thread to send the message to. */
50
50
  messageThreadId?: number;
51
- /** The identifier of the chat to send the message on behalf of. User-only. */
51
+ /** The identifier of a chat to send the message on behalf of. User-only. */
52
52
  sendAs?: ID;
53
53
  /** The reply markup of the message. Bot-only. */
54
54
  replyMarkup?: ReplyMarkup;
@@ -276,7 +276,7 @@ export interface GetChatsParams {
276
276
  /** The chat list to get the chats from. Defaults to main. */
277
277
  from?: "main" | "archived";
278
278
  /** The last chat to get chats after. */
279
- after?: Chat;
279
+ after?: ChatListItem;
280
280
  /** The maximum number of results to return. Must be in the range of 1-100. Defaults to 100. */
281
281
  limit?: number;
282
282
  }
@@ -287,7 +287,7 @@ export interface PinMessageParams {
287
287
  disableNotification?: boolean;
288
288
  }
289
289
  export interface BanChatMemberParams {
290
- /** A point of time in the future to automatically withdraw the ban. */
290
+ /** A point in time within the future in which the ban will be reverted. */
291
291
  untilDate?: Date;
292
292
  /** Whether to delete all of the user's messages. */
293
293
  deleteMessages?: boolean;
@@ -295,7 +295,7 @@ export interface BanChatMemberParams {
295
295
  export interface SetChatMemberRightsParams {
296
296
  /** The member's new rights. All fields default to `true` if the chat's default member rights allow. This means that this method is the same as unbanChatMember if this parameter is not provided or all of its fields are `true`. */
297
297
  rights?: ChatMemberRights;
298
- /** A point of time in the future to automatically withdraw the restrictions. */
298
+ /** A point in time within the future in which the restriction will be reverted. */
299
299
  untilDate?: Date;
300
300
  }
301
301
  export interface CreateStoryParams extends _CaptionCommon, _UploadCommon {
@@ -325,7 +325,7 @@ export interface SearchMessagesParams {
325
325
  export interface CreateInviteLinkParams {
326
326
  /** An optional title to be attached to the link that can only be seen by admins. */
327
327
  title?: string;
328
- /** The point of time in which the invite link must no longer work. */
328
+ /** A point in time within the future in which the invite link will be invalidated. */
329
329
  expireAt?: Date;
330
330
  /** The times the invite link can be used. Cannot be specified while `requireApproval` is `true`. */
331
331
  limit?: number;
@@ -355,3 +355,29 @@ export interface EditMessageLiveLocationParams {
355
355
  /** The reply markup of the message. Bot-only. */
356
356
  replyMarkup?: ReplyMarkup;
357
357
  }
358
+ export interface SendInlineQueryParams {
359
+ query?: string;
360
+ offset?: string;
361
+ }
362
+ export interface StartVideoChatParams {
363
+ /** The video chat's title. */
364
+ title?: string;
365
+ /** Whether this is going to be a live stream. */
366
+ liveStream?: boolean;
367
+ }
368
+ export interface ScheduleVideoChatParams extends StartVideoChatParams {
369
+ }
370
+ export interface JoinVideoChatParams {
371
+ /** The identifier of a chat to join the video chat on behalf of. */
372
+ joinAs?: ID;
373
+ /** Invite hash. */
374
+ inviteHash?: string;
375
+ /** Whether to enable audio. Enabled by default. */
376
+ audio?: boolean;
377
+ /** Whether to enable video. Enabled by default. */
378
+ video?: boolean;
379
+ }
380
+ export interface DownloadLiveStreamChunkParams {
381
+ /** Video quality. */
382
+ quality?: "low" | "medium" | "high";
383
+ }
@@ -103,7 +103,7 @@ export function getChatListId(chatList) {
103
103
  }
104
104
  }
105
105
  export function checkMessageId(messageId) {
106
- if (typeof messageId !== "number" || isNaN(messageId) || !messageId) {
106
+ if (typeof messageId !== "number" || isNaN(messageId) || messageId <= 0) {
107
107
  throw new InputError("Invalid message ID");
108
108
  }
109
109
  return messageId;
@@ -1,4 +1,4 @@
1
- import { types } from "../2_tl.js";
1
+ import { enums, types } from "../2_tl.js";
2
2
  import { FileSource, Sticker } from "../3_types.js";
3
3
  import { DownloadParams, UploadParams } from "./0_params.js";
4
4
  import { C } from "./0_types.js";
@@ -6,6 +6,10 @@ export declare class FileManager {
6
6
  #private;
7
7
  constructor(c: C);
8
8
  upload(file: FileSource, params?: UploadParams, checkName?: null | ((name: string) => string), allowStream?: boolean): Promise<import("../tl/2_types.js").InputFile_ | import("../tl/2_types.js").InputFileBig_>;
9
+ downloadInner(location: enums.InputFileLocation, dcId: number, params?: {
10
+ chunkSize?: number;
11
+ offset?: number;
12
+ }): AsyncGenerator<Uint8Array, void, unknown>;
9
13
  static validateChunkSize(chunkSize: number, max: number): void;
10
14
  download(fileId: string, params?: DownloadParams): AsyncGenerator<Uint8Array, void, unknown>;
11
15
  getStickerSetName(inputStickerSet: types.InputStickerSetID, hash?: number): Promise<string>;
@@ -9,7 +9,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
9
9
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
10
10
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
11
  };
12
- var _FileManager_instances, _a, _FileManager_c, _FileManager_Lupload, _FileManager_UPLOAD_MAX_CHUNK_SIZE, _FileManager_DOWNLOAD_MAX_CHUNK_SIZE, _FileManager_BIG_FILE_THRESHOLD, _FileManager_UPLOAD_REQUEST_PER_CONNECTION, _FileManager_uploadStream, _FileManager_uploadBuffer, _FileManager_handleUploadError, _FileManager_getFileContents, _FileManager_downloadInner, _FileManager_CUSTOM_EMOJI_TTL;
12
+ var _FileManager_instances, _a, _FileManager_c, _FileManager_Lupload, _FileManager_UPLOAD_MAX_CHUNK_SIZE, _FileManager_DOWNLOAD_MAX_CHUNK_SIZE, _FileManager_BIG_FILE_THRESHOLD, _FileManager_UPLOAD_REQUEST_PER_CONNECTION, _FileManager_uploadStream, _FileManager_uploadBuffer, _FileManager_handleUploadError, _FileManager_getFileContents, _FileManager_CUSTOM_EMOJI_TTL;
13
13
  /**
14
14
  * MTKruto - Cross-runtime JavaScript library for building Telegram clients
15
15
  * Copyright (C) 2023-2024 Roj <https://roj.im/>
@@ -84,6 +84,51 @@ export class FileManager {
84
84
  return new types.InputFileBig({ id: fileId, parts: result.parts, name });
85
85
  }
86
86
  }
87
+ async *downloadInner(location, dcId, params) {
88
+ const id = "id" in location ? location.id : "photo_id" in location ? location.photo_id : null;
89
+ if (id != null && __classPrivateFieldGet(this, _FileManager_c, "f").storage.supportsFiles) {
90
+ const file = await __classPrivateFieldGet(this, _FileManager_c, "f").storage.getFile(id);
91
+ const partOffset = file == null ? 0 : params?.offset ? Math.ceil(10 / file[1]) - 1 : 0;
92
+ if (file != null && file[0] > 0) {
93
+ yield* __classPrivateFieldGet(this, _FileManager_c, "f").storage.iterFileParts(id, file[0], partOffset);
94
+ return;
95
+ }
96
+ }
97
+ const chunkSize = params?.chunkSize ?? __classPrivateFieldGet(_a, _a, "f", _FileManager_DOWNLOAD_MAX_CHUNK_SIZE);
98
+ _a.validateChunkSize(chunkSize, __classPrivateFieldGet(_a, _a, "f", _FileManager_DOWNLOAD_MAX_CHUNK_SIZE));
99
+ const connection = __classPrivateFieldGet(this, _FileManager_c, "f").getCdnConnection(dcId);
100
+ await connection.connect();
101
+ const limit = chunkSize;
102
+ let offset = params?.offset ? BigInt(params.offset) : 0n;
103
+ let part = 0;
104
+ try {
105
+ while (true) {
106
+ const file = await connection.api.upload.getFile({ location, offset, limit });
107
+ if (file instanceof types.upload.File) {
108
+ yield file.bytes;
109
+ if (id != null) {
110
+ await __classPrivateFieldGet(this, _FileManager_c, "f").storage.saveFilePart(id, part, file.bytes);
111
+ }
112
+ ++part;
113
+ if (file.bytes.length < limit) {
114
+ if (id != null) {
115
+ await __classPrivateFieldGet(this, _FileManager_c, "f").storage.setFilePartCount(id, part + 1, chunkSize);
116
+ }
117
+ break;
118
+ }
119
+ else {
120
+ offset += BigInt(file.bytes.length);
121
+ }
122
+ }
123
+ else {
124
+ unreachable();
125
+ }
126
+ }
127
+ }
128
+ finally {
129
+ drop(connection.disconnect());
130
+ }
131
+ }
87
132
  static validateChunkSize(chunkSize, max) {
88
133
  if (chunkSize <= 0) {
89
134
  throw new InputError("chunkSize must be bigger than zero.");
@@ -109,7 +154,7 @@ export class FileManager {
109
154
  const big = fileId_.location.source.type == PhotoSourceType.ChatPhotoBig;
110
155
  const peer = await __classPrivateFieldGet(this, _FileManager_c, "f").getInputPeer(Number(fileId_.location.source.chatId)); // TODO: use access hash from source?
111
156
  const location = new types.InputPeerPhotoFileLocation({ big: big ? true : undefined, peer, photo_id: fileId_.location.id });
112
- yield* __classPrivateFieldGet(this, _FileManager_instances, "m", _FileManager_downloadInner).call(this, location, fileId_.dcId, params);
157
+ yield* this.downloadInner(location, fileId_.dcId, params);
113
158
  break;
114
159
  }
115
160
  case FileType.Photo: {
@@ -119,7 +164,7 @@ export class FileManager {
119
164
  file_reference: fileId_.fileReference ?? new Uint8Array(),
120
165
  thumb_size: "thumbnailType" in fileId_.location.source ? String.fromCharCode(fileId_.location.source.thumbnailType) : "",
121
166
  });
122
- yield* __classPrivateFieldGet(this, _FileManager_instances, "m", _FileManager_downloadInner).call(this, location, fileId_.dcId, params);
167
+ yield* this.downloadInner(location, fileId_.dcId, params);
123
168
  break;
124
169
  }
125
170
  case FileType.Thumbnail: {
@@ -129,7 +174,7 @@ export class FileManager {
129
174
  file_reference: fileId_.fileReference ?? new Uint8Array(),
130
175
  thumb_size: "thumbnailType" in fileId_.location.source ? String.fromCharCode(fileId_.location.source.thumbnailType) : unreachable(),
131
176
  });
132
- yield* __classPrivateFieldGet(this, _FileManager_instances, "m", _FileManager_downloadInner).call(this, location, fileId_.dcId, params);
177
+ yield* this.downloadInner(location, fileId_.dcId, params);
133
178
  break;
134
179
  }
135
180
  }
@@ -141,7 +186,7 @@ export class FileManager {
141
186
  file_reference: fileId_.fileReference ?? new Uint8Array(),
142
187
  thumb_size: "",
143
188
  });
144
- yield* __classPrivateFieldGet(this, _FileManager_instances, "m", _FileManager_downloadInner).call(this, location, fileId_.dcId, params);
189
+ yield* this.downloadInner(location, fileId_.dcId, params);
145
190
  }
146
191
  else {
147
192
  unreachable();
@@ -373,50 +418,6 @@ _a = FileManager, _FileManager_c = new WeakMap(), _FileManager_Lupload = new Wea
373
418
  }
374
419
  }
375
420
  return { size: params?.fileSize ? params.fileSize : size, name, contents };
376
- }, _FileManager_downloadInner = async function* _FileManager_downloadInner(location, dcId, params) {
377
- const id = "id" in location ? location.id : "photo_id" in location ? location.photo_id : null;
378
- if (id != null && __classPrivateFieldGet(this, _FileManager_c, "f").storage.supportsFiles) {
379
- const file = await __classPrivateFieldGet(this, _FileManager_c, "f").storage.getFile(id);
380
- const partOffset = file == null ? 0 : params?.offset ? Math.ceil(10 / file[1]) - 1 : 0;
381
- if (file != null && file[0] > 0) {
382
- yield* __classPrivateFieldGet(this, _FileManager_c, "f").storage.iterFileParts(id, file[0], partOffset);
383
- return;
384
- }
385
- }
386
- const chunkSize = params?.chunkSize ?? __classPrivateFieldGet(_a, _a, "f", _FileManager_DOWNLOAD_MAX_CHUNK_SIZE);
387
- _a.validateChunkSize(chunkSize, __classPrivateFieldGet(_a, _a, "f", _FileManager_DOWNLOAD_MAX_CHUNK_SIZE));
388
- const connection = __classPrivateFieldGet(this, _FileManager_c, "f").getCdnConnection(dcId);
389
- await connection.connect();
390
- const limit = chunkSize;
391
- let offset = params?.offset ? BigInt(params.offset) : 0n;
392
- let part = 0;
393
- try {
394
- while (true) {
395
- const file = await connection.api.upload.getFile({ location, offset, limit });
396
- if (file instanceof types.upload.File) {
397
- yield file.bytes;
398
- if (id != null) {
399
- await __classPrivateFieldGet(this, _FileManager_c, "f").storage.saveFilePart(id, part, file.bytes);
400
- }
401
- ++part;
402
- if (file.bytes.length < limit) {
403
- if (id != null) {
404
- await __classPrivateFieldGet(this, _FileManager_c, "f").storage.setFilePartCount(id, part + 1, chunkSize);
405
- }
406
- break;
407
- }
408
- else {
409
- offset += BigInt(file.bytes.length);
410
- }
411
- }
412
- else {
413
- unreachable();
414
- }
415
- }
416
- }
417
- finally {
418
- drop(connection.disconnect());
419
- }
420
421
  };
421
422
  _FileManager_UPLOAD_MAX_CHUNK_SIZE = { value: 512 * kilobyte };
422
423
  _FileManager_DOWNLOAD_MAX_CHUNK_SIZE = { value: 1 * megabyte };
@@ -0,0 +1,43 @@
1
+ /**
2
+ * MTKruto - Cross-runtime JavaScript library for building Telegram clients
3
+ * Copyright (C) 2023-2024 Roj <https://roj.im/>
4
+ *
5
+ * This file is part of MTKruto.
6
+ *
7
+ * This program is free software: you can redistribute it and/or modify
8
+ * it under the terms of the GNU Lesser General Public License as published by
9
+ * the Free Software Foundation, either version 3 of the License, or
10
+ * (at your option) any later version.
11
+ *
12
+ * This program is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ * GNU Lesser General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Lesser General Public License
18
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
+ */
20
+ import { enums, types } from "../2_tl.js";
21
+ import { ID, Update, VideoChatActive, VideoChatScheduled } from "../3_types.js";
22
+ import { DownloadLiveStreamChunkParams, JoinVideoChatParams, StartVideoChatParams } from "./0_params.js";
23
+ import { C as C_ } from "./0_types.js";
24
+ import { FileManager } from "./1_file_manager.js";
25
+ interface C extends C_ {
26
+ fileManager: FileManager;
27
+ }
28
+ type VideoChatManagerUpdate = types.UpdateGroupCall;
29
+ export declare class VideoChatManager {
30
+ #private;
31
+ constructor(c: C);
32
+ startVideoChat(chatId: ID, params?: StartVideoChatParams): Promise<VideoChatActive>;
33
+ scheduleVideoChat(chatId: ID, startAt: Date, params?: StartVideoChatParams): Promise<VideoChatScheduled>;
34
+ joinVideoChat(id: string, params: string, params_?: JoinVideoChatParams): Promise<string>;
35
+ leaveVideoChat(id: string): Promise<void>;
36
+ joinLiveStream(id: string): Promise<void>;
37
+ getVideoChat(id: string): Promise<import("../3_types.js").VideoChat>;
38
+ static canHandleUpdate(update: enums.Update): update is VideoChatManagerUpdate;
39
+ handleUpdate(update: VideoChatManagerUpdate): Promise<Update>;
40
+ getLiveStreamChannels(id: string): Promise<import("../3_types.js").LiveStreamChannel[]>;
41
+ downloadLiveStreamChunk(id: string, channel: number, scale: number, timestamp: number, params?: DownloadLiveStreamChunkParams): AsyncGenerator<Uint8Array, void, unknown>;
42
+ }
43
+ export {};