@mtkruto/node 0.13.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (815) hide show
  1. package/esm/0_deps.d.ts +1 -1
  2. package/esm/0_deps.js +1 -1
  3. package/esm/0_errors.d.ts +1 -1
  4. package/esm/0_errors.js +1 -1
  5. package/esm/1_utilities.d.ts +1 -1
  6. package/esm/1_utilities.js +1 -1
  7. package/esm/2_connection.d.ts +1 -1
  8. package/esm/2_connection.js +1 -1
  9. package/esm/2_storage.d.ts +1 -1
  10. package/esm/2_storage.js +1 -1
  11. package/esm/2_tl.d.ts +1 -1
  12. package/esm/2_tl.js +1 -1
  13. package/esm/3_errors.d.ts +1 -1
  14. package/esm/3_errors.js +1 -1
  15. package/esm/3_transport.d.ts +1 -1
  16. package/esm/3_transport.js +1 -1
  17. package/esm/3_types.d.ts +5 -1
  18. package/esm/3_types.d.ts.map +1 -1
  19. package/esm/3_types.js +5 -1
  20. package/esm/4_constants.d.ts +1 -1
  21. package/esm/4_constants.js +2 -2
  22. package/esm/4_errors.d.ts +1 -1
  23. package/esm/4_errors.js +1 -1
  24. package/esm/5_client.d.ts +1 -1
  25. package/esm/5_client.js +1 -1
  26. package/esm/client/0_client_abstract.js +1 -1
  27. package/esm/client/0_filters.d.ts +1 -1
  28. package/esm/client/0_filters.js +1 -1
  29. package/esm/client/0_html.d.ts +1 -1
  30. package/esm/client/0_html.js +1 -1
  31. package/esm/client/0_markdown.d.ts +1 -1
  32. package/esm/client/0_markdown.js +1 -1
  33. package/esm/client/0_message.d.ts +1 -1
  34. package/esm/client/0_message.js +1 -1
  35. package/esm/client/0_params.d.ts +31 -9
  36. package/esm/client/0_params.d.ts.map +1 -1
  37. package/esm/client/0_params.js +1 -1
  38. package/esm/client/0_password.js +1 -1
  39. package/esm/client/0_storage_operations.d.ts +1 -1
  40. package/esm/client/0_storage_operations.js +1 -1
  41. package/esm/client/0_update_processor.d.ts +7 -0
  42. package/esm/client/0_update_processor.d.ts.map +1 -0
  43. package/esm/client/0_update_processor.js +1 -0
  44. package/esm/client/0_utilities.d.ts +3 -3
  45. package/esm/client/0_utilities.d.ts.map +1 -1
  46. package/esm/client/0_utilities.js +1 -1
  47. package/esm/client/1_client_encrypted.d.ts +1 -1
  48. package/esm/client/1_client_encrypted.js +1 -1
  49. package/esm/client/1_client_plain.d.ts +1 -1
  50. package/esm/client/1_client_plain.js +1 -1
  51. package/esm/client/1_composer.d.ts +1 -1
  52. package/esm/client/1_composer.js +1 -1
  53. package/esm/client/1_types.d.ts +1 -1
  54. package/esm/client/1_types.js +1 -1
  55. package/esm/client/2_account_manager.d.ts +1 -1
  56. package/esm/client/2_account_manager.js +1 -1
  57. package/esm/client/2_bot_info_manager.d.ts +1 -1
  58. package/esm/client/2_bot_info_manager.js +1 -1
  59. package/esm/client/2_business_connection_manager.d.ts +4 -3
  60. package/esm/client/2_business_connection_manager.d.ts.map +1 -1
  61. package/esm/client/2_business_connection_manager.js +2 -2
  62. package/esm/client/2_file_manager.js +1 -1
  63. package/esm/client/2_gift_manager.d.ts +29 -0
  64. package/esm/client/2_gift_manager.d.ts.map +1 -0
  65. package/esm/client/2_gift_manager.js +62 -0
  66. package/esm/client/2_network_statistics_manager.d.ts +1 -1
  67. package/esm/client/2_network_statistics_manager.js +1 -1
  68. package/esm/client/2_payment_manager.d.ts +4 -3
  69. package/esm/client/2_payment_manager.d.ts.map +1 -1
  70. package/esm/client/2_payment_manager.js +2 -2
  71. package/esm/client/2_reaction_manager.d.ts +4 -3
  72. package/esm/client/2_reaction_manager.d.ts.map +1 -1
  73. package/esm/client/2_reaction_manager.js +2 -2
  74. package/esm/client/2_translations_manager.d.ts +3 -2
  75. package/esm/client/2_translations_manager.d.ts.map +1 -1
  76. package/esm/client/2_translations_manager.js +1 -1
  77. package/esm/client/2_update_manager.d.ts +1 -1
  78. package/esm/client/2_update_manager.js +1 -1
  79. package/esm/client/3_message_manager.d.ts +10 -26
  80. package/esm/client/3_message_manager.d.ts.map +1 -1
  81. package/esm/client/3_message_manager.js +64 -241
  82. package/esm/client/3_video_chat_manager.d.ts +5 -4
  83. package/esm/client/3_video_chat_manager.d.ts.map +1 -1
  84. package/esm/client/3_video_chat_manager.js +5 -2
  85. package/esm/client/4_callback_query_manager.d.ts +4 -3
  86. package/esm/client/4_callback_query_manager.d.ts.map +1 -1
  87. package/esm/client/4_callback_query_manager.js +2 -2
  88. package/esm/client/4_chat_list_manager.d.ts +5 -4
  89. package/esm/client/4_chat_list_manager.d.ts.map +1 -1
  90. package/esm/client/4_chat_list_manager.js +3 -2
  91. package/esm/client/4_chat_manager.d.ts +61 -0
  92. package/esm/client/4_chat_manager.d.ts.map +1 -0
  93. package/esm/client/4_chat_manager.js +293 -0
  94. package/esm/client/4_inline_query_manager.d.ts +4 -3
  95. package/esm/client/4_inline_query_manager.d.ts.map +1 -1
  96. package/esm/client/4_inline_query_manager.js +2 -2
  97. package/esm/client/4_poll_manager.d.ts +4 -3
  98. package/esm/client/4_poll_manager.d.ts.map +1 -1
  99. package/esm/client/4_poll_manager.js +2 -2
  100. package/esm/client/4_story_manager.d.ts +4 -3
  101. package/esm/client/4_story_manager.d.ts.map +1 -1
  102. package/esm/client/4_story_manager.js +2 -2
  103. package/esm/client/5_client.d.ts +44 -7
  104. package/esm/client/5_client.d.ts.map +1 -1
  105. package/esm/client/5_client.js +182 -73
  106. package/esm/connection/0_connection.d.ts +1 -1
  107. package/esm/connection/0_connection.js +1 -1
  108. package/esm/connection/1_connection_tcp.node.d.ts +1 -1
  109. package/esm/connection/1_connection_tcp.node.js +1 -1
  110. package/esm/connection/1_connection_web_socket.js +1 -1
  111. package/esm/mod.d.ts +1 -1
  112. package/esm/mod.js +1 -1
  113. package/esm/storage/0_storage.d.ts +1 -1
  114. package/esm/storage/0_storage.js +1 -1
  115. package/esm/storage/1_utilities.d.ts +1 -1
  116. package/esm/storage/1_utilities.js +1 -1
  117. package/esm/storage/2_storage_indexed_db.d.ts +1 -1
  118. package/esm/storage/2_storage_indexed_db.js +1 -1
  119. package/esm/storage/2_storage_local_storage.node.d.ts +1 -1
  120. package/esm/storage/2_storage_local_storage.node.js +1 -1
  121. package/esm/storage/2_storage_memory.d.ts +1 -1
  122. package/esm/storage/2_storage_memory.js +1 -1
  123. package/esm/storage/2_storage_session_storage.d.ts +1 -1
  124. package/esm/storage/2_storage_session_storage.js +1 -1
  125. package/esm/tl/0_api.d.ts +218 -79
  126. package/esm/tl/0_api.d.ts.map +1 -1
  127. package/esm/tl/0_api.js +362 -159
  128. package/esm/tl/0_tl_raw_reader.d.ts +1 -1
  129. package/esm/tl/0_tl_raw_reader.js +1 -1
  130. package/esm/tl/0_tl_raw_writer.d.ts +1 -1
  131. package/esm/tl/0_tl_raw_writer.js +1 -1
  132. package/esm/tl/1_utilities.d.ts +1 -1
  133. package/esm/tl/1_utilities.js +1 -1
  134. package/esm/tl/2_deserialize.d.ts +1 -1
  135. package/esm/tl/2_deserialize.js +1 -1
  136. package/esm/tl/2_serialize.d.ts +1 -1
  137. package/esm/tl/2_serialize.js +1 -1
  138. package/esm/tl/3_tl_reader.d.ts +1 -1
  139. package/esm/tl/3_tl_reader.js +1 -1
  140. package/esm/tl/3_utilities.d.ts +1 -1
  141. package/esm/tl/3_utilities.js +1 -1
  142. package/esm/tl/4_rpc_result.d.ts +1 -1
  143. package/esm/tl/4_rpc_result.js +1 -1
  144. package/esm/tl/4_tl_writer.d.ts +1 -1
  145. package/esm/tl/4_tl_writer.js +1 -1
  146. package/esm/tl/5_message.d.ts +1 -1
  147. package/esm/tl/5_message.js +1 -1
  148. package/esm/transport/0_obfuscation.js +1 -1
  149. package/esm/transport/0_transport.d.ts +1 -1
  150. package/esm/transport/0_transport.js +1 -1
  151. package/esm/transport/1_transport_abridged.d.ts +1 -1
  152. package/esm/transport/1_transport_abridged.js +1 -1
  153. package/esm/transport/1_transport_intermediate.d.ts +1 -1
  154. package/esm/transport/1_transport_intermediate.js +1 -1
  155. package/esm/transport/2_transport_provider.d.ts +1 -1
  156. package/esm/transport/2_transport_provider.js +1 -1
  157. package/esm/transport/3_transport_provider_tcp.d.ts +1 -1
  158. package/esm/transport/3_transport_provider_tcp.js +1 -1
  159. package/esm/transport/3_transport_provider_web_socket.d.ts +1 -1
  160. package/esm/transport/3_transport_provider_web_socket.js +1 -1
  161. package/esm/types/0_authorization_state.d.ts +1 -1
  162. package/esm/types/0_authorization_state.js +1 -1
  163. package/esm/types/0_birthday.d.ts +1 -1
  164. package/esm/types/0_birthday.js +1 -1
  165. package/esm/types/0_bot_command.d.ts +1 -1
  166. package/esm/types/0_bot_command.js +1 -1
  167. package/esm/types/0_callback_query_answer.d.ts +1 -1
  168. package/esm/types/0_callback_query_answer.js +1 -1
  169. package/esm/types/0_callback_query_question.d.ts +1 -1
  170. package/esm/types/0_callback_query_question.js +1 -1
  171. package/esm/types/0_chat_action.d.ts +1 -1
  172. package/esm/types/0_chat_action.js +1 -1
  173. package/esm/types/0_chat_administrator_rights.d.ts +1 -1
  174. package/esm/types/0_chat_administrator_rights.js +1 -1
  175. package/esm/types/0_chat_member_rights.d.ts +1 -1
  176. package/esm/types/0_chat_member_rights.js +1 -1
  177. package/esm/types/0_chat_photo.d.ts +1 -1
  178. package/esm/types/0_chat_photo.js +1 -1
  179. package/esm/types/0_connection_state.d.ts +1 -1
  180. package/esm/types/0_connection_state.js +1 -1
  181. package/esm/types/0_contact.d.ts +1 -1
  182. package/esm/types/0_contact.js +1 -1
  183. package/esm/types/0_dice.d.ts +1 -1
  184. package/esm/types/0_dice.js +1 -1
  185. package/esm/types/0_failed_invitation.d.ts +1 -1
  186. package/esm/types/0_failed_invitation.js +1 -1
  187. package/esm/types/0_file_source.d.ts +1 -1
  188. package/esm/types/0_file_source.js +1 -1
  189. package/esm/types/0_giveaway_parameters.d.ts +1 -1
  190. package/esm/types/0_giveaway_parameters.js +1 -1
  191. package/esm/types/0_id.d.ts +1 -1
  192. package/esm/types/0_id.js +1 -1
  193. package/esm/types/0_invoice.d.ts +1 -1
  194. package/esm/types/0_invoice.js +1 -1
  195. package/esm/types/0_keyboard_button_poll_type.d.ts +1 -1
  196. package/esm/types/0_keyboard_button_poll_type.js +1 -1
  197. package/esm/types/0_link_preview.d.ts +1 -1
  198. package/esm/types/0_link_preview.js +1 -1
  199. package/esm/types/0_live_stream_channel.d.ts +1 -1
  200. package/esm/types/0_live_stream_channel.js +1 -1
  201. package/esm/types/0_location.d.ts +1 -1
  202. package/esm/types/0_location.js +1 -1
  203. package/esm/types/0_login_url.d.ts +1 -1
  204. package/esm/types/0_login_url.js +1 -1
  205. package/esm/types/0_mask_position.d.ts +1 -1
  206. package/esm/types/0_mask_position.js +1 -1
  207. package/esm/types/0_message_entity.d.ts +1 -1
  208. package/esm/types/0_message_entity.js +1 -1
  209. package/esm/types/0_message_reference.d.ts +1 -1
  210. package/esm/types/0_message_reference.js +1 -1
  211. package/esm/types/0_message_search_filter.d.ts +1 -1
  212. package/esm/types/0_message_search_filter.js +1 -1
  213. package/esm/types/0_mini_app_info.d.ts +1 -1
  214. package/esm/types/0_mini_app_info.js +1 -1
  215. package/esm/types/0_network_statistics_entry.d.ts +1 -1
  216. package/esm/types/0_network_statistics_entry.js +1 -1
  217. package/esm/types/0_opening_hours.d.ts +1 -1
  218. package/esm/types/0_opening_hours.js +1 -1
  219. package/esm/types/0_parse_mode.d.ts +1 -1
  220. package/esm/types/0_parse_mode.js +1 -1
  221. package/esm/types/0_price_tag.d.ts +1 -1
  222. package/esm/types/0_price_tag.js +1 -1
  223. package/esm/types/0_reaction.d.ts +1 -1
  224. package/esm/types/0_reaction.js +1 -1
  225. package/esm/types/0_refunded_payment.d.ts +1 -1
  226. package/esm/types/0_refunded_payment.js +1 -1
  227. package/esm/types/0_restriction_reason.d.ts +1 -1
  228. package/esm/types/0_restriction_reason.js +1 -1
  229. package/esm/types/0_self_destruct_option.d.ts +1 -1
  230. package/esm/types/0_self_destruct_option.js +1 -1
  231. package/esm/types/0_shipping_address.d.ts +1 -1
  232. package/esm/types/0_shipping_address.js +1 -1
  233. package/esm/types/0_story_reference.d.ts +1 -1
  234. package/esm/types/0_story_reference.js +1 -1
  235. package/esm/types/0_switch_inline_query_chosen_chats.d.ts +1 -1
  236. package/esm/types/0_switch_inline_query_chosen_chats.js +1 -1
  237. package/esm/types/0_thumbnail.d.ts +1 -1
  238. package/esm/types/0_thumbnail.js +1 -1
  239. package/esm/types/0_video_chat.d.ts +1 -1
  240. package/esm/types/0_video_chat.js +1 -1
  241. package/esm/types/0_voice.d.ts +1 -1
  242. package/esm/types/0_voice.js +1 -1
  243. package/esm/types/1_animation.d.ts +1 -1
  244. package/esm/types/1_animation.js +1 -1
  245. package/esm/types/1_audio.d.ts +1 -1
  246. package/esm/types/1_audio.js +1 -1
  247. package/esm/types/1_bot_command_scope.d.ts +1 -1
  248. package/esm/types/1_bot_command_scope.js +1 -1
  249. package/esm/types/1_chat_p.d.ts +1 -1
  250. package/esm/types/1_chat_p.js +1 -1
  251. package/esm/types/1_document.d.ts +1 -1
  252. package/esm/types/1_document.js +1 -1
  253. package/esm/types/1_giveaway.d.ts +1 -1
  254. package/esm/types/1_giveaway.js +1 -1
  255. package/esm/types/1_inline_query_result_button.d.ts +1 -1
  256. package/esm/types/1_inline_query_result_button.js +1 -1
  257. package/esm/types/1_input_media.d.ts +1 -1
  258. package/esm/types/1_input_media.js +1 -1
  259. package/esm/types/1_input_story_content.d.ts +1 -1
  260. package/esm/types/1_input_story_content.js +1 -1
  261. package/esm/types/1_keyboard_button.d.ts +1 -1
  262. package/esm/types/1_keyboard_button.js +1 -1
  263. package/esm/types/1_message_content.d.ts +2 -2
  264. package/esm/types/1_message_content.d.ts.map +1 -1
  265. package/esm/types/1_message_content.js +1 -1
  266. package/esm/types/1_message_reaction.d.ts +1 -1
  267. package/esm/types/1_message_reaction.js +1 -1
  268. package/esm/types/1_network_statistics.d.ts +1 -1
  269. package/esm/types/1_network_statistics.js +1 -1
  270. package/esm/types/1_order_info.d.ts +1 -1
  271. package/esm/types/1_order_info.js +1 -1
  272. package/esm/types/1_photo.d.ts +1 -1
  273. package/esm/types/1_photo.js +1 -1
  274. package/esm/types/1_poll_option.d.ts +1 -1
  275. package/esm/types/1_poll_option.js +1 -1
  276. package/esm/types/1_reaction_count.d.ts +1 -1
  277. package/esm/types/1_reaction_count.js +1 -1
  278. package/esm/types/1_reply_quote.d.ts +1 -1
  279. package/esm/types/1_reply_quote.js +1 -1
  280. package/esm/types/1_sticker.d.ts +2 -1
  281. package/esm/types/1_sticker.d.ts.map +1 -1
  282. package/esm/types/1_sticker.js +7 -3
  283. package/esm/types/1_story_privacy.d.ts +1 -1
  284. package/esm/types/1_story_privacy.js +1 -1
  285. package/esm/types/1_story_reaction.d.ts +1 -1
  286. package/esm/types/1_story_reaction.js +1 -1
  287. package/esm/types/1_user.d.ts +1 -1
  288. package/esm/types/1_user.js +1 -1
  289. package/esm/types/1_venue.d.ts +1 -1
  290. package/esm/types/1_venue.js +1 -1
  291. package/esm/types/1_video.d.ts +1 -1
  292. package/esm/types/1_video.js +1 -1
  293. package/esm/types/1_video_note.d.ts +1 -1
  294. package/esm/types/1_video_note.js +1 -1
  295. package/esm/types/2_business_connection.d.ts +1 -1
  296. package/esm/types/2_business_connection.js +1 -1
  297. package/esm/types/2_chat.d.ts +1 -1
  298. package/esm/types/2_chat.js +1 -1
  299. package/esm/types/2_chat_member.d.ts +1 -1
  300. package/esm/types/2_chat_member.js +1 -1
  301. package/esm/types/2_chosen_inline_result.d.ts +1 -1
  302. package/esm/types/2_chosen_inline_result.js +1 -1
  303. package/esm/types/2_forward_header.d.ts +1 -1
  304. package/esm/types/2_forward_header.js +1 -1
  305. package/esm/types/2_game.d.ts +1 -1
  306. package/esm/types/2_game.js +1 -1
  307. package/esm/types/2_gift_upgraded_component.d.ts +95 -0
  308. package/esm/types/2_gift_upgraded_component.d.ts.map +1 -0
  309. package/esm/types/2_gift_upgraded_component.js +88 -0
  310. package/esm/types/2_inactive_chat.d.ts +1 -1
  311. package/esm/types/2_inactive_chat.js +1 -1
  312. package/esm/types/2_inline_keyboard_button.d.ts +1 -1
  313. package/esm/types/2_inline_keyboard_button.js +1 -1
  314. package/esm/types/2_inline_query.d.ts +1 -1
  315. package/esm/types/2_inline_query.js +1 -1
  316. package/esm/types/2_invite_link.d.ts +1 -1
  317. package/esm/types/2_invite_link.js +1 -1
  318. package/esm/types/2_message_interactions.d.ts +1 -1
  319. package/esm/types/2_message_interactions.js +1 -1
  320. package/esm/types/2_message_reaction_count.d.ts +1 -1
  321. package/esm/types/2_message_reaction_count.js +1 -1
  322. package/esm/types/2_message_reactions.d.ts +1 -1
  323. package/esm/types/2_message_reactions.js +1 -1
  324. package/esm/types/2_poll.d.ts +1 -1
  325. package/esm/types/2_poll.js +1 -1
  326. package/esm/types/2_pre_checkout_query.d.ts +1 -1
  327. package/esm/types/2_pre_checkout_query.js +1 -1
  328. package/esm/types/2_reply_to.d.ts +1 -1
  329. package/esm/types/2_reply_to.js +1 -1
  330. package/esm/types/2_story_content.d.ts +1 -1
  331. package/esm/types/2_story_content.js +1 -1
  332. package/esm/types/2_story_interactions.d.ts +1 -1
  333. package/esm/types/2_story_interactions.js +1 -1
  334. package/esm/types/2_story_interactive_area.d.ts +1 -1
  335. package/esm/types/2_story_interactive_area.js +1 -1
  336. package/esm/types/2_successful_payment.d.ts +1 -1
  337. package/esm/types/2_successful_payment.js +1 -1
  338. package/esm/types/3_chat_member_updated.d.ts +1 -1
  339. package/esm/types/3_chat_member_updated.js +1 -1
  340. package/esm/types/3_gift.d.ts +82 -0
  341. package/esm/types/3_gift.d.ts.map +1 -0
  342. package/esm/types/3_gift.js +88 -0
  343. package/esm/types/3_join_request.d.ts +1 -1
  344. package/esm/types/3_join_request.js +1 -1
  345. package/esm/types/3_reply_markup.d.ts +1 -1
  346. package/esm/types/3_reply_markup.js +1 -1
  347. package/esm/types/3_story.d.ts +1 -1
  348. package/esm/types/3_story.js +1 -1
  349. package/esm/types/4_inline_query_result.d.ts +1 -1
  350. package/esm/types/4_inline_query_result.js +1 -1
  351. package/esm/types/4_message.d.ts +2 -1
  352. package/esm/types/4_message.d.ts.map +1 -1
  353. package/esm/types/4_message.js +9 -3
  354. package/esm/types/4_user_gift.d.ts +44 -0
  355. package/esm/types/4_user_gift.d.ts.map +1 -0
  356. package/esm/types/4_user_gift.js +43 -0
  357. package/esm/types/5_callback_query.d.ts +1 -1
  358. package/esm/types/5_callback_query.js +1 -1
  359. package/esm/types/5_chat_list_item.d.ts +1 -1
  360. package/esm/types/5_chat_list_item.js +1 -1
  361. package/esm/types/5_inline_query_answer.d.ts +1 -1
  362. package/esm/types/5_inline_query_answer.js +1 -1
  363. package/esm/types/5_user_gifts.d.ts +32 -0
  364. package/esm/types/5_user_gifts.d.ts.map +1 -0
  365. package/esm/types/5_user_gifts.js +29 -0
  366. package/esm/types/6_update.d.ts +1 -1
  367. package/esm/types/6_update.js +1 -1
  368. package/esm/types/_file_id.d.ts +1 -1
  369. package/esm/types/_file_id.js +1 -1
  370. package/esm/types/_getters.d.ts +1 -1
  371. package/esm/types/_getters.js +1 -1
  372. package/esm/utilities/0_bigint.js +1 -1
  373. package/esm/utilities/0_buffer.d.ts +1 -1
  374. package/esm/utilities/0_buffer.js +1 -1
  375. package/esm/utilities/0_cache_map.d.ts +1 -1
  376. package/esm/utilities/0_cache_map.js +1 -1
  377. package/esm/utilities/0_color.d.ts +1 -1
  378. package/esm/utilities/0_color.js +1 -1
  379. package/esm/utilities/0_env.js +1 -1
  380. package/esm/utilities/0_gunzip.d.ts +1 -1
  381. package/esm/utilities/0_gunzip.js +1 -1
  382. package/esm/utilities/0_hash.js +1 -1
  383. package/esm/utilities/0_misc.d.ts +1 -1
  384. package/esm/utilities/0_misc.js +1 -1
  385. package/esm/utilities/0_mutex.d.ts +1 -1
  386. package/esm/utilities/0_mutex.js +1 -1
  387. package/esm/utilities/0_object.d.ts +1 -1
  388. package/esm/utilities/0_object.js +1 -1
  389. package/esm/utilities/0_part_stream.d.ts +1 -1
  390. package/esm/utilities/0_part_stream.js +1 -1
  391. package/esm/utilities/0_rle.d.ts +1 -1
  392. package/esm/utilities/0_rle.js +1 -1
  393. package/esm/utilities/0_types.d.ts +1 -1
  394. package/esm/utilities/0_types.js +1 -1
  395. package/esm/utilities/0_units.d.ts +1 -1
  396. package/esm/utilities/0_units.js +1 -1
  397. package/esm/utilities/1_auth.js +1 -1
  398. package/esm/utilities/1_base64.d.ts +1 -1
  399. package/esm/utilities/1_base64.js +1 -1
  400. package/esm/utilities/1_crypto.d.ts +1 -1
  401. package/esm/utilities/1_crypto.js +1 -1
  402. package/esm/utilities/1_logger.d.ts +1 -1
  403. package/esm/utilities/1_logger.js +1 -1
  404. package/esm/utilities/1_math.d.ts +1 -1
  405. package/esm/utilities/1_math.js +1 -1
  406. package/esm/utilities/2_queue.d.ts +1 -1
  407. package/esm/utilities/2_queue.js +1 -1
  408. package/package.json +1 -1
  409. package/script/0_deps.d.ts +1 -1
  410. package/script/0_deps.js +1 -1
  411. package/script/0_errors.d.ts +1 -1
  412. package/script/0_errors.js +1 -1
  413. package/script/1_utilities.d.ts +1 -1
  414. package/script/1_utilities.js +1 -1
  415. package/script/2_connection.d.ts +1 -1
  416. package/script/2_connection.js +1 -1
  417. package/script/2_storage.d.ts +1 -1
  418. package/script/2_storage.js +1 -1
  419. package/script/2_tl.d.ts +1 -1
  420. package/script/2_tl.js +1 -1
  421. package/script/3_errors.d.ts +1 -1
  422. package/script/3_errors.js +1 -1
  423. package/script/3_transport.d.ts +1 -1
  424. package/script/3_transport.js +1 -1
  425. package/script/3_types.d.ts +5 -1
  426. package/script/3_types.d.ts.map +1 -1
  427. package/script/3_types.js +5 -1
  428. package/script/4_constants.d.ts +1 -1
  429. package/script/4_constants.js +2 -2
  430. package/script/4_errors.d.ts +1 -1
  431. package/script/4_errors.js +1 -1
  432. package/script/5_client.d.ts +1 -1
  433. package/script/5_client.js +1 -1
  434. package/script/client/0_client_abstract.js +1 -1
  435. package/script/client/0_filters.d.ts +1 -1
  436. package/script/client/0_filters.js +1 -1
  437. package/script/client/0_html.d.ts +1 -1
  438. package/script/client/0_html.js +1 -1
  439. package/script/client/0_markdown.d.ts +1 -1
  440. package/script/client/0_markdown.js +1 -1
  441. package/script/client/0_message.d.ts +1 -1
  442. package/script/client/0_message.js +1 -1
  443. package/script/client/0_params.d.ts +31 -9
  444. package/script/client/0_params.d.ts.map +1 -1
  445. package/script/client/0_params.js +1 -1
  446. package/script/client/0_password.js +1 -1
  447. package/script/client/0_storage_operations.d.ts +1 -1
  448. package/script/client/0_storage_operations.js +1 -1
  449. package/script/client/0_update_processor.d.ts +7 -0
  450. package/script/client/0_update_processor.d.ts.map +1 -0
  451. package/script/client/0_update_processor.js +2 -0
  452. package/script/client/0_utilities.d.ts +3 -3
  453. package/script/client/0_utilities.d.ts.map +1 -1
  454. package/script/client/0_utilities.js +1 -1
  455. package/script/client/1_client_encrypted.d.ts +1 -1
  456. package/script/client/1_client_encrypted.js +1 -1
  457. package/script/client/1_client_plain.d.ts +1 -1
  458. package/script/client/1_client_plain.js +1 -1
  459. package/script/client/1_composer.d.ts +1 -1
  460. package/script/client/1_composer.js +1 -1
  461. package/script/client/1_types.d.ts +1 -1
  462. package/script/client/1_types.js +1 -1
  463. package/script/client/2_account_manager.d.ts +1 -1
  464. package/script/client/2_account_manager.js +1 -1
  465. package/script/client/2_bot_info_manager.d.ts +1 -1
  466. package/script/client/2_bot_info_manager.js +1 -1
  467. package/script/client/2_business_connection_manager.d.ts +4 -3
  468. package/script/client/2_business_connection_manager.d.ts.map +1 -1
  469. package/script/client/2_business_connection_manager.js +2 -2
  470. package/script/client/2_file_manager.js +1 -1
  471. package/script/client/2_gift_manager.d.ts +29 -0
  472. package/script/client/2_gift_manager.d.ts.map +1 -0
  473. package/script/client/2_gift_manager.js +66 -0
  474. package/script/client/2_network_statistics_manager.d.ts +1 -1
  475. package/script/client/2_network_statistics_manager.js +1 -1
  476. package/script/client/2_payment_manager.d.ts +4 -3
  477. package/script/client/2_payment_manager.d.ts.map +1 -1
  478. package/script/client/2_payment_manager.js +2 -2
  479. package/script/client/2_reaction_manager.d.ts +4 -3
  480. package/script/client/2_reaction_manager.d.ts.map +1 -1
  481. package/script/client/2_reaction_manager.js +2 -2
  482. package/script/client/2_translations_manager.d.ts +3 -2
  483. package/script/client/2_translations_manager.d.ts.map +1 -1
  484. package/script/client/2_translations_manager.js +1 -1
  485. package/script/client/2_update_manager.d.ts +1 -1
  486. package/script/client/2_update_manager.js +1 -1
  487. package/script/client/3_message_manager.d.ts +10 -26
  488. package/script/client/3_message_manager.d.ts.map +1 -1
  489. package/script/client/3_message_manager.js +61 -238
  490. package/script/client/3_video_chat_manager.d.ts +5 -4
  491. package/script/client/3_video_chat_manager.d.ts.map +1 -1
  492. package/script/client/3_video_chat_manager.js +5 -2
  493. package/script/client/4_callback_query_manager.d.ts +4 -3
  494. package/script/client/4_callback_query_manager.d.ts.map +1 -1
  495. package/script/client/4_callback_query_manager.js +2 -2
  496. package/script/client/4_chat_list_manager.d.ts +5 -4
  497. package/script/client/4_chat_list_manager.d.ts.map +1 -1
  498. package/script/client/4_chat_list_manager.js +3 -2
  499. package/script/client/4_chat_manager.d.ts +61 -0
  500. package/script/client/4_chat_manager.d.ts.map +1 -0
  501. package/script/client/4_chat_manager.js +297 -0
  502. package/script/client/4_inline_query_manager.d.ts +4 -3
  503. package/script/client/4_inline_query_manager.d.ts.map +1 -1
  504. package/script/client/4_inline_query_manager.js +2 -2
  505. package/script/client/4_poll_manager.d.ts +4 -3
  506. package/script/client/4_poll_manager.d.ts.map +1 -1
  507. package/script/client/4_poll_manager.js +2 -2
  508. package/script/client/4_story_manager.d.ts +4 -3
  509. package/script/client/4_story_manager.d.ts.map +1 -1
  510. package/script/client/4_story_manager.js +2 -2
  511. package/script/client/5_client.d.ts +44 -7
  512. package/script/client/5_client.d.ts.map +1 -1
  513. package/script/client/5_client.js +182 -73
  514. package/script/connection/0_connection.d.ts +1 -1
  515. package/script/connection/0_connection.js +1 -1
  516. package/script/connection/1_connection_tcp.node.d.ts +1 -1
  517. package/script/connection/1_connection_tcp.node.js +1 -1
  518. package/script/connection/1_connection_web_socket.js +1 -1
  519. package/script/mod.d.ts +1 -1
  520. package/script/mod.js +1 -1
  521. package/script/storage/0_storage.d.ts +1 -1
  522. package/script/storage/0_storage.js +1 -1
  523. package/script/storage/1_utilities.d.ts +1 -1
  524. package/script/storage/1_utilities.js +1 -1
  525. package/script/storage/2_storage_indexed_db.d.ts +1 -1
  526. package/script/storage/2_storage_indexed_db.js +1 -1
  527. package/script/storage/2_storage_local_storage.node.d.ts +1 -1
  528. package/script/storage/2_storage_local_storage.node.js +1 -1
  529. package/script/storage/2_storage_memory.d.ts +1 -1
  530. package/script/storage/2_storage_memory.js +1 -1
  531. package/script/storage/2_storage_session_storage.d.ts +1 -1
  532. package/script/storage/2_storage_session_storage.js +1 -1
  533. package/script/tl/0_api.d.ts +218 -79
  534. package/script/tl/0_api.d.ts.map +1 -1
  535. package/script/tl/0_api.js +362 -159
  536. package/script/tl/0_tl_raw_reader.d.ts +1 -1
  537. package/script/tl/0_tl_raw_reader.js +1 -1
  538. package/script/tl/0_tl_raw_writer.d.ts +1 -1
  539. package/script/tl/0_tl_raw_writer.js +1 -1
  540. package/script/tl/1_utilities.d.ts +1 -1
  541. package/script/tl/1_utilities.js +1 -1
  542. package/script/tl/2_deserialize.d.ts +1 -1
  543. package/script/tl/2_deserialize.js +1 -1
  544. package/script/tl/2_serialize.d.ts +1 -1
  545. package/script/tl/2_serialize.js +1 -1
  546. package/script/tl/3_tl_reader.d.ts +1 -1
  547. package/script/tl/3_tl_reader.js +1 -1
  548. package/script/tl/3_utilities.d.ts +1 -1
  549. package/script/tl/3_utilities.js +1 -1
  550. package/script/tl/4_rpc_result.d.ts +1 -1
  551. package/script/tl/4_rpc_result.js +1 -1
  552. package/script/tl/4_tl_writer.d.ts +1 -1
  553. package/script/tl/4_tl_writer.js +1 -1
  554. package/script/tl/5_message.d.ts +1 -1
  555. package/script/tl/5_message.js +1 -1
  556. package/script/transport/0_obfuscation.js +1 -1
  557. package/script/transport/0_transport.d.ts +1 -1
  558. package/script/transport/0_transport.js +1 -1
  559. package/script/transport/1_transport_abridged.d.ts +1 -1
  560. package/script/transport/1_transport_abridged.js +1 -1
  561. package/script/transport/1_transport_intermediate.d.ts +1 -1
  562. package/script/transport/1_transport_intermediate.js +1 -1
  563. package/script/transport/2_transport_provider.d.ts +1 -1
  564. package/script/transport/2_transport_provider.js +1 -1
  565. package/script/transport/3_transport_provider_tcp.d.ts +1 -1
  566. package/script/transport/3_transport_provider_tcp.js +1 -1
  567. package/script/transport/3_transport_provider_web_socket.d.ts +1 -1
  568. package/script/transport/3_transport_provider_web_socket.js +1 -1
  569. package/script/types/0_authorization_state.d.ts +1 -1
  570. package/script/types/0_authorization_state.js +1 -1
  571. package/script/types/0_birthday.d.ts +1 -1
  572. package/script/types/0_birthday.js +1 -1
  573. package/script/types/0_bot_command.d.ts +1 -1
  574. package/script/types/0_bot_command.js +1 -1
  575. package/script/types/0_callback_query_answer.d.ts +1 -1
  576. package/script/types/0_callback_query_answer.js +1 -1
  577. package/script/types/0_callback_query_question.d.ts +1 -1
  578. package/script/types/0_callback_query_question.js +1 -1
  579. package/script/types/0_chat_action.d.ts +1 -1
  580. package/script/types/0_chat_action.js +1 -1
  581. package/script/types/0_chat_administrator_rights.d.ts +1 -1
  582. package/script/types/0_chat_administrator_rights.js +1 -1
  583. package/script/types/0_chat_member_rights.d.ts +1 -1
  584. package/script/types/0_chat_member_rights.js +1 -1
  585. package/script/types/0_chat_photo.d.ts +1 -1
  586. package/script/types/0_chat_photo.js +1 -1
  587. package/script/types/0_connection_state.d.ts +1 -1
  588. package/script/types/0_connection_state.js +1 -1
  589. package/script/types/0_contact.d.ts +1 -1
  590. package/script/types/0_contact.js +1 -1
  591. package/script/types/0_dice.d.ts +1 -1
  592. package/script/types/0_dice.js +1 -1
  593. package/script/types/0_failed_invitation.d.ts +1 -1
  594. package/script/types/0_failed_invitation.js +1 -1
  595. package/script/types/0_file_source.d.ts +1 -1
  596. package/script/types/0_file_source.js +1 -1
  597. package/script/types/0_giveaway_parameters.d.ts +1 -1
  598. package/script/types/0_giveaway_parameters.js +1 -1
  599. package/script/types/0_id.d.ts +1 -1
  600. package/script/types/0_id.js +1 -1
  601. package/script/types/0_invoice.d.ts +1 -1
  602. package/script/types/0_invoice.js +1 -1
  603. package/script/types/0_keyboard_button_poll_type.d.ts +1 -1
  604. package/script/types/0_keyboard_button_poll_type.js +1 -1
  605. package/script/types/0_link_preview.d.ts +1 -1
  606. package/script/types/0_link_preview.js +1 -1
  607. package/script/types/0_live_stream_channel.d.ts +1 -1
  608. package/script/types/0_live_stream_channel.js +1 -1
  609. package/script/types/0_location.d.ts +1 -1
  610. package/script/types/0_location.js +1 -1
  611. package/script/types/0_login_url.d.ts +1 -1
  612. package/script/types/0_login_url.js +1 -1
  613. package/script/types/0_mask_position.d.ts +1 -1
  614. package/script/types/0_mask_position.js +1 -1
  615. package/script/types/0_message_entity.d.ts +1 -1
  616. package/script/types/0_message_entity.js +1 -1
  617. package/script/types/0_message_reference.d.ts +1 -1
  618. package/script/types/0_message_reference.js +1 -1
  619. package/script/types/0_message_search_filter.d.ts +1 -1
  620. package/script/types/0_message_search_filter.js +1 -1
  621. package/script/types/0_mini_app_info.d.ts +1 -1
  622. package/script/types/0_mini_app_info.js +1 -1
  623. package/script/types/0_network_statistics_entry.d.ts +1 -1
  624. package/script/types/0_network_statistics_entry.js +1 -1
  625. package/script/types/0_opening_hours.d.ts +1 -1
  626. package/script/types/0_opening_hours.js +1 -1
  627. package/script/types/0_parse_mode.d.ts +1 -1
  628. package/script/types/0_parse_mode.js +1 -1
  629. package/script/types/0_price_tag.d.ts +1 -1
  630. package/script/types/0_price_tag.js +1 -1
  631. package/script/types/0_reaction.d.ts +1 -1
  632. package/script/types/0_reaction.js +1 -1
  633. package/script/types/0_refunded_payment.d.ts +1 -1
  634. package/script/types/0_refunded_payment.js +1 -1
  635. package/script/types/0_restriction_reason.d.ts +1 -1
  636. package/script/types/0_restriction_reason.js +1 -1
  637. package/script/types/0_self_destruct_option.d.ts +1 -1
  638. package/script/types/0_self_destruct_option.js +1 -1
  639. package/script/types/0_shipping_address.d.ts +1 -1
  640. package/script/types/0_shipping_address.js +1 -1
  641. package/script/types/0_story_reference.d.ts +1 -1
  642. package/script/types/0_story_reference.js +1 -1
  643. package/script/types/0_switch_inline_query_chosen_chats.d.ts +1 -1
  644. package/script/types/0_switch_inline_query_chosen_chats.js +1 -1
  645. package/script/types/0_thumbnail.d.ts +1 -1
  646. package/script/types/0_thumbnail.js +1 -1
  647. package/script/types/0_video_chat.d.ts +1 -1
  648. package/script/types/0_video_chat.js +1 -1
  649. package/script/types/0_voice.d.ts +1 -1
  650. package/script/types/0_voice.js +1 -1
  651. package/script/types/1_animation.d.ts +1 -1
  652. package/script/types/1_animation.js +1 -1
  653. package/script/types/1_audio.d.ts +1 -1
  654. package/script/types/1_audio.js +1 -1
  655. package/script/types/1_bot_command_scope.d.ts +1 -1
  656. package/script/types/1_bot_command_scope.js +1 -1
  657. package/script/types/1_chat_p.d.ts +1 -1
  658. package/script/types/1_chat_p.js +1 -1
  659. package/script/types/1_document.d.ts +1 -1
  660. package/script/types/1_document.js +1 -1
  661. package/script/types/1_giveaway.d.ts +1 -1
  662. package/script/types/1_giveaway.js +1 -1
  663. package/script/types/1_inline_query_result_button.d.ts +1 -1
  664. package/script/types/1_inline_query_result_button.js +1 -1
  665. package/script/types/1_input_media.d.ts +1 -1
  666. package/script/types/1_input_media.js +1 -1
  667. package/script/types/1_input_story_content.d.ts +1 -1
  668. package/script/types/1_input_story_content.js +1 -1
  669. package/script/types/1_keyboard_button.d.ts +1 -1
  670. package/script/types/1_keyboard_button.js +1 -1
  671. package/script/types/1_message_content.d.ts +2 -2
  672. package/script/types/1_message_content.d.ts.map +1 -1
  673. package/script/types/1_message_content.js +1 -1
  674. package/script/types/1_message_reaction.d.ts +1 -1
  675. package/script/types/1_message_reaction.js +1 -1
  676. package/script/types/1_network_statistics.d.ts +1 -1
  677. package/script/types/1_network_statistics.js +1 -1
  678. package/script/types/1_order_info.d.ts +1 -1
  679. package/script/types/1_order_info.js +1 -1
  680. package/script/types/1_photo.d.ts +1 -1
  681. package/script/types/1_photo.js +1 -1
  682. package/script/types/1_poll_option.d.ts +1 -1
  683. package/script/types/1_poll_option.js +1 -1
  684. package/script/types/1_reaction_count.d.ts +1 -1
  685. package/script/types/1_reaction_count.js +1 -1
  686. package/script/types/1_reply_quote.d.ts +1 -1
  687. package/script/types/1_reply_quote.js +1 -1
  688. package/script/types/1_sticker.d.ts +2 -1
  689. package/script/types/1_sticker.d.ts.map +1 -1
  690. package/script/types/1_sticker.js +8 -3
  691. package/script/types/1_story_privacy.d.ts +1 -1
  692. package/script/types/1_story_privacy.js +1 -1
  693. package/script/types/1_story_reaction.d.ts +1 -1
  694. package/script/types/1_story_reaction.js +1 -1
  695. package/script/types/1_user.d.ts +1 -1
  696. package/script/types/1_user.js +1 -1
  697. package/script/types/1_venue.d.ts +1 -1
  698. package/script/types/1_venue.js +1 -1
  699. package/script/types/1_video.d.ts +1 -1
  700. package/script/types/1_video.js +1 -1
  701. package/script/types/1_video_note.d.ts +1 -1
  702. package/script/types/1_video_note.js +1 -1
  703. package/script/types/2_business_connection.d.ts +1 -1
  704. package/script/types/2_business_connection.js +1 -1
  705. package/script/types/2_chat.d.ts +1 -1
  706. package/script/types/2_chat.js +1 -1
  707. package/script/types/2_chat_member.d.ts +1 -1
  708. package/script/types/2_chat_member.js +1 -1
  709. package/script/types/2_chosen_inline_result.d.ts +1 -1
  710. package/script/types/2_chosen_inline_result.js +1 -1
  711. package/script/types/2_forward_header.d.ts +1 -1
  712. package/script/types/2_forward_header.js +1 -1
  713. package/script/types/2_game.d.ts +1 -1
  714. package/script/types/2_game.js +1 -1
  715. package/script/types/2_gift_upgraded_component.d.ts +95 -0
  716. package/script/types/2_gift_upgraded_component.d.ts.map +1 -0
  717. package/script/types/2_gift_upgraded_component.js +91 -0
  718. package/script/types/2_inactive_chat.d.ts +1 -1
  719. package/script/types/2_inactive_chat.js +1 -1
  720. package/script/types/2_inline_keyboard_button.d.ts +1 -1
  721. package/script/types/2_inline_keyboard_button.js +1 -1
  722. package/script/types/2_inline_query.d.ts +1 -1
  723. package/script/types/2_inline_query.js +1 -1
  724. package/script/types/2_invite_link.d.ts +1 -1
  725. package/script/types/2_invite_link.js +1 -1
  726. package/script/types/2_message_interactions.d.ts +1 -1
  727. package/script/types/2_message_interactions.js +1 -1
  728. package/script/types/2_message_reaction_count.d.ts +1 -1
  729. package/script/types/2_message_reaction_count.js +1 -1
  730. package/script/types/2_message_reactions.d.ts +1 -1
  731. package/script/types/2_message_reactions.js +1 -1
  732. package/script/types/2_poll.d.ts +1 -1
  733. package/script/types/2_poll.js +1 -1
  734. package/script/types/2_pre_checkout_query.d.ts +1 -1
  735. package/script/types/2_pre_checkout_query.js +1 -1
  736. package/script/types/2_reply_to.d.ts +1 -1
  737. package/script/types/2_reply_to.js +1 -1
  738. package/script/types/2_story_content.d.ts +1 -1
  739. package/script/types/2_story_content.js +1 -1
  740. package/script/types/2_story_interactions.d.ts +1 -1
  741. package/script/types/2_story_interactions.js +1 -1
  742. package/script/types/2_story_interactive_area.d.ts +1 -1
  743. package/script/types/2_story_interactive_area.js +1 -1
  744. package/script/types/2_successful_payment.d.ts +1 -1
  745. package/script/types/2_successful_payment.js +1 -1
  746. package/script/types/3_chat_member_updated.d.ts +1 -1
  747. package/script/types/3_chat_member_updated.js +1 -1
  748. package/script/types/3_gift.d.ts +82 -0
  749. package/script/types/3_gift.d.ts.map +1 -0
  750. package/script/types/3_gift.js +93 -0
  751. package/script/types/3_join_request.d.ts +1 -1
  752. package/script/types/3_join_request.js +1 -1
  753. package/script/types/3_reply_markup.d.ts +1 -1
  754. package/script/types/3_reply_markup.js +1 -1
  755. package/script/types/3_story.d.ts +1 -1
  756. package/script/types/3_story.js +1 -1
  757. package/script/types/4_inline_query_result.d.ts +1 -1
  758. package/script/types/4_inline_query_result.js +1 -1
  759. package/script/types/4_message.d.ts +2 -1
  760. package/script/types/4_message.d.ts.map +1 -1
  761. package/script/types/4_message.js +10 -3
  762. package/script/types/4_user_gift.d.ts +44 -0
  763. package/script/types/4_user_gift.d.ts.map +1 -0
  764. package/script/types/4_user_gift.js +46 -0
  765. package/script/types/5_callback_query.d.ts +1 -1
  766. package/script/types/5_callback_query.js +1 -1
  767. package/script/types/5_chat_list_item.d.ts +1 -1
  768. package/script/types/5_chat_list_item.js +1 -1
  769. package/script/types/5_inline_query_answer.d.ts +1 -1
  770. package/script/types/5_inline_query_answer.js +1 -1
  771. package/script/types/5_user_gifts.d.ts +32 -0
  772. package/script/types/5_user_gifts.d.ts.map +1 -0
  773. package/script/types/5_user_gifts.js +32 -0
  774. package/script/types/6_update.d.ts +1 -1
  775. package/script/types/6_update.js +1 -1
  776. package/script/types/_file_id.d.ts +1 -1
  777. package/script/types/_file_id.js +1 -1
  778. package/script/types/_getters.d.ts +1 -1
  779. package/script/types/_getters.js +1 -1
  780. package/script/utilities/0_bigint.js +1 -1
  781. package/script/utilities/0_buffer.d.ts +1 -1
  782. package/script/utilities/0_buffer.js +1 -1
  783. package/script/utilities/0_cache_map.d.ts +1 -1
  784. package/script/utilities/0_cache_map.js +1 -1
  785. package/script/utilities/0_color.d.ts +1 -1
  786. package/script/utilities/0_color.js +1 -1
  787. package/script/utilities/0_env.js +1 -1
  788. package/script/utilities/0_gunzip.d.ts +1 -1
  789. package/script/utilities/0_gunzip.js +1 -1
  790. package/script/utilities/0_hash.js +1 -1
  791. package/script/utilities/0_misc.d.ts +1 -1
  792. package/script/utilities/0_misc.js +1 -1
  793. package/script/utilities/0_mutex.d.ts +1 -1
  794. package/script/utilities/0_mutex.js +1 -1
  795. package/script/utilities/0_object.d.ts +1 -1
  796. package/script/utilities/0_object.js +1 -1
  797. package/script/utilities/0_part_stream.d.ts +1 -1
  798. package/script/utilities/0_part_stream.js +1 -1
  799. package/script/utilities/0_rle.d.ts +1 -1
  800. package/script/utilities/0_rle.js +1 -1
  801. package/script/utilities/0_types.d.ts +1 -1
  802. package/script/utilities/0_types.js +1 -1
  803. package/script/utilities/0_units.d.ts +1 -1
  804. package/script/utilities/0_units.js +1 -1
  805. package/script/utilities/1_auth.js +1 -1
  806. package/script/utilities/1_base64.d.ts +1 -1
  807. package/script/utilities/1_base64.js +1 -1
  808. package/script/utilities/1_crypto.d.ts +1 -1
  809. package/script/utilities/1_crypto.js +1 -1
  810. package/script/utilities/1_logger.d.ts +1 -1
  811. package/script/utilities/1_logger.js +1 -1
  812. package/script/utilities/1_math.d.ts +1 -1
  813. package/script/utilities/1_math.js +1 -1
  814. package/script/utilities/2_queue.d.ts +1 -1
  815. package/script/utilities/2_queue.js +1 -1
