@mtkruto/node 0.18.1 → 0.19.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 (337) hide show
  1. package/esm/0_deps.d.ts +7 -7
  2. package/esm/0_deps.js +7 -7
  3. package/esm/3_types.d.ts +4 -4
  4. package/esm/3_types.d.ts.map +1 -1
  5. package/esm/3_types.js +4 -4
  6. package/esm/4_constants.d.ts +1 -1
  7. package/esm/4_constants.js +1 -1
  8. package/esm/client/0_params.d.ts +1 -1
  9. package/esm/client/0_params.d.ts.map +1 -1
  10. package/esm/client/0_storage_operations.d.ts +1 -1
  11. package/esm/client/0_storage_operations.d.ts.map +1 -1
  12. package/esm/client/0_utilities.d.ts +2 -2
  13. package/esm/client/0_utilities.d.ts.map +1 -1
  14. package/esm/client/1_client_encrypted.d.ts +1 -1
  15. package/esm/client/1_client_encrypted.d.ts.map +1 -1
  16. package/esm/client/1_client_plain.d.ts +1 -1
  17. package/esm/client/1_client_plain.d.ts.map +1 -1
  18. package/esm/client/2_account_manager.d.ts.map +1 -1
  19. package/esm/client/2_account_manager.js +4 -16
  20. package/esm/client/4_gift_manager.d.ts +3 -3
  21. package/esm/client/4_gift_manager.d.ts.map +1 -1
  22. package/esm/client/4_gift_manager.js +10 -10
  23. package/esm/client/5_client.d.ts +7 -7
  24. package/esm/client/5_client.d.ts.map +1 -1
  25. package/esm/client/5_client.js +7 -7
  26. package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.d.ts +2 -2
  27. package/esm/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.d.ts.map +1 -0
  28. package/esm/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.d.ts.map +1 -0
  29. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts.map +1 -1
  30. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.js +1 -1
  31. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts.map +1 -1
  32. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.js +1 -1
  33. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts.map +1 -1
  34. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.js +1 -1
  35. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts.map +1 -1
  36. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.js +1 -1
  37. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts.map +1 -1
  38. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.js +1 -1
  39. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts.map +1 -1
  40. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.js +1 -1
  41. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts.map +1 -1
  42. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.js +1 -1
  43. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts.map +1 -1
  44. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.js +1 -1
  45. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts.map +1 -1
  46. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.js +1 -1
  47. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts.map +1 -1
  48. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.js +1 -1
  49. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts.map +1 -1
  50. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.js +1 -1
  51. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts.map +1 -1
  52. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.js +1 -1
  53. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts.map +1 -1
  54. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.js +1 -1
  55. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts.map +1 -1
  56. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.js +1 -1
  57. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts.map +1 -1
  58. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.js +1 -1
  59. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts.map +1 -1
  60. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.js +1 -1
  61. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts.map +1 -1
  62. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.js +1 -1
  63. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts.map +1 -1
  64. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.js +1 -1
  65. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts.map +1 -1
  66. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.js +1 -1
  67. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts.map +1 -1
  68. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.js +1 -1
  69. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts.map +1 -1
  70. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.js +1 -1
  71. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts.map +1 -1
  72. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.js +22 -15
  73. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts.map +1 -1
  74. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.js +1 -1
  75. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts.map +1 -1
  76. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.js +1 -1
  77. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts.map +1 -1
  78. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.js +1 -1
  79. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts.map +1 -1
  80. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.js +1 -1
  81. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts.map +1 -1
  82. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.js +1 -1
  83. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts.map +1 -1
  84. package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.js +1 -1
  85. package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +9 -0
  86. package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
  87. package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.js +2 -0
  88. package/{script/deps/jsr.io/@std/bytes/1.0.4 → esm/deps/jsr.io/@std/bytes/1.0.5}/concat.d.ts +3 -1
  89. package/esm/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
  90. package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/concat.js +1 -1
  91. package/esm/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts.map +1 -1
  92. package/esm/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.js +1 -1
  93. package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +9 -0
  94. package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +1 -0
  95. package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.js +2 -0
  96. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts.map +1 -1
  97. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.js +1 -1
  98. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.d.ts +3 -1
  99. package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +1 -0
  100. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.js +1 -1
  101. package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts.map +1 -1
  102. package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.js +1 -1
  103. package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts.map +1 -1
  104. package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.js +1 -1
  105. package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts.map +1 -1
  106. package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.js +1 -1
  107. package/esm/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts.map +1 -1
  108. package/esm/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.js +2 -2
  109. package/esm/tl/0_api.d.ts +283 -73
  110. package/esm/tl/0_api.d.ts.map +1 -1
  111. package/esm/tl/0_api.js +436 -120
  112. package/esm/transport/0_transport.d.ts +2 -2
  113. package/esm/transport/0_transport.d.ts.map +1 -1
  114. package/esm/types/{4_user_gift.d.ts → 4_claimed_gift.d.ts} +7 -7
  115. package/esm/types/4_claimed_gift.d.ts.map +1 -0
  116. package/esm/types/{4_user_gift.js → 4_claimed_gift.js} +16 -11
  117. package/{script/types/5_user_gifts.d.ts → esm/types/5_claimed_gifts.d.ts} +6 -6
  118. package/esm/types/5_claimed_gifts.d.ts.map +1 -0
  119. package/esm/types/{5_user_gifts.js → 5_claimed_gifts.js} +19 -5
  120. package/esm/utilities/0_part_stream.d.ts +1 -1
  121. package/esm/utilities/0_part_stream.d.ts.map +1 -1
  122. package/esm/utilities/1_base64.d.ts +1 -1
  123. package/esm/utilities/1_base64.d.ts.map +1 -1
  124. package/esm/utilities/1_crypto.d.ts +2 -2
  125. package/esm/utilities/1_crypto.d.ts.map +1 -1
  126. package/package.json +2 -2
  127. package/script/0_deps.d.ts +7 -7
  128. package/script/0_deps.js +7 -7
  129. package/script/3_types.d.ts +4 -4
  130. package/script/3_types.d.ts.map +1 -1
  131. package/script/3_types.js +4 -4
  132. package/script/4_constants.d.ts +1 -1
  133. package/script/4_constants.js +1 -1
  134. package/script/client/0_params.d.ts +1 -1
  135. package/script/client/0_params.d.ts.map +1 -1
  136. package/script/client/0_storage_operations.d.ts +1 -1
  137. package/script/client/0_storage_operations.d.ts.map +1 -1
  138. package/script/client/0_utilities.d.ts +2 -2
  139. package/script/client/0_utilities.d.ts.map +1 -1
  140. package/script/client/1_client_encrypted.d.ts +1 -1
  141. package/script/client/1_client_encrypted.d.ts.map +1 -1
  142. package/script/client/1_client_plain.d.ts +1 -1
  143. package/script/client/1_client_plain.d.ts.map +1 -1
  144. package/script/client/2_account_manager.d.ts.map +1 -1
  145. package/script/client/2_account_manager.js +4 -16
  146. package/script/client/4_gift_manager.d.ts +3 -3
  147. package/script/client/4_gift_manager.d.ts.map +1 -1
  148. package/script/client/4_gift_manager.js +9 -9
  149. package/script/client/5_client.d.ts +7 -7
  150. package/script/client/5_client.d.ts.map +1 -1
  151. package/script/client/5_client.js +7 -7
  152. package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.d.ts +2 -2
  153. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.d.ts.map +1 -0
  154. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.d.ts.map +1 -0
  155. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts.map +1 -1
  156. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.js +1 -1
  157. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts.map +1 -1
  158. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.js +1 -1
  159. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts.map +1 -1
  160. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.js +1 -1
  161. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts.map +1 -1
  162. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.js +1 -1
  163. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts.map +1 -1
  164. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.js +1 -1
  165. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts.map +1 -1
  166. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.js +1 -1
  167. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts.map +1 -1
  168. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.js +1 -1
  169. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts.map +1 -1
  170. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.js +1 -1
  171. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts.map +1 -1
  172. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.js +1 -1
  173. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts.map +1 -1
  174. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.js +1 -1
  175. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts.map +1 -1
  176. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.js +1 -1
  177. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts.map +1 -1
  178. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.js +1 -1
  179. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts.map +1 -1
  180. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.js +1 -1
  181. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts.map +1 -1
  182. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.js +1 -1
  183. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts.map +1 -1
  184. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.js +1 -1
  185. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts.map +1 -1
  186. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.js +1 -1
  187. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts.map +1 -1
  188. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.js +1 -1
  189. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts.map +1 -1
  190. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.js +1 -1
  191. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts.map +1 -1
  192. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.js +1 -1
  193. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts.map +1 -1
  194. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.js +1 -1
  195. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts.map +1 -1
  196. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.js +1 -1
  197. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts.map +1 -1
  198. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.js +22 -15
  199. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts.map +1 -1
  200. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.js +1 -1
  201. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts.map +1 -1
  202. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.js +1 -1
  203. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts.map +1 -1
  204. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.js +1 -1
  205. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts.map +1 -1
  206. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.js +1 -1
  207. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts.map +1 -1
  208. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.js +1 -1
  209. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts.map +1 -1
  210. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.js +1 -1
  211. package/script/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +9 -0
  212. package/script/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
  213. package/script/deps/jsr.io/@std/bytes/1.0.5/_types.js +3 -0
  214. package/{esm/deps/jsr.io/@std/bytes/1.0.4 → script/deps/jsr.io/@std/bytes/1.0.5}/concat.d.ts +3 -1
  215. package/script/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
  216. package/script/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/concat.js +1 -1
  217. package/script/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts.map +1 -1
  218. package/script/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.js +1 -1
  219. package/script/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +9 -0
  220. package/script/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +1 -0
  221. package/script/deps/jsr.io/@std/encoding/1.0.7/_types.js +3 -0
  222. package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts.map +1 -1
  223. package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.js +1 -1
  224. package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.d.ts +3 -1
  225. package/script/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +1 -0
  226. package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.js +1 -1
  227. package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts.map +1 -1
  228. package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.js +1 -1
  229. package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts.map +1 -1
  230. package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.js +1 -1
  231. package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts.map +1 -1
  232. package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.js +1 -1
  233. package/script/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts.map +1 -1
  234. package/script/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.js +2 -2
  235. package/script/tl/0_api.d.ts +283 -73
  236. package/script/tl/0_api.d.ts.map +1 -1
  237. package/script/tl/0_api.js +436 -120
  238. package/script/transport/0_transport.d.ts +2 -2
  239. package/script/transport/0_transport.d.ts.map +1 -1
  240. package/script/types/{4_user_gift.d.ts → 4_claimed_gift.d.ts} +7 -7
  241. package/script/types/4_claimed_gift.d.ts.map +1 -0
  242. package/script/types/{4_user_gift.js → 4_claimed_gift.js} +17 -12
  243. package/{esm/types/5_user_gifts.d.ts → script/types/5_claimed_gifts.d.ts} +6 -6
  244. package/script/types/5_claimed_gifts.d.ts.map +1 -0
  245. package/script/types/{5_user_gifts.js → 5_claimed_gifts.js} +20 -6
  246. package/script/utilities/0_part_stream.d.ts +1 -1
  247. package/script/utilities/0_part_stream.d.ts.map +1 -1
  248. package/script/utilities/1_base64.d.ts +1 -1
  249. package/script/utilities/1_base64.d.ts.map +1 -1
  250. package/script/utilities/1_crypto.d.ts +2 -2
  251. package/script/utilities/1_crypto.d.ts.map +1 -1
  252. package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.d.ts.map +0 -1
  253. package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.d.ts.map +0 -1
  254. package/esm/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +0 -1
  255. package/esm/deps/jsr.io/@std/encoding/1.0.6/base64.d.ts.map +0 -1
  256. package/esm/types/4_user_gift.d.ts.map +0 -1
  257. package/esm/types/5_user_gifts.d.ts.map +0 -1
  258. package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.d.ts.map +0 -1
  259. package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.d.ts.map +0 -1
  260. package/script/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +0 -1
  261. package/script/deps/jsr.io/@std/encoding/1.0.6/base64.d.ts.map +0 -1
  262. package/script/types/4_user_gift.d.ts.map +0 -1
  263. package/script/types/5_user_gifts.d.ts.map +0 -1
  264. /package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.js +0 -0
  265. /package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.d.ts +0 -0
  266. /package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.js +0 -0
  267. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts +0 -0
  268. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts +0 -0
  269. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts +0 -0
  270. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts +0 -0
  271. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts +0 -0
  272. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts +0 -0
  273. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts +0 -0
  274. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts +0 -0
  275. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts +0 -0
  276. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts +0 -0
  277. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts +0 -0
  278. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts +0 -0
  279. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts +0 -0
  280. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts +0 -0
  281. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts +0 -0
  282. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts +0 -0
  283. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts +0 -0
  284. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts +0 -0
  285. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts +0 -0
  286. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts +0 -0
  287. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts +0 -0
  288. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts +0 -0
  289. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts +0 -0
  290. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts +0 -0
  291. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts +0 -0
  292. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts +0 -0
  293. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts +0 -0
  294. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts +0 -0
  295. /package/esm/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts +0 -0
  296. /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts +0 -0
  297. /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts +0 -0
  298. /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts +0 -0
  299. /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts +0 -0
  300. /package/esm/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts +0 -0
  301. /package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.js +0 -0
  302. /package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.d.ts +0 -0
  303. /package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.js +0 -0
  304. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts +0 -0
  305. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts +0 -0
  306. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts +0 -0
  307. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts +0 -0
  308. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts +0 -0
  309. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts +0 -0
  310. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts +0 -0
  311. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts +0 -0
  312. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts +0 -0
  313. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts +0 -0
  314. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts +0 -0
  315. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts +0 -0
  316. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts +0 -0
  317. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts +0 -0
  318. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts +0 -0
  319. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts +0 -0
  320. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts +0 -0
  321. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts +0 -0
  322. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts +0 -0
  323. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts +0 -0
  324. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts +0 -0
  325. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts +0 -0
  326. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts +0 -0
  327. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts +0 -0
  328. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts +0 -0
  329. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts +0 -0
  330. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts +0 -0
  331. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts +0 -0
  332. /package/script/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts +0 -0
  333. /package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts +0 -0
  334. /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts +0 -0
  335. /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts +0 -0
  336. /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts +0 -0
  337. /package/script/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts +0 -0
