@mtkruto/node 0.146.0 → 0.148.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 (249) hide show
  1. package/esm/0_deps.d.ts +8 -8
  2. package/esm/0_deps.js +8 -8
  3. package/esm/client/0_utilities.d.ts +1 -1
  4. package/esm/client/0_utilities.d.ts.map +1 -1
  5. package/esm/client/1_client_generic.d.ts +7 -0
  6. package/esm/client/1_client_generic.d.ts.map +1 -1
  7. package/esm/client/3_message_manager.d.ts.map +1 -1
  8. package/esm/client/3_message_manager.js +1 -0
  9. package/esm/client/3_sticker_set_manager.d.ts +1 -0
  10. package/esm/client/3_sticker_set_manager.d.ts.map +1 -1
  11. package/esm/client/3_sticker_set_manager.js +4 -0
  12. package/esm/client/6_client.d.ts +7 -0
  13. package/esm/client/6_client.d.ts.map +1 -1
  14. package/esm/client/6_client.js +9 -0
  15. package/esm/client/6_client_dispatcher.d.ts +7 -0
  16. package/esm/client/6_client_dispatcher.d.ts.map +1 -1
  17. package/esm/client/6_client_dispatcher.js +9 -0
  18. package/{script/deps/jsr.io/@std/async/1.3.0 → esm/deps/jsr.io/@std/async/1.4.0}/delay.d.ts.map +1 -1
  19. package/esm/deps/jsr.io/@std/async/{1.3.0 → 1.4.0}/pool.d.ts.map +1 -1
  20. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/assert_path.d.ts.map +1 -1
  21. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/assert_path.js +1 -1
  22. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/basename.d.ts.map +1 -1
  23. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/basename.js +1 -1
  24. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/constants.d.ts.map +1 -1
  25. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/constants.js +1 -1
  26. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/from_file_url.d.ts.map +1 -1
  27. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/from_file_url.js +1 -1
  28. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/normalize.d.ts.map +1 -1
  29. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/normalize.js +1 -1
  30. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/normalize_string.d.ts.map +1 -1
  31. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/normalize_string.js +1 -1
  32. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/strip_trailing_separators.d.ts.map +1 -1
  33. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/strip_trailing_separators.js +1 -1
  34. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/to_file_url.d.ts.map +1 -1
  35. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/to_file_url.js +1 -1
  36. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/basename.d.ts +4 -1
  37. package/esm/deps/jsr.io/@std/path/1.1.5/basename.d.ts.map +1 -0
  38. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/basename.js +5 -2
  39. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/extname.d.ts +4 -1
  40. package/esm/deps/jsr.io/@std/path/1.1.5/extname.d.ts.map +1 -0
  41. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/extname.js +5 -2
  42. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/is_absolute.d.ts.map +1 -1
  43. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/is_absolute.js +1 -1
  44. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/join.d.ts.map +1 -1
  45. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/join.js +1 -1
  46. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/_util.d.ts.map +1 -1
  47. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/_util.js +1 -1
  48. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.5}/posix/basename.d.ts +5 -0
  49. package/esm/deps/jsr.io/@std/path/1.1.5/posix/basename.d.ts.map +1 -0
  50. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/basename.js +6 -1
  51. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.5}/posix/extname.d.ts +5 -0
  52. package/esm/deps/jsr.io/@std/path/1.1.5/posix/extname.d.ts.map +1 -0
  53. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/extname.js +6 -1
  54. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/from_file_url.d.ts.map +1 -1
  55. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/from_file_url.js +1 -1
  56. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/is_absolute.d.ts.map +1 -1
  57. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/is_absolute.js +1 -1
  58. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.5}/posix/join.d.ts.map +1 -1
  59. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/join.js +1 -1
  60. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.5}/posix/normalize.d.ts.map +1 -1
  61. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/normalize.js +1 -1
  62. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.5}/posix/to_file_url.d.ts.map +1 -1
  63. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/to_file_url.js +1 -1
  64. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.5}/to_file_url.d.ts.map +1 -1
  65. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/to_file_url.js +1 -1
  66. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/_util.d.ts.map +1 -1
  67. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/_util.js +1 -1
  68. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/basename.d.ts +1 -0
  69. package/esm/deps/jsr.io/@std/path/1.1.5/windows/basename.d.ts.map +1 -0
  70. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/basename.js +2 -1
  71. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.5}/windows/extname.d.ts +1 -0
  72. package/esm/deps/jsr.io/@std/path/1.1.5/windows/extname.d.ts.map +1 -0
  73. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/extname.js +2 -1
  74. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.5}/windows/from_file_url.d.ts.map +1 -1
  75. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/from_file_url.js +1 -1
  76. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.5}/windows/is_absolute.d.ts.map +1 -1
  77. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/is_absolute.js +1 -1
  78. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.5}/windows/join.d.ts.map +1 -1
  79. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/join.js +1 -1
  80. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.5}/windows/normalize.d.ts.map +1 -1
  81. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/normalize.js +1 -1
  82. package/{script/deps/jsr.io/@std/path/1.1.4 → esm/deps/jsr.io/@std/path/1.1.5}/windows/to_file_url.d.ts.map +1 -1
  83. package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/to_file_url.js +1 -1
  84. package/esm/deps/jsr.io/@std/streams/{1.1.0 → 1.1.1}/to_array_buffer.d.ts.map +1 -1
  85. package/esm/tl/1_telegram_api.d.ts +438 -96
  86. package/esm/tl/1_telegram_api.d.ts.map +1 -1
  87. package/esm/tl/1_telegram_api.js +534 -111
  88. package/esm/types/6_message.d.ts.map +1 -1
  89. package/esm/types/6_message.js +6 -2
  90. package/package.json +1 -1
  91. package/script/0_deps.d.ts +8 -8
  92. package/script/0_deps.js +8 -8
  93. package/script/client/0_utilities.d.ts +1 -1
  94. package/script/client/0_utilities.d.ts.map +1 -1
  95. package/script/client/1_client_generic.d.ts +7 -0
  96. package/script/client/1_client_generic.d.ts.map +1 -1
  97. package/script/client/3_message_manager.d.ts.map +1 -1
  98. package/script/client/3_message_manager.js +1 -0
  99. package/script/client/3_sticker_set_manager.d.ts +1 -0
  100. package/script/client/3_sticker_set_manager.d.ts.map +1 -1
  101. package/script/client/3_sticker_set_manager.js +4 -0
  102. package/script/client/6_client.d.ts +7 -0
  103. package/script/client/6_client.d.ts.map +1 -1
  104. package/script/client/6_client.js +9 -0
  105. package/script/client/6_client_dispatcher.d.ts +7 -0
  106. package/script/client/6_client_dispatcher.d.ts.map +1 -1
  107. package/script/client/6_client_dispatcher.js +9 -0
  108. package/{esm/deps/jsr.io/@std/async/1.3.0 → script/deps/jsr.io/@std/async/1.4.0}/delay.d.ts.map +1 -1
  109. package/script/deps/jsr.io/@std/async/{1.3.0 → 1.4.0}/pool.d.ts.map +1 -1
  110. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/assert_path.d.ts.map +1 -1
  111. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/assert_path.js +1 -1
  112. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/basename.d.ts.map +1 -1
  113. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/basename.js +1 -1
  114. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/constants.d.ts.map +1 -1
  115. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/constants.js +1 -1
  116. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/from_file_url.d.ts.map +1 -1
  117. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/from_file_url.js +1 -1
  118. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/normalize.d.ts.map +1 -1
  119. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/normalize.js +1 -1
  120. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/normalize_string.d.ts.map +1 -1
  121. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/normalize_string.js +1 -1
  122. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/strip_trailing_separators.d.ts.map +1 -1
  123. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/strip_trailing_separators.js +1 -1
  124. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/to_file_url.d.ts.map +1 -1
  125. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/to_file_url.js +1 -1
  126. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/basename.d.ts +4 -1
  127. package/script/deps/jsr.io/@std/path/1.1.5/basename.d.ts.map +1 -0
  128. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/basename.js +5 -2
  129. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/extname.d.ts +4 -1
  130. package/script/deps/jsr.io/@std/path/1.1.5/extname.d.ts.map +1 -0
  131. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/extname.js +5 -2
  132. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/is_absolute.d.ts.map +1 -1
  133. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/is_absolute.js +1 -1
  134. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/join.d.ts.map +1 -1
  135. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/join.js +1 -1
  136. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/_util.d.ts.map +1 -1
  137. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/_util.js +1 -1
  138. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.5}/posix/basename.d.ts +5 -0
  139. package/script/deps/jsr.io/@std/path/1.1.5/posix/basename.d.ts.map +1 -0
  140. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/basename.js +6 -1
  141. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.5}/posix/extname.d.ts +5 -0
  142. package/script/deps/jsr.io/@std/path/1.1.5/posix/extname.d.ts.map +1 -0
  143. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/extname.js +6 -1
  144. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/from_file_url.d.ts.map +1 -1
  145. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/from_file_url.js +1 -1
  146. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/is_absolute.d.ts.map +1 -1
  147. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/is_absolute.js +1 -1
  148. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.5}/posix/join.d.ts.map +1 -1
  149. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/join.js +1 -1
  150. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.5}/posix/normalize.d.ts.map +1 -1
  151. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/normalize.js +1 -1
  152. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.5}/posix/to_file_url.d.ts.map +1 -1
  153. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/to_file_url.js +1 -1
  154. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.5}/to_file_url.d.ts.map +1 -1
  155. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/to_file_url.js +1 -1
  156. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/_util.d.ts.map +1 -1
  157. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/_util.js +1 -1
  158. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/basename.d.ts +1 -0
  159. package/script/deps/jsr.io/@std/path/1.1.5/windows/basename.d.ts.map +1 -0
  160. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/basename.js +2 -1
  161. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.5}/windows/extname.d.ts +1 -0
  162. package/script/deps/jsr.io/@std/path/1.1.5/windows/extname.d.ts.map +1 -0
  163. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/extname.js +2 -1
  164. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.5}/windows/from_file_url.d.ts.map +1 -1
  165. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/from_file_url.js +1 -1
  166. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.5}/windows/is_absolute.d.ts.map +1 -1
  167. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/is_absolute.js +1 -1
  168. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.5}/windows/join.d.ts.map +1 -1
  169. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/join.js +1 -1
  170. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.5}/windows/normalize.d.ts.map +1 -1
  171. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/normalize.js +1 -1
  172. package/{esm/deps/jsr.io/@std/path/1.1.4 → script/deps/jsr.io/@std/path/1.1.5}/windows/to_file_url.d.ts.map +1 -1
  173. package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/to_file_url.js +1 -1
  174. package/script/deps/jsr.io/@std/streams/{1.1.0 → 1.1.1}/to_array_buffer.d.ts.map +1 -1
  175. package/script/tl/1_telegram_api.d.ts +438 -96
  176. package/script/tl/1_telegram_api.d.ts.map +1 -1
  177. package/script/tl/1_telegram_api.js +534 -111
  178. package/script/types/6_message.d.ts.map +1 -1
  179. package/script/types/6_message.js +6 -2
  180. package/esm/deps/jsr.io/@std/path/1.1.4/basename.d.ts.map +0 -1
  181. package/esm/deps/jsr.io/@std/path/1.1.4/extname.d.ts.map +0 -1
  182. package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts.map +0 -1
  183. package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts.map +0 -1
  184. package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts.map +0 -1
  185. package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts.map +0 -1
  186. package/script/deps/jsr.io/@std/path/1.1.4/basename.d.ts.map +0 -1
  187. package/script/deps/jsr.io/@std/path/1.1.4/extname.d.ts.map +0 -1
  188. package/script/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts.map +0 -1
  189. package/script/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts.map +0 -1
  190. package/script/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts.map +0 -1
  191. package/script/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts.map +0 -1
  192. /package/esm/deps/jsr.io/@std/async/{1.3.0 → 1.4.0}/delay.d.ts +0 -0
  193. /package/esm/deps/jsr.io/@std/async/{1.3.0 → 1.4.0}/delay.js +0 -0
  194. /package/esm/deps/jsr.io/@std/async/{1.3.0 → 1.4.0}/pool.d.ts +0 -0
  195. /package/esm/deps/jsr.io/@std/async/{1.3.0 → 1.4.0}/pool.js +0 -0
  196. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/assert_path.d.ts +0 -0
  197. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/basename.d.ts +0 -0
  198. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/constants.d.ts +0 -0
  199. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/from_file_url.d.ts +0 -0
  200. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/normalize.d.ts +0 -0
  201. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/normalize_string.d.ts +0 -0
  202. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/strip_trailing_separators.d.ts +0 -0
  203. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/to_file_url.d.ts +0 -0
  204. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/is_absolute.d.ts +0 -0
  205. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/join.d.ts +0 -0
  206. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/_util.d.ts +0 -0
  207. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/from_file_url.d.ts +0 -0
  208. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/is_absolute.d.ts +0 -0
  209. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/join.d.ts +0 -0
  210. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/normalize.d.ts +0 -0
  211. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/to_file_url.d.ts +0 -0
  212. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/to_file_url.d.ts +0 -0
  213. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/_util.d.ts +0 -0
  214. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/from_file_url.d.ts +0 -0
  215. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/is_absolute.d.ts +0 -0
  216. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/join.d.ts +0 -0
  217. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/normalize.d.ts +0 -0
  218. /package/esm/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/to_file_url.d.ts +0 -0
  219. /package/esm/deps/jsr.io/@std/streams/{1.1.0 → 1.1.1}/to_array_buffer.d.ts +0 -0
  220. /package/esm/deps/jsr.io/@std/streams/{1.1.0 → 1.1.1}/to_array_buffer.js +0 -0
  221. /package/script/deps/jsr.io/@std/async/{1.3.0 → 1.4.0}/delay.d.ts +0 -0
  222. /package/script/deps/jsr.io/@std/async/{1.3.0 → 1.4.0}/delay.js +0 -0
  223. /package/script/deps/jsr.io/@std/async/{1.3.0 → 1.4.0}/pool.d.ts +0 -0
  224. /package/script/deps/jsr.io/@std/async/{1.3.0 → 1.4.0}/pool.js +0 -0
  225. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/assert_path.d.ts +0 -0
  226. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/basename.d.ts +0 -0
  227. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/constants.d.ts +0 -0
  228. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/from_file_url.d.ts +0 -0
  229. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/normalize.d.ts +0 -0
  230. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/normalize_string.d.ts +0 -0
  231. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/strip_trailing_separators.d.ts +0 -0
  232. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/_common/to_file_url.d.ts +0 -0
  233. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/is_absolute.d.ts +0 -0
  234. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/join.d.ts +0 -0
  235. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/_util.d.ts +0 -0
  236. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/from_file_url.d.ts +0 -0
  237. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/is_absolute.d.ts +0 -0
  238. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/join.d.ts +0 -0
  239. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/normalize.d.ts +0 -0
  240. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/posix/to_file_url.d.ts +0 -0
  241. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/to_file_url.d.ts +0 -0
  242. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/_util.d.ts +0 -0
  243. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/from_file_url.d.ts +0 -0
  244. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/is_absolute.d.ts +0 -0
  245. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/join.d.ts +0 -0
  246. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/normalize.d.ts +0 -0
  247. /package/script/deps/jsr.io/@std/path/{1.1.4 → 1.1.5}/windows/to_file_url.d.ts +0 -0
  248. /package/script/deps/jsr.io/@std/streams/{1.1.0 → 1.1.1}/to_array_buffer.d.ts +0 -0
  249. /package/script/deps/jsr.io/@std/streams/{1.1.0 → 1.1.1}/to_array_buffer.js +0 -0