package/esm/tl/0_api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * MTKruto - Cross-runtime JavaScript library for building Telegram clients
3
- * Copyright (C) 2023-2024 Roj <https://roj.im/>
3
+ * Copyright (C) 2023-2025 Roj <https://roj.im/>
4
4
  *
5
5
  * This file is part of MTKruto.
6
6
  *
@@ -55,12 +55,7 @@ const map = new Map([
55
55
  [0x9299359F, "http_wait"],
56
56
  [0x3FEDD339, "true"],
57
57
  [0xC4B9F9BB, "error"],
58
- [0xD433AD73, "ipPort"],
59
- [0x37982646, "ipPortSecret"],
60
- [0x4679B65F, "accessPointRule"],
61
- [0x5A592A6C, "help.configSimple"],
62
- [0x27D69997, "inputPeerPhotoFileLocationLegacy"],
63
- [0x0DBAEAE9, "inputStickerSetThumbLegacy"],
58
+ [0x56730BCC, "null"],
64
59
  [0x7F3B18EA, "inputPeerEmpty"],
65
60
  [0x7DA07EC9, "inputPeerSelf"],
66
61
  [0x35A95CB9, "inputPeerChat"],
@@ -125,7 +120,7 @@ const map = new Map([
125
120
  [0xB3CEA0E4, "storage.fileMp4"],
126
121
  [0x1081464C, "storage.fileWebp"],
127
122
  [0xD3BC4B7A, "userEmpty"],
128
- [0x83314FCA, "user"],
123
+ [0x4B46C37E, "user"],
129
124
  [0x4F11BAE1, "userProfilePhotoEmpty"],
130
125
  [0x82D1F706, "userProfilePhoto"],
131
126
  [0x09D05049, "userStatusEmpty"],
@@ -137,10 +132,10 @@ const map = new Map([
137
132
  [0x29562865, "chatEmpty"],
138
133
  [0x41CBF256, "chat"],
139
134
  [0x6592A1A7, "chatForbidden"],
140
- [0xFE4478BD, "channel"],
135
+ [0xE00998B7, "channel"],
141
136
  [0x17D493D5, "channelForbidden"],
142
137
  [0x2633421B, "chatFull"],
143
- [0xBBAB348D, "channelFull"],
138
+ [0x9FF3B858, "channelFull"],
144
139
  [0xC02D4007, "chatParticipant"],
145
140
  [0xE46BCEE4, "chatParticipantCreator"],
146
141
  [0xA0933F5B, "chatParticipantAdmin"],
@@ -149,8 +144,8 @@ const map = new Map([
149
144
  [0x37C1011C, "chatPhotoEmpty"],
150
145
  [0x1C6E1C11, "chatPhoto"],
151
146
  [0x90A6CA84, "messageEmpty"],
152
- [0x94345242, "message"],
153
- [0x2B085862, "messageService"],
147
+ [0x96FDBBE9, "message"],
148
+ [0xD3D28540, "messageService"],
154
149
  [0x3DED6320, "messageMediaEmpty"],
155
150
  [0x695150D7, "messageMediaPhoto"],
156
151
  [0x56E0D474, "messageMediaGeo"],
@@ -214,7 +209,8 @@ const map = new Map([
214
209
  [0x41B3E202, "messageActionPaymentRefunded"],
215
210
  [0x45D5B021, "messageActionGiftStars"],
216
211
  [0xB00C47A2, "messageActionPrizeStars"],
217
- [0x08557637, "messageActionStarGift"],
212
+ [0xD8F4F0A7, "messageActionStarGift"],
213
+ [0x26077B99, "messageActionStarGiftUnique"],
218
214
  [0xD58A08C6, "dialog"],
219
215
  [0x71BD134C, "dialogFolder"],
220
216
  [0x2331B22D, "photoEmpty"],
@@ -252,7 +248,7 @@ const map = new Map([
252
248
  [0xF5DDD6E7, "inputReportReasonFake"],
253
249
  [0x0A8EB2BE, "inputReportReasonIllegalDrugs"],
254
250
  [0x9EC7863D, "inputReportReasonPersonalDetails"],
255
- [0x979D2376, "userFull"],
251
+ [0x4D975BBC, "userFull"],
256
252
  [0x145ADE0B, "contact"],
257
253
  [0xC13E3C50, "importedContact"],
258
254
  [0x16D9703B, "contactStatus"],
@@ -375,7 +371,7 @@ const map = new Map([
375
371
  [0x5BB98608, "updatePinnedChannelMessages"],
376
372
  [0xF89A6A4E, "updateChat"],
377
373
  [0xF2EBDB4E, "updateGroupCallParticipants"],
378
- [0x14B24500, "updateGroupCall"],
374
+ [0x97D64341, "updateGroupCall"],
379
375
  [0xBB9BB9A5, "updatePeerHistoryTTL"],
380
376
  [0xD087663A, "updateChatParticipant"],
381
377
  [0x985D3ABB, "updateChannelParticipant"],
@@ -578,7 +574,7 @@ const map = new Map([
578
574
  [0xA22CBD96, "chatInviteExported"],
579
575
  [0xED107AB7, "chatInvitePublicJoinRequests"],
580
576
  [0x5A686D7C, "chatInviteAlready"],
581
- [0xFE65389D, "chatInvite"],
577
+ [0x5C9D3702, "chatInvite"],
582
578
  [0x61695CB0, "chatInvitePeek"],
583
579
  [0xFFB62B95, "inputStickerSetEmpty"],
584
580
  [0x9DE7A269, "inputStickerSetID"],
@@ -595,7 +591,7 @@ const map = new Map([
595
591
  [0x6E153F16, "messages.stickerSet"],
596
592
  [0xD3F924EB, "messages.stickerSetNotModified"],
597
593
  [0xC27AC8C7, "botCommand"],
598
- [0x36607333, "botInfo"],
594
+ [0x4D8A0299, "botInfo"],
599
595
  [0xA2FA4880, "keyboardButton"],
600
596
  [0x258AFF05, "keyboardButtonUrl"],
601
597
  [0x35BBDB6B, "keyboardButtonCallback"],
@@ -800,6 +796,7 @@ const map = new Map([
800
796
  [0xE095C1A0, "phoneCallDiscardReasonDisconnect"],
801
797
  [0x57ADC690, "phoneCallDiscardReasonHangup"],
802
798
  [0xFAF7E8C9, "phoneCallDiscardReasonBusy"],
799
+ [0xAFE2B839, "phoneCallDiscardReasonAllowGroupCall"],
803
800
  [0x7D748D04, "dataJSON"],
804
801
  [0xCB296BF8, "labeledPrice"],
805
802
  [0x049EE584, "invoice"],
@@ -832,11 +829,11 @@ const map = new Map([
832
829
  [0x32DA9E9C, "inputStickerSetItem"],
833
830
  [0x1E36FDED, "inputPhoneCall"],
834
831
  [0x5366C915, "phoneCallEmpty"],
835
- [0xC5226F17, "phoneCallWaiting"],
836
- [0x14B0ED0C, "phoneCallRequested"],
837
- [0x3660C311, "phoneCallAccepted"],
838
- [0x30535AF5, "phoneCall"],
839
- [0x50CA4DE1, "phoneCallDiscarded"],
832
+ [0xEED42858, "phoneCallWaiting"],
833
+ [0x45361C63, "phoneCallRequested"],
834
+ [0x22FD7181, "phoneCallAccepted"],
835
+ [0x3BA5940C, "phoneCall"],
836
+ [0xF9D25503, "phoneCallDiscarded"],
840
837
  [0x9CC123C7, "phoneConnection"],
841
838
  [0x635FE375, "phoneConnectionWebrtc"],
842
839
  [0xFC878FC8, "phoneCallProtocol"],
@@ -1057,9 +1054,9 @@ const map = new Map([
1057
1054
  [0x4899484E, "messages.votesList"],
1058
1055
  [0xF568028A, "bankCardOpenUrl"],
1059
1056
  [0x3E24E573, "payments.bankCardData"],
1060
- [0x5FB5523B, "dialogFilter"],
1057
+ [0xAA472651, "dialogFilter"],
1061
1058
  [0x363293AE, "dialogFilterDefault"],
1062
- [0x9FE28EA4, "dialogFilterChatlist"],
1059
+ [0x96537BD7, "dialogFilterChatlist"],
1063
1060
  [0x77744D4A, "dialogFilterSuggested"],
1064
1061
  [0xB637EDAF, "statsDateRangeDays"],
1065
1062
  [0xCB43ACDE, "statsAbsValueAndPrev"],
@@ -1091,7 +1088,7 @@ const map = new Map([
1091
1088
  [0xE8FD8014, "peerBlocked"],
1092
1089
  [0x7FE91C14, "stats.messageStats"],
1093
1090
  [0x7780BCB4, "groupCallDiscarded"],
1094
- [0xD597650C, "groupCall"],
1091
+ [0xCDF8D3E3, "groupCall"],
1095
1092
  [0xD8AA840F, "inputGroupCall"],
1096
1093
  [0xEBA636FE, "groupCallParticipant"],
1097
1094
  [0x9E727AAD, "phone.groupCall"],
@@ -1179,6 +1176,8 @@ const map = new Map([
1179
1176
  [0x65F00CE3, "inputInvoiceStars"],
1180
1177
  [0x34E793F1, "inputInvoiceChatInviteSubscription"],
1181
1178
  [0x25D8C1D8, "inputInvoiceStarGift"],
1179
+ [0x5EBE7262, "inputInvoiceStarGiftUpgrade"],
1180
+ [0xAE3BA9ED, "inputInvoiceStarGiftTransfer"],
1182
1181
  [0xAED0CBD9, "payments.exportedInvoice"],
1183
1182
  [0xCFB9D957, "messages.transcribedAudio"],
1184
1183
  [0x5334759C, "help.premiumPromo"],
@@ -1253,7 +1252,7 @@ const map = new Map([
1253
1252
  [0x10E6E3A6, "chatlists.exportedChatlistInvite"],
1254
1253
  [0x10AB6DC7, "chatlists.exportedInvites"],
1255
1254
  [0xFA87F659, "chatlists.chatlistInviteAlready"],
1256
- [0x1DCD839D, "chatlists.chatlistInvite"],
1255
+ [0xF10ECE2F, "chatlists.chatlistInvite"],
1257
1256
  [0x93BD878D, "chatlists.chatlistUpdates"],
1258
1257
  [0xE8A775B0, "bots.botInfo"],
1259
1258
  [0xB6CC2D5C, "messagePeerVote"],
@@ -1416,10 +1415,11 @@ const map = new Map([
1416
1415
  [0x4BA3A95A, "messageReactor"],
1417
1416
  [0x94CE852A, "starsGiveawayOption"],
1418
1417
  [0x54236209, "starsGiveawayWinnersOption"],
1419
- [0x49C577CD, "starGift"],
1418
+ [0x02CC73C8, "starGift"],
1419
+ [0x6A1407CD, "starGiftUnique"],
1420
1420
  [0xA388A368, "payments.starGiftsNotModified"],
1421
1421
  [0x901689EA, "payments.starGifts"],
1422
- [0xEEA49A6E, "userStarGift"],
1422
+ [0x325835E1, "userStarGift"],
1423
1423
  [0x6B65B517, "payments.userStarGifts"],
1424
1424
  [0x7903E3D9, "messageReportOption"],
1425
1425
  [0xF0E4E0B6, "reportResultChooseOption"],
@@ -1435,6 +1435,15 @@ const map = new Map([
1435
1435
  [0xBBB6B4A3, "starsAmount"],
1436
1436
  [0x6010C534, "messages.foundStickersNotModified"],
1437
1437
  [0x82C9E290, "messages.foundStickers"],
1438
+ [0xB0CD6617, "botVerifierSettings"],
1439
+ [0xF93CD45C, "botVerification"],
1440
+ [0x39D99013, "starGiftAttributeModel"],
1441
+ [0x13ACFF19, "starGiftAttributePattern"],
1442
+ [0x94271762, "starGiftAttributeBackdrop"],
1443
+ [0xC02C4F4B, "starGiftAttributeOriginalDetails"],
1444
+ [0x167BD90B, "payments.starGiftUpgradePreview"],
1445
+ [0x62D706B8, "users.users"],
1446
+ [0x315A4974, "users.usersSlice"],
1438
1447
  ]);
1439
1448
  export const getTypeName = map.get.bind(map);
1440
1449
  export const flags = Symbol();
@@ -1465,10 +1474,7 @@ const enums = new Map([
1465
1474
  ["HttpWait", ["http_wait"]],
1466
1475
  ["True", ["true"]],
1467
1476
  ["Error", ["error"]],
1468
- ["IpPort", ["ipPort", "ipPortSecret"]],
1469
- ["AccessPointRule", ["accessPointRule"]],
1470
- ["help.ConfigSimple", ["help.configSimple"]],
1471
- ["InputFileLocation", ["inputPeerPhotoFileLocationLegacy", "inputStickerSetThumbLegacy", "inputFileLocation", "inputEncryptedFileLocation", "inputDocumentFileLocation", "inputSecureFileLocation", "inputTakeoutFileLocation", "inputPhotoFileLocation", "inputPhotoLegacyFileLocation", "inputPeerPhotoFileLocation", "inputStickerSetThumb", "inputGroupCallStream"]],
1477
+ ["Null", ["null"]],
1472
1478
  ["InputPeer", ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]],
1473
1479
  ["InputUser", ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]],
1474
1480
  ["InputContact", ["inputPhoneContact"]],
@@ -1477,6 +1483,7 @@ const enums = new Map([
1477
1483
  ["InputChatPhoto", ["inputChatPhotoEmpty", "inputChatUploadedPhoto", "inputChatPhoto"]],
1478
1484
  ["InputGeoPoint", ["inputGeoPointEmpty", "inputGeoPoint"]],
1479
1485
  ["InputPhoto", ["inputPhotoEmpty", "inputPhoto"]],
1486
+ ["InputFileLocation", ["inputFileLocation", "inputEncryptedFileLocation", "inputDocumentFileLocation", "inputSecureFileLocation", "inputTakeoutFileLocation", "inputPhotoFileLocation", "inputPhotoLegacyFileLocation", "inputPeerPhotoFileLocation", "inputStickerSetThumb", "inputGroupCallStream"]],
1480
1487
  ["Peer", ["peerUser", "peerChat", "peerChannel"]],
1481
1488
  ["storage.FileType", ["storage.fileUnknown", "storage.filePartial", "storage.fileJpeg", "storage.fileGif", "storage.filePng", "storage.filePdf", "storage.fileMp3", "storage.fileMov", "storage.fileMp4", "storage.fileWebp"]],
1482
1489
  ["User", ["userEmpty", "user"]],
@@ -1489,7 +1496,7 @@ const enums = new Map([
1489
1496
  ["ChatPhoto", ["chatPhotoEmpty", "chatPhoto"]],
1490
1497
  ["Message", ["messageEmpty", "message", "messageService"]],
1491
1498
  ["MessageMedia", ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia"]],
1492
- ["MessageAction", ["messageActionEmpty", "messageActionChatCreate", "messageActionChatEditTitle", "messageActionChatEditPhoto", "messageActionChatDeletePhoto", "messageActionChatAddUser", "messageActionChatDeleteUser", "messageActionChatJoinedByLink", "messageActionChannelCreate", "messageActionChatMigrateTo", "messageActionChannelMigrateFrom", "messageActionPinMessage", "messageActionHistoryClear", "messageActionGameScore", "messageActionPaymentSentMe", "messageActionPaymentSent", "messageActionPhoneCall", "messageActionScreenshotTaken", "messageActionCustomAction", "messageActionBotAllowed", "messageActionSecureValuesSentMe", "messageActionSecureValuesSent", "messageActionContactSignUp", "messageActionGeoProximityReached", "messageActionGroupCall", "messageActionInviteToGroupCall", "messageActionSetMessagesTTL", "messageActionGroupCallScheduled", "messageActionSetChatTheme", "messageActionChatJoinedByRequest", "messageActionWebViewDataSentMe", "messageActionWebViewDataSent", "messageActionGiftPremium", "messageActionTopicCreate", "messageActionTopicEdit", "messageActionSuggestProfilePhoto", "messageActionRequestedPeer", "messageActionSetChatWallPaper", "messageActionGiftCode", "messageActionGiveawayLaunch", "messageActionGiveawayResults", "messageActionBoostApply", "messageActionRequestedPeerSentMe", "messageActionPaymentRefunded", "messageActionGiftStars", "messageActionPrizeStars", "messageActionStarGift"]],
1499
+ ["MessageAction", ["messageActionEmpty", "messageActionChatCreate", "messageActionChatEditTitle", "messageActionChatEditPhoto", "messageActionChatDeletePhoto", "messageActionChatAddUser", "messageActionChatDeleteUser", "messageActionChatJoinedByLink", "messageActionChannelCreate", "messageActionChatMigrateTo", "messageActionChannelMigrateFrom", "messageActionPinMessage", "messageActionHistoryClear", "messageActionGameScore", "messageActionPaymentSentMe", "messageActionPaymentSent", "messageActionPhoneCall", "messageActionScreenshotTaken", "messageActionCustomAction", "messageActionBotAllowed", "messageActionSecureValuesSentMe", "messageActionSecureValuesSent", "messageActionContactSignUp", "messageActionGeoProximityReached", "messageActionGroupCall", "messageActionInviteToGroupCall", "messageActionSetMessagesTTL", "messageActionGroupCallScheduled", "messageActionSetChatTheme", "messageActionChatJoinedByRequest", "messageActionWebViewDataSentMe", "messageActionWebViewDataSent", "messageActionGiftPremium", "messageActionTopicCreate", "messageActionTopicEdit", "messageActionSuggestProfilePhoto", "messageActionRequestedPeer", "messageActionSetChatWallPaper", "messageActionGiftCode", "messageActionGiveawayLaunch", "messageActionGiveawayResults", "messageActionBoostApply", "messageActionRequestedPeerSentMe", "messageActionPaymentRefunded", "messageActionGiftStars", "messageActionPrizeStars", "messageActionStarGift", "messageActionStarGiftUnique"]],
1493
1500
  ["Dialog", ["dialog", "dialogFolder"]],
1494
1501
  ["Photo", ["photoEmpty", "photo"]],
1495
1502
  ["PhotoSize", ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]],
@@ -1756,7 +1763,7 @@ const enums = new Map([
1756
1763
  ["messages.HighScores", ["messages.highScores"]],
1757
1764
  ["RichText", ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor"]],
1758
1765
  ["PageBlock", ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap"]],
1759
- ["PhoneCallDiscardReason", ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy"]],
1766
+ ["PhoneCallDiscardReason", ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy", "phoneCallDiscardReasonAllowGroupCall"]],
1760
1767
  ["DataJSON", ["dataJSON"]],
1761
1768
  ["LabeledPrice", ["labeledPrice"]],
1762
1769
  ["Invoice", ["invoice"]],
@@ -2007,7 +2014,7 @@ const enums = new Map([
2007
2014
  ["NotificationSound", ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]],
2008
2015
  ["account.SavedRingtone", ["account.savedRingtone", "account.savedRingtoneConverted"]],
2009
2016
  ["AttachMenuPeerType", ["attachMenuPeerTypeSameBotPM", "attachMenuPeerTypeBotPM", "attachMenuPeerTypePM", "attachMenuPeerTypeChat", "attachMenuPeerTypeBroadcast"]],
2010
- ["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription", "inputInvoiceStarGift"]],
2017
+ ["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription", "inputInvoiceStarGift", "inputInvoiceStarGiftUpgrade", "inputInvoiceStarGiftTransfer"]],
2011
2018
  ["payments.ExportedInvoice", ["payments.exportedInvoice"]],
2012
2019
  ["messages.TranscribedAudio", ["messages.transcribedAudio"]],
2013
2020
  ["help.PremiumPromo", ["help.premiumPromo"]],
@@ -2166,7 +2173,7 @@ const enums = new Map([
2166
2173
  ["MessageReactor", ["messageReactor"]],
2167
2174
  ["StarsGiveawayOption", ["starsGiveawayOption"]],
2168
2175
  ["StarsGiveawayWinnersOption", ["starsGiveawayWinnersOption"]],
2169
- ["StarGift", ["starGift"]],
2176
+ ["StarGift", ["starGift", "starGiftUnique"]],
2170
2177
  ["payments.StarGifts", ["payments.starGiftsNotModified", "payments.starGifts"]],
2171
2178
  ["UserStarGift", ["userStarGift"]],
2172
2179
  ["payments.UserStarGifts", ["payments.userStarGifts"]],
@@ -2181,6 +2188,11 @@ const enums = new Map([
2181
2188
  ["payments.SuggestedStarRefBots", ["payments.suggestedStarRefBots"]],
2182
2189
  ["StarsAmount", ["starsAmount"]],
2183
2190
  ["messages.FoundStickers", ["messages.foundStickersNotModified", "messages.foundStickers"]],
2191
+ ["BotVerifierSettings", ["botVerifierSettings"]],
2192
+ ["BotVerification", ["botVerification"]],
2193
+ ["StarGiftAttribute", ["starGiftAttributeModel", "starGiftAttributePattern", "starGiftAttributeBackdrop", "starGiftAttributeOriginalDetails"]],
2194
+ ["payments.StarGiftUpgradePreview", ["payments.starGiftUpgradePreview"]],
2195
+ ["users.Users", ["users.users", "users.usersSlice"]],
2184
2196
  ]);
2185
2197
  const types = new Map([
2186
2198
  [
@@ -2557,70 +2569,10 @@ const types = new Map([
2557
2569
  ],
2558
2570
  ],
2559
2571
  [
2560
- "ipPort",
2572
+ "null",
2561
2573
  [
2562
- 0xD433AD73,
2563
- [
2564
- ["ipv4", "number", "int"],
2565
- ["port", "number", "int"],
2566
- ],
2567
- ],
2568
- ],
2569
- [
2570
- "ipPortSecret",
2571
- [
2572
- 0x37982646,
2573
- [
2574
- ["ipv4", "number", "int"],
2575
- ["port", "number", "int"],
2576
- ["secret", Uint8Array, "bytes"],
2577
- ],
2578
- ],
2579
- ],
2580
- [
2581
- "accessPointRule",
2582
- [
2583
- 0x4679B65F,
2584
- [
2585
- ["phone_prefix_rules", "string", "string"],
2586
- ["dc_id", "number", "int"],
2587
- ["ips", ["IpPort"], "vector<IpPort>"],
2588
- ],
2589
- ],
2590
- ],
2591
- [
2592
- "help.configSimple",
2593
- [
2594
- 0x5A592A6C,
2595
- [
2596
- ["date", "number", "int"],
2597
- ["expires", "number", "int"],
2598
- ["rules", ["AccessPointRule"], "vector<AccessPointRule>"],
2599
- ],
2600
- ],
2601
- ],
2602
- [
2603
- "inputPeerPhotoFileLocationLegacy",
2604
- [
2605
- 0x27D69997,
2606
- [
2607
- ["flags", flags, "#"],
2608
- ["big", "true", "flags.0?true"],
2609
- ["peer", "InputPeer", "InputPeer"],
2610
- ["volume_id", "bigint", "long"],
2611
- ["local_id", "number", "int"],
2612
- ],
2613
- ],
2614
- ],
2615
- [
2616
- "inputStickerSetThumbLegacy",
2617
- [
2618
- 0x0DBAEAE9,
2619
- [
2620
- ["stickerset", "InputStickerSet", "InputStickerSet"],
2621
- ["volume_id", "bigint", "long"],
2622
- ["local_id", "number", "int"],
2623
- ],
2574
+ 0x56730BCC,
2575
+ [],
2624
2576
  ],
2625
2577
  ],
2626
2578
  [
@@ -3275,7 +3227,7 @@ const types = new Map([
3275
3227
  [
3276
3228
  "user",
3277
3229
  [
3278
- 0x83314FCA,
3230
+ 0x4B46C37E,
3279
3231
  [
3280
3232
  ["flags", flags, "#"],
3281
3233
  ["self", "true", "flags.10?true"],
@@ -3322,6 +3274,7 @@ const types = new Map([
3322
3274
  ["color", "PeerColor", "flags2.8?PeerColor"],
3323
3275
  ["profile_color", "PeerColor", "flags2.9?PeerColor"],
3324
3276
  ["bot_active_users", "number", "flags2.12?int"],
3277
+ ["bot_verification_icon", "bigint", "flags2.14?long"],
3325
3278
  ],
3326
3279
  ],
3327
3280
  ],
@@ -3447,7 +3400,7 @@ const types = new Map([
3447
3400
  [
3448
3401
  "channel",
3449
3402
  [
3450
- 0xFE4478BD,
3403
+ 0xE00998B7,
3451
3404
  [
3452
3405
  ["flags", flags, "#"],
3453
3406
  ["creator", "true", "flags.0?true"],
@@ -3493,6 +3446,7 @@ const types = new Map([
3493
3446
  ["emoji_status", "EmojiStatus", "flags2.9?EmojiStatus"],
3494
3447
  ["level", "number", "flags2.10?int"],
3495
3448
  ["subscription_until_date", "number", "flags2.11?int"],
3449
+ ["bot_verification_icon", "bigint", "flags2.13?long"],
3496
3450
  ],
3497
3451
  ],
3498
3452
  ],
@@ -3543,7 +3497,7 @@ const types = new Map([
3543
3497
  [
3544
3498
  "channelFull",
3545
3499
  [
3546
- 0xBBAB348D,
3500
+ 0x9FF3B858,
3547
3501
  [
3548
3502
  ["flags", flags, "#"],
3549
3503
  ["can_view_participants", "true", "flags.3?true"],
@@ -3607,6 +3561,7 @@ const types = new Map([
3607
3561
  ["boosts_applied", "number", "flags2.8?int"],
3608
3562
  ["boosts_unrestrict", "number", "flags2.9?int"],
3609
3563
  ["emojiset", "StickerSet", "flags2.10?StickerSet"],
3564
+ ["bot_verification", "BotVerification", "flags2.17?BotVerification"],
3610
3565
  ],
3611
3566
  ],
3612
3567
  ],
@@ -3697,7 +3652,7 @@ const types = new Map([
3697
3652
  [
3698
3653
  "message",
3699
3654
  [
3700
- 0x94345242,
3655
+ 0x96FDBBE9,
3701
3656
  [
3702
3657
  ["flags", flags, "#"],
3703
3658
  ["out", "true", "flags.1?true"],
@@ -3740,18 +3695,20 @@ const types = new Map([
3740
3695
  ["quick_reply_shortcut_id", "number", "flags.30?int"],
3741
3696
  ["effect", "bigint", "flags2.2?long"],
3742
3697
  ["factcheck", "FactCheck", "flags2.3?FactCheck"],
3698
+ ["report_delivery_until_date", "number", "flags2.5?int"],
3743
3699
  ],
3744
3700
  ],
3745
3701
  ],
3746
3702
  [
3747
3703
  "messageService",
3748
3704
  [
3749
- 0x2B085862,
3705
+ 0xD3D28540,
3750
3706
  [
3751
3707
  ["flags", flags, "#"],
3752
3708
  ["out", "true", "flags.1?true"],
3753
3709
  ["mentioned", "true", "flags.4?true"],
3754
3710
  ["media_unread", "true", "flags.5?true"],
3711
+ ["reactions_are_possible", "true", "flags.9?true"],
3755
3712
  ["silent", "true", "flags.13?true"],
3756
3713
  ["post", "true", "flags.14?true"],
3757
3714
  ["legacy", "true", "flags.19?true"],
@@ -3761,6 +3718,7 @@ const types = new Map([
3761
3718
  ["reply_to", "MessageReplyHeader", "flags.3?MessageReplyHeader"],
3762
3719
  ["date", "number", "int"],
3763
3720
  ["action", "MessageAction", "MessageAction"],
3721
+ ["reactions", "MessageReactions", "flags.20?MessageReactions"],
3764
3722
  ["ttl_period", "number", "flags.25?int"],
3765
3723
  ],
3766
3724
  ],
@@ -4468,15 +4426,36 @@ const types = new Map([
4468
4426
  [
4469
4427
  "messageActionStarGift",
4470
4428
  [
4471
- 0x08557637,
4429
+ 0xD8F4F0A7,
4472
4430
  [
4473
4431
  ["flags", flags, "#"],
4474
4432
  ["name_hidden", "true", "flags.0?true"],
4475
4433
  ["saved", "true", "flags.2?true"],
4476
4434
  ["converted", "true", "flags.3?true"],
4435
+ ["upgraded", "true", "flags.5?true"],
4436
+ ["refunded", "true", "flags.9?true"],
4437
+ ["can_upgrade", "true", "flags.10?true"],
4477
4438
  ["gift", "StarGift", "StarGift"],
4478
4439
  ["message", "TextWithEntities", "flags.1?TextWithEntities"],
4479
4440
  ["convert_stars", "bigint", "flags.4?long"],
4441
+ ["upgrade_msg_id", "number", "flags.5?int"],
4442
+ ["upgrade_stars", "bigint", "flags.8?long"],
4443
+ ],
4444
+ ],
4445
+ ],
4446
+ [
4447
+ "messageActionStarGiftUnique",
4448
+ [
4449
+ 0x26077B99,
4450
+ [
4451
+ ["flags", flags, "#"],
4452
+ ["upgrade", "true", "flags.0?true"],
4453
+ ["transferred", "true", "flags.1?true"],
4454
+ ["saved", "true", "flags.2?true"],
4455
+ ["refunded", "true", "flags.5?true"],
4456
+ ["gift", "StarGift", "StarGift"],
4457
+ ["can_export_at", "number", "flags.3?int"],
4458
+ ["transfer_stars", "bigint", "flags.4?long"],
4480
4459
  ],
4481
4460
  ],
4482
4461
  ],
@@ -4893,7 +4872,7 @@ const types = new Map([
4893
4872
  [
4894
4873
  "userFull",
4895
4874
  [
4896
- 0x979D2376,
4875
+ 0x4D975BBC,
4897
4876
  [
4898
4877
  ["flags", flags, "#"],
4899
4878
  ["blocked", "true", "flags.0?true"],
@@ -4942,6 +4921,7 @@ const types = new Map([
4942
4921
  ["personal_channel_message", "number", "flags2.6?int"],
4943
4922
  ["stargifts_count", "number", "flags2.8?int"],
4944
4923
  ["starref_program", "StarRefProgram", "flags2.11?StarRefProgram"],
4924
+ ["bot_verification", "BotVerification", "flags2.12?BotVerification"],
4945
4925
  ],
4946
4926
  ],
4947
4927
  ],
@@ -6215,9 +6195,10 @@ const types = new Map([
6215
6195
  [
6216
6196
  "updateGroupCall",
6217
6197
  [
6218
- 0x14B24500,
6198
+ 0x97D64341,
6219
6199
  [
6220
- ["chat_id", "bigint", "long"],
6200
+ ["flags", flags, "#"],
6201
+ ["chat_id", "bigint", "flags.0?long"],
6221
6202
  ["call", "GroupCall", "GroupCall"],
6222
6203
  ],
6223
6204
  ],
@@ -8316,7 +8297,7 @@ const types = new Map([
8316
8297
  [
8317
8298
  "chatInvite",
8318
8299
  [
8319
- 0xFE65389D,
8300
+ 0x5C9D3702,
8320
8301
  [
8321
8302
  ["flags", flags, "#"],
8322
8303
  ["channel", "true", "flags.0?true"],
@@ -8336,6 +8317,7 @@ const types = new Map([
8336
8317
  ["color", "number", "int"],
8337
8318
  ["subscription_pricing", "StarsSubscriptionPricing", "flags.10?StarsSubscriptionPricing"],
8338
8319
  ["subscription_form_id", "bigint", "flags.12?long"],
8320
+ ["bot_verification", "BotVerification", "flags.13?BotVerification"],
8339
8321
  ],
8340
8322
  ],
8341
8323
  ],
@@ -8492,7 +8474,7 @@ const types = new Map([
8492
8474
  [
8493
8475
  "botInfo",
8494
8476
  [
8495
- 0x36607333,
8477
+ 0x4D8A0299,
8496
8478
  [
8497
8479
  ["flags", flags, "#"],
8498
8480
  ["has_preview_medias", "true", "flags.6?true"],
@@ -8504,6 +8486,7 @@ const types = new Map([
8504
8486
  ["menu_button", "BotMenuButton", "flags.3?BotMenuButton"],
8505
8487
  ["privacy_policy_url", "string", "flags.7?string"],
8506
8488
  ["app_settings", "BotAppSettings", "flags.8?BotAppSettings"],
8489
+ ["verifier_settings", "BotVerifierSettings", "flags.9?BotVerifierSettings"],
8507
8490
  ],
8508
8491
  ],
8509
8492
  ],
@@ -10680,6 +10663,15 @@ const types = new Map([
10680
10663
  [],
10681
10664
  ],
10682
10665
  ],
10666
+ [
10667
+ "phoneCallDiscardReasonAllowGroupCall",
10668
+ [
10669
+ 0xAFE2B839,
10670
+ [
10671
+ ["encrypted_key", Uint8Array, "bytes"],
10672
+ ],
10673
+ ],
10674
+ ],
10683
10675
  [
10684
10676
  "dataJSON",
10685
10677
  [
@@ -11085,7 +11077,7 @@ const types = new Map([
11085
11077
  [
11086
11078
  "phoneCallWaiting",
11087
11079
  [
11088
- 0xC5226F17,
11080
+ 0xEED42858,
11089
11081
  [
11090
11082
  ["flags", flags, "#"],
11091
11083
  ["video", "true", "flags.6?true"],
@@ -11096,13 +11088,14 @@ const types = new Map([
11096
11088
  ["participant_id", "bigint", "long"],
11097
11089
  ["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
11098
11090
  ["receive_date", "number", "flags.0?int"],
11091
+ ["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
11099
11092
  ],
11100
11093
  ],
11101
11094
  ],
11102
11095
  [
11103
11096
  "phoneCallRequested",
11104
11097
  [
11105
- 0x14B0ED0C,
11098
+ 0x45361C63,
11106
11099
  [
11107
11100
  ["flags", flags, "#"],
11108
11101
  ["video", "true", "flags.6?true"],
@@ -11113,13 +11106,14 @@ const types = new Map([
11113
11106
  ["participant_id", "bigint", "long"],
11114
11107
  ["g_a_hash", Uint8Array, "bytes"],
11115
11108
  ["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
11109
+ ["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
11116
11110
  ],
11117
11111
  ],
11118
11112
  ],
11119
11113
  [
11120
11114
  "phoneCallAccepted",
11121
11115
  [
11122
- 0x3660C311,
11116
+ 0x22FD7181,
11123
11117
  [
11124
11118
  ["flags", flags, "#"],
11125
11119
  ["video", "true", "flags.6?true"],
@@ -11130,13 +11124,14 @@ const types = new Map([
11130
11124
  ["participant_id", "bigint", "long"],
11131
11125
  ["g_b", Uint8Array, "bytes"],
11132
11126
  ["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
11127
+ ["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
11133
11128
  ],
11134
11129
  ],
11135
11130
  ],
11136
11131
  [
11137
11132
  "phoneCall",
11138
11133
  [
11139
- 0x30535AF5,
11134
+ 0x3BA5940C,
11140
11135
  [
11141
11136
  ["flags", flags, "#"],
11142
11137
  ["p2p_allowed", "true", "flags.5?true"],
@@ -11152,13 +11147,14 @@ const types = new Map([
11152
11147
  ["connections", ["PhoneConnection"], "Vector<PhoneConnection>"],
11153
11148
  ["start_date", "number", "int"],
11154
11149
  ["custom_parameters", "DataJSON", "flags.7?DataJSON"],
11150
+ ["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
11155
11151
  ],
11156
11152
  ],
11157
11153
  ],
11158
11154
  [
11159
11155
  "phoneCallDiscarded",
11160
11156
  [
11161
- 0x50CA4DE1,
11157
+ 0xF9D25503,
11162
11158
  [
11163
11159
  ["flags", flags, "#"],
11164
11160
  ["need_rating", "true", "flags.2?true"],
@@ -11167,6 +11163,7 @@ const types = new Map([
11167
11163
  ["id", "bigint", "long"],
11168
11164
  ["reason", "PhoneCallDiscardReason", "flags.0?PhoneCallDiscardReason"],
11169
11165
  ["duration", "number", "flags.1?int"],
11166
+ ["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
11170
11167
  ],
11171
11168
  ],
11172
11169
  ],
@@ -13475,7 +13472,7 @@ const types = new Map([
13475
13472
  [
13476
13473
  "dialogFilter",
13477
13474
  [
13478
- 0x5FB5523B,
13475
+ 0xAA472651,
13479
13476
  [
13480
13477
  ["flags", flags, "#"],
13481
13478
  ["contacts", "true", "flags.0?true"],
@@ -13486,8 +13483,9 @@ const types = new Map([
13486
13483
  ["exclude_muted", "true", "flags.11?true"],
13487
13484
  ["exclude_read", "true", "flags.12?true"],
13488
13485
  ["exclude_archived", "true", "flags.13?true"],
13486
+ ["title_noanimate", "true", "flags.28?true"],
13489
13487
  ["id", "number", "int"],
13490
- ["title", "string", "string"],
13488
+ ["title", "TextWithEntities", "TextWithEntities"],
13491
13489
  ["emoticon", "string", "flags.25?string"],
13492
13490
  ["color", "number", "flags.27?int"],
13493
13491
  ["pinned_peers", ["InputPeer"], "Vector<InputPeer>"],
@@ -13506,12 +13504,13 @@ const types = new Map([
13506
13504
  [
13507
13505
  "dialogFilterChatlist",
13508
13506
  [
13509
- 0x9FE28EA4,
13507
+ 0x96537BD7,
13510
13508
  [
13511
13509
  ["flags", flags, "#"],
13512
13510
  ["has_my_invites", "true", "flags.26?true"],
13511
+ ["title_noanimate", "true", "flags.28?true"],
13513
13512
  ["id", "number", "int"],
13514
- ["title", "string", "string"],
13513
+ ["title", "TextWithEntities", "TextWithEntities"],
13515
13514
  ["emoticon", "string", "flags.25?string"],
13516
13515
  ["color", "number", "flags.27?int"],
13517
13516
  ["pinned_peers", ["InputPeer"], "Vector<InputPeer>"],
@@ -13912,7 +13911,7 @@ const types = new Map([
13912
13911
  [
13913
13912
  "groupCall",
13914
13913
  [
13915
- 0xD597650C,
13914
+ 0xCDF8D3E3,
13916
13915
  [
13917
13916
  ["flags", flags, "#"],
13918
13917
  ["join_muted", "true", "flags.1?true"],
@@ -13933,6 +13932,7 @@ const types = new Map([
13933
13932
  ["unmuted_video_count", "number", "flags.10?int"],
13934
13933
  ["unmuted_video_limit", "number", "int"],
13935
13934
  ["version", "number", "int"],
13935
+ ["conference_from_call", "bigint", "flags.14?long"],
13936
13936
  ],
13937
13937
  ],
13938
13938
  ],
@@ -14827,12 +14827,34 @@ const types = new Map([
14827
14827
  [
14828
14828
  ["flags", flags, "#"],
14829
14829
  ["hide_name", "true", "flags.0?true"],
14830
+ ["include_upgrade", "true", "flags.2?true"],
14830
14831
  ["user_id", "InputUser", "InputUser"],
14831
14832
  ["gift_id", "bigint", "long"],
14832
14833
  ["message", "TextWithEntities", "flags.1?TextWithEntities"],
14833
14834
  ],
14834
14835
  ],
14835
14836
  ],
14837
+ [
14838
+ "inputInvoiceStarGiftUpgrade",
14839
+ [
14840
+ 0x5EBE7262,
14841
+ [
14842
+ ["flags", flags, "#"],
14843
+ ["keep_original_details", "true", "flags.0?true"],
14844
+ ["msg_id", "number", "int"],
14845
+ ],
14846
+ ],
14847
+ ],
14848
+ [
14849
+ "inputInvoiceStarGiftTransfer",
14850
+ [
14851
+ 0xAE3BA9ED,
14852
+ [
14853
+ ["msg_id", "number", "int"],
14854
+ ["to_id", "InputUser", "InputUser"],
14855
+ ],
14856
+ ],
14857
+ ],
14836
14858
  [
14837
14859
  "payments.exportedInvoice",
14838
14860
  [
@@ -15637,10 +15659,11 @@ const types = new Map([
15637
15659
  [
15638
15660
  "chatlists.chatlistInvite",
15639
15661
  [
15640
- 0x1DCD839D,
15662
+ 0xF10ECE2F,
15641
15663
  [
15642
15664
  ["flags", flags, "#"],
15643
- ["title", "string", "string"],
15665
+ ["title_noanimate", "true", "flags.1?true"],
15666
+ ["title", "TextWithEntities", "TextWithEntities"],
15644
15667
  ["emoticon", "string", "flags.0?string"],
15645
15668
  ["peers", ["Peer"], "Vector<Peer>"],
15646
15669
  ["chats", ["Chat"], "Vector<Chat>"],
@@ -17315,6 +17338,7 @@ const types = new Map([
17315
17338
  ["failed", "true", "flags.6?true"],
17316
17339
  ["gift", "true", "flags.10?true"],
17317
17340
  ["reaction", "true", "flags.11?true"],
17341
+ ["stargift_upgrade", "true", "flags.18?true"],
17318
17342
  ["id", "string", "string"],
17319
17343
  ["stars", "StarsAmount", "StarsAmount"],
17320
17344
  ["date", "number", "int"],
@@ -17567,7 +17591,7 @@ const types = new Map([
17567
17591
  [
17568
17592
  "starGift",
17569
17593
  [
17570
- 0x49C577CD,
17594
+ 0x02CC73C8,
17571
17595
  [
17572
17596
  ["flags", flags, "#"],
17573
17597
  ["limited", "true", "flags.0?true"],
@@ -17581,6 +17605,22 @@ const types = new Map([
17581
17605
  ["convert_stars", "bigint", "long"],
17582
17606
  ["first_sale_date", "number", "flags.1?int"],
17583
17607
  ["last_sale_date", "number", "flags.1?int"],
17608
+ ["upgrade_stars", "bigint", "flags.3?long"],
17609
+ ],
17610
+ ],
17611
+ ],
17612
+ [
17613
+ "starGiftUnique",
17614
+ [
17615
+ 0x6A1407CD,
17616
+ [
17617
+ ["id", "bigint", "long"],
17618
+ ["title", "string", "string"],
17619
+ ["num", "number", "int"],
17620
+ ["owner_id", "bigint", "long"],
17621
+ ["attributes", ["StarGiftAttribute"], "Vector<StarGiftAttribute>"],
17622
+ ["availability_issued", "number", "int"],
17623
+ ["availability_total", "number", "int"],
17584
17624
  ],
17585
17625
  ],
17586
17626
  ],
@@ -17604,17 +17644,22 @@ const types = new Map([
17604
17644
  [
17605
17645
  "userStarGift",
17606
17646
  [
17607
- 0xEEA49A6E,
17647
+ 0x325835E1,
17608
17648
  [
17609
17649
  ["flags", flags, "#"],
17610
17650
  ["name_hidden", "true", "flags.0?true"],
17611
17651
  ["unsaved", "true", "flags.5?true"],
17652
+ ["refunded", "true", "flags.9?true"],
17653
+ ["can_upgrade", "true", "flags.10?true"],
17612
17654
  ["from_id", "bigint", "flags.1?long"],
17613
17655
  ["date", "number", "int"],
17614
17656
  ["gift", "StarGift", "StarGift"],
17615
17657
  ["message", "TextWithEntities", "flags.2?TextWithEntities"],
17616
17658
  ["msg_id", "number", "flags.3?int"],
17617
17659
  ["convert_stars", "bigint", "flags.4?long"],
17660
+ ["upgrade_stars", "bigint", "flags.6?long"],
17661
+ ["can_export_at", "number", "flags.7?int"],
17662
+ ["transfer_stars", "bigint", "flags.8?long"],
17618
17663
  ],
17619
17664
  ],
17620
17665
  ],
@@ -17793,6 +17838,107 @@ const types = new Map([
17793
17838
  ],
17794
17839
  ],
17795
17840
  ],
17841
+ [
17842
+ "botVerifierSettings",
17843
+ [
17844
+ 0xB0CD6617,
17845
+ [
17846
+ ["flags", flags, "#"],
17847
+ ["can_modify_custom_description", "true", "flags.1?true"],
17848
+ ["icon", "bigint", "long"],
17849
+ ["company", "string", "string"],
17850
+ ["custom_description", "string", "flags.0?string"],
17851
+ ],
17852
+ ],
17853
+ ],
17854
+ [
17855
+ "botVerification",
17856
+ [
17857
+ 0xF93CD45C,
17858
+ [
17859
+ ["bot_id", "bigint", "long"],
17860
+ ["icon", "bigint", "long"],
17861
+ ["description", "string", "string"],
17862
+ ],
17863
+ ],
17864
+ ],
17865
+ [
17866
+ "starGiftAttributeModel",
17867
+ [
17868
+ 0x39D99013,
17869
+ [
17870
+ ["name", "string", "string"],
17871
+ ["document", "Document", "Document"],
17872
+ ["rarity_permille", "number", "int"],
17873
+ ],
17874
+ ],
17875
+ ],
17876
+ [
17877
+ "starGiftAttributePattern",
17878
+ [
17879
+ 0x13ACFF19,
17880
+ [
17881
+ ["name", "string", "string"],
17882
+ ["document", "Document", "Document"],
17883
+ ["rarity_permille", "number", "int"],
17884
+ ],
17885
+ ],
17886
+ ],
17887
+ [
17888
+ "starGiftAttributeBackdrop",
17889
+ [
17890
+ 0x94271762,
17891
+ [
17892
+ ["name", "string", "string"],
17893
+ ["center_color", "number", "int"],
17894
+ ["edge_color", "number", "int"],
17895
+ ["pattern_color", "number", "int"],
17896
+ ["text_color", "number", "int"],
17897
+ ["rarity_permille", "number", "int"],
17898
+ ],
17899
+ ],
17900
+ ],
17901
+ [
17902
+ "starGiftAttributeOriginalDetails",
17903
+ [
17904
+ 0xC02C4F4B,
17905
+ [
17906
+ ["flags", flags, "#"],
17907
+ ["sender_id", "bigint", "flags.0?long"],
17908
+ ["recipient_id", "bigint", "long"],
17909
+ ["date", "number", "int"],
17910
+ ["message", "TextWithEntities", "flags.1?TextWithEntities"],
17911
+ ],
17912
+ ],
17913
+ ],
17914
+ [
17915
+ "payments.starGiftUpgradePreview",
17916
+ [
17917
+ 0x167BD90B,
17918
+ [
17919
+ ["sample_attributes", ["StarGiftAttribute"], "Vector<StarGiftAttribute>"],
17920
+ ],
17921
+ ],
17922
+ ],
17923
+ [
17924
+ "users.users",
17925
+ [
17926
+ 0x62D706B8,
17927
+ [
17928
+ ["users", ["User"], "Vector<User>"],
17929
+ ],
17930
+ ],
17931
+ ],
17932
+ [
17933
+ "users.usersSlice",
17934
+ [
17935
+ 0x315A4974,
17936
+ [
17937
+ ["count", "number", "int"],
17938
+ ["users", ["User"], "Vector<User>"],
17939
+ ],
17940
+ ],
17941
+ ],
17796
17942
  [
17797
17943
  "req_pq_multi",
17798
17944
  [
@@ -17880,35 +18026,6 @@ const types = new Map([
17880
18026
  [],
17881
18027
  ],
17882
18028
  ],
17883
- [
17884
- "invokeWithBusinessConnectionPrefix",
17885
- [
17886
- 0xDD289F8E,
17887
- [
17888
- ["connection_id", "string", "string"],
17889
- ],
17890
- ],
17891
- ],
17892
- [
17893
- "invokeWithGooglePlayIntegrityPrefix",
17894
- [
17895
- 0x1DF92984,
17896
- [
17897
- ["nonce", "string", "string"],
17898
- ["token", "string", "string"],
17899
- ],
17900
- ],
17901
- ],
17902
- [
17903
- "invokeWithApnsSecretPrefix",
17904
- [
17905
- 0x0DAE54F8,
17906
- [
17907
- ["nonce", "string", "string"],
17908
- ["secret", "string", "string"],
17909
- ],
17910
- ],
17911
- ],
17912
18029
  [
17913
18030
  "invokeAfterMsg",
17914
18031
  [
@@ -20205,6 +20322,8 @@ const types = new Map([
20205
20322
  [
20206
20323
  ["flags", flags, "#"],
20207
20324
  ["broadcasts_only", "true", "flags.1?true"],
20325
+ ["groups_only", "true", "flags.2?true"],
20326
+ ["users_only", "true", "flags.3?true"],
20208
20327
  ["folder_id", "number", "flags.0?int"],
20209
20328
  ["q", "string", "string"],
20210
20329
  ["filter", "MessagesFilter", "MessagesFilter"],
@@ -22197,6 +22316,18 @@ const types = new Map([
22197
22316
  ],
22198
22317
  ],
22199
22318
  ],
22319
+ [
22320
+ "messages.reportMessagesDelivery",
22321
+ [
22322
+ 0x5A6D7395,
22323
+ [
22324
+ ["flags", flags, "#"],
22325
+ ["push", "true", "flags.0?true"],
22326
+ ["peer", "InputPeer", "InputPeer"],
22327
+ ["id", ["number"], "Vector<int>"],
22328
+ ],
22329
+ ],
22330
+ ],
22200
22331
  [
22201
22332
  "updates.getState",
22202
22333
  [
@@ -23537,6 +23668,29 @@ const types = new Map([
23537
23668
  ],
23538
23669
  ],
23539
23670
  ],
23671
+ [
23672
+ "bots.setCustomVerification",
23673
+ [
23674
+ 0x8B89DFBD,
23675
+ [
23676
+ ["flags", flags, "#"],
23677
+ ["enabled", "true", "flags.1?true"],
23678
+ ["bot", "InputUser", "flags.0?InputUser"],
23679
+ ["peer", "InputPeer", "InputPeer"],
23680
+ ["custom_description", "string", "flags.2?string"],
23681
+ ],
23682
+ ],
23683
+ ],
23684
+ [
23685
+ "bots.getBotRecommendations",
23686
+ [
23687
+ 0x2855BE61,
23688
+ [
23689
+ ["flags", flags, "#"],
23690
+ ["bot", "InputUser", "InputUser"],
23691
+ ],
23692
+ ],
23693
+ ],
23540
23694
  [
23541
23695
  "payments.getPaymentForm",
23542
23696
  [
@@ -23866,11 +24020,10 @@ const types = new Map([
23866
24020
  [
23867
24021
  "payments.saveStarGift",
23868
24022
  [
23869
- 0x87ACF08E,
24023
+ 0x92FD2AAE,
23870
24024
  [
23871
24025
  ["flags", flags, "#"],
23872
24026
  ["unsave", "true", "flags.0?true"],
23873
- ["user_id", "InputUser", "InputUser"],
23874
24027
  ["msg_id", "number", "int"],
23875
24028
  ],
23876
24029
  ],
@@ -23878,9 +24031,8 @@ const types = new Map([
23878
24031
  [
23879
24032
  "payments.convertStarGift",
23880
24033
  [
23881
- 0x0421E027,
24034
+ 0x72770C83,
23882
24035
  [
23883
- ["user_id", "InputUser", "InputUser"],
23884
24036
  ["msg_id", "number", "int"],
23885
24037
  ],
23886
24038
  ],
@@ -23956,6 +24108,45 @@ const types = new Map([
23956
24108
  ],
23957
24109
  ],
23958
24110
  ],
24111
+ [
24112
+ "payments.getStarGiftUpgradePreview",
24113
+ [
24114
+ 0x9C9ABCB1,
24115
+ [
24116
+ ["gift_id", "bigint", "long"],
24117
+ ],
24118
+ ],
24119
+ ],
24120
+ [
24121
+ "payments.upgradeStarGift",
24122
+ [
24123
+ 0xCF4F0781,
24124
+ [
24125
+ ["flags", flags, "#"],
24126
+ ["keep_original_details", "true", "flags.0?true"],
24127
+ ["msg_id", "number", "int"],
24128
+ ],
24129
+ ],
24130
+ ],
24131
+ [
24132
+ "payments.transferStarGift",
24133
+ [
24134
+ 0x333FB526,
24135
+ [
24136
+ ["msg_id", "number", "int"],
24137
+ ["to_id", "InputUser", "InputUser"],
24138
+ ],
24139
+ ],
24140
+ ],
24141
+ [
24142
+ "payments.getUserStarGift",
24143
+ [
24144
+ 0xB502E4A5,
24145
+ [
24146
+ ["msg_id", ["number"], "Vector<int>"],
24147
+ ],
24148
+ ],
24149
+ ],
23959
24150
  [
23960
24151
  "stickers.createStickerSet",
23961
24152
  [
@@ -24085,11 +24276,12 @@ const types = new Map([
24085
24276
  [
24086
24277
  "phone.requestCall",
24087
24278
  [
24088
- 0x42FF96ED,
24279
+ 0xA6C4600C,
24089
24280
  [
24090
24281
  ["flags", flags, "#"],
24091
24282
  ["video", "true", "flags.0?true"],
24092
24283
  ["user_id", "InputUser", "InputUser"],
24284
+ ["conference_call", "InputGroupCall", "flags.1?InputGroupCall"],
24093
24285
  ["random_id", "number", "int"],
24094
24286
  ["g_a_hash", Uint8Array, "bytes"],
24095
24287
  ["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
@@ -24192,7 +24384,7 @@ const types = new Map([
24192
24384
  [
24193
24385
  "phone.joinGroupCall",
24194
24386
  [
24195
- 0xB132FF7B,
24387
+ 0xD61E1DF3,
24196
24388
  [
24197
24389
  ["flags", flags, "#"],
24198
24390
  ["muted", "true", "flags.0?true"],
@@ -24200,6 +24392,7 @@ const types = new Map([
24200
24392
  ["call", "InputGroupCall", "InputGroupCall"],
24201
24393
  ["join_as", "InputPeer", "InputPeer"],
24202
24394
  ["invite_hash", "string", "flags.1?string"],
24395
+ ["key_fingerprint", "bigint", "flags.3?long"],
24203
24396
  ["params", "DataJSON", "DataJSON"],
24204
24397
  ],
24205
24398
  ],
@@ -24416,6 +24609,16 @@ const types = new Map([
24416
24609
  ],
24417
24610
  ],
24418
24611
  ],
24612
+ [
24613
+ "phone.createConferenceCall",
24614
+ [
24615
+ 0xDFC909AB,
24616
+ [
24617
+ ["peer", "InputPhoneCall", "InputPhoneCall"],
24618
+ ["key_fingerprint", "bigint", "long"],
24619
+ ],
24620
+ ],
24621
+ ],
24419
24622
  [
24420
24623
  "langpack.getLangPack",
24421
24624
  [