@mtkruto/node 0.103.0 → 0.105.0

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 (451) hide show
  1. package/esm/0_deps.d.ts +18 -18
  2. package/esm/0_deps.d.ts.map +1 -1
  3. package/esm/0_deps.js +18 -18
  4. package/esm/client/0_utilities.d.ts +1 -1
  5. package/esm/client/0_utilities.d.ts.map +1 -1
  6. package/esm/client/2_context.d.ts +21 -17
  7. package/esm/client/2_context.d.ts.map +1 -1
  8. package/esm/client/2_context.js +36 -18
  9. package/esm/client/3_message_manager.js +1 -1
  10. package/esm/client/4_chat_manager.js +2 -2
  11. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assert.d.ts +2 -1
  12. package/esm/deps/jsr.io/@std/assert/1.0.19/assert.d.ts.map +1 -0
  13. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assert.js +3 -2
  14. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assertion_error.d.ts.map +1 -1
  15. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assertion_error.js +1 -1
  16. package/{script/deps/jsr.io/@std/assert/1.0.16 → esm/deps/jsr.io/@std/assert/1.0.19}/equal.d.ts +8 -0
  17. package/esm/deps/jsr.io/@std/assert/1.0.19/equal.d.ts.map +1 -0
  18. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/equal.js +9 -1
  19. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/equals.d.ts +5 -3
  20. package/esm/deps/jsr.io/@std/assert/1.0.19/equals.d.ts.map +1 -0
  21. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/equals.js +6 -4
  22. package/{script/deps/jsr.io/@std/assert/1.0.16 → esm/deps/jsr.io/@std/assert/1.0.19}/false.d.ts +2 -1
  23. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/false.d.ts.map +1 -1
  24. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/false.js +3 -2
  25. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/instance_of.d.ts.map +1 -1
  26. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/is_error.d.ts.map +1 -1
  27. package/esm/deps/jsr.io/@std/assert/1.0.19/not_equals.d.ts.map +1 -0
  28. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/throws.d.ts.map +1 -1
  29. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/unreachable.d.ts.map +1 -1
  30. package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/unreachable.js +1 -1
  31. package/esm/deps/jsr.io/@std/async/1.2.0/_util.d.ts.map +1 -0
  32. package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/_util.js +1 -1
  33. package/esm/deps/jsr.io/@std/async/1.2.0/abortable.d.ts.map +1 -0
  34. package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/abortable.js +1 -1
  35. package/{script/deps/jsr.io/@std/async/1.0.15 → esm/deps/jsr.io/@std/async/1.2.0}/deadline.d.ts +2 -1
  36. package/esm/deps/jsr.io/@std/async/1.2.0/deadline.d.ts.map +1 -0
  37. package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/deadline.js +6 -3
  38. package/esm/deps/jsr.io/@std/async/1.2.0/debounce.d.ts.map +1 -0
  39. package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/debounce.js +1 -1
  40. package/{script/deps/jsr.io/@std/async/1.0.15 → esm/deps/jsr.io/@std/async/1.2.0}/delay.d.ts +4 -2
  41. package/esm/deps/jsr.io/@std/async/1.2.0/delay.d.ts.map +1 -0
  42. package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/delay.js +11 -5
  43. package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mod.d.ts +3 -3
  44. package/esm/deps/jsr.io/@std/async/1.2.0/mod.d.ts.map +1 -0
  45. package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mod.js +4 -4
  46. package/esm/deps/jsr.io/@std/async/1.2.0/mux_async_iterator.d.ts.map +1 -0
  47. package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mux_async_iterator.js +1 -1
  48. package/esm/deps/jsr.io/@std/async/1.2.0/pool.d.ts.map +1 -0
  49. package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/pool.js +1 -1
  50. package/{script/deps/jsr.io/@std/async/1.0.15 → esm/deps/jsr.io/@std/async/1.2.0}/retry.d.ts +45 -0
  51. package/esm/deps/jsr.io/@std/async/1.2.0/retry.d.ts.map +1 -0
  52. package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/retry.js +48 -8
  53. package/esm/deps/jsr.io/@std/async/1.2.0/tee.d.ts.map +1 -0
  54. package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/tee.js +1 -1
  55. package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/_serialize_arg_list.d.ts.map +1 -1
  56. package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/lru_cache.d.ts.map +1 -1
  57. package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/lru_cache.js +3 -4
  58. package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/memoize.d.ts.map +1 -1
  59. package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/memoize.js +1 -1
  60. package/esm/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/_date_time_formatter.d.ts.map +1 -1
  61. package/esm/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/_date_time_formatter.js +1 -1
  62. package/esm/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts +265 -0
  63. package/esm/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts.map +1 -0
  64. package/esm/deps/jsr.io/@std/datetime/0.225.7/constants.js +266 -0
  65. package/esm/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/format.d.ts.map +1 -1
  66. package/esm/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/format.js +1 -1
  67. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts +23 -0
  68. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts.map +1 -0
  69. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common16.js +51 -0
  70. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts +35 -0
  71. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts.map +1 -0
  72. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common64.js +113 -0
  73. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts +4 -0
  74. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts.map +1 -0
  75. package/esm/deps/jsr.io/@std/encoding/1.0.10/_common_detach.js +13 -0
  76. package/esm/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts.map +1 -0
  77. package/esm/deps/jsr.io/@std/encoding/1.0.10/base64.d.ts.map +1 -0
  78. package/esm/deps/jsr.io/@std/encoding/1.0.10/base64.js +82 -0
  79. package/esm/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts.map +1 -0
  80. package/esm/deps/jsr.io/@std/encoding/1.0.10/hex.js +87 -0
  81. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.d.ts.map +1 -1
  82. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.js +1 -1
  83. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/iterate_reader.d.ts.map +1 -1
  84. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/iterate_reader.js +1 -1
  85. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts.map +1 -1
  86. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.js +1 -1
  87. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts.map +1 -1
  88. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/basename.d.ts.map +1 -1
  89. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts.map +1 -1
  90. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts.map +1 -1
  91. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts.map +1 -1
  92. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts.map +1 -1
  93. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/strip_trailing_separators.d.ts.map +1 -1
  94. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/to_file_url.d.ts.map +1 -1
  95. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/basename.d.ts.map +1 -1
  96. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/extname.d.ts.map +1 -1
  97. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/is_absolute.d.ts.map +1 -1
  98. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts.map +1 -1
  99. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts.map +1 -1
  100. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/posix/basename.d.ts.map +1 -1
  101. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/posix/extname.d.ts.map +1 -1
  102. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts.map +1 -1
  103. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/is_absolute.d.ts.map +1 -1
  104. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/posix/join.d.ts.map +1 -1
  105. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/posix/normalize.d.ts.map +1 -1
  106. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/posix/to_file_url.d.ts.map +1 -1
  107. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/to_file_url.d.ts.map +1 -1
  108. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/_util.d.ts.map +1 -1
  109. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/basename.d.ts.map +1 -1
  110. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/extname.d.ts.map +1 -1
  111. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/from_file_url.d.ts.map +1 -1
  112. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/is_absolute.d.ts.map +1 -1
  113. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/join.d.ts.map +1 -1
  114. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/normalize.d.ts.map +1 -1
  115. package/{script/deps/jsr.io/@std/path/1.1.3 → esm/deps/jsr.io/@std/path/1.1.4}/windows/to_file_url.d.ts.map +1 -1
  116. package/esm/deps/jsr.io/@std/streams/{1.0.14 → 1.0.17}/to_array_buffer.d.ts.map +1 -1
  117. package/esm/deps/jsr.io/@std/streams/{1.0.14 → 1.0.17}/to_array_buffer.js +1 -1
  118. package/esm/tl/1_telegram_api.d.ts +105 -20
  119. package/esm/tl/1_telegram_api.d.ts.map +1 -1
  120. package/esm/tl/1_telegram_api.js +143 -38
  121. package/package.json +1 -1
  122. package/script/0_deps.d.ts +18 -18
  123. package/script/0_deps.d.ts.map +1 -1
  124. package/script/0_deps.js +18 -18
  125. package/script/client/0_utilities.d.ts +1 -1
  126. package/script/client/0_utilities.d.ts.map +1 -1
  127. package/script/client/2_context.d.ts +21 -17
  128. package/script/client/2_context.d.ts.map +1 -1
  129. package/script/client/2_context.js +36 -18
  130. package/script/client/3_message_manager.js +1 -1
  131. package/script/client/4_chat_manager.js +2 -2
  132. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assert.d.ts +2 -1
  133. package/script/deps/jsr.io/@std/assert/1.0.19/assert.d.ts.map +1 -0
  134. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assert.js +3 -2
  135. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assertion_error.d.ts.map +1 -1
  136. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assertion_error.js +1 -1
  137. package/{esm/deps/jsr.io/@std/assert/1.0.16 → script/deps/jsr.io/@std/assert/1.0.19}/equal.d.ts +8 -0
  138. package/script/deps/jsr.io/@std/assert/1.0.19/equal.d.ts.map +1 -0
  139. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/equal.js +9 -1
  140. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/equals.d.ts +5 -3
  141. package/script/deps/jsr.io/@std/assert/1.0.19/equals.d.ts.map +1 -0
  142. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/equals.js +6 -4
  143. package/{esm/deps/jsr.io/@std/assert/1.0.16 → script/deps/jsr.io/@std/assert/1.0.19}/false.d.ts +2 -1
  144. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/false.d.ts.map +1 -1
  145. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/false.js +3 -2
  146. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/instance_of.d.ts.map +1 -1
  147. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/is_error.d.ts.map +1 -1
  148. package/script/deps/jsr.io/@std/assert/1.0.19/not_equals.d.ts.map +1 -0
  149. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/throws.d.ts.map +1 -1
  150. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/unreachable.d.ts.map +1 -1
  151. package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/unreachable.js +1 -1
  152. package/script/deps/jsr.io/@std/async/1.2.0/_util.d.ts.map +1 -0
  153. package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/_util.js +1 -1
  154. package/script/deps/jsr.io/@std/async/1.2.0/abortable.d.ts.map +1 -0
  155. package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/abortable.js +1 -1
  156. package/{esm/deps/jsr.io/@std/async/1.0.15 → script/deps/jsr.io/@std/async/1.2.0}/deadline.d.ts +2 -1
  157. package/script/deps/jsr.io/@std/async/1.2.0/deadline.d.ts.map +1 -0
  158. package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/deadline.js +6 -3
  159. package/script/deps/jsr.io/@std/async/1.2.0/debounce.d.ts.map +1 -0
  160. package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/debounce.js +1 -1
  161. package/{esm/deps/jsr.io/@std/async/1.0.15 → script/deps/jsr.io/@std/async/1.2.0}/delay.d.ts +4 -2
  162. package/script/deps/jsr.io/@std/async/1.2.0/delay.d.ts.map +1 -0
  163. package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/delay.js +11 -5
  164. package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mod.d.ts +3 -3
  165. package/script/deps/jsr.io/@std/async/1.2.0/mod.d.ts.map +1 -0
  166. package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mod.js +4 -4
  167. package/script/deps/jsr.io/@std/async/1.2.0/mux_async_iterator.d.ts.map +1 -0
  168. package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mux_async_iterator.js +1 -1
  169. package/script/deps/jsr.io/@std/async/1.2.0/pool.d.ts.map +1 -0
  170. package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/pool.js +1 -1
  171. package/{esm/deps/jsr.io/@std/async/1.0.15 → script/deps/jsr.io/@std/async/1.2.0}/retry.d.ts +45 -0
  172. package/script/deps/jsr.io/@std/async/1.2.0/retry.d.ts.map +1 -0
  173. package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/retry.js +49 -9
  174. package/script/deps/jsr.io/@std/async/1.2.0/tee.d.ts.map +1 -0
  175. package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/tee.js +1 -1
  176. package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/_serialize_arg_list.d.ts.map +1 -1
  177. package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/lru_cache.d.ts.map +1 -1
  178. package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/lru_cache.js +3 -4
  179. package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/memoize.d.ts.map +1 -1
  180. package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/memoize.js +1 -1
  181. package/script/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/_date_time_formatter.d.ts.map +1 -1
  182. package/script/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/_date_time_formatter.js +1 -1
  183. package/script/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts +265 -0
  184. package/script/deps/jsr.io/@std/datetime/0.225.7/constants.d.ts.map +1 -0
  185. package/script/deps/jsr.io/@std/datetime/0.225.7/constants.js +269 -0
  186. package/script/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/format.d.ts.map +1 -1
  187. package/script/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/format.js +1 -1
  188. package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts +23 -0
  189. package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.d.ts.map +1 -0
  190. package/script/deps/jsr.io/@std/encoding/1.0.10/_common16.js +57 -0
  191. package/script/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts +35 -0
  192. package/script/deps/jsr.io/@std/encoding/1.0.10/_common64.d.ts.map +1 -0
  193. package/script/deps/jsr.io/@std/encoding/1.0.10/_common64.js +119 -0
  194. package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts +4 -0
  195. package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.d.ts.map +1 -0
  196. package/script/deps/jsr.io/@std/encoding/1.0.10/_common_detach.js +16 -0
  197. package/script/deps/jsr.io/@std/encoding/1.0.10/_types.d.ts.map +1 -0
  198. package/script/deps/jsr.io/@std/encoding/1.0.10/base64.d.ts.map +1 -0
  199. package/script/deps/jsr.io/@std/encoding/1.0.10/base64.js +86 -0
  200. package/script/deps/jsr.io/@std/encoding/1.0.10/hex.d.ts.map +1 -0
  201. package/script/deps/jsr.io/@std/encoding/1.0.10/hex.js +91 -0
  202. package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.d.ts.map +1 -1
  203. package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.js +1 -1
  204. package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/iterate_reader.d.ts.map +1 -1
  205. package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/iterate_reader.js +1 -1
  206. package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts.map +1 -1
  207. package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.js +1 -1
  208. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts.map +1 -1
  209. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/basename.d.ts.map +1 -1
  210. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts.map +1 -1
  211. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts.map +1 -1
  212. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts.map +1 -1
  213. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts.map +1 -1
  214. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/strip_trailing_separators.d.ts.map +1 -1
  215. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/to_file_url.d.ts.map +1 -1
  216. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/basename.d.ts.map +1 -1
  217. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/extname.d.ts.map +1 -1
  218. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/is_absolute.d.ts.map +1 -1
  219. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts.map +1 -1
  220. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts.map +1 -1
  221. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/posix/basename.d.ts.map +1 -1
  222. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/posix/extname.d.ts.map +1 -1
  223. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts.map +1 -1
  224. package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/is_absolute.d.ts.map +1 -1
  225. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/posix/join.d.ts.map +1 -1
  226. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/posix/normalize.d.ts.map +1 -1
  227. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/posix/to_file_url.d.ts.map +1 -1
  228. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/to_file_url.d.ts.map +1 -1
  229. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/_util.d.ts.map +1 -1
  230. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/basename.d.ts.map +1 -1
  231. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/extname.d.ts.map +1 -1
  232. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/from_file_url.d.ts.map +1 -1
  233. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/is_absolute.d.ts.map +1 -1
  234. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/join.d.ts.map +1 -1
  235. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/normalize.d.ts.map +1 -1
  236. package/{esm/deps/jsr.io/@std/path/1.1.3 → script/deps/jsr.io/@std/path/1.1.4}/windows/to_file_url.d.ts.map +1 -1
  237. package/script/deps/jsr.io/@std/streams/{1.0.14 → 1.0.17}/to_array_buffer.d.ts.map +1 -1
  238. package/script/deps/jsr.io/@std/streams/{1.0.14 → 1.0.17}/to_array_buffer.js +1 -1
  239. package/script/tl/1_telegram_api.d.ts +105 -20
  240. package/script/tl/1_telegram_api.d.ts.map +1 -1
  241. package/script/tl/1_telegram_api.js +143 -38
  242. package/esm/deps/jsr.io/@std/assert/1.0.16/assert.d.ts.map +0 -1
  243. package/esm/deps/jsr.io/@std/assert/1.0.16/equal.d.ts.map +0 -1
  244. package/esm/deps/jsr.io/@std/assert/1.0.16/equals.d.ts.map +0 -1
  245. package/esm/deps/jsr.io/@std/assert/1.0.16/not_equals.d.ts.map +0 -1
  246. package/esm/deps/jsr.io/@std/async/1.0.15/_util.d.ts.map +0 -1
  247. package/esm/deps/jsr.io/@std/async/1.0.15/abortable.d.ts.map +0 -1
  248. package/esm/deps/jsr.io/@std/async/1.0.15/deadline.d.ts.map +0 -1
  249. package/esm/deps/jsr.io/@std/async/1.0.15/debounce.d.ts.map +0 -1
  250. package/esm/deps/jsr.io/@std/async/1.0.15/delay.d.ts.map +0 -1
  251. package/esm/deps/jsr.io/@std/async/1.0.15/mod.d.ts.map +0 -1
  252. package/esm/deps/jsr.io/@std/async/1.0.15/mux_async_iterator.d.ts.map +0 -1
  253. package/esm/deps/jsr.io/@std/async/1.0.15/pool.d.ts.map +0 -1
  254. package/esm/deps/jsr.io/@std/async/1.0.15/retry.d.ts.map +0 -1
  255. package/esm/deps/jsr.io/@std/async/1.0.15/tee.d.ts.map +0 -1
  256. package/esm/deps/jsr.io/@std/datetime/0.225.5/constants.d.ts +0 -56
  257. package/esm/deps/jsr.io/@std/datetime/0.225.5/constants.d.ts.map +0 -1
  258. package/esm/deps/jsr.io/@std/datetime/0.225.5/constants.js +0 -57
  259. package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +0 -1
  260. package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts +0 -2
  261. package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts.map +0 -1
  262. package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.js +0 -26
  263. package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +0 -1
  264. package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.js +0 -163
  265. package/esm/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +0 -1
  266. package/esm/deps/jsr.io/@std/encoding/1.0.7/hex.js +0 -109
  267. package/script/deps/jsr.io/@std/assert/1.0.16/assert.d.ts.map +0 -1
  268. package/script/deps/jsr.io/@std/assert/1.0.16/equal.d.ts.map +0 -1
  269. package/script/deps/jsr.io/@std/assert/1.0.16/equals.d.ts.map +0 -1
  270. package/script/deps/jsr.io/@std/assert/1.0.16/not_equals.d.ts.map +0 -1
  271. package/script/deps/jsr.io/@std/async/1.0.15/_util.d.ts.map +0 -1
  272. package/script/deps/jsr.io/@std/async/1.0.15/abortable.d.ts.map +0 -1
  273. package/script/deps/jsr.io/@std/async/1.0.15/deadline.d.ts.map +0 -1
  274. package/script/deps/jsr.io/@std/async/1.0.15/debounce.d.ts.map +0 -1
  275. package/script/deps/jsr.io/@std/async/1.0.15/delay.d.ts.map +0 -1
  276. package/script/deps/jsr.io/@std/async/1.0.15/mod.d.ts.map +0 -1
  277. package/script/deps/jsr.io/@std/async/1.0.15/mux_async_iterator.d.ts.map +0 -1
  278. package/script/deps/jsr.io/@std/async/1.0.15/pool.d.ts.map +0 -1
  279. package/script/deps/jsr.io/@std/async/1.0.15/retry.d.ts.map +0 -1
  280. package/script/deps/jsr.io/@std/async/1.0.15/tee.d.ts.map +0 -1
  281. package/script/deps/jsr.io/@std/datetime/0.225.5/constants.d.ts +0 -56
  282. package/script/deps/jsr.io/@std/datetime/0.225.5/constants.d.ts.map +0 -1
  283. package/script/deps/jsr.io/@std/datetime/0.225.5/constants.js +0 -60
  284. package/script/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +0 -1
  285. package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts +0 -2
  286. package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts.map +0 -1
  287. package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.js +0 -29
  288. package/script/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +0 -1
  289. package/script/deps/jsr.io/@std/encoding/1.0.7/base64.js +0 -167
  290. package/script/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +0 -1
  291. package/script/deps/jsr.io/@std/encoding/1.0.7/hex.js +0 -113
  292. /package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assertion_error.d.ts +0 -0
  293. /package/esm/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/unreachable.d.ts +0 -0
  294. /package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/_util.d.ts +0 -0
  295. /package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/abortable.d.ts +0 -0
  296. /package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/debounce.d.ts +0 -0
  297. /package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mux_async_iterator.d.ts +0 -0
  298. /package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/pool.d.ts +0 -0
  299. /package/esm/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/tee.d.ts +0 -0
  300. /package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/_serialize_arg_list.d.ts +0 -0
  301. /package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/_serialize_arg_list.js +0 -0
  302. /package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/lru_cache.d.ts +0 -0
  303. /package/esm/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/memoize.d.ts +0 -0
  304. /package/esm/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/_date_time_formatter.d.ts +0 -0
  305. /package/esm/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/format.d.ts +0 -0
  306. /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/_types.d.ts +0 -0
  307. /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/_types.js +0 -0
  308. /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/base64.d.ts +0 -0
  309. /package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/hex.d.ts +0 -0
  310. /package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.d.ts +0 -0
  311. /package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/iterate_reader.d.ts +0 -0
  312. /package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts +0 -0
  313. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts +0 -0
  314. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.js +0 -0
  315. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/basename.d.ts +0 -0
  316. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/basename.js +0 -0
  317. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts +0 -0
  318. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.js +0 -0
  319. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts +0 -0
  320. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.js +0 -0
  321. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts +0 -0
  322. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.js +0 -0
  323. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts +0 -0
  324. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.js +0 -0
  325. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/strip_trailing_separators.d.ts +0 -0
  326. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/strip_trailing_separators.js +0 -0
  327. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/to_file_url.d.ts +0 -0
  328. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/to_file_url.js +0 -0
  329. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/basename.d.ts +0 -0
  330. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/basename.js +0 -0
  331. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/extname.d.ts +0 -0
  332. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/extname.js +0 -0
  333. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/is_absolute.d.ts +0 -0
  334. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/is_absolute.js +0 -0
  335. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts +0 -0
  336. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.js +0 -0
  337. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts +0 -0
  338. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.js +0 -0
  339. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/basename.d.ts +0 -0
  340. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/basename.js +0 -0
  341. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/extname.d.ts +0 -0
  342. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/extname.js +0 -0
  343. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts +0 -0
  344. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.js +0 -0
  345. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/is_absolute.d.ts +0 -0
  346. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/is_absolute.js +0 -0
  347. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.d.ts +0 -0
  348. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.js +0 -0
  349. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.d.ts +0 -0
  350. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.js +0 -0
  351. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/to_file_url.d.ts +0 -0
  352. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/to_file_url.js +0 -0
  353. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/to_file_url.d.ts +0 -0
  354. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/to_file_url.js +0 -0
  355. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.d.ts +0 -0
  356. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.js +0 -0
  357. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/basename.d.ts +0 -0
  358. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/basename.js +0 -0
  359. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/extname.d.ts +0 -0
  360. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/extname.js +0 -0
  361. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.d.ts +0 -0
  362. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.js +0 -0
  363. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/is_absolute.d.ts +0 -0
  364. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/is_absolute.js +0 -0
  365. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.d.ts +0 -0
  366. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.js +0 -0
  367. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.d.ts +0 -0
  368. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.js +0 -0
  369. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/to_file_url.d.ts +0 -0
  370. /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/to_file_url.js +0 -0
  371. /package/esm/deps/jsr.io/@std/streams/{1.0.14 → 1.0.17}/to_array_buffer.d.ts +0 -0
  372. /package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/assertion_error.d.ts +0 -0
  373. /package/script/deps/jsr.io/@std/assert/{1.0.16 → 1.0.19}/unreachable.d.ts +0 -0
  374. /package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/_util.d.ts +0 -0
  375. /package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/abortable.d.ts +0 -0
  376. /package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/debounce.d.ts +0 -0
  377. /package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/mux_async_iterator.d.ts +0 -0
  378. /package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/pool.d.ts +0 -0
  379. /package/script/deps/jsr.io/@std/async/{1.0.15 → 1.2.0}/tee.d.ts +0 -0
  380. /package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/_serialize_arg_list.d.ts +0 -0
  381. /package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/_serialize_arg_list.js +0 -0
  382. /package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/lru_cache.d.ts +0 -0
  383. /package/script/deps/jsr.io/@std/cache/{0.2.1 → 0.2.2}/memoize.d.ts +0 -0
  384. /package/script/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/_date_time_formatter.d.ts +0 -0
  385. /package/script/deps/jsr.io/@std/datetime/{0.225.5 → 0.225.7}/format.d.ts +0 -0
  386. /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/_types.d.ts +0 -0
  387. /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/_types.js +0 -0
  388. /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/base64.d.ts +0 -0
  389. /package/script/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.10}/hex.d.ts +0 -0
  390. /package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.d.ts +0 -0
  391. /package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/iterate_reader.d.ts +0 -0
  392. /package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts +0 -0
  393. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts +0 -0
  394. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.js +0 -0
  395. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/basename.d.ts +0 -0
  396. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/basename.js +0 -0
  397. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts +0 -0
  398. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.js +0 -0
  399. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts +0 -0
  400. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.js +0 -0
  401. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts +0 -0
  402. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.js +0 -0
  403. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts +0 -0
  404. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.js +0 -0
  405. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/strip_trailing_separators.d.ts +0 -0
  406. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/strip_trailing_separators.js +0 -0
  407. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/to_file_url.d.ts +0 -0
  408. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/to_file_url.js +0 -0
  409. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/basename.d.ts +0 -0
  410. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/basename.js +0 -0
  411. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/extname.d.ts +0 -0
  412. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/extname.js +0 -0
  413. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/is_absolute.d.ts +0 -0
  414. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/is_absolute.js +0 -0
  415. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts +0 -0
  416. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.js +0 -0
  417. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts +0 -0
  418. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.js +0 -0
  419. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/basename.d.ts +0 -0
  420. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/basename.js +0 -0
  421. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/extname.d.ts +0 -0
  422. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/extname.js +0 -0
  423. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts +0 -0
  424. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.js +0 -0
  425. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/is_absolute.d.ts +0 -0
  426. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/is_absolute.js +0 -0
  427. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.d.ts +0 -0
  428. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.js +0 -0
  429. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.d.ts +0 -0
  430. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.js +0 -0
  431. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/to_file_url.d.ts +0 -0
  432. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/to_file_url.js +0 -0
  433. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/to_file_url.d.ts +0 -0
  434. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/to_file_url.js +0 -0
  435. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.d.ts +0 -0
  436. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.js +0 -0
  437. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/basename.d.ts +0 -0
  438. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/basename.js +0 -0
  439. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/extname.d.ts +0 -0
  440. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/extname.js +0 -0
  441. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.d.ts +0 -0
  442. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.js +0 -0
  443. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/is_absolute.d.ts +0 -0
  444. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/is_absolute.js +0 -0
  445. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.d.ts +0 -0
  446. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.js +0 -0
  447. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.d.ts +0 -0
  448. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.js +0 -0
  449. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/to_file_url.d.ts +0 -0
  450. /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/to_file_url.js +0 -0
  451. /package/script/deps/jsr.io/@std/streams/{1.0.14 → 1.0.17}/to_array_buffer.d.ts +0 -0
