@mtkruto/node 0.69.0 → 0.70.1

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 (565) hide show
  1. package/esm/0_deps.d.ts +3 -1
  2. package/esm/0_deps.d.ts.map +1 -1
  3. package/esm/0_deps.js +3 -1
  4. package/esm/3_types.d.ts +35 -35
  5. package/esm/3_types.d.ts.map +1 -1
  6. package/esm/3_types.js +35 -35
  7. package/esm/_dnt.polyfills.d.ts +20 -13
  8. package/esm/_dnt.polyfills.d.ts.map +1 -1
  9. package/esm/_dnt.polyfills.js +120 -11
  10. package/esm/client/0_abortable_loop.d.ts +27 -0
  11. package/esm/client/0_abortable_loop.d.ts.map +1 -0
  12. package/esm/client/0_abortable_loop.js +49 -0
  13. package/esm/client/0_client_abstract.d.ts +1 -0
  14. package/esm/client/0_client_abstract.d.ts.map +1 -1
  15. package/esm/client/0_client_abstract.js +3 -0
  16. package/esm/client/0_filters.d.ts +9 -3
  17. package/esm/client/0_filters.d.ts.map +1 -1
  18. package/esm/client/0_filters.js +4 -1
  19. package/esm/client/0_params.d.ts +1 -1
  20. package/esm/client/0_password.d.ts +2 -2
  21. package/esm/client/0_password.d.ts.map +1 -1
  22. package/esm/client/0_storage_operations.d.ts +53 -71
  23. package/esm/client/0_storage_operations.d.ts.map +1 -1
  24. package/esm/client/0_storage_operations.js +241 -238
  25. package/esm/client/0_update_processor.d.ts +2 -2
  26. package/esm/client/0_update_processor.d.ts.map +1 -1
  27. package/esm/client/0_utilities.d.ts +2 -2
  28. package/esm/client/0_utilities.d.ts.map +1 -1
  29. package/esm/client/1_types.d.ts +2 -2
  30. package/esm/client/1_types.d.ts.map +1 -1
  31. package/esm/client/2_account_manager.js +5 -5
  32. package/esm/client/2_business_connection_manager.d.ts +1 -1
  33. package/esm/client/2_business_connection_manager.d.ts.map +1 -1
  34. package/esm/client/2_business_connection_manager.js +3 -3
  35. package/esm/client/2_client_encrypted.d.ts +1 -1
  36. package/esm/client/2_client_encrypted.d.ts.map +1 -1
  37. package/esm/client/2_client_encrypted.js +26 -23
  38. package/esm/client/2_file_manager.js +2 -2
  39. package/esm/client/2_network_statistics_manager.d.ts +2 -2
  40. package/esm/client/2_network_statistics_manager.d.ts.map +1 -1
  41. package/esm/client/2_network_statistics_manager.js +30 -4
  42. package/esm/client/2_payment_manager.d.ts +1 -1
  43. package/esm/client/2_payment_manager.d.ts.map +1 -1
  44. package/esm/client/2_payment_manager.js +2 -2
  45. package/esm/client/2_reaction_manager.d.ts +1 -1
  46. package/esm/client/2_reaction_manager.d.ts.map +1 -1
  47. package/esm/client/2_reaction_manager.js +2 -2
  48. package/esm/client/2_translations_manager.d.ts +1 -1
  49. package/esm/client/2_translations_manager.d.ts.map +1 -1
  50. package/esm/client/2_translations_manager.js +15 -11
  51. package/esm/client/2_update_manager.d.ts +4 -2
  52. package/esm/client/2_update_manager.d.ts.map +1 -1
  53. package/esm/client/2_update_manager.js +62 -80
  54. package/esm/client/3_message_manager.d.ts +2 -2
  55. package/esm/client/3_message_manager.d.ts.map +1 -1
  56. package/esm/client/3_message_manager.js +5 -5
  57. package/esm/client/3_video_chat_manager.d.ts +1 -1
  58. package/esm/client/3_video_chat_manager.d.ts.map +1 -1
  59. package/esm/client/4_callback_query_manager.d.ts +1 -1
  60. package/esm/client/4_callback_query_manager.d.ts.map +1 -1
  61. package/esm/client/4_callback_query_manager.js +1 -1
  62. package/esm/client/4_chat_list_manager.d.ts +2 -3
  63. package/esm/client/4_chat_list_manager.d.ts.map +1 -1
  64. package/esm/client/4_chat_list_manager.js +10 -265
  65. package/esm/client/4_chat_manager.d.ts +2 -2
  66. package/esm/client/4_chat_manager.d.ts.map +1 -1
  67. package/esm/client/4_chat_manager.js +7 -7
  68. package/esm/client/4_gift_manager.js +3 -3
  69. package/esm/client/4_inline_query_manager.d.ts +1 -1
  70. package/esm/client/4_inline_query_manager.d.ts.map +1 -1
  71. package/esm/client/4_inline_query_manager.js +3 -3
  72. package/esm/client/4_link_preview_manager.d.ts +1 -1
  73. package/esm/client/4_link_preview_manager.d.ts.map +1 -1
  74. package/esm/client/4_link_preview_manager.js +3 -3
  75. package/esm/client/4_poll_manager.d.ts +1 -1
  76. package/esm/client/4_poll_manager.d.ts.map +1 -1
  77. package/esm/client/4_poll_manager.js +1 -1
  78. package/esm/client/4_story_manager.d.ts +1 -1
  79. package/esm/client/4_story_manager.d.ts.map +1 -1
  80. package/esm/client/4_story_manager.js +7 -7
  81. package/esm/client/5_client.d.ts +15 -9
  82. package/esm/client/5_client.d.ts.map +1 -1
  83. package/esm/client/5_client.js +420 -382
  84. package/esm/deps/jsr.io/@std/cache/0.2.0/_serialize_arg_list.d.ts +12 -0
  85. package/esm/deps/jsr.io/@std/cache/0.2.0/_serialize_arg_list.d.ts.map +1 -0
  86. package/esm/deps/jsr.io/@std/cache/0.2.0/_serialize_arg_list.js +69 -0
  87. package/esm/deps/jsr.io/@std/cache/0.2.0/lru_cache.d.ts +112 -0
  88. package/esm/deps/jsr.io/@std/cache/0.2.0/lru_cache.d.ts.map +1 -0
  89. package/esm/deps/jsr.io/@std/cache/0.2.0/lru_cache.js +140 -0
  90. package/esm/deps/jsr.io/@std/cache/0.2.0/memoize.d.ts +111 -0
  91. package/esm/deps/jsr.io/@std/cache/0.2.0/memoize.d.ts.map +1 -0
  92. package/esm/deps/jsr.io/@std/cache/0.2.0/memoize.js +82 -0
  93. package/esm/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts +39 -0
  94. package/esm/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +1 -0
  95. package/esm/deps/jsr.io/@std/encoding/1.0.7/hex.js +109 -0
  96. package/esm/session/1_session.d.ts +1 -0
  97. package/esm/session/1_session.d.ts.map +1 -1
  98. package/esm/session/1_session.js +3 -0
  99. package/esm/session/2_session_encrypted.d.ts +2 -2
  100. package/esm/session/2_session_encrypted.d.ts.map +1 -1
  101. package/esm/session/2_session_encrypted.js +198 -135
  102. package/esm/storage/0_storage.d.ts +1 -0
  103. package/esm/storage/0_storage.d.ts.map +1 -1
  104. package/esm/storage/2_storage_indexed_db.d.ts +1 -0
  105. package/esm/storage/2_storage_indexed_db.d.ts.map +1 -1
  106. package/esm/storage/2_storage_indexed_db.js +3 -0
  107. package/esm/storage/2_storage_local_storage.node.d.ts +1 -0
  108. package/esm/storage/2_storage_local_storage.node.d.ts.map +1 -1
  109. package/esm/storage/2_storage_local_storage.node.js +3 -0
  110. package/esm/storage/2_storage_memory.d.ts +1 -0
  111. package/esm/storage/2_storage_memory.d.ts.map +1 -1
  112. package/esm/storage/2_storage_memory.js +3 -0
  113. package/esm/storage/2_storage_session_storage.d.ts +1 -0
  114. package/esm/storage/2_storage_session_storage.d.ts.map +1 -1
  115. package/esm/storage/2_storage_session_storage.js +3 -0
  116. package/esm/tl/0_utilities.d.ts +1 -0
  117. package/esm/tl/0_utilities.d.ts.map +1 -1
  118. package/esm/tl/0_utilities.js +20 -1
  119. package/esm/tl/1_telegram_api.d.ts +810 -254
  120. package/esm/tl/1_telegram_api.d.ts.map +1 -1
  121. package/esm/tl/1_telegram_api.js +912 -213
  122. package/esm/tl/1_tl_reader.d.ts +2 -2
  123. package/esm/tl/1_tl_reader.d.ts.map +1 -1
  124. package/esm/tl/1_tl_writer.d.ts +2 -2
  125. package/esm/tl/1_tl_writer.d.ts.map +1 -1
  126. package/esm/tl/2_mtproto.d.ts +1 -1
  127. package/esm/tl/2_mtproto.d.ts.map +1 -1
  128. package/esm/tl/2_telegram.d.ts +1 -1
  129. package/esm/tl/2_telegram.d.ts.map +1 -1
  130. package/esm/types/0_file_source.d.ts +1 -1
  131. package/esm/types/0_file_source.d.ts.map +1 -1
  132. package/esm/types/1_chat_p.d.ts +10 -0
  133. package/esm/types/1_chat_p.d.ts.map +1 -1
  134. package/esm/types/1_chat_p.js +4 -0
  135. package/esm/types/2_chat.d.ts +2 -5
  136. package/esm/types/2_chat.d.ts.map +1 -1
  137. package/esm/types/2_chat.js +10 -15
  138. package/esm/types/{0_message_entity.d.ts → 2_message_entity.d.ts} +3 -3
  139. package/esm/types/{0_message_entity.d.ts.map → 2_message_entity.d.ts.map} +1 -1
  140. package/esm/types/{0_message_entity.js → 2_message_entity.js} +7 -7
  141. package/esm/types/2_message_reaction_count.d.ts +2 -3
  142. package/esm/types/2_message_reaction_count.d.ts.map +1 -1
  143. package/esm/types/2_message_reaction_count.js +4 -6
  144. package/esm/types/2_poll_answer.d.ts +2 -3
  145. package/esm/types/2_poll_answer.d.ts.map +1 -1
  146. package/esm/types/2_poll_answer.js +4 -5
  147. package/esm/types/2_story_interactive_area.d.ts +2 -2
  148. package/esm/types/2_story_interactive_area.d.ts.map +1 -1
  149. package/esm/types/2_story_interactive_area.js +2 -2
  150. package/esm/types/{1_story_privacy.d.ts → 2_story_privacy.d.ts} +3 -3
  151. package/esm/types/{1_story_privacy.d.ts.map → 2_story_privacy.d.ts.map} +1 -1
  152. package/esm/types/{1_story_privacy.js → 2_story_privacy.js} +10 -10
  153. package/{script/types/1_user.d.ts → esm/types/2_user.d.ts} +5 -1
  154. package/esm/types/2_user.d.ts.map +1 -0
  155. package/esm/types/{1_user.js → 2_user.js} +24 -0
  156. package/esm/types/{2_business_connection.d.ts → 3_business_connection.d.ts} +4 -4
  157. package/esm/types/3_business_connection.d.ts.map +1 -0
  158. package/esm/types/{2_business_connection.js → 3_business_connection.js} +10 -3
  159. package/{script/types/2_chat_member.d.ts → esm/types/3_chat_member.d.ts} +6 -4
  160. package/esm/types/{2_chat_member.d.ts.map → 3_chat_member.d.ts.map} +1 -1
  161. package/esm/types/{2_chat_member.js → 3_chat_member.js} +5 -5
  162. package/esm/types/{2_chat_settings.d.ts → 3_chat_settings.d.ts} +2 -2
  163. package/{script/types/2_chat_settings.d.ts.map → esm/types/3_chat_settings.d.ts.map} +1 -1
  164. package/esm/types/{2_chat_settings.js → 3_chat_settings.js} +1 -1
  165. package/esm/types/{2_chosen_inline_result.d.ts → 3_chosen_inline_result.d.ts} +4 -4
  166. package/esm/types/3_chosen_inline_result.d.ts.map +1 -0
  167. package/esm/types/{2_chosen_inline_result.js → 3_chosen_inline_result.js} +3 -3
  168. package/esm/types/{2_forward_header.d.ts → 3_forward_header.d.ts} +4 -5
  169. package/esm/types/3_forward_header.d.ts.map +1 -0
  170. package/esm/types/{2_forward_header.js → 3_forward_header.js} +11 -12
  171. package/{script/types/2_game.d.ts → esm/types/3_game.d.ts} +2 -2
  172. package/esm/types/3_game.d.ts.map +1 -0
  173. package/esm/types/{2_gift_upgraded_component.d.ts → 3_gift_upgraded_component.d.ts} +2 -2
  174. package/esm/types/{2_gift_upgraded_component.d.ts.map → 3_gift_upgraded_component.d.ts.map} +1 -1
  175. package/esm/types/{2_gift_upgraded_component.js → 3_gift_upgraded_component.js} +1 -1
  176. package/esm/types/{2_inline_query.d.ts → 3_inline_query.d.ts} +4 -4
  177. package/esm/types/3_inline_query.d.ts.map +1 -0
  178. package/esm/types/{2_inline_query.js → 3_inline_query.js} +5 -5
  179. package/{script/types/1_input_media.d.ts → esm/types/3_input_media.d.ts} +2 -2
  180. package/esm/types/{1_input_media.d.ts.map → 3_input_media.d.ts.map} +1 -1
  181. package/{script/types/2_invite_link.d.ts → esm/types/3_invite_link.d.ts} +4 -4
  182. package/{script/types/2_invite_link.d.ts.map → esm/types/3_invite_link.d.ts.map} +1 -1
  183. package/esm/types/{2_invite_link.js → 3_invite_link.js} +5 -5
  184. package/{script/types/2_message_reactions.d.ts → esm/types/3_message_reactions.d.ts} +5 -6
  185. package/esm/types/3_message_reactions.d.ts.map +1 -0
  186. package/esm/types/{2_message_reactions.js → 3_message_reactions.js} +10 -12
  187. package/esm/types/{1_poll_option.d.ts → 3_poll_option.d.ts} +2 -2
  188. package/esm/types/{1_poll_option.d.ts.map → 3_poll_option.d.ts.map} +1 -1
  189. package/esm/types/{1_poll_option.js → 3_poll_option.js} +1 -1
  190. package/esm/types/{2_pre_checkout_query.d.ts → 3_pre_checkout_query.d.ts} +4 -4
  191. package/esm/types/3_pre_checkout_query.d.ts.map +1 -0
  192. package/esm/types/{2_pre_checkout_query.js → 3_pre_checkout_query.js} +5 -5
  193. package/{script/types/1_reply_quote.d.ts → esm/types/3_reply_quote.d.ts} +2 -2
  194. package/esm/types/{1_reply_quote.d.ts.map → 3_reply_quote.d.ts.map} +1 -1
  195. package/esm/types/{1_reply_quote.js → 3_reply_quote.js} +1 -1
  196. package/esm/types/3_story.d.ts +4 -5
  197. package/esm/types/3_story.d.ts.map +1 -1
  198. package/esm/types/3_story.js +6 -7
  199. package/esm/types/{3_chat_member_updated.d.ts → 4_chat_member_updated.d.ts} +6 -7
  200. package/esm/types/4_chat_member_updated.d.ts.map +1 -0
  201. package/esm/types/{3_chat_member_updated.js → 4_chat_member_updated.js} +13 -14
  202. package/esm/types/{3_gift.d.ts → 4_gift.d.ts} +6 -6
  203. package/esm/types/{3_gift.d.ts.map → 4_gift.d.ts.map} +1 -1
  204. package/esm/types/{3_gift.js → 4_gift.js} +7 -7
  205. package/esm/types/{3_join_request.d.ts → 4_join_request.d.ts} +6 -7
  206. package/esm/types/4_join_request.d.ts.map +1 -0
  207. package/esm/types/{3_join_request.js → 4_join_request.js} +17 -18
  208. package/esm/types/{2_poll.d.ts → 4_poll.d.ts} +3 -3
  209. package/esm/types/{2_poll.d.ts.map → 4_poll.d.ts.map} +1 -1
  210. package/esm/types/{2_poll.js → 4_poll.js} +2 -2
  211. package/{script/types/2_reply_to.d.ts → esm/types/4_reply_to.d.ts} +2 -2
  212. package/esm/types/{2_reply_to.d.ts.map → 4_reply_to.d.ts.map} +1 -1
  213. package/esm/types/{4_claimed_gift.d.ts → 5_claimed_gift.d.ts} +5 -6
  214. package/esm/types/5_claimed_gift.d.ts.map +1 -0
  215. package/esm/types/{4_claimed_gift.js → 5_claimed_gift.js} +4 -4
  216. package/esm/types/{4_link_preview.d.ts → 5_link_preview.d.ts} +4 -4
  217. package/{script/types/4_link_preview.d.ts.map → esm/types/5_link_preview.d.ts.map} +1 -1
  218. package/esm/types/{4_link_preview.js → 5_link_preview.js} +3 -3
  219. package/esm/types/{5_claimed_gifts.d.ts → 6_claimed_gifts.d.ts} +4 -4
  220. package/esm/types/6_claimed_gifts.d.ts.map +1 -0
  221. package/esm/types/{5_claimed_gifts.js → 6_claimed_gifts.js} +4 -4
  222. package/esm/types/{5_message.d.ts → 6_message.d.ts} +10 -11
  223. package/esm/types/6_message.d.ts.map +1 -0
  224. package/esm/types/{5_message.js → 6_message.js} +41 -66
  225. package/{script/types/5_message_content.d.ts → esm/types/6_message_content.d.ts} +3 -3
  226. package/esm/types/{5_message_content.d.ts.map → 6_message_content.d.ts.map} +1 -1
  227. package/{script/types/6_callback_query.d.ts → esm/types/7_callback_query.d.ts} +5 -5
  228. package/esm/types/{6_callback_query.d.ts.map → 7_callback_query.d.ts.map} +1 -1
  229. package/esm/types/{6_callback_query.js → 7_callback_query.js} +5 -5
  230. package/{script/types/6_chat_list_item.d.ts → esm/types/7_chat_list_item.d.ts} +6 -7
  231. package/esm/types/7_chat_list_item.d.ts.map +1 -0
  232. package/esm/types/{6_chat_list_item.js → 7_chat_list_item.js} +11 -11
  233. package/{script/types/6_inline_query_result.d.ts → esm/types/7_inline_query_result.d.ts} +3 -3
  234. package/esm/types/{6_inline_query_result.d.ts.map → 7_inline_query_result.d.ts.map} +1 -1
  235. package/esm/types/{6_inline_query_result.js → 7_inline_query_result.js} +1 -1
  236. package/esm/types/{6_saved_chat.d.ts → 7_saved_chat.d.ts} +4 -5
  237. package/esm/types/7_saved_chat.d.ts.map +1 -0
  238. package/esm/types/{6_saved_chat.js → 7_saved_chat.js} +4 -4
  239. package/esm/types/{6_topic.d.ts → 7_topic.d.ts} +2 -2
  240. package/esm/types/{6_topic.d.ts.map → 7_topic.d.ts.map} +1 -1
  241. package/esm/types/{7_inline_query_answer.d.ts → 8_inline_query_answer.d.ts} +2 -2
  242. package/esm/types/{7_inline_query_answer.d.ts.map → 8_inline_query_answer.d.ts.map} +1 -1
  243. package/esm/types/{7_inline_query_answer.js → 8_inline_query_answer.js} +1 -1
  244. package/{script/types/7_saved_chats.d.ts → esm/types/8_saved_chats.d.ts} +5 -5
  245. package/esm/types/8_saved_chats.d.ts.map +1 -0
  246. package/esm/types/{7_saved_chats.js → 8_saved_chats.js} +3 -3
  247. package/esm/types/{7_update.d.ts → 8_update.d.ts} +35 -16
  248. package/esm/types/8_update.d.ts.map +1 -0
  249. package/esm/types/_file_id.d.ts +1 -1
  250. package/esm/types/_file_id.d.ts.map +1 -1
  251. package/esm/types/_getters.d.ts +0 -7
  252. package/esm/types/_getters.d.ts.map +1 -1
  253. package/esm/utilities/0_hash.d.ts +2 -2
  254. package/esm/utilities/0_hash.d.ts.map +1 -1
  255. package/esm/utilities/0_misc.d.ts +1 -0
  256. package/esm/utilities/0_misc.d.ts.map +1 -1
  257. package/esm/utilities/0_misc.js +14 -1
  258. package/esm/utilities/0_part_stream.d.ts +1 -1
  259. package/esm/utilities/0_part_stream.d.ts.map +1 -1
  260. package/package.json +1 -1
  261. package/script/0_deps.d.ts +3 -1
  262. package/script/0_deps.d.ts.map +1 -1
  263. package/script/0_deps.js +6 -1
  264. package/script/3_types.d.ts +35 -35
  265. package/script/3_types.d.ts.map +1 -1
  266. package/script/3_types.js +35 -35
  267. package/script/_dnt.polyfills.d.ts +20 -13
  268. package/script/_dnt.polyfills.d.ts.map +1 -1
  269. package/script/_dnt.polyfills.js +120 -11
  270. package/script/client/0_abortable_loop.d.ts +27 -0
  271. package/script/client/0_abortable_loop.d.ts.map +1 -0
  272. package/script/client/0_abortable_loop.js +53 -0
  273. package/script/client/0_client_abstract.d.ts +1 -0
  274. package/script/client/0_client_abstract.d.ts.map +1 -1
  275. package/script/client/0_client_abstract.js +3 -0
  276. package/script/client/0_filters.d.ts +9 -3
  277. package/script/client/0_filters.d.ts.map +1 -1
  278. package/script/client/0_filters.js +4 -1
  279. package/script/client/0_params.d.ts +1 -1
  280. package/script/client/0_password.d.ts +2 -2
  281. package/script/client/0_password.d.ts.map +1 -1
  282. package/script/client/0_storage_operations.d.ts +53 -71
  283. package/script/client/0_storage_operations.d.ts.map +1 -1
  284. package/script/client/0_storage_operations.js +239 -236
  285. package/script/client/0_update_processor.d.ts +2 -2
  286. package/script/client/0_update_processor.d.ts.map +1 -1
  287. package/script/client/0_utilities.d.ts +2 -2
  288. package/script/client/0_utilities.d.ts.map +1 -1
  289. package/script/client/1_types.d.ts +2 -2
  290. package/script/client/1_types.d.ts.map +1 -1
  291. package/script/client/2_account_manager.js +5 -5
  292. package/script/client/2_business_connection_manager.d.ts +1 -1
  293. package/script/client/2_business_connection_manager.d.ts.map +1 -1
  294. package/script/client/2_business_connection_manager.js +3 -3
  295. package/script/client/2_client_encrypted.d.ts +1 -1
  296. package/script/client/2_client_encrypted.d.ts.map +1 -1
  297. package/script/client/2_client_encrypted.js +26 -23
  298. package/script/client/2_file_manager.js +2 -2
  299. package/script/client/2_network_statistics_manager.d.ts +2 -2
  300. package/script/client/2_network_statistics_manager.d.ts.map +1 -1
  301. package/script/client/2_network_statistics_manager.js +30 -4
  302. package/script/client/2_payment_manager.d.ts +1 -1
  303. package/script/client/2_payment_manager.d.ts.map +1 -1
  304. package/script/client/2_payment_manager.js +2 -2
  305. package/script/client/2_reaction_manager.d.ts +1 -1
  306. package/script/client/2_reaction_manager.d.ts.map +1 -1
  307. package/script/client/2_reaction_manager.js +2 -2
  308. package/script/client/2_translations_manager.d.ts +1 -1
  309. package/script/client/2_translations_manager.d.ts.map +1 -1
  310. package/script/client/2_translations_manager.js +15 -11
  311. package/script/client/2_update_manager.d.ts +4 -2
  312. package/script/client/2_update_manager.d.ts.map +1 -1
  313. package/script/client/2_update_manager.js +62 -80
  314. package/script/client/3_message_manager.d.ts +2 -2
  315. package/script/client/3_message_manager.d.ts.map +1 -1
  316. package/script/client/3_message_manager.js +5 -5
  317. package/script/client/3_video_chat_manager.d.ts +1 -1
  318. package/script/client/3_video_chat_manager.d.ts.map +1 -1
  319. package/script/client/4_callback_query_manager.d.ts +1 -1
  320. package/script/client/4_callback_query_manager.d.ts.map +1 -1
  321. package/script/client/4_callback_query_manager.js +1 -1
  322. package/script/client/4_chat_list_manager.d.ts +2 -3
  323. package/script/client/4_chat_list_manager.d.ts.map +1 -1
  324. package/script/client/4_chat_list_manager.js +9 -264
  325. package/script/client/4_chat_manager.d.ts +2 -2
  326. package/script/client/4_chat_manager.d.ts.map +1 -1
  327. package/script/client/4_chat_manager.js +7 -7
  328. package/script/client/4_gift_manager.js +3 -3
  329. package/script/client/4_inline_query_manager.d.ts +1 -1
  330. package/script/client/4_inline_query_manager.d.ts.map +1 -1
  331. package/script/client/4_inline_query_manager.js +3 -3
  332. package/script/client/4_link_preview_manager.d.ts +1 -1
  333. package/script/client/4_link_preview_manager.d.ts.map +1 -1
  334. package/script/client/4_link_preview_manager.js +3 -3
  335. package/script/client/4_poll_manager.d.ts +1 -1
  336. package/script/client/4_poll_manager.d.ts.map +1 -1
  337. package/script/client/4_poll_manager.js +1 -1
  338. package/script/client/4_story_manager.d.ts +1 -1
  339. package/script/client/4_story_manager.d.ts.map +1 -1
  340. package/script/client/4_story_manager.js +7 -7
  341. package/script/client/5_client.d.ts +15 -9
  342. package/script/client/5_client.d.ts.map +1 -1
  343. package/script/client/5_client.js +418 -380
  344. package/script/deps/jsr.io/@std/cache/0.2.0/_serialize_arg_list.d.ts +12 -0
  345. package/script/deps/jsr.io/@std/cache/0.2.0/_serialize_arg_list.d.ts.map +1 -0
  346. package/script/deps/jsr.io/@std/cache/0.2.0/_serialize_arg_list.js +72 -0
  347. package/script/deps/jsr.io/@std/cache/0.2.0/lru_cache.d.ts +112 -0
  348. package/script/deps/jsr.io/@std/cache/0.2.0/lru_cache.d.ts.map +1 -0
  349. package/script/deps/jsr.io/@std/cache/0.2.0/lru_cache.js +144 -0
  350. package/script/deps/jsr.io/@std/cache/0.2.0/memoize.d.ts +111 -0
  351. package/script/deps/jsr.io/@std/cache/0.2.0/memoize.d.ts.map +1 -0
  352. package/script/deps/jsr.io/@std/cache/0.2.0/memoize.js +85 -0
  353. package/script/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts +39 -0
  354. package/script/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +1 -0
  355. package/script/deps/jsr.io/@std/encoding/1.0.7/hex.js +113 -0
  356. package/script/session/1_session.d.ts +1 -0
  357. package/script/session/1_session.d.ts.map +1 -1
  358. package/script/session/1_session.js +3 -0
  359. package/script/session/2_session_encrypted.d.ts +2 -2
  360. package/script/session/2_session_encrypted.d.ts.map +1 -1
  361. package/script/session/2_session_encrypted.js +197 -134
  362. package/script/storage/0_storage.d.ts +1 -0
  363. package/script/storage/0_storage.d.ts.map +1 -1
  364. package/script/storage/2_storage_indexed_db.d.ts +1 -0
  365. package/script/storage/2_storage_indexed_db.d.ts.map +1 -1
  366. package/script/storage/2_storage_indexed_db.js +3 -0
  367. package/script/storage/2_storage_local_storage.node.d.ts +1 -0
  368. package/script/storage/2_storage_local_storage.node.d.ts.map +1 -1
  369. package/script/storage/2_storage_local_storage.node.js +3 -0
  370. package/script/storage/2_storage_memory.d.ts +1 -0
  371. package/script/storage/2_storage_memory.d.ts.map +1 -1
  372. package/script/storage/2_storage_memory.js +3 -0
  373. package/script/storage/2_storage_session_storage.d.ts +1 -0
  374. package/script/storage/2_storage_session_storage.d.ts.map +1 -1
  375. package/script/storage/2_storage_session_storage.js +3 -0
  376. package/script/tl/0_utilities.d.ts +1 -0
  377. package/script/tl/0_utilities.d.ts.map +1 -1
  378. package/script/tl/0_utilities.js +20 -0
  379. package/script/tl/1_telegram_api.d.ts +810 -254
  380. package/script/tl/1_telegram_api.d.ts.map +1 -1
  381. package/script/tl/1_telegram_api.js +912 -213
  382. package/script/tl/1_tl_reader.d.ts +2 -2
  383. package/script/tl/1_tl_reader.d.ts.map +1 -1
  384. package/script/tl/1_tl_writer.d.ts +2 -2
  385. package/script/tl/1_tl_writer.d.ts.map +1 -1
  386. package/script/tl/2_mtproto.d.ts +1 -1
  387. package/script/tl/2_mtproto.d.ts.map +1 -1
  388. package/script/tl/2_telegram.d.ts +1 -1
  389. package/script/tl/2_telegram.d.ts.map +1 -1
  390. package/script/types/0_file_source.d.ts +1 -1
  391. package/script/types/0_file_source.d.ts.map +1 -1
  392. package/script/types/1_chat_p.d.ts +10 -0
  393. package/script/types/1_chat_p.d.ts.map +1 -1
  394. package/script/types/1_chat_p.js +5 -0
  395. package/script/types/2_chat.d.ts +2 -5
  396. package/script/types/2_chat.d.ts.map +1 -1
  397. package/script/types/2_chat.js +10 -15
  398. package/script/types/{0_message_entity.d.ts → 2_message_entity.d.ts} +3 -3
  399. package/script/types/{0_message_entity.d.ts.map → 2_message_entity.d.ts.map} +1 -1
  400. package/script/types/{0_message_entity.js → 2_message_entity.js} +7 -7
  401. package/script/types/2_message_reaction_count.d.ts +2 -3
  402. package/script/types/2_message_reaction_count.d.ts.map +1 -1
  403. package/script/types/2_message_reaction_count.js +4 -6
  404. package/script/types/2_poll_answer.d.ts +2 -3
  405. package/script/types/2_poll_answer.d.ts.map +1 -1
  406. package/script/types/2_poll_answer.js +4 -5
  407. package/script/types/2_story_interactive_area.d.ts +2 -2
  408. package/script/types/2_story_interactive_area.d.ts.map +1 -1
  409. package/script/types/2_story_interactive_area.js +2 -2
  410. package/script/types/{1_story_privacy.d.ts → 2_story_privacy.d.ts} +3 -3
  411. package/script/types/{1_story_privacy.d.ts.map → 2_story_privacy.d.ts.map} +1 -1
  412. package/script/types/{1_story_privacy.js → 2_story_privacy.js} +10 -10
  413. package/{esm/types/1_user.d.ts → script/types/2_user.d.ts} +5 -1
  414. package/script/types/2_user.d.ts.map +1 -0
  415. package/script/types/{1_user.js → 2_user.js} +25 -0
  416. package/script/types/{2_business_connection.d.ts → 3_business_connection.d.ts} +4 -4
  417. package/script/types/3_business_connection.d.ts.map +1 -0
  418. package/script/types/{2_business_connection.js → 3_business_connection.js} +10 -3
  419. package/{esm/types/2_chat_member.d.ts → script/types/3_chat_member.d.ts} +6 -4
  420. package/script/types/{2_chat_member.d.ts.map → 3_chat_member.d.ts.map} +1 -1
  421. package/script/types/{2_chat_member.js → 3_chat_member.js} +5 -5
  422. package/script/types/{2_chat_settings.d.ts → 3_chat_settings.d.ts} +2 -2
  423. package/{esm/types/2_chat_settings.d.ts.map → script/types/3_chat_settings.d.ts.map} +1 -1
  424. package/script/types/{2_chat_settings.js → 3_chat_settings.js} +2 -2
  425. package/script/types/{2_chosen_inline_result.d.ts → 3_chosen_inline_result.d.ts} +4 -4
  426. package/script/types/3_chosen_inline_result.d.ts.map +1 -0
  427. package/script/types/{2_chosen_inline_result.js → 3_chosen_inline_result.js} +4 -4
  428. package/script/types/{2_forward_header.d.ts → 3_forward_header.d.ts} +4 -5
  429. package/script/types/3_forward_header.d.ts.map +1 -0
  430. package/script/types/{2_forward_header.js → 3_forward_header.js} +11 -12
  431. package/{esm/types/2_game.d.ts → script/types/3_game.d.ts} +2 -2
  432. package/script/types/3_game.d.ts.map +1 -0
  433. package/script/types/{2_gift_upgraded_component.d.ts → 3_gift_upgraded_component.d.ts} +2 -2
  434. package/script/types/{2_gift_upgraded_component.d.ts.map → 3_gift_upgraded_component.d.ts.map} +1 -1
  435. package/script/types/{2_gift_upgraded_component.js → 3_gift_upgraded_component.js} +2 -2
  436. package/script/types/{2_inline_query.d.ts → 3_inline_query.d.ts} +4 -4
  437. package/script/types/3_inline_query.d.ts.map +1 -0
  438. package/script/types/{2_inline_query.js → 3_inline_query.js} +5 -5
  439. package/{esm/types/1_input_media.d.ts → script/types/3_input_media.d.ts} +2 -2
  440. package/script/types/{1_input_media.d.ts.map → 3_input_media.d.ts.map} +1 -1
  441. package/{esm/types/2_invite_link.d.ts → script/types/3_invite_link.d.ts} +4 -4
  442. package/{esm/types/2_invite_link.d.ts.map → script/types/3_invite_link.d.ts.map} +1 -1
  443. package/script/types/{2_invite_link.js → 3_invite_link.js} +5 -5
  444. package/{esm/types/2_message_reactions.d.ts → script/types/3_message_reactions.d.ts} +5 -6
  445. package/script/types/3_message_reactions.d.ts.map +1 -0
  446. package/script/types/{2_message_reactions.js → 3_message_reactions.js} +10 -12
  447. package/script/types/{1_poll_option.d.ts → 3_poll_option.d.ts} +2 -2
  448. package/script/types/{1_poll_option.d.ts.map → 3_poll_option.d.ts.map} +1 -1
  449. package/script/types/{1_poll_option.js → 3_poll_option.js} +2 -2
  450. package/script/types/{2_pre_checkout_query.d.ts → 3_pre_checkout_query.d.ts} +4 -4
  451. package/script/types/3_pre_checkout_query.d.ts.map +1 -0
  452. package/script/types/{2_pre_checkout_query.js → 3_pre_checkout_query.js} +5 -5
  453. package/{esm/types/1_reply_quote.d.ts → script/types/3_reply_quote.d.ts} +2 -2
  454. package/script/types/{1_reply_quote.d.ts.map → 3_reply_quote.d.ts.map} +1 -1
  455. package/script/types/{1_reply_quote.js → 3_reply_quote.js} +2 -2
  456. package/script/types/3_story.d.ts +4 -5
  457. package/script/types/3_story.d.ts.map +1 -1
  458. package/script/types/3_story.js +8 -9
  459. package/script/types/{3_chat_member_updated.d.ts → 4_chat_member_updated.d.ts} +6 -7
  460. package/script/types/4_chat_member_updated.d.ts.map +1 -0
  461. package/script/types/{3_chat_member_updated.js → 4_chat_member_updated.js} +13 -14
  462. package/script/types/{3_gift.d.ts → 4_gift.d.ts} +6 -6
  463. package/script/types/{3_gift.d.ts.map → 4_gift.d.ts.map} +1 -1
  464. package/script/types/{3_gift.js → 4_gift.js} +9 -9
  465. package/script/types/{3_join_request.d.ts → 4_join_request.d.ts} +6 -7
  466. package/script/types/4_join_request.d.ts.map +1 -0
  467. package/script/types/{3_join_request.js → 4_join_request.js} +17 -18
  468. package/script/types/{2_poll.d.ts → 4_poll.d.ts} +3 -3
  469. package/script/types/{2_poll.d.ts.map → 4_poll.d.ts.map} +1 -1
  470. package/script/types/{2_poll.js → 4_poll.js} +5 -5
  471. package/{esm/types/2_reply_to.d.ts → script/types/4_reply_to.d.ts} +2 -2
  472. package/script/types/{2_reply_to.d.ts.map → 4_reply_to.d.ts.map} +1 -1
  473. package/script/types/{4_claimed_gift.d.ts → 5_claimed_gift.d.ts} +5 -6
  474. package/script/types/5_claimed_gift.d.ts.map +1 -0
  475. package/script/types/{4_claimed_gift.js → 5_claimed_gift.js} +5 -5
  476. package/script/types/{4_link_preview.d.ts → 5_link_preview.d.ts} +4 -4
  477. package/{esm/types/4_link_preview.d.ts.map → script/types/5_link_preview.d.ts.map} +1 -1
  478. package/script/types/{4_link_preview.js → 5_link_preview.js} +3 -3
  479. package/script/types/{5_claimed_gifts.d.ts → 6_claimed_gifts.d.ts} +4 -4
  480. package/script/types/6_claimed_gifts.d.ts.map +1 -0
  481. package/script/types/{5_claimed_gifts.js → 6_claimed_gifts.js} +4 -4
  482. package/script/types/{5_message.d.ts → 6_message.d.ts} +10 -11
  483. package/script/types/6_message.d.ts.map +1 -0
  484. package/script/types/{5_message.js → 6_message.js} +45 -70
  485. package/{esm/types/5_message_content.d.ts → script/types/6_message_content.d.ts} +3 -3
  486. package/script/types/{5_message_content.d.ts.map → 6_message_content.d.ts.map} +1 -1
  487. package/{esm/types/6_callback_query.d.ts → script/types/7_callback_query.d.ts} +5 -5
  488. package/script/types/{6_callback_query.d.ts.map → 7_callback_query.d.ts.map} +1 -1
  489. package/script/types/{6_callback_query.js → 7_callback_query.js} +5 -5
  490. package/{esm/types/6_chat_list_item.d.ts → script/types/7_chat_list_item.d.ts} +6 -7
  491. package/script/types/7_chat_list_item.d.ts.map +1 -0
  492. package/script/types/{6_chat_list_item.js → 7_chat_list_item.js} +11 -11
  493. package/{esm/types/6_inline_query_result.d.ts → script/types/7_inline_query_result.d.ts} +3 -3
  494. package/script/types/{6_inline_query_result.d.ts.map → 7_inline_query_result.d.ts.map} +1 -1
  495. package/script/types/{6_inline_query_result.js → 7_inline_query_result.js} +3 -3
  496. package/script/types/{6_saved_chat.d.ts → 7_saved_chat.d.ts} +4 -5
  497. package/script/types/7_saved_chat.d.ts.map +1 -0
  498. package/script/types/{6_saved_chat.js → 7_saved_chat.js} +4 -4
  499. package/script/types/{6_topic.d.ts → 7_topic.d.ts} +2 -2
  500. package/script/types/{6_topic.d.ts.map → 7_topic.d.ts.map} +1 -1
  501. package/script/types/{7_inline_query_answer.d.ts → 8_inline_query_answer.d.ts} +2 -2
  502. package/script/types/{7_inline_query_answer.d.ts.map → 8_inline_query_answer.d.ts.map} +1 -1
  503. package/script/types/{7_inline_query_answer.js → 8_inline_query_answer.js} +2 -2
  504. package/{esm/types/7_saved_chats.d.ts → script/types/8_saved_chats.d.ts} +5 -5
  505. package/script/types/8_saved_chats.d.ts.map +1 -0
  506. package/script/types/{7_saved_chats.js → 8_saved_chats.js} +3 -3
  507. package/script/types/{7_update.d.ts → 8_update.d.ts} +35 -16
  508. package/script/types/8_update.d.ts.map +1 -0
  509. package/script/types/_file_id.d.ts +1 -1
  510. package/script/types/_file_id.d.ts.map +1 -1
  511. package/script/types/_getters.d.ts +0 -7
  512. package/script/types/_getters.d.ts.map +1 -1
  513. package/script/utilities/0_hash.d.ts +2 -2
  514. package/script/utilities/0_hash.d.ts.map +1 -1
  515. package/script/utilities/0_misc.d.ts +1 -0
  516. package/script/utilities/0_misc.d.ts.map +1 -1
  517. package/script/utilities/0_misc.js +14 -0
  518. package/script/utilities/0_part_stream.d.ts +1 -1
  519. package/script/utilities/0_part_stream.d.ts.map +1 -1
  520. package/esm/types/1_user.d.ts.map +0 -1
  521. package/esm/types/2_business_connection.d.ts.map +0 -1
  522. package/esm/types/2_chosen_inline_result.d.ts.map +0 -1
  523. package/esm/types/2_forward_header.d.ts.map +0 -1
  524. package/esm/types/2_game.d.ts.map +0 -1
  525. package/esm/types/2_inline_query.d.ts.map +0 -1
  526. package/esm/types/2_message_reactions.d.ts.map +0 -1
  527. package/esm/types/2_pre_checkout_query.d.ts.map +0 -1
  528. package/esm/types/3_chat_member_updated.d.ts.map +0 -1
  529. package/esm/types/3_join_request.d.ts.map +0 -1
  530. package/esm/types/4_claimed_gift.d.ts.map +0 -1
  531. package/esm/types/5_claimed_gifts.d.ts.map +0 -1
  532. package/esm/types/5_message.d.ts.map +0 -1
  533. package/esm/types/6_chat_list_item.d.ts.map +0 -1
  534. package/esm/types/6_saved_chat.d.ts.map +0 -1
  535. package/esm/types/7_saved_chats.d.ts.map +0 -1
  536. package/esm/types/7_update.d.ts.map +0 -1
  537. package/script/types/1_user.d.ts.map +0 -1
  538. package/script/types/2_business_connection.d.ts.map +0 -1
  539. package/script/types/2_chosen_inline_result.d.ts.map +0 -1
  540. package/script/types/2_forward_header.d.ts.map +0 -1
  541. package/script/types/2_game.d.ts.map +0 -1
  542. package/script/types/2_inline_query.d.ts.map +0 -1
  543. package/script/types/2_message_reactions.d.ts.map +0 -1
  544. package/script/types/2_pre_checkout_query.d.ts.map +0 -1
  545. package/script/types/3_chat_member_updated.d.ts.map +0 -1
  546. package/script/types/3_join_request.d.ts.map +0 -1
  547. package/script/types/4_claimed_gift.d.ts.map +0 -1
  548. package/script/types/5_claimed_gifts.d.ts.map +0 -1
  549. package/script/types/5_message.d.ts.map +0 -1
  550. package/script/types/6_chat_list_item.d.ts.map +0 -1
  551. package/script/types/6_saved_chat.d.ts.map +0 -1
  552. package/script/types/7_saved_chats.d.ts.map +0 -1
  553. package/script/types/7_update.d.ts.map +0 -1
  554. /package/esm/types/{2_game.js → 3_game.js} +0 -0
  555. /package/esm/types/{1_input_media.js → 3_input_media.js} +0 -0
  556. /package/esm/types/{2_reply_to.js → 4_reply_to.js} +0 -0
  557. /package/esm/types/{5_message_content.js → 6_message_content.js} +0 -0
  558. /package/esm/types/{6_topic.js → 7_topic.js} +0 -0
  559. /package/esm/types/{7_update.js → 8_update.js} +0 -0
  560. /package/script/types/{2_game.js → 3_game.js} +0 -0
  561. /package/script/types/{1_input_media.js → 3_input_media.js} +0 -0
  562. /package/script/types/{2_reply_to.js → 4_reply_to.js} +0 -0
  563. /package/script/types/{5_message_content.js → 6_message_content.js} +0 -0
  564. /package/script/types/{6_topic.js → 7_topic.js} +0 -0
  565. /package/script/types/{7_update.js → 8_update.js} +0 -0
