@mtkruto/node 0.1.400 → 0.1.500

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 (549) 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 +4 -1
  4. package/esm/3_types.js +4 -1
  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 +4 -0
  8. package/esm/client/0_utilities.js +1 -1
  9. package/esm/client/3_callback_query_manager.d.ts +2 -1
  10. package/esm/client/3_callback_query_manager.js +33 -5
  11. package/esm/client/3_inline_query_manager.d.ts +3 -2
  12. package/esm/client/3_inline_query_manager.js +20 -4
  13. package/esm/client/4_client.d.ts +23 -4
  14. package/esm/client/4_client.js +23 -0
  15. package/esm/storage/0_storage.d.ts +10 -0
  16. package/esm/storage/0_storage.js +42 -0
  17. package/esm/types/0_callback_query_answer.d.ts +30 -0
  18. package/esm/types/0_callback_query_answer.js +26 -0
  19. package/esm/types/0_callback_query_question.d.ts +49 -0
  20. package/esm/types/0_callback_query_question.js +31 -0
  21. package/{script/types/1_input_message_content.d.ts → esm/types/1_message_content.d.ts} +6 -6
  22. package/esm/types/1_photo.d.ts +4 -0
  23. package/esm/types/1_photo.js +12 -26
  24. package/esm/types/4_inline_query_result.d.ts +52 -49
  25. package/esm/types/4_inline_query_result.js +225 -44
  26. package/esm/types/5_inline_query_answer.d.ts +31 -0
  27. package/esm/types/5_inline_query_answer.js +28 -0
  28. package/esm/types/_file_id.d.ts +5 -0
  29. package/esm/types/_file_id.js +32 -1
  30. package/package.json +1 -1
  31. package/script/0_deps.d.ts +5 -5
  32. package/script/0_deps.js +6 -6
  33. package/script/3_types.d.ts +4 -1
  34. package/script/3_types.js +4 -1
  35. package/script/client/0_markdown.d.ts +19 -0
  36. package/script/client/0_markdown.js +19 -1
  37. package/script/client/0_params.d.ts +4 -0
  38. package/script/client/0_utilities.js +1 -1
  39. package/script/client/3_callback_query_manager.d.ts +2 -1
  40. package/script/client/3_callback_query_manager.js +30 -2
  41. package/script/client/3_inline_query_manager.d.ts +3 -2
  42. package/script/client/3_inline_query_manager.js +18 -2
  43. package/script/client/4_client.d.ts +23 -4
  44. package/script/client/4_client.js +23 -0
  45. package/script/storage/0_storage.d.ts +10 -0
  46. package/script/storage/0_storage.js +42 -0
  47. package/script/types/0_callback_query_answer.d.ts +30 -0
  48. package/script/types/0_callback_query_answer.js +30 -0
  49. package/script/types/0_callback_query_question.d.ts +49 -0
  50. package/script/types/0_callback_query_question.js +35 -0
  51. package/{esm/types/1_input_message_content.d.ts → script/types/1_message_content.d.ts} +6 -6
  52. package/script/types/1_photo.d.ts +4 -0
  53. package/script/types/1_photo.js +14 -27
  54. package/script/types/4_inline_query_result.d.ts +52 -49
  55. package/script/types/4_inline_query_result.js +224 -42
  56. package/script/types/5_inline_query_answer.d.ts +31 -0
  57. package/script/types/5_inline_query_answer.js +32 -0
  58. package/script/types/_file_id.d.ts +5 -0
  59. package/script/types/_file_id.js +33 -1
  60. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_constants.d.ts +0 -0
  61. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_constants.js +0 -0
  62. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_diff.d.ts +0 -0
  63. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_diff.js +0 -0
  64. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_format.d.ts +0 -0
  65. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_format.js +0 -0
  66. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert.d.ts +0 -0
  67. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert.js +0 -0
  68. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_almost_equals.d.ts +0 -0
  69. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_almost_equals.js +0 -0
  70. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_array_includes.d.ts +0 -0
  71. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_array_includes.js +0 -0
  72. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_equals.d.ts +0 -0
  73. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_equals.js +0 -0
  74. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_exists.d.ts +0 -0
  75. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_exists.js +0 -0
  76. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_false.d.ts +0 -0
  77. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_false.js +0 -0
  78. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater.d.ts +0 -0
  79. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater.js +0 -0
  80. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater_or_equal.d.ts +0 -0
  81. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater_or_equal.js +0 -0
  82. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_instance_of.d.ts +0 -0
  83. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_instance_of.js +0 -0
  84. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_is_error.d.ts +0 -0
  85. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_is_error.js +0 -0
  86. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less.d.ts +0 -0
  87. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less.js +0 -0
  88. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less_or_equal.d.ts +0 -0
  89. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less_or_equal.js +0 -0
  90. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_match.d.ts +0 -0
  91. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_match.js +0 -0
  92. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_equals.d.ts +0 -0
  93. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_equals.js +0 -0
  94. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_instance_of.d.ts +0 -0
  95. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_instance_of.js +0 -0
  96. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_match.d.ts +0 -0
  97. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_match.js +0 -0
  98. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_strict_equals.d.ts +0 -0
  99. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_strict_equals.js +0 -0
  100. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_object_match.d.ts +0 -0
  101. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_object_match.js +0 -0
  102. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_rejects.d.ts +0 -0
  103. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_rejects.js +0 -0
  104. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_strict_equals.d.ts +0 -0
  105. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_strict_equals.js +0 -0
  106. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_string_includes.d.ts +0 -0
  107. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_string_includes.js +0 -0
  108. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_throws.d.ts +0 -0
  109. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_throws.js +0 -0
  110. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assertion_error.d.ts +0 -0
  111. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assertion_error.js +0 -0
  112. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/equal.d.ts +0 -0
  113. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/equal.js +0 -0
  114. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/fail.d.ts +0 -0
  115. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/fail.js +0 -0
  116. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/mod.d.ts +0 -0
  117. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/mod.js +0 -0
  118. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unimplemented.d.ts +0 -0
  119. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unimplemented.js +0 -0
  120. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unreachable.d.ts +0 -0
  121. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unreachable.js +0 -0
  122. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/bytes/concat.d.ts +0 -0
  123. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/bytes/concat.js +0 -0
  124. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/_util.d.ts +0 -0
  125. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/_util.js +0 -0
  126. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/base64.d.ts +0 -0
  127. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/base64.js +0 -0
  128. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/fmt/colors.d.ts +0 -0
  129. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/fmt/colors.js +0 -0
  130. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_db.d.ts +0 -0
  131. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_db.js +0 -0
  132. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_util.d.ts +0 -0
  133. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_util.js +0 -0
  134. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/content_type.d.ts +0 -0
  135. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/content_type.js +0 -0
  136. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extension.d.ts +0 -0
  137. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extension.js +0 -0
  138. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extensions_by_type.d.ts +0 -0
  139. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extensions_by_type.js +0 -0
  140. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/format_media_type.d.ts +0 -0
  141. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/format_media_type.js +0 -0
  142. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/get_charset.d.ts +0 -0
  143. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/get_charset.js +0 -0
  144. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/parse_media_type.d.ts +0 -0
  145. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/parse_media_type.js +0 -0
  146. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/type_by_extension.d.ts +0 -0
  147. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/type_by_extension.js +0 -0
  148. /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
  149. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  150. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/assert_path.d.ts +0 -0
  151. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/assert_path.js +0 -0
  152. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/basename.d.ts +0 -0
  153. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/basename.js +0 -0
  154. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/common.d.ts +0 -0
  155. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/common.js +0 -0
  156. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/constants.d.ts +0 -0
  157. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/constants.js +0 -0
  158. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/dirname.d.ts +0 -0
  159. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/dirname.js +0 -0
  160. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/format.d.ts +0 -0
  161. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/format.js +0 -0
  162. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/from_file_url.d.ts +0 -0
  163. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/from_file_url.js +0 -0
  164. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  165. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/glob_to_reg_exp.js +0 -0
  166. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize.d.ts +0 -0
  167. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize.js +0 -0
  168. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize_string.d.ts +0 -0
  169. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize_string.js +0 -0
  170. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/relative.d.ts +0 -0
  171. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/relative.js +0 -0
  172. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  173. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/strip_trailing_separators.js +0 -0
  174. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/to_file_url.d.ts +0 -0
  175. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/to_file_url.js +0 -0
  176. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_interface.d.ts +0 -0
  177. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_interface.js +0 -0
  178. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_os.d.ts +0 -0
  179. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_os.js +0 -0
  180. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/basename.d.ts +0 -0
  181. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/basename.js +0 -0
  182. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/common.d.ts +0 -0
  183. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/common.js +0 -0
  184. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/constants.d.ts +0 -0
  185. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/constants.js +0 -0
  186. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/dirname.d.ts +0 -0
  187. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/dirname.js +0 -0
  188. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/extname.d.ts +0 -0
  189. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/extname.js +0 -0
  190. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/format.d.ts +0 -0
  191. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/format.js +0 -0
  192. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/from_file_url.d.ts +0 -0
  193. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/from_file_url.js +0 -0
  194. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/glob_to_regexp.d.ts +0 -0
  195. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/glob_to_regexp.js +0 -0
  196. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_absolute.d.ts +0 -0
  197. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_absolute.js +0 -0
  198. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_glob.d.ts +0 -0
  199. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_glob.js +0 -0
  200. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join.d.ts +0 -0
  201. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join.js +0 -0
  202. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join_globs.d.ts +0 -0
  203. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join_globs.js +0 -0
  204. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/mod.d.ts +0 -0
  205. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/mod.js +0 -0
  206. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize.d.ts +0 -0
  207. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize.js +0 -0
  208. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize_glob.d.ts +0 -0
  209. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize_glob.js +0 -0
  210. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/parse.d.ts +0 -0
  211. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/parse.js +0 -0
  212. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/_util.d.ts +0 -0
  213. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/_util.js +0 -0
  214. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/basename.d.ts +0 -0
  215. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/basename.js +0 -0
  216. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/common.d.ts +0 -0
  217. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/common.js +0 -0
  218. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/constants.d.ts +0 -0
  219. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/constants.js +0 -0
  220. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/dirname.d.ts +0 -0
  221. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/dirname.js +0 -0
  222. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/extname.d.ts +0 -0
  223. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/extname.js +0 -0
  224. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/format.d.ts +0 -0
  225. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/format.js +0 -0
  226. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/from_file_url.d.ts +0 -0
  227. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/from_file_url.js +0 -0
  228. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/glob_to_regexp.d.ts +0 -0
  229. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/glob_to_regexp.js +0 -0
  230. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_absolute.d.ts +0 -0
  231. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_absolute.js +0 -0
  232. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_glob.d.ts +0 -0
  233. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_glob.js +0 -0
  234. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join.d.ts +0 -0
  235. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join.js +0 -0
  236. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join_globs.d.ts +0 -0
  237. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join_globs.js +0 -0
  238. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/mod.d.ts +0 -0
  239. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/mod.js +0 -0
  240. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize.d.ts +0 -0
  241. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize.js +0 -0
  242. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize_glob.d.ts +0 -0
  243. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize_glob.js +0 -0
  244. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/parse.d.ts +0 -0
  245. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/parse.js +0 -0
  246. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/relative.d.ts +0 -0
  247. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/relative.js +0 -0
  248. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/resolve.d.ts +0 -0
  249. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/resolve.js +0 -0
  250. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_file_url.d.ts +0 -0
  251. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_file_url.js +0 -0
  252. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_namespaced_path.d.ts +0 -0
  253. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_namespaced_path.js +0 -0
  254. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/relative.d.ts +0 -0
  255. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/relative.js +0 -0
  256. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/resolve.d.ts +0 -0
  257. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/resolve.js +0 -0
  258. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_file_url.d.ts +0 -0
  259. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_file_url.js +0 -0
  260. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_namespaced_path.d.ts +0 -0
  261. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_namespaced_path.js +0 -0
  262. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/_util.d.ts +0 -0
  263. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/_util.js +0 -0
  264. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/basename.d.ts +0 -0
  265. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/basename.js +0 -0
  266. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/common.d.ts +0 -0
  267. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/common.js +0 -0
  268. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/constants.d.ts +0 -0
  269. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/constants.js +0 -0
  270. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/dirname.d.ts +0 -0
  271. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/dirname.js +0 -0
  272. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/extname.d.ts +0 -0
  273. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/extname.js +0 -0
  274. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/format.d.ts +0 -0
  275. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/format.js +0 -0
  276. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/from_file_url.d.ts +0 -0
  277. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/from_file_url.js +0 -0
  278. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/glob_to_regexp.d.ts +0 -0
  279. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/glob_to_regexp.js +0 -0
  280. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_absolute.d.ts +0 -0
  281. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_absolute.js +0 -0
  282. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_glob.d.ts +0 -0
  283. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_glob.js +0 -0
  284. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join.d.ts +0 -0
  285. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join.js +0 -0
  286. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join_globs.d.ts +0 -0
  287. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join_globs.js +0 -0
  288. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/mod.d.ts +0 -0
  289. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/mod.js +0 -0
  290. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize.d.ts +0 -0
  291. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize.js +0 -0
  292. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize_glob.d.ts +0 -0
  293. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize_glob.js +0 -0
  294. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/parse.d.ts +0 -0
  295. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/parse.js +0 -0
  296. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/relative.d.ts +0 -0
  297. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/relative.js +0 -0
  298. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/resolve.d.ts +0 -0
  299. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/resolve.js +0 -0
  300. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_file_url.d.ts +0 -0
  301. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_file_url.js +0 -0
  302. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_namespaced_path.d.ts +0 -0
  303. /package/esm/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_namespaced_path.js +0 -0
  304. /package/esm/types/{1_input_message_content.js → 1_message_content.js} +0 -0
  305. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_constants.d.ts +0 -0
  306. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_constants.js +0 -0
  307. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_diff.d.ts +0 -0
  308. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_diff.js +0 -0
  309. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_format.d.ts +0 -0
  310. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/_format.js +0 -0
  311. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert.d.ts +0 -0
  312. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert.js +0 -0
  313. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_almost_equals.d.ts +0 -0
  314. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_almost_equals.js +0 -0
  315. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_array_includes.d.ts +0 -0
  316. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_array_includes.js +0 -0
  317. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_equals.d.ts +0 -0
  318. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_equals.js +0 -0
  319. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_exists.d.ts +0 -0
  320. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_exists.js +0 -0
  321. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_false.d.ts +0 -0
  322. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_false.js +0 -0
  323. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater.d.ts +0 -0
  324. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater.js +0 -0
  325. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater_or_equal.d.ts +0 -0
  326. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_greater_or_equal.js +0 -0
  327. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_instance_of.d.ts +0 -0
  328. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_instance_of.js +0 -0
  329. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_is_error.d.ts +0 -0
  330. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_is_error.js +0 -0
  331. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less.d.ts +0 -0
  332. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less.js +0 -0
  333. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less_or_equal.d.ts +0 -0
  334. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_less_or_equal.js +0 -0
  335. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_match.d.ts +0 -0
  336. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_match.js +0 -0
  337. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_equals.d.ts +0 -0
  338. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_equals.js +0 -0
  339. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_instance_of.d.ts +0 -0
  340. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_instance_of.js +0 -0
  341. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_match.d.ts +0 -0
  342. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_match.js +0 -0
  343. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_strict_equals.d.ts +0 -0
  344. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_not_strict_equals.js +0 -0
  345. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_object_match.d.ts +0 -0
  346. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_object_match.js +0 -0
  347. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_rejects.d.ts +0 -0
  348. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_rejects.js +0 -0
  349. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_strict_equals.d.ts +0 -0
  350. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_strict_equals.js +0 -0
  351. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_string_includes.d.ts +0 -0
  352. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_string_includes.js +0 -0
  353. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_throws.d.ts +0 -0
  354. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assert_throws.js +0 -0
  355. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assertion_error.d.ts +0 -0
  356. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/assertion_error.js +0 -0
  357. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/equal.d.ts +0 -0
  358. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/equal.js +0 -0
  359. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/fail.d.ts +0 -0
  360. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/fail.js +0 -0
  361. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/mod.d.ts +0 -0
  362. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/mod.js +0 -0
  363. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unimplemented.d.ts +0 -0
  364. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unimplemented.js +0 -0
  365. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unreachable.d.ts +0 -0
  366. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/assert/unreachable.js +0 -0
  367. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/bytes/concat.d.ts +0 -0
  368. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/bytes/concat.js +0 -0
  369. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/_util.d.ts +0 -0
  370. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/_util.js +0 -0
  371. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/base64.d.ts +0 -0
  372. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/encoding/base64.js +0 -0
  373. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/fmt/colors.d.ts +0 -0
  374. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/fmt/colors.js +0 -0
  375. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_db.d.ts +0 -0
  376. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_db.js +0 -0
  377. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_util.d.ts +0 -0
  378. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/_util.js +0 -0
  379. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/content_type.d.ts +0 -0
  380. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/content_type.js +0 -0
  381. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extension.d.ts +0 -0
  382. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extension.js +0 -0
  383. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extensions_by_type.d.ts +0 -0
  384. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/extensions_by_type.js +0 -0
  385. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/format_media_type.d.ts +0 -0
  386. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/format_media_type.js +0 -0
  387. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/get_charset.d.ts +0 -0
  388. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/get_charset.js +0 -0
  389. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/parse_media_type.d.ts +0 -0
  390. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/parse_media_type.js +0 -0
  391. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/type_by_extension.d.ts +0 -0
  392. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/type_by_extension.js +0 -0
  393. /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
  394. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/media_types/vendor/mime-db.v1.52.0.js +0 -0
  395. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/assert_path.d.ts +0 -0
  396. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/assert_path.js +0 -0
  397. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/basename.d.ts +0 -0
  398. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/basename.js +0 -0
  399. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/common.d.ts +0 -0
  400. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/common.js +0 -0
  401. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/constants.d.ts +0 -0
  402. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/constants.js +0 -0
  403. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/dirname.d.ts +0 -0
  404. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/dirname.js +0 -0
  405. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/format.d.ts +0 -0
  406. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/format.js +0 -0
  407. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/from_file_url.d.ts +0 -0
  408. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/from_file_url.js +0 -0
  409. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/glob_to_reg_exp.d.ts +0 -0
  410. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/glob_to_reg_exp.js +0 -0
  411. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize.d.ts +0 -0
  412. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize.js +0 -0
  413. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize_string.d.ts +0 -0
  414. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/normalize_string.js +0 -0
  415. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/relative.d.ts +0 -0
  416. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/relative.js +0 -0
  417. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/strip_trailing_separators.d.ts +0 -0
  418. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/strip_trailing_separators.js +0 -0
  419. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/to_file_url.d.ts +0 -0
  420. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_common/to_file_url.js +0 -0
  421. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_interface.d.ts +0 -0
  422. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_interface.js +0 -0
  423. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_os.d.ts +0 -0
  424. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/_os.js +0 -0
  425. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/basename.d.ts +0 -0
  426. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/basename.js +0 -0
  427. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/common.d.ts +0 -0
  428. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/common.js +0 -0
  429. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/constants.d.ts +0 -0
  430. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/constants.js +0 -0
  431. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/dirname.d.ts +0 -0
  432. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/dirname.js +0 -0
  433. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/extname.d.ts +0 -0
  434. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/extname.js +0 -0
  435. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/format.d.ts +0 -0
  436. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/format.js +0 -0
  437. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/from_file_url.d.ts +0 -0
  438. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/from_file_url.js +0 -0
  439. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/glob_to_regexp.d.ts +0 -0
  440. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/glob_to_regexp.js +0 -0
  441. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_absolute.d.ts +0 -0
  442. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_absolute.js +0 -0
  443. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_glob.d.ts +0 -0
  444. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/is_glob.js +0 -0
  445. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join.d.ts +0 -0
  446. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join.js +0 -0
  447. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join_globs.d.ts +0 -0
  448. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/join_globs.js +0 -0
  449. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/mod.d.ts +0 -0
  450. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/mod.js +0 -0
  451. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize.d.ts +0 -0
  452. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize.js +0 -0
  453. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize_glob.d.ts +0 -0
  454. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/normalize_glob.js +0 -0
  455. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/parse.d.ts +0 -0
  456. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/parse.js +0 -0
  457. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/_util.d.ts +0 -0
  458. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/_util.js +0 -0
  459. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/basename.d.ts +0 -0
  460. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/basename.js +0 -0
  461. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/common.d.ts +0 -0
  462. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/common.js +0 -0
  463. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/constants.d.ts +0 -0
  464. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/constants.js +0 -0
  465. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/dirname.d.ts +0 -0
  466. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/dirname.js +0 -0
  467. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/extname.d.ts +0 -0
  468. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/extname.js +0 -0
  469. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/format.d.ts +0 -0
  470. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/format.js +0 -0
  471. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/from_file_url.d.ts +0 -0
  472. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/from_file_url.js +0 -0
  473. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/glob_to_regexp.d.ts +0 -0
  474. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/glob_to_regexp.js +0 -0
  475. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_absolute.d.ts +0 -0
  476. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_absolute.js +0 -0
  477. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_glob.d.ts +0 -0
  478. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/is_glob.js +0 -0
  479. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join.d.ts +0 -0
  480. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join.js +0 -0
  481. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join_globs.d.ts +0 -0
  482. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/join_globs.js +0 -0
  483. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/mod.d.ts +0 -0
  484. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/mod.js +0 -0
  485. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize.d.ts +0 -0
  486. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize.js +0 -0
  487. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize_glob.d.ts +0 -0
  488. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/normalize_glob.js +0 -0
  489. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/parse.d.ts +0 -0
  490. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/parse.js +0 -0
  491. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/relative.d.ts +0 -0
  492. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/relative.js +0 -0
  493. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/resolve.d.ts +0 -0
  494. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/resolve.js +0 -0
  495. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_file_url.d.ts +0 -0
  496. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_file_url.js +0 -0
  497. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_namespaced_path.d.ts +0 -0
  498. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/posix/to_namespaced_path.js +0 -0
  499. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/relative.d.ts +0 -0
  500. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/relative.js +0 -0
  501. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/resolve.d.ts +0 -0
  502. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/resolve.js +0 -0
  503. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_file_url.d.ts +0 -0
  504. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_file_url.js +0 -0
  505. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_namespaced_path.d.ts +0 -0
  506. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/to_namespaced_path.js +0 -0
  507. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/_util.d.ts +0 -0
  508. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/_util.js +0 -0
  509. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/basename.d.ts +0 -0
  510. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/basename.js +0 -0
  511. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/common.d.ts +0 -0
  512. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/common.js +0 -0
  513. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/constants.d.ts +0 -0
  514. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/constants.js +0 -0
  515. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/dirname.d.ts +0 -0
  516. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/dirname.js +0 -0
  517. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/extname.d.ts +0 -0
  518. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/extname.js +0 -0
  519. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/format.d.ts +0 -0
  520. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/format.js +0 -0
  521. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/from_file_url.d.ts +0 -0
  522. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/from_file_url.js +0 -0
  523. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/glob_to_regexp.d.ts +0 -0
  524. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/glob_to_regexp.js +0 -0
  525. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_absolute.d.ts +0 -0
  526. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_absolute.js +0 -0
  527. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_glob.d.ts +0 -0
  528. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/is_glob.js +0 -0
  529. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join.d.ts +0 -0
  530. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join.js +0 -0
  531. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join_globs.d.ts +0 -0
  532. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/join_globs.js +0 -0
  533. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/mod.d.ts +0 -0
  534. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/mod.js +0 -0
  535. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize.d.ts +0 -0
  536. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize.js +0 -0
  537. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize_glob.d.ts +0 -0
  538. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/normalize_glob.js +0 -0
  539. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/parse.d.ts +0 -0
  540. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/parse.js +0 -0
  541. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/relative.d.ts +0 -0
  542. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/relative.js +0 -0
  543. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/resolve.d.ts +0 -0
  544. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/resolve.js +0 -0
  545. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_file_url.d.ts +0 -0
  546. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_file_url.js +0 -0
  547. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_namespaced_path.d.ts +0 -0
  548. /package/script/deps/deno.land/{std@0.222.1 → std@0.223.0}/path/windows/to_namespaced_path.js +0 -0
  549. /package/script/types/{1_input_message_content.js → 1_message_content.js} +0 -0