@@ -29,7 +29,7 @@ export declare function checkPollOption(option: string): void;
29
29
  export declare function checkArray<T>(array: T[], check: (value: T) => void): void;
30
30
  export declare function checkCallbackQueryId(id: string): void;
31
31
  export declare function checkInlineQueryId(id: string): void;
32
- export declare function isCdnFunction(value: unknown): value is Api.invokeWithBusinessConnectionPrefix | Api.invokeWithGooglePlayIntegrityPrefix | Api.invokeWithApnsSecretPrefix | Api.invokeWithReCaptchaPrefix | Api.auth_sendCode | Api.auth_signUp | Api.auth_signIn | Api.auth_logOut | Api.auth_resetAuthorizations | Api.auth_exportAuthorization | Api.auth_importAuthorization | Api.auth_bindTempAuthKey | Api.auth_importBotAuthorization | Api.auth_checkPassword | Api.auth_requestPasswordRecovery | Api.auth_recoverPassword | Api.auth_resendCode | Api.auth_cancelCode | Api.auth_dropTempAuthKeys | Api.auth_exportLoginToken | Api.auth_importLoginToken | Api.auth_acceptLoginToken | Api.auth_checkRecoveryPassword | Api.auth_importWebTokenAuthorization | Api.auth_requestFirebaseSms | Api.auth_resetLoginEmail | Api.auth_reportMissingCode | Api.auth_checkPaidAuth | Api.auth_initPasskeyLogin | Api.auth_finishPasskeyLogin | Api.account_registerDevice | Api.account_unregisterDevice | Api.account_updateNotifySettings | Api.account_getNotifySettings | Api.account_resetNotifySettings | Api.account_updateProfile | Api.account_updateStatus | Api.account_getWallPapers | Api.account_reportPeer | Api.account_checkUsername | Api.account_updateUsername | Api.account_getPrivacy | Api.account_setPrivacy | Api.account_deleteAccount | Api.account_getAccountTTL | Api.account_setAccountTTL | Api.account_sendChangePhoneCode | Api.account_changePhone | Api.account_updateDeviceLocked | Api.account_getAuthorizations | Api.account_resetAuthorization | Api.account_getPassword | Api.account_getPasswordSettings | Api.account_updatePasswordSettings | Api.account_sendConfirmPhoneCode | Api.account_confirmPhone | Api.account_getTmpPassword | Api.account_getWebAuthorizations | Api.account_resetWebAuthorization | Api.account_resetWebAuthorizations | Api.account_getAllSecureValues | Api.account_getSecureValue | Api.account_saveSecureValue | Api.account_deleteSecureValue | Api.account_getAuthorizationForm | Api.account_acceptAuthorization | Api.account_sendVerifyPhoneCode | Api.account_verifyPhone | Api.account_sendVerifyEmailCode | Api.account_verifyEmail | Api.account_initTakeoutSession | Api.account_finishTakeoutSession | Api.account_confirmPasswordEmail | Api.account_resendPasswordEmail | Api.account_cancelPasswordEmail | Api.account_getContactSignUpNotification | Api.account_setContactSignUpNotification | Api.account_getNotifyExceptions | Api.account_getWallPaper | Api.account_uploadWallPaper | Api.account_saveWallPaper | Api.account_installWallPaper | Api.account_resetWallPapers | Api.account_getAutoDownloadSettings | Api.account_saveAutoDownloadSettings | Api.account_uploadTheme | Api.account_createTheme | Api.account_updateTheme | Api.account_saveTheme | Api.account_installTheme | Api.account_getTheme | Api.account_getThemes | Api.account_setContentSettings | Api.account_getContentSettings | Api.account_getMultiWallPapers | Api.account_getGlobalPrivacySettings | Api.account_setGlobalPrivacySettings | Api.account_reportProfilePhoto | Api.account_resetPassword | Api.account_declinePasswordReset | Api.account_getChatThemes | Api.account_setAuthorizationTTL | Api.account_changeAuthorizationSettings | Api.account_getSavedRingtones | Api.account_saveRingtone | Api.account_uploadRingtone | Api.account_updateEmojiStatus | Api.account_getDefaultEmojiStatuses | Api.account_getRecentEmojiStatuses | Api.account_clearRecentEmojiStatuses | Api.account_reorderUsernames | Api.account_toggleUsername | Api.account_getDefaultProfilePhotoEmojis | Api.account_getDefaultGroupPhotoEmojis | Api.account_getAutoSaveSettings | Api.account_saveAutoSaveSettings | Api.account_deleteAutoSaveExceptions | Api.account_invalidateSignInCodes | Api.account_updateColor | Api.account_getDefaultBackgroundEmojis | Api.account_getChannelDefaultEmojiStatuses | Api.account_getChannelRestrictedStatusEmojis | Api.account_updateBusinessWorkHours | Api.account_updateBusinessLocation | Api.account_updateBusinessGreetingMessage | Api.account_updateBusinessAwayMessage | Api.account_updateConnectedBot | Api.account_getConnectedBots | Api.account_getBotBusinessConnection | Api.account_updateBusinessIntro | Api.account_toggleConnectedBotPaused | Api.account_disablePeerConnectedBot | Api.account_updateBirthday | Api.account_createBusinessChatLink | Api.account_editBusinessChatLink | Api.account_deleteBusinessChatLink | Api.account_getBusinessChatLinks | Api.account_resolveBusinessChatLink | Api.account_updatePersonalChannel | Api.account_toggleSponsoredMessages | Api.account_getReactionsNotifySettings | Api.account_setReactionsNotifySettings | Api.account_getCollectibleEmojiStatuses | Api.account_getPaidMessagesRevenue | Api.account_toggleNoPaidMessagesException | Api.account_setMainProfileTab | Api.account_saveMusic | Api.account_getSavedMusicIds | Api.account_getUniqueGiftChatThemes | Api.account_initPasskeyRegistration | Api.account_registerPasskey | Api.account_getPasskeys | Api.account_deletePasskey | Api.users_getUsers | Api.users_getFullUser | Api.users_setSecureValueErrors | Api.users_getRequirementsToContact | Api.users_getSavedMusic | Api.users_getSavedMusicByID | Api.users_suggestBirthday | Api.contacts_getContactIDs | Api.contacts_getStatuses | Api.contacts_getContacts | Api.contacts_importContacts | Api.contacts_deleteContacts | Api.contacts_deleteByPhones | Api.contacts_block | Api.contacts_unblock | Api.contacts_getBlocked | Api.contacts_search | Api.contacts_resolveUsername | Api.contacts_getTopPeers | Api.contacts_resetTopPeerRating | Api.contacts_resetSaved | Api.contacts_getSaved | Api.contacts_toggleTopPeers | Api.contacts_addContact | Api.contacts_acceptContact | Api.contacts_getLocated | Api.contacts_blockFromReplies | Api.contacts_resolvePhone | Api.contacts_exportContactToken | Api.contacts_importContactToken | Api.contacts_editCloseFriends | Api.contacts_setBlocked | Api.contacts_getBirthdays | Api.contacts_getSponsoredPeers | Api.contacts_updateContactNote | Api.messages_getMessages | Api.messages_getDialogs | Api.messages_getHistory | Api.messages_search | Api.messages_readHistory | Api.messages_deleteHistory | Api.messages_deleteMessages | Api.messages_receivedMessages | Api.messages_setTyping | Api.messages_sendMessage | Api.messages_sendMedia | Api.messages_forwardMessages | Api.messages_reportSpam | Api.messages_getPeerSettings | Api.messages_report | Api.messages_getChats | Api.messages_getFullChat | Api.messages_editChatTitle | Api.messages_editChatPhoto | Api.messages_addChatUser | Api.messages_deleteChatUser | Api.messages_createChat | Api.messages_getDhConfig | Api.messages_requestEncryption | Api.messages_acceptEncryption | Api.messages_discardEncryption | Api.messages_setEncryptedTyping | Api.messages_readEncryptedHistory | Api.messages_sendEncrypted | Api.messages_sendEncryptedFile | Api.messages_sendEncryptedService | Api.messages_receivedQueue | Api.messages_reportEncryptedSpam | Api.messages_readMessageContents | Api.messages_getStickers | Api.messages_getAllStickers | Api.messages_getWebPagePreview | Api.messages_exportChatInvite | Api.messages_checkChatInvite | Api.messages_importChatInvite | Api.messages_getStickerSet | Api.messages_installStickerSet | Api.messages_uninstallStickerSet | Api.messages_startBot | Api.messages_getMessagesViews | Api.messages_editChatAdmin | Api.messages_migrateChat | Api.messages_searchGlobal | Api.messages_reorderStickerSets | Api.messages_getDocumentByHash | Api.messages_getSavedGifs | Api.messages_saveGif | Api.messages_getInlineBotResults | Api.messages_setInlineBotResults | Api.messages_sendInlineBotResult | Api.messages_getMessageEditData | Api.messages_editMessage | Api.messages_editInlineBotMessage | Api.messages_getBotCallbackAnswer | Api.messages_setBotCallbackAnswer | Api.messages_getPeerDialogs | Api.messages_saveDraft | Api.messages_getAllDrafts | Api.messages_getFeaturedStickers | Api.messages_readFeaturedStickers | Api.messages_getRecentStickers | Api.messages_saveRecentSticker | Api.messages_clearRecentStickers | Api.messages_getArchivedStickers | Api.messages_getMaskStickers | Api.messages_getAttachedStickers | Api.messages_setGameScore | Api.messages_setInlineGameScore | Api.messages_getGameHighScores | Api.messages_getInlineGameHighScores | Api.messages_getCommonChats | Api.messages_getWebPage | Api.messages_toggleDialogPin | Api.messages_reorderPinnedDialogs | Api.messages_getPinnedDialogs | Api.messages_setBotShippingResults | Api.messages_setBotPrecheckoutResults | Api.messages_uploadMedia | Api.messages_sendScreenshotNotification | Api.messages_getFavedStickers | Api.messages_faveSticker | Api.messages_getUnreadMentions | Api.messages_readMentions | Api.messages_getRecentLocations | Api.messages_sendMultiMedia | Api.messages_uploadEncryptedFile | Api.messages_searchStickerSets | Api.messages_getSplitRanges | Api.messages_markDialogUnread | Api.messages_getDialogUnreadMarks | Api.messages_clearAllDrafts | Api.messages_updatePinnedMessage | Api.messages_sendVote | Api.messages_getPollResults | Api.messages_getOnlines | Api.messages_editChatAbout | Api.messages_editChatDefaultBannedRights | Api.messages_getEmojiKeywords | Api.messages_getEmojiKeywordsDifference | Api.messages_getEmojiKeywordsLanguages | Api.messages_getEmojiURL | Api.messages_getSearchCounters | Api.messages_requestUrlAuth | Api.messages_acceptUrlAuth | Api.messages_hidePeerSettingsBar | Api.messages_getScheduledHistory | Api.messages_getScheduledMessages | Api.messages_sendScheduledMessages | Api.messages_deleteScheduledMessages | Api.messages_getPollVotes | Api.messages_toggleStickerSets | Api.messages_getDialogFilters | Api.messages_getSuggestedDialogFilters | Api.messages_updateDialogFilter | Api.messages_updateDialogFiltersOrder | Api.messages_getOldFeaturedStickers | Api.messages_getReplies | Api.messages_getDiscussionMessage | Api.messages_readDiscussion | Api.messages_unpinAllMessages | Api.messages_deleteChat | Api.messages_deletePhoneCallHistory | Api.messages_checkHistoryImport | Api.messages_initHistoryImport | Api.messages_uploadImportedMedia | Api.messages_startHistoryImport | Api.messages_getExportedChatInvites | Api.messages_getExportedChatInvite | Api.messages_editExportedChatInvite | Api.messages_deleteRevokedExportedChatInvites | Api.messages_deleteExportedChatInvite | Api.messages_getAdminsWithInvites | Api.messages_getChatInviteImporters | Api.messages_setHistoryTTL | Api.messages_checkHistoryImportPeer | Api.messages_setChatTheme | Api.messages_getMessageReadParticipants | Api.messages_getSearchResultsCalendar | Api.messages_getSearchResultsPositions | Api.messages_hideChatJoinRequest | Api.messages_hideAllChatJoinRequests | Api.messages_toggleNoForwards | Api.messages_saveDefaultSendAs | Api.messages_sendReaction | Api.messages_getMessagesReactions | Api.messages_getMessageReactionsList | Api.messages_setChatAvailableReactions | Api.messages_getAvailableReactions | Api.messages_setDefaultReaction | Api.messages_translateText | Api.messages_getUnreadReactions | Api.messages_readReactions | Api.messages_searchSentMedia | Api.messages_getAttachMenuBots | Api.messages_getAttachMenuBot | Api.messages_toggleBotInAttachMenu | Api.messages_requestWebView | Api.messages_prolongWebView | Api.messages_requestSimpleWebView | Api.messages_sendWebViewResultMessage | Api.messages_sendWebViewData | Api.messages_transcribeAudio | Api.messages_rateTranscribedAudio | Api.messages_getCustomEmojiDocuments | Api.messages_getEmojiStickers | Api.messages_getFeaturedEmojiStickers | Api.messages_reportReaction | Api.messages_getTopReactions | Api.messages_getRecentReactions | Api.messages_clearRecentReactions | Api.messages_getExtendedMedia | Api.messages_setDefaultHistoryTTL | Api.messages_getDefaultHistoryTTL | Api.messages_sendBotRequestedPeer | Api.messages_getEmojiGroups | Api.messages_getEmojiStatusGroups | Api.messages_getEmojiProfilePhotoGroups | Api.messages_searchCustomEmoji | Api.messages_togglePeerTranslations | Api.messages_getBotApp | Api.messages_requestAppWebView | Api.messages_setChatWallPaper | Api.messages_searchEmojiStickerSets | Api.messages_getSavedDialogs | Api.messages_getSavedHistory | Api.messages_deleteSavedHistory | Api.messages_getPinnedSavedDialogs | Api.messages_toggleSavedDialogPin | Api.messages_reorderPinnedSavedDialogs | Api.messages_getSavedReactionTags | Api.messages_updateSavedReactionTag | Api.messages_getDefaultTagReactions | Api.messages_getOutboxReadDate | Api.messages_getQuickReplies | Api.messages_reorderQuickReplies | Api.messages_checkQuickReplyShortcut | Api.messages_editQuickReplyShortcut | Api.messages_deleteQuickReplyShortcut | Api.messages_getQuickReplyMessages | Api.messages_sendQuickReplyMessages | Api.messages_deleteQuickReplyMessages | Api.messages_toggleDialogFilterTags | Api.messages_getMyStickers | Api.messages_getEmojiStickerGroups | Api.messages_getAvailableEffects | Api.messages_editFactCheck | Api.messages_deleteFactCheck | Api.messages_getFactCheck | Api.messages_requestMainWebView | Api.messages_sendPaidReaction | Api.messages_togglePaidReactionPrivacy | Api.messages_getPaidReactionPrivacy | Api.messages_viewSponsoredMessage | Api.messages_clickSponsoredMessage | Api.messages_reportSponsoredMessage | Api.messages_getSponsoredMessages | Api.messages_savePreparedInlineMessage | Api.messages_getPreparedInlineMessage | Api.messages_searchStickers | Api.messages_reportMessagesDelivery | Api.messages_getSavedDialogsByID | Api.messages_readSavedHistory | Api.messages_toggleTodoCompleted | Api.messages_appendTodoList | Api.messages_toggleSuggestedPostApproval | Api.messages_getForumTopics | Api.messages_getForumTopicsByID | Api.messages_editForumTopic | Api.messages_updatePinnedForumTopic | Api.messages_reorderPinnedForumTopics | Api.messages_createForumTopic | Api.messages_deleteTopicHistory | Api.messages_getEmojiGameInfo | Api.messages_summarizeText | Api.updates_getState | Api.updates_getDifference | Api.updates_getChannelDifference | Api.photos_updateProfilePhoto | Api.photos_uploadProfilePhoto | Api.photos_deletePhotos | Api.photos_getUserPhotos | Api.photos_uploadContactProfilePhoto | Api.upload_saveFilePart | Api.upload_getFile | Api.upload_saveBigFilePart | Api.upload_getWebFile | Api.upload_getCdnFile | Api.upload_reuploadCdnFile | Api.upload_getCdnFileHashes | Api.upload_getFileHashes | Api.help_getConfig | Api.help_getNearestDc | Api.help_getAppUpdate | Api.help_getInviteText | Api.help_getSupport | Api.help_setBotUpdatesStatus | Api.help_getCdnConfig | Api.help_getRecentMeUrls | Api.help_getTermsOfServiceUpdate | Api.help_acceptTermsOfService | Api.help_getDeepLinkInfo | Api.help_getAppConfig | Api.help_saveAppLog | Api.help_getPassportConfig | Api.help_getSupportName | Api.help_getUserInfo | Api.help_editUserInfo | Api.help_getPromoData | Api.help_hidePromoData | Api.help_dismissSuggestion | Api.help_getCountriesList | Api.help_getPremiumPromo | Api.help_getPeerColors | Api.help_getPeerProfileColors | Api.help_getTimezonesList | Api.channels_readHistory | Api.channels_deleteMessages | Api.channels_reportSpam | Api.channels_getMessages | Api.channels_getParticipants | Api.channels_getParticipant | Api.channels_getChannels | Api.channels_getFullChannel | Api.channels_createChannel | Api.channels_editAdmin | Api.channels_editTitle | Api.channels_editPhoto | Api.channels_checkUsername | Api.channels_updateUsername | Api.channels_joinChannel | Api.channels_leaveChannel | Api.channels_inviteToChannel | Api.channels_deleteChannel | Api.channels_exportMessageLink | Api.channels_toggleSignatures | Api.channels_getAdminedPublicChannels | Api.channels_editBanned | Api.channels_getAdminLog | Api.channels_setStickers | Api.channels_readMessageContents | Api.channels_deleteHistory | Api.channels_togglePreHistoryHidden | Api.channels_getLeftChannels | Api.channels_getGroupsForDiscussion | Api.channels_setDiscussionGroup | Api.channels_editCreator | Api.channels_editLocation | Api.channels_toggleSlowMode | Api.channels_getInactiveChannels | Api.channels_convertToGigagroup | Api.channels_getSendAs | Api.channels_deleteParticipantHistory | Api.channels_toggleJoinToSend | Api.channels_toggleJoinRequest | Api.channels_reorderUsernames | Api.channels_toggleUsername | Api.channels_deactivateAllUsernames | Api.channels_toggleForum | Api.channels_toggleAntiSpam | Api.channels_reportAntiSpamFalsePositive | Api.channels_toggleParticipantsHidden | Api.channels_updateColor | Api.channels_toggleViewForumAsMessages | Api.channels_getChannelRecommendations | Api.channels_updateEmojiStatus | Api.channels_setBoostsToUnblockRestrictions | Api.channels_setEmojiStickers | Api.channels_restrictSponsoredMessages | Api.channels_searchPosts | Api.channels_updatePaidMessagesPrice | Api.channels_toggleAutotranslation | Api.channels_getMessageAuthor | Api.channels_checkSearchPostsFlood | Api.channels_setMainProfileTab | Api.channels_getFutureCreatorAfterLeave | Api.bots_sendCustomRequest | Api.bots_answerWebhookJSONQuery | Api.bots_setBotCommands | Api.bots_resetBotCommands | Api.bots_getBotCommands | Api.bots_setBotMenuButton | Api.bots_getBotMenuButton | Api.bots_setBotBroadcastDefaultAdminRights | Api.bots_setBotGroupDefaultAdminRights | Api.bots_setBotInfo | Api.bots_getBotInfo | Api.bots_reorderUsernames | Api.bots_toggleUsername | Api.bots_canSendMessage | Api.bots_allowSendMessage | Api.bots_invokeWebViewCustomMethod | Api.bots_getPopularAppBots | Api.bots_addPreviewMedia | Api.bots_editPreviewMedia | Api.bots_deletePreviewMedia | Api.bots_reorderPreviewMedias | Api.bots_getPreviewInfo | Api.bots_getPreviewMedias | Api.bots_updateUserEmojiStatus | Api.bots_toggleUserEmojiStatusPermission | Api.bots_checkDownloadFileParams | Api.bots_getAdminedBots | Api.bots_updateStarRefProgram | Api.bots_setCustomVerification | Api.bots_getBotRecommendations | Api.payments_getPaymentForm | Api.payments_getPaymentReceipt | Api.payments_validateRequestedInfo | Api.payments_sendPaymentForm | Api.payments_getSavedInfo | Api.payments_clearSavedInfo | Api.payments_getBankCardData | Api.payments_exportInvoice | Api.payments_assignAppStoreTransaction | Api.payments_assignPlayMarketTransaction | Api.payments_getPremiumGiftCodeOptions | Api.payments_checkGiftCode | Api.payments_applyGiftCode | Api.payments_getGiveawayInfo | Api.payments_launchPrepaidGiveaway | Api.payments_getStarsTopupOptions | Api.payments_getStarsStatus | Api.payments_getStarsTransactions | Api.payments_sendStarsForm | Api.payments_refundStarsCharge | Api.payments_getStarsRevenueStats | Api.payments_getStarsRevenueWithdrawalUrl | Api.payments_getStarsRevenueAdsAccountUrl | Api.payments_getStarsTransactionsByID | Api.payments_getStarsGiftOptions | Api.payments_getStarsSubscriptions | Api.payments_changeStarsSubscription | Api.payments_fulfillStarsSubscription | Api.payments_getStarsGiveawayOptions | Api.payments_getStarGifts | Api.payments_saveStarGift | Api.payments_convertStarGift | Api.payments_botCancelStarsSubscription | Api.payments_getConnectedStarRefBots | Api.payments_getConnectedStarRefBot | Api.payments_getSuggestedStarRefBots | Api.payments_connectStarRefBot | Api.payments_editConnectedStarRefBot | Api.payments_getStarGiftUpgradePreview | Api.payments_upgradeStarGift | Api.payments_transferStarGift | Api.payments_getUniqueStarGift | Api.payments_getSavedStarGifts | Api.payments_getSavedStarGift | Api.payments_getStarGiftWithdrawalUrl | Api.payments_toggleChatStarGiftNotifications | Api.payments_toggleStarGiftsPinnedToTop | Api.payments_canPurchaseStore | Api.payments_getResaleStarGifts | Api.payments_updateStarGiftPrice | Api.payments_createStarGiftCollection | Api.payments_updateStarGiftCollection | Api.payments_reorderStarGiftCollections | Api.payments_deleteStarGiftCollection | Api.payments_getStarGiftCollections | Api.payments_getUniqueStarGiftValueInfo | Api.payments_checkCanSendGift | Api.payments_getStarGiftAuctionState | Api.payments_getStarGiftAuctionAcquiredGifts | Api.payments_getStarGiftActiveAuctions | Api.payments_resolveStarGiftOffer | Api.payments_sendStarGiftOffer | Api.payments_getStarGiftUpgradeAttributes | Api.payments_getCraftStarGifts | Api.payments_craftStarGift | Api.stickers_createStickerSet | Api.stickers_removeStickerFromSet | Api.stickers_changeStickerPosition | Api.stickers_addStickerToSet | Api.stickers_setStickerSetThumb | Api.stickers_checkShortName | Api.stickers_suggestShortName | Api.stickers_changeSticker | Api.stickers_renameStickerSet | Api.stickers_deleteStickerSet | Api.stickers_replaceSticker | Api.phone_getCallConfig | Api.phone_requestCall | Api.phone_acceptCall | Api.phone_confirmCall | Api.phone_receivedCall | Api.phone_discardCall | Api.phone_setCallRating | Api.phone_saveCallDebug | Api.phone_sendSignalingData | Api.phone_createGroupCall | Api.phone_joinGroupCall | Api.phone_leaveGroupCall | Api.phone_inviteToGroupCall | Api.phone_discardGroupCall | Api.phone_toggleGroupCallSettings | Api.phone_getGroupCall | Api.phone_getGroupParticipants | Api.phone_checkGroupCall | Api.phone_toggleGroupCallRecord | Api.phone_editGroupCallParticipant | Api.phone_editGroupCallTitle | Api.phone_getGroupCallJoinAs | Api.phone_exportGroupCallInvite | Api.phone_toggleGroupCallStartSubscription | Api.phone_startScheduledGroupCall | Api.phone_saveDefaultGroupCallJoinAs | Api.phone_joinGroupCallPresentation | Api.phone_leaveGroupCallPresentation | Api.phone_getGroupCallStreamChannels | Api.phone_getGroupCallStreamRtmpUrl | Api.phone_saveCallLog | Api.phone_createConferenceCall | Api.phone_deleteConferenceCallParticipants | Api.phone_sendConferenceCallBroadcast | Api.phone_inviteConferenceCallParticipant | Api.phone_declineConferenceCallInvite | Api.phone_getGroupCallChainBlocks | Api.phone_sendGroupCallMessage | Api.phone_sendGroupCallEncryptedMessage | Api.phone_deleteGroupCallMessages | Api.phone_deleteGroupCallParticipantMessages | Api.phone_getGroupCallStars | Api.phone_saveDefaultSendAs | Api.langpack_getLangPack | Api.langpack_getStrings | Api.langpack_getDifference | Api.langpack_getLanguages | Api.langpack_getLanguage | Api.folders_editPeerFolders | Api.stats_getBroadcastStats | Api.stats_loadAsyncGraph | Api.stats_getMegagroupStats | Api.stats_getMessagePublicForwards | Api.stats_getMessageStats | Api.stats_getStoryStats | Api.stats_getStoryPublicForwards | Api.chatlists_exportChatlistInvite | Api.chatlists_deleteExportedInvite | Api.chatlists_editExportedInvite | Api.chatlists_getExportedInvites | Api.chatlists_checkChatlistInvite | Api.chatlists_joinChatlistInvite | Api.chatlists_getChatlistUpdates | Api.chatlists_joinChatlistUpdates | Api.chatlists_hideChatlistUpdates | Api.chatlists_getLeaveChatlistSuggestions | Api.chatlists_leaveChatlist | Api.stories_canSendStory | Api.stories_sendStory | Api.stories_editStory | Api.stories_deleteStories | Api.stories_togglePinned | Api.stories_getAllStories | Api.stories_getPinnedStories | Api.stories_getStoriesArchive | Api.stories_getStoriesByID | Api.stories_toggleAllStoriesHidden | Api.stories_readStories | Api.stories_incrementStoryViews | Api.stories_getStoryViewsList | Api.stories_getStoriesViews | Api.stories_exportStoryLink | Api.stories_report | Api.stories_activateStealthMode | Api.stories_sendReaction | Api.stories_getPeerStories | Api.stories_getAllReadPeerStories | Api.stories_getPeerMaxIDs | Api.stories_getChatsToSend | Api.stories_togglePeerStoriesHidden | Api.stories_getStoryReactionsList | Api.stories_togglePinnedToTop | Api.stories_searchPosts | Api.stories_createAlbum | Api.stories_updateAlbum | Api.stories_reorderAlbums | Api.stories_deleteAlbum | Api.stories_getAlbums | Api.stories_getAlbumStories | Api.stories_startLive | Api.premium_getBoostsList | Api.premium_getMyBoosts | Api.premium_applyBoost | Api.premium_getBoostsStatus | Api.premium_getUserBoosts | Api.smsjobs_isEligibleToJoin | Api.smsjobs_join | Api.smsjobs_leave | Api.smsjobs_updateSettings | Api.smsjobs_getStatus | Api.smsjobs_getSmsJob | Api.smsjobs_finishJob | Api.fragment_getCollectibleInfo | Api.invokeAfterMsg<Api.Function> | Api.invokeAfterMsgs<Api.Function> | Api.initConnection<Api.Function> | Api.invokeWithLayer<Api.Function> | Api.invokeWithoutUpdates<Api.Function> | Api.invokeWithMessagesRange<Api.Function> | Api.invokeWithTakeout<Api.Function> | Api.invokeWithBusinessConnection<Api.Function> | Api.invokeWithGooglePlayIntegrity<Api.Function> | Api.invokeWithApnsSecret<Api.Function> | Api.invokeWithReCaptcha<Api.Function>;
32
+ export declare function isCdnFunction(value: unknown): value is Api.invokeWithBusinessConnectionPrefix | Api.invokeWithGooglePlayIntegrityPrefix | Api.invokeWithApnsSecretPrefix | Api.invokeWithReCaptchaPrefix | Api.auth_sendCode | Api.auth_signUp | Api.auth_signIn | Api.auth_logOut | Api.auth_resetAuthorizations | Api.auth_exportAuthorization | Api.auth_importAuthorization | Api.auth_bindTempAuthKey | Api.auth_importBotAuthorization | Api.auth_checkPassword | Api.auth_requestPasswordRecovery | Api.auth_recoverPassword | Api.auth_resendCode | Api.auth_cancelCode | Api.auth_dropTempAuthKeys | Api.auth_exportLoginToken | Api.auth_importLoginToken | Api.auth_acceptLoginToken | Api.auth_checkRecoveryPassword | Api.auth_importWebTokenAuthorization | Api.auth_requestFirebaseSms | Api.auth_resetLoginEmail | Api.auth_reportMissingCode | Api.auth_checkPaidAuth | Api.auth_initPasskeyLogin | Api.auth_finishPasskeyLogin | Api.account_registerDevice | Api.account_unregisterDevice | Api.account_updateNotifySettings | Api.account_getNotifySettings | Api.account_resetNotifySettings | Api.account_updateProfile | Api.account_updateStatus | Api.account_getWallPapers | Api.account_reportPeer | Api.account_checkUsername | Api.account_updateUsername | Api.account_getPrivacy | Api.account_setPrivacy | Api.account_deleteAccount | Api.account_getAccountTTL | Api.account_setAccountTTL | Api.account_sendChangePhoneCode | Api.account_changePhone | Api.account_updateDeviceLocked | Api.account_getAuthorizations | Api.account_resetAuthorization | Api.account_getPassword | Api.account_getPasswordSettings | Api.account_updatePasswordSettings | Api.account_sendConfirmPhoneCode | Api.account_confirmPhone | Api.account_getTmpPassword | Api.account_getWebAuthorizations | Api.account_resetWebAuthorization | Api.account_resetWebAuthorizations | Api.account_getAllSecureValues | Api.account_getSecureValue | Api.account_saveSecureValue | Api.account_deleteSecureValue | Api.account_getAuthorizationForm | Api.account_acceptAuthorization | Api.account_sendVerifyPhoneCode | Api.account_verifyPhone | Api.account_sendVerifyEmailCode | Api.account_verifyEmail | Api.account_initTakeoutSession | Api.account_finishTakeoutSession | Api.account_confirmPasswordEmail | Api.account_resendPasswordEmail | Api.account_cancelPasswordEmail | Api.account_getContactSignUpNotification | Api.account_setContactSignUpNotification | Api.account_getNotifyExceptions | Api.account_getWallPaper | Api.account_uploadWallPaper | Api.account_saveWallPaper | Api.account_installWallPaper | Api.account_resetWallPapers | Api.account_getAutoDownloadSettings | Api.account_saveAutoDownloadSettings | Api.account_uploadTheme | Api.account_createTheme | Api.account_updateTheme | Api.account_saveTheme | Api.account_installTheme | Api.account_getTheme | Api.account_getThemes | Api.account_setContentSettings | Api.account_getContentSettings | Api.account_getMultiWallPapers | Api.account_getGlobalPrivacySettings | Api.account_setGlobalPrivacySettings | Api.account_reportProfilePhoto | Api.account_resetPassword | Api.account_declinePasswordReset | Api.account_getChatThemes | Api.account_setAuthorizationTTL | Api.account_changeAuthorizationSettings | Api.account_getSavedRingtones | Api.account_saveRingtone | Api.account_uploadRingtone | Api.account_updateEmojiStatus | Api.account_getDefaultEmojiStatuses | Api.account_getRecentEmojiStatuses | Api.account_clearRecentEmojiStatuses | Api.account_reorderUsernames | Api.account_toggleUsername | Api.account_getDefaultProfilePhotoEmojis | Api.account_getDefaultGroupPhotoEmojis | Api.account_getAutoSaveSettings | Api.account_saveAutoSaveSettings | Api.account_deleteAutoSaveExceptions | Api.account_invalidateSignInCodes | Api.account_updateColor | Api.account_getDefaultBackgroundEmojis | Api.account_getChannelDefaultEmojiStatuses | Api.account_getChannelRestrictedStatusEmojis | Api.account_updateBusinessWorkHours | Api.account_updateBusinessLocation | Api.account_updateBusinessGreetingMessage | Api.account_updateBusinessAwayMessage | Api.account_updateConnectedBot | Api.account_getConnectedBots | Api.account_getBotBusinessConnection | Api.account_updateBusinessIntro | Api.account_toggleConnectedBotPaused | Api.account_disablePeerConnectedBot | Api.account_updateBirthday | Api.account_createBusinessChatLink | Api.account_editBusinessChatLink | Api.account_deleteBusinessChatLink | Api.account_getBusinessChatLinks | Api.account_resolveBusinessChatLink | Api.account_updatePersonalChannel | Api.account_toggleSponsoredMessages | Api.account_getReactionsNotifySettings | Api.account_setReactionsNotifySettings | Api.account_getCollectibleEmojiStatuses | Api.account_getPaidMessagesRevenue | Api.account_toggleNoPaidMessagesException | Api.account_setMainProfileTab | Api.account_saveMusic | Api.account_getSavedMusicIds | Api.account_getUniqueGiftChatThemes | Api.account_initPasskeyRegistration | Api.account_registerPasskey | Api.account_getPasskeys | Api.account_deletePasskey | Api.users_getUsers | Api.users_getFullUser | Api.users_setSecureValueErrors | Api.users_getRequirementsToContact | Api.users_getSavedMusic | Api.users_getSavedMusicByID | Api.users_suggestBirthday | Api.contacts_getContactIDs | Api.contacts_getStatuses | Api.contacts_getContacts | Api.contacts_importContacts | Api.contacts_deleteContacts | Api.contacts_deleteByPhones | Api.contacts_block | Api.contacts_unblock | Api.contacts_getBlocked | Api.contacts_search | Api.contacts_resolveUsername | Api.contacts_getTopPeers | Api.contacts_resetTopPeerRating | Api.contacts_resetSaved | Api.contacts_getSaved | Api.contacts_toggleTopPeers | Api.contacts_addContact | Api.contacts_acceptContact | Api.contacts_getLocated | Api.contacts_blockFromReplies | Api.contacts_resolvePhone | Api.contacts_exportContactToken | Api.contacts_importContactToken | Api.contacts_editCloseFriends | Api.contacts_setBlocked | Api.contacts_getBirthdays | Api.contacts_getSponsoredPeers | Api.contacts_updateContactNote | Api.messages_getMessages | Api.messages_getDialogs | Api.messages_getHistory | Api.messages_search | Api.messages_readHistory | Api.messages_deleteHistory | Api.messages_deleteMessages | Api.messages_receivedMessages | Api.messages_setTyping | Api.messages_sendMessage | Api.messages_sendMedia | Api.messages_forwardMessages | Api.messages_reportSpam | Api.messages_getPeerSettings | Api.messages_report | Api.messages_getChats | Api.messages_getFullChat | Api.messages_editChatTitle | Api.messages_editChatPhoto | Api.messages_addChatUser | Api.messages_deleteChatUser | Api.messages_createChat | Api.messages_getDhConfig | Api.messages_requestEncryption | Api.messages_acceptEncryption | Api.messages_discardEncryption | Api.messages_setEncryptedTyping | Api.messages_readEncryptedHistory | Api.messages_sendEncrypted | Api.messages_sendEncryptedFile | Api.messages_sendEncryptedService | Api.messages_receivedQueue | Api.messages_reportEncryptedSpam | Api.messages_readMessageContents | Api.messages_getStickers | Api.messages_getAllStickers | Api.messages_getWebPagePreview | Api.messages_exportChatInvite | Api.messages_checkChatInvite | Api.messages_importChatInvite | Api.messages_getStickerSet | Api.messages_installStickerSet | Api.messages_uninstallStickerSet | Api.messages_startBot | Api.messages_getMessagesViews | Api.messages_editChatAdmin | Api.messages_migrateChat | Api.messages_searchGlobal | Api.messages_reorderStickerSets | Api.messages_getDocumentByHash | Api.messages_getSavedGifs | Api.messages_saveGif | Api.messages_getInlineBotResults | Api.messages_setInlineBotResults | Api.messages_sendInlineBotResult | Api.messages_getMessageEditData | Api.messages_editMessage | Api.messages_editInlineBotMessage | Api.messages_getBotCallbackAnswer | Api.messages_setBotCallbackAnswer | Api.messages_getPeerDialogs | Api.messages_saveDraft | Api.messages_getAllDrafts | Api.messages_getFeaturedStickers | Api.messages_readFeaturedStickers | Api.messages_getRecentStickers | Api.messages_saveRecentSticker | Api.messages_clearRecentStickers | Api.messages_getArchivedStickers | Api.messages_getMaskStickers | Api.messages_getAttachedStickers | Api.messages_setGameScore | Api.messages_setInlineGameScore | Api.messages_getGameHighScores | Api.messages_getInlineGameHighScores | Api.messages_getCommonChats | Api.messages_getWebPage | Api.messages_toggleDialogPin | Api.messages_reorderPinnedDialogs | Api.messages_getPinnedDialogs | Api.messages_setBotShippingResults | Api.messages_setBotPrecheckoutResults | Api.messages_uploadMedia | Api.messages_sendScreenshotNotification | Api.messages_getFavedStickers | Api.messages_faveSticker | Api.messages_getUnreadMentions | Api.messages_readMentions | Api.messages_getRecentLocations | Api.messages_sendMultiMedia | Api.messages_uploadEncryptedFile | Api.messages_searchStickerSets | Api.messages_getSplitRanges | Api.messages_markDialogUnread | Api.messages_getDialogUnreadMarks | Api.messages_clearAllDrafts | Api.messages_updatePinnedMessage | Api.messages_sendVote | Api.messages_getPollResults | Api.messages_getOnlines | Api.messages_editChatAbout | Api.messages_editChatDefaultBannedRights | Api.messages_getEmojiKeywords | Api.messages_getEmojiKeywordsDifference | Api.messages_getEmojiKeywordsLanguages | Api.messages_getEmojiURL | Api.messages_getSearchCounters | Api.messages_requestUrlAuth | Api.messages_acceptUrlAuth | Api.messages_hidePeerSettingsBar | Api.messages_getScheduledHistory | Api.messages_getScheduledMessages | Api.messages_sendScheduledMessages | Api.messages_deleteScheduledMessages | Api.messages_getPollVotes | Api.messages_toggleStickerSets | Api.messages_getDialogFilters | Api.messages_getSuggestedDialogFilters | Api.messages_updateDialogFilter | Api.messages_updateDialogFiltersOrder | Api.messages_getOldFeaturedStickers | Api.messages_getReplies | Api.messages_getDiscussionMessage | Api.messages_readDiscussion | Api.messages_unpinAllMessages | Api.messages_deleteChat | Api.messages_deletePhoneCallHistory | Api.messages_checkHistoryImport | Api.messages_initHistoryImport | Api.messages_uploadImportedMedia | Api.messages_startHistoryImport | Api.messages_getExportedChatInvites | Api.messages_getExportedChatInvite | Api.messages_editExportedChatInvite | Api.messages_deleteRevokedExportedChatInvites | Api.messages_deleteExportedChatInvite | Api.messages_getAdminsWithInvites | Api.messages_getChatInviteImporters | Api.messages_setHistoryTTL | Api.messages_checkHistoryImportPeer | Api.messages_setChatTheme | Api.messages_getMessageReadParticipants | Api.messages_getSearchResultsCalendar | Api.messages_getSearchResultsPositions | Api.messages_hideChatJoinRequest | Api.messages_hideAllChatJoinRequests | Api.messages_toggleNoForwards | Api.messages_saveDefaultSendAs | Api.messages_sendReaction | Api.messages_getMessagesReactions | Api.messages_getMessageReactionsList | Api.messages_setChatAvailableReactions | Api.messages_getAvailableReactions | Api.messages_setDefaultReaction | Api.messages_translateText | Api.messages_getUnreadReactions | Api.messages_readReactions | Api.messages_searchSentMedia | Api.messages_getAttachMenuBots | Api.messages_getAttachMenuBot | Api.messages_toggleBotInAttachMenu | Api.messages_requestWebView | Api.messages_prolongWebView | Api.messages_requestSimpleWebView | Api.messages_sendWebViewResultMessage | Api.messages_sendWebViewData | Api.messages_transcribeAudio | Api.messages_rateTranscribedAudio | Api.messages_getCustomEmojiDocuments | Api.messages_getEmojiStickers | Api.messages_getFeaturedEmojiStickers | Api.messages_reportReaction | Api.messages_getTopReactions | Api.messages_getRecentReactions | Api.messages_clearRecentReactions | Api.messages_getExtendedMedia | Api.messages_setDefaultHistoryTTL | Api.messages_getDefaultHistoryTTL | Api.messages_sendBotRequestedPeer | Api.messages_getEmojiGroups | Api.messages_getEmojiStatusGroups | Api.messages_getEmojiProfilePhotoGroups | Api.messages_searchCustomEmoji | Api.messages_togglePeerTranslations | Api.messages_getBotApp | Api.messages_requestAppWebView | Api.messages_setChatWallPaper | Api.messages_searchEmojiStickerSets | Api.messages_getSavedDialogs | Api.messages_getSavedHistory | Api.messages_deleteSavedHistory | Api.messages_getPinnedSavedDialogs | Api.messages_toggleSavedDialogPin | Api.messages_reorderPinnedSavedDialogs | Api.messages_getSavedReactionTags | Api.messages_updateSavedReactionTag | Api.messages_getDefaultTagReactions | Api.messages_getOutboxReadDate | Api.messages_getQuickReplies | Api.messages_reorderQuickReplies | Api.messages_checkQuickReplyShortcut | Api.messages_editQuickReplyShortcut | Api.messages_deleteQuickReplyShortcut | Api.messages_getQuickReplyMessages | Api.messages_sendQuickReplyMessages | Api.messages_deleteQuickReplyMessages | Api.messages_toggleDialogFilterTags | Api.messages_getMyStickers | Api.messages_getEmojiStickerGroups | Api.messages_getAvailableEffects | Api.messages_editFactCheck | Api.messages_deleteFactCheck | Api.messages_getFactCheck | Api.messages_requestMainWebView | Api.messages_sendPaidReaction | Api.messages_togglePaidReactionPrivacy | Api.messages_getPaidReactionPrivacy | Api.messages_viewSponsoredMessage | Api.messages_clickSponsoredMessage | Api.messages_reportSponsoredMessage | Api.messages_getSponsoredMessages | Api.messages_savePreparedInlineMessage | Api.messages_getPreparedInlineMessage | Api.messages_searchStickers | Api.messages_reportMessagesDelivery | Api.messages_getSavedDialogsByID | Api.messages_readSavedHistory | Api.messages_toggleTodoCompleted | Api.messages_appendTodoList | Api.messages_toggleSuggestedPostApproval | Api.messages_getForumTopics | Api.messages_getForumTopicsByID | Api.messages_editForumTopic | Api.messages_updatePinnedForumTopic | Api.messages_reorderPinnedForumTopics | Api.messages_createForumTopic | Api.messages_deleteTopicHistory | Api.messages_getEmojiGameInfo | Api.messages_summarizeText | Api.messages_editChatCreator | Api.messages_getFutureChatCreatorAfterLeave | Api.messages_editChatParticipantRank | Api.messages_declineUrlAuth | Api.messages_checkUrlAuthMatchCode | Api.updates_getState | Api.updates_getDifference | Api.updates_getChannelDifference | Api.photos_updateProfilePhoto | Api.photos_uploadProfilePhoto | Api.photos_deletePhotos | Api.photos_getUserPhotos | Api.photos_uploadContactProfilePhoto | Api.upload_saveFilePart | Api.upload_getFile | Api.upload_saveBigFilePart | Api.upload_getWebFile | Api.upload_getCdnFile | Api.upload_reuploadCdnFile | Api.upload_getCdnFileHashes | Api.upload_getFileHashes | Api.help_getConfig | Api.help_getNearestDc | Api.help_getAppUpdate | Api.help_getInviteText | Api.help_getSupport | Api.help_setBotUpdatesStatus | Api.help_getCdnConfig | Api.help_getRecentMeUrls | Api.help_getTermsOfServiceUpdate | Api.help_acceptTermsOfService | Api.help_getDeepLinkInfo | Api.help_getAppConfig | Api.help_saveAppLog | Api.help_getPassportConfig | Api.help_getSupportName | Api.help_getUserInfo | Api.help_editUserInfo | Api.help_getPromoData | Api.help_hidePromoData | Api.help_dismissSuggestion | Api.help_getCountriesList | Api.help_getPremiumPromo | Api.help_getPeerColors | Api.help_getPeerProfileColors | Api.help_getTimezonesList | Api.channels_readHistory | Api.channels_deleteMessages | Api.channels_reportSpam | Api.channels_getMessages | Api.channels_getParticipants | Api.channels_getParticipant | Api.channels_getChannels | Api.channels_getFullChannel | Api.channels_createChannel | Api.channels_editAdmin | Api.channels_editTitle | Api.channels_editPhoto | Api.channels_checkUsername | Api.channels_updateUsername | Api.channels_joinChannel | Api.channels_leaveChannel | Api.channels_inviteToChannel | Api.channels_deleteChannel | Api.channels_exportMessageLink | Api.channels_toggleSignatures | Api.channels_getAdminedPublicChannels | Api.channels_editBanned | Api.channels_getAdminLog | Api.channels_setStickers | Api.channels_readMessageContents | Api.channels_deleteHistory | Api.channels_togglePreHistoryHidden | Api.channels_getLeftChannels | Api.channels_getGroupsForDiscussion | Api.channels_setDiscussionGroup | Api.channels_editLocation | Api.channels_toggleSlowMode | Api.channels_getInactiveChannels | Api.channels_convertToGigagroup | Api.channels_getSendAs | Api.channels_deleteParticipantHistory | Api.channels_toggleJoinToSend | Api.channels_toggleJoinRequest | Api.channels_reorderUsernames | Api.channels_toggleUsername | Api.channels_deactivateAllUsernames | Api.channels_toggleForum | Api.channels_toggleAntiSpam | Api.channels_reportAntiSpamFalsePositive | Api.channels_toggleParticipantsHidden | Api.channels_updateColor | Api.channels_toggleViewForumAsMessages | Api.channels_getChannelRecommendations | Api.channels_updateEmojiStatus | Api.channels_setBoostsToUnblockRestrictions | Api.channels_setEmojiStickers | Api.channels_restrictSponsoredMessages | Api.channels_searchPosts | Api.channels_updatePaidMessagesPrice | Api.channels_toggleAutotranslation | Api.channels_getMessageAuthor | Api.channels_checkSearchPostsFlood | Api.channels_setMainProfileTab | Api.bots_sendCustomRequest | Api.bots_answerWebhookJSONQuery | Api.bots_setBotCommands | Api.bots_resetBotCommands | Api.bots_getBotCommands | Api.bots_setBotMenuButton | Api.bots_getBotMenuButton | Api.bots_setBotBroadcastDefaultAdminRights | Api.bots_setBotGroupDefaultAdminRights | Api.bots_setBotInfo | Api.bots_getBotInfo | Api.bots_reorderUsernames | Api.bots_toggleUsername | Api.bots_canSendMessage | Api.bots_allowSendMessage | Api.bots_invokeWebViewCustomMethod | Api.bots_getPopularAppBots | Api.bots_addPreviewMedia | Api.bots_editPreviewMedia | Api.bots_deletePreviewMedia | Api.bots_reorderPreviewMedias | Api.bots_getPreviewInfo | Api.bots_getPreviewMedias | Api.bots_updateUserEmojiStatus | Api.bots_toggleUserEmojiStatusPermission | Api.bots_checkDownloadFileParams | Api.bots_getAdminedBots | Api.bots_updateStarRefProgram | Api.bots_setCustomVerification | Api.bots_getBotRecommendations | Api.payments_getPaymentForm | Api.payments_getPaymentReceipt | Api.payments_validateRequestedInfo | Api.payments_sendPaymentForm | Api.payments_getSavedInfo | Api.payments_clearSavedInfo | Api.payments_getBankCardData | Api.payments_exportInvoice | Api.payments_assignAppStoreTransaction | Api.payments_assignPlayMarketTransaction | Api.payments_getPremiumGiftCodeOptions | Api.payments_checkGiftCode | Api.payments_applyGiftCode | Api.payments_getGiveawayInfo | Api.payments_launchPrepaidGiveaway | Api.payments_getStarsTopupOptions | Api.payments_getStarsStatus | Api.payments_getStarsTransactions | Api.payments_sendStarsForm | Api.payments_refundStarsCharge | Api.payments_getStarsRevenueStats | Api.payments_getStarsRevenueWithdrawalUrl | Api.payments_getStarsRevenueAdsAccountUrl | Api.payments_getStarsTransactionsByID | Api.payments_getStarsGiftOptions | Api.payments_getStarsSubscriptions | Api.payments_changeStarsSubscription | Api.payments_fulfillStarsSubscription | Api.payments_getStarsGiveawayOptions | Api.payments_getStarGifts | Api.payments_saveStarGift | Api.payments_convertStarGift | Api.payments_botCancelStarsSubscription | Api.payments_getConnectedStarRefBots | Api.payments_getConnectedStarRefBot | Api.payments_getSuggestedStarRefBots | Api.payments_connectStarRefBot | Api.payments_editConnectedStarRefBot | Api.payments_getStarGiftUpgradePreview | Api.payments_upgradeStarGift | Api.payments_transferStarGift | Api.payments_getUniqueStarGift | Api.payments_getSavedStarGifts | Api.payments_getSavedStarGift | Api.payments_getStarGiftWithdrawalUrl | Api.payments_toggleChatStarGiftNotifications | Api.payments_toggleStarGiftsPinnedToTop | Api.payments_canPurchaseStore | Api.payments_getResaleStarGifts | Api.payments_updateStarGiftPrice | Api.payments_createStarGiftCollection | Api.payments_updateStarGiftCollection | Api.payments_reorderStarGiftCollections | Api.payments_deleteStarGiftCollection | Api.payments_getStarGiftCollections | Api.payments_getUniqueStarGiftValueInfo | Api.payments_checkCanSendGift | Api.payments_getStarGiftAuctionState | Api.payments_getStarGiftAuctionAcquiredGifts | Api.payments_getStarGiftActiveAuctions | Api.payments_resolveStarGiftOffer | Api.payments_sendStarGiftOffer | Api.payments_getStarGiftUpgradeAttributes | Api.payments_getCraftStarGifts | Api.payments_craftStarGift | Api.stickers_createStickerSet | Api.stickers_removeStickerFromSet | Api.stickers_changeStickerPosition | Api.stickers_addStickerToSet | Api.stickers_setStickerSetThumb | Api.stickers_checkShortName | Api.stickers_suggestShortName | Api.stickers_changeSticker | Api.stickers_renameStickerSet | Api.stickers_deleteStickerSet | Api.stickers_replaceSticker | Api.phone_getCallConfig | Api.phone_requestCall | Api.phone_acceptCall | Api.phone_confirmCall | Api.phone_receivedCall | Api.phone_discardCall | Api.phone_setCallRating | Api.phone_saveCallDebug | Api.phone_sendSignalingData | Api.phone_createGroupCall | Api.phone_joinGroupCall | Api.phone_leaveGroupCall | Api.phone_inviteToGroupCall | Api.phone_discardGroupCall | Api.phone_toggleGroupCallSettings | Api.phone_getGroupCall | Api.phone_getGroupParticipants | Api.phone_checkGroupCall | Api.phone_toggleGroupCallRecord | Api.phone_editGroupCallParticipant | Api.phone_editGroupCallTitle | Api.phone_getGroupCallJoinAs | Api.phone_exportGroupCallInvite | Api.phone_toggleGroupCallStartSubscription | Api.phone_startScheduledGroupCall | Api.phone_saveDefaultGroupCallJoinAs | Api.phone_joinGroupCallPresentation | Api.phone_leaveGroupCallPresentation | Api.phone_getGroupCallStreamChannels | Api.phone_getGroupCallStreamRtmpUrl | Api.phone_saveCallLog | Api.phone_createConferenceCall | Api.phone_deleteConferenceCallParticipants | Api.phone_sendConferenceCallBroadcast | Api.phone_inviteConferenceCallParticipant | Api.phone_declineConferenceCallInvite | Api.phone_getGroupCallChainBlocks | Api.phone_sendGroupCallMessage | Api.phone_sendGroupCallEncryptedMessage | Api.phone_deleteGroupCallMessages | Api.phone_deleteGroupCallParticipantMessages | Api.phone_getGroupCallStars | Api.phone_saveDefaultSendAs | Api.langpack_getLangPack | Api.langpack_getStrings | Api.langpack_getDifference | Api.langpack_getLanguages | Api.langpack_getLanguage | Api.folders_editPeerFolders | Api.stats_getBroadcastStats | Api.stats_loadAsyncGraph | Api.stats_getMegagroupStats | Api.stats_getMessagePublicForwards | Api.stats_getMessageStats | Api.stats_getStoryStats | Api.stats_getStoryPublicForwards | Api.chatlists_exportChatlistInvite | Api.chatlists_deleteExportedInvite | Api.chatlists_editExportedInvite | Api.chatlists_getExportedInvites | Api.chatlists_checkChatlistInvite | Api.chatlists_joinChatlistInvite | Api.chatlists_getChatlistUpdates | Api.chatlists_joinChatlistUpdates | Api.chatlists_hideChatlistUpdates | Api.chatlists_getLeaveChatlistSuggestions | Api.chatlists_leaveChatlist | Api.stories_canSendStory | Api.stories_sendStory | Api.stories_editStory | Api.stories_deleteStories | Api.stories_togglePinned | Api.stories_getAllStories | Api.stories_getPinnedStories | Api.stories_getStoriesArchive | Api.stories_getStoriesByID | Api.stories_toggleAllStoriesHidden | Api.stories_readStories | Api.stories_incrementStoryViews | Api.stories_getStoryViewsList | Api.stories_getStoriesViews | Api.stories_exportStoryLink | Api.stories_report | Api.stories_activateStealthMode | Api.stories_sendReaction | Api.stories_getPeerStories | Api.stories_getAllReadPeerStories | Api.stories_getPeerMaxIDs | Api.stories_getChatsToSend | Api.stories_togglePeerStoriesHidden | Api.stories_getStoryReactionsList | Api.stories_togglePinnedToTop | Api.stories_searchPosts | Api.stories_createAlbum | Api.stories_updateAlbum | Api.stories_reorderAlbums | Api.stories_deleteAlbum | Api.stories_getAlbums | Api.stories_getAlbumStories | Api.stories_startLive | Api.premium_getBoostsList | Api.premium_getMyBoosts | Api.premium_applyBoost | Api.premium_getBoostsStatus | Api.premium_getUserBoosts | Api.smsjobs_isEligibleToJoin | Api.smsjobs_join | Api.smsjobs_leave | Api.smsjobs_updateSettings | Api.smsjobs_getStatus | Api.smsjobs_getSmsJob | Api.smsjobs_finishJob | Api.fragment_getCollectibleInfo | Api.invokeAfterMsg<Api.Function> | Api.invokeAfterMsgs<Api.Function> | Api.initConnection<Api.Function> | Api.invokeWithLayer<Api.Function> | Api.invokeWithoutUpdates<Api.Function> | Api.invokeWithMessagesRange<Api.Function> | Api.invokeWithTakeout<Api.Function> | Api.invokeWithBusinessConnection<Api.Function> | Api.invokeWithGooglePlayIntegrity<Api.Function> | Api.invokeWithApnsSecret<Api.Function> | Api.invokeWithReCaptcha<Api.Function>;
33
33
  export declare function canBeInputUser(inputPeer: Api.InputPeer): inputPeer is Api.inputPeerSelf | Api.inputPeerUser | Api.inputPeerUserFromMessage;
