@mtkruto/node 0.18.0 → 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 (339) 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/esm/utilities/1_crypto.js +43 -19
  127. package/package.json +2 -2
  128. package/script/0_deps.d.ts +7 -7
  129. package/script/0_deps.js +7 -7
  130. package/script/3_types.d.ts +4 -4
  131. package/script/3_types.d.ts.map +1 -1
  132. package/script/3_types.js +4 -4
  133. package/script/4_constants.d.ts +1 -1
  134. package/script/4_constants.js +1 -1
  135. package/script/client/0_params.d.ts +1 -1
  136. package/script/client/0_params.d.ts.map +1 -1
  137. package/script/client/0_storage_operations.d.ts +1 -1
  138. package/script/client/0_storage_operations.d.ts.map +1 -1
  139. package/script/client/0_utilities.d.ts +2 -2
  140. package/script/client/0_utilities.d.ts.map +1 -1
  141. package/script/client/1_client_encrypted.d.ts +1 -1
  142. package/script/client/1_client_encrypted.d.ts.map +1 -1
  143. package/script/client/1_client_plain.d.ts +1 -1
  144. package/script/client/1_client_plain.d.ts.map +1 -1
  145. package/script/client/2_account_manager.d.ts.map +1 -1
  146. package/script/client/2_account_manager.js +4 -16
  147. package/script/client/4_gift_manager.d.ts +3 -3
  148. package/script/client/4_gift_manager.d.ts.map +1 -1
  149. package/script/client/4_gift_manager.js +9 -9
  150. package/script/client/5_client.d.ts +7 -7
  151. package/script/client/5_client.d.ts.map +1 -1
  152. package/script/client/5_client.js +7 -7
  153. package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.d.ts +2 -2
  154. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/mod.d.ts.map +1 -0
  155. package/script/deps/jsr.io/@roj/tgcrypto/1.0.1/dist/tgcrypto.d.ts.map +1 -0
  156. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts.map +1 -1
  157. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.js +1 -1
  158. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts.map +1 -1
  159. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.js +1 -1
  160. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts.map +1 -1
  161. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.js +1 -1
  162. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts.map +1 -1
  163. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.js +1 -1
  164. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts.map +1 -1
  165. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.js +1 -1
  166. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts.map +1 -1
  167. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.js +1 -1
  168. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts.map +1 -1
  169. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.js +1 -1
  170. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts.map +1 -1
  171. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.js +1 -1
  172. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts.map +1 -1
  173. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.js +1 -1
  174. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts.map +1 -1
  175. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.js +1 -1
  176. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts.map +1 -1
  177. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.js +1 -1
  178. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts.map +1 -1
  179. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.js +1 -1
  180. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts.map +1 -1
  181. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.js +1 -1
  182. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts.map +1 -1
  183. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.js +1 -1
  184. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts.map +1 -1
  185. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.js +1 -1
  186. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts.map +1 -1
  187. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.js +1 -1
  188. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts.map +1 -1
  189. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.js +1 -1
  190. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts.map +1 -1
  191. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.js +1 -1
  192. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts.map +1 -1
  193. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.js +1 -1
  194. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts.map +1 -1
  195. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.js +1 -1
  196. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts.map +1 -1
  197. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.js +1 -1
  198. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts.map +1 -1
  199. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.js +22 -15
  200. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts.map +1 -1
  201. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.js +1 -1
  202. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts.map +1 -1
  203. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.js +1 -1
  204. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts.map +1 -1
  205. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.js +1 -1
  206. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts.map +1 -1
  207. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.js +1 -1
  208. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts.map +1 -1
  209. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.js +1 -1
  210. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts.map +1 -1
  211. package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.js +1 -1
  212. package/script/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +9 -0
  213. package/script/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
  214. package/script/deps/jsr.io/@std/bytes/1.0.5/_types.js +3 -0
  215. package/{esm/deps/jsr.io/@std/bytes/1.0.4 → script/deps/jsr.io/@std/bytes/1.0.5}/concat.d.ts +3 -1
  216. package/script/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
  217. package/script/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/concat.js +1 -1
  218. package/script/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts.map +1 -1
  219. package/script/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.js +1 -1
  220. package/script/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +9 -0
  221. package/script/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +1 -0
  222. package/script/deps/jsr.io/@std/encoding/1.0.7/_types.js +3 -0
  223. package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts.map +1 -1
  224. package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.js +1 -1
  225. package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.d.ts +3 -1
  226. package/script/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +1 -0
  227. package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.js +1 -1
  228. package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts.map +1 -1
  229. package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.js +1 -1
  230. package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts.map +1 -1
  231. package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.js +1 -1
  232. package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts.map +1 -1
  233. package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.js +1 -1
  234. package/script/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts.map +1 -1
  235. package/script/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.js +2 -2
  236. package/script/tl/0_api.d.ts +283 -73
  237. package/script/tl/0_api.d.ts.map +1 -1
  238. package/script/tl/0_api.js +436 -120
  239. package/script/transport/0_transport.d.ts +2 -2
  240. package/script/transport/0_transport.d.ts.map +1 -1
  241. package/script/types/{4_user_gift.d.ts → 4_claimed_gift.d.ts} +7 -7
  242. package/script/types/4_claimed_gift.d.ts.map +1 -0
  243. package/script/types/{4_user_gift.js → 4_claimed_gift.js} +17 -12
  244. package/{esm/types/5_user_gifts.d.ts → script/types/5_claimed_gifts.d.ts} +6 -6
  245. package/script/types/5_claimed_gifts.d.ts.map +1 -0
  246. package/script/types/{5_user_gifts.js → 5_claimed_gifts.js} +20 -6
  247. package/script/utilities/0_part_stream.d.ts +1 -1
  248. package/script/utilities/0_part_stream.d.ts.map +1 -1
  249. package/script/utilities/1_base64.d.ts +1 -1
  250. package/script/utilities/1_base64.d.ts.map +1 -1
  251. package/script/utilities/1_crypto.d.ts +2 -2
  252. package/script/utilities/1_crypto.d.ts.map +1 -1
  253. package/script/utilities/1_crypto.js +43 -19
  254. package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.d.ts.map +0 -1
  255. package/esm/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.d.ts.map +0 -1
  256. package/esm/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +0 -1
  257. package/esm/deps/jsr.io/@std/encoding/1.0.6/base64.d.ts.map +0 -1
  258. package/esm/types/4_user_gift.d.ts.map +0 -1
  259. package/esm/types/5_user_gifts.d.ts.map +0 -1
  260. package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/mod.d.ts.map +0 -1
  261. package/script/deps/jsr.io/@roj/tgcrypto/1.0.0/dist/tgcrypto.d.ts.map +0 -1
  262. package/script/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +0 -1
  263. package/script/deps/jsr.io/@std/encoding/1.0.6/base64.d.ts.map +0 -1
  264. package/script/types/4_user_gift.d.ts.map +0 -1
  265. package/script/types/5_user_gifts.d.ts.map +0 -1
  266. /package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.js +0 -0
  267. /package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.d.ts +0 -0
  268. /package/esm/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.js +0 -0
  269. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts +0 -0
  270. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts +0 -0
  271. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts +0 -0
  272. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts +0 -0
  273. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts +0 -0
  274. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts +0 -0
  275. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts +0 -0
  276. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts +0 -0
  277. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts +0 -0
  278. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts +0 -0
  279. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts +0 -0
  280. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts +0 -0
  281. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts +0 -0
  282. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts +0 -0
  283. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts +0 -0
  284. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts +0 -0
  285. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts +0 -0
  286. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts +0 -0
  287. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts +0 -0
  288. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts +0 -0
  289. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts +0 -0
  290. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts +0 -0
  291. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts +0 -0
  292. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts +0 -0
  293. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts +0 -0
  294. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts +0 -0
  295. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts +0 -0
  296. /package/esm/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts +0 -0
  297. /package/esm/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts +0 -0
  298. /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts +0 -0
  299. /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts +0 -0
  300. /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts +0 -0
  301. /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts +0 -0
  302. /package/esm/deps/jsr.io/@std/streams/{1.0.8 → 1.0.9}/to_array_buffer.d.ts +0 -0
  303. /package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/mod.js +0 -0
  304. /package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.d.ts +0 -0
  305. /package/script/deps/jsr.io/@roj/tgcrypto/{1.0.0 → 1.0.1}/dist/tgcrypto.js +0 -0
  306. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/almost_equals.d.ts +0 -0
  307. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/array_includes.d.ts +0 -0
  308. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assert.d.ts +0 -0
  309. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/assertion_error.d.ts +0 -0
  310. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equal.d.ts +0 -0
  311. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/equals.d.ts +0 -0
  312. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/exists.d.ts +0 -0
  313. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/fail.d.ts +0 -0
  314. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/false.d.ts +0 -0
  315. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater.d.ts +0 -0
  316. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/greater_or_equal.d.ts +0 -0
  317. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/instance_of.d.ts +0 -0
  318. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/is_error.d.ts +0 -0
  319. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less.d.ts +0 -0
  320. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/less_or_equal.d.ts +0 -0
  321. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/match.d.ts +0 -0
  322. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/mod.d.ts +0 -0
  323. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_equals.d.ts +0 -0
  324. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_instance_of.d.ts +0 -0
  325. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_match.d.ts +0 -0
  326. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/not_strict_equals.d.ts +0 -0
  327. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/object_match.d.ts +0 -0
  328. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/rejects.d.ts +0 -0
  329. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/strict_equals.d.ts +0 -0
  330. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/string_includes.d.ts +0 -0
  331. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/throws.d.ts +0 -0
  332. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unimplemented.d.ts +0 -0
  333. /package/script/deps/jsr.io/@std/assert/{1.0.10 → 1.0.11}/unreachable.d.ts +0 -0
  334. /package/script/deps/jsr.io/@std/datetime/{0.225.2 → 0.225.3}/constants.d.ts +0 -0
  335. /package/script/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts +0 -0
  336. /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/_constants.d.ts +0 -0
  337. /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/iterate_reader.d.ts +0 -0
  338. /package/script/deps/jsr.io/@std/io/{0.225.0 → 0.225.2}/types.d.ts +0 -0
  339. /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.js CHANGED