package/esm/tl/0_api.d.ts CHANGED
@@ -202,8 +202,41 @@ export interface error {
202
202
  code: number;
203
203
  text: string;
204
204
  }
205
- export interface null_ {
206
- _: "null";
205
+ export interface ipPort {
206
+ _: "ipPort";
207
+ ipv4: number;
208
+ port: number;
209
+ }
210
+ export interface ipPortSecret {
211
+ _: "ipPortSecret";
212
+ ipv4: number;
213
+ port: number;
214
+ secret: Uint8Array;
215
+ }
216
+ export interface accessPointRule {
217
+ _: "accessPointRule";
218
+ phone_prefix_rules: string;
219
+ dc_id: number;
220
+ ips: Array<IpPort>;
221
+ }
222
+ export interface help_configSimple {
223
+ _: "help.configSimple";
224
+ date: number;
225
+ expires: number;
226
+ rules: Array<AccessPointRule>;
227
+ }
228
+ export interface inputPeerPhotoFileLocationLegacy {
229
+ _: "inputPeerPhotoFileLocationLegacy";
230
+ big?: true;
231
+ peer: InputPeer;
232
+ volume_id: bigint;
233
+ local_id: number;
234
+ }
235
+ export interface inputStickerSetThumbLegacy {
236
+ _: "inputStickerSetThumbLegacy";
237
+ stickerset: InputStickerSet;
238
+ volume_id: bigint;
239
+ local_id: number;
207
240
  }
208
241
  export interface inputPeerEmpty {
209
242
  _: "inputPeerEmpty";
@@ -315,12 +348,16 @@ export interface inputMediaUploadedDocument {
315
348
  mime_type: string;
316
349
  attributes: Array<DocumentAttribute>;
317
350
  stickers?: Array<InputDocument>;
351
+ video_cover?: InputPhoto;
352
+ video_timestamp?: number;
318
353
  ttl_seconds?: number;
319
354
  }
320
355
  export interface inputMediaDocument {
321
356
  _: "inputMediaDocument";
322
357
  spoiler?: true;
323
358
  id: InputDocument;
359
+ video_cover?: InputPhoto;
360
+ video_timestamp?: number;
324
361
  ttl_seconds?: number;
325
362
  query?: string;
326
363
  }
@@ -344,6 +381,8 @@ export interface inputMediaDocumentExternal {
344
381
  spoiler?: true;
345
382
  url: string;
346
383
  ttl_seconds?: number;
384
+ video_cover?: InputPhoto;
385
+ video_timestamp?: number;
347
386
  }
348
387
  export interface inputMediaGame {
349
388
  _: "inputMediaGame";
@@ -745,6 +784,7 @@ export interface channelFull {
745
784
  paid_media_allowed?: true;
746
785
  can_view_stars_revenue?: true;
747
786
  paid_reactions_available?: true;
787
+ stargifts_available?: true;
748
788
  id: bigint;
749
789
  about: string;
750
790
  participants_count?: number;
@@ -787,6 +827,7 @@ export interface channelFull {
787
827
  boosts_unrestrict?: number;
788
828
  emojiset?: StickerSet;
789
829
  bot_verification?: BotVerification;
830
+ stargifts_count?: number;
790
831
  }
791
832
  export interface chatParticipant {
792
833
  _: "chatParticipant";
@@ -924,6 +965,8 @@ export interface messageMediaDocument {
924
965
  voice?: true;
925
966
  document?: Document;
926
967
  alt_documents?: Array<Document>;
968
+ video_cover?: Photo;
969
+ video_timestamp?: number;
927
970
  ttl_seconds?: number;
928
971
  }
929
972
  export interface messageMediaWebPage {
@@ -1274,6 +1317,9 @@ export interface messageActionStarGift {
1274
1317
  convert_stars?: bigint;
1275
1318
  upgrade_msg_id?: number;
1276
1319
  upgrade_stars?: bigint;
1320
+ from_id?: Peer;
1321
+ peer?: Peer;
1322
+ saved_id?: bigint;
1277
1323
  }
1278
1324
  export interface messageActionStarGiftUnique {
1279
1325
  _: "messageActionStarGiftUnique";
@@ -1284,6 +1330,9 @@ export interface messageActionStarGiftUnique {
1284
1330
  gift: StarGift;
1285
1331
  can_export_at?: number;
1286
1332
  transfer_stars?: bigint;
1333
+ from_id?: Peer;
1334
+ peer?: Peer;
1335
+ saved_id?: bigint;
1287
1336
  }
1288
1337
  export interface dialog {
1289
1338
  _: "dialog";
@@ -2516,7 +2565,7 @@ export interface updateBotPurchasedPaidMedia {
2516
2565
  }
2517
2566
  export interface updatePaidReactionPrivacy {
2518
2567
  _: "updatePaidReactionPrivacy";
2519
- private: boolean;
2568
+ private: PaidReactionPrivacy;
2520
2569
  }
2521
2570
  export interface updates_state {
2522
2571
  _: "updates.state";
@@ -3223,6 +3272,7 @@ export interface webPagePending {
3223
3272
  export interface webPage {
3224
3273
  _: "webPage";
3225
3274
  has_large_media?: true;
3275
+ video_cover_photo?: true;
3226
3276
  id: bigint;
3227
3277
  url: string;
3228
3278
  display_url: string;
@@ -6054,6 +6104,10 @@ export interface webPageAttributeStickerSet {
6054
6104
  text_color?: true;
6055
6105
  stickers: Array<Document>;
6056
6106
  }
6107
+ export interface webPageAttributeUniqueStarGift {
6108
+ _: "webPageAttributeUniqueStarGift";
6109
+ gift: StarGift;
6110
+ }
6057
6111
  export interface messages_votesList {
6058
6112
  _: "messages.votesList";
6059
6113
  count: number;
@@ -6819,19 +6873,19 @@ export interface inputInvoiceStarGift {
6819
6873
  _: "inputInvoiceStarGift";
6820
6874
  hide_name?: true;
6821
6875
  include_upgrade?: true;
6822
- user_id: InputUser;
6876
+ peer: InputPeer;
6823
6877
  gift_id: bigint;
6824
6878
  message?: TextWithEntities;
6825
6879
  }
6826
6880
  export interface inputInvoiceStarGiftUpgrade {
6827
6881
  _: "inputInvoiceStarGiftUpgrade";
6828
6882
  keep_original_details?: true;
6829
- msg_id: number;
6883
+ stargift: InputSavedStarGift;
6830
6884
  }
6831
6885
  export interface inputInvoiceStarGiftTransfer {
6832
6886
  _: "inputInvoiceStarGiftTransfer";
6833
- msg_id: number;
6834
- to_id: InputUser;
6887
+ stargift: InputSavedStarGift;
6888
+ to_id: InputPeer;
6835
6889
  }
6836
6890
  export interface payments_exportedInvoice {
6837
6891
  _: "payments.exportedInvoice";
@@ -6933,11 +6987,25 @@ export interface emojiStatusEmpty {
6933
6987
  export interface emojiStatus {
6934
6988
  _: "emojiStatus";
6935
6989
  document_id: bigint;
6990
+ until?: number;
6936
6991
  }
6937
- export interface emojiStatusUntil {
6938
- _: "emojiStatusUntil";
6992
+ export interface emojiStatusCollectible {
6993
+ _: "emojiStatusCollectible";
6994
+ collectible_id: bigint;
6939
6995
  document_id: bigint;
6940
- until: number;
6996
+ title: string;
6997
+ slug: string;
6998
+ pattern_document_id: bigint;
6999
+ center_color: number;
7000
+ edge_color: number;
7001
+ pattern_color: number;
7002
+ text_color: number;
7003
+ until?: number;
7004
+ }
7005
+ export interface inputEmojiStatusCollectible {
7006
+ _: "inputEmojiStatusCollectible";
7007
+ collectible_id: bigint;
7008
+ until?: number;
6941
7009
  }
6942
7010
  export interface account_emojiStatusesNotModified {
6943
7011
  _: "account.emojiStatusesNotModified";
@@ -7483,6 +7551,11 @@ export interface mediaAreaWeather {
7483
7551
  temperature_c: number;
7484
7552
  color: number;
7485
7553
  }
7554
+ export interface mediaAreaStarGift {
7555
+ _: "mediaAreaStarGift";
7556
+ coordinates: MediaAreaCoordinates;
7557
+ slug: string;
7558
+ }
7486
7559
  export interface peerStories {
7487
7560
  _: "peerStories";
7488
7561
  peer: Peer;
@@ -8338,11 +8411,15 @@ export interface starGiftUnique {
8338
8411
  _: "starGiftUnique";
8339
8412
  id: bigint;
8340
8413
  title: string;
8414
+ slug: string;
8341
8415
  num: number;
8342
- owner_id: bigint;
8416
+ owner_id?: Peer;
8417
+ owner_name?: string;
8418
+ owner_address?: string;
8343
8419
  attributes: Array<StarGiftAttribute>;
8344
8420
  availability_issued: number;
8345
8421
  availability_total: number;
8422
+ gift_address?: string;
8346
8423
  }
8347
8424
  export interface payments_starGiftsNotModified {
8348
8425
  _: "payments.starGiftsNotModified";
@@ -8352,29 +8429,6 @@ export interface payments_starGifts {
8352
8429
  hash: number;
8353
8430
  gifts: Array<StarGift>;
8354
8431
  }
8355
- export interface userStarGift {
8356
- _: "userStarGift";
8357
- name_hidden?: true;
8358
- unsaved?: true;
8359
- refunded?: true;
8360
- can_upgrade?: true;
8361
- from_id?: bigint;
8362
- date: number;
8363
- gift: StarGift;
8364
- message?: TextWithEntities;
8365
- msg_id?: number;
8366
- convert_stars?: bigint;
8367
- upgrade_stars?: bigint;
8368
- can_export_at?: number;
8369
- transfer_stars?: bigint;
8370
- }
8371
- export interface payments_userStarGifts {
8372
- _: "payments.userStarGifts";
8373
- count: number;
8374
- gifts: Array<UserStarGift>;
8375
- next_offset?: string;
8376
- users: Array<User>;
8377
- }
8378
8432
  export interface messageReportOption {
8379
8433
  _: "messageReportOption";
8380
8434
  text: string;
@@ -8497,8 +8551,8 @@ export interface starGiftAttributeBackdrop {
8497
8551
  }
8498
8552
  export interface starGiftAttributeOriginalDetails {
8499
8553
  _: "starGiftAttributeOriginalDetails";
8500
- sender_id?: bigint;
8501
- recipient_id: bigint;
8554
+ sender_id?: Peer;
8555
+ recipient_id: Peer;
8502
8556
  date: number;
8503
8557
  message?: TextWithEntities;
8504
8558
  }
@@ -8515,6 +8569,65 @@ export interface users_usersSlice {
8515
8569
  count: number;
8516
8570
  users: Array<User>;
8517
8571
  }
8572
+ export interface payments_uniqueStarGift {
8573
+ _: "payments.uniqueStarGift";
8574
+ gift: StarGift;
8575
+ users: Array<User>;
8576
+ }
8577
+ export interface messages_webPagePreview {
8578
+ _: "messages.webPagePreview";
8579
+ media: MessageMedia;
8580
+ users: Array<User>;
8581
+ }
8582
+ export interface savedStarGift {
8583
+ _: "savedStarGift";
8584
+ name_hidden?: true;
8585
+ unsaved?: true;
8586
+ refunded?: true;
8587
+ can_upgrade?: true;
8588
+ from_id?: Peer;
8589
+ date: number;
8590
+ gift: StarGift;
8591
+ message?: TextWithEntities;
8592
+ msg_id?: number;
8593
+ saved_id?: bigint;
8594
+ convert_stars?: bigint;
8595
+ upgrade_stars?: bigint;
8596
+ can_export_at?: number;
8597
+ transfer_stars?: bigint;
8598
+ }
8599
+ export interface payments_savedStarGifts {
8600
+ _: "payments.savedStarGifts";
8601
+ count: number;
8602
+ chat_notifications_enabled?: boolean;
8603
+ gifts: Array<SavedStarGift>;
8604
+ next_offset?: string;
8605
+ chats: Array<Chat>;
8606
+ users: Array<User>;
8607
+ }
8608
+ export interface inputSavedStarGiftUser {
8609
+ _: "inputSavedStarGiftUser";
8610
+ msg_id: number;
8611
+ }
8612
+ export interface inputSavedStarGiftChat {
8613
+ _: "inputSavedStarGiftChat";
8614
+ peer: InputPeer;
8615
+ saved_id: bigint;
8616
+ }
8617
+ export interface payments_starGiftWithdrawalUrl {
8618
+ _: "payments.starGiftWithdrawalUrl";
8619
+ url: string;
8620
+ }
8621
+ export interface paidReactionPrivacyDefault {
8622
+ _: "paidReactionPrivacyDefault";
8623
+ }
8624
+ export interface paidReactionPrivacyAnonymous {
8625
+ _: "paidReactionPrivacyAnonymous";
8626
+ }
8627
+ export interface paidReactionPrivacyPeer {
8628
+ _: "paidReactionPrivacyPeer";
8629
+ peer: InputPeer;
8630
+ }
8518
8631
  export interface req_pq_multi {
8519
8632
  _: "req_pq_multi";
8520
8633
  nonce: bigint;
@@ -8567,6 +8680,28 @@ export interface destroy_auth_key {
8567
8680
  _: "destroy_auth_key";
8568
8681
  [R]?: DestroyAuthKeyRes;
8569
8682
  }
8683
+ export interface invokeWithBusinessConnectionPrefix {
8684
+ _: "invokeWithBusinessConnectionPrefix";
8685
+ connection_id: string;
8686
+ [R]?: Error;
8687
+ }
8688
+ export interface invokeWithGooglePlayIntegrityPrefix {
8689
+ _: "invokeWithGooglePlayIntegrityPrefix";
8690
+ nonce: string;
8691
+ token: string;
8692
+ [R]?: Error;
8693
+ }
8694
+ export interface invokeWithApnsSecretPrefix {
8695
+ _: "invokeWithApnsSecretPrefix";
8696
+ nonce: string;
8697
+ secret: string;
8698
+ [R]?: Error;
8699
+ }
8700
+ export interface invokeWithReCaptchaPrefix {
8701
+ _: "invokeWithReCaptchaPrefix";
8702
+ token: string;
8703
+ [R]?: Error;
8704
+ }
8570
8705
  export interface invokeAfterMsg<T> {
8571
8706
  _: "invokeAfterMsg";
8572
8707
  msg_id: bigint;
@@ -8636,6 +8771,12 @@ export interface invokeWithApnsSecret<T> {
8636
8771
  query: T;
8637
8772
  [R]?: ReturnType<T>;
8638
8773
  }
8774
+ export interface invokeWithReCaptcha<T> {
8775
+ _: "invokeWithReCaptcha";
8776
+ token: string;
8777
+ query: T;
8778
+ [R]?: ReturnType<T>;
8779
+ }
8639
8780
  export interface auth_sendCode {
8640
8781
  _: "auth.sendCode";
8641
8782
  phone_number: string;
@@ -9406,6 +9547,11 @@ export interface account_setReactionsNotifySettings {
9406
9547
  settings: ReactionsNotifySettings;
9407
9548
  [R]?: ReactionsNotifySettings;
9408
9549
  }
9550
+ export interface account_getCollectibleEmojiStatuses {
9551
+ _: "account.getCollectibleEmojiStatuses";
9552
+ hash: bigint;
9553
+ [R]?: account_EmojiStatuses;
9554
+ }
9409
9555
  export interface users_getUsers {
9410
9556
  _: "users.getUsers";
9411
9557
  id: Array<InputUser>;
@@ -9723,6 +9869,7 @@ export interface messages_forwardMessages {
9723
9869
  schedule_date?: number;
9724
9870
  send_as?: InputPeer;
9725
9871
  quick_reply_shortcut?: InputQuickReplyShortcut;
9872
+ video_timestamp?: number;
9726
9873
  [R]?: Updates;
9727
9874
  }
9728
9875
  export interface messages_reportSpam {
@@ -9878,7 +10025,7 @@ export interface messages_getWebPagePreview {
9878
10025
  _: "messages.getWebPagePreview";
9879
10026
  message: string;
9880
10027
  entities?: Array<MessageEntity>;
9881
- [R]?: MessageMedia;
10028
+ [R]?: messages_WebPagePreview;
9882
10029
  }
9883
10030
  export interface messages_exportChatInvite {
9884
10031
  _: "messages.exportChatInvite";
@@ -11116,14 +11263,14 @@ export interface messages_sendPaidReaction {
11116
11263
  msg_id: number;
11117
11264
  count: number;
11118
11265
  random_id: bigint;
11119
- private?: boolean;
11266
+ private?: PaidReactionPrivacy;
11120
11267
  [R]?: Updates;
11121
11268
  }
11122
11269
  export interface messages_togglePaidReactionPrivacy {
11123
11270
  _: "messages.togglePaidReactionPrivacy";
11124
11271
  peer: InputPeer;
11125
11272
  msg_id: number;
11126
- private: boolean;
11273
+ private: PaidReactionPrivacy;
11127
11274
  [R]?: boolean;
11128
11275
  }
11129
11276
  export interface messages_getPaidReactionPrivacy {
@@ -11655,6 +11802,7 @@ export interface channels_convertToGigagroup {
11655
11802
  }
11656
11803
  export interface channels_getSendAs {
11657
11804
  _: "channels.getSendAs";
11805
+ for_paid_reactions?: true;
11658
11806
  peer: InputPeer;
11659
11807
  [R]?: channels_SendAsPeers;
11660
11808
  }
@@ -12196,22 +12344,15 @@ export interface payments_getStarGifts {
12196
12344
  hash: number;
12197
12345
  [R]?: payments_StarGifts;
12198
12346
  }
12199
- export interface payments_getUserStarGifts {
12200
- _: "payments.getUserStarGifts";
12201
- user_id: InputUser;
12202
- offset: string;
12203
- limit: number;
12204
- [R]?: payments_UserStarGifts;
12205
- }
12206
12347
  export interface payments_saveStarGift {
12207
12348
  _: "payments.saveStarGift";
12208
12349
  unsave?: true;
12209
- msg_id: number;
12350
+ stargift: InputSavedStarGift;
12210
12351
  [R]?: boolean;
12211
12352
  }
12212
12353
  export interface payments_convertStarGift {
12213
12354
  _: "payments.convertStarGift";
12214
- msg_id: number;
12355
+ stargift: InputSavedStarGift;
12215
12356
  [R]?: boolean;
12216
12357
  }
12217
12358
  export interface payments_botCancelStarsSubscription {
@@ -12265,19 +12406,49 @@ export interface payments_getStarGiftUpgradePreview {
12265
12406
  export interface payments_upgradeStarGift {
12266
12407
  _: "payments.upgradeStarGift";
12267
12408
  keep_original_details?: true;
12268
- msg_id: number;
12409
+ stargift: InputSavedStarGift;
12269
12410
  [R]?: Updates;
12270
12411
  }
12271
12412
  export interface payments_transferStarGift {
12272
12413
  _: "payments.transferStarGift";
12273
- msg_id: number;
12274
- to_id: InputUser;
12414
+ stargift: InputSavedStarGift;
12415
+ to_id: InputPeer;
12275
12416
  [R]?: Updates;
12276
12417
  }
12277
- export interface payments_getUserStarGift {
12278
- _: "payments.getUserStarGift";
12279
- msg_id: Array<number>;
12280
- [R]?: payments_UserStarGifts;
12418
+ export interface payments_getUniqueStarGift {
12419
+ _: "payments.getUniqueStarGift";
12420
+ slug: string;
12421
+ [R]?: payments_UniqueStarGift;
12422
+ }
12423
+ export interface payments_getSavedStarGifts {
12424
+ _: "payments.getSavedStarGifts";
12425
+ exclude_unsaved?: true;
12426
+ exclude_saved?: true;
12427
+ exclude_unlimited?: true;
12428
+ exclude_limited?: true;
12429
+ exclude_unique?: true;
12430
+ sort_by_value?: true;
12431
+ peer: InputPeer;
12432
+ offset: string;
12433
+ limit: number;
12434
+ [R]?: payments_SavedStarGifts;
12435
+ }
12436
+ export interface payments_getSavedStarGift {
12437
+ _: "payments.getSavedStarGift";
12438
+ stargift: Array<InputSavedStarGift>;
12439
+ [R]?: payments_SavedStarGifts;
12440
+ }
12441
+ export interface payments_getStarGiftWithdrawalUrl {
12442
+ _: "payments.getStarGiftWithdrawalUrl";
12443
+ stargift: InputSavedStarGift;
12444
+ password: InputCheckPasswordSRP;
12445
+ [R]?: payments_StarGiftWithdrawalUrl;
12446
+ }
12447
+ export interface payments_toggleChatStarGiftNotifications {
12448
+ _: "payments.toggleChatStarGiftNotifications";
12449
+ enabled?: true;
12450
+ peer: InputPeer;
12451
+ [R]?: boolean;
12281
12452
  }
12282
12453
  export interface stickers_createStickerSet {
12283
12454
  _: "stickers.createStickerSet";
@@ -13023,7 +13194,12 @@ export interface Types {
13023
13194
  "http_wait": http_wait;
13024
13195
  "true": true_;
13025
13196
  "error": error;
13026
- "null": null_;
13197
+ "ipPort": ipPort;
13198
+ "ipPortSecret": ipPortSecret;
13199
+ "accessPointRule": accessPointRule;
13200
+ "help.configSimple": help_configSimple;
13201
+ "inputPeerPhotoFileLocationLegacy": inputPeerPhotoFileLocationLegacy;
13202
+ "inputStickerSetThumbLegacy": inputStickerSetThumbLegacy;
13027
13203
  "inputPeerEmpty": inputPeerEmpty;
13028
13204
  "inputPeerSelf": inputPeerSelf;
13029
13205
  "inputPeerChat": inputPeerChat;
@@ -14019,6 +14195,7 @@ export interface Types {
14019
14195
  "webPageAttributeTheme": webPageAttributeTheme;
14020
14196
  "webPageAttributeStory": webPageAttributeStory;
14021
14197
  "webPageAttributeStickerSet": webPageAttributeStickerSet;
14198
+ "webPageAttributeUniqueStarGift": webPageAttributeUniqueStarGift;
14022
14199
  "messages.votesList": messages_votesList;
14023
14200
  "bankCardOpenUrl": bankCardOpenUrl;
14024
14201
  "payments.bankCardData": payments_bankCardData;
@@ -14160,7 +14337,8 @@ export interface Types {
14160
14337
  "paymentFormMethod": paymentFormMethod;
14161
14338
  "emojiStatusEmpty": emojiStatusEmpty;
14162
14339
  "emojiStatus": emojiStatus;
14163
- "emojiStatusUntil": emojiStatusUntil;
14340
+ "emojiStatusCollectible": emojiStatusCollectible;
14341
+ "inputEmojiStatusCollectible": inputEmojiStatusCollectible;
14164
14342
  "account.emojiStatusesNotModified": account_emojiStatusesNotModified;
14165
14343
  "account.emojiStatuses": account_emojiStatuses;
14166
14344
  "reactionEmpty": reactionEmpty;
@@ -14251,6 +14429,7 @@ export interface Types {
14251
14429
  "inputMediaAreaChannelPost": inputMediaAreaChannelPost;
14252
14430
  "mediaAreaUrl": mediaAreaUrl;
14253
14431
  "mediaAreaWeather": mediaAreaWeather;
14432
+ "mediaAreaStarGift": mediaAreaStarGift;
14254
14433
  "peerStories": peerStories;
14255
14434
  "stories.peerStories": stories_peerStories;
14256
14435
  "messages.webPage": messages_webPage;
@@ -14387,8 +14566,6 @@ export interface Types {
14387
14566
  "starGiftUnique": starGiftUnique;
14388
14567
  "payments.starGiftsNotModified": payments_starGiftsNotModified;
14389
14568
  "payments.starGifts": payments_starGifts;
14390
- "userStarGift": userStarGift;
14391
- "payments.userStarGifts": payments_userStarGifts;
14392
14569
  "messageReportOption": messageReportOption;
14393
14570
  "reportResultChooseOption": reportResultChooseOption;
14394
14571
  "reportResultAddComment": reportResultAddComment;
@@ -14412,6 +14589,16 @@ export interface Types {
14412
14589
  "payments.starGiftUpgradePreview": payments_starGiftUpgradePreview;
14413
14590
  "users.users": users_users;
14414
14591
  "users.usersSlice": users_usersSlice;
14592
+ "payments.uniqueStarGift": payments_uniqueStarGift;
14593
+ "messages.webPagePreview": messages_webPagePreview;
14594
+ "savedStarGift": savedStarGift;
14595
+ "payments.savedStarGifts": payments_savedStarGifts;
14596
+ "inputSavedStarGiftUser": inputSavedStarGiftUser;
14597
+ "inputSavedStarGiftChat": inputSavedStarGiftChat;
14598
+ "payments.starGiftWithdrawalUrl": payments_starGiftWithdrawalUrl;
14599
+ "paidReactionPrivacyDefault": paidReactionPrivacyDefault;
14600
+ "paidReactionPrivacyAnonymous": paidReactionPrivacyAnonymous;
14601
+ "paidReactionPrivacyPeer": paidReactionPrivacyPeer;
14415
14602
  }
14416
14603
  export interface Functions<T = Function> {
14417
14604
  "req_pq_multi": req_pq_multi;
@@ -14423,6 +14610,10 @@ export interface Functions<T = Function> {
14423
14610
  "ping_delay_disconnect": ping_delay_disconnect;
14424
14611
  "destroy_session": destroy_session;
14425
14612
  "destroy_auth_key": destroy_auth_key;
14613
+ "invokeWithBusinessConnectionPrefix": invokeWithBusinessConnectionPrefix;
14614
+ "invokeWithGooglePlayIntegrityPrefix": invokeWithGooglePlayIntegrityPrefix;
14615
+ "invokeWithApnsSecretPrefix": invokeWithApnsSecretPrefix;
14616
+ "invokeWithReCaptchaPrefix": invokeWithReCaptchaPrefix;
14426
14617
  "invokeAfterMsg": invokeAfterMsg<T>;
14427
14618
  "invokeAfterMsgs": invokeAfterMsgs<T>;
14428
14619
  "initConnection": initConnection<T>;
@@ -14433,6 +14624,7 @@ export interface Functions<T = Function> {
14433
14624
  "invokeWithBusinessConnection": invokeWithBusinessConnection<T>;
14434
14625
  "invokeWithGooglePlayIntegrity": invokeWithGooglePlayIntegrity<T>;
14435
14626
  "invokeWithApnsSecret": invokeWithApnsSecret<T>;
14627
+ "invokeWithReCaptcha": invokeWithReCaptcha<T>;
14436
14628
  "auth.sendCode": auth_sendCode;
14437
14629
  "auth.signUp": auth_signUp;
14438
14630
  "auth.signIn": auth_signIn;
@@ -14568,6 +14760,7 @@ export interface Functions<T = Function> {
14568
14760
  "account.toggleSponsoredMessages": account_toggleSponsoredMessages;
14569
14761
  "account.getReactionsNotifySettings": account_getReactionsNotifySettings;
14570
14762
  "account.setReactionsNotifySettings": account_setReactionsNotifySettings;
14763
+ "account.getCollectibleEmojiStatuses": account_getCollectibleEmojiStatuses;
14571
14764
  "users.getUsers": users_getUsers;
14572
14765
  "users.getFullUser": users_getFullUser;
14573
14766
  "users.setSecureValueErrors": users_setSecureValueErrors;
@@ -14986,7 +15179,6 @@ export interface Functions<T = Function> {
14986
15179
  "payments.fulfillStarsSubscription": payments_fulfillStarsSubscription;
14987
15180
  "payments.getStarsGiveawayOptions": payments_getStarsGiveawayOptions;
14988
15181
  "payments.getStarGifts": payments_getStarGifts;
14989
- "payments.getUserStarGifts": payments_getUserStarGifts;
14990
15182
  "payments.saveStarGift": payments_saveStarGift;
14991
15183
  "payments.convertStarGift": payments_convertStarGift;
14992
15184
  "payments.botCancelStarsSubscription": payments_botCancelStarsSubscription;
@@ -14998,7 +15190,11 @@ export interface Functions<T = Function> {
14998
15190
  "payments.getStarGiftUpgradePreview": payments_getStarGiftUpgradePreview;
14999
15191
  "payments.upgradeStarGift": payments_upgradeStarGift;
15000
15192
  "payments.transferStarGift": payments_transferStarGift;
15001
- "payments.getUserStarGift": payments_getUserStarGift;
15193
+ "payments.getUniqueStarGift": payments_getUniqueStarGift;
15194
+ "payments.getSavedStarGifts": payments_getSavedStarGifts;
15195
+ "payments.getSavedStarGift": payments_getSavedStarGift;
15196
+ "payments.getStarGiftWithdrawalUrl": payments_getStarGiftWithdrawalUrl;
15197
+ "payments.toggleChatStarGiftNotifications": payments_toggleChatStarGiftNotifications;
15002
15198
  "stickers.createStickerSet": stickers_createStickerSet;
15003
15199
  "stickers.removeStickerFromSet": stickers_removeStickerFromSet;
15004
15200
  "stickers.changeStickerPosition": stickers_changeStickerPosition;
@@ -15136,7 +15332,10 @@ export interface Enums {
15136
15332
  "HttpWait": HttpWait;
15137
15333
  "True": True;
15138
15334
  "Error": Error;
15139
- "Null": Null;
15335
+ "IpPort": IpPort;
15336
+ "AccessPointRule": AccessPointRule;
15337
+ "help.ConfigSimple": help_ConfigSimple;
15338
+ "InputFileLocation": InputFileLocation;
15140
15339
  "InputPeer": InputPeer;
15141
15340
  "InputUser": InputUser;
15142
15341
  "InputContact": InputContact;
@@ -15145,7 +15344,6 @@ export interface Enums {
15145
15344
  "InputChatPhoto": InputChatPhoto;
15146
15345
  "InputGeoPoint": InputGeoPoint;
15147
15346
  "InputPhoto": InputPhoto;
15148
- "InputFileLocation": InputFileLocation;
15149
15347
  "Peer": Peer;
15150
15348
  "storage.FileType": storage_FileType;
15151
15349
  "User": User;
@@ -15644,8 +15842,6 @@ export interface Enums {
15644
15842
  "StarsGiveawayWinnersOption": StarsGiveawayWinnersOption;
15645
15843
  "StarGift": StarGift;
15646
15844
  "payments.StarGifts": payments_StarGifts;
15647
- "UserStarGift": UserStarGift;
15648
- "payments.UserStarGifts": payments_UserStarGifts;
15649
15845
  "MessageReportOption": MessageReportOption;
15650
15846
  "ReportResult": ReportResult;
15651
15847
  "messages.BotPreparedInlineMessage": messages_BotPreparedInlineMessage;
@@ -15662,10 +15858,17 @@ export interface Enums {
15662
15858
  "StarGiftAttribute": StarGiftAttribute;
15663
15859
  "payments.StarGiftUpgradePreview": payments_StarGiftUpgradePreview;
15664
15860
  "users.Users": users_Users;
15861
+ "payments.UniqueStarGift": payments_UniqueStarGift;
15862
+ "messages.WebPagePreview": messages_WebPagePreview;
15863
+ "SavedStarGift": SavedStarGift;
15864
+ "payments.SavedStarGifts": payments_SavedStarGifts;
15865
+ "InputSavedStarGift": InputSavedStarGift;
15866
+ "payments.StarGiftWithdrawalUrl": payments_StarGiftWithdrawalUrl;
15867
+ "PaidReactionPrivacy": PaidReactionPrivacy;
15665
15868
  }
15666
15869
  export type AnyType = Types[keyof Types];
15667
15870
  export type AnyFunction<T = Function> = Functions<T>[keyof Functions<T>];
15668
- export type AnyGenericFunction<T> = invokeAfterMsg<T> | invokeAfterMsgs<T> | initConnection<T> | invokeWithLayer<T> | invokeWithoutUpdates<T> | invokeWithMessagesRange<T> | invokeWithTakeout<T> | invokeWithBusinessConnection<T> | invokeWithGooglePlayIntegrity<T> | invokeWithApnsSecret<T>;
15871
+ export type AnyGenericFunction<T> = invokeAfterMsg<T> | invokeAfterMsgs<T> | initConnection<T> | invokeWithLayer<T> | invokeWithoutUpdates<T> | invokeWithMessagesRange<T> | invokeWithTakeout<T> | invokeWithBusinessConnection<T> | invokeWithGooglePlayIntegrity<T> | invokeWithApnsSecret<T> | invokeWithReCaptcha<T>;
15669
15872
  export type AnyObject<T = Function> = AnyType | AnyFunction<T>;
15670
15873
  export type ResPQ = resPQ;
15671
15874
  export type P_Q_inner_data = p_q_inner_data_dc | p_q_inner_data_temp_dc;
@@ -15693,7 +15896,10 @@ export type DestroyAuthKeyRes = destroy_auth_key_ok | destroy_auth_key_none | de
15693
15896
  export type HttpWait = http_wait;
15694
15897
  export type True = true_;
15695
15898
  export type Error = error;
15696
- export type Null = null_;
15899
+ export type IpPort = ipPort | ipPortSecret;
15900
+ export type AccessPointRule = accessPointRule;
15901
+ export type help_ConfigSimple = help_configSimple;
15902
+ export type InputFileLocation = inputPeerPhotoFileLocationLegacy | inputStickerSetThumbLegacy | inputFileLocation | inputEncryptedFileLocation | inputDocumentFileLocation | inputSecureFileLocation | inputTakeoutFileLocation | inputPhotoFileLocation | inputPhotoLegacyFileLocation | inputPeerPhotoFileLocation | inputStickerSetThumb | inputGroupCallStream;
15697
15903
  export type InputPeer = inputPeerEmpty | inputPeerSelf | inputPeerChat | inputPeerUser | inputPeerChannel | inputPeerUserFromMessage | inputPeerChannelFromMessage;
15698
15904
  export type InputUser = inputUserEmpty | inputUserSelf | inputUser | inputUserFromMessage;
15699
15905
  export type InputContact = inputPhoneContact;
@@ -15702,7 +15908,6 @@ export type InputMedia = inputMediaEmpty | inputMediaUploadedPhoto | inputMediaP
15702
15908
  export type InputChatPhoto = inputChatPhotoEmpty | inputChatUploadedPhoto | inputChatPhoto;
15703
15909
  export type InputGeoPoint = inputGeoPointEmpty | inputGeoPoint;
15704
15910
  export type InputPhoto = inputPhotoEmpty | inputPhoto;
15705
- export type InputFileLocation = inputFileLocation | inputEncryptedFileLocation | inputDocumentFileLocation | inputSecureFileLocation | inputTakeoutFileLocation | inputPhotoFileLocation | inputPhotoLegacyFileLocation | inputPeerPhotoFileLocation | inputStickerSetThumb | inputGroupCallStream;
15706
15911
  export type Peer = peerUser | peerChat | peerChannel;
15707
15912
  export type storage_FileType = storage_fileUnknown | storage_filePartial | storage_fileJpeg | storage_fileGif | storage_filePng | storage_filePdf | storage_fileMp3 | storage_fileMov | storage_fileMp4 | storage_fileWebp;
15708
15913
  export type User = userEmpty | user;
@@ -15958,7 +16163,7 @@ export type messages_InactiveChats = messages_inactiveChats;
15958
16163
  export type BaseTheme = baseThemeClassic | baseThemeDay | baseThemeNight | baseThemeTinted | baseThemeArctic;
15959
16164
  export type InputThemeSettings = inputThemeSettings;
15960
16165
  export type ThemeSettings = themeSettings;
15961
- export type WebPageAttribute = webPageAttributeTheme | webPageAttributeStory | webPageAttributeStickerSet;
16166
+ export type WebPageAttribute = webPageAttributeTheme | webPageAttributeStory | webPageAttributeStickerSet | webPageAttributeUniqueStarGift;
15962
16167
  export type messages_VotesList = messages_votesList;
15963
16168
  export type BankCardOpenUrl = bankCardOpenUrl;
15964
16169
  export type payments_BankCardData = payments_bankCardData;
@@ -16047,7 +16252,7 @@ export type help_PremiumPromo = help_premiumPromo;
16047
16252
  export type InputStorePaymentPurpose = inputStorePaymentPremiumSubscription | inputStorePaymentGiftPremium | inputStorePaymentPremiumGiftCode | inputStorePaymentPremiumGiveaway | inputStorePaymentStarsTopup | inputStorePaymentStarsGift | inputStorePaymentStarsGiveaway;
16048
16253
  export type PremiumGiftOption = premiumGiftOption;
16049
16254
  export type PaymentFormMethod = paymentFormMethod;
16050
- export type EmojiStatus = emojiStatusEmpty | emojiStatus | emojiStatusUntil;
16255
+ export type EmojiStatus = emojiStatusEmpty | emojiStatus | emojiStatusCollectible | inputEmojiStatusCollectible;
16051
16256
  export type account_EmojiStatuses = account_emojiStatusesNotModified | account_emojiStatuses;
16052
16257
  export type Reaction = reactionEmpty | reactionEmoji | reactionCustomEmoji | reactionPaid;
16053
16258
  export type ChatReactions = chatReactionsNone | chatReactionsAll | chatReactionsSome;
@@ -16098,7 +16303,7 @@ export type InputReplyTo = inputReplyToMessage | inputReplyToStory;
16098
16303
  export type ExportedStoryLink = exportedStoryLink;
16099
16304
  export type StoriesStealthMode = storiesStealthMode;
16100
16305
  export type MediaAreaCoordinates = mediaAreaCoordinates;
16101
- export type MediaArea = mediaAreaVenue | inputMediaAreaVenue | mediaAreaGeoPoint | mediaAreaSuggestedReaction | mediaAreaChannelPost | inputMediaAreaChannelPost | mediaAreaUrl | mediaAreaWeather;
16306
+ export type MediaArea = mediaAreaVenue | inputMediaAreaVenue | mediaAreaGeoPoint | mediaAreaSuggestedReaction | mediaAreaChannelPost | inputMediaAreaChannelPost | mediaAreaUrl | mediaAreaWeather | mediaAreaStarGift;
16102
16307
  export type PeerStories = peerStories;
16103
16308
  export type stories_PeerStories = stories_peerStories;
16104
16309
  export type messages_WebPage = messages_webPage;
@@ -16201,8 +16406,6 @@ export type StarsGiveawayOption = starsGiveawayOption;
16201
16406
  export type StarsGiveawayWinnersOption = starsGiveawayWinnersOption;
16202
16407
  export type StarGift = starGift | starGiftUnique;
16203
16408
  export type payments_StarGifts = payments_starGiftsNotModified | payments_starGifts;
16204
- export type UserStarGift = userStarGift;
16205
- export type payments_UserStarGifts = payments_userStarGifts;
16206
16409
  export type MessageReportOption = messageReportOption;
16207
16410
  export type ReportResult = reportResultChooseOption | reportResultAddComment | reportResultReported;
16208
16411
  export type messages_BotPreparedInlineMessage = messages_botPreparedInlineMessage;
@@ -16219,6 +16422,13 @@ export type BotVerification = botVerification;
16219
16422
  export type StarGiftAttribute = starGiftAttributeModel | starGiftAttributePattern | starGiftAttributeBackdrop | starGiftAttributeOriginalDetails;
16220
16423
  export type payments_StarGiftUpgradePreview = payments_starGiftUpgradePreview;
16221
16424
  export type users_Users = users_users | users_usersSlice;
16425
+ export type payments_UniqueStarGift = payments_uniqueStarGift;
16426
+ export type messages_WebPagePreview = messages_webPagePreview;
16427
+ export type SavedStarGift = savedStarGift;
16428
+ export type payments_SavedStarGifts = payments_savedStarGifts;
16429
+ export type InputSavedStarGift = inputSavedStarGiftUser | inputSavedStarGiftChat;
16430
+ export type payments_StarGiftWithdrawalUrl = payments_starGiftWithdrawalUrl;
16431
+ export type PaidReactionPrivacy = paidReactionPrivacyDefault | paidReactionPrivacyAnonymous | paidReactionPrivacyPeer;
16222
16432
  export declare const getTypeName: (id: number) => string | undefined;
16223
16433
  export declare const flags: symbol;
16224
16434
  export type Parameters = [number, [string, unknown, string][]];