34
34
  export declare function toInputUser(inputPeer: Api.InputPeer): Api.inputUserSelf | Api.inputUser | Api.inputUserFromMessage;
35
35
  export declare function canBeInputChannel(inputPeer: Api.InputPeer): inputPeer is Api.inputPeerChannel | Api.inputPeerChannelFromMessage;
@@ -1 +1 @@
1
- {"version":3,"file":"0_utilities.d.ts","sourceRoot":"","sources":["../../src/client/0_utilities.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,EAAE,GAAG,EAAiB,MAAM,YAAY,CAAC;AAEhD,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,IAAI,IAAI,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC;AAEtD,eAAO,MAAM,OAAO,qBAA0B,CAAC;AAE/C,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,WAMvC;AAsCD,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,UAyBzC;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,SAS7C;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,UAK/C;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,UAK3C;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,QAI7C;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,QAIlE;AAED,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,MAAM,QAI9C;AAED,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,QAI5C;AAYD,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,m5vBAE3C;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,qFAEtD;AACD,wBAAgB,WAAW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CAAC,EAAE,EAAE,MAAM,QAI5C;AAYD,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,qgwBAE3C;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,qFAEtD;AACD,wBAAgB,WAAW,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,gEAYnD;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,uEAEzD;AACD,wBAAgB,cAAc,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,kDAUtD;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAMlD;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,UAUjD;AAED,eAAO,MAAM,6BAA6B,IAAI,CAAC;AAE/C,eAAO,MAAM,kBAAkB,IAAI,CAAC;AACpC,eAAO,MAAM,+BAA+B,IAAI,CAAC"}
@@ -19,7 +19,7 @@
19
19
  */
20
20
  import { type Api } from "../2_tl.js";
21
21
  import type { BusinessConnection, CallbackQuery, ChatAction, ChatMember, ChatP, ChatPChannel, ChatPGroup, ChatPSupergroup, ChosenInlineResult, FileSource, ID, InlineQuery, InlineQueryResult, InputMedia, InviteLink, Message, MessageAnimation, MessageAudio, MessageContact, MessageDice, MessageDocument, MessageInvoice, MessageList, MessageLocation, MessagePhoto, MessagePoll, MessageSticker, MessageText, MessageVenue, MessageVideo, MessageVideoNote, MessageVoice, PriceTag, Reaction, Update, User } from "../3_types.js";
22
- import type { AddReactionParams, AnswerCallbackQueryParams, AnswerInlineQueryParams, AnswerPreCheckoutQueryParams, BanChatMemberParams, CreateInviteLinkParams, DeleteMessagesParams, EditInlineMessageCaptionParams, EditInlineMessageMediaParams, EditInlineMessageTextParams, EditMessageCaptionParams, EditMessageLiveLocationParams, EditMessageMediaParams, EditMessageReplyMarkupParams, EditMessageTextParams, ForwardMessagesParams, GetChatMembersParams, GetCreatedInviteLinksParams, PinMessageParams, PromoteChatMemberParams, ReplyParams, SearchMessagesParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendInvoiceParams, SendLocationParams, SendMediaGroupParams, SendMessageParams, SendPhotoParams, SendPollParams, SendStickerParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams, SetReactionsParams } from "./0_params.js";
22
+ import type { AddReactionParams, AnswerCallbackQueryParams, AnswerInlineQueryParams, AnswerPreCheckoutQueryParams, BanChatMemberParams, CreateInviteLinkParams, DeleteMessagesParams, EditInlineMessageCaptionParams, EditInlineMessageMediaParams, EditInlineMessageTextParams, EditMessageCaptionParams, EditMessageLiveLocationParams, EditMessageMediaParams, EditMessageReplyMarkupParams, EditMessageTextParams, ForwardMessagesParams, GetChatMembersParams, GetCreatedInviteLinksParams, PinMessageParams, PromoteChatMemberParams, ReplyParams, SearchMessagesParams, SendAnimationParams, SendAudioParams, SendContactParams, SendDiceParams, SendDocumentParams, SendInvoiceParams, SendLocationParams, SendMediaGroupParams, SendMessageDraftParams, SendMessageParams, SendPhotoParams, SendPollParams, SendStickerParams, SendVenueParams, SendVideoNoteParams, SendVideoParams, SendVoiceParams, SetChatMemberRightsParams, SetChatPhotoParams, SetReactionsParams } from "./0_params.js";
23
23
  import type { ClientGeneric } from "./1_client_generic.js";
24
24
  /**
25
25
  * The context object that is passed to the client's update handlers.
@@ -51,67 +51,71 @@ export declare class Context {
51
51
  /**
52
52
  * Context-aware alias for {@link Client.sendMessage}.
53
53
  */
54
- reply(text: string, params?: Omit<SendMessageParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageText>;
54
+ reply(text: string, params?: Omit<SendMessageParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageText>;
55
+ /**
56
+ * Context-aware alias for {@link Client.sendMessageDraft}.
57
+ */
58
+ replyDraft(draftId: number, text: string, params?: Omit<SendMessageDraftParams, "messageThreadId"> & ReplyParams): Promise<void>;
55
59
  /**
56
60
  * Context-aware alias for {@link Client.sendPoll}.
57
61
  */
58
- replyPoll(question: string, options: string[], params?: Omit<SendPollParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessagePoll>;
62
+ replyPoll(question: string, options: string[], params?: Omit<SendPollParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessagePoll>;
59
63
  /**
60
64
  * Context-aware alias for {@link Client.sendPhoto}.
61
65
  */
62
- replyPhoto(photo: FileSource, params?: Omit<SendPhotoParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessagePhoto>;
66
+ replyPhoto(photo: FileSource, params?: Omit<SendPhotoParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessagePhoto>;
63
67
  /**
64
68
  * Context-aware alias for {@link Client.sendMediaGroup}.
65
69
  */
66
- replyMediaGroup(media: InputMedia[], params?: Omit<SendMediaGroupParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<Message[]>;
70
+ replyMediaGroup(media: InputMedia[], params?: Omit<SendMediaGroupParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<Message[]>;
67
71
  /**
68
72
  * Context-aware alias for {@link Client.sendInvoice}.
69
73
  */
70
- replyInvoice(title: string, description: string, payload: string, currency: string, prices: PriceTag[], params?: Omit<SendInvoiceParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageInvoice>;
74
+ replyInvoice(title: string, description: string, payload: string, currency: string, prices: PriceTag[], params?: Omit<SendInvoiceParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageInvoice>;
71
75
  /**
72
76
  * Context-aware alias for {@link Client.sendDocument}.
73
77
  */
74
- replyDocument(document: FileSource, params?: Omit<SendDocumentParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageDocument>;
78
+ replyDocument(document: FileSource, params?: Omit<SendDocumentParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageDocument>;
75
79
  /**
76
80
  * Context-aware alias for {@link Client.sendSticker}.
77
81
  */
78
- replySticker(sticker: FileSource, params?: Omit<SendStickerParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageSticker>;
82
+ replySticker(sticker: FileSource, params?: Omit<SendStickerParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageSticker>;
79
83
  /**
80
84
  * Context-aware alias for {@link Client.sendLocation}.
81
85
  */
82
- replyLocation(latitude: number, longitude: number, params?: Omit<SendLocationParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageLocation>;
86
+ replyLocation(latitude: number, longitude: number, params?: Omit<SendLocationParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageLocation>;
83
87
  /**
84
88
  * Context-aware alias for {@link Client.sendDice}.
85
89
  */
86
- replyDice(params?: Omit<SendDiceParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageDice>;
90
+ replyDice(params?: Omit<SendDiceParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageDice>;
87
91
  /**
88
92
  * Context-aware alias for {@link Client.sendVenue}.
89
93
  */
90
- replyVenue(latitude: number, longitude: number, title: string, address: string, params?: Omit<SendVenueParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageVenue>;
94
+ replyVenue(latitude: number, longitude: number, title: string, address: string, params?: Omit<SendVenueParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageVenue>;
91
95
  /**
92
96
  * Context-aware alias for {@link Client.sendContact}.
93
97
  */
94
- replyContact(firstName: string, number: string, params?: Omit<SendContactParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageContact>;
98
+ replyContact(firstName: string, number: string, params?: Omit<SendContactParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageContact>;
95
99
  /**
96
100
  * Context-aware alias for {@link Client.sendVideo}.
97
101
  */
98
- replyVideo(video: FileSource, params?: Omit<SendVideoParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageVideo>;
102
+ replyVideo(video: FileSource, params?: Omit<SendVideoParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageVideo>;
99
103
  /**
100
104
  * Context-aware alias for {@link Client.sendAnimation}.
101
105
  */
102
- replyAnimation(animation: FileSource, params?: Omit<SendAnimationParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageAnimation>;
106
+ replyAnimation(animation: FileSource, params?: Omit<SendAnimationParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageAnimation>;
103
107
  /**
104
108
  * Context-aware alias for {@link Client.sendVoice}.
105
109
  */
106
- replyVoice(voice: FileSource, params?: Omit<SendVoiceParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageVoice>;
110
+ replyVoice(voice: FileSource, params?: Omit<SendVoiceParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageVoice>;
107
111
  /**
108
112
  * Context-aware alias for {@link Client.sendAudio}.
109
113
  */
110
- replyAudio(audio: FileSource, params?: Omit<SendAudioParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageAudio>;
114
+ replyAudio(audio: FileSource, params?: Omit<SendAudioParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageAudio>;
111
115
  /**
112
116
  * Context-aware alias for {@link Client.sendVideoNote}.
113
117
  */
114
- replyVideoNote(videoNote: FileSource, params?: Omit<SendVideoNoteParams, "replyTo" | "businessConnectionId"> & ReplyParams): Promise<MessageVideoNote>;
118
+ replyVideoNote(videoNote: FileSource, params?: Omit<SendVideoNoteParams, "replyTo" | "messageThreadId" | "businessConnectionId"> & ReplyParams): Promise<MessageVideoNote>;
115
119
  /**
116
120
  * Context-aware alias for {@link Client.deleteMessage}.
117
121
  */
@@ -1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AI,CAAC;IAK9E;;OAEG;IACG,gBAAgB,CAAC,MAAM,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,UAAU,CAAC;IAK5E;;OAEG;IACG,qBAAqB,CAAC,MAAM,CAAC,EAAE,2BAA2B,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IAKxF;;OAEG;IACG,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAKhC;;OAEG;IACG,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAIhC;;OAEG;IACG,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAIlC;;OAEG;IACG,aAAa,CAAC,MAAM,EAAE,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;IAKpD;;OAEG;IACG,cAAc,CAAC,MAAM,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IAK1E;;OAEG;IACG,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKvD;;OAEG;IACG,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAK3C;;OAEG;IACG,qBAAqB,IAAI,OAAO,CAAC,kBAAkB,CAAC;IAQ1D;;OAEG;IACG,sBAAsB,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,IAAI,CAAC;IAO/F;;OAEG;IACG,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;IAQzC;;OAEG;IACG,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;CAO1C"}
@@ -112,11 +112,21 @@ class Context {
112
112
  }
113
113
  #getReplyTo = (quote, chatId, messageId) => {
114
114
  if ("story" in this.update) {
115
- return { chatId: this.update.story.chat.id, storyId: this.update.story.id };
115
+ return { replyTo: { chatId: this.update.story.chat.id, storyId: this.update.story.id } };
116
+ }
117
+ let messageThreadId = undefined;
118
+ if ("message" in this.update) {
119
+ messageThreadId = this.update.message.threadId;
120
+ }
121
+ else if ("editedMessage" in this.update) {
122
+ messageThreadId = this.update.editedMessage.threadId;
123
+ }
124
+ else if ("scheduledMessage" in this.update) {
125
+ messageThreadId = this.update.scheduledMessage.threadId;
116
126
  }
117
127
  const isPrivate = chatId > 0;
118
128
  const shouldQuote = quote === undefined ? !isPrivate : quote;
119
- return shouldQuote ? { messageId } : undefined;
129
+ return { messageThreadId, replyTo: shouldQuote ? { messageId } : undefined };
120
130
  };
121
131
  get chat() {
122
132
  return this.msg?.chat ?? ("messageReactions" in this.update ? this.update.messageReactions.chat : "messageReactionCount" in this.update ? this.update.messageReactionCount.chat : "chatMember" in this.update ? this.update.chatMember.chat : "myChatMember" in this.update ? this.update.myChatMember.chat : "joinRequest" in this.update ? this.update.joinRequest.chat : "story" in this.update ? this.update.story.chat : undefined);
@@ -144,7 +154,15 @@ class Context {
144
154
  async reply(text, params) {
145
155
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
146
156
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
147
- return await this.client.sendMessage(chatId, text, { ...params, replyTo, businessConnectionId });
157
+ return await this.client.sendMessage(chatId, text, { ...params, ...replyTo, businessConnectionId });
158
+ }
159
+ /**
160
+ * Context-aware alias for {@link Client.sendMessageDraft}.
161
+ */
162
+ async replyDraft(draftId, text, params) {
163
+ const { chatId, messageId } = this.#mustGetMsg();
164
+ const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
165
+ return await this.client.sendMessageDraft(chatId, draftId, text, { ...params, ...replyTo });
148
166
  }
149
167
  /**
150
168
  * Context-aware alias for {@link Client.sendPoll}.
@@ -152,7 +170,7 @@ class Context {
152
170
  async replyPoll(question, options, params) {
153
171
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
154
172
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
155
- return await this.client.sendPoll(chatId, question, options, { ...params, replyTo, businessConnectionId });
173
+ return await this.client.sendPoll(chatId, question, options, { ...params, ...replyTo, businessConnectionId });
156
174
  }
157
175
  /**
158
176
  * Context-aware alias for {@link Client.sendPhoto}.
@@ -160,7 +178,7 @@ class Context {
160
178
  async replyPhoto(photo, params) {
161
179
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
162
180
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
163
- return await this.client.sendPhoto(chatId, photo, { ...params, replyTo, businessConnectionId });
181
+ return await this.client.sendPhoto(chatId, photo, { ...params, ...replyTo, businessConnectionId });
164
182
  }
165
183
  /**
166
184
  * Context-aware alias for {@link Client.sendMediaGroup}.
@@ -168,7 +186,7 @@ class Context {
168
186
  async replyMediaGroup(media, params) {
169
187
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
170
188
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
171
- return await this.client.sendMediaGroup(chatId, media, { ...params, replyTo, businessConnectionId });
189
+ return await this.client.sendMediaGroup(chatId, media, { ...params, ...replyTo, businessConnectionId });
172
190
  }
173
191
  /**
174
192
  * Context-aware alias for {@link Client.sendInvoice}.
@@ -176,7 +194,7 @@ class Context {
176
194
  async replyInvoice(title, description, payload, currency, prices, params) {
177
195
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
178
196
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
179
- return await this.client.sendInvoice(chatId, title, description, payload, currency, prices, { ...params, replyTo, businessConnectionId });
197
+ return await this.client.sendInvoice(chatId, title, description, payload, currency, prices, { ...params, ...replyTo, businessConnectionId });
180
198
  }
181
199
  /**
182
200
  * Context-aware alias for {@link Client.sendDocument}.
@@ -184,7 +202,7 @@ class Context {
184
202
  async replyDocument(document, params) {
185
203
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
186
204
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
187
- return await this.client.sendDocument(chatId, document, { ...params, replyTo, businessConnectionId });
205
+ return await this.client.sendDocument(chatId, document, { ...params, ...replyTo, businessConnectionId });
188
206
  }
189
207
  /**
190
208
  * Context-aware alias for {@link Client.sendSticker}.
@@ -192,7 +210,7 @@ class Context {
192
210
  async replySticker(sticker, params) {
193
211
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
194
212
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
195
- return await this.client.sendSticker(chatId, sticker, { ...params, replyTo, businessConnectionId });
213
+ return await this.client.sendSticker(chatId, sticker, { ...params, ...replyTo, businessConnectionId });
196
214
  }
197
215
  /**
198
216
  * Context-aware alias for {@link Client.sendLocation}.
@@ -200,7 +218,7 @@ class Context {
200
218
  async replyLocation(latitude, longitude, params) {
201
219
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
202
220
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
203
- return await this.client.sendLocation(chatId, latitude, longitude, { ...params, replyTo, businessConnectionId });
221
+ return await this.client.sendLocation(chatId, latitude, longitude, { ...params, ...replyTo, businessConnectionId });
204
222
  }
205
223
  /**
206
224
  * Context-aware alias for {@link Client.sendDice}.
@@ -208,7 +226,7 @@ class Context {
208
226
  async replyDice(params) {
209
227
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
210
228
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
211
- return await this.client.sendDice(chatId, { ...params, replyTo, businessConnectionId });
229
+ return await this.client.sendDice(chatId, { ...params, ...replyTo, businessConnectionId });
212
230
  }
213
231
  /**
214
232
  * Context-aware alias for {@link Client.sendVenue}.
@@ -216,7 +234,7 @@ class Context {
216
234
  async replyVenue(latitude, longitude, title, address, params) {
217
235
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
218
236
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
219
- return await this.client.sendVenue(chatId, latitude, longitude, title, address, { ...params, replyTo, businessConnectionId });
237
+ return await this.client.sendVenue(chatId, latitude, longitude, title, address, { ...params, ...replyTo, businessConnectionId });
220
238
  }
221
239
  /**
222
240
  * Context-aware alias for {@link Client.sendContact}.
@@ -224,7 +242,7 @@ class Context {
224
242
  async replyContact(firstName, number, params) {
225
243
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
226
244
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
227
- return await this.client.sendContact(chatId, firstName, number, { ...params, replyTo, businessConnectionId });
245
+ return await this.client.sendContact(chatId, firstName, number, { ...params, ...replyTo, businessConnectionId });
228
246
  }
229
247
  /**
230
248
  * Context-aware alias for {@link Client.sendVideo}.
@@ -232,7 +250,7 @@ class Context {
232
250
  async replyVideo(video, params) {
233
251
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
234
252
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
235
- return await this.client.sendVideo(chatId, video, { ...params, replyTo, businessConnectionId });
253
+ return await this.client.sendVideo(chatId, video, { ...params, ...replyTo, businessConnectionId });
236
254
  }
237
255
  /**
238
256
  * Context-aware alias for {@link Client.sendAnimation}.
@@ -240,7 +258,7 @@ class Context {
240
258
  async replyAnimation(animation, params) {
241
259
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
242
260
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
243
- return await this.client.sendAnimation(chatId, animation, { ...params, replyTo, businessConnectionId });
261
+ return await this.client.sendAnimation(chatId, animation, { ...params, ...replyTo, businessConnectionId });
244
262
  }
245
263
  /**
246
264
  * Context-aware alias for {@link Client.sendVoice}.
@@ -248,7 +266,7 @@ class Context {
248
266
  async replyVoice(voice, params) {
249
267
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
250
268
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
251
- return await this.client.sendVoice(chatId, voice, { ...params, replyTo, businessConnectionId });
269
+ return await this.client.sendVoice(chatId, voice, { ...params, ...replyTo, businessConnectionId });
252
270
  }
253
271
  /**
254
272
  * Context-aware alias for {@link Client.sendAudio}.
@@ -256,7 +274,7 @@ class Context {
256
274
  async replyAudio(audio, params) {
257
275
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
258
276
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
259
- return await this.client.sendAudio(chatId, audio, { ...params, replyTo, businessConnectionId });
277
+ return await this.client.sendAudio(chatId, audio, { ...params, ...replyTo, businessConnectionId });
260
278
  }
261
279
  /**
262
280
  * Context-aware alias for {@link Client.sendVideoNote}.
@@ -264,7 +282,7 @@ class Context {
264
282
  async replyVideoNote(videoNote, params) {
265
283
  const { chatId, messageId, businessConnectionId } = this.#mustGetMsg();
266
284
  const replyTo = this.#getReplyTo(params?.quote, chatId, messageId);
267
- return await this.client.sendVideoNote(chatId, videoNote, { ...params, replyTo, businessConnectionId });
285
+ return await this.client.sendVideoNote(chatId, videoNote, { ...params, ...replyTo, businessConnectionId });
268
286
  }
269
287
  /**
270
288
  * Context-aware alias for {@link Client.deleteMessage}.
@@ -345,7 +345,7 @@ class MessageManager {
345
345
  const topMsgId = params?.messageThreadId;
346
346
  if (!params?.replyTo) {
347
347
  if (topMsgId) {
348
- return { _: "inputReplyToMessage", reply_to_msg_id: topMsgId };
348
+ return { _: "inputReplyToMessage", reply_to_msg_id: topMsgId, top_msg_id: topMsgId };
349
349
  }
350
350
  else {
351
351
  return undefined;
@@ -397,10 +397,10 @@ class ChatManager {
397
397
  if (isSelf || _2_tl_js_1.Api.peerToChatId(user_id) === await this.#c.getSelfId()) {
398
398
  throw new _0_errors_js_1.InputError("A user ID except that of the current one was expected.");
399
399
  }
400
- const channel = await this.#c.getInputChannel(chatId);
400
+ const peer = await this.#c.getInputPeer(chatId);
401
401
  const ap = await this.#c.invoke({ _: "account.getPassword" });
402
402
  const password_ = await (0, _0_password_js_1.checkPassword)(password, ap);
403
- await this.#c.invoke({ _: "channels.editCreator", channel, user_id, password: password_ });
403
+ await this.#c.invoke({ _: "messages.editChatCreator", peer, user_id, password: password_ });
404
404
  }
405
405
  async promoteChatMember(chatId, userId, params) {
406
406
  const channel = await this.#c.getInputChannel(chatId);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Make an assertion, error will be thrown if `expr` does not have truthy value.
2
+ * Make an assertion, an error will be thrown if `expr` does not have a truthy value.
3
3
  *
4
4
  * @example Usage
5
5
  * ```ts ignore
@@ -11,6 +11,7 @@
11
11
  *
12
12
  * @param expr The expression to test.
13
13
  * @param msg The optional message to display if the assertion fails.
14
+ * @throws {AssertionError} If `expr` is falsy.
14
15
  */
15
16
  export declare function assert(expr: unknown, msg?: string): asserts expr;
16
17
  //# sourceMappingURL=assert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.19/assert.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,SAAK,GAAG,OAAO,CAAC,IAAI,CAI5D"}
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.assert = assert;
4
- // Copyright 2018-2025 the Deno authors. MIT license.
4
+ // Copyright 2018-2026 the Deno authors. MIT license.
5
5
  // This module is browser compatible.
6
6
  const assertion_error_js_1 = require("./assertion_error.js");
7
7
  /**
8
- * Make an assertion, error will be thrown if `expr` does not have truthy value.
8
+ * Make an assertion, an error will be thrown if `expr` does not have a truthy value.
9
9
  *
10
10
  * @example Usage
11
11
  * ```ts ignore
@@ -17,6 +17,7 @@ const assertion_error_js_1 = require("./assertion_error.js");
17
17
  *
18
18
  * @param expr The expression to test.
19
19
  * @param msg The optional message to display if the assertion fails.
20
+ * @throws {AssertionError} If `expr` is falsy.
20
21
  */
21
22
  function assert(expr, msg = "") {
22
23
  if (!expr) {
@@ -1 +1 @@
1
- {"version":3,"file":"assertion_error.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.16/assertion_error.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,cAAe,SAAQ,KAAK;IACvC;;;;OAIG;gBACS,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY;CAIpD"}
1
+ {"version":3,"file":"assertion_error.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.19/assertion_error.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,cAAe,SAAQ,KAAK;IACvC;;;;OAIG;gBACS,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY;CAIpD"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
2
+ // Copyright 2018-2026 the Deno authors. MIT license.
3
3
  // This module is browser compatible.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.AssertionError = void 0;
@@ -1,10 +1,18 @@
1
1
  /**
2
2
  * Deep equality comparison used in assertions.
3
3
  *
4
+ * This function is based on value equality, but for some cases (such as data
5
+ * that can only be read asynchronously or function properties) value equality
6
+ * is not possible to determine. In such cases, reference equality is used
7
+ * instead, which may cause false negatives for objects such as `Blob`s or
8
+ * `Request`s.
9
+ *
4
10
  * @param a The actual value
5
11
  * @param b The expected value
6
12
  * @returns `true` if the values are deeply equal, `false` otherwise
7
13
  *
14
+ * @throws {TypeError} If either value is a `WeakMap` or `WeakSet`.
15
+ *
8
16
  * @example Usage
9
17
  * ```ts
10
18
  * import { equal } from "@std/assert/equal";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.19/equal.ts"],"names":[],"mappings":"AA0FA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,KAAK,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,GAAG,OAAO,CAgHrD"}
@@ -34,7 +34,7 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.equal = equal;
37
- // Copyright 2018-2025 the Deno authors. MIT license.
37
+ // Copyright 2018-2026 the Deno authors. MIT license.
38
38
  // This module is browser compatible.
39
39
  const dntShim = __importStar(require("../../../../../_dnt.shims.js"));
40
40
  function isKeyedCollection(x) {
@@ -111,10 +111,18 @@ function sameValueZero(a, b) {
111
111
  /**
112
112
  * Deep equality comparison used in assertions.
113
113
  *
114
+ * This function is based on value equality, but for some cases (such as data
115
+ * that can only be read asynchronously or function properties) value equality
116
+ * is not possible to determine. In such cases, reference equality is used
117
+ * instead, which may cause false negatives for objects such as `Blob`s or
118
+ * `Request`s.
119
+ *
114
120
  * @param a The actual value
115
121
  * @param b The expected value
116
122
  * @returns `true` if the values are deeply equal, `false` otherwise
117
123
  *
124
+ * @throws {TypeError} If either value is a `WeakMap` or `WeakSet`.
125
+ *
118
126
  * @example Usage
119
127
  * ```ts
120
128
  * import { equal } from "@std/assert/equal";
@@ -5,9 +5,11 @@
5
5
  * Type parameter can be specified to ensure values under comparison have the
6
6
  * same type.
7
7
  *
8
- * Note: When comparing `Blob` objects, you should first convert them to
9
- * `Uint8Array` using the `Blob.bytes()` method and then compare their
10
- * contents.
8
+ * Note: This function is based on value equality, but for some cases (such as
9
+ * data that can only be read asynchronously or function properties) value
10
+ * equality is not possible to determine. In such cases, reference equality is
11
+ * used instead, which may cause false negatives for objects such as `Blob`s or
12
+ * `Request`s.
11
13
  *
12
14
  * @example Usage
13
15
  * ```ts ignore
@@ -0,0 +1 @@
1
+ {"version":3,"file":"equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.19/equals.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAC5B,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QAmBb"}