@@ -33,47 +33,9 @@ export interface error {
33
33
  code: number;
34
34
  text: string;
35
35
  }
36
- /** https://core.telegram.org/constructor/ipPort */
37
- export interface ipPort {
38
- _: "ipPort";
39
- ipv4: number;
40
- port: number;
41
- }
42
- /** https://core.telegram.org/constructor/ipPortSecret */
43
- export interface ipPortSecret {
44
- _: "ipPortSecret";
45
- ipv4: number;
46
- port: number;
47
- secret: Uint8Array<ArrayBuffer>;
48
- }
49
- /** https://core.telegram.org/constructor/accessPointRule */
50
- export interface accessPointRule {
51
- _: "accessPointRule";
52
- phone_prefix_rules: string;
53
- dc_id: number;
54
- ips: Array<IpPort>;
55
- }
56
- /** https://core.telegram.org/constructor/help.configSimple */
57
- export interface help_configSimple {
58
- _: "help.configSimple";
59
- date: number;
60
- expires: number;
61
- rules: Array<AccessPointRule>;
62
- }
63
- /** https://core.telegram.org/constructor/inputPeerPhotoFileLocationLegacy */
64
- export interface inputPeerPhotoFileLocationLegacy {
65
- _: "inputPeerPhotoFileLocationLegacy";
66
- big?: true;
67
- peer: InputPeer;
68
- volume_id: bigint;
69
- local_id: number;
70
- }
71
- /** https://core.telegram.org/constructor/inputStickerSetThumbLegacy */
72
- export interface inputStickerSetThumbLegacy {
73
- _: "inputStickerSetThumbLegacy";
74
- stickerset: InputStickerSet;
75
- volume_id: bigint;
76
- local_id: number;
36
+ /** https://core.telegram.org/constructor/null */
37
+ export interface null_ {
38
+ _: "null";
77
39
  }
78
40
  /** https://core.telegram.org/constructor/inputPeerEmpty */
79
41
  export interface inputPeerEmpty {
@@ -529,6 +491,7 @@ export interface user {
529
491
  bot_forum_can_manage_topics?: true;
530
492
  bot_can_manage_bots?: true;
531
493
  bot_guestchat?: true;
494
+ bot_guard?: true;
532
495
  id: bigint;
533
496
  access_hash?: bigint;
534
497
  first_name?: string;
@@ -779,6 +742,7 @@ export interface channelFull {
779
742
  stargifts_count?: number;
780
743
  send_paid_messages_stars?: bigint;
781
744
  main_tab?: ProfileTab;
745
+ guard_bot_id?: bigint;
782
746
  }
783
747
  /** https://core.telegram.org/constructor/chatParticipant */
784
748
  export interface chatParticipant {
@@ -884,6 +848,7 @@ export interface message {
884
848
  suggested_post?: SuggestedPost;
885
849
  schedule_repeat_period?: number;
886
850
  summary_from_language?: string;
851
+ rich_message?: RichMessage;
887
852
  }
888
853
  /** https://core.telegram.org/constructor/messageService */
889
854
  export interface messageService {
@@ -2735,6 +2700,7 @@ export interface updateBotChatInviteRequester {
2735
2700
  about: string;
2736
2701
  invite: ExportedChatInvite;
2737
2702
  qts: number;
2703
+ query_id?: bigint;
2738
2704
  }
2739
2705
  /** https://core.telegram.org/constructor/updateMessageReactions */
2740
2706
  export interface updateMessageReactions {
@@ -3115,6 +3081,35 @@ export interface updateBotGuestChatQuery {
3115
3081
  export interface updateAiComposeTones {
3116
3082
  _: "updateAiComposeTones";
3117
3083
  }
3084
+ /** https://core.telegram.org/constructor/updateJoinChatWebViewDecision */
3085
+ export interface updateJoinChatWebViewDecision {
3086
+ _: "updateJoinChatWebViewDecision";
3087
+ peer: Peer;
3088
+ query_id: bigint;
3089
+ result: JoinChatBotResult;
3090
+ }
3091
+ /** https://core.telegram.org/constructor/updateNewBotConnection */
3092
+ export interface updateNewBotConnection {
3093
+ _: "updateNewBotConnection";
3094
+ confirmed?: true;
3095
+ bot_id: bigint;
3096
+ date?: number;
3097
+ device?: string;
3098
+ location?: string;
3099
+ }
3100
+ /** https://core.telegram.org/constructor/updateWebBrowserSettings */
3101
+ export interface updateWebBrowserSettings {
3102
+ _: "updateWebBrowserSettings";
3103
+ open_external_browser?: true;
3104
+ display_close_button?: true;
3105
+ }
3106
+ /** https://core.telegram.org/constructor/updateWebBrowserException */
3107
+ export interface updateWebBrowserException {
3108
+ _: "updateWebBrowserException";
3109
+ delete?: true;
3110
+ open_external_browser?: boolean;
3111
+ exception: WebDomainException;
3112
+ }
3118
3113
  /** https://core.telegram.org/constructor/updates.state */
3119
3114
  export interface updates_state {
3120
3115
  _: "updates.state";
@@ -3637,6 +3632,18 @@ export interface sendMessageTextDraftAction {
3637
3632
  random_id: bigint;
3638
3633
  text: TextWithEntities;
3639
3634
  }
3635
+ /** https://core.telegram.org/constructor/inputSendMessageRichMessageDraftAction */
3636
+ export interface inputSendMessageRichMessageDraftAction {
3637
+ _: "inputSendMessageRichMessageDraftAction";
3638
+ random_id: bigint;
3639
+ rich_message: InputRichMessage;
3640
+ }
3641
+ /** https://core.telegram.org/constructor/sendMessageRichMessageDraftAction */
3642
+ export interface sendMessageRichMessageDraftAction {
3643
+ _: "sendMessageRichMessageDraftAction";
3644
+ random_id: bigint;
3645
+ rich_message: RichMessage;
3646
+ }
3640
3647
  /** https://core.telegram.org/constructor/contacts.found */
3641
3648
  export interface contacts_found {
3642
3649
  _: "contacts.found";
@@ -4839,6 +4846,12 @@ export interface inputBotInlineMessageMediaWebPage {
4839
4846
  url: string;
4840
4847
  reply_markup?: ReplyMarkup;
4841
4848
  }
4849
+ /** https://core.telegram.org/constructor/inputBotInlineMessageRichMessage */
4850
+ export interface inputBotInlineMessageRichMessage {
4851
+ _: "inputBotInlineMessageRichMessage";
4852
+ reply_markup?: ReplyMarkup;
4853
+ rich_message: InputRichMessage;
4854
+ }
4842
4855
  /** https://core.telegram.org/constructor/inputBotInlineResult */
4843
4856
  export interface inputBotInlineResult {
4844
4857
  _: "inputBotInlineResult";
@@ -4947,6 +4960,12 @@ export interface botInlineMessageMediaWebPage {
4947
4960
  url: string;
4948
4961
  reply_markup?: ReplyMarkup;
4949
4962
  }
4963
+ /** https://core.telegram.org/constructor/botInlineMessageRichMessage */
4964
+ export interface botInlineMessageRichMessage {
4965
+ _: "botInlineMessageRichMessage";
4966
+ reply_markup?: ReplyMarkup;
4967
+ rich_message: RichMessage;
4968
+ }
4950
4969
  /** https://core.telegram.org/constructor/botInlineResult */
4951
4970
  export interface botInlineResult {
4952
4971
  _: "botInlineResult";
@@ -5223,6 +5242,7 @@ export interface draftMessage {
5223
5242
  date: number;
5224
5243
  effect?: bigint;
5225
5244
  suggested_post?: SuggestedPost;
5245
+ rich_message?: RichMessage;
5226
5246
  }
5227
5247
  /** https://core.telegram.org/constructor/messages.featuredStickersNotModified */
5228
5248
  export interface messages_featuredStickersNotModified {
@@ -5430,6 +5450,80 @@ export interface textAnchor {
5430
5450
  text: RichText;
5431
5451
  name: string;
5432
5452
  }
5453
+ /** https://core.telegram.org/constructor/textMath */
5454
+ export interface textMath {
5455
+ _: "textMath";
5456
+ source: string;
5457
+ }
5458
+ /** https://core.telegram.org/constructor/textCustomEmoji */
5459
+ export interface textCustomEmoji {
5460
+ _: "textCustomEmoji";
5461
+ document_id: bigint;
5462
+ alt: string;
5463
+ }
5464
+ /** https://core.telegram.org/constructor/textSpoiler */
5465
+ export interface textSpoiler {
5466
+ _: "textSpoiler";
5467
+ text: RichText;
5468
+ }
5469
+ /** https://core.telegram.org/constructor/textMention */
5470
+ export interface textMention {
5471
+ _: "textMention";
5472
+ text: RichText;
5473
+ }
5474
+ /** https://core.telegram.org/constructor/textHashtag */
5475
+ export interface textHashtag {
5476
+ _: "textHashtag";
5477
+ text: RichText;
5478
+ }
5479
+ /** https://core.telegram.org/constructor/textBotCommand */
5480
+ export interface textBotCommand {
5481
+ _: "textBotCommand";
5482
+ text: RichText;
5483
+ }
5484
+ /** https://core.telegram.org/constructor/textCashtag */
5485
+ export interface textCashtag {
5486
+ _: "textCashtag";
5487
+ text: RichText;
5488
+ }
5489
+ /** https://core.telegram.org/constructor/textAutoUrl */
5490
+ export interface textAutoUrl {
5491
+ _: "textAutoUrl";
5492
+ text: RichText;
5493
+ }
5494
+ /** https://core.telegram.org/constructor/textAutoEmail */
5495
+ export interface textAutoEmail {
5496
+ _: "textAutoEmail";
5497
+ text: RichText;
5498
+ }
5499
+ /** https://core.telegram.org/constructor/textAutoPhone */
5500
+ export interface textAutoPhone {
5501
+ _: "textAutoPhone";
5502
+ text: RichText;
5503
+ }
5504
+ /** https://core.telegram.org/constructor/textBankCard */
5505
+ export interface textBankCard {
5506
+ _: "textBankCard";
5507
+ text: RichText;
5508
+ }
5509
+ /** https://core.telegram.org/constructor/textMentionName */
5510
+ export interface textMentionName {
5511
+ _: "textMentionName";
5512
+ text: RichText;
5513
+ user_id: bigint;
5514
+ }
5515
+ /** https://core.telegram.org/constructor/textDate */
5516
+ export interface textDate {
5517
+ _: "textDate";
5518
+ relative?: true;
5519
+ short_time?: true;
5520
+ long_time?: true;
5521
+ short_date?: true;
5522
+ long_date?: true;
5523
+ day_of_week?: true;
5524
+ text: RichText;
5525
+ date: number;
5526
+ }
5433
5527
  /** https://core.telegram.org/constructor/pageBlockUnsupported */
5434
5528
  export interface pageBlockUnsupported {
5435
5529
  _: "pageBlockUnsupported";
@@ -5505,6 +5599,7 @@ export interface pageBlockPullquote {
5505
5599
  /** https://core.telegram.org/constructor/pageBlockPhoto */
5506
5600
  export interface pageBlockPhoto {
5507
5601
  _: "pageBlockPhoto";
5602
+ spoiler?: true;
5508
5603
  photo_id: bigint;
5509
5604
  caption: PageCaption;
5510
5605
  url?: string;
@@ -5515,6 +5610,7 @@ export interface pageBlockVideo {
5515
5610
  _: "pageBlockVideo";
5516
5611
  autoplay?: true;
5517
5612
  loop?: true;
5613
+ spoiler?: true;
5518
5614
  video_id: bigint;
5519
5615
  caption: PageCaption;
5520
5616
  }
@@ -5585,7 +5681,10 @@ export interface pageBlockTable {
5585
5681
  /** https://core.telegram.org/constructor/pageBlockOrderedList */
5586
5682
  export interface pageBlockOrderedList {
5587
5683
  _: "pageBlockOrderedList";
5684
+ reversed?: true;
5588
5685
  items: Array<PageListOrderedItem>;
5686
+ start?: number;
5687
+ type?: string;
5589
5688
  }
5590
5689
  /** https://core.telegram.org/constructor/pageBlockDetails */
5591
5690
  export interface pageBlockDetails {
@@ -5609,6 +5708,61 @@ export interface pageBlockMap {
5609
5708
  h: number;
5610
5709
  caption: PageCaption;
5611
5710
  }
5711
+ /** https://core.telegram.org/constructor/pageBlockHeading1 */
5712
+ export interface pageBlockHeading1 {
5713
+ _: "pageBlockHeading1";
5714
+ text: RichText;
5715
+ }
5716
+ /** https://core.telegram.org/constructor/pageBlockHeading2 */
5717
+ export interface pageBlockHeading2 {
5718
+ _: "pageBlockHeading2";
5719
+ text: RichText;
5720
+ }
5721
+ /** https://core.telegram.org/constructor/pageBlockHeading3 */
5722
+ export interface pageBlockHeading3 {
5723
+ _: "pageBlockHeading3";
5724
+ text: RichText;
5725
+ }
5726
+ /** https://core.telegram.org/constructor/pageBlockHeading4 */
5727
+ export interface pageBlockHeading4 {
5728
+ _: "pageBlockHeading4";
5729
+ text: RichText;
5730
+ }
5731
+ /** https://core.telegram.org/constructor/pageBlockHeading5 */
5732
+ export interface pageBlockHeading5 {
5733
+ _: "pageBlockHeading5";
5734
+ text: RichText;
5735
+ }
5736
+ /** https://core.telegram.org/constructor/pageBlockHeading6 */
5737
+ export interface pageBlockHeading6 {
5738
+ _: "pageBlockHeading6";
5739
+ text: RichText;
5740
+ }
5741
+ /** https://core.telegram.org/constructor/pageBlockMath */
5742
+ export interface pageBlockMath {
5743
+ _: "pageBlockMath";
5744
+ source: string;
5745
+ }
5746
+ /** https://core.telegram.org/constructor/pageBlockThinking */
5747
+ export interface pageBlockThinking {
5748
+ _: "pageBlockThinking";
5749
+ text: RichText;
5750
+ }
5751
+ /** https://core.telegram.org/constructor/inputPageBlockMap */
5752
+ export interface inputPageBlockMap {
5753
+ _: "inputPageBlockMap";
5754
+ geo: InputGeoPoint;
5755
+ zoom: number;
5756
+ w: number;
5757
+ h: number;
5758
+ caption: PageCaption;
5759
+ }
5760
+ /** https://core.telegram.org/constructor/pageBlockBlockquoteBlocks */
5761
+ export interface pageBlockBlockquoteBlocks {
5762
+ _: "pageBlockBlockquoteBlocks";
5763
+ blocks: Array<PageBlock>;
5764
+ caption: RichText;
5765
+ }
5612
5766
  /** https://core.telegram.org/constructor/phoneCallDiscardReasonMissed */
5613
5767
  export interface phoneCallDiscardReasonMissed {
5614
5768
  _: "phoneCallDiscardReasonMissed";
@@ -6915,24 +7069,36 @@ export interface pageCaption {
6915
7069
  /** https://core.telegram.org/constructor/pageListItemText */
6916
7070
  export interface pageListItemText {
6917
7071
  _: "pageListItemText";
7072
+ checkbox?: true;
7073
+ checked?: true;
6918
7074
  text: RichText;
6919
7075
  }
6920
7076
  /** https://core.telegram.org/constructor/pageListItemBlocks */
6921
7077
  export interface pageListItemBlocks {
6922
7078
  _: "pageListItemBlocks";
7079
+ checkbox?: true;
7080
+ checked?: true;
6923
7081
  blocks: Array<PageBlock>;
6924
7082
  }
6925
7083
  /** https://core.telegram.org/constructor/pageListOrderedItemText */
6926
7084
  export interface pageListOrderedItemText {
6927
7085
  _: "pageListOrderedItemText";
6928
- num: string;
7086
+ checkbox?: true;
7087
+ checked?: true;
7088
+ num?: string;
6929
7089
  text: RichText;
7090
+ value?: number;
7091
+ type?: string;
6930
7092
  }
6931
7093
  /** https://core.telegram.org/constructor/pageListOrderedItemBlocks */
6932
7094
  export interface pageListOrderedItemBlocks {
6933
7095
  _: "pageListOrderedItemBlocks";
6934
- num: string;
7096
+ checkbox?: true;
7097
+ checked?: true;
7098
+ num?: string;
6935
7099
  blocks: Array<PageBlock>;
7100
+ value?: number;
7101
+ type?: string;
6936
7102
  }
6937
7103
  /** https://core.telegram.org/constructor/pageRelatedArticle */
6938
7104
  export interface pageRelatedArticle {
@@ -7701,6 +7867,7 @@ export interface messageReplyHeader {
7701
7867
  reply_to_scheduled?: true;
7702
7868
  forum_topic?: true;
7703
7869
  quote?: true;
7870
+ reply_to_ephemeral?: true;
7704
7871
  reply_to_msg_id?: number;
7705
7872
  reply_to_peer_id?: Peer;
7706
7873
  reply_from?: MessageFwdHeader;
@@ -8258,6 +8425,7 @@ export interface webViewResultUrl {
8258
8425
  _: "webViewResultUrl";
8259
8426
  fullsize?: true;
8260
8427
  fullscreen?: true;
8428
+ same_origin?: true;
8261
8429
  query_id?: bigint;
8262
8430
  url: string;
8263
8431
  }
@@ -9723,6 +9891,9 @@ export interface connectedBot {
9723
9891
  bot_id: bigint;
9724
9892
  recipients: BusinessBotRecipients;
9725
9893
  rights: BusinessBotRights;
9894
+ device?: string;
9895
+ date?: number;
9896
+ location?: string;
9726
9897
  }
9727
9898
  /** https://core.telegram.org/constructor/account.connectedBots */
9728
9899
  export interface account_connectedBots {
@@ -11165,31 +11336,94 @@ export interface bots_accessSettings {
11165
11336
  restricted?: true;
11166
11337
  add_users?: Array<User>;
11167
11338
  }
11168
- /** https://core.telegram.org/method/invokeWithBusinessConnectionPrefix */
11169
- export interface invokeWithBusinessConnectionPrefix {
11170
- _: "invokeWithBusinessConnectionPrefix";
11171
- connection_id: string;
11172
- [R]?: Error;
11339
+ /** https://core.telegram.org/constructor/messages.chatInviteJoinResultOk */
11340
+ export interface messages_chatInviteJoinResultOk {
11341
+ _: "messages.chatInviteJoinResultOk";
11342
+ updates: Updates;
11173
11343
  }
11174
- /** https://core.telegram.org/method/invokeWithGooglePlayIntegrityPrefix */
11175
- export interface invokeWithGooglePlayIntegrityPrefix {
11176
- _: "invokeWithGooglePlayIntegrityPrefix";
11177
- nonce: string;
11178
- token: string;
11179
- [R]?: Error;
11344
+ /** https://core.telegram.org/constructor/messages.chatInviteJoinResultWebView */
11345
+ export interface messages_chatInviteJoinResultWebView {
11346
+ _: "messages.chatInviteJoinResultWebView";
11347
+ bot_id: bigint;
11348
+ webview: WebViewResult;
11349
+ users: Array<User>;
11180
11350
  }
11181
- /** https://core.telegram.org/method/invokeWithApnsSecretPrefix */
11182
- export interface invokeWithApnsSecretPrefix {
11183
- _: "invokeWithApnsSecretPrefix";
11184
- nonce: string;
11185
- secret: string;
11186
- [R]?: Error;
11351
+ /** https://core.telegram.org/constructor/joinChatBotResultApproved */
11352
+ export interface joinChatBotResultApproved {
11353
+ _: "joinChatBotResultApproved";
11187
11354
  }
11188
- /** https://core.telegram.org/method/invokeWithReCaptchaPrefix */
11189
- export interface invokeWithReCaptchaPrefix {
11190
- _: "invokeWithReCaptchaPrefix";
11191
- token: string;
11192
- [R]?: Error;
11355
+ /** https://core.telegram.org/constructor/joinChatBotResultDeclined */
11356
+ export interface joinChatBotResultDeclined {
11357
+ _: "joinChatBotResultDeclined";
11358
+ }
11359
+ /** https://core.telegram.org/constructor/joinChatBotResultQueued */
11360
+ export interface joinChatBotResultQueued {
11361
+ _: "joinChatBotResultQueued";
11362
+ }
11363
+ /** https://core.telegram.org/constructor/joinChatBotResultWebView */
11364
+ export interface joinChatBotResultWebView {
11365
+ _: "joinChatBotResultWebView";
11366
+ url: string;
11367
+ }
11368
+ /** https://core.telegram.org/constructor/webDomainException */
11369
+ export interface webDomainException {
11370
+ _: "webDomainException";
11371
+ domain: string;
11372
+ url: string;
11373
+ title: string;
11374
+ favicon?: bigint;
11375
+ }
11376
+ /** https://core.telegram.org/constructor/account.webBrowserSettingsNotModified */
11377
+ export interface account_webBrowserSettingsNotModified {
11378
+ _: "account.webBrowserSettingsNotModified";
11379
+ }
11380
+ /** https://core.telegram.org/constructor/account.webBrowserSettings */
11381
+ export interface account_webBrowserSettings {
11382
+ _: "account.webBrowserSettings";
11383
+ open_external_browser?: true;
11384
+ display_close_button?: true;
11385
+ external_exceptions: Array<WebDomainException>;
11386
+ inapp_exceptions: Array<WebDomainException>;
11387
+ hash: bigint;
11388
+ }
11389
+ /** https://core.telegram.org/constructor/richMessage */
11390
+ export interface richMessage {
11391
+ _: "richMessage";
11392
+ rtl?: true;
11393
+ part?: true;
11394
+ blocks: Array<PageBlock>;
11395
+ photos: Array<Photo>;
11396
+ documents: Array<Document>;
11397
+ }
11398
+ /** https://core.telegram.org/constructor/inputRichMessage */
11399
+ export interface inputRichMessage {
11400
+ _: "inputRichMessage";
11401
+ rtl?: true;
11402
+ noautolink?: true;
11403
+ blocks: Array<PageBlock>;
11404
+ photos?: Array<InputPhoto>;
11405
+ documents?: Array<InputDocument>;
11406
+ users?: Array<InputUser>;
11407
+ }
11408
+ /** https://core.telegram.org/constructor/inputRichMessageHTML */
11409
+ export interface inputRichMessageHTML {
11410
+ _: "inputRichMessageHTML";
11411
+ rtl?: true;
11412
+ noautolink?: true;
11413
+ html: string;
11414
+ photos?: Array<InputPhoto>;
11415
+ documents?: Array<InputDocument>;
11416
+ users?: Array<InputUser>;
11417
+ }
11418
+ /** https://core.telegram.org/constructor/inputRichMessageMarkdown */
11419
+ export interface inputRichMessageMarkdown {
11420
+ _: "inputRichMessageMarkdown";
11421
+ rtl?: true;
11422
+ noautolink?: true;
11423
+ markdown: string;
11424
+ photos?: Array<InputPhoto>;
11425
+ documents?: Array<InputDocument>;
11426
+ users?: Array<InputUser>;
11193
11427
  }
11194
11428
  /** https://core.telegram.org/method/invokeAfterMsg */
11195
11429
  export interface invokeAfterMsg<T> {
@@ -12276,6 +12510,38 @@ export interface account_deletePasskey {
12276
12510
  id: string;
12277
12511
  [R]?: boolean;
12278
12512
  }
12513
+ /** https://core.telegram.org/method/account.confirmBotConnection */
12514
+ export interface account_confirmBotConnection {
12515
+ _: "account.confirmBotConnection";
12516
+ bot_id: InputUser;
12517
+ [R]?: boolean;
12518
+ }
12519
+ /** https://core.telegram.org/method/account.getWebBrowserSettings */
12520
+ export interface account_getWebBrowserSettings {
12521
+ _: "account.getWebBrowserSettings";
12522
+ hash: bigint;
12523
+ [R]?: account_WebBrowserSettings;
12524
+ }
12525
+ /** https://core.telegram.org/method/account.updateWebBrowserSettings */
12526
+ export interface account_updateWebBrowserSettings {
12527
+ _: "account.updateWebBrowserSettings";
12528
+ open_external_browser?: true;
12529
+ display_close_button?: true;
12530
+ [R]?: account_WebBrowserSettings;
12531
+ }
12532
+ /** https://core.telegram.org/method/account.toggleWebBrowserSettingsException */
12533
+ export interface account_toggleWebBrowserSettingsException {
12534
+ _: "account.toggleWebBrowserSettingsException";
12535
+ delete?: true;
12536
+ open_external_browser?: boolean;
12537
+ url: string;
12538
+ [R]?: Updates;
12539
+ }
12540
+ /** https://core.telegram.org/method/account.deleteWebBrowserSettingsExceptions */
12541
+ export interface account_deleteWebBrowserSettingsExceptions {
12542
+ _: "account.deleteWebBrowserSettingsExceptions";
12543
+ [R]?: account_WebBrowserSettings;
12544
+ }
12279
12545
  /** https://core.telegram.org/method/users.getUsers */
12280
12546
  export interface users_getUsers {
12281
12547
  _: "users.getUsers";
@@ -12384,6 +12650,8 @@ export interface contacts_getBlocked {
12384
12650
  /** https://core.telegram.org/method/contacts.search */
12385
12651
  export interface contacts_search {
12386
12652
  _: "contacts.search";
12653
+ broadcasts?: true;
12654
+ bots?: true;
12387
12655
  q: string;
12388
12656
  limit: number;
12389
12657
  [R]?: contacts_Found;
@@ -12633,6 +12901,7 @@ export interface messages_sendMessage {
12633
12901
  effect?: bigint;
12634
12902
  allow_paid_stars?: bigint;
12635
12903
  suggested_post?: SuggestedPost;
12904
+ rich_message?: InputRichMessage;
12636
12905
  [R]?: Updates;
12637
12906
  }
12638
12907
  /** https://core.telegram.org/method/messages.sendMedia */
@@ -12889,7 +13158,7 @@ export interface messages_checkChatInvite {
12889
13158
  export interface messages_importChatInvite {
12890
13159
  _: "messages.importChatInvite";
12891
13160
  hash: string;
12892
- [R]?: Updates;
13161
+ [R]?: messages_ChatInviteJoinResult;
12893
13162
  }
12894
13163
  /** https://core.telegram.org/method/messages.getStickerSet */
12895
13164
  export interface messages_getStickerSet {
@@ -13050,6 +13319,7 @@ export interface messages_editMessage {
13050
13319
  schedule_date?: number;
13051
13320
  schedule_repeat_period?: number;
13052
13321
  quick_reply_shortcut_id?: number;
13322
+ rich_message?: InputRichMessage;
13053
13323
  [R]?: Updates;
13054
13324
  }
13055
13325
  /** https://core.telegram.org/method/messages.editInlineBotMessage */
@@ -13062,6 +13332,7 @@ export interface messages_editInlineBotMessage {
13062
13332
  media?: InputMedia;
13063
13333
  reply_markup?: ReplyMarkup;
13064
13334
  entities?: Array<MessageEntity>;
13335
+ rich_message?: InputRichMessage;
13065
13336
  [R]?: boolean;
13066
13337
  }
13067
13338
  /** https://core.telegram.org/method/messages.getBotCallbackAnswer */
@@ -13102,6 +13373,7 @@ export interface messages_saveDraft {
13102
13373
  media?: InputMedia;
13103
13374
  effect?: bigint;
13104
13375
  suggested_post?: SuggestedPost;
13376
+ rich_message?: InputRichMessage;
13105
13377
  [R]?: boolean;
13106
13378
  }
13107
13379
  /** https://core.telegram.org/method/messages.getAllDrafts */
@@ -14625,6 +14897,13 @@ export interface messages_getPersonalChannelHistory {
14625
14897
  hash: bigint;
14626
14898
  [R]?: messages_Messages;
14627
14899
  }
14900
+ /** https://core.telegram.org/method/messages.getRichMessage */
14901
+ export interface messages_getRichMessage {
14902
+ _: "messages.getRichMessage";
14903
+ peer: InputPeer;
14904
+ id: number;
14905
+ [R]?: messages_Messages;
14906
+ }
14628
14907
  /** https://core.telegram.org/method/updates.getState */
14629
14908
  export interface updates_getState {
14630
14909
  _: "updates.getState";
@@ -15020,7 +15299,7 @@ export interface channels_updateUsername {
15020
15299
  export interface channels_joinChannel {
15021
15300
  _: "channels.joinChannel";
15022
15301
  channel: InputChannel;
15023
- [R]?: Updates;
15302
+ [R]?: messages_ChatInviteJoinResult;
15024
15303
  }
15025
15304
  /** https://core.telegram.org/method/channels.leaveChannel */
15026
15305
  export interface channels_leaveChannel {
@@ -15184,8 +15463,10 @@ export interface channels_toggleJoinToSend {
15184
15463
  /** https://core.telegram.org/method/channels.toggleJoinRequest */
15185
15464
  export interface channels_toggleJoinRequest {
15186
15465
  _: "channels.toggleJoinRequest";
15466
+ apply_to_invites?: true;
15187
15467
  channel: InputChannel;
15188
15468
  enabled: boolean;
15469
+ guard_bot?: InputUser;
15189
15470
  [R]?: Updates;
15190
15471
  }
15191
15472
  /** https://core.telegram.org/method/channels.reorderUsernames */
@@ -15601,6 +15882,13 @@ export interface bots_editAccessSettings {
15601
15882
  add_users?: Array<InputUser>;
15602
15883
  [R]?: boolean;
15603
15884
  }
15885
+ /** https://core.telegram.org/method/bots.setJoinChatResults */
15886
+ export interface bots_setJoinChatResults {
15887
+ _: "bots.setJoinChatResults";
15888
+ query_id: bigint;
15889
+ result: JoinChatBotResult;
15890
+ [R]?: boolean;
15891
+ }
15604
15892
  /** https://core.telegram.org/method/payments.getPaymentForm */
15605
15893
  export interface payments_getPaymentForm {
15606
15894
  _: "payments.getPaymentForm";
@@ -17101,12 +17389,7 @@ export interface aicompose_getToneExample {
17101
17389
  export interface Types {
17102
17390
  "true": true_;
17103
17391
  "error": error;
17104
- "ipPort": ipPort;
17105
- "ipPortSecret": ipPortSecret;
17106
- "accessPointRule": accessPointRule;
17107
- "help.configSimple": help_configSimple;
17108
- "inputPeerPhotoFileLocationLegacy": inputPeerPhotoFileLocationLegacy;
17109
- "inputStickerSetThumbLegacy": inputStickerSetThumbLegacy;
17392
+ "null": null_;
17110
17393
  "inputPeerEmpty": inputPeerEmpty;
17111
17394
  "inputPeerSelf": inputPeerSelf;
17112
17395
  "inputPeerChat": inputPeerChat;
@@ -17517,6 +17800,10 @@ export interface Types {
17517
17800
  "updateManagedBot": updateManagedBot;
17518
17801
  "updateBotGuestChatQuery": updateBotGuestChatQuery;
17519
17802
  "updateAiComposeTones": updateAiComposeTones;
17803
+ "updateJoinChatWebViewDecision": updateJoinChatWebViewDecision;
17804
+ "updateNewBotConnection": updateNewBotConnection;
17805
+ "updateWebBrowserSettings": updateWebBrowserSettings;
17806
+ "updateWebBrowserException": updateWebBrowserException;
17520
17807
  "updates.state": updates_state;
17521
17808
  "updates.differenceEmpty": updates_differenceEmpty;
17522
17809
  "updates.difference": updates_difference;
@@ -17587,6 +17874,8 @@ export interface Types {
17587
17874
  "sendMessageEmojiInteraction": sendMessageEmojiInteraction;
17588
17875
  "sendMessageEmojiInteractionSeen": sendMessageEmojiInteractionSeen;
17589
17876
  "sendMessageTextDraftAction": sendMessageTextDraftAction;
17877
+ "inputSendMessageRichMessageDraftAction": inputSendMessageRichMessageDraftAction;
17878
+ "sendMessageRichMessageDraftAction": sendMessageRichMessageDraftAction;
17590
17879
  "contacts.found": contacts_found;
17591
17880
  "inputPrivacyKeyStatusTimestamp": inputPrivacyKeyStatusTimestamp;
17592
17881
  "inputPrivacyKeyChatInvite": inputPrivacyKeyChatInvite;
@@ -17775,6 +18064,7 @@ export interface Types {
17775
18064
  "inputBotInlineMessageGame": inputBotInlineMessageGame;
17776
18065
  "inputBotInlineMessageMediaInvoice": inputBotInlineMessageMediaInvoice;
17777
18066
  "inputBotInlineMessageMediaWebPage": inputBotInlineMessageMediaWebPage;
18067
+ "inputBotInlineMessageRichMessage": inputBotInlineMessageRichMessage;
17778
18068
  "inputBotInlineResult": inputBotInlineResult;
17779
18069
  "inputBotInlineResultPhoto": inputBotInlineResultPhoto;
17780
18070
  "inputBotInlineResultDocument": inputBotInlineResultDocument;
@@ -17786,6 +18076,7 @@ export interface Types {
17786
18076
  "botInlineMessageMediaContact": botInlineMessageMediaContact;
17787
18077
  "botInlineMessageMediaInvoice": botInlineMessageMediaInvoice;
17788
18078
  "botInlineMessageMediaWebPage": botInlineMessageMediaWebPage;
18079
+ "botInlineMessageRichMessage": botInlineMessageRichMessage;
17789
18080
  "botInlineResult": botInlineResult;
17790
18081
  "botInlineMediaResult": botInlineMediaResult;
17791
18082
  "messages.botResults": messages_botResults;
@@ -17865,6 +18156,19 @@ export interface Types {
17865
18156
  "textPhone": textPhone;
17866
18157
  "textImage": textImage;
17867
18158
  "textAnchor": textAnchor;
18159
+ "textMath": textMath;
18160
+ "textCustomEmoji": textCustomEmoji;
18161
+ "textSpoiler": textSpoiler;
18162
+ "textMention": textMention;
18163
+ "textHashtag": textHashtag;
18164
+ "textBotCommand": textBotCommand;
18165
+ "textCashtag": textCashtag;
18166
+ "textAutoUrl": textAutoUrl;
18167
+ "textAutoEmail": textAutoEmail;
18168
+ "textAutoPhone": textAutoPhone;
18169
+ "textBankCard": textBankCard;
18170
+ "textMentionName": textMentionName;
18171
+ "textDate": textDate;
17868
18172
  "pageBlockUnsupported": pageBlockUnsupported;
17869
18173
  "pageBlockTitle": pageBlockTitle;
17870
18174
  "pageBlockSubtitle": pageBlockSubtitle;
@@ -17894,6 +18198,16 @@ export interface Types {
17894
18198
  "pageBlockDetails": pageBlockDetails;
17895
18199
  "pageBlockRelatedArticles": pageBlockRelatedArticles;
17896
18200
  "pageBlockMap": pageBlockMap;
18201
+ "pageBlockHeading1": pageBlockHeading1;
18202
+ "pageBlockHeading2": pageBlockHeading2;
18203
+ "pageBlockHeading3": pageBlockHeading3;
18204
+ "pageBlockHeading4": pageBlockHeading4;
18205
+ "pageBlockHeading5": pageBlockHeading5;
18206
+ "pageBlockHeading6": pageBlockHeading6;
18207
+ "pageBlockMath": pageBlockMath;
18208
+ "pageBlockThinking": pageBlockThinking;
18209
+ "inputPageBlockMap": inputPageBlockMap;
18210
+ "pageBlockBlockquoteBlocks": pageBlockBlockquoteBlocks;
17897
18211
  "phoneCallDiscardReasonMissed": phoneCallDiscardReasonMissed;
17898
18212
  "phoneCallDiscardReasonDisconnect": phoneCallDiscardReasonDisconnect;
17899
18213
  "phoneCallDiscardReasonHangup": phoneCallDiscardReasonHangup;
@@ -18675,12 +18989,21 @@ export interface Types {
18675
18989
  "aicompose.tones": aicompose_tones;
18676
18990
  "aiComposeToneExample": aiComposeToneExample;
18677
18991
  "bots.accessSettings": bots_accessSettings;
18992
+ "messages.chatInviteJoinResultOk": messages_chatInviteJoinResultOk;
18993
+ "messages.chatInviteJoinResultWebView": messages_chatInviteJoinResultWebView;
18994
+ "joinChatBotResultApproved": joinChatBotResultApproved;
18995
+ "joinChatBotResultDeclined": joinChatBotResultDeclined;
18996
+ "joinChatBotResultQueued": joinChatBotResultQueued;
18997
+ "joinChatBotResultWebView": joinChatBotResultWebView;
18998
+ "webDomainException": webDomainException;
18999
+ "account.webBrowserSettingsNotModified": account_webBrowserSettingsNotModified;
19000
+ "account.webBrowserSettings": account_webBrowserSettings;
19001
+ "richMessage": richMessage;
19002
+ "inputRichMessage": inputRichMessage;
19003
+ "inputRichMessageHTML": inputRichMessageHTML;
19004
+ "inputRichMessageMarkdown": inputRichMessageMarkdown;
18678
19005
  }
18679
19006
  export interface Functions<T = Function> {
18680
- "invokeWithBusinessConnectionPrefix": invokeWithBusinessConnectionPrefix;
18681
- "invokeWithGooglePlayIntegrityPrefix": invokeWithGooglePlayIntegrityPrefix;
18682
- "invokeWithApnsSecretPrefix": invokeWithApnsSecretPrefix;
18683
- "invokeWithReCaptchaPrefix": invokeWithReCaptchaPrefix;
18684
19007
  "invokeAfterMsg": invokeAfterMsg<T>;
18685
19008
  "invokeAfterMsgs": invokeAfterMsgs<T>;
18686
19009
  "initConnection": initConnection<T>;
@@ -18841,6 +19164,11 @@ export interface Functions<T = Function> {
18841
19164
  "account.registerPasskey": account_registerPasskey;
18842
19165
  "account.getPasskeys": account_getPasskeys;
18843
19166
  "account.deletePasskey": account_deletePasskey;
19167
+ "account.confirmBotConnection": account_confirmBotConnection;
19168
+ "account.getWebBrowserSettings": account_getWebBrowserSettings;
19169
+ "account.updateWebBrowserSettings": account_updateWebBrowserSettings;
19170
+ "account.toggleWebBrowserSettingsException": account_toggleWebBrowserSettingsException;
19171
+ "account.deleteWebBrowserSettingsExceptions": account_deleteWebBrowserSettingsExceptions;
18844
19172
  "users.getUsers": users_getUsers;
18845
19173
  "users.getFullUser": users_getFullUser;
18846
19174
  "users.setSecureValueErrors": users_setSecureValueErrors;
@@ -19131,6 +19459,7 @@ export interface Functions<T = Function> {
19131
19459
  "messages.deleteParticipantReactions": messages_deleteParticipantReactions;
19132
19460
  "messages.deleteParticipantReaction": messages_deleteParticipantReaction;
19133
19461
  "messages.getPersonalChannelHistory": messages_getPersonalChannelHistory;
19462
+ "messages.getRichMessage": messages_getRichMessage;
19134
19463
  "updates.getState": updates_getState;
19135
19464
  "updates.getDifference": updates_getDifference;
19136
19465
  "updates.getChannelDifference": updates_getChannelDifference;
@@ -19267,6 +19596,7 @@ export interface Functions<T = Function> {
19267
19596
  "bots.getRequestedWebViewButton": bots_getRequestedWebViewButton;
19268
19597
  "bots.getAccessSettings": bots_getAccessSettings;
19269
19598
  "bots.editAccessSettings": bots_editAccessSettings;
19599
+ "bots.setJoinChatResults": bots_setJoinChatResults;
19270
19600
  "payments.getPaymentForm": payments_getPaymentForm;
19271
19601
  "payments.getPaymentReceipt": payments_getPaymentReceipt;
19272
19602
  "payments.validateRequestedInfo": payments_validateRequestedInfo;
@@ -19468,10 +19798,7 @@ export interface Functions<T = Function> {
19468
19798
  export interface Enums {
19469
19799
  "True": True;
19470
19800
  "Error": Error;
19471
- "IpPort": IpPort;
19472
- "AccessPointRule": AccessPointRule;
19473
- "help.ConfigSimple": help_ConfigSimple;
19474
- "InputFileLocation": InputFileLocation;
19801
+ "Null": Null;
19475
19802
  "InputPeer": InputPeer;
19476
19803
  "InputUser": InputUser;
19477
19804
  "InputContact": InputContact;
@@ -19480,6 +19807,7 @@ export interface Enums {
19480
19807
  "InputChatPhoto": InputChatPhoto;
19481
19808
  "InputGeoPoint": InputGeoPoint;
19482
19809
  "InputPhoto": InputPhoto;
19810
+ "InputFileLocation": InputFileLocation;
19483
19811
  "Peer": Peer;
19484
19812
  "storage.FileType": storage_FileType;
19485
19813
  "User": User;
@@ -20061,6 +20389,12 @@ export interface Enums {
20061
20389
  "aicompose.Tones": aicompose_Tones;
20062
20390
  "AiComposeToneExample": AiComposeToneExample;
20063
20391
  "bots.AccessSettings": bots_AccessSettings;
20392
+ "messages.ChatInviteJoinResult": messages_ChatInviteJoinResult;
20393
+ "JoinChatBotResult": JoinChatBotResult;
20394
+ "WebDomainException": WebDomainException;
20395
+ "account.WebBrowserSettings": account_WebBrowserSettings;
20396
+ "RichMessage": RichMessage;
20397
+ "InputRichMessage": InputRichMessage;
20064
20398
  }
20065
20399
  export type AnyType = Types[keyof Types];
20066
20400
  export type AnyFunction<T = Function> = Functions<T>[keyof Functions<T>];
@@ -20070,14 +20404,8 @@ export type AnyObject<T = Function> = AnyType | AnyFunction<T>;
20070
20404
  export type True = true_;
20071
20405
  /** https://core.telegram.org/type/Error */
20072
20406
  export type Error = error;
20073
- /** https://core.telegram.org/type/IpPort */
20074
- export type IpPort = ipPort | ipPortSecret;
20075
- /** https://core.telegram.org/type/AccessPointRule */
20076
- export type AccessPointRule = accessPointRule;
20077
- /** https://core.telegram.org/type/help.ConfigSimple */
20078
- export type help_ConfigSimple = help_configSimple;
20079
- /** https://core.telegram.org/type/InputFileLocation */
20080
- export type InputFileLocation = inputPeerPhotoFileLocationLegacy | inputStickerSetThumbLegacy | inputFileLocation | inputEncryptedFileLocation | inputDocumentFileLocation | inputSecureFileLocation | inputTakeoutFileLocation | inputPhotoFileLocation | inputPhotoLegacyFileLocation | inputPeerPhotoFileLocation | inputStickerSetThumb | inputGroupCallStream;
20407
+ /** https://core.telegram.org/type/Null */
20408
+ export type Null = null_;
20081
20409
  /** https://core.telegram.org/type/InputPeer */
20082
20410
  export type InputPeer = inputPeerEmpty | inputPeerSelf | inputPeerChat | inputPeerUser | inputPeerChannel | inputPeerUserFromMessage | inputPeerChannelFromMessage;
20083
20411
  /** https://core.telegram.org/type/InputUser */
@@ -20094,6 +20422,8 @@ export type InputChatPhoto = inputChatPhotoEmpty | inputChatUploadedPhoto | inpu
20094
20422
  export type InputGeoPoint = inputGeoPointEmpty | inputGeoPoint;
20095
20423
  /** https://core.telegram.org/type/InputPhoto */
20096
20424
  export type InputPhoto = inputPhotoEmpty | inputPhoto;
20425
+ /** https://core.telegram.org/type/InputFileLocation */
20426
+ export type InputFileLocation = inputFileLocation | inputEncryptedFileLocation | inputDocumentFileLocation | inputSecureFileLocation | inputTakeoutFileLocation | inputPhotoFileLocation | inputPhotoLegacyFileLocation | inputPeerPhotoFileLocation | inputStickerSetThumb | inputGroupCallStream;
20097
20427
  /** https://core.telegram.org/type/Peer */
20098
20428
  export type Peer = peerUser | peerChat | peerChannel;
20099
20429
  /** https://core.telegram.org/type/storage.FileType */
@@ -20173,7 +20503,7 @@ export type messages_AffectedHistory = messages_affectedHistory;
20173
20503
  /** https://core.telegram.org/type/MessagesFilter */
20174
20504
  export type MessagesFilter = inputMessagesFilterEmpty | inputMessagesFilterPhotos | inputMessagesFilterVideo | inputMessagesFilterPhotoVideo | inputMessagesFilterDocument | inputMessagesFilterUrl | inputMessagesFilterGif | inputMessagesFilterVoice | inputMessagesFilterMusic | inputMessagesFilterChatPhotos | inputMessagesFilterPhoneCalls | inputMessagesFilterRoundVoice | inputMessagesFilterRoundVideo | inputMessagesFilterMyMentions | inputMessagesFilterGeo | inputMessagesFilterContacts | inputMessagesFilterPinned | inputMessagesFilterPoll;
20175
20505
  /** https://core.telegram.org/type/Update */
20176
- export type Update = updateNewMessage | updateMessageID | updateDeleteMessages | updateUserTyping | updateChatUserTyping | updateChatParticipants | updateUserStatus | updateUserName | updateNewAuthorization | updateNewEncryptedMessage | updateEncryptedChatTyping | updateEncryption | updateEncryptedMessagesRead | updateChatParticipantAdd | updateChatParticipantDelete | updateDcOptions | updateNotifySettings | updateServiceNotification | updatePrivacy | updateUserPhone | updateReadHistoryInbox | updateReadHistoryOutbox | updateWebPage | updateReadMessagesContents | updateChannelTooLong | updateChannel | updateNewChannelMessage | updateReadChannelInbox | updateDeleteChannelMessages | updateChannelMessageViews | updateChatParticipantAdmin | updateNewStickerSet | updateStickerSetsOrder | updateStickerSets | updateSavedGifs | updateBotInlineQuery | updateBotInlineSend | updateEditChannelMessage | updateBotCallbackQuery | updateEditMessage | updateInlineBotCallbackQuery | updateReadChannelOutbox | updateDraftMessage | updateReadFeaturedStickers | updateRecentStickers | updateConfig | updatePtsChanged | updateChannelWebPage | updateDialogPinned | updatePinnedDialogs | updateBotWebhookJSON | updateBotWebhookJSONQuery | updateBotShippingQuery | updateBotPrecheckoutQuery | updatePhoneCall | updateLangPackTooLong | updateLangPack | updateFavedStickers | updateChannelReadMessagesContents | updateContactsReset | updateChannelAvailableMessages | updateDialogUnreadMark | updateMessagePoll | updateChatDefaultBannedRights | updateFolderPeers | updatePeerSettings | updatePeerLocated | updateNewScheduledMessage | updateDeleteScheduledMessages | updateTheme | updateGeoLiveViewed | updateLoginToken | updateMessagePollVote | updateDialogFilter | updateDialogFilterOrder | updateDialogFilters | updatePhoneCallSignalingData | updateChannelMessageForwards | updateReadChannelDiscussionInbox | updateReadChannelDiscussionOutbox | updatePeerBlocked | updateChannelUserTyping | updatePinnedMessages | updatePinnedChannelMessages | updateChat | updateGroupCallParticipants | updateGroupCall | updatePeerHistoryTTL | updateChatParticipant | updateChannelParticipant | updateBotStopped | updateGroupCallConnection | updateBotCommands | updatePendingJoinRequests | updateBotChatInviteRequester | updateMessageReactions | updateAttachMenuBots | updateWebViewResultSent | updateBotMenuButton | updateSavedRingtones | updateTranscribedAudio | updateReadFeaturedEmojiStickers | updateUserEmojiStatus | updateRecentEmojiStatuses | updateRecentReactions | updateMoveStickerSetToTop | updateMessageExtendedMedia | updateUser | updateAutoSaveSettings | updateStory | updateReadStories | updateStoryID | updateStoriesStealthMode | updateSentStoryReaction | updateBotChatBoost | updateChannelViewForumAsMessages | updatePeerWallpaper | updateBotMessageReaction | updateBotMessageReactions | updateSavedDialogPinned | updatePinnedSavedDialogs | updateSavedReactionTags | updateSmsJob | updateQuickReplies | updateNewQuickReply | updateDeleteQuickReply | updateQuickReplyMessage | updateDeleteQuickReplyMessages | updateBotBusinessConnect | updateBotNewBusinessMessage | updateBotEditBusinessMessage | updateBotDeleteBusinessMessage | updateNewStoryReaction | updateStarsBalance | updateBusinessBotCallbackQuery | updateStarsRevenueStatus | updateBotPurchasedPaidMedia | updatePaidReactionPrivacy | updateSentPhoneCode | updateGroupCallChainBlocks | updateReadMonoForumInbox | updateReadMonoForumOutbox | updateMonoForumNoPaidException | updateGroupCallMessage | updateGroupCallEncryptedMessage | updatePinnedForumTopic | updatePinnedForumTopics | updateDeleteGroupCallMessages | updateStarGiftAuctionState | updateStarGiftAuctionUserState | updateEmojiGameInfo | updateStarGiftCraftFail | updateChatParticipantRank | updateManagedBot | updateBotGuestChatQuery | updateAiComposeTones;
20506
+ export type Update = updateNewMessage | updateMessageID | updateDeleteMessages | updateUserTyping | updateChatUserTyping | updateChatParticipants | updateUserStatus | updateUserName | updateNewAuthorization | updateNewEncryptedMessage | updateEncryptedChatTyping | updateEncryption | updateEncryptedMessagesRead | updateChatParticipantAdd | updateChatParticipantDelete | updateDcOptions | updateNotifySettings | updateServiceNotification | updatePrivacy | updateUserPhone | updateReadHistoryInbox | updateReadHistoryOutbox | updateWebPage | updateReadMessagesContents | updateChannelTooLong | updateChannel | updateNewChannelMessage | updateReadChannelInbox | updateDeleteChannelMessages | updateChannelMessageViews | updateChatParticipantAdmin | updateNewStickerSet | updateStickerSetsOrder | updateStickerSets | updateSavedGifs | updateBotInlineQuery | updateBotInlineSend | updateEditChannelMessage | updateBotCallbackQuery | updateEditMessage | updateInlineBotCallbackQuery | updateReadChannelOutbox | updateDraftMessage | updateReadFeaturedStickers | updateRecentStickers | updateConfig | updatePtsChanged | updateChannelWebPage | updateDialogPinned | updatePinnedDialogs | updateBotWebhookJSON | updateBotWebhookJSONQuery | updateBotShippingQuery | updateBotPrecheckoutQuery | updatePhoneCall | updateLangPackTooLong | updateLangPack | updateFavedStickers | updateChannelReadMessagesContents | updateContactsReset | updateChannelAvailableMessages | updateDialogUnreadMark | updateMessagePoll | updateChatDefaultBannedRights | updateFolderPeers | updatePeerSettings | updatePeerLocated | updateNewScheduledMessage | updateDeleteScheduledMessages | updateTheme | updateGeoLiveViewed | updateLoginToken | updateMessagePollVote | updateDialogFilter | updateDialogFilterOrder | updateDialogFilters | updatePhoneCallSignalingData | updateChannelMessageForwards | updateReadChannelDiscussionInbox | updateReadChannelDiscussionOutbox | updatePeerBlocked | updateChannelUserTyping | updatePinnedMessages | updatePinnedChannelMessages | updateChat | updateGroupCallParticipants | updateGroupCall | updatePeerHistoryTTL | updateChatParticipant | updateChannelParticipant | updateBotStopped | updateGroupCallConnection | updateBotCommands | updatePendingJoinRequests | updateBotChatInviteRequester | updateMessageReactions | updateAttachMenuBots | updateWebViewResultSent | updateBotMenuButton | updateSavedRingtones | updateTranscribedAudio | updateReadFeaturedEmojiStickers | updateUserEmojiStatus | updateRecentEmojiStatuses | updateRecentReactions | updateMoveStickerSetToTop | updateMessageExtendedMedia | updateUser | updateAutoSaveSettings | updateStory | updateReadStories | updateStoryID | updateStoriesStealthMode | updateSentStoryReaction | updateBotChatBoost | updateChannelViewForumAsMessages | updatePeerWallpaper | updateBotMessageReaction | updateBotMessageReactions | updateSavedDialogPinned | updatePinnedSavedDialogs | updateSavedReactionTags | updateSmsJob | updateQuickReplies | updateNewQuickReply | updateDeleteQuickReply | updateQuickReplyMessage | updateDeleteQuickReplyMessages | updateBotBusinessConnect | updateBotNewBusinessMessage | updateBotEditBusinessMessage | updateBotDeleteBusinessMessage | updateNewStoryReaction | updateStarsBalance | updateBusinessBotCallbackQuery | updateStarsRevenueStatus | updateBotPurchasedPaidMedia | updatePaidReactionPrivacy | updateSentPhoneCode | updateGroupCallChainBlocks | updateReadMonoForumInbox | updateReadMonoForumOutbox | updateMonoForumNoPaidException | updateGroupCallMessage | updateGroupCallEncryptedMessage | updatePinnedForumTopic | updatePinnedForumTopics | updateDeleteGroupCallMessages | updateStarGiftAuctionState | updateStarGiftAuctionUserState | updateEmojiGameInfo | updateStarGiftCraftFail | updateChatParticipantRank | updateManagedBot | updateBotGuestChatQuery | updateAiComposeTones | updateJoinChatWebViewDecision | updateNewBotConnection | updateWebBrowserSettings | updateWebBrowserException;
20177
20507
  /** https://core.telegram.org/type/updates.State */
20178
20508
  export type updates_State = updates_state;
20179
20509
  /** https://core.telegram.org/type/updates.Difference */
@@ -20219,7 +20549,7 @@ export type help_Support = help_support;
20219
20549
  /** https://core.telegram.org/type/NotifyPeer */
20220
20550
  export type NotifyPeer = notifyPeer | notifyUsers | notifyChats | notifyBroadcasts | notifyForumTopic;
20221
20551
  /** https://core.telegram.org/type/SendMessageAction */
20222
- export type SendMessageAction = sendMessageTypingAction | sendMessageCancelAction | sendMessageRecordVideoAction | sendMessageUploadVideoAction | sendMessageRecordAudioAction | sendMessageUploadAudioAction | sendMessageUploadPhotoAction | sendMessageUploadDocumentAction | sendMessageGeoLocationAction | sendMessageChooseContactAction | sendMessageGamePlayAction | sendMessageRecordRoundAction | sendMessageUploadRoundAction | speakingInGroupCallAction | sendMessageHistoryImportAction | sendMessageChooseStickerAction | sendMessageEmojiInteraction | sendMessageEmojiInteractionSeen | sendMessageTextDraftAction;
20552
+ export type SendMessageAction = sendMessageTypingAction | sendMessageCancelAction | sendMessageRecordVideoAction | sendMessageUploadVideoAction | sendMessageRecordAudioAction | sendMessageUploadAudioAction | sendMessageUploadPhotoAction | sendMessageUploadDocumentAction | sendMessageGeoLocationAction | sendMessageChooseContactAction | sendMessageGamePlayAction | sendMessageRecordRoundAction | sendMessageUploadRoundAction | speakingInGroupCallAction | sendMessageHistoryImportAction | sendMessageChooseStickerAction | sendMessageEmojiInteraction | sendMessageEmojiInteractionSeen | sendMessageTextDraftAction | inputSendMessageRichMessageDraftAction | sendMessageRichMessageDraftAction;
20223
20553
  /** https://core.telegram.org/type/contacts.Found */
20224
20554
  export type contacts_Found = contacts_found;
20225
20555
  /** https://core.telegram.org/type/InputPrivacyKey */
@@ -20305,11 +20635,11 @@ export type help_TermsOfService = help_termsOfService;
20305
20635
  /** https://core.telegram.org/type/messages.SavedGifs */
20306
20636
  export type messages_SavedGifs = messages_savedGifsNotModified | messages_savedGifs;
20307
20637
  /** https://core.telegram.org/type/InputBotInlineMessage */
20308
- export type InputBotInlineMessage = inputBotInlineMessageMediaAuto | inputBotInlineMessageText | inputBotInlineMessageMediaGeo | inputBotInlineMessageMediaVenue | inputBotInlineMessageMediaContact | inputBotInlineMessageGame | inputBotInlineMessageMediaInvoice | inputBotInlineMessageMediaWebPage;
20638
+ export type InputBotInlineMessage = inputBotInlineMessageMediaAuto | inputBotInlineMessageText | inputBotInlineMessageMediaGeo | inputBotInlineMessageMediaVenue | inputBotInlineMessageMediaContact | inputBotInlineMessageGame | inputBotInlineMessageMediaInvoice | inputBotInlineMessageMediaWebPage | inputBotInlineMessageRichMessage;
20309
20639
  /** https://core.telegram.org/type/InputBotInlineResult */
20310
20640
  export type InputBotInlineResult = inputBotInlineResult | inputBotInlineResultPhoto | inputBotInlineResultDocument | inputBotInlineResultGame;
20311
20641
  /** https://core.telegram.org/type/BotInlineMessage */
20312
- export type BotInlineMessage = botInlineMessageMediaAuto | botInlineMessageText | botInlineMessageMediaGeo | botInlineMessageMediaVenue | botInlineMessageMediaContact | botInlineMessageMediaInvoice | botInlineMessageMediaWebPage;
20642
+ export type BotInlineMessage = botInlineMessageMediaAuto | botInlineMessageText | botInlineMessageMediaGeo | botInlineMessageMediaVenue | botInlineMessageMediaContact | botInlineMessageMediaInvoice | botInlineMessageMediaWebPage | botInlineMessageRichMessage;
20313
20643
  /** https://core.telegram.org/type/BotInlineResult */
20314
20644
  export type BotInlineResult = botInlineResult | botInlineMediaResult;
20315
20645
  /** https://core.telegram.org/type/messages.BotResults */
@@ -20365,9 +20695,9 @@ export type HighScore = highScore;
20365
20695
  /** https://core.telegram.org/type/messages.HighScores */
20366
20696
  export type messages_HighScores = messages_highScores;
20367
20697
  /** https://core.telegram.org/type/RichText */
20368
- export type RichText = textEmpty | textPlain | textBold | textItalic | textUnderline | textStrike | textFixed | textUrl | textEmail | textConcat | textSubscript | textSuperscript | textMarked | textPhone | textImage | textAnchor;
20698
+ export type RichText = textEmpty | textPlain | textBold | textItalic | textUnderline | textStrike | textFixed | textUrl | textEmail | textConcat | textSubscript | textSuperscript | textMarked | textPhone | textImage | textAnchor | textMath | textCustomEmoji | textSpoiler | textMention | textHashtag | textBotCommand | textCashtag | textAutoUrl | textAutoEmail | textAutoPhone | textBankCard | textMentionName | textDate;
20369
20699
  /** https://core.telegram.org/type/PageBlock */
20370
- export type PageBlock = pageBlockUnsupported | pageBlockTitle | pageBlockSubtitle | pageBlockAuthorDate | pageBlockHeader | pageBlockSubheader | pageBlockParagraph | pageBlockPreformatted | pageBlockFooter | pageBlockDivider | pageBlockAnchor | pageBlockList | pageBlockBlockquote | pageBlockPullquote | pageBlockPhoto | pageBlockVideo | pageBlockCover | pageBlockEmbed | pageBlockEmbedPost | pageBlockCollage | pageBlockSlideshow | pageBlockChannel | pageBlockAudio | pageBlockKicker | pageBlockTable | pageBlockOrderedList | pageBlockDetails | pageBlockRelatedArticles | pageBlockMap;
20700
+ export type PageBlock = pageBlockUnsupported | pageBlockTitle | pageBlockSubtitle | pageBlockAuthorDate | pageBlockHeader | pageBlockSubheader | pageBlockParagraph | pageBlockPreformatted | pageBlockFooter | pageBlockDivider | pageBlockAnchor | pageBlockList | pageBlockBlockquote | pageBlockPullquote | pageBlockPhoto | pageBlockVideo | pageBlockCover | pageBlockEmbed | pageBlockEmbedPost | pageBlockCollage | pageBlockSlideshow | pageBlockChannel | pageBlockAudio | pageBlockKicker | pageBlockTable | pageBlockOrderedList | pageBlockDetails | pageBlockRelatedArticles | pageBlockMap | pageBlockHeading1 | pageBlockHeading2 | pageBlockHeading3 | pageBlockHeading4 | pageBlockHeading5 | pageBlockHeading6 | pageBlockMath | pageBlockThinking | inputPageBlockMap | pageBlockBlockquoteBlocks;
20371
20701
  /** https://core.telegram.org/type/PhoneCallDiscardReason */
20372
20702
  export type PhoneCallDiscardReason = phoneCallDiscardReasonMissed | phoneCallDiscardReasonDisconnect | phoneCallDiscardReasonHangup | phoneCallDiscardReasonBusy | phoneCallDiscardReasonMigrateConferenceCall;
20373
20703
  /** https://core.telegram.org/type/DataJSON */
@@ -21256,7 +21586,19 @@ export type aicompose_Tones = aicompose_tonesNotModified | aicompose_tones;
21256
21586
  export type AiComposeToneExample = aiComposeToneExample;
21257
21587
  /** https://core.telegram.org/type/bots.AccessSettings */
21258
21588
  export type bots_AccessSettings = bots_accessSettings;
21589
+ /** https://core.telegram.org/type/messages.ChatInviteJoinResult */
21590
+ export type messages_ChatInviteJoinResult = messages_chatInviteJoinResultOk | messages_chatInviteJoinResultWebView;
21591
+ /** https://core.telegram.org/type/JoinChatBotResult */
21592
+ export type JoinChatBotResult = joinChatBotResultApproved | joinChatBotResultDeclined | joinChatBotResultQueued | joinChatBotResultWebView;
21593
+ /** https://core.telegram.org/type/WebDomainException */
21594
+ export type WebDomainException = webDomainException;
21595
+ /** https://core.telegram.org/type/account.WebBrowserSettings */
21596
+ export type account_WebBrowserSettings = account_webBrowserSettingsNotModified | account_webBrowserSettings;
21597
+ /** https://core.telegram.org/type/RichMessage */
21598
+ export type RichMessage = richMessage;
21599
+ /** https://core.telegram.org/type/InputRichMessage */
21600
+ export type InputRichMessage = inputRichMessage | inputRichMessageHTML | inputRichMessageMarkdown;
21259
21601
  export declare const schema: Schema;
21260
- export declare const LAYER = 225;
21602
+ export declare const LAYER = 227;
21261
21603
  export {};
21262
21604
  //# sourceMappingURL=1_telegram_api.d.ts.map