@@ -17,12 +17,13 @@
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
- import { enums } from "../2_tl.js";
20
+ import { enums, types } from "../2_tl.js";
21
21
  import { UsernameResolver } from "./_getters.js";
22
22
  import { MessageEntity } from "./0_message_entity.js";
23
23
  import { ParseMode } from "./0_parse_mode.js";
24
- import { InputMessageContent } from "./1_input_message_content.js";
24
+ import { MessageContent } from "./1_message_content.js";
25
25
  import { ReplyMarkupInlineKeyboard } from "./3_reply_markup.js";
26
+ import { Thumbnail } from "./0_thumbnail.js";
26
27
  /** @unlisted */
27
28
  type InlineQueryResultType = "article" | "audio" | "document" | "gif" | "mpeg4Gif" | "photo" | "sticker" | "video" | "voice" | "game" | "location" | "venue";
28
29
  /** @unlisted */
@@ -37,8 +38,8 @@ export interface _InlineQueryResultCaptionCommon {
37
38
  captionEntities?: MessageEntity[];
38
39
  }
39
40
  /** @unlisted */
40
- export interface _InlineQueryResultInputMessageContentReplyMarkupCommon {
41
- inputMessageContent?: InputMessageContent;
41
+ export interface _InlineQueryResultMessageContentReplyMarkupCommon {
42
+ messageContent?: MessageContent;
42
43
  replyMarkup?: ReplyMarkupInlineKeyboard;
43
44
  }
44
45
  /** @unlisted */
@@ -51,70 +52,71 @@ export interface _InlineQueryResultThumbnailCommon {
51
52
  export interface InlineQueryResultArticle extends _InlineQueryResultBase, _InlineQueryResultThumbnailCommon {
52
53
  type: "article";
53
54
  title: string;
54
- inputMessageContent: InputMessageContent;
55
+ messageContent: MessageContent;
55
56
  description?: string;
56
57
  replyMarkup?: ReplyMarkupInlineKeyboard;
57
58
  url?: string;
58
59
  hideUrl?: boolean;
59
60
  }
60
61
  /** @unlisted */
61
- export interface InlineQueryResultAudio extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
62
+ export interface InlineQueryResultAudio extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
62
63
  type: "audio";
63
64
  title: string;
64
- audioUrl: string;
65
+ url: string;
65
66
  performer?: string;
66
67
  audioDuration?: number;
67
68
  }
68
69
  /** @unlisted */
69
- export interface InlineQueryResultCachedAudio extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
70
+ export interface InlineQueryResultCachedAudio extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
70
71
  type: "audio";
71
- audioFileId: string;
72
+ fileId: string;
72
73
  }