@@ -344,6 +344,13 @@ exports.schema = Object.freeze({
344
344
  ],
345
345
  "InputMedia",
346
346
  ],
347
+ inputMediaTodo: [
348
+ 0x9FC55FDE,
349
+ [
350
+ ["todo", "TodoList"],
351
+ ],
352
+ "InputMedia",
353
+ ],
347
354
  inputChatPhotoEmpty: [
348
355
  0x1CA48F57,
349
356
  [],
@@ -718,7 +725,7 @@ exports.schema = Object.freeze({
718
725
  "Chat",
719
726
  ],
720
727
  channel: [
721
- 0x7482147E,
728
+ 0xFE685355,
722
729
  [
723
730
  ["flags", "#"],
724
731
  ["creator", "flags.0?true"],
@@ -747,6 +754,9 @@ exports.schema = Object.freeze({
747
754
  ["stories_unavailable", "flags2.3?true"],
748
755
  ["signature_profiles", "flags2.12?true"],
749
756
  ["autotranslation", "flags2.15?true"],
757
+ ["broadcast_messages_allowed", "flags2.16?true"],
758
+ ["monoforum", "flags2.17?true"],
759
+ ["forum_tabs", "flags2.19?true"],
750
760
  ["id", "long"],
751
761
  ["access_hash", "flags.13?long"],
752
762
  ["title", "string"],
@@ -767,6 +777,7 @@ exports.schema = Object.freeze({
767
777
  ["subscription_until_date", "flags2.11?int"],
768
778
  ["bot_verification_icon", "flags2.13?long"],
769
779
  ["send_paid_messages_stars", "flags2.14?long"],
780
+ ["linked_monoforum_id", "flags2.18?long"],
770
781
  ],
771
782
  "Chat",
772
783
  ],
@@ -811,7 +822,7 @@ exports.schema = Object.freeze({
811
822
  "ChatFull",
812
823
  ],
813
824
  channelFull: [
814
- 0x52D6806B,
825
+ 0xE4E0B29D,
815
826
  [
816
827
  ["flags", "#"],
817
828
  ["can_view_participants", "flags.3?true"],
@@ -879,6 +890,8 @@ exports.schema = Object.freeze({
879
890
  ["emojiset", "flags2.10?StickerSet"],
880
891
  ["bot_verification", "flags2.17?BotVerification"],
881
892
  ["stargifts_count", "flags2.18?int"],
893
+ ["send_paid_messages_stars", "flags2.21?long"],
894
+ ["main_tab", "flags2.22?ProfileTab"],
882
895
  ],
883
896
  "ChatFull",
884
897
  ],
@@ -951,7 +964,7 @@ exports.schema = Object.freeze({
951
964
  "Message",
952
965
  ],
953
966
  message: [
954
- 0xEABCDD4D,
967
+ 0x9815CEC8,
955
968
  [
956
969
  ["flags", "#"],
957
970
  ["out", "flags.1?true"],
@@ -968,6 +981,8 @@ exports.schema = Object.freeze({
968
981
  ["flags2", "#"],
969
982
  ["offline", "flags2.1?true"],
970
983
  ["video_processing_pending", "flags2.4?true"],
984
+ ["paid_suggested_post_stars", "flags2.8?true"],
985
+ ["paid_suggested_post_ton", "flags2.9?true"],
971
986
  ["id", "int"],
972
987
  ["from_id", "flags.8?Peer"],
973
988
  ["from_boosts_applied", "flags.29?int"],
@@ -996,11 +1011,12 @@ exports.schema = Object.freeze({
996
1011
  ["factcheck", "flags2.3?FactCheck"],
997
1012
  ["report_delivery_until_date", "flags2.5?int"],
998
1013
  ["paid_message_stars", "flags2.6?long"],
1014
+ ["suggested_post", "flags2.7?SuggestedPost"],
999
1015
  ],
1000
1016
  "Message",
1001
1017
  ],
1002
1018
  messageService: [
1003
- 0xD3D28540,
1019
+ 0x7A800E0A,
1004
1020
  [
1005
1021
  ["flags", "#"],
1006
1022
  ["out", "flags.1?true"],
@@ -1013,6 +1029,7 @@ exports.schema = Object.freeze({
1013
1029
  ["id", "int"],
1014
1030
  ["from_id", "flags.8?Peer"],
1015
1031
  ["peer_id", "Peer"],
1032
+ ["saved_peer_id", "flags.28?Peer"],
1016
1033
  ["reply_to", "flags.3?MessageReplyHeader"],
1017
1034
  ["date", "int"],
1018
1035
  ["action", "MessageAction"],
@@ -1205,6 +1222,15 @@ exports.schema = Object.freeze({
1205
1222
  ],
1206
1223
  "MessageMedia",
1207
1224
  ],
1225
+ messageMediaToDo: [
1226
+ 0x8A53B014,
1227
+ [
1228
+ ["flags", "#"],
1229
+ ["todo", "TodoList"],
1230
+ ["completions", "flags.0?Vector<TodoCompletion>"],
1231
+ ],
1232
+ "MessageMedia",
1233
+ ],
1208
1234
  messageActionEmpty: [
1209
1235
  0xB6AEF7B0,
1210
1236
  [],
@@ -1425,9 +1451,9 @@ exports.schema = Object.freeze({
1425
1451
  "MessageAction",
1426
1452
  ],
1427
1453
  messageActionSetChatTheme: [
1428
- 0xAA786345,
1454
+ 0xB91BBD3A,
1429
1455
  [
1430
- ["emoticon", "string"],
1456
+ ["theme", "ChatTheme"],
1431
1457
  ],
1432
1458
  "MessageAction",
1433
1459
  ],
@@ -1598,7 +1624,7 @@ exports.schema = Object.freeze({
1598
1624
  "MessageAction",
1599
1625
  ],
1600
1626
  messageActionStarGift: [
1601
- 0x4717E8A4,
1627
+ 0xF24DE7FA,
1602
1628
  [
1603
1629
  ["flags", "#"],
1604
1630
  ["name_hidden", "flags.0?true"],
@@ -1607,6 +1633,8 @@ exports.schema = Object.freeze({
1607
1633
  ["upgraded", "flags.5?true"],
1608
1634
  ["refunded", "flags.9?true"],
1609
1635
  ["can_upgrade", "flags.10?true"],
1636
+ ["prepaid_upgrade", "flags.13?true"],
1637
+ ["upgrade_separate", "flags.16?true"],
1610
1638
  ["gift", "StarGift"],
1611
1639
  ["message", "flags.1?TextWithEntities"],
1612
1640
  ["convert_stars", "flags.4?long"],
@@ -1615,24 +1643,27 @@ exports.schema = Object.freeze({
1615
1643
  ["from_id", "flags.11?Peer"],
1616
1644
  ["peer", "flags.12?Peer"],
1617
1645
  ["saved_id", "flags.12?long"],
1646
+ ["prepaid_upgrade_hash", "flags.14?string"],
1647
+ ["gift_msg_id", "flags.15?int"],
1618
1648
  ],
1619
1649
  "MessageAction",
1620
1650
  ],
1621
1651
  messageActionStarGiftUnique: [
1622
- 0x2E3AE60E,
1652
+ 0x34F762F3,
1623
1653
  [
1624
1654
  ["flags", "#"],
1625
1655
  ["upgrade", "flags.0?true"],
1626
1656
  ["transferred", "flags.1?true"],
1627
1657
  ["saved", "flags.2?true"],
1628
1658
  ["refunded", "flags.5?true"],
1659
+ ["prepaid_upgrade", "flags.11?true"],
1629
1660
  ["gift", "StarGift"],
1630
1661
  ["can_export_at", "flags.3?int"],
1631
1662
  ["transfer_stars", "flags.4?long"],
1632
1663
  ["from_id", "flags.6?Peer"],
1633
1664
  ["peer", "flags.7?Peer"],
1634
1665
  ["saved_id", "flags.7?long"],
1635
- ["resale_stars", "flags.8?long"],
1666
+ ["resale_amount", "flags.8?StarsAmount"],
1636
1667
  ["can_transfer_at", "flags.9?int"],
1637
1668
  ["can_resell_at", "flags.10?int"],
1638
1669
  ],
@@ -1647,8 +1678,10 @@ exports.schema = Object.freeze({
1647
1678
  "MessageAction",
1648
1679
  ],
1649
1680
  messageActionPaidMessagesPrice: [
1650
- 0xBCD71419,
1681
+ 0x84B88578,
1651
1682
  [
1683
+ ["flags", "#"],
1684
+ ["broadcast_messages_allowed", "flags.0?true"],
1652
1685
  ["stars", "long"],
1653
1686
  ],
1654
1687
  "MessageAction",
@@ -1666,6 +1699,60 @@ exports.schema = Object.freeze({
1666
1699
  ],
1667
1700
  "MessageAction",
1668
1701
  ],
1702
+ messageActionTodoCompletions: [
1703
+ 0xCC7C5C89,
1704
+ [
1705
+ ["completed", "Vector<int>"],
1706
+ ["incompleted", "Vector<int>"],
1707
+ ],
1708
+ "MessageAction",
1709
+ ],
1710
+ messageActionTodoAppendTasks: [
1711
+ 0xC7EDBC83,
1712
+ [
1713
+ ["list", "Vector<TodoItem>"],
1714
+ ],
1715
+ "MessageAction",
1716
+ ],
1717
+ messageActionSuggestedPostApproval: [
1718
+ 0xEE7A1596,
1719
+ [
1720
+ ["flags", "#"],
1721
+ ["rejected", "flags.0?true"],
1722
+ ["balance_too_low", "flags.1?true"],
1723
+ ["reject_comment", "flags.2?string"],
1724
+ ["schedule_date", "flags.3?int"],
1725
+ ["price", "flags.4?StarsAmount"],
1726
+ ],
1727
+ "MessageAction",
1728
+ ],
1729
+ messageActionSuggestedPostSuccess: [
1730
+ 0x95DDCF69,
1731
+ [
1732
+ ["price", "StarsAmount"],
1733
+ ],
1734
+ "MessageAction",
1735
+ ],
1736
+ messageActionSuggestedPostRefund: [
1737
+ 0x69F916F8,
1738
+ [
1739
+ ["flags", "#"],
1740
+ ["payer_initiated", "flags.0?true"],
1741
+ ],
1742
+ "MessageAction",
1743
+ ],
1744
+ messageActionGiftTon: [
1745
+ 0xA8A3C699,
1746
+ [
1747
+ ["flags", "#"],
1748
+ ["currency", "string"],
1749
+ ["amount", "long"],
1750
+ ["crypto_currency", "string"],
1751
+ ["crypto_amount", "long"],
1752
+ ["transaction_id", "flags.0?string"],
1753
+ ],
1754
+ "MessageAction",
1755
+ ],
1669
1756
  dialog: [
1670
1757
  0xD58A08C6,
1671
1758
  [
@@ -1813,10 +1900,12 @@ exports.schema = Object.freeze({
1813
1900
  "auth.SentCode",
1814
1901
  ],
1815
1902
  "auth.sentCodePaymentRequired": [
1816
- 0xD7CEF980,
1903
+ 0xD7A2FCF9,
1817
1904
  [
1818
1905
  ["store_product", "string"],
1819
1906
  ["phone_code_hash", "string"],
1907
+ ["support_email_address", "string"],
1908
+ ["support_email_subject", "string"],
1820
1909
  ],
1821
1910
  "auth.SentCode",
1822
1911
  ],
@@ -2016,7 +2105,7 @@ exports.schema = Object.freeze({
2016
2105
  "ReportReason",
2017
2106
  ],
2018
2107
  userFull: [
2019
- 0x99E78045,
2108
+ 0xC577B5AD,
2020
2109
  [
2021
2110
  ["flags", "#"],
2022
2111
  ["blocked", "flags.0?true"],
@@ -2049,7 +2138,7 @@ exports.schema = Object.freeze({
2049
2138
  ["common_chats_count", "int"],
2050
2139
  ["folder_id", "flags.11?int"],
2051
2140
  ["ttl_period", "flags.14?int"],
2052
- ["theme_emoticon", "flags.15?string"],
2141
+ ["theme", "flags.15?ChatTheme"],
2053
2142
  ["private_forward_name", "flags.16?string"],
2054
2143
  ["bot_group_admin_rights", "flags.17?ChatAdminRights"],
2055
2144
  ["bot_broadcast_admin_rights", "flags.18?ChatAdminRights"],
@@ -2068,6 +2157,11 @@ exports.schema = Object.freeze({
2068
2157
  ["bot_verification", "flags2.12?BotVerification"],
2069
2158
  ["send_paid_messages_stars", "flags2.14?long"],
2070
2159
  ["disallowed_gifts", "flags2.15?DisallowedGiftsSettings"],
2160
+ ["stars_rating", "flags2.17?StarsRating"],
2161
+ ["stars_my_pending_rating", "flags2.18?StarsRating"],
2162
+ ["stars_my_pending_rating_date", "flags2.18?int"],
2163
+ ["main_tab", "flags2.20?ProfileTab"],
2164
+ ["saved_music", "flags2.21?Document"],
2071
2165
  ],
2072
2166
  "UserFull",
2073
2167
  ],
@@ -2176,13 +2270,14 @@ exports.schema = Object.freeze({
2176
2270
  "messages.Messages",
2177
2271
  ],
2178
2272
  "messages.messagesSlice": [
2179
- 0x3A54685E,
2273
+ 0x762B263D,
2180
2274
  [
2181
2275
  ["flags", "#"],
2182
2276
  ["inexact", "flags.1?true"],
2183
2277
  ["count", "int"],
2184
2278
  ["next_rate", "flags.0?int"],
2185
2279
  ["offset_id_offset", "flags.2?int"],
2280
+ ["search_flood", "flags.3?SearchPostsFlood"],
2186
2281
  ["messages", "Vector<Message>"],
2187
2282
  ["chats", "Vector<Chat>"],
2188
2283
  ["users", "Vector<User>"],
@@ -2728,11 +2823,12 @@ exports.schema = Object.freeze({
2728
2823
  "Update",
2729
2824
  ],
2730
2825
  updateDraftMessage: [
2731
- 0x1B49EC6D,
2826
+ 0xEDFC111E,
2732
2827
  [
2733
2828
  ["flags", "#"],
2734
2829
  ["peer", "Peer"],
2735
2830
  ["top_msg_id", "flags.0?int"],
2831
+ ["saved_peer_id", "flags.1?Peer"],
2736
2832
  ["draft", "DraftMessage"],
2737
2833
  ],
2738
2834
  "Update",
@@ -2853,11 +2949,12 @@ exports.schema = Object.freeze({
2853
2949
  "Update",
2854
2950
  ],
2855
2951
  updateChannelReadMessagesContents: [
2856
- 0xEA29055D,
2952
+ 0x25F324F7,
2857
2953
  [
2858
2954
  ["flags", "#"],
2859
2955
  ["channel_id", "long"],
2860
2956
  ["top_msg_id", "flags.0?int"],
2957
+ ["saved_peer_id", "flags.1?Peer"],
2861
2958
  ["messages", "Vector<int>"],
2862
2959
  ],
2863
2960
  "Update",
@@ -2876,11 +2973,12 @@ exports.schema = Object.freeze({
2876
2973
  "Update",
2877
2974
  ],
2878
2975
  updateDialogUnreadMark: [
2879
- 0xE16459C3,
2976
+ 0xB658F23E,
2880
2977
  [
2881
2978
  ["flags", "#"],
2882
2979
  ["unread", "flags.0?true"],
2883
2980
  ["peer", "DialogPeer"],
2981
+ ["saved_peer_id", "flags.1?Peer"],
2884
2982
  ],
2885
2983
  "Update",
2886
2984
  ],
@@ -3193,12 +3291,13 @@ exports.schema = Object.freeze({
3193
3291
  "Update",
3194
3292
  ],
3195
3293
  updateMessageReactions: [
3196
- 0x5E1B3CB8,
3294
+ 0x1E297BFA,
3197
3295
  [
3198
3296
  ["flags", "#"],
3199
3297
  ["peer", "Peer"],
3200
3298
  ["msg_id", "int"],
3201
3299
  ["top_msg_id", "flags.0?int"],
3300
+ ["saved_peer_id", "flags.1?Peer"],
3202
3301
  ["reactions", "MessageReactions"],
3203
3302
  ],
3204
3303
  "Update",
@@ -3518,14 +3617,6 @@ exports.schema = Object.freeze({
3518
3617
  ],
3519
3618
  "Update",
3520
3619
  ],
3521
- updateBroadcastRevenueTransactions: [
3522
- 0xDFD961F5,
3523
- [
3524
- ["peer", "Peer"],
3525
- ["balances", "BroadcastRevenueBalances"],
3526
- ],
3527
- "Update",
3528
- ],
3529
3620
  updateStarsBalance: [
3530
3621
  0x4E80A379,
3531
3622
  [
@@ -3588,6 +3679,34 @@ exports.schema = Object.freeze({
3588
3679
  ],
3589
3680
  "Update",
3590
3681
  ],
3682
+ updateReadMonoForumInbox: [
3683
+ 0x77B0E372,
3684
+ [
3685
+ ["channel_id", "long"],
3686
+ ["saved_peer_id", "Peer"],
3687
+ ["read_max_id", "int"],
3688
+ ],
3689
+ "Update",
3690
+ ],
3691
+ updateReadMonoForumOutbox: [
3692
+ 0xA4A79376,
3693
+ [
3694
+ ["channel_id", "long"],
3695
+ ["saved_peer_id", "Peer"],
3696
+ ["read_max_id", "int"],
3697
+ ],
3698
+ "Update",
3699
+ ],
3700
+ updateMonoForumNoPaidException: [
3701
+ 0x9F812B08,
3702
+ [
3703
+ ["flags", "#"],
3704
+ ["exception", "flags.0?true"],
3705
+ ["channel_id", "long"],
3706
+ ["saved_peer_id", "Peer"],
3707
+ ],
3708
+ "Update",
3709
+ ],
3591
3710
  "updates.state": [
3592
3711
  0xA56C2A3E,
3593
3712
  [
@@ -4913,6 +5032,11 @@ exports.schema = Object.freeze({
4913
5032
  [],
4914
5033
  "InputStickerSet",
4915
5034
  ],
5035
+ inputStickerSetTonGifts: [
5036
+ 0x1CF671A0,
5037
+ [],
5038
+ "InputStickerSet",
5039
+ ],
4916
5040
  stickerSet: [
4917
5041
  0x2DD14EDC,
4918
5042
  [
@@ -6194,7 +6318,7 @@ exports.schema = Object.freeze({
6194
6318
  "DraftMessage",
6195
6319
  ],
6196
6320
  draftMessage: [
6197
- 0x2D65321F,
6321
+ 0x96EAA5EB,
6198
6322
  [
6199
6323
  ["flags", "#"],
6200
6324
  ["no_webpage", "flags.1?true"],
@@ -6205,6 +6329,7 @@ exports.schema = Object.freeze({
6205
6329
  ["media", "flags.5?InputMedia"],
6206
6330
  ["date", "int"],
6207
6331
  ["effect", "flags.7?long"],
6332
+ ["suggested_post", "flags.8?SuggestedPost"],
6208
6333
  ],
6209
6334
  "DraftMessage",
6210
6335
  ],
@@ -8576,6 +8701,7 @@ exports.schema = Object.freeze({
8576
8701
  ["post_stories", "flags.14?true"],
8577
8702
  ["edit_stories", "flags.15?true"],
8578
8703
  ["delete_stories", "flags.16?true"],
8704
+ ["manage_direct_messages", "flags.17?true"],
8579
8705
  ],
8580
8706
  "ChatAdminRights",
8581
8707
  ],
@@ -9015,6 +9141,13 @@ exports.schema = Object.freeze({
9015
9141
  ],
9016
9142
  "WebPageAttribute",
9017
9143
  ],
9144
+ webPageAttributeStarGiftCollection: [
9145
+ 0x31CAD303,
9146
+ [
9147
+ ["icons", "Vector<Document>"],
9148
+ ],
9149
+ "WebPageAttribute",
9150
+ ],
9018
9151
  "messages.votesList": [
9019
9152
  0x4899484E,
9020
9153
  [
@@ -9356,7 +9489,7 @@ exports.schema = Object.freeze({
9356
9489
  "messages.DiscussionMessage",
9357
9490
  ],
9358
9491
  messageReplyHeader: [
9359
- 0xAFBC09DB,
9492
+ 0x6917560B,
9360
9493
  [
9361
9494
  ["flags", "#"],
9362
9495
  ["reply_to_scheduled", "flags.2?true"],
@@ -9370,6 +9503,7 @@ exports.schema = Object.freeze({
9370
9503
  ["quote_text", "flags.6?string"],
9371
9504
  ["quote_entities", "flags.7?Vector<MessageEntity>"],
9372
9505
  ["quote_offset", "flags.10?int"],
9506
+ ["todo_item_id", "flags.11?int"],
9373
9507
  ],
9374
9508
  "MessageReplyHeader",
9375
9509
  ],
@@ -9751,8 +9885,40 @@ exports.schema = Object.freeze({
9751
9885
  [],
9752
9886
  "account.ResetPasswordResult",
9753
9887
  ],
9888
+ chatTheme: [
9889
+ 0xC3DFFC04,
9890
+ [
9891
+ ["emoticon", "string"],
9892
+ ],
9893
+ "ChatTheme",
9894
+ ],
9895
+ chatThemeUniqueGift: [
9896
+ 0x3458F9C8,
9897
+ [
9898
+ ["gift", "StarGift"],
9899
+ ["theme_settings", "Vector<ThemeSettings>"],
9900
+ ],
9901
+ "ChatTheme",
9902
+ ],
9903
+ "account.chatThemesNotModified": [
9904
+ 0xE011E1C4,
9905
+ [],
9906
+ "account.ChatThemes",
9907
+ ],
9908
+ "account.chatThemes": [
9909
+ 0x16484857,
9910
+ [
9911
+ ["flags", "#"],
9912
+ ["hash", "long"],
9913
+ ["themes", "Vector<ChatTheme>"],
9914
+ ["chats", "Vector<Chat>"],
9915
+ ["users", "Vector<User>"],
9916
+ ["next_offset", "flags.0?int"],
9917
+ ],
9918
+ "account.ChatThemes",
9919
+ ],
9754
9920
  sponsoredMessage: [
9755
- 0x4D93A990,
9921
+ 0x7DBF8673,
9756
9922
  [
9757
9923
  ["flags", "#"],
9758
9924
  ["recommended", "flags.5?true"],
@@ -9768,14 +9934,18 @@ exports.schema = Object.freeze({
9768
9934
  ["button_text", "string"],
9769
9935
  ["sponsor_info", "flags.7?string"],
9770
9936
  ["additional_info", "flags.8?string"],
9937
+ ["min_display_duration", "flags.15?int"],
9938
+ ["max_display_duration", "flags.15?int"],
9771
9939
  ],
9772
9940
  "SponsoredMessage",
9773
9941
  ],
9774
9942
  "messages.sponsoredMessages": [
9775
- 0xC9EE1D87,
9943
+ 0xFFDA656D,
9776
9944
  [
9777
9945
  ["flags", "#"],
9778
9946
  ["posts_between", "flags.0?int"],
9947
+ ["start_delay", "flags.1?int"],
9948
+ ["between_delay", "flags.2?int"],
9779
9949
  ["messages", "Vector<SponsoredMessage>"],
9780
9950
  ["chats", "Vector<Chat>"],
9781
9951
  ["users", "Vector<User>"],
@@ -10222,13 +10392,23 @@ exports.schema = Object.freeze({
10222
10392
  "InputInvoice",
10223
10393
  ],
10224
10394
  inputInvoiceStarGiftResale: [
10225
- 0x63CBC38C,
10395
+ 0xC39F5324,
10226
10396
  [
10397
+ ["flags", "#"],
10398
+ ["ton", "flags.0?true"],
10227
10399
  ["slug", "string"],
10228
10400
  ["to_id", "InputPeer"],
10229
10401
  ],
10230
10402
  "InputInvoice",
10231
10403
  ],
10404
+ inputInvoiceStarGiftPrepaidUpgrade: [
10405
+ 0x9A0B48B8,
10406
+ [
10407
+ ["peer", "InputPeer"],
10408
+ ["hash", "string"],
10409
+ ],
10410
+ "InputInvoice",
10411
+ ],
10232
10412
  "payments.exportedInvoice": [
10233
10413
  0xAED0CBD9,
10234
10414
  [
@@ -10308,11 +10488,13 @@ exports.schema = Object.freeze({
10308
10488
  "InputStorePaymentPurpose",
10309
10489
  ],
10310
10490
  inputStorePaymentStarsTopup: [
10311
- 0xDDDD0F56,
10491
+ 0xF9A2A6CB,
10312
10492
  [
10493
+ ["flags", "#"],
10313
10494
  ["stars", "long"],
10314
10495
  ["currency", "string"],
10315
10496
  ["amount", "long"],
10497
+ ["spend_purpose_peer", "flags.0?InputPeer"],
10316
10498
  ],
10317
10499
  "InputStorePaymentPurpose",
10318
10500
  ],
@@ -10991,7 +11173,7 @@ exports.schema = Object.freeze({
10991
11173
  "StoryItem",
10992
11174
  ],
10993
11175
  storyItem: [
10994
- 0x79B26A24,
11176
+ 0xEDF164F1,
10995
11177
  [
10996
11178
  ["flags", "#"],
10997
11179
  ["pinned", "flags.5?true"],
@@ -11015,6 +11197,7 @@ exports.schema = Object.freeze({
11015
11197
  ["privacy", "flags.2?Vector<PrivacyRule>"],
11016
11198
  ["views", "flags.3?StoryViews"],
11017
11199
  ["sent_reaction", "flags.15?Reaction"],
11200
+ ["albums", "flags.19?Vector<int>"],
11018
11201
  ],
11019
11202
  "StoryItem",
11020
11203
  ],
@@ -11110,7 +11293,7 @@ exports.schema = Object.freeze({
11110
11293
  "stories.StoryViews",
11111
11294
  ],
11112
11295
  inputReplyToMessage: [
11113
- 0x22C0F6D5,
11296
+ 0x869FBE10,
11114
11297
  [
11115
11298
  ["flags", "#"],
11116
11299
  ["reply_to_msg_id", "int"],
@@ -11119,6 +11302,8 @@ exports.schema = Object.freeze({
11119
11302
  ["quote_text", "flags.2?string"],
11120
11303
  ["quote_entities", "flags.3?Vector<MessageEntity>"],
11121
11304
  ["quote_offset", "flags.4?int"],
11305
+ ["monoforum_peer_id", "flags.5?InputPeer"],
11306
+ ["todo_item_id", "flags.6?int"],
11122
11307
  ],
11123
11308
  "InputReplyTo",
11124
11309
  ],
@@ -11130,6 +11315,13 @@ exports.schema = Object.freeze({
11130
11315
  ],
11131
11316
  "InputReplyTo",
11132
11317
  ],
11318
+ inputReplyToMonoForum: [
11319
+ 0x69D66C45,
11320
+ [
11321
+ ["monoforum_peer_id", "InputPeer"],
11322
+ ],
11323
+ "InputReplyTo",
11324
+ ],
11133
11325
  exportedStoryLink: [
11134
11326
  0x3FC9053B,
11135
11327
  [
@@ -11582,6 +11774,22 @@ exports.schema = Object.freeze({
11582
11774
  ],
11583
11775
  "SavedDialog",
11584
11776
  ],
11777
+ monoForumDialog: [
11778
+ 0x64407EA7,
11779
+ [
11780
+ ["flags", "#"],
11781
+ ["unread_mark", "flags.3?true"],
11782
+ ["nopaid_messages_exception", "flags.4?true"],
11783
+ ["peer", "Peer"],
11784
+ ["top_message", "int"],
11785
+ ["read_inbox_max_id", "int"],
11786
+ ["read_outbox_max_id", "int"],
11787
+ ["unread_count", "int"],
11788
+ ["unread_reactions_count", "int"],
11789
+ ["draft", "flags.1?DraftMessage"],
11790
+ ],
11791
+ "SavedDialog",
11792
+ ],
11585
11793
  "messages.savedDialogs": [
11586
11794
  0xF83AE221,
11587
11795
  [
@@ -12112,63 +12320,6 @@ exports.schema = Object.freeze({
12112
12320
  [],
12113
12321
  "channels.SponsoredMessageReportResult",
12114
12322
  ],
12115
- "stats.broadcastRevenueStats": [
12116
- 0x5407E297,
12117
- [
12118
- ["top_hours_graph", "StatsGraph"],
12119
- ["revenue_graph", "StatsGraph"],
12120
- ["balances", "BroadcastRevenueBalances"],
12121
- ["usd_rate", "double"],
12122
- ],
12123
- "stats.BroadcastRevenueStats",
12124
- ],
12125
- "stats.broadcastRevenueWithdrawalUrl": [
12126
- 0xEC659737,
12127
- [
12128
- ["url", "string"],
12129
- ],
12130
- "stats.BroadcastRevenueWithdrawalUrl",
12131
- ],
12132
- broadcastRevenueTransactionProceeds: [
12133
- 0x557E2CC4,
12134
- [
12135
- ["amount", "long"],
12136
- ["from_date", "int"],
12137
- ["to_date", "int"],
12138
- ],
12139
- "BroadcastRevenueTransaction",
12140
- ],
12141
- broadcastRevenueTransactionWithdrawal: [
12142
- 0x5A590978,
12143
- [
12144
- ["flags", "#"],
12145
- ["pending", "flags.0?true"],
12146
- ["failed", "flags.2?true"],
12147
- ["amount", "long"],
12148
- ["date", "int"],
12149
- ["provider", "string"],
12150
- ["transaction_date", "flags.1?int"],
12151
- ["transaction_url", "flags.1?string"],
12152
- ],
12153
- "BroadcastRevenueTransaction",
12154
- ],
12155
- broadcastRevenueTransactionRefund: [
12156
- 0x42D30D2E,
12157
- [
12158
- ["amount", "long"],
12159
- ["date", "int"],
12160
- ["provider", "string"],
12161
- ],
12162
- "BroadcastRevenueTransaction",
12163
- ],
12164
- "stats.broadcastRevenueTransactions": [
12165
- 0x87158466,
12166
- [
12167
- ["count", "int"],
12168
- ["transactions", "Vector<BroadcastRevenueTransaction>"],
12169
- ],
12170
- "stats.BroadcastRevenueTransactions",
12171
- ],
12172
12323
  reactionNotificationsFromContacts: [
12173
12324
  0xBAC3A61A,
12174
12325
  [],
@@ -12190,17 +12341,6 @@ exports.schema = Object.freeze({
12190
12341
  ],
12191
12342
  "ReactionsNotifySettings",
12192
12343
  ],
12193
- broadcastRevenueBalances: [
12194
- 0xC3FF71E7,
12195
- [
12196
- ["flags", "#"],
12197
- ["withdrawal_enabled", "flags.0?true"],
12198
- ["current_balance", "long"],
12199
- ["available_balance", "long"],
12200
- ["overall_revenue", "long"],
12201
- ],
12202
- "BroadcastRevenueBalances",
12203
- ],
12204
12344
  availableEffect: [
12205
12345
  0x93C3E27E,
12206
12346
  [
@@ -12294,7 +12434,7 @@ exports.schema = Object.freeze({
12294
12434
  "StarsTopupOption",
12295
12435
  ],
12296
12436
  starsTransaction: [
12297
- 0xA39FD94A,
12437
+ 0x13659EB0,
12298
12438
  [
12299
12439
  ["flags", "#"],
12300
12440
  ["refund", "flags.3?true"],
@@ -12305,8 +12445,10 @@ exports.schema = Object.freeze({
12305
12445
  ["stargift_upgrade", "flags.18?true"],
12306
12446
  ["business_transfer", "flags.21?true"],
12307
12447
  ["stargift_resale", "flags.22?true"],
12448
+ ["posts_search", "flags.24?true"],
12449
+ ["stargift_prepaid_upgrade", "flags.25?true"],
12308
12450
  ["id", "string"],
12309
- ["stars", "StarsAmount"],
12451
+ ["amount", "StarsAmount"],
12310
12452
  ["date", "int"],
12311
12453
  ["peer", "StarsTransactionPeer"],
12312
12454
  ["title", "flags.0?string"],
@@ -12326,6 +12468,8 @@ exports.schema = Object.freeze({
12326
12468
  ["starref_amount", "flags.17?StarsAmount"],
12327
12469
  ["paid_messages", "flags.19?int"],
12328
12470
  ["premium_gift_months", "flags.20?int"],
12471
+ ["ads_proceeds_from_date", "flags.23?int"],
12472
+ ["ads_proceeds_to_date", "flags.23?int"],
12329
12473
  ],
12330
12474
  "StarsTransaction",
12331
12475
  ],
@@ -12388,8 +12532,10 @@ exports.schema = Object.freeze({
12388
12532
  "StarsRevenueStatus",
12389
12533
  ],
12390
12534
  "payments.starsRevenueStats": [
12391
- 0xC92BB73B,
12535
+ 0x6C207376,
12392
12536
  [
12537
+ ["flags", "#"],
12538
+ ["top_hours_graph", "flags.0?StatsGraph"],
12393
12539
  ["revenue_graph", "StatsGraph"],
12394
12540
  ["status", "StarsRevenueStatus"],
12395
12541
  ["usd_rate", "double"],
@@ -12521,12 +12667,14 @@ exports.schema = Object.freeze({
12521
12667
  "StarsGiveawayWinnersOption",
12522
12668
  ],
12523
12669
  starGift: [
12524
- 0xC62ACA28,
12670
+ 0x80AC53C3,
12525
12671
  [
12526
12672
  ["flags", "#"],
12527
12673
  ["limited", "flags.0?true"],
12528
12674
  ["sold_out", "flags.1?true"],
12529
12675
  ["birthday", "flags.2?true"],
12676
+ ["require_premium", "flags.7?true"],
12677
+ ["limited_per_user", "flags.8?true"],
12530
12678
  ["id", "long"],
12531
12679
  ["sticker", "Document"],
12532
12680
  ["stars", "long"],
@@ -12539,14 +12687,22 @@ exports.schema = Object.freeze({
12539
12687
  ["upgrade_stars", "flags.3?long"],
12540
12688
  ["resell_min_stars", "flags.4?long"],
12541
12689
  ["title", "flags.5?string"],
12690
+ ["released_by", "flags.6?Peer"],
12691
+ ["per_user_total", "flags.8?int"],
12692
+ ["per_user_remains", "flags.8?int"],
12693
+ ["locked_until_date", "flags.9?int"],
12542
12694
  ],
12543
12695
  "StarGift",
12544
12696
  ],
12545
12697
  starGiftUnique: [
12546
- 0x6411DB89,
12698
+ 0x1BEFE865,
12547
12699
  [
12548
12700
  ["flags", "#"],
12701
+ ["require_premium", "flags.6?true"],
12702
+ ["resale_ton_only", "flags.7?true"],
12703
+ ["theme_available", "flags.9?true"],
12549
12704
  ["id", "long"],
12705
+ ["gift_id", "long"],
12550
12706
  ["title", "string"],
12551
12707
  ["slug", "string"],
12552
12708
  ["num", "int"],
@@ -12557,7 +12713,11 @@ exports.schema = Object.freeze({
12557
12713
  ["availability_issued", "int"],
12558
12714
  ["availability_total", "int"],
12559
12715
  ["gift_address", "flags.3?string"],
12560
- ["resell_stars", "flags.4?long"],
12716
+ ["resell_amount", "flags.4?Vector<StarsAmount>"],
12717
+ ["released_by", "flags.5?Peer"],
12718
+ ["value_amount", "flags.8?long"],
12719
+ ["value_currency", "flags.8?string"],
12720
+ ["theme_peer", "flags.10?Peer"],
12561
12721
  ],
12562
12722
  "StarGift",
12563
12723
  ],
@@ -12567,10 +12727,12 @@ exports.schema = Object.freeze({
12567
12727
  "payments.StarGifts",
12568
12728
  ],
12569
12729
  "payments.starGifts": [
12570
- 0x901689EA,
12730
+ 0x2ED82995,
12571
12731
  [
12572
12732
  ["hash", "int"],
12573
12733
  ["gifts", "Vector<StarGift>"],
12734
+ ["chats", "Vector<Chat>"],
12735
+ ["users", "Vector<User>"],
12574
12736
  ],
12575
12737
  "payments.StarGifts",
12576
12738
  ],
@@ -12690,6 +12852,13 @@ exports.schema = Object.freeze({
12690
12852
  ],
12691
12853
  "StarsAmount",
12692
12854
  ],
12855
+ starsTonAmount: [
12856
+ 0x74AEE3E0,
12857
+ [
12858
+ ["amount", "long"],
12859
+ ],
12860
+ "StarsAmount",
12861
+ ],
12693
12862
  "messages.foundStickersNotModified": [
12694
12863
  0x6010C534,
12695
12864
  [
@@ -12793,23 +12962,25 @@ exports.schema = Object.freeze({
12793
12962
  "users.Users",
12794
12963
  ],
12795
12964
  "payments.uniqueStarGift": [
12796
- 0xCAA2F60B,
12965
+ 0x416C56E8,
12797
12966
  [
12798
12967
  ["gift", "StarGift"],
12968
+ ["chats", "Vector<Chat>"],
12799
12969
  ["users", "Vector<User>"],
12800
12970
  ],
12801
12971
  "payments.UniqueStarGift",
12802
12972
  ],
12803
12973
  "messages.webPagePreview": [
12804
- 0xB53E8B21,
12974
+ 0x8C9A88AC,
12805
12975
  [
12806
12976
  ["media", "MessageMedia"],
12977
+ ["chats", "Vector<Chat>"],
12807
12978
  ["users", "Vector<User>"],
12808
12979
  ],
12809
12980
  "messages.WebPagePreview",
12810
12981
  ],
12811
12982
  savedStarGift: [
12812
- 0xDFDA0499,
12983
+ 0x19A9B572,
12813
12984
  [
12814
12985
  ["flags", "#"],
12815
12986
  ["name_hidden", "flags.0?true"],
@@ -12817,6 +12988,7 @@ exports.schema = Object.freeze({
12817
12988
  ["refunded", "flags.9?true"],
12818
12989
  ["can_upgrade", "flags.10?true"],
12819
12990
  ["pinned_to_top", "flags.12?true"],
12991
+ ["upgrade_separate", "flags.17?true"],
12820
12992
  ["from_id", "flags.1?Peer"],
12821
12993
  ["date", "int"],
12822
12994
  ["gift", "StarGift"],
@@ -12829,6 +13001,8 @@ exports.schema = Object.freeze({
12829
13001
  ["transfer_stars", "flags.8?long"],
12830
13002
  ["can_transfer_at", "flags.13?int"],
12831
13003
  ["can_resell_at", "flags.14?int"],
13004
+ ["collection_id", "flags.15?Vector<int>"],
13005
+ ["prepaid_upgrade_hash", "flags.16?string"],
12832
13006
  ],
12833
13007
  "SavedStarGift",
12834
13008
  ],
@@ -13033,6 +13207,235 @@ exports.schema = Object.freeze({
13033
13207
  ],
13034
13208
  "PendingSuggestion",
13035
13209
  ],
13210
+ todoItem: [
13211
+ 0xCBA9A52F,
13212
+ [
13213
+ ["id", "int"],
13214
+ ["title", "TextWithEntities"],
13215
+ ],
13216
+ "TodoItem",
13217
+ ],
13218
+ todoList: [
13219
+ 0x49B92A26,
13220
+ [
13221
+ ["flags", "#"],
13222
+ ["others_can_append", "flags.0?true"],
13223
+ ["others_can_complete", "flags.1?true"],
13224
+ ["title", "TextWithEntities"],
13225
+ ["list", "Vector<TodoItem>"],
13226
+ ],
13227
+ "TodoList",
13228
+ ],
13229
+ todoCompletion: [
13230
+ 0x4CC120B7,
13231
+ [
13232
+ ["id", "int"],
13233
+ ["completed_by", "long"],
13234
+ ["date", "int"],
13235
+ ],
13236
+ "TodoCompletion",
13237
+ ],
13238
+ suggestedPost: [
13239
+ 0x0E8E37E5,
13240
+ [
13241
+ ["flags", "#"],
13242
+ ["accepted", "flags.1?true"],
13243
+ ["rejected", "flags.2?true"],
13244
+ ["price", "flags.3?StarsAmount"],
13245
+ ["schedule_date", "flags.0?int"],
13246
+ ],
13247
+ "SuggestedPost",
13248
+ ],
13249
+ starsRating: [
13250
+ 0x1B0E4F07,
13251
+ [
13252
+ ["flags", "#"],
13253
+ ["level", "int"],
13254
+ ["current_level_stars", "long"],
13255
+ ["stars", "long"],
13256
+ ["next_level_stars", "flags.0?long"],
13257
+ ],
13258
+ "StarsRating",
13259
+ ],
13260
+ starGiftCollection: [
13261
+ 0x9D6B13B0,
13262
+ [
13263
+ ["flags", "#"],
13264
+ ["collection_id", "int"],
13265
+ ["title", "string"],
13266
+ ["icon", "flags.0?Document"],
13267
+ ["gifts_count", "int"],
13268
+ ["hash", "long"],
13269
+ ],
13270
+ "StarGiftCollection",
13271
+ ],
13272
+ "payments.starGiftCollectionsNotModified": [
13273
+ 0xA0BA4F17,
13274
+ [],
13275
+ "payments.StarGiftCollections",
13276
+ ],
13277
+ "payments.starGiftCollections": [
13278
+ 0x8A2932F3,
13279
+ [
13280
+ ["collections", "Vector<StarGiftCollection>"],
13281
+ ],
13282
+ "payments.StarGiftCollections",
13283
+ ],
13284
+ storyAlbum: [
13285
+ 0x9325705A,
13286
+ [
13287
+ ["flags", "#"],
13288
+ ["album_id", "int"],
13289
+ ["title", "string"],
13290
+ ["icon_photo", "flags.0?Photo"],
13291
+ ["icon_video", "flags.1?Document"],
13292
+ ],
13293
+ "StoryAlbum",
13294
+ ],
13295
+ "stories.albumsNotModified": [
13296
+ 0x564EDAEB,
13297
+ [],
13298
+ "stories.Albums",
13299
+ ],
13300
+ "stories.albums": [
13301
+ 0xC3987A3A,
13302
+ [
13303
+ ["hash", "long"],
13304
+ ["albums", "Vector<StoryAlbum>"],
13305
+ ],
13306
+ "stories.Albums",
13307
+ ],
13308
+ searchPostsFlood: [
13309
+ 0x3E0B5B6A,
13310
+ [
13311
+ ["flags", "#"],
13312
+ ["query_is_free", "flags.0?true"],
13313
+ ["total_daily", "int"],
13314
+ ["remains", "int"],
13315
+ ["wait_till", "flags.1?int"],
13316
+ ["stars_amount", "long"],
13317
+ ],
13318
+ "SearchPostsFlood",
13319
+ ],
13320
+ "payments.uniqueStarGiftValueInfo": [
13321
+ 0x512FE446,
13322
+ [
13323
+ ["flags", "#"],
13324
+ ["last_sale_on_fragment", "flags.1?true"],
13325
+ ["value_is_average", "flags.6?true"],
13326
+ ["currency", "string"],
13327
+ ["value", "long"],
13328
+ ["initial_sale_date", "int"],
13329
+ ["initial_sale_stars", "long"],
13330
+ ["initial_sale_price", "long"],
13331
+ ["last_sale_date", "flags.0?int"],
13332
+ ["last_sale_price", "flags.0?long"],
13333
+ ["floor_price", "flags.2?long"],
13334
+ ["average_price", "flags.3?long"],
13335
+ ["listed_count", "flags.4?int"],
13336
+ ["fragment_listed_count", "flags.5?int"],
13337
+ ["fragment_listed_url", "flags.5?string"],
13338
+ ],
13339
+ "payments.UniqueStarGiftValueInfo",
13340
+ ],
13341
+ profileTabPosts: [
13342
+ 0xB98CD696,
13343
+ [],
13344
+ "ProfileTab",
13345
+ ],
13346
+ profileTabGifts: [
13347
+ 0x4D4BD46A,
13348
+ [],
13349
+ "ProfileTab",
13350
+ ],
13351
+ profileTabMedia: [
13352
+ 0x72C64955,
13353
+ [],
13354
+ "ProfileTab",
13355
+ ],
13356
+ profileTabFiles: [
13357
+ 0xAB339C00,
13358
+ [],
13359
+ "ProfileTab",
13360
+ ],
13361
+ profileTabMusic: [
13362
+ 0x9F27D26E,
13363
+ [],
13364
+ "ProfileTab",
13365
+ ],
13366
+ profileTabVoice: [
13367
+ 0xE477092E,
13368
+ [],
13369
+ "ProfileTab",
13370
+ ],
13371
+ profileTabLinks: [
13372
+ 0xD3656499,
13373
+ [],
13374
+ "ProfileTab",
13375
+ ],
13376
+ profileTabGifs: [
13377
+ 0xA2C0F695,
13378
+ [],
13379
+ "ProfileTab",
13380
+ ],
13381
+ "users.savedMusicNotModified": [
13382
+ 0xE3878AA4,
13383
+ [
13384
+ ["count", "int"],
13385
+ ],
13386
+ "users.SavedMusic",
13387
+ ],
13388
+ "users.savedMusic": [
13389
+ 0x34A2F297,
13390
+ [
13391
+ ["count", "int"],
13392
+ ["documents", "Vector<Document>"],
13393
+ ],
13394
+ "users.SavedMusic",
13395
+ ],
13396
+ "account.savedMusicIdsNotModified": [
13397
+ 0x4FC81D6E,
13398
+ [],
13399
+ "account.SavedMusicIds",
13400
+ ],
13401
+ "account.savedMusicIds": [
13402
+ 0x998D6636,
13403
+ [
13404
+ ["ids", "Vector<long>"],
13405
+ ],
13406
+ "account.SavedMusicIds",
13407
+ ],
13408
+ "payments.checkCanSendGiftResultOk": [
13409
+ 0x374FA7AD,
13410
+ [],
13411
+ "payments.CheckCanSendGiftResult",
13412
+ ],
13413
+ "payments.checkCanSendGiftResultFail": [
13414
+ 0xD5E58274,
13415
+ [
13416
+ ["reason", "TextWithEntities"],
13417
+ ],
13418
+ "payments.CheckCanSendGiftResult",
13419
+ ],
13420
+ inputChatThemeEmpty: [
13421
+ 0x83268483,
13422
+ [],
13423
+ "InputChatTheme",
13424
+ ],
13425
+ inputChatTheme: [
13426
+ 0xC93DE95C,
13427
+ [
13428
+ ["emoticon", "string"],
13429
+ ],
13430
+ "InputChatTheme",
13431
+ ],
13432
+ inputChatThemeUniqueGift: [
13433
+ 0x87E5DFE4,
13434
+ [
13435
+ ["slug", "string"],
13436
+ ],
13437
+ "InputChatTheme",
13438
+ ],
13036
13439
  invokeAfterMsg: [
13037
13440
  0xCB9F372D,
13038
13441
  [
@@ -14181,21 +14584,58 @@ exports.schema = Object.freeze({
14181
14584
  ],
14182
14585
  "account.EmojiStatuses",
14183
14586
  ],
14184
- "account.addNoPaidMessagesException": [
14185
- 0x6F688AA7,
14587
+ "account.getPaidMessagesRevenue": [
14588
+ 0x19BA4A67,
14589
+ [
14590
+ ["flags", "#"],
14591
+ ["parent_peer", "flags.0?InputPeer"],
14592
+ ["user_id", "InputUser"],
14593
+ ],
14594
+ "account.PaidMessagesRevenue",
14595
+ ],
14596
+ "account.toggleNoPaidMessagesException": [
14597
+ 0xFE2EDA76,
14186
14598
  [
14187
14599
  ["flags", "#"],
14188
14600
  ["refund_charged", "flags.0?true"],
14601
+ ["require_payment", "flags.2?true"],
14602
+ ["parent_peer", "flags.1?InputPeer"],
14189
14603
  ["user_id", "InputUser"],
14190
14604
  ],
14191
14605
  "Bool",
14192
14606
  ],
14193
- "account.getPaidMessagesRevenue": [
14194
- 0xF1266F38,
14607
+ "account.setMainProfileTab": [
14608
+ 0x5DEE78B0,
14195
14609
  [
14196
- ["user_id", "InputUser"],
14610
+ ["tab", "ProfileTab"],
14197
14611
  ],
14198
- "account.PaidMessagesRevenue",
14612
+ "Bool",
14613
+ ],
14614
+ "account.saveMusic": [
14615
+ 0xB26732A9,
14616
+ [
14617
+ ["flags", "#"],
14618
+ ["unsave", "flags.0?true"],
14619
+ ["id", "InputDocument"],
14620
+ ["after_id", "flags.1?InputDocument"],
14621
+ ],
14622
+ "Bool",
14623
+ ],
14624
+ "account.getSavedMusicIds": [
14625
+ 0xE09D5FAF,
14626
+ [
14627
+ ["hash", "long"],
14628
+ ],
14629
+ "account.SavedMusicIds",
14630
+ ],
14631
+ "account.getUniqueGiftChatThemes": [
14632
+ 0xFE74EF9F,
14633
+ [
14634
+ ["offset", "int"],
14635
+ ["limit", "int"],
14636
+ ["hash", "long"],
14637
+ ],
14638
+ "account.ChatThemes",
14199
14639
  ],
14200
14640
  "users.getUsers": [
14201
14641
  0x0D91A548,
@@ -14226,6 +14666,24 @@ exports.schema = Object.freeze({
14226
14666
  ],
14227
14667
  "Vector<RequirementToContact>",
14228
14668
  ],
14669
+ "users.getSavedMusic": [
14670
+ 0x788D7FE3,
14671
+ [
14672
+ ["id", "InputUser"],
14673
+ ["offset", "int"],
14674
+ ["limit", "int"],
14675
+ ["hash", "long"],
14676
+ ],
14677
+ "users.SavedMusic",
14678
+ ],
14679
+ "users.getSavedMusicByID": [
14680
+ 0x7573A4E9,
14681
+ [
14682
+ ["id", "InputUser"],
14683
+ ["documents", "Vector<InputDocument>"],
14684
+ ],
14685
+ "users.SavedMusic",
14686
+ ],
14229
14687
  "contacts.getContactIDs": [
14230
14688
  0x7ADC669D,
14231
14689
  [
@@ -14548,7 +15006,7 @@ exports.schema = Object.freeze({
14548
15006
  "Bool",
14549
15007
  ],
14550
15008
  "messages.sendMessage": [
14551
- 0xFBF2340A,
15009
+ 0xFE05DC9A,
14552
15010
  [
14553
15011
  ["flags", "#"],
14554
15012
  ["no_webpage", "flags.1?true"],
@@ -14570,11 +15028,12 @@ exports.schema = Object.freeze({
14570
15028
  ["quick_reply_shortcut", "flags.17?InputQuickReplyShortcut"],
14571
15029
  ["effect", "flags.18?long"],
14572
15030
  ["allow_paid_stars", "flags.21?long"],
15031
+ ["suggested_post", "flags.22?SuggestedPost"],
14573
15032
  ],
14574
15033
  "Updates",
14575
15034
  ],
14576
15035
  "messages.sendMedia": [
14577
- 0xA550CD78,
15036
+ 0xAC55D9C1,
14578
15037
  [
14579
15038
  ["flags", "#"],
14580
15039
  ["silent", "flags.5?true"],
@@ -14596,11 +15055,12 @@ exports.schema = Object.freeze({
14596
15055
  ["quick_reply_shortcut", "flags.17?InputQuickReplyShortcut"],
14597
15056
  ["effect", "flags.18?long"],
14598
15057
  ["allow_paid_stars", "flags.21?long"],
15058
+ ["suggested_post", "flags.22?SuggestedPost"],
14599
15059
  ],
14600
15060
  "Updates",
14601
15061
  ],
14602
15062
  "messages.forwardMessages": [
14603
- 0xBB9FA475,
15063
+ 0x978928CA,
14604
15064
  [
14605
15065
  ["flags", "#"],
14606
15066
  ["silent", "flags.5?true"],
@@ -14615,11 +15075,13 @@ exports.schema = Object.freeze({
14615
15075
  ["random_id", "Vector<long>"],
14616
15076
  ["to_peer", "InputPeer"],
14617
15077
  ["top_msg_id", "flags.9?int"],
15078
+ ["reply_to", "flags.22?InputReplyTo"],
14618
15079
  ["schedule_date", "flags.10?int"],
14619
15080
  ["send_as", "flags.13?InputPeer"],
14620
15081
  ["quick_reply_shortcut", "flags.17?InputQuickReplyShortcut"],
14621
15082
  ["video_timestamp", "flags.20?int"],
14622
15083
  ["allow_paid_stars", "flags.21?long"],
15084
+ ["suggested_post", "flags.23?SuggestedPost"],
14623
15085
  ],
14624
15086
  "Updates",
14625
15087
  ],
@@ -15091,7 +15553,7 @@ exports.schema = Object.freeze({
15091
15553
  "messages.PeerDialogs",
15092
15554
  ],
15093
15555
  "messages.saveDraft": [
15094
- 0xD372C5CE,
15556
+ 0x54AE308E,
15095
15557
  [
15096
15558
  ["flags", "#"],
15097
15559
  ["no_webpage", "flags.1?true"],
@@ -15102,6 +15564,7 @@ exports.schema = Object.freeze({
15102
15564
  ["entities", "flags.3?Vector<MessageEntity>"],
15103
15565
  ["media", "flags.5?InputMedia"],
15104
15566
  ["effect", "flags.7?long"],
15567
+ ["suggested_post", "flags.8?SuggestedPost"],
15105
15568
  ],
15106
15569
  "Bool",
15107
15570
  ],
@@ -15393,17 +15856,21 @@ exports.schema = Object.freeze({
15393
15856
  "Vector<MessageRange>",
15394
15857
  ],
15395
15858
  "messages.markDialogUnread": [
15396
- 0xC286D98F,
15859
+ 0x8C5006F8,
15397
15860
  [
15398
15861
  ["flags", "#"],
15399
15862
  ["unread", "flags.0?true"],
15863
+ ["parent_peer", "flags.1?InputPeer"],
15400
15864
  ["peer", "InputDialogPeer"],
15401
15865
  ],
15402
15866
  "Bool",
15403
15867
  ],
15404
15868
  "messages.getDialogUnreadMarks": [
15405
- 0x22E24E22,
15406
- [],
15869
+ 0x21202222,
15870
+ [
15871
+ ["flags", "#"],
15872
+ ["parent_peer", "flags.0?InputPeer"],
15873
+ ],
15407
15874
  "Vector<DialogPeer>",
15408
15875
  ],
15409
15876
  "messages.clearAllDrafts": [
@@ -15656,11 +16123,12 @@ exports.schema = Object.freeze({
15656
16123
  "Bool",
15657
16124
  ],
15658
16125
  "messages.unpinAllMessages": [
15659
- 0xEE22B9A8,
16126
+ 0x062DD747,
15660
16127
  [
15661
16128
  ["flags", "#"],
15662
16129
  ["peer", "InputPeer"],
15663
16130
  ["top_msg_id", "flags.0?int"],
16131
+ ["saved_peer_id", "flags.1?InputPeer"],
15664
16132
  ],
15665
16133
  "messages.AffectedHistory",
15666
16134
  ],
@@ -15802,10 +16270,10 @@ exports.schema = Object.freeze({
15802
16270
  "messages.CheckedHistoryImportPeer",
15803
16271
  ],
15804
16272
  "messages.setChatTheme": [
15805
- 0xE63BE13F,
16273
+ 0x081202C9,
15806
16274
  [
15807
16275
  ["peer", "InputPeer"],
15808
- ["emoticon", "string"],
16276
+ ["theme", "InputChatTheme"],
15809
16277
  ],
15810
16278
  "Updates",
15811
16279
  ],
@@ -15946,11 +16414,12 @@ exports.schema = Object.freeze({
15946
16414
  "messages.TranslatedText",
15947
16415
  ],
15948
16416
  "messages.getUnreadReactions": [
15949
- 0x3223495B,
16417
+ 0xBD7F90AC,
15950
16418
  [
15951
16419
  ["flags", "#"],
15952
16420
  ["peer", "InputPeer"],
15953
16421
  ["top_msg_id", "flags.0?int"],
16422
+ ["saved_peer_id", "flags.1?InputPeer"],
15954
16423
  ["offset_id", "int"],
15955
16424
  ["add_offset", "int"],
15956
16425
  ["limit", "int"],
@@ -15960,11 +16429,12 @@ exports.schema = Object.freeze({
15960
16429
  "messages.Messages",
15961
16430
  ],
15962
16431
  "messages.readReactions": [
15963
- 0x54AA7F8E,
16432
+ 0x9EC44F93,
15964
16433
  [
15965
16434
  ["flags", "#"],
15966
16435
  ["peer", "InputPeer"],
15967
16436
  ["top_msg_id", "flags.0?int"],
16437
+ ["saved_peer_id", "flags.1?InputPeer"],
15968
16438
  ],
15969
16439
  "messages.AffectedHistory",
15970
16440
  ],
@@ -16251,10 +16721,11 @@ exports.schema = Object.freeze({
16251
16721
  "messages.FoundStickerSets",
16252
16722
  ],
16253
16723
  "messages.getSavedDialogs": [
16254
- 0x5381D21A,
16724
+ 0x1E91FC99,
16255
16725
  [
16256
16726
  ["flags", "#"],
16257
16727
  ["exclude_pinned", "flags.0?true"],
16728
+ ["parent_peer", "flags.1?InputPeer"],
16258
16729
  ["offset_date", "int"],
16259
16730
  ["offset_id", "int"],
16260
16731
  ["offset_peer", "InputPeer"],
@@ -16264,8 +16735,10 @@ exports.schema = Object.freeze({
16264
16735
  "messages.SavedDialogs",
16265
16736
  ],
16266
16737
  "messages.getSavedHistory": [
16267
- 0x3D9A414D,
16738
+ 0x998AB009,
16268
16739
  [
16740
+ ["flags", "#"],
16741
+ ["parent_peer", "flags.0?InputPeer"],
16269
16742
  ["peer", "InputPeer"],
16270
16743
  ["offset_id", "int"],
16271
16744
  ["offset_date", "int"],
@@ -16278,9 +16751,10 @@ exports.schema = Object.freeze({
16278
16751
  "messages.Messages",
16279
16752
  ],
16280
16753
  "messages.deleteSavedHistory": [
16281
- 0x6E98102B,
16754
+ 0x4DC5085F,
16282
16755
  [
16283
16756
  ["flags", "#"],
16757
+ ["parent_peer", "flags.0?InputPeer"],
16284
16758
  ["peer", "InputPeer"],
16285
16759
  ["max_id", "int"],
16286
16760
  ["min_date", "flags.2?int"],
@@ -16528,9 +17002,11 @@ exports.schema = Object.freeze({
16528
17002
  "channels.SponsoredMessageReportResult",
16529
17003
  ],
16530
17004
  "messages.getSponsoredMessages": [
16531
- 0x9BD2F439,
17005
+ 0x3D6CE850,
16532
17006
  [
17007
+ ["flags", "#"],
16533
17008
  ["peer", "InputPeer"],
17009
+ ["msg_id", "flags.0?int"],
16534
17010
  ],
16535
17011
  "messages.SponsoredMessages",
16536
17012
  ],
@@ -16576,6 +17052,55 @@ exports.schema = Object.freeze({
16576
17052
  ],
16577
17053
  "Bool",
16578
17054
  ],
17055
+ "messages.getSavedDialogsByID": [
17056
+ 0x6F6F9C96,
17057
+ [
17058
+ ["flags", "#"],
17059
+ ["parent_peer", "flags.1?InputPeer"],
17060
+ ["ids", "Vector<InputPeer>"],
17061
+ ],
17062
+ "messages.SavedDialogs",
17063
+ ],
17064
+ "messages.readSavedHistory": [
17065
+ 0xBA4A3B5B,
17066
+ [
17067
+ ["parent_peer", "InputPeer"],
17068
+ ["peer", "InputPeer"],
17069
+ ["max_id", "int"],
17070
+ ],
17071
+ "Bool",
17072
+ ],
17073
+ "messages.toggleTodoCompleted": [
17074
+ 0xD3E03124,
17075
+ [
17076
+ ["peer", "InputPeer"],
17077
+ ["msg_id", "int"],
17078
+ ["completed", "Vector<int>"],
17079
+ ["incompleted", "Vector<int>"],
17080
+ ],
17081
+ "Updates",
17082
+ ],
17083
+ "messages.appendTodoList": [
17084
+ 0x21A61057,
17085
+ [
17086
+ ["peer", "InputPeer"],
17087
+ ["msg_id", "int"],
17088
+ ["list", "Vector<TodoItem>"],
17089
+ ],
17090
+ "Updates",
17091
+ ],
17092
+ "messages.toggleSuggestedPostApproval": [
17093
+ 0x8107455C,
17094
+ [
17095
+ ["flags", "#"],
17096
+ ["reject", "flags.1?true"],
17097
+ ["peer", "InputPeer"],
17098
+ ["msg_id", "int"],
17099
+ ["schedule_date", "flags.0?int"],
17100
+ ["reject_comment", "flags.2?string"],
17101
+ ],
17102
+ "Updates",
17103
+ ],
16579
17104
  "updates.getState": [
16580
17105
  0xEDD4882A,
16581
17106
  [],
@@ -17252,10 +17777,11 @@ exports.schema = Object.freeze({
17252
17777
  "Bool",
17253
17778
  ],
17254
17779
  "channels.toggleForum": [
17255
- 0xA4298B29,
17780
+ 0x3FF75734,
17256
17781
  [
17257
17782
  ["channel", "InputChannel"],
17258
17783
  ["enabled", "Bool"],
17784
+ ["tabs", "Bool"],
17259
17785
  ],
17260
17786
  "Updates",
17261
17787
  ],
@@ -17417,19 +17943,24 @@ exports.schema = Object.freeze({
17417
17943
  "Updates",
17418
17944
  ],
17419
17945
  "channels.searchPosts": [
17420
- 0xD19F987B,
17946
+ 0xF2C4F24D,
17421
17947
  [
17422
- ["hashtag", "string"],
17948
+ ["flags", "#"],
17949
+ ["hashtag", "flags.0?string"],
17950
+ ["query", "flags.1?string"],
17423
17951
  ["offset_rate", "int"],
17424
17952
  ["offset_peer", "InputPeer"],
17425
17953
  ["offset_id", "int"],
17426
17954
  ["limit", "int"],
17955
+ ["allow_paid_stars", "flags.2?long"],
17427
17956
  ],
17428
17957
  "messages.Messages",
17429
17958
  ],
17430
17959
  "channels.updatePaidMessagesPrice": [
17431
- 0xFC84653F,
17960
+ 0x4B12327B,
17432
17961
  [
17962
+ ["flags", "#"],
17963
+ ["broadcast_messages_allowed", "flags.0?true"],
17433
17964
  ["channel", "InputChannel"],
17434
17965
  ["send_paid_messages_stars", "long"],
17435
17966
  ],
@@ -17443,6 +17974,30 @@ exports.schema = Object.freeze({
17443
17974
  ],
17444
17975
  "Updates",
17445
17976
  ],
17977
+ "channels.getMessageAuthor": [
17978
+ 0xECE2A0E6,
17979
+ [
17980
+ ["channel", "InputChannel"],
17981
+ ["id", "int"],
17982
+ ],
17983
+ "User",
17984
+ ],
17985
+ "channels.checkSearchPostsFlood": [
17986
+ 0x22567115,
17987
+ [
17988
+ ["flags", "#"],
17989
+ ["query", "flags.0?string"],
17990
+ ],
17991
+ "SearchPostsFlood",
17992
+ ],
17993
+ "channels.setMainProfileTab": [
17994
+ 0x3583FCB1,
17995
+ [
17996
+ ["channel", "InputChannel"],
17997
+ ["tab", "ProfileTab"],
17998
+ ],
17999
+ "Bool",
18000
+ ],
17446
18001
  "bots.sendCustomRequest": [
17447
18002
  0xAA2769ED,
17448
18003
  [
@@ -17821,8 +18376,10 @@ exports.schema = Object.freeze({
17821
18376
  "Vector<StarsTopupOption>",
17822
18377
  ],
17823
18378
  "payments.getStarsStatus": [
17824
- 0x104FCFA7,
18379
+ 0x4EA9B3BF,
17825
18380
  [
18381
+ ["flags", "#"],
18382
+ ["ton", "flags.0?true"],
17826
18383
  ["peer", "InputPeer"],
17827
18384
  ],
17828
18385
  "payments.StarsStatus",
@@ -17834,6 +18391,7 @@ exports.schema = Object.freeze({
17834
18391
  ["inbound", "flags.0?true"],
17835
18392
  ["outbound", "flags.1?true"],
17836
18393
  ["ascending", "flags.2?true"],
18394
+ ["ton", "flags.4?true"],
17837
18395
  ["subscription_id", "flags.3?string"],
17838
18396
  ["peer", "InputPeer"],
17839
18397
  ["offset", "string"],
@@ -17862,15 +18420,18 @@ exports.schema = Object.freeze({
17862
18420
  [
17863
18421
  ["flags", "#"],
17864
18422
  ["dark", "flags.0?true"],
18423
+ ["ton", "flags.1?true"],
17865
18424
  ["peer", "InputPeer"],
17866
18425
  ],
17867
18426
  "payments.StarsRevenueStats",
17868
18427
  ],
17869
18428
  "payments.getStarsRevenueWithdrawalUrl": [
17870
- 0x13BBE8B3,
18429
+ 0x2433DC92,
17871
18430
  [
18431
+ ["flags", "#"],
18432
+ ["ton", "flags.0?true"],
17872
18433
  ["peer", "InputPeer"],
17873
- ["stars", "long"],
18434
+ ["amount", "flags.1?long"],
17874
18435
  ["password", "InputCheckPasswordSRP"],
17875
18436
  ],
17876
18437
  "payments.StarsRevenueWithdrawalUrl",
@@ -17883,8 +18444,10 @@ exports.schema = Object.freeze({
17883
18444
  "payments.StarsRevenueAdsAccountUrl",
17884
18445
  ],
17885
18446
  "payments.getStarsTransactionsByID": [
17886
- 0x27842D2E,
18447
+ 0x2DCA16B8,
17887
18448
  [
18449
+ ["flags", "#"],
18450
+ ["ton", "flags.0?true"],
17888
18451
  ["peer", "InputPeer"],
17889
18452
  ["id", "Vector<InputStarsTransaction>"],
17890
18453
  ],
@@ -18045,16 +18608,18 @@ exports.schema = Object.freeze({
18045
18608
  "payments.UniqueStarGift",
18046
18609
  ],
18047
18610
  "payments.getSavedStarGifts": [
18048
- 0x23830DE9,
18611
+ 0xA319E569,
18049
18612
  [
18050
18613
  ["flags", "#"],
18051
18614
  ["exclude_unsaved", "flags.0?true"],
18052
18615
  ["exclude_saved", "flags.1?true"],
18053
18616
  ["exclude_unlimited", "flags.2?true"],
18054
- ["exclude_limited", "flags.3?true"],
18055
18617
  ["exclude_unique", "flags.4?true"],
18056
18618
  ["sort_by_value", "flags.5?true"],
18619
+ ["exclude_upgradable", "flags.7?true"],
18620
+ ["exclude_unupgradable", "flags.8?true"],
18057
18621
  ["peer", "InputPeer"],
18622
+ ["collection_id", "flags.6?int"],
18058
18623
  ["offset", "string"],
18059
18624
  ["limit", "int"],
18060
18625
  ],
@@ -18114,13 +18679,73 @@ exports.schema = Object.freeze({
18114
18679
  "payments.ResaleStarGifts",
18115
18680
  ],
18116
18681
  "payments.updateStarGiftPrice": [
18117
- 0x3BAEA4E1,
18682
+ 0xEDBE6CCB,
18118
18683
  [
18119
18684
  ["stargift", "InputSavedStarGift"],
18120
- ["resell_stars", "long"],
18685
+ ["resell_amount", "StarsAmount"],
18121
18686
  ],
18122
18687
  "Updates",
18123
18688
  ],
18689
+ "payments.createStarGiftCollection": [
18690
+ 0x1F4A0E87,
18691
+ [
18692
+ ["peer", "InputPeer"],
18693
+ ["title", "string"],
18694
+ ["stargift", "Vector<InputSavedStarGift>"],
18695
+ ],
18696
+ "StarGiftCollection",
18697
+ ],
18698
+ "payments.updateStarGiftCollection": [
18699
+ 0x4FDDBEE7,
18700
+ [
18701
+ ["flags", "#"],
18702
+ ["peer", "InputPeer"],
18703
+ ["collection_id", "int"],
18704
+ ["title", "flags.0?string"],
18705
+ ["delete_stargift", "flags.1?Vector<InputSavedStarGift>"],
18706
+ ["add_stargift", "flags.2?Vector<InputSavedStarGift>"],
18707
+ ["order", "flags.3?Vector<InputSavedStarGift>"],
18708
+ ],
18709
+ "StarGiftCollection",
18710
+ ],
18711
+ "payments.reorderStarGiftCollections": [
18712
+ 0xC32AF4CC,
18713
+ [
18714
+ ["peer", "InputPeer"],
18715
+ ["order", "Vector<int>"],
18716
+ ],
18717
+ "Bool",
18718
+ ],
18719
+ "payments.deleteStarGiftCollection": [
18720
+ 0xAD5648E8,
18721
+ [
18722
+ ["peer", "InputPeer"],
18723
+ ["collection_id", "int"],
18724
+ ],
18725
+ "Bool",
18726
+ ],
18727
+ "payments.getStarGiftCollections": [
18728
+ 0x981B91DD,
18729
+ [
18730
+ ["peer", "InputPeer"],
18731
+ ["hash", "long"],
18732
+ ],
18733
+ "payments.StarGiftCollections",
18734
+ ],
18735
+ "payments.getUniqueStarGiftValueInfo": [
18736
+ 0x4365AF6B,
18737
+ [
18738
+ ["slug", "string"],
18739
+ ],
18740
+ "payments.UniqueStarGiftValueInfo",
18741
+ ],
18742
+ "payments.checkCanSendGift": [
18743
+ 0xC0C4EDC9,
18744
+ [
18745
+ ["gift_id", "long"],
18746
+ ],
18747
+ "payments.CheckCanSendGiftResult",
18748
+ ],
18124
18749
  "stickers.createStickerSet": [
18125
18750
  0x9021AB67,
18126
18751
  [
@@ -18675,32 +19300,6 @@ exports.schema = Object.freeze({
18675
19300
  ],
18676
19301
  "stats.PublicForwards",
18677
19302
  ],
18678
- "stats.getBroadcastRevenueStats": [
18679
- 0xF788EE19,
18680
- [
18681
- ["flags", "#"],
18682
- ["dark", "flags.0?true"],
18683
- ["peer", "InputPeer"],
18684
- ],
18685
- "stats.BroadcastRevenueStats",
18686
- ],
18687
- "stats.getBroadcastRevenueWithdrawalUrl": [
18688
- 0x9DF4FAAD,
18689
- [
18690
- ["peer", "InputPeer"],
18691
- ["password", "InputCheckPasswordSRP"],
18692
- ],
18693
- "stats.BroadcastRevenueWithdrawalUrl",
18694
- ],
18695
- "stats.getBroadcastRevenueTransactions": [
18696
- 0x70990B6D,
18697
- [
18698
- ["peer", "InputPeer"],
18699
- ["offset", "int"],
18700
- ["limit", "int"],
18701
- ],
18702
- "stats.BroadcastRevenueTransactions",
18703
- ],
18704
19303
  "chatlists.exportChatlistInvite": [
18705
19304
  0x8472478E,
18706
19305
  [
@@ -18796,7 +19395,7 @@ exports.schema = Object.freeze({
18796
19395
  "stories.CanSendStoryCount",
18797
19396
  ],
18798
19397
  "stories.sendStory": [
18799
- 0xE4E6694B,
19398
+ 0x737FC2EC,
18800
19399
  [
18801
19400
  ["flags", "#"],
18802
19401
  ["pinned", "flags.2?true"],
@@ -18812,6 +19411,7 @@ exports.schema = Object.freeze({
18812
19411
  ["period", "flags.3?int"],
18813
19412
  ["fwd_from_id", "flags.6?InputPeer"],
18814
19413
  ["fwd_from_story", "flags.6?int"],
19414
+ ["albums", "flags.8?Vector<int>"],
18815
19415
  ],
18816
19416
  "Updates",
18817
19417
  ],
@@ -19031,6 +19631,62 @@ exports.schema = Object.freeze({
19031
19631
  ],
19032
19632
  "stories.FoundStories",
19033
19633
  ],
19634
+ "stories.createAlbum": [
19635
+ 0xA36396E5,
19636
+ [
19637
+ ["peer", "InputPeer"],
19638
+ ["title", "string"],
19639
+ ["stories", "Vector<int>"],
19640
+ ],
19641
+ "StoryAlbum",
19642
+ ],
19643
+ "stories.updateAlbum": [
19644
+ 0x5E5259B6,
19645
+ [
19646
+ ["flags", "#"],
19647
+ ["peer", "InputPeer"],
19648
+ ["album_id", "int"],
19649
+ ["title", "flags.0?string"],
19650
+ ["delete_stories", "flags.1?Vector<int>"],
19651
+ ["add_stories", "flags.2?Vector<int>"],
19652
+ ["order", "flags.3?Vector<int>"],
19653
+ ],
19654
+ "StoryAlbum",
19655
+ ],
19656
+ "stories.reorderAlbums": [
19657
+ 0x8535FBD9,
19658
+ [
19659
+ ["peer", "InputPeer"],
19660
+ ["order", "Vector<int>"],
19661
+ ],
19662
+ "Bool",
19663
+ ],
19664
+ "stories.deleteAlbum": [
19665
+ 0x8D3456D0,
19666
+ [
19667
+ ["peer", "InputPeer"],
19668
+ ["album_id", "int"],
19669
+ ],
19670
+ "Bool",
19671
+ ],
19672
+ "stories.getAlbums": [
19673
+ 0x25B3EAC7,
19674
+ [
19675
+ ["peer", "InputPeer"],
19676
+ ["hash", "long"],
19677
+ ],
19678
+ "stories.Albums",
19679
+ ],
19680
+ "stories.getAlbumStories": [
19681
+ 0xAC806D61,
19682
+ [
19683
+ ["peer", "InputPeer"],
19684
+ ["album_id", "int"],
19685
+ ["offset", "int"],
19686
+ ["limit", "int"],
19687
+ ],
19688
+ "stories.Stories",
19689
+ ],
19034
19690
  "premium.getBoostsList": [
19035
19691
  0x60F67660,
19036
19692
  [
@@ -19160,6 +19816,7 @@ exports.schema = Object.freeze({
19160
19816
  [0x89FDD778]: "inputMediaStory",
19161
19817
  [0xC21B8849]: "inputMediaWebPage",
19162
19818
  [0xC4103386]: "inputMediaPaidMedia",
19819
+ [0x9FC55FDE]: "inputMediaTodo",
19163
19820
  [0x1CA48F57]: "inputChatPhotoEmpty",
19164
19821
  [0xBDCDAEC0]: "inputChatUploadedPhoto",
19165
19822
  [0x8953AD37]: "inputChatPhoto",
@@ -19203,10 +19860,10 @@ exports.schema = Object.freeze({
19203
19860
  [0x29562865]: "chatEmpty",
19204
19861
  [0x41CBF256]: "chat",
19205
19862
  [0x6592A1A7]: "chatForbidden",
19206
- [0x7482147E]: "channel",
19863
+ [0xFE685355]: "channel",
19207
19864
  [0x17D493D5]: "channelForbidden",
19208
19865
  [0x2633421B]: "chatFull",
19209
- [0x52D6806B]: "channelFull",
19866
+ [0xE4E0B29D]: "channelFull",
19210
19867
  [0xC02D4007]: "chatParticipant",
19211
19868
  [0xE46BCEE4]: "chatParticipantCreator",
19212
19869
  [0xA0933F5B]: "chatParticipantAdmin",
@@ -19215,8 +19872,8 @@ exports.schema = Object.freeze({
19215
19872
  [0x37C1011C]: "chatPhotoEmpty",
19216
19873
  [0x1C6E1C11]: "chatPhoto",
19217
19874
  [0x90A6CA84]: "messageEmpty",
19218
- [0xEABCDD4D]: "message",
19219
- [0xD3D28540]: "messageService",
19875
+ [0x9815CEC8]: "message",
19876
+ [0x7A800E0A]: "messageService",
19220
19877
  [0x3DED6320]: "messageMediaEmpty",
19221
19878
  [0x695150D7]: "messageMediaPhoto",
19222
19879
  [0x56E0D474]: "messageMediaGeo",
@@ -19234,6 +19891,7 @@ exports.schema = Object.freeze({
19234
19891
  [0xAA073BEB]: "messageMediaGiveaway",
19235
19892
  [0xCEAA3EA1]: "messageMediaGiveawayResults",
19236
19893
  [0xA8852491]: "messageMediaPaidMedia",
19894
+ [0x8A53B014]: "messageMediaToDo",
19237
19895
  [0xB6AEF7B0]: "messageActionEmpty",
19238
19896
  [0xBD47CBAD]: "messageActionChatCreate",
19239
19897
  [0xB5A1CE5A]: "messageActionChatEditTitle",
@@ -19262,7 +19920,7 @@ exports.schema = Object.freeze({
19262
19920
  [0x502F92F7]: "messageActionInviteToGroupCall",
19263
19921
  [0x3C134D7B]: "messageActionSetMessagesTTL",
19264
19922
  [0xB3A07661]: "messageActionGroupCallScheduled",
19265
- [0xAA786345]: "messageActionSetChatTheme",
19923
+ [0xB91BBD3A]: "messageActionSetChatTheme",
19266
19924
  [0xEBBCA3CB]: "messageActionChatJoinedByRequest",
19267
19925
  [0x47DD8079]: "messageActionWebViewDataSentMe",
19268
19926
  [0xB4C38CB5]: "messageActionWebViewDataSent",
@@ -19280,11 +19938,17 @@ exports.schema = Object.freeze({
19280
19938
  [0x41B3E202]: "messageActionPaymentRefunded",
19281
19939
  [0x45D5B021]: "messageActionGiftStars",
19282
19940
  [0xB00C47A2]: "messageActionPrizeStars",
19283
- [0x4717E8A4]: "messageActionStarGift",
19284
- [0x2E3AE60E]: "messageActionStarGiftUnique",
19941
+ [0xF24DE7FA]: "messageActionStarGift",
19942
+ [0x34F762F3]: "messageActionStarGiftUnique",
19285
19943
  [0xAC1F1FCD]: "messageActionPaidMessagesRefunded",
19286
- [0xBCD71419]: "messageActionPaidMessagesPrice",
19944
+ [0x84B88578]: "messageActionPaidMessagesPrice",
19287
19945
  [0x2FFE2F7A]: "messageActionConferenceCall",
19946
+ [0xCC7C5C89]: "messageActionTodoCompletions",
19947
+ [0xC7EDBC83]: "messageActionTodoAppendTasks",
19948
+ [0xEE7A1596]: "messageActionSuggestedPostApproval",
19949
+ [0x95DDCF69]: "messageActionSuggestedPostSuccess",
19950
+ [0x69F916F8]: "messageActionSuggestedPostRefund",
19951
+ [0xA8A3C699]: "messageActionGiftTon",
19288
19952
  [0xD58A08C6]: "dialog",
19289
19953
  [0x71BD134C]: "dialogFolder",
19290
19954
  [0x2331B22D]: "photoEmpty",
@@ -19299,7 +19963,7 @@ exports.schema = Object.freeze({
19299
19963
  [0xB2A2F663]: "geoPoint",
19300
19964
  [0x5E002502]: "auth.sentCode",
19301
19965
  [0x2390FE44]: "auth.sentCodeSuccess",
19302
- [0xD7CEF980]: "auth.sentCodePaymentRequired",
19966
+ [0xD7A2FCF9]: "auth.sentCodePaymentRequired",
19303
19967
  [0x2EA2C0D4]: "auth.authorization",
19304
19968
  [0x44747E9A]: "auth.authorizationSignUpRequired",
19305
19969
  [0xB434E2B8]: "auth.exportedAuthorization",
@@ -19323,7 +19987,7 @@ exports.schema = Object.freeze({
19323
19987
  [0xF5DDD6E7]: "inputReportReasonFake",
19324
19988
  [0x0A8EB2BE]: "inputReportReasonIllegalDrugs",
19325
19989
  [0x9EC7863D]: "inputReportReasonPersonalDetails",
19326
- [0x99E78045]: "userFull",
19990
+ [0xC577B5AD]: "userFull",
19327
19991
  [0x145ADE0B]: "contact",
19328
19992
  [0xC13E3C50]: "importedContact",
19329
19993
  [0x16D9703B]: "contactStatus",
@@ -19336,7 +20000,7 @@ exports.schema = Object.freeze({
19336
20000
  [0x71E094F3]: "messages.dialogsSlice",
19337
20001
  [0xF0E3E596]: "messages.dialogsNotModified",
19338
20002
  [0x8C718E87]: "messages.messages",
19339
- [0x3A54685E]: "messages.messagesSlice",
20003
+ [0x762B263D]: "messages.messagesSlice",
19340
20004
  [0xC776BA4E]: "messages.channelMessages",
19341
20005
  [0x74535F21]: "messages.messagesNotModified",
19342
20006
  [0x64FF9FD5]: "messages.chats",
@@ -19402,7 +20066,7 @@ exports.schema = Object.freeze({
19402
20066
  [0xE40370A3]: "updateEditMessage",
19403
20067
  [0x691E9052]: "updateInlineBotCallbackQuery",
19404
20068
  [0xB75F99A9]: "updateReadChannelOutbox",
19405
- [0x1B49EC6D]: "updateDraftMessage",
20069
+ [0xEDFC111E]: "updateDraftMessage",
19406
20070
  [0x571D2742]: "updateReadFeaturedStickers",
19407
20071
  [0x9A422C20]: "updateRecentStickers",
19408
20072
  [0xA229DD06]: "updateConfig",
@@ -19418,10 +20082,10 @@ exports.schema = Object.freeze({
19418
20082
  [0x46560264]: "updateLangPackTooLong",
19419
20083
  [0x56022F4D]: "updateLangPack",
19420
20084
  [0xE511996D]: "updateFavedStickers",
19421
- [0xEA29055D]: "updateChannelReadMessagesContents",
20085
+ [0x25F324F7]: "updateChannelReadMessagesContents",
19422
20086
  [0x7084A7BE]: "updateContactsReset",
19423
20087
  [0xB23FC698]: "updateChannelAvailableMessages",
19424
- [0xE16459C3]: "updateDialogUnreadMark",
20088
+ [0xB658F23E]: "updateDialogUnreadMark",
19425
20089
  [0xACA1657B]: "updateMessagePoll",
19426
20090
  [0x54C01850]: "updateChatDefaultBannedRights",
19427
20091
  [0x19360DC0]: "updateFolderPeers",
@@ -19455,7 +20119,7 @@ exports.schema = Object.freeze({
19455
20119
  [0x4D712F2E]: "updateBotCommands",
19456
20120
  [0x7063C3DB]: "updatePendingJoinRequests",
19457
20121
  [0x11DFA986]: "updateBotChatInviteRequester",
19458
- [0x5E1B3CB8]: "updateMessageReactions",
20122
+ [0x1E297BFA]: "updateMessageReactions",
19459
20123
  [0x17B7A20B]: "updateAttachMenuBots",
19460
20124
  [0x1592B79D]: "updateWebViewResultSent",
19461
20125
  [0x14B85813]: "updateBotMenuButton",
@@ -19495,7 +20159,6 @@ exports.schema = Object.freeze({
19495
20159
  [0x07DF587C]: "updateBotEditBusinessMessage",
19496
20160
  [0xA02A982E]: "updateBotDeleteBusinessMessage",
19497
20161
  [0x1824E40B]: "updateNewStoryReaction",
19498
- [0xDFD961F5]: "updateBroadcastRevenueTransactions",
19499
20162
  [0x4E80A379]: "updateStarsBalance",
19500
20163
  [0x1EA2FDA7]: "updateBusinessBotCallbackQuery",
19501
20164
  [0xA584B019]: "updateStarsRevenueStatus",
@@ -19503,6 +20166,9 @@ exports.schema = Object.freeze({
19503
20166
  [0x8B725FCE]: "updatePaidReactionPrivacy",
19504
20167
  [0x504AA18F]: "updateSentPhoneCode",
19505
20168
  [0xA477288F]: "updateGroupCallChainBlocks",
20169
+ [0x77B0E372]: "updateReadMonoForumInbox",
20170
+ [0xA4A79376]: "updateReadMonoForumOutbox",
20171
+ [0x9F812B08]: "updateMonoForumNoPaidException",
19506
20172
  [0xA56C2A3E]: "updates.state",
19507
20173
  [0x5D75A138]: "updates.differenceEmpty",
19508
20174
  [0x00F49CA0]: "updates.difference",
@@ -19666,6 +20332,7 @@ exports.schema = Object.freeze({
19666
20332
  [0x29D0F5EE]: "inputStickerSetEmojiDefaultStatuses",
19667
20333
  [0x44C1F8E9]: "inputStickerSetEmojiDefaultTopicIcons",
19668
20334
  [0x49748553]: "inputStickerSetEmojiChannelDefaultStatuses",
20335
+ [0x1CF671A0]: "inputStickerSetTonGifts",
19669
20336
  [0x2DD14EDC]: "stickerSet",
19670
20337
  [0x6E153F16]: "messages.stickerSet",
19671
20338
  [0xD3F924EB]: "messages.stickerSetNotModified",
@@ -19806,7 +20473,7 @@ exports.schema = Object.freeze({
19806
20473
  [0x70B772A8]: "contacts.topPeers",
19807
20474
  [0xB52C939D]: "contacts.topPeersDisabled",
19808
20475
  [0x1B0C841A]: "draftMessageEmpty",
19809
- [0x2D65321F]: "draftMessage",
20476
+ [0x96EAA5EB]: "draftMessage",
19810
20477
  [0xC6DC0C66]: "messages.featuredStickersNotModified",
19811
20478
  [0xBE382906]: "messages.featuredStickers",
19812
20479
  [0x0B17F890]: "messages.recentStickersNotModified",
@@ -20132,6 +20799,7 @@ exports.schema = Object.freeze({
20132
20799
  [0x2E94C3E7]: "webPageAttributeStory",
20133
20800
  [0x50CC03D3]: "webPageAttributeStickerSet",
20134
20801
  [0xCF6F6DB8]: "webPageAttributeUniqueStarGift",
20802
+ [0x31CAD303]: "webPageAttributeStarGiftCollection",
20135
20803
  [0x4899484E]: "messages.votesList",
20136
20804
  [0xF568028A]: "bankCardOpenUrl",
20137
20805
  [0x3E24E573]: "payments.bankCardData",
@@ -20163,7 +20831,7 @@ exports.schema = Object.freeze({
20163
20831
  [0x455B853D]: "messageViews",
20164
20832
  [0xB6C4F543]: "messages.messageViews",
20165
20833
  [0xA6341782]: "messages.discussionMessage",
20166
- [0xAFBC09DB]: "messageReplyHeader",
20834
+ [0x6917560B]: "messageReplyHeader",
20167
20835
  [0x0E5AF939]: "messageReplyStoryHeader",
20168
20836
  [0x83D60FC2]: "messageReplies",
20169
20837
  [0xE8FD8014]: "peerBlocked",
@@ -20208,8 +20876,12 @@ exports.schema = Object.freeze({
20208
20876
  [0xE3779861]: "account.resetPasswordFailedWait",
20209
20877
  [0xE9EFFC7D]: "account.resetPasswordRequestedWait",
20210
20878
  [0xE926D63E]: "account.resetPasswordOk",
20211
- [0x4D93A990]: "sponsoredMessage",
20212
- [0xC9EE1D87]: "messages.sponsoredMessages",
20879
+ [0xC3DFFC04]: "chatTheme",
20880
+ [0x3458F9C8]: "chatThemeUniqueGift",
20881
+ [0xE011E1C4]: "account.chatThemesNotModified",
20882
+ [0x16484857]: "account.chatThemes",
20883
+ [0x7DBF8673]: "sponsoredMessage",
20884
+ [0xFFDA656D]: "messages.sponsoredMessages",
20213
20885
  [0x1839490F]: "messages.sponsoredMessagesEmpty",
20214
20886
  [0xC9B0539F]: "searchResultsCalendarPeriod",
20215
20887
  [0x147EE23C]: "messages.searchResultsCalendar",
@@ -20263,7 +20935,8 @@ exports.schema = Object.freeze({
20263
20935
  [0x4A5F5BD9]: "inputInvoiceStarGiftTransfer",
20264
20936
  [0xDABAB2EF]: "inputInvoicePremiumGiftStars",
20265
20937
  [0xF4997E42]: "inputInvoiceBusinessBotTransferStars",
20266
- [0x63CBC38C]: "inputInvoiceStarGiftResale",
20938
+ [0xC39F5324]: "inputInvoiceStarGiftResale",
20939
+ [0x9A0B48B8]: "inputInvoiceStarGiftPrepaidUpgrade",
20267
20940
  [0xAED0CBD9]: "payments.exportedInvoice",
20268
20941
  [0xCFB9D957]: "messages.transcribedAudio",
20269
20942
  [0x5334759C]: "help.premiumPromo",
@@ -20271,7 +20944,7 @@ exports.schema = Object.freeze({
20271
20944
  [0x616F7FE8]: "inputStorePaymentGiftPremium",
20272
20945
  [0xFB790393]: "inputStorePaymentPremiumGiftCode",
20273
20946
  [0x160544CA]: "inputStorePaymentPremiumGiveaway",
20274
- [0xDDDD0F56]: "inputStorePaymentStarsTopup",
20947
+ [0xF9A2A6CB]: "inputStorePaymentStarsTopup",
20275
20948
  [0x1D741EF7]: "inputStorePaymentStarsGift",
20276
20949
  [0x751F08FA]: "inputStorePaymentStarsGiveaway",
20277
20950
  [0x9BB2636D]: "inputStorePaymentAuthCode",
@@ -20348,7 +21021,7 @@ exports.schema = Object.freeze({
20348
21021
  [0x8D595CD6]: "storyViews",
20349
21022
  [0x51E6EE4F]: "storyItemDeleted",
20350
21023
  [0xFFADC913]: "storyItemSkipped",
20351
- [0x79B26A24]: "storyItem",
21024
+ [0xEDF164F1]: "storyItem",
20352
21025
  [0x1158FE3E]: "stories.allStoriesNotModified",
20353
21026
  [0x6EFC5E81]: "stories.allStories",
20354
21027
  [0x63C3DD0A]: "stories.stories",
@@ -20357,8 +21030,9 @@ exports.schema = Object.freeze({
20357
21030
  [0xBD74CF49]: "storyViewPublicRepost",
20358
21031
  [0x59D78FC5]: "stories.storyViewsList",
20359
21032
  [0xDE9EED1D]: "stories.storyViews",
20360
- [0x22C0F6D5]: "inputReplyToMessage",
21033
+ [0x869FBE10]: "inputReplyToMessage",
20361
21034
  [0x5881323A]: "inputReplyToStory",
21035
+ [0x69D66C45]: "inputReplyToMonoForum",
20362
21036
  [0x3FC9053B]: "exportedStoryLink",
20363
21037
  [0x712E27FD]: "storiesStealthMode",
20364
21038
  [0xCFC9E002]: "mediaAreaCoordinates",
@@ -20403,6 +21077,7 @@ exports.schema = Object.freeze({
20403
21077
  [0xCFCD0F13]: "storyReactionPublicRepost",
20404
21078
  [0xAA5F789C]: "stories.storyReactionsList",
20405
21079
  [0xBD87CB6C]: "savedDialog",
21080
+ [0x64407EA7]: "monoForumDialog",
20406
21081
  [0xF83AE221]: "messages.savedDialogs",
20407
21082
  [0x44BA9DD9]: "messages.savedDialogsSlice",
20408
21083
  [0xC01F6FE8]: "messages.savedDialogsNotModified",
@@ -20461,16 +21136,9 @@ exports.schema = Object.freeze({
20461
21136
  [0x846F9E42]: "channels.sponsoredMessageReportResultChooseOption",
20462
21137
  [0x3E3BCF2F]: "channels.sponsoredMessageReportResultAdsHidden",
20463
21138
  [0xAD798849]: "channels.sponsoredMessageReportResultReported",
20464
- [0x5407E297]: "stats.broadcastRevenueStats",
20465
- [0xEC659737]: "stats.broadcastRevenueWithdrawalUrl",
20466
- [0x557E2CC4]: "broadcastRevenueTransactionProceeds",
20467
- [0x5A590978]: "broadcastRevenueTransactionWithdrawal",
20468
- [0x42D30D2E]: "broadcastRevenueTransactionRefund",
20469
- [0x87158466]: "stats.broadcastRevenueTransactions",
20470
21139
  [0xBAC3A61A]: "reactionNotificationsFromContacts",
20471
21140
  [0x4B9E22A0]: "reactionNotificationsFromAll",
20472
21141
  [0x56E34970]: "reactionsNotifySettings",
20473
- [0xC3FF71E7]: "broadcastRevenueBalances",
20474
21142
  [0x93C3E27E]: "availableEffect",
20475
21143
  [0xD1ED9A5B]: "messages.availableEffectsNotModified",
20476
21144
  [0xBDDB616E]: "messages.availableEffects",
@@ -20484,13 +21152,13 @@ exports.schema = Object.freeze({
20484
21152
  [0x60682812]: "starsTransactionPeerAds",
20485
21153
  [0xF9677AAD]: "starsTransactionPeerAPI",
20486
21154
  [0x0BD915C0]: "starsTopupOption",
20487
- [0xA39FD94A]: "starsTransaction",
21155
+ [0x13659EB0]: "starsTransaction",
20488
21156
  [0x6C9CE8ED]: "payments.starsStatus",
20489
21157
  [0xE87ACBC0]: "foundStory",
20490
21158
  [0xE2DE7737]: "stories.foundStories",
20491
21159
  [0xDE4C5D93]: "geoPointAddress",
20492
21160
  [0xFEBE5491]: "starsRevenueStatus",
20493
- [0xC92BB73B]: "payments.starsRevenueStats",
21161
+ [0x6C207376]: "payments.starsRevenueStats",
20494
21162
  [0x1DAB80B7]: "payments.starsRevenueWithdrawalUrl",
20495
21163
  [0x394E7F21]: "payments.starsRevenueAdsAccountUrl",
20496
21164
  [0x206AE6D1]: "inputStarsTransaction",
@@ -20503,10 +21171,10 @@ exports.schema = Object.freeze({
20503
21171
  [0x4BA3A95A]: "messageReactor",
20504
21172
  [0x94CE852A]: "starsGiveawayOption",
20505
21173
  [0x54236209]: "starsGiveawayWinnersOption",
20506
- [0xC62ACA28]: "starGift",
20507
- [0x6411DB89]: "starGiftUnique",
21174
+ [0x80AC53C3]: "starGift",
21175
+ [0x1BEFE865]: "starGiftUnique",
20508
21176
  [0xA388A368]: "payments.starGiftsNotModified",
20509
- [0x901689EA]: "payments.starGifts",
21177
+ [0x2ED82995]: "payments.starGifts",
20510
21178
  [0x7903E3D9]: "messageReportOption",
20511
21179
  [0xF0E4E0B6]: "reportResultChooseOption",
20512
21180
  [0x6F09AC31]: "reportResultAddComment",
@@ -20519,6 +21187,7 @@ exports.schema = Object.freeze({
20519
21187
  [0x98D5EA1D]: "payments.connectedStarRefBots",
20520
21188
  [0xB4D5D859]: "payments.suggestedStarRefBots",
20521
21189
  [0xBBB6B4A3]: "starsAmount",
21190
+ [0x74AEE3E0]: "starsTonAmount",
20522
21191
  [0x6010C534]: "messages.foundStickersNotModified",
20523
21192
  [0x82C9E290]: "messages.foundStickers",
20524
21193
  [0xB0CD6617]: "botVerifierSettings",
@@ -20530,9 +21199,9 @@ exports.schema = Object.freeze({
20530
21199
  [0x167BD90B]: "payments.starGiftUpgradePreview",
20531
21200
  [0x62D706B8]: "users.users",
20532
21201
  [0x315A4974]: "users.usersSlice",
20533
- [0xCAA2F60B]: "payments.uniqueStarGift",
20534
- [0xB53E8B21]: "messages.webPagePreview",
20535
- [0xDFDA0499]: "savedStarGift",
21202
+ [0x416C56E8]: "payments.uniqueStarGift",
21203
+ [0x8C9A88AC]: "messages.webPagePreview",
21204
+ [0x19A9B572]: "savedStarGift",
20536
21205
  [0x95F389B1]: "payments.savedStarGifts",
20537
21206
  [0x69279795]: "inputSavedStarGiftUser",
20538
21207
  [0xF101AA7F]: "inputSavedStarGiftChat",
@@ -20557,6 +21226,36 @@ exports.schema = Object.freeze({
20557
21226
  [0x947A12DF]: "payments.resaleStarGifts",
20558
21227
  [0xC387C04E]: "stories.canSendStoryCount",
20559
21228
  [0xE7E82E12]: "pendingSuggestion",
21229
+ [0xCBA9A52F]: "todoItem",
21230
+ [0x49B92A26]: "todoList",
21231
+ [0x4CC120B7]: "todoCompletion",
21232
+ [0x0E8E37E5]: "suggestedPost",
21233
+ [0x1B0E4F07]: "starsRating",
21234
+ [0x9D6B13B0]: "starGiftCollection",
21235
+ [0xA0BA4F17]: "payments.starGiftCollectionsNotModified",
21236
+ [0x8A2932F3]: "payments.starGiftCollections",
21237
+ [0x9325705A]: "storyAlbum",
21238
+ [0x564EDAEB]: "stories.albumsNotModified",
21239
+ [0xC3987A3A]: "stories.albums",
21240
+ [0x3E0B5B6A]: "searchPostsFlood",
21241
+ [0x512FE446]: "payments.uniqueStarGiftValueInfo",
21242
+ [0xB98CD696]: "profileTabPosts",
21243
+ [0x4D4BD46A]: "profileTabGifts",
21244
+ [0x72C64955]: "profileTabMedia",
21245
+ [0xAB339C00]: "profileTabFiles",
21246
+ [0x9F27D26E]: "profileTabMusic",
21247
+ [0xE477092E]: "profileTabVoice",
21248
+ [0xD3656499]: "profileTabLinks",
21249
+ [0xA2C0F695]: "profileTabGifs",
21250
+ [0xE3878AA4]: "users.savedMusicNotModified",
21251
+ [0x34A2F297]: "users.savedMusic",
21252
+ [0x4FC81D6E]: "account.savedMusicIdsNotModified",
21253
+ [0x998D6636]: "account.savedMusicIds",
21254
+ [0x374FA7AD]: "payments.checkCanSendGiftResultOk",
21255
+ [0xD5E58274]: "payments.checkCanSendGiftResultFail",
21256
+ [0x83268483]: "inputChatThemeEmpty",
21257
+ [0xC93DE95C]: "inputChatTheme",
21258
+ [0x87E5DFE4]: "inputChatThemeUniqueGift",
20560
21259
  },
20561
21260
  });
20562
- exports.LAYER = 203;
21261
+ exports.LAYER = 214;