@@ -55,7 +55,12 @@ const map = new Map([
55
55
  [0x9299359F, "http_wait"],
56
56
  [0x3FEDD339, "true"],
57
57
  [0xC4B9F9BB, "error"],
58
- [0x56730BCC, "null"],
58
+ [0xD433AD73, "ipPort"],
59
+ [0x37982646, "ipPortSecret"],
60
+ [0x4679B65F, "accessPointRule"],
61
+ [0x5A592A6C, "help.configSimple"],
62
+ [0x27D69997, "inputPeerPhotoFileLocationLegacy"],
63
+ [0x0DBAEAE9, "inputStickerSetThumbLegacy"],
59
64
  [0x7F3B18EA, "inputPeerEmpty"],
60
65
  [0x7DA07EC9, "inputPeerSelf"],
61
66
  [0x35A95CB9, "inputPeerChat"],
@@ -76,11 +81,11 @@ const map = new Map([
76
81
  [0xB3BA0635, "inputMediaPhoto"],
77
82
  [0xF9C44144, "inputMediaGeoPoint"],
78
83
  [0xF8AB7DFB, "inputMediaContact"],
79
- [0x5B38C6C1, "inputMediaUploadedDocument"],
80
- [0x33473058, "inputMediaDocument"],
84
+ [0x037C9330, "inputMediaUploadedDocument"],
85
+ [0xA8763AB5, "inputMediaDocument"],
81
86
  [0xC13D1C11, "inputMediaVenue"],
82
87
  [0xE5BBFE1A, "inputMediaPhotoExternal"],
83
- [0xFB52DC99, "inputMediaDocumentExternal"],
88
+ [0x779600F9, "inputMediaDocumentExternal"],
84
89
  [0xD33F43F3, "inputMediaGame"],
85
90
  [0x405FEF0D, "inputMediaInvoice"],
86
91
  [0x971FA843, "inputMediaGeoLive"],
@@ -135,7 +140,7 @@ const map = new Map([
135
140
  [0xE00998B7, "channel"],
136
141
  [0x17D493D5, "channelForbidden"],
137
142
  [0x2633421B, "chatFull"],
138
- [0x9FF3B858, "channelFull"],
143
+ [0x52D6806B, "channelFull"],
139
144
  [0xC02D4007, "chatParticipant"],
140
145
  [0xE46BCEE4, "chatParticipantCreator"],
141
146
  [0xA0933F5B, "chatParticipantAdmin"],
@@ -151,7 +156,7 @@ const map = new Map([
151
156
  [0x56E0D474, "messageMediaGeo"],
152
157
  [0x70322949, "messageMediaContact"],
153
158
  [0x9F84F49E, "messageMediaUnsupported"],
154
- [0xDD570BD5, "messageMediaDocument"],
159
+ [0x52D8CCD9, "messageMediaDocument"],
155
160
  [0xDDF10C3B, "messageMediaWebPage"],
156
161
  [0x2EC0533F, "messageMediaVenue"],
157
162
  [0xFDB19008, "messageMediaGame"],
@@ -209,8 +214,8 @@ const map = new Map([
209
214
  [0x41B3E202, "messageActionPaymentRefunded"],
210
215
  [0x45D5B021, "messageActionGiftStars"],
211
216
  [0xB00C47A2, "messageActionPrizeStars"],
212
- [0xD8F4F0A7, "messageActionStarGift"],
213
- [0x26077B99, "messageActionStarGiftUnique"],
217
+ [0x4717E8A4, "messageActionStarGift"],
218
+ [0xACDFCB81, "messageActionStarGiftUnique"],
214
219
  [0xD58A08C6, "dialog"],
215
220
  [0x71BD134C, "dialogFolder"],
216
221
  [0x2331B22D, "photoEmpty"],
@@ -425,7 +430,7 @@ const map = new Map([
425
430
  [0x1EA2FDA7, "updateBusinessBotCallbackQuery"],
426
431
  [0xA584B019, "updateStarsRevenueStatus"],
427
432
  [0x283BD312, "updateBotPurchasedPaidMedia"],
428
- [0x51CA7AEC, "updatePaidReactionPrivacy"],
433
+ [0x8B725FCE, "updatePaidReactionPrivacy"],
429
434
  [0xA56C2A3E, "updates.state"],
430
435
  [0x5D75A138, "updates.differenceEmpty"],
431
436
  [0x00F49CA0, "updates.difference"],
@@ -1051,6 +1056,7 @@ const map = new Map([
1051
1056
  [0x54B56617, "webPageAttributeTheme"],
1052
1057
  [0x2E94C3E7, "webPageAttributeStory"],
1053
1058
  [0x50CC03D3, "webPageAttributeStickerSet"],
1059
+ [0xCF6F6DB8, "webPageAttributeUniqueStarGift"],
1054
1060
  [0x4899484E, "messages.votesList"],
1055
1061
  [0xF568028A, "bankCardOpenUrl"],
1056
1062
  [0x3E24E573, "payments.bankCardData"],
@@ -1175,9 +1181,9 @@ const map = new Map([
1175
1181
  [0x98986C0D, "inputInvoicePremiumGiftCode"],
1176
1182
  [0x65F00CE3, "inputInvoiceStars"],
1177
1183
  [0x34E793F1, "inputInvoiceChatInviteSubscription"],
1178
- [0x25D8C1D8, "inputInvoiceStarGift"],
1179
- [0x5EBE7262, "inputInvoiceStarGiftUpgrade"],
1180
- [0xAE3BA9ED, "inputInvoiceStarGiftTransfer"],
1184
+ [0xE8625E92, "inputInvoiceStarGift"],
1185
+ [0x4D818D5D, "inputInvoiceStarGiftUpgrade"],
1186
+ [0x4A5F5BD9, "inputInvoiceStarGiftTransfer"],
1181
1187
  [0xAED0CBD9, "payments.exportedInvoice"],
1182
1188
  [0xCFB9D957, "messages.transcribedAudio"],
1183
1189
  [0x5334759C, "help.premiumPromo"],
@@ -1191,8 +1197,9 @@ const map = new Map([
1191
1197
  [0x74C34319, "premiumGiftOption"],
1192
1198
  [0x88F8F21B, "paymentFormMethod"],
1193
1199
  [0x2DE11AAE, "emojiStatusEmpty"],
1194
- [0x929B619D, "emojiStatus"],
1195
- [0xFA30A8C7, "emojiStatusUntil"],
1200
+ [0xE7FF068A, "emojiStatus"],
1201
+ [0x7184603B, "emojiStatusCollectible"],
1202
+ [0x07141DBF, "inputEmojiStatusCollectible"],
1196
1203
  [0xD08CE645, "account.emojiStatusesNotModified"],
1197
1204
  [0x90C467D1, "account.emojiStatuses"],
1198
1205
  [0x79F5D419, "reactionEmpty"],
@@ -1283,6 +1290,7 @@ const map = new Map([
1283
1290
  [0x2271F2BF, "inputMediaAreaChannelPost"],
1284
1291
  [0x37381085, "mediaAreaUrl"],
1285
1292
  [0x49A6549C, "mediaAreaWeather"],
1293
+ [0x5787686D, "mediaAreaStarGift"],
1286
1294
  [0x9A35E999, "peerStories"],
1287
1295
  [0xCAE68768, "stories.peerStories"],
1288
1296
  [0xFD5E12BD, "messages.webPage"],
@@ -1416,11 +1424,9 @@ const map = new Map([
1416
1424
  [0x94CE852A, "starsGiveawayOption"],
1417
1425
  [0x54236209, "starsGiveawayWinnersOption"],
1418
1426
  [0x02CC73C8, "starGift"],
1419
- [0x6A1407CD, "starGiftUnique"],
1427
+ [0x5C62D151, "starGiftUnique"],
1420
1428
  [0xA388A368, "payments.starGiftsNotModified"],
1421
1429
  [0x901689EA, "payments.starGifts"],
1422
- [0x325835E1, "userStarGift"],
1423
- [0x6B65B517, "payments.userStarGifts"],
1424
1430
  [0x7903E3D9, "messageReportOption"],
1425
1431
  [0xF0E4E0B6, "reportResultChooseOption"],
1426
1432
  [0x6F09AC31, "reportResultAddComment"],
@@ -1440,10 +1446,20 @@ const map = new Map([
1440
1446
  [0x39D99013, "starGiftAttributeModel"],
1441
1447
  [0x13ACFF19, "starGiftAttributePattern"],
1442
1448
  [0x94271762, "starGiftAttributeBackdrop"],
1443
- [0xC02C4F4B, "starGiftAttributeOriginalDetails"],
1449
+ [0xE0BFF26C, "starGiftAttributeOriginalDetails"],
1444
1450
  [0x167BD90B, "payments.starGiftUpgradePreview"],
1445
1451
  [0x62D706B8, "users.users"],
1446
1452
  [0x315A4974, "users.usersSlice"],
1453
+ [0xCAA2F60B, "payments.uniqueStarGift"],
1454
+ [0xB53E8B21, "messages.webPagePreview"],
1455
+ [0x6056DBA5, "savedStarGift"],
1456
+ [0x95F389B1, "payments.savedStarGifts"],
1457
+ [0x69279795, "inputSavedStarGiftUser"],
1458
+ [0xF101AA7F, "inputSavedStarGiftChat"],
1459
+ [0x84AA3A9C, "payments.starGiftWithdrawalUrl"],
1460
+ [0x206AD49E, "paidReactionPrivacyDefault"],
1461
+ [0x1F0C1AD9, "paidReactionPrivacyAnonymous"],
1462
+ [0xDC6CFCF0, "paidReactionPrivacyPeer"],
1447
1463
  ]);
1448
1464
  export const getTypeName = map.get.bind(map);
1449
1465
  export const flags = Symbol();
@@ -1474,7 +1490,10 @@ const enums = new Map([
1474
1490
  ["HttpWait", ["http_wait"]],
1475
1491
  ["True", ["true"]],
1476
1492
  ["Error", ["error"]],
1477
- ["Null", ["null"]],
1493
+ ["IpPort", ["ipPort", "ipPortSecret"]],
1494
+ ["AccessPointRule", ["accessPointRule"]],
1495
+ ["help.ConfigSimple", ["help.configSimple"]],
1496
+ ["InputFileLocation", ["inputPeerPhotoFileLocationLegacy", "inputStickerSetThumbLegacy", "inputFileLocation", "inputEncryptedFileLocation", "inputDocumentFileLocation", "inputSecureFileLocation", "inputTakeoutFileLocation", "inputPhotoFileLocation", "inputPhotoLegacyFileLocation", "inputPeerPhotoFileLocation", "inputStickerSetThumb", "inputGroupCallStream"]],
1478
1497
  ["InputPeer", ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]],
1479
1498
  ["InputUser", ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]],
1480
1499
  ["InputContact", ["inputPhoneContact"]],
@@ -1483,7 +1502,6 @@ const enums = new Map([
1483
1502
  ["InputChatPhoto", ["inputChatPhotoEmpty", "inputChatUploadedPhoto", "inputChatPhoto"]],
1484
1503
  ["InputGeoPoint", ["inputGeoPointEmpty", "inputGeoPoint"]],
1485
1504
  ["InputPhoto", ["inputPhotoEmpty", "inputPhoto"]],
1486
- ["InputFileLocation", ["inputFileLocation", "inputEncryptedFileLocation", "inputDocumentFileLocation", "inputSecureFileLocation", "inputTakeoutFileLocation", "inputPhotoFileLocation", "inputPhotoLegacyFileLocation", "inputPeerPhotoFileLocation", "inputStickerSetThumb", "inputGroupCallStream"]],
1487
1505
  ["Peer", ["peerUser", "peerChat", "peerChannel"]],
1488
1506
  ["storage.FileType", ["storage.fileUnknown", "storage.filePartial", "storage.fileJpeg", "storage.fileGif", "storage.filePng", "storage.filePdf", "storage.fileMp3", "storage.fileMov", "storage.fileMp4", "storage.fileWebp"]],
1489
1507
  ["User", ["userEmpty", "user"]],
@@ -1932,7 +1950,7 @@ const enums = new Map([
1932
1950
  ["BaseTheme", ["baseThemeClassic", "baseThemeDay", "baseThemeNight", "baseThemeTinted", "baseThemeArctic"]],
1933
1951
  ["InputThemeSettings", ["inputThemeSettings"]],
1934
1952
  ["ThemeSettings", ["themeSettings"]],
1935
- ["WebPageAttribute", ["webPageAttributeTheme", "webPageAttributeStory", "webPageAttributeStickerSet"]],
1953
+ ["WebPageAttribute", ["webPageAttributeTheme", "webPageAttributeStory", "webPageAttributeStickerSet", "webPageAttributeUniqueStarGift"]],
1936
1954
  ["messages.VotesList", ["messages.votesList"]],
1937
1955
  ["BankCardOpenUrl", ["bankCardOpenUrl"]],
1938
1956
  ["payments.BankCardData", ["payments.bankCardData"]],
@@ -2021,7 +2039,7 @@ const enums = new Map([
2021
2039
  ["InputStorePaymentPurpose", ["inputStorePaymentPremiumSubscription", "inputStorePaymentGiftPremium", "inputStorePaymentPremiumGiftCode", "inputStorePaymentPremiumGiveaway", "inputStorePaymentStarsTopup", "inputStorePaymentStarsGift", "inputStorePaymentStarsGiveaway"]],
2022
2040
  ["PremiumGiftOption", ["premiumGiftOption"]],
2023
2041
  ["PaymentFormMethod", ["paymentFormMethod"]],
2024
- ["EmojiStatus", ["emojiStatusEmpty", "emojiStatus", "emojiStatusUntil"]],
2042
+ ["EmojiStatus", ["emojiStatusEmpty", "emojiStatus", "emojiStatusCollectible", "inputEmojiStatusCollectible"]],
2025
2043
  ["account.EmojiStatuses", ["account.emojiStatusesNotModified", "account.emojiStatuses"]],
2026
2044
  ["Reaction", ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]],
2027
2045
  ["ChatReactions", ["chatReactionsNone", "chatReactionsAll", "chatReactionsSome"]],
@@ -2072,7 +2090,7 @@ const enums = new Map([
2072
2090
  ["ExportedStoryLink", ["exportedStoryLink"]],
2073
2091
  ["StoriesStealthMode", ["storiesStealthMode"]],
2074
2092
  ["MediaAreaCoordinates", ["mediaAreaCoordinates"]],
2075
- ["MediaArea", ["mediaAreaVenue", "inputMediaAreaVenue", "mediaAreaGeoPoint", "mediaAreaSuggestedReaction", "mediaAreaChannelPost", "inputMediaAreaChannelPost", "mediaAreaUrl", "mediaAreaWeather"]],
2093
+ ["MediaArea", ["mediaAreaVenue", "inputMediaAreaVenue", "mediaAreaGeoPoint", "mediaAreaSuggestedReaction", "mediaAreaChannelPost", "inputMediaAreaChannelPost", "mediaAreaUrl", "mediaAreaWeather", "mediaAreaStarGift"]],
2076
2094
  ["PeerStories", ["peerStories"]],
2077
2095
  ["stories.PeerStories", ["stories.peerStories"]],
2078
2096
  ["messages.WebPage", ["messages.webPage"]],
@@ -2175,8 +2193,6 @@ const enums = new Map([
2175
2193
  ["StarsGiveawayWinnersOption", ["starsGiveawayWinnersOption"]],
2176
2194
  ["StarGift", ["starGift", "starGiftUnique"]],
2177
2195
  ["payments.StarGifts", ["payments.starGiftsNotModified", "payments.starGifts"]],
2178
- ["UserStarGift", ["userStarGift"]],
2179
- ["payments.UserStarGifts", ["payments.userStarGifts"]],
2180
2196
  ["MessageReportOption", ["messageReportOption"]],
2181
2197
  ["ReportResult", ["reportResultChooseOption", "reportResultAddComment", "reportResultReported"]],
2182
2198
  ["messages.BotPreparedInlineMessage", ["messages.botPreparedInlineMessage"]],
@@ -2193,6 +2209,13 @@ const enums = new Map([
2193
2209
  ["StarGiftAttribute", ["starGiftAttributeModel", "starGiftAttributePattern", "starGiftAttributeBackdrop", "starGiftAttributeOriginalDetails"]],
2194
2210
  ["payments.StarGiftUpgradePreview", ["payments.starGiftUpgradePreview"]],
2195
2211
  ["users.Users", ["users.users", "users.usersSlice"]],
2212
+ ["payments.UniqueStarGift", ["payments.uniqueStarGift"]],
2213
+ ["messages.WebPagePreview", ["messages.webPagePreview"]],
2214
+ ["SavedStarGift", ["savedStarGift"]],
2215
+ ["payments.SavedStarGifts", ["payments.savedStarGifts"]],
2216
+ ["InputSavedStarGift", ["inputSavedStarGiftUser", "inputSavedStarGiftChat"]],
2217
+ ["payments.StarGiftWithdrawalUrl", ["payments.starGiftWithdrawalUrl"]],
2218
+ ["PaidReactionPrivacy", ["paidReactionPrivacyDefault", "paidReactionPrivacyAnonymous", "paidReactionPrivacyPeer"]],
2196
2219
  ]);
2197
2220
  const types = new Map([
2198
2221
  [
@@ -2569,10 +2592,70 @@ const types = new Map([
2569
2592
  ],
2570
2593
  ],
2571
2594
  [
2572
- "null",
2595
+ "ipPort",
2573
2596
  [
2574
- 0x56730BCC,
2575
- [],
2597
+ 0xD433AD73,
2598
+ [
2599
+ ["ipv4", "number", "int"],
2600
+ ["port", "number", "int"],
2601
+ ],
2602
+ ],
2603
+ ],
2604
+ [
2605
+ "ipPortSecret",
2606
+ [
2607
+ 0x37982646,
2608
+ [
2609
+ ["ipv4", "number", "int"],
2610
+ ["port", "number", "int"],
2611
+ ["secret", Uint8Array, "bytes"],
2612
+ ],
2613
+ ],
2614
+ ],
2615
+ [
2616
+ "accessPointRule",
2617
+ [
2618
+ 0x4679B65F,
2619
+ [
2620
+ ["phone_prefix_rules", "string", "string"],
2621
+ ["dc_id", "number", "int"],
2622
+ ["ips", ["IpPort"], "vector<IpPort>"],
2623
+ ],
2624
+ ],
2625
+ ],
2626
+ [
2627
+ "help.configSimple",
2628
+ [
2629
+ 0x5A592A6C,
2630
+ [
2631
+ ["date", "number", "int"],
2632
+ ["expires", "number", "int"],
2633
+ ["rules", ["AccessPointRule"], "vector<AccessPointRule>"],
2634
+ ],
2635
+ ],
2636
+ ],
2637
+ [
2638
+ "inputPeerPhotoFileLocationLegacy",
2639
+ [
2640
+ 0x27D69997,
2641
+ [
2642
+ ["flags", flags, "#"],
2643
+ ["big", "true", "flags.0?true"],
2644
+ ["peer", "InputPeer", "InputPeer"],
2645
+ ["volume_id", "bigint", "long"],
2646
+ ["local_id", "number", "int"],
2647
+ ],
2648
+ ],
2649
+ ],
2650
+ [
2651
+ "inputStickerSetThumbLegacy",
2652
+ [
2653
+ 0x0DBAEAE9,
2654
+ [
2655
+ ["stickerset", "InputStickerSet", "InputStickerSet"],
2656
+ ["volume_id", "bigint", "long"],
2657
+ ["local_id", "number", "int"],
2658
+ ],
2576
2659
  ],
2577
2660
  ],
2578
2661
  [
@@ -2775,7 +2858,7 @@ const types = new Map([
2775
2858
  [
2776
2859
  "inputMediaUploadedDocument",
2777
2860
  [
2778
- 0x5B38C6C1,
2861
+ 0x037C9330,
2779
2862
  [
2780
2863
  ["flags", flags, "#"],
2781
2864
  ["nosound_video", "true", "flags.3?true"],
@@ -2786,6 +2869,8 @@ const types = new Map([
2786
2869
  ["mime_type", "string", "string"],
2787
2870
  ["attributes", ["DocumentAttribute"], "Vector<DocumentAttribute>"],
2788
2871
  ["stickers", ["InputDocument"], "flags.0?Vector<InputDocument>"],
2872
+ ["video_cover", "InputPhoto", "flags.6?InputPhoto"],
2873
+ ["video_timestamp", "number", "flags.7?int"],
2789
2874
  ["ttl_seconds", "number", "flags.1?int"],
2790
2875
  ],
2791
2876
  ],
@@ -2793,11 +2878,13 @@ const types = new Map([
2793
2878
  [
2794
2879
  "inputMediaDocument",
2795
2880
  [
2796
- 0x33473058,
2881
+ 0xA8763AB5,
2797
2882
  [
2798
2883
  ["flags", flags, "#"],
2799
2884
  ["spoiler", "true", "flags.2?true"],
2800
2885
  ["id", "InputDocument", "InputDocument"],
2886
+ ["video_cover", "InputPhoto", "flags.3?InputPhoto"],
2887
+ ["video_timestamp", "number", "flags.4?int"],
2801
2888
  ["ttl_seconds", "number", "flags.0?int"],
2802
2889
  ["query", "string", "flags.1?string"],
2803
2890
  ],
@@ -2832,12 +2919,14 @@ const types = new Map([
2832
2919
  [
2833
2920
  "inputMediaDocumentExternal",
2834
2921
  [
2835
- 0xFB52DC99,
2922
+ 0x779600F9,
2836
2923
  [
2837
2924
  ["flags", flags, "#"],
2838
2925
  ["spoiler", "true", "flags.1?true"],
2839
2926
  ["url", "string", "string"],
2840
2927
  ["ttl_seconds", "number", "flags.0?int"],
2928
+ ["video_cover", "InputPhoto", "flags.2?InputPhoto"],
2929
+ ["video_timestamp", "number", "flags.3?int"],
2841
2930
  ],
2842
2931
  ],
2843
2932
  ],
@@ -3497,7 +3586,7 @@ const types = new Map([
3497
3586
  [
3498
3587
  "channelFull",
3499
3588
  [
3500
- 0x9FF3B858,
3589
+ 0x52D6806B,
3501
3590
  [
3502
3591
  ["flags", flags, "#"],
3503
3592
  ["can_view_participants", "true", "flags.3?true"],
@@ -3520,6 +3609,7 @@ const types = new Map([
3520
3609
  ["paid_media_allowed", "true", "flags2.14?true"],
3521
3610
  ["can_view_stars_revenue", "true", "flags2.15?true"],
3522
3611
  ["paid_reactions_available", "true", "flags2.16?true"],
3612
+ ["stargifts_available", "true", "flags2.19?true"],
3523
3613
  ["id", "bigint", "long"],
3524
3614
  ["about", "string", "string"],
3525
3615
  ["participants_count", "number", "flags.0?int"],
@@ -3562,6 +3652,7 @@ const types = new Map([
3562
3652
  ["boosts_unrestrict", "number", "flags2.9?int"],
3563
3653
  ["emojiset", "StickerSet", "flags2.10?StickerSet"],
3564
3654
  ["bot_verification", "BotVerification", "flags2.17?BotVerification"],
3655
+ ["stargifts_count", "number", "flags2.18?int"],
3565
3656
  ],
3566
3657
  ],
3567
3658
  ],
@@ -3774,7 +3865,7 @@ const types = new Map([
3774
3865
  [
3775
3866
  "messageMediaDocument",
3776
3867
  [
3777
- 0xDD570BD5,
3868
+ 0x52D8CCD9,
3778
3869
  [
3779
3870
  ["flags", flags, "#"],
3780
3871
  ["nopremium", "true", "flags.3?true"],
@@ -3784,6 +3875,8 @@ const types = new Map([
3784
3875
  ["voice", "true", "flags.8?true"],
3785
3876
  ["document", "Document", "flags.0?Document"],
3786
3877
  ["alt_documents", ["Document"], "flags.5?Vector<Document>"],
3878
+ ["video_cover", "Photo", "flags.9?Photo"],
3879
+ ["video_timestamp", "number", "flags.10?int"],
3787
3880
  ["ttl_seconds", "number", "flags.2?int"],
3788
3881
  ],
3789
3882
  ],
@@ -4426,7 +4519,7 @@ const types = new Map([
4426
4519
  [
4427
4520
  "messageActionStarGift",
4428
4521
  [
4429
- 0xD8F4F0A7,
4522
+ 0x4717E8A4,
4430
4523
  [
4431
4524
  ["flags", flags, "#"],
4432
4525
  ["name_hidden", "true", "flags.0?true"],
@@ -4440,13 +4533,16 @@ const types = new Map([
4440
4533
  ["convert_stars", "bigint", "flags.4?long"],
4441
4534
  ["upgrade_msg_id", "number", "flags.5?int"],
4442
4535
  ["upgrade_stars", "bigint", "flags.8?long"],
4536
+ ["from_id", "Peer", "flags.11?Peer"],
4537
+ ["peer", "Peer", "flags.12?Peer"],
4538
+ ["saved_id", "bigint", "flags.12?long"],
4443
4539
  ],
4444
4540
  ],
4445
4541
  ],
4446
4542
  [
4447
4543
  "messageActionStarGiftUnique",
4448
4544
  [
4449
- 0x26077B99,
4545
+ 0xACDFCB81,
4450
4546
  [
4451
4547
  ["flags", flags, "#"],
4452
4548
  ["upgrade", "true", "flags.0?true"],
@@ -4456,6 +4552,9 @@ const types = new Map([
4456
4552
  ["gift", "StarGift", "StarGift"],
4457
4553
  ["can_export_at", "number", "flags.3?int"],
4458
4554
  ["transfer_stars", "bigint", "flags.4?long"],
4555
+ ["from_id", "Peer", "flags.6?Peer"],
4556
+ ["peer", "Peer", "flags.7?Peer"],
4557
+ ["saved_id", "bigint", "flags.7?long"],
4459
4558
  ],
4460
4559
  ],
4461
4560
  ],
@@ -6773,9 +6872,9 @@ const types = new Map([
6773
6872
  [
6774
6873
  "updatePaidReactionPrivacy",
6775
6874
  [
6776
- 0x51CA7AEC,
6875
+ 0x8B725FCE,
6777
6876
  [
6778
- ["private", "boolean", "Bool"],
6877
+ ["private", "PaidReactionPrivacy", "PaidReactionPrivacy"],
6779
6878
  ],
6780
6879
  ],
6781
6880
  ],
@@ -8121,6 +8220,7 @@ const types = new Map([
8121
8220
  [
8122
8221
  ["flags", flags, "#"],
8123
8222
  ["has_large_media", "true", "flags.13?true"],
8223
+ ["video_cover_photo", "true", "flags.14?true"],
8124
8224
  ["id", "bigint", "long"],
8125
8225
  ["url", "string", "string"],
8126
8226
  ["display_url", "string", "string"],
@@ -13435,6 +13535,15 @@ const types = new Map([
13435
13535
  ],
13436
13536
  ],
13437
13537
  ],
13538
+ [
13539
+ "webPageAttributeUniqueStarGift",
13540
+ [
13541
+ 0xCF6F6DB8,
13542
+ [
13543
+ ["gift", "StarGift", "StarGift"],
13544
+ ],
13545
+ ],
13546
+ ],
13438
13547
  [
13439
13548
  "messages.votesList",
13440
13549
  [
@@ -14823,12 +14932,12 @@ const types = new Map([
14823
14932
  [
14824
14933
  "inputInvoiceStarGift",
14825
14934
  [
14826
- 0x25D8C1D8,
14935
+ 0xE8625E92,
14827
14936
  [
14828
14937
  ["flags", flags, "#"],
14829
14938
  ["hide_name", "true", "flags.0?true"],
14830
14939
  ["include_upgrade", "true", "flags.2?true"],
14831
- ["user_id", "InputUser", "InputUser"],
14940
+ ["peer", "InputPeer", "InputPeer"],
14832
14941
  ["gift_id", "bigint", "long"],
14833
14942
  ["message", "TextWithEntities", "flags.1?TextWithEntities"],
14834
14943
  ],
@@ -14837,21 +14946,21 @@ const types = new Map([
14837
14946
  [
14838
14947
  "inputInvoiceStarGiftUpgrade",
14839
14948
  [
14840
- 0x5EBE7262,
14949
+ 0x4D818D5D,
14841
14950
  [
14842
14951
  ["flags", flags, "#"],
14843
14952
  ["keep_original_details", "true", "flags.0?true"],
14844
- ["msg_id", "number", "int"],
14953
+ ["stargift", "InputSavedStarGift", "InputSavedStarGift"],
14845
14954
  ],
14846
14955
  ],
14847
14956
  ],
14848
14957
  [
14849
14958
  "inputInvoiceStarGiftTransfer",
14850
14959
  [
14851
- 0xAE3BA9ED,
14960
+ 0x4A5F5BD9,
14852
14961
  [
14853
- ["msg_id", "number", "int"],
14854
- ["to_id", "InputUser", "InputUser"],
14962
+ ["stargift", "InputSavedStarGift", "InputSavedStarGift"],
14963
+ ["to_id", "InputPeer", "InputPeer"],
14855
14964
  ],
14856
14965
  ],
14857
14966
  ],
@@ -15025,19 +15134,41 @@ const types = new Map([
15025
15134
  [
15026
15135
  "emojiStatus",
15027
15136
  [
15028
- 0x929B619D,
15137
+ 0xE7FF068A,
15029
15138
  [
15139
+ ["flags", flags, "#"],
15030
15140
  ["document_id", "bigint", "long"],
15141
+ ["until", "number", "flags.0?int"],
15031
15142
  ],
15032
15143
  ],
15033
15144
  ],
15034
15145
  [
15035
- "emojiStatusUntil",
15146
+ "emojiStatusCollectible",
15036
15147
  [
15037
- 0xFA30A8C7,
15148
+ 0x7184603B,
15038
15149
  [
15150
+ ["flags", flags, "#"],
15151
+ ["collectible_id", "bigint", "long"],
15039
15152
  ["document_id", "bigint", "long"],
15040
- ["until", "number", "int"],
15153
+ ["title", "string", "string"],
15154
+ ["slug", "string", "string"],
15155
+ ["pattern_document_id", "bigint", "long"],
15156
+ ["center_color", "number", "int"],
15157
+ ["edge_color", "number", "int"],
15158
+ ["pattern_color", "number", "int"],
15159
+ ["text_color", "number", "int"],
15160
+ ["until", "number", "flags.0?int"],
15161
+ ],
15162
+ ],
15163
+ ],
15164
+ [
15165
+ "inputEmojiStatusCollectible",
15166
+ [
15167
+ 0x07141DBF,
15168
+ [
15169
+ ["flags", flags, "#"],
15170
+ ["collectible_id", "bigint", "long"],
15171
+ ["until", "number", "flags.0?int"],
15041
15172
  ],
15042
15173
  ],
15043
15174
  ],
@@ -16054,6 +16185,16 @@ const types = new Map([
16054
16185
  ],
16055
16186
  ],
16056
16187
  ],
16188
+ [
16189
+ "mediaAreaStarGift",
16190
+ [
16191
+ 0x5787686D,
16192
+ [
16193
+ ["coordinates", "MediaAreaCoordinates", "MediaAreaCoordinates"],
16194
+ ["slug", "string", "string"],
16195
+ ],
16196
+ ],
16197
+ ],
16057
16198
  [
16058
16199
  "peerStories",
16059
16200
  [
@@ -17612,15 +17753,20 @@ const types = new Map([
17612
17753
  [
17613
17754
  "starGiftUnique",
17614
17755
  [
17615
- 0x6A1407CD,
17756
+ 0x5C62D151,
17616
17757
  [
17758
+ ["flags", flags, "#"],
17617
17759
  ["id", "bigint", "long"],
17618
17760
  ["title", "string", "string"],
17761
+ ["slug", "string", "string"],
17619
17762
  ["num", "number", "int"],
17620
- ["owner_id", "bigint", "long"],
17763
+ ["owner_id", "Peer", "flags.0?Peer"],
17764
+ ["owner_name", "string", "flags.1?string"],
17765
+ ["owner_address", "string", "flags.2?string"],
17621
17766
  ["attributes", ["StarGiftAttribute"], "Vector<StarGiftAttribute>"],
17622
17767
  ["availability_issued", "number", "int"],
17623
17768
  ["availability_total", "number", "int"],
17769
+ ["gift_address", "string", "flags.3?string"],
17624
17770
  ],
17625
17771
  ],
17626
17772
  ],
@@ -17641,41 +17787,6 @@ const types = new Map([
17641
17787
  ],
17642
17788
  ],
17643
17789
  ],
17644
- [
17645
- "userStarGift",
17646
- [
17647
- 0x325835E1,
17648
- [
17649
- ["flags", flags, "#"],
17650
- ["name_hidden", "true", "flags.0?true"],
17651
- ["unsaved", "true", "flags.5?true"],
17652
- ["refunded", "true", "flags.9?true"],
17653
- ["can_upgrade", "true", "flags.10?true"],
17654
- ["from_id", "bigint", "flags.1?long"],
17655
- ["date", "number", "int"],
17656
- ["gift", "StarGift", "StarGift"],
17657
- ["message", "TextWithEntities", "flags.2?TextWithEntities"],
17658
- ["msg_id", "number", "flags.3?int"],
17659
- ["convert_stars", "bigint", "flags.4?long"],
17660
- ["upgrade_stars", "bigint", "flags.6?long"],
17661
- ["can_export_at", "number", "flags.7?int"],
17662
- ["transfer_stars", "bigint", "flags.8?long"],
17663
- ],
17664
- ],
17665
- ],
17666
- [
17667
- "payments.userStarGifts",
17668
- [
17669
- 0x6B65B517,
17670
- [
17671
- ["flags", flags, "#"],
17672
- ["count", "number", "int"],
17673
- ["gifts", ["UserStarGift"], "Vector<UserStarGift>"],
17674
- ["next_offset", "string", "flags.0?string"],
17675
- ["users", ["User"], "Vector<User>"],
17676
- ],
17677
- ],
17678
- ],
17679
17790
  [
17680
17791
  "messageReportOption",
17681
17792
  [
@@ -17901,11 +18012,11 @@ const types = new Map([
17901
18012
  [
17902
18013
  "starGiftAttributeOriginalDetails",
17903
18014
  [
17904
- 0xC02C4F4B,
18015
+ 0xE0BFF26C,
17905
18016
  [
17906
18017
  ["flags", flags, "#"],
17907
- ["sender_id", "bigint", "flags.0?long"],
17908
- ["recipient_id", "bigint", "long"],
18018
+ ["sender_id", "Peer", "flags.0?Peer"],
18019
+ ["recipient_id", "Peer", "Peer"],
17909
18020
  ["date", "number", "int"],
17910
18021
  ["message", "TextWithEntities", "flags.1?TextWithEntities"],
17911
18022
  ],
@@ -17939,6 +18050,115 @@ const types = new Map([
17939
18050
  ],
17940
18051
  ],
17941
18052
  ],
18053
+ [
18054
+ "payments.uniqueStarGift",
18055
+ [
18056
+ 0xCAA2F60B,
18057
+ [
18058
+ ["gift", "StarGift", "StarGift"],
18059
+ ["users", ["User"], "Vector<User>"],
18060
+ ],
18061
+ ],
18062
+ ],
18063
+ [
18064
+ "messages.webPagePreview",
18065
+ [
18066
+ 0xB53E8B21,
18067
+ [
18068
+ ["media", "MessageMedia", "MessageMedia"],
18069
+ ["users", ["User"], "Vector<User>"],
18070
+ ],
18071
+ ],
18072
+ ],
18073
+ [
18074
+ "savedStarGift",
18075
+ [
18076
+ 0x6056DBA5,
18077
+ [
18078
+ ["flags", flags, "#"],
18079
+ ["name_hidden", "true", "flags.0?true"],
18080
+ ["unsaved", "true", "flags.5?true"],
18081
+ ["refunded", "true", "flags.9?true"],
18082
+ ["can_upgrade", "true", "flags.10?true"],
18083
+ ["from_id", "Peer", "flags.1?Peer"],
18084
+ ["date", "number", "int"],
18085
+ ["gift", "StarGift", "StarGift"],
18086
+ ["message", "TextWithEntities", "flags.2?TextWithEntities"],
18087
+ ["msg_id", "number", "flags.3?int"],
18088
+ ["saved_id", "bigint", "flags.11?long"],
18089
+ ["convert_stars", "bigint", "flags.4?long"],
18090
+ ["upgrade_stars", "bigint", "flags.6?long"],
18091
+ ["can_export_at", "number", "flags.7?int"],
18092
+ ["transfer_stars", "bigint", "flags.8?long"],
18093
+ ],
18094
+ ],
18095
+ ],
18096
+ [
18097
+ "payments.savedStarGifts",
18098
+ [
18099
+ 0x95F389B1,
18100
+ [
18101
+ ["flags", flags, "#"],
18102
+ ["count", "number", "int"],
18103
+ ["chat_notifications_enabled", "boolean", "flags.1?Bool"],
18104
+ ["gifts", ["SavedStarGift"], "Vector<SavedStarGift>"],
18105
+ ["next_offset", "string", "flags.0?string"],
18106
+ ["chats", ["Chat"], "Vector<Chat>"],
18107
+ ["users", ["User"], "Vector<User>"],
18108
+ ],
18109
+ ],
18110
+ ],
18111
+ [
18112
+ "inputSavedStarGiftUser",
18113
+ [
18114
+ 0x69279795,
18115
+ [
18116
+ ["msg_id", "number", "int"],
18117
+ ],
18118
+ ],
18119
+ ],
18120
+ [
18121
+ "inputSavedStarGiftChat",
18122
+ [
18123
+ 0xF101AA7F,
18124
+ [
18125
+ ["peer", "InputPeer", "InputPeer"],
18126
+ ["saved_id", "bigint", "long"],
18127
+ ],
18128
+ ],
18129
+ ],
18130
+ [
18131
+ "payments.starGiftWithdrawalUrl",
18132
+ [
18133
+ 0x84AA3A9C,
18134
+ [
18135
+ ["url", "string", "string"],
18136
+ ],
18137
+ ],
18138
+ ],
18139
+ [
18140
+ "paidReactionPrivacyDefault",
18141
+ [
18142
+ 0x206AD49E,
18143
+ [],
18144
+ ],
18145
+ ],
18146
+ [
18147
+ "paidReactionPrivacyAnonymous",
18148
+ [
18149
+ 0x1F0C1AD9,
18150
+ [],
18151
+ ],
18152
+ ],
18153
+ [
18154
+ "paidReactionPrivacyPeer",
18155
+ [
18156
+ 0xDC6CFCF0,
18157
+ [
18158
+ ["peer", "InputPeer", "InputPeer"],
18159
+ ],
18160
+ ],
18161
+ ],
17942
18162
  [
17943
18163
  "req_pq_multi",
17944
18164
  [
@@ -18026,6 +18246,44 @@ const types = new Map([
18026
18246
  [],
18027
18247
  ],
18028
18248
  ],
18249
+ [
18250
+ "invokeWithBusinessConnectionPrefix",
18251
+ [
18252
+ 0xDD289F8E,
18253
+ [
18254
+ ["connection_id", "string", "string"],
18255
+ ],
18256
+ ],
18257
+ ],
18258
+ [
18259
+ "invokeWithGooglePlayIntegrityPrefix",
18260
+ [
18261
+ 0x1DF92984,
18262
+ [
18263
+ ["nonce", "string", "string"],
18264
+ ["token", "string", "string"],
18265
+ ],
18266
+ ],
18267
+ ],
18268
+ [
18269
+ "invokeWithApnsSecretPrefix",
18270
+ [
18271
+ 0x0DAE54F8,
18272
+ [
18273
+ ["nonce", "string", "string"],
18274
+ ["secret", "string", "string"],
18275
+ ],
18276
+ ],
18277
+ ],
18278
+ [
18279
+ "invokeWithReCaptchaPrefix",
18280
+ [
18281
+ 0xADBB0F94,
18282
+ [
18283
+ ["token", "string", "string"],
18284
+ ],
18285
+ ],
18286
+ ],
18029
18287
  [
18030
18288
  "invokeAfterMsg",
18031
18289
  [
@@ -18136,6 +18394,16 @@ const types = new Map([
18136
18394
  ],
18137
18395
  ],
18138
18396
  ],
18397
+ [
18398
+ "invokeWithReCaptcha",
18399
+ [
18400
+ 0xADBB0F94,
18401
+ [
18402
+ ["token", "string", "string"],
18403
+ ["query", null, "!X"],
18404
+ ],
18405
+ ],
18406
+ ],
18139
18407
  [
18140
18408
  "auth.sendCode",
18141
18409
  [
@@ -19449,6 +19717,15 @@ const types = new Map([
19449
19717
  ],
19450
19718
  ],
19451
19719
  ],
19720
+ [
19721
+ "account.getCollectibleEmojiStatuses",
19722
+ [
19723
+ 0x2E7B4543,
19724
+ [
19725
+ ["hash", "bigint", "long"],
19726
+ ],
19727
+ ],
19728
+ ],
19452
19729
  [
19453
19730
  "users.getUsers",
19454
19731
  [
@@ -19927,7 +20204,7 @@ const types = new Map([
19927
20204
  [
19928
20205
  "messages.forwardMessages",
19929
20206
  [
19930
- 0xD5039208,
20207
+ 0x6D74DA08,
19931
20208
  [
19932
20209
  ["flags", flags, "#"],
19933
20210
  ["silent", "true", "flags.5?true"],
@@ -19945,6 +20222,7 @@ const types = new Map([
19945
20222
  ["schedule_date", "number", "flags.10?int"],
19946
20223
  ["send_as", "InputPeer", "flags.13?InputPeer"],
19947
20224
  ["quick_reply_shortcut", "InputQuickReplyShortcut", "flags.17?InputQuickReplyShortcut"],
20225
+ ["video_timestamp", "number", "flags.20?int"],
19948
20226
  ],
19949
20227
  ],
19950
20228
  ],
@@ -20201,7 +20479,7 @@ const types = new Map([
20201
20479
  [
20202
20480
  "messages.getWebPagePreview",
20203
20481
  [
20204
- 0x8B68B0CC,
20482
+ 0x570D6F6F,
20205
20483
  [
20206
20484
  ["flags", flags, "#"],
20207
20485
  ["message", "string", "string"],
@@ -22206,25 +22484,25 @@ const types = new Map([
22206
22484
  [
22207
22485
  "messages.sendPaidReaction",
22208
22486
  [
22209
- 0x9DD6A67B,
22487
+ 0x58BBCB50,
22210
22488
  [
22211
22489
  ["flags", flags, "#"],
22212
22490
  ["peer", "InputPeer", "InputPeer"],
22213
22491
  ["msg_id", "number", "int"],
22214
22492
  ["count", "number", "int"],
22215
22493
  ["random_id", "bigint", "long"],
22216
- ["private", "boolean", "flags.0?Bool"],
22494
+ ["private", "PaidReactionPrivacy", "flags.0?PaidReactionPrivacy"],
22217
22495
  ],
22218
22496
  ],
22219
22497
  ],
22220
22498
  [
22221
22499
  "messages.togglePaidReactionPrivacy",
22222
22500
  [
22223
- 0x849AD397,
22501
+ 0x435885B5,
22224
22502
  [
22225
22503
  ["peer", "InputPeer", "InputPeer"],
22226
22504
  ["msg_id", "number", "int"],
22227
- ["private", "boolean", "Bool"],
22505
+ ["private", "PaidReactionPrivacy", "PaidReactionPrivacy"],
22228
22506
  ],
22229
22507
  ],
22230
22508
  ],
@@ -23101,8 +23379,10 @@ const types = new Map([
23101
23379
  [
23102
23380
  "channels.getSendAs",
23103
23381
  [
23104
- 0x0DC770EE,
23382
+ 0xE785A43F,
23105
23383
  [
23384
+ ["flags", flags, "#"],
23385
+ ["for_paid_reactions", "true", "flags.0?true"],
23106
23386
  ["peer", "InputPeer", "InputPeer"],
23107
23387
  ],
23108
23388
  ],
@@ -23684,9 +23964,8 @@ const types = new Map([
23684
23964
  [
23685
23965
  "bots.getBotRecommendations",
23686
23966
  [
23687
- 0x2855BE61,
23967
+ 0xA1B70815,
23688
23968
  [
23689
- ["flags", flags, "#"],
23690
23969
  ["bot", "InputUser", "InputUser"],
23691
23970
  ],
23692
23971
  ],
@@ -24006,34 +24285,23 @@ const types = new Map([
24006
24285
  ],
24007
24286
  ],
24008
24287
  ],
24009
- [
24010
- "payments.getUserStarGifts",
24011
- [
24012
- 0x5E72C7E1,
24013
- [
24014
- ["user_id", "InputUser", "InputUser"],
24015
- ["offset", "string", "string"],
24016
- ["limit", "number", "int"],
24017
- ],
24018
- ],
24019
- ],
24020
24288
  [
24021
24289
  "payments.saveStarGift",
24022
24290
  [
24023
- 0x92FD2AAE,
24291
+ 0x2A2A697C,
24024
24292
  [
24025
24293
  ["flags", flags, "#"],
24026
24294
  ["unsave", "true", "flags.0?true"],
24027
- ["msg_id", "number", "int"],
24295
+ ["stargift", "InputSavedStarGift", "InputSavedStarGift"],
24028
24296
  ],
24029
24297
  ],
24030
24298
  ],
24031
24299
  [
24032
24300
  "payments.convertStarGift",
24033
24301
  [
24034
- 0x72770C83,
24302
+ 0x74BF076B,
24035
24303
  [
24036
- ["msg_id", "number", "int"],
24304
+ ["stargift", "InputSavedStarGift", "InputSavedStarGift"],
24037
24305
  ],
24038
24306
  ],
24039
24307
  ],
@@ -24120,30 +24388,78 @@ const types = new Map([
24120
24388
  [
24121
24389
  "payments.upgradeStarGift",
24122
24390
  [
24123
- 0xCF4F0781,
24391
+ 0xAED6E4F5,
24124
24392
  [
24125
24393
  ["flags", flags, "#"],
24126
24394
  ["keep_original_details", "true", "flags.0?true"],
24127
- ["msg_id", "number", "int"],
24395
+ ["stargift", "InputSavedStarGift", "InputSavedStarGift"],
24128
24396
  ],
24129
24397
  ],
24130
24398
  ],
24131
24399
  [
24132
24400
  "payments.transferStarGift",
24133
24401
  [
24134
- 0x333FB526,
24402
+ 0x7F18176A,
24135
24403
  [
24136
- ["msg_id", "number", "int"],
24137
- ["to_id", "InputUser", "InputUser"],
24404
+ ["stargift", "InputSavedStarGift", "InputSavedStarGift"],
24405
+ ["to_id", "InputPeer", "InputPeer"],
24138
24406
  ],
24139
24407
  ],
24140
24408
  ],
24141
24409
  [
24142
- "payments.getUserStarGift",
24410
+ "payments.getUniqueStarGift",
24143
24411
  [
24144
- 0xB502E4A5,
24412
+ 0xA1974D72,
24145
24413
  [
24146
- ["msg_id", ["number"], "Vector<int>"],
24414
+ ["slug", "string", "string"],
24415
+ ],
24416
+ ],
24417
+ ],
24418
+ [
24419
+ "payments.getSavedStarGifts",
24420
+ [
24421
+ 0x23830DE9,
24422
+ [
24423
+ ["flags", flags, "#"],
24424
+ ["exclude_unsaved", "true", "flags.0?true"],
24425
+ ["exclude_saved", "true", "flags.1?true"],
24426
+ ["exclude_unlimited", "true", "flags.2?true"],
24427
+ ["exclude_limited", "true", "flags.3?true"],
24428
+ ["exclude_unique", "true", "flags.4?true"],
24429
+ ["sort_by_value", "true", "flags.5?true"],
24430
+ ["peer", "InputPeer", "InputPeer"],
24431
+ ["offset", "string", "string"],
24432
+ ["limit", "number", "int"],
24433
+ ],
24434
+ ],
24435
+ ],
24436
+ [
24437
+ "payments.getSavedStarGift",
24438
+ [
24439
+ 0xB455A106,
24440
+ [
24441
+ ["stargift", ["InputSavedStarGift"], "Vector<InputSavedStarGift>"],
24442
+ ],
24443
+ ],
24444
+ ],
24445
+ [
24446
+ "payments.getStarGiftWithdrawalUrl",
24447
+ [
24448
+ 0xD06E93A8,
24449
+ [
24450
+ ["stargift", "InputSavedStarGift", "InputSavedStarGift"],
24451
+ ["password", "InputCheckPasswordSRP", "InputCheckPasswordSRP"],
24452
+ ],
24453
+ ],
24454
+ ],
24455
+ [
24456
+ "payments.toggleChatStarGiftNotifications",
24457
+ [
24458
+ 0x60EAEFA1,
24459
+ [
24460
+ ["flags", flags, "#"],
24461
+ ["enabled", "true", "flags.0?true"],
24462
+ ["peer", "InputPeer", "InputPeer"],
24147
24463
  ],
24148
24464
  ],
24149
24465
  ],