73
74
  /** @unlisted */
74
- export interface InlineQueryResultCachedDocument extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
75
+ export interface InlineQueryResultCachedDocument extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
75
76
  type: "document";
76
- documentFileId: string;
77
+ fileId: string;
77
78
  description?: string;
78
79
  }
79
80
  /** @unlisted */
80
- export interface InlineQueryResultCachedGif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
81
+ export interface InlineQueryResultCachedGif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
81
82
  type: "gif";
82
- gifFileId: string;
83
+ fileId: string;
83
84
  title?: string;
84
85
  }
85
86
  /** @unlisted */
86
- export interface InlineQueryResultCachedMpeg4Gif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
87
+ export interface InlineQueryResultCachedMpeg4Gif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
87
88
  type: "mpeg4Gif";
88
- mpeg4FileId: string;
89
+ fileId: string;
89
90
  title?: string;
90
91
  }
91
92
  /** @unlisted */
92
- export interface InlineQueryResultCachedPhoto extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
93
+ export interface InlineQueryResultCachedPhoto extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
93
94
  type: "photo";
94
- photoFileId: string;
95
+ fileId: string;
96
+ thumbnails?: Thumbnail[];
95
97
  title?: string;
96
98
  description?: string;
97
99
  }
98
100
  /** @unlisted */
99
- export interface InlineQueryResultCachedSticker extends _InlineQueryResultBase, _InlineQueryResultInputMessageContentReplyMarkupCommon {
101
+ export interface InlineQueryResultCachedSticker extends _InlineQueryResultBase, _InlineQueryResultMessageContentReplyMarkupCommon {
100
102
  type: "sticker";
101
- stickerFileId: string;
103
+ fileId: string;
102
104
  }
103
105
  /** @unlisted */
104
- export interface InlineQueryResultCachedVideo extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
106
+ export interface InlineQueryResultCachedVideo extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
105
107
  type: "video";
106
108
  title: string;
107
- videoFileId: string;
109
+ fileId: string;
108
110
  description?: string;
109
111
  }
110
112
  /** @unlisted */
111
- export interface InlineQueryResultCachedVoice extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
113
+ export interface InlineQueryResultCachedVoice extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
112
114
  type: "voice";
113
115
  title: string;
114
- voiceFileId: string;
116
+ fileId: string;
115
117
  }
116
118
  /** @unlisted */
117
- export interface InlineQueryResultContact extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon, _InlineQueryResultThumbnailCommon {
119
+ export interface InlineQueryResultContact extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon, _InlineQueryResultThumbnailCommon {
118
120
  type: "game";
119
121
  phoneNumber: string;
120
122
  firstName: string;
@@ -122,10 +124,10 @@ export interface InlineQueryResultContact extends _InlineQueryResultBase, _Inlin
122
124
  vcard?: string;
123
125
  }
124
126
  /** @unlisted */
125
- export interface InlineQueryResultDocument extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon, _InlineQueryResultThumbnailCommon {
127
+ export interface InlineQueryResultDocument extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon, _InlineQueryResultThumbnailCommon {
126
128
  type: "document";
127
129
  title: string;
128
- documentUrl: string;
130
+ url: string;
129
131
  }
130
132
  /** @unlisted */
131
133
  export interface InlineQueryResultGame extends _InlineQueryResultBase {
@@ -134,18 +136,18 @@ export interface InlineQueryResultGame extends _InlineQueryResultBase {
134
136
  replyMarkup?: ReplyMarkupInlineKeyboard;
135
137
  }
136
138
  /** @unlisted */
137
- export interface InlineQueryResultGif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
139
+ export interface InlineQueryResultGif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
138
140
  type: "gif";
139
141
  title?: string;
140
- gifUrl: string;
141
- gifWidth?: number;
142
- gifHeight?: number;
143
- gifDuration?: number;
142
+ url: string;
143
+ width?: number;
144
+ height?: number;
145
+ duration?: number;
144
146
  thumbnailUrl?: string;
145
147
  thumbnailMimeType?: string;
146
148
  }
147
149
  /** @unlisted */
148
- export interface InlineQueryResultLocation extends _InlineQueryResultBase, _InlineQueryResultInputMessageContentReplyMarkupCommon, _InlineQueryResultThumbnailCommon {
150
+ export interface InlineQueryResultLocation extends _InlineQueryResultBase, _InlineQueryResultMessageContentReplyMarkupCommon, _InlineQueryResultThumbnailCommon {
149
151
  type: "location";
150
152
  title: string;
151
153
  latitude: number;
@@ -156,57 +158,58 @@ export interface InlineQueryResultLocation extends _InlineQueryResultBase, _Inli
156
158
  proximityAlertRadius?: number;
157
159
  }
158
160
  /** @unlisted */
159
- export interface InlineQueryResultMpeg4Gif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
161
+ export interface InlineQueryResultMpeg4Gif extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
160
162
  type: "mpeg4Gif";
161
- mpeg4Url: string;
163
+ url: string;
162
164
  title?: string;
163
- mpeg4Width?: number;
164
- mpeg4Height?: number;
165
- mpeg4Duration?: number;
165
+ width?: number;
166
+ height?: number;
167
+ duration?: number;
166
168
  thumbnailUrl?: string;
167
169
  thumbnailMimeType?: string;
168
170
  }
169
171
  /** @unlisted */
170
- export interface InlineQueryResultPhoto extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
172
+ export interface InlineQueryResultPhoto extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
171
173
  type: "photo";
172
- photoUrl: string;
174
+ url: string;
173
175
  thumbnailUrl: string;
174
176
  title?: string;
175
177
  description?: string;
176
- photoWidth?: number;
177
- photoHeight?: number;
178
+ width?: number;
179
+ height?: number;
178
180
  }
179
181
  /** @unlisted */
180
- export interface InlineQueryResultVenue extends _InlineQueryResultBase, _InlineQueryResultInputMessageContentReplyMarkupCommon, _InlineQueryResultThumbnailCommon {
182
+ export interface InlineQueryResultVenue extends _InlineQueryResultBase, _InlineQueryResultMessageContentReplyMarkupCommon, _InlineQueryResultThumbnailCommon {
181
183
  type: "venue";
182
184
  title: string;
183
185
  latitude: number;
184
186
  longitude: number;
185
187
  address: string;
186
- fourSquareId?: string;
188
+ foursquareId?: string;
187
189
  foursquareType?: string;
188
190
  }
189
191
  /** @unlisted */
190
- export interface InlineQueryResultVideo extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
192
+ export interface InlineQueryResultVideo extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
191
193
  type: "video";
192
194
  title: string;
193
195
  description?: string;
194
- videoUrl: string;
196
+ url: string;
195
197
  mimeType: string;
196
198
  thumbnailUrl: string;
197
- videoWidth?: number;
198
- videoHeight?: number;
199
+ width?: number;
200
+ height?: number;
199
201
  videoDuration?: number;
200
202
  }
201
203
  /** @unlisted */
202
- export interface InlineQueryResultVoice extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultInputMessageContentReplyMarkupCommon {
204
+ export interface InlineQueryResultVoice extends _InlineQueryResultBase, _InlineQueryResultCaptionCommon, _InlineQueryResultMessageContentReplyMarkupCommon {
203
205
  type: "voice";
204
206
  title: string;
205
- voiceUrl: string;
207
+ url: string;
206
208
  voiceDuration?: number;
207
209
  }
208
210
  /** A single inline query result. */
209
211
  export type InlineQueryResult = InlineQueryResultCachedAudio | InlineQueryResultCachedDocument | InlineQueryResultCachedGif | InlineQueryResultCachedMpeg4Gif | InlineQueryResultCachedPhoto | InlineQueryResultCachedSticker | InlineQueryResultCachedVideo | InlineQueryResultCachedVoice | InlineQueryResultArticle | InlineQueryResultAudio | InlineQueryResultContact | InlineQueryResultGame | InlineQueryResultDocument | InlineQueryResultGif | InlineQueryResultLocation | InlineQueryResultMpeg4Gif | InlineQueryResultPhoto | InlineQueryResultVenue | InlineQueryResultVideo | InlineQueryResultVoice;
212
+ export declare function constructInlineQueryResult(result: types.BotInlineResult | types.BotInlineMediaResult): InlineQueryResult;
210
213
  export declare function inlineQueryResultToTlObject(result_: InlineQueryResult, parseText: (text: string, params?: {
211
214
  parseMode?: ParseMode;
212
215
  entities?: MessageEntity[];
@@ -19,11 +19,193 @@
19
19
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
20
20
  */
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.inlineQueryResultToTlObject = void 0;
22
+ exports.inlineQueryResultToTlObject = exports.constructInlineQueryResult = void 0;
23
23
  const _0_deps_js_1 = require("../0_deps.js");
24
24
  const _2_tl_js_1 = require("../2_tl.js");
25
+ const _1_utilities_js_1 = require("../1_utilities.js");
25
26
  const _file_id_js_1 = require("./_file_id.js");
27
+ const _0_message_entity_js_1 = require("./0_message_entity.js");
28
+ const _1_photo_js_1 = require("./1_photo.js");
26
29
  const _3_reply_markup_js_1 = require("./3_reply_markup.js");
30
+ const _0_thumbnail_js_1 = require("./0_thumbnail.js");
31
+ function constructInlineQueryResult(result) {
32
+ const id = result.id, title = result.title ?? "", type = result.type, description = result.description;
33
+ if (result.send_message instanceof _2_tl_js_1.types.BotInlineMessageMediaGeo) {
34
+ const geoPoint = result.send_message.geo;
35
+ return (0, _1_utilities_js_1.cleanObject)({
36
+ type: "location",
37
+ id,
38
+ title,
39
+ latitude: geoPoint.lat,
40
+ longitude: geoPoint.long,
41
+ horizontalAccuracy: geoPoint.accuracy_radius,
42
+ livePeriod: result.send_message.period,
43
+ heading: result.send_message.heading,
44
+ proximityAlertRadius: result.send_message.proximity_notification_radius,
45
+ });
46
+ }
47
+ else if (result.send_message instanceof _2_tl_js_1.types.BotInlineMessageMediaVenue) {
48
+ const geoPoint = result.send_message.geo;
49
+ return (0, _1_utilities_js_1.cleanObject)({
50
+ type: "venue",
51
+ id,
52
+ title,
53
+ latitude: geoPoint.lat,
54
+ longitude: geoPoint.long,
55
+ address: result.send_message.address,
56
+ foursquareId: result.send_message.venue_id,
57
+ foursquareType: result.send_message.venue_type,
58
+ });
59
+ }
60
+ else if (result.send_message instanceof _2_tl_js_1.types.BotInlineMessageMediaWebPage || result.send_message instanceof _2_tl_js_1.types.BotInlineMessageText) {
61
+ return (0, _1_utilities_js_1.cleanObject)({
62
+ type: "article",
63
+ id,
64
+ title,
65
+ description,
66
+ messageContent: (0, _1_utilities_js_1.cleanObject)({
67
+ messageText: result.send_message.message,
68
+ entities: (result.send_message.entities ?? []).map(_0_message_entity_js_1.constructMessageEntity).filter((v) => v != null),
69
+ linkPreview: result.send_message instanceof _2_tl_js_1.types.InputBotInlineMessageMediaWebPage ? { url: result.send_message.url, smallMedia: result.send_message.force_small_media, largeMedia: result.send_message.force_large_media, aboveText: result.send_message.invert_media } : undefined,
70
+ }),
71
+ replyMarkup: result.send_message.reply_markup ? (0, _3_reply_markup_js_1.constructReplyMarkup)(result.send_message.reply_markup) : undefined,
72
+ });
73
+ }
74
+ else if (result.send_message instanceof _2_tl_js_1.types.BotInlineMessageMediaAuto) {
75
+ let ref;
76
+ let attributes;
77
+ const thumbnailUrl = "thumb" in result ? result.thumb?.url : undefined;
78
+ let photoSizes;
79
+ let photo;
80
+ if (result instanceof _2_tl_js_1.types.BotInlineMediaResult) {
81
+ if (result.photo) {
82
+ photo = result.photo[_2_tl_js_1.as](_2_tl_js_1.types.Photo);
83
+ ref = { fileId: (0, _file_id_js_1.getPhotoFileId)(photo).fileId };
84
+ const { largest } = photoSizes = (0, _1_photo_js_1.getPhotoSizes)(photo);
85
+ attributes = [new _2_tl_js_1.types.DocumentAttributeImageSize({ w: largest.w, h: largest.h })];
86
+ }
87
+ else if (result.document) {
88
+ const document = result.document[_2_tl_js_1.as](_2_tl_js_1.types.Document);
89
+ ref = {
90
+ fileId: (0, _file_id_js_1.serializeFileId)({
91
+ type: _file_id_js_1.FileType.Document,
92
+ dcId: document.dc_id,
93
+ fileReference: document.file_reference,
94
+ location: { type: "common", id: document.id, accessHash: document.access_hash },
95
+ }),
96
+ };
97
+ attributes = document.attributes;
98
+ }
99
+ else {
100
+ (0, _0_deps_js_1.unreachable)();
101
+ }
102
+ }
103
+ else if (result.content) {
104
+ ref = { url: result.content.url };
105
+ attributes = result.content.attributes;
106
+ }
107
+ else {
108
+ (0, _0_deps_js_1.unreachable)();
109
+ }
110
+ const messageContent = result.send_message.message
111
+ ? {
112
+ messageText: result.send_message.message,
113
+ entities: (result.send_message.entities ?? []).map(_0_message_entity_js_1.constructMessageEntity).filter((v) => v != null),
114
+ }
115
+ : undefined;
116
+ const replyMarkup = result.send_message.reply_markup ? (0, _3_reply_markup_js_1.constructReplyMarkup)(result.send_message.reply_markup) : undefined;
117
+ switch (type) {
118
+ case "audio": {
119
+ const a = attributes?.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeAudio);
120
+ return (0, _1_utilities_js_1.cleanObject)({
121
+ id,
122
+ type,
123
+ title,
124
+ ...ref,
125
+ messageContent,
126
+ replyMarkup,
127
+ performer: a?.performer,
128
+ audioDuration: a?.duration,
129
+ });
130
+ }
131
+ case "gif":
132
+ case "mpeg4Gif": {
133
+ const a = attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeVideo);
134
+ return (0, _1_utilities_js_1.cleanObject)({
135
+ id,
136
+ type,
137
+ title,
138
+ ...ref,
139
+ messageContent,
140
+ replyMarkup,
141
+ thumbnailUrl,
142
+ width: a?.w,
143
+ height: a?.h,
144
+ duration: a?.duration,
145
+ });
146
+ }
147
+ case "photo": {
148
+ const a = attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeImageSize);
149
+ return (0, _1_utilities_js_1.cleanObject)({
150
+ id,
151
+ type,
152
+ title,
153
+ description,
154
+ ...ref,
155
+ messageContent,
156
+ replyMarkup,
157
+ thumbnailUrl: thumbnailUrl,
158
+ thumbnails: photo ? photoSizes?.sizes.slice(0, -1).map((v) => (0, _0_thumbnail_js_1.constructThumbnail)(v, photo)) : undefined,
159
+ width: a?.w,
160
+ height: a?.h,
161
+ });
162
+ }
163
+ case "video": {
164
+ const a = attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeVideo);
165
+ return (0, _1_utilities_js_1.cleanObject)({
166
+ id,
167
+ type,
168
+ title,
169
+ description,
170
+ ...ref,
171
+ messageContent,
172
+ replyMarkup,
173
+ mimeType: "content" in result && result.content ? result.content.mime_type : "video/mp4",
174
+ thumbnailUrl: thumbnailUrl,
175
+ width: a?.w,
176
+ height: a?.h,
177
+ videoDuration: a?.duration,
178
+ });
179
+ }
180
+ case "voice": {
181
+ const a = attributes.find((v) => v instanceof _2_tl_js_1.types.DocumentAttributeAudio);
182
+ return (0, _1_utilities_js_1.cleanObject)({
183
+ id,
184
+ type,
185
+ title,
186
+ ...ref,
187
+ messageContent,
188
+ replyMarkup,
189
+ thumbnailUrl,
190
+ voiceDuration: a?.duration,
191
+ });
192
+ }
193
+ case "document":
194
+ case "file": // Does it really return this?
195
+ return (0, _1_utilities_js_1.cleanObject)({
196
+ type: "document",
197
+ id,
198
+ title: result.title ?? "",
199
+ ...ref,
200
+ messageContent,
201
+ replyMarkup,
202
+ thumbnailUrl,
203
+ });
204
+ }
205
+ }
206
+ (0, _0_deps_js_1.unreachable)();
207
+ }
208
+ exports.constructInlineQueryResult = constructInlineQueryResult;
27
209
  // deno-lint-ignore no-explicit-any
28
210
  async function inlineQueryResultToTlObject(result_, parseText, usernameResolver) {
29
211
  let document = null;
@@ -31,9 +213,9 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
31
213
  let fileId_ = null;
32
214
  switch (result_.type) {
33
215
  case "audio":
34
- if ("audioUrl" in result_) {
216
+ if ("url" in result_) {
35
217
  document = new _2_tl_js_1.types.InputWebDocument({
36
- url: result_.audioUrl,
218
+ url: result_.url,
37
219
  size: 0,
38
220
  mime_type: "audio/mpeg",
39
221
  attributes: [
@@ -46,101 +228,101 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
46
228
  });
47
229
  }
48
230
  else {
49
- fileId_ = result_.audioFileId;
231
+ fileId_ = result_.fileId;
50
232
  }
51
233
  break;
52
234
  case "video":
53
- if ("videoUrl" in result_) {
235
+ if ("url" in result_) {
54
236
  document = new _2_tl_js_1.types.InputWebDocument({
55
- url: result_.videoUrl,
237
+ url: result_.url,
56
238
  size: 0,
57
239
  mime_type: result_.mimeType ?? "video/mp4",
58
240
  attributes: [
59
241
  new _2_tl_js_1.types.DocumentAttributeVideo({
60
242
  duration: result_.videoDuration ?? 0,
61
- h: result_.videoHeight ?? 0,
62
- w: result_.videoWidth ?? 0,
243
+ h: result_.height ?? 0,
244
+ w: result_.width ?? 0,
63
245
  }),
64
246
  ],
65
247
  });
66
248
  }
67
249
  else {
68
- fileId_ = result_.videoFileId;
250
+ fileId_ = result_.fileId;
69
251
  }
70
252
  break;
71
253
  case "document":
72
- if ("documentUrl" in result_) {
254
+ if ("url" in result_) {
73
255
  document = new _2_tl_js_1.types.InputWebDocument({
74
- url: result_.documentUrl,
256
+ url: result_.url,
75
257
  mime_type: "application/octet-stream",
76
258
  attributes: [],
77
259
  size: 0,
78
260
  });
79
261
  }
80
262
  else {
81
- fileId_ = result_.documentFileId;
263
+ fileId_ = result_.fileId;
82
264
  }
83
265
  break;
84
266
  case "gif":
85
- if ("gifUrl" in result_) {
267
+ if ("url" in result_) {
86
268
  document = new _2_tl_js_1.types.InputWebDocument({
87
- url: result_.gifUrl,
269
+ url: result_.url,
88
270
  size: 0,
89
271
  mime_type: "image/gif",
90
272
  attributes: [
91
273
  new _2_tl_js_1.types.DocumentAttributeVideo({
92
- duration: result_.gifDuration ?? 0,
93
- h: result_.gifHeight ?? 0,
94
- w: result_.gifWidth ?? 0,
274
+ duration: result_.duration ?? 0,
275
+ w: result_.width ?? 0,
276
+ h: result_.height ?? 0,
95
277
  }),
96
278
  ],
97
279
  });
98
280
  }
99
281
  else {
100
- fileId_ = result_.gifFileId;
282
+ fileId_ = result_.fileId;
101
283
  }
102
284
  break;
103
285
  case "mpeg4Gif":
104
- if ("mpeg4Url" in result_) {
286
+ if ("url" in result_) {
105
287
  document = new _2_tl_js_1.types.InputWebDocument({
106
- url: result_.mpeg4Url,
288
+ url: result_.url,
107
289
  size: 0,
108
290
  mime_type: "video/mp4",
109
291
  attributes: [
110
292
  new _2_tl_js_1.types.DocumentAttributeVideo({
111
293
  nosound: true,
112
- duration: result_.mpeg4Duration ?? 0,
113
- w: result_.mpeg4Width ?? 0,
114
- h: result_.mpeg4Height ?? 0,
294
+ duration: result_.duration ?? 0,
295
+ w: result_.width ?? 0,
296
+ h: result_.height ?? 0,
115
297
  supports_streaming: true,
116
298
  }),
117
299
  ],
118
300
  });
119
301
  }
120
302
  else {
121
- fileId_ = result_.mpeg4FileId;
303
+ fileId_ = result_.fileId;
122
304
  }
123
305
  break;
124
306
  case "photo":
125
- if ("photoUrl" in result_) {
307
+ if ("url" in result_) {
126
308
  document = new _2_tl_js_1.types.InputWebDocument({
127
- url: result_.photoUrl,
309
+ url: result_.url,
128
310
  size: 0,
129
311
  mime_type: "image/jpeg",
130
- attributes: [new _2_tl_js_1.types.DocumentAttributeImageSize({ w: result_.photoWidth ?? 0, h: result_.photoHeight ?? 0 })],
312
+ attributes: [new _2_tl_js_1.types.DocumentAttributeImageSize({ w: result_.width ?? 0, h: result_.height ?? 0 })],
131
313
  });
132
314
  }
133
315
  else {
134
- fileId_ = result_.photoFileId;
316
+ fileId_ = result_.fileId;
135
317
  }
136
318
  break;
137
319
  case "sticker":
138
- fileId_ = result_.stickerFileId;
320
+ fileId_ = result_.fileId;
139
321
  break;
140
322
  case "voice":
141
- if ("voiceUrl" in result_) {
323
+ if ("url" in result_) {
142
324
  document = new _2_tl_js_1.types.InputWebDocument({
143
- url: result_.voiceUrl,
325
+ url: result_.url,
144
326
  size: 0,
145
327
  mime_type: "audio/mpeg",
146
328
  attributes: [
@@ -152,7 +334,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
152
334
  });
153
335
  }
154
336
  else {
155
- fileId_ = result_.voiceFileId;
337
+ fileId_ = result_.fileId;
156
338
  }
157
339
  break;
158
340
  }
@@ -244,18 +426,18 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
244
426
  });
245
427
  }
246
428
  else if (result_.type == "article") {
247
- if (!("messageText" in result_.inputMessageContent)) {
429
+ if (!("messageText" in result_.messageContent)) {
248
430
  (0, _0_deps_js_1.unreachable)();
249
431
  }
250
- const [message, entities] = await parseText(result_.inputMessageContent.messageText, { entities: result_.inputMessageContent.entities, parseMode: result_.inputMessageContent.parseMode });
251
- const noWebpage = result_.inputMessageContent?.linkPreview?.disable ? true : undefined;
252
- const invertMedia = result_.inputMessageContent?.linkPreview?.aboveText ? true : undefined;
432
+ const [message, entities] = await parseText(result_.messageContent.messageText, { entities: result_.messageContent.entities, parseMode: result_.messageContent.parseMode });
433
+ const noWebpage = result_.messageContent?.linkPreview?.disable ? true : undefined;
434
+ const invertMedia = result_.messageContent?.linkPreview?.aboveText ? true : undefined;
253
435
  let sendMessage;
254
- if (result_.inputMessageContent.linkPreview?.url) {
436
+ if (result_.messageContent.linkPreview?.url) {
255
437
  sendMessage = new _2_tl_js_1.types.InputBotInlineMessageMediaWebPage({
256
- url: result_.inputMessageContent.linkPreview.url,
257
- force_large_media: result_.inputMessageContent.linkPreview.largeMedia ? true : undefined,
258
- force_small_media: result_.inputMessageContent.linkPreview.smallMedia ? true : undefined,
438
+ url: result_.messageContent.linkPreview.url,
439
+ force_large_media: result_.messageContent.linkPreview.largeMedia ? true : undefined,
440
+ force_small_media: result_.messageContent.linkPreview.smallMedia ? true : undefined,
259
441
  optional: message.length ? undefined : true,
260
442
  message,
261
443
  entities,
@@ -282,7 +464,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
282
464
  });
283
465
  }
284
466
  else if (result_.type == "venue") {
285
- if (!result_.fourSquareId || !result_.foursquareType) {
467
+ if (!result_.foursquareId || !result_.foursquareType) {
286
468
  (0, _0_deps_js_1.unreachable)();
287
469
  }
288
470
  return new _2_tl_js_1.types.InputBotInlineResult({
@@ -296,7 +478,7 @@ async function inlineQueryResultToTlObject(result_, parseText, usernameResolver)
296
478
  address: result_.address,
297
479
  provider: "foursquare",
298
480
  title: result_.title,
299
- venue_id: result_.fourSquareId,
481
+ venue_id: result_.foursquareId,
300
482
  venue_type: result_.foursquareType,
301
483
  reply_markup: replyMarkup,
302
484
  }),
@@ -0,0 +1,31 @@
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 { types } from "../2_tl.js";
21
+ import { InlineQueryResult } from "./4_inline_query_result.js";
22
+ /** An answer to an inline query. */
23
+ export interface InlineQueryAnswer {
24
+ /** The ID of the inline query that yielded these results. */
25
+ id: string;
26
+ /** The inline query results. */
27
+ results: InlineQueryResult[];
28
+ /** A parameter that can be passed to next queries with the same text to yield more results. */
29
+ nextOffset?: string;
30
+ }
31
+ export declare function constructInlineQueryAnswer(results: types.messages.BotResults): InlineQueryAnswer;