@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
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports._types = exports.getEnum = exports.getType = exports.flags = exports.getTypeName = void 0;
27
27
  /**
28
28
  * MTKruto - Cross-runtime JavaScript library for building Telegram clients
29
- * Copyright (C) 2023-2024 Roj <https://roj.im/>
29
+ * Copyright (C) 2023-2025 Roj <https://roj.im/>
30
30
  *
31
31
  * This file is part of MTKruto.
32
32
  *
@@ -81,12 +81,7 @@ const map = new Map([
81
81
  [0x9299359F, "http_wait"],
82
82
  [0x3FEDD339, "true"],
83
83
  [0xC4B9F9BB, "error"],
84
- [0xD433AD73, "ipPort"],
85
- [0x37982646, "ipPortSecret"],
86
- [0x4679B65F, "accessPointRule"],
87
- [0x5A592A6C, "help.configSimple"],
88
- [0x27D69997, "inputPeerPhotoFileLocationLegacy"],
89
- [0x0DBAEAE9, "inputStickerSetThumbLegacy"],
84
+ [0x56730BCC, "null"],
90
85
  [0x7F3B18EA, "inputPeerEmpty"],
91
86
  [0x7DA07EC9, "inputPeerSelf"],
92
87
  [0x35A95CB9, "inputPeerChat"],
@@ -151,7 +146,7 @@ const map = new Map([
151
146
  [0xB3CEA0E4, "storage.fileMp4"],
152
147
  [0x1081464C, "storage.fileWebp"],
153
148
  [0xD3BC4B7A, "userEmpty"],
154
- [0x83314FCA, "user"],
149
+ [0x4B46C37E, "user"],
155
150
  [0x4F11BAE1, "userProfilePhotoEmpty"],
156
151
  [0x82D1F706, "userProfilePhoto"],
157
152
  [0x09D05049, "userStatusEmpty"],
@@ -163,10 +158,10 @@ const map = new Map([
163
158
  [0x29562865, "chatEmpty"],
164
159
  [0x41CBF256, "chat"],
165
160
  [0x6592A1A7, "chatForbidden"],
166
- [0xFE4478BD, "channel"],
161
+ [0xE00998B7, "channel"],
167
162
  [0x17D493D5, "channelForbidden"],
168
163
  [0x2633421B, "chatFull"],
169
- [0xBBAB348D, "channelFull"],
164
+ [0x9FF3B858, "channelFull"],
170
165
  [0xC02D4007, "chatParticipant"],
171
166
  [0xE46BCEE4, "chatParticipantCreator"],
172
167
  [0xA0933F5B, "chatParticipantAdmin"],
@@ -175,8 +170,8 @@ const map = new Map([
175
170
  [0x37C1011C, "chatPhotoEmpty"],
176
171
  [0x1C6E1C11, "chatPhoto"],
177
172
  [0x90A6CA84, "messageEmpty"],
178
- [0x94345242, "message"],
179
- [0x2B085862, "messageService"],
173
+ [0x96FDBBE9, "message"],
174
+ [0xD3D28540, "messageService"],
180
175
  [0x3DED6320, "messageMediaEmpty"],
181
176
  [0x695150D7, "messageMediaPhoto"],
182
177
  [0x56E0D474, "messageMediaGeo"],
@@ -240,7 +235,8 @@ const map = new Map([
240
235
  [0x41B3E202, "messageActionPaymentRefunded"],
241
236
  [0x45D5B021, "messageActionGiftStars"],
242
237
  [0xB00C47A2, "messageActionPrizeStars"],
243
- [0x08557637, "messageActionStarGift"],
238
+ [0xD8F4F0A7, "messageActionStarGift"],
239
+ [0x26077B99, "messageActionStarGiftUnique"],
244
240
  [0xD58A08C6, "dialog"],
245
241
  [0x71BD134C, "dialogFolder"],
246
242
  [0x2331B22D, "photoEmpty"],
@@ -278,7 +274,7 @@ const map = new Map([
278
274
  [0xF5DDD6E7, "inputReportReasonFake"],
279
275
  [0x0A8EB2BE, "inputReportReasonIllegalDrugs"],
280
276
  [0x9EC7863D, "inputReportReasonPersonalDetails"],
281
- [0x979D2376, "userFull"],
277
+ [0x4D975BBC, "userFull"],
282
278
  [0x145ADE0B, "contact"],
283
279
  [0xC13E3C50, "importedContact"],
284
280
  [0x16D9703B, "contactStatus"],
@@ -401,7 +397,7 @@ const map = new Map([
401
397
  [0x5BB98608, "updatePinnedChannelMessages"],
402
398
  [0xF89A6A4E, "updateChat"],
403
399
  [0xF2EBDB4E, "updateGroupCallParticipants"],
404
- [0x14B24500, "updateGroupCall"],
400
+ [0x97D64341, "updateGroupCall"],
405
401
  [0xBB9BB9A5, "updatePeerHistoryTTL"],
406
402
  [0xD087663A, "updateChatParticipant"],
407
403
  [0x985D3ABB, "updateChannelParticipant"],
@@ -604,7 +600,7 @@ const map = new Map([
604
600
  [0xA22CBD96, "chatInviteExported"],
605
601
  [0xED107AB7, "chatInvitePublicJoinRequests"],
606
602
  [0x5A686D7C, "chatInviteAlready"],
607
- [0xFE65389D, "chatInvite"],
603
+ [0x5C9D3702, "chatInvite"],
608
604
  [0x61695CB0, "chatInvitePeek"],
609
605
  [0xFFB62B95, "inputStickerSetEmpty"],
610
606
  [0x9DE7A269, "inputStickerSetID"],
@@ -621,7 +617,7 @@ const map = new Map([
621
617
  [0x6E153F16, "messages.stickerSet"],
622
618
  [0xD3F924EB, "messages.stickerSetNotModified"],
623
619
  [0xC27AC8C7, "botCommand"],
624
- [0x36607333, "botInfo"],
620
+ [0x4D8A0299, "botInfo"],
625
621
  [0xA2FA4880, "keyboardButton"],
626
622
  [0x258AFF05, "keyboardButtonUrl"],
627
623
  [0x35BBDB6B, "keyboardButtonCallback"],
@@ -826,6 +822,7 @@ const map = new Map([
826
822
  [0xE095C1A0, "phoneCallDiscardReasonDisconnect"],
827
823
  [0x57ADC690, "phoneCallDiscardReasonHangup"],
828
824
  [0xFAF7E8C9, "phoneCallDiscardReasonBusy"],
825
+ [0xAFE2B839, "phoneCallDiscardReasonAllowGroupCall"],
829
826
  [0x7D748D04, "dataJSON"],
830
827
  [0xCB296BF8, "labeledPrice"],
831
828
  [0x049EE584, "invoice"],
@@ -858,11 +855,11 @@ const map = new Map([
858
855
  [0x32DA9E9C, "inputStickerSetItem"],
859
856
  [0x1E36FDED, "inputPhoneCall"],
860
857
  [0x5366C915, "phoneCallEmpty"],
861
- [0xC5226F17, "phoneCallWaiting"],
862
- [0x14B0ED0C, "phoneCallRequested"],
863
- [0x3660C311, "phoneCallAccepted"],
864
- [0x30535AF5, "phoneCall"],
865
- [0x50CA4DE1, "phoneCallDiscarded"],
858
+ [0xEED42858, "phoneCallWaiting"],
859
+ [0x45361C63, "phoneCallRequested"],
860
+ [0x22FD7181, "phoneCallAccepted"],
861
+ [0x3BA5940C, "phoneCall"],
862
+ [0xF9D25503, "phoneCallDiscarded"],
866
863
  [0x9CC123C7, "phoneConnection"],
867
864
  [0x635FE375, "phoneConnectionWebrtc"],
868
865
  [0xFC878FC8, "phoneCallProtocol"],
@@ -1083,9 +1080,9 @@ const map = new Map([
1083
1080
  [0x4899484E, "messages.votesList"],
1084
1081
  [0xF568028A, "bankCardOpenUrl"],
1085
1082
  [0x3E24E573, "payments.bankCardData"],
1086
- [0x5FB5523B, "dialogFilter"],
1083
+ [0xAA472651, "dialogFilter"],
1087
1084
  [0x363293AE, "dialogFilterDefault"],
1088
- [0x9FE28EA4, "dialogFilterChatlist"],
1085
+ [0x96537BD7, "dialogFilterChatlist"],
1089
1086
  [0x77744D4A, "dialogFilterSuggested"],
1090
1087
  [0xB637EDAF, "statsDateRangeDays"],
1091
1088
  [0xCB43ACDE, "statsAbsValueAndPrev"],
@@ -1117,7 +1114,7 @@ const map = new Map([
1117
1114
  [0xE8FD8014, "peerBlocked"],
1118
1115
  [0x7FE91C14, "stats.messageStats"],
1119
1116
  [0x7780BCB4, "groupCallDiscarded"],
1120
- [0xD597650C, "groupCall"],
1117
+ [0xCDF8D3E3, "groupCall"],
1121
1118
  [0xD8AA840F, "inputGroupCall"],
1122
1119
  [0xEBA636FE, "groupCallParticipant"],
1123
1120
  [0x9E727AAD, "phone.groupCall"],
@@ -1205,6 +1202,8 @@ const map = new Map([
1205
1202
  [0x65F00CE3, "inputInvoiceStars"],
1206
1203
  [0x34E793F1, "inputInvoiceChatInviteSubscription"],
1207
1204
  [0x25D8C1D8, "inputInvoiceStarGift"],
1205
+ [0x5EBE7262, "inputInvoiceStarGiftUpgrade"],
1206
+ [0xAE3BA9ED, "inputInvoiceStarGiftTransfer"],
1208
1207
  [0xAED0CBD9, "payments.exportedInvoice"],
1209
1208
  [0xCFB9D957, "messages.transcribedAudio"],
1210
1209
  [0x5334759C, "help.premiumPromo"],
@@ -1279,7 +1278,7 @@ const map = new Map([
1279
1278
  [0x10E6E3A6, "chatlists.exportedChatlistInvite"],
1280
1279
  [0x10AB6DC7, "chatlists.exportedInvites"],
1281
1280
  [0xFA87F659, "chatlists.chatlistInviteAlready"],
1282
- [0x1DCD839D, "chatlists.chatlistInvite"],
1281
+ [0xF10ECE2F, "chatlists.chatlistInvite"],
1283
1282
  [0x93BD878D, "chatlists.chatlistUpdates"],
1284
1283
  [0xE8A775B0, "bots.botInfo"],
1285
1284
  [0xB6CC2D5C, "messagePeerVote"],
@@ -1442,10 +1441,11 @@ const map = new Map([
1442
1441
  [0x4BA3A95A, "messageReactor"],
1443
1442
  [0x94CE852A, "starsGiveawayOption"],
1444
1443
  [0x54236209, "starsGiveawayWinnersOption"],
1445
- [0x49C577CD, "starGift"],
1444
+ [0x02CC73C8, "starGift"],
1445
+ [0x6A1407CD, "starGiftUnique"],
1446
1446
  [0xA388A368, "payments.starGiftsNotModified"],
1447
1447
  [0x901689EA, "payments.starGifts"],
1448
- [0xEEA49A6E, "userStarGift"],
1448
+ [0x325835E1, "userStarGift"],
1449
1449
  [0x6B65B517, "payments.userStarGifts"],
1450
1450
  [0x7903E3D9, "messageReportOption"],
1451
1451
  [0xF0E4E0B6, "reportResultChooseOption"],
@@ -1461,6 +1461,15 @@ const map = new Map([
1461
1461
  [0xBBB6B4A3, "starsAmount"],
1462
1462
  [0x6010C534, "messages.foundStickersNotModified"],
1463
1463
  [0x82C9E290, "messages.foundStickers"],
1464
+ [0xB0CD6617, "botVerifierSettings"],
1465
+ [0xF93CD45C, "botVerification"],
1466
+ [0x39D99013, "starGiftAttributeModel"],
1467
+ [0x13ACFF19, "starGiftAttributePattern"],
1468
+ [0x94271762, "starGiftAttributeBackdrop"],
1469
+ [0xC02C4F4B, "starGiftAttributeOriginalDetails"],
1470
+ [0x167BD90B, "payments.starGiftUpgradePreview"],
1471
+ [0x62D706B8, "users.users"],
1472
+ [0x315A4974, "users.usersSlice"],
1464
1473
  ]);
1465
1474
  exports.getTypeName = map.get.bind(map);
1466
1475
  exports.flags = Symbol();
@@ -1491,10 +1500,7 @@ const enums = new Map([
1491
1500
  ["HttpWait", ["http_wait"]],
1492
1501
  ["True", ["true"]],
1493
1502
  ["Error", ["error"]],
1494
- ["IpPort", ["ipPort", "ipPortSecret"]],
1495
- ["AccessPointRule", ["accessPointRule"]],
1496
- ["help.ConfigSimple", ["help.configSimple"]],
1497
- ["InputFileLocation", ["inputPeerPhotoFileLocationLegacy", "inputStickerSetThumbLegacy", "inputFileLocation", "inputEncryptedFileLocation", "inputDocumentFileLocation", "inputSecureFileLocation", "inputTakeoutFileLocation", "inputPhotoFileLocation", "inputPhotoLegacyFileLocation", "inputPeerPhotoFileLocation", "inputStickerSetThumb", "inputGroupCallStream"]],
1503
+ ["Null", ["null"]],
1498
1504
  ["InputPeer", ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]],
1499
1505
  ["InputUser", ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]],
1500
1506
  ["InputContact", ["inputPhoneContact"]],
@@ -1503,6 +1509,7 @@ const enums = new Map([
1503
1509
  ["InputChatPhoto", ["inputChatPhotoEmpty", "inputChatUploadedPhoto", "inputChatPhoto"]],
1504
1510
  ["InputGeoPoint", ["inputGeoPointEmpty", "inputGeoPoint"]],
1505
1511
  ["InputPhoto", ["inputPhotoEmpty", "inputPhoto"]],
1512
+ ["InputFileLocation", ["inputFileLocation", "inputEncryptedFileLocation", "inputDocumentFileLocation", "inputSecureFileLocation", "inputTakeoutFileLocation", "inputPhotoFileLocation", "inputPhotoLegacyFileLocation", "inputPeerPhotoFileLocation", "inputStickerSetThumb", "inputGroupCallStream"]],
1506
1513
  ["Peer", ["peerUser", "peerChat", "peerChannel"]],
1507
1514
  ["storage.FileType", ["storage.fileUnknown", "storage.filePartial", "storage.fileJpeg", "storage.fileGif", "storage.filePng", "storage.filePdf", "storage.fileMp3", "storage.fileMov", "storage.fileMp4", "storage.fileWebp"]],
1508
1515
  ["User", ["userEmpty", "user"]],
@@ -1515,7 +1522,7 @@ const enums = new Map([
1515
1522
  ["ChatPhoto", ["chatPhotoEmpty", "chatPhoto"]],
1516
1523
  ["Message", ["messageEmpty", "message", "messageService"]],
1517
1524
  ["MessageMedia", ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia"]],
1518
- ["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"]],
1525
+ ["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"]],
1519
1526
  ["Dialog", ["dialog", "dialogFolder"]],
1520
1527
  ["Photo", ["photoEmpty", "photo"]],
1521
1528
  ["PhotoSize", ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]],
@@ -1782,7 +1789,7 @@ const enums = new Map([
1782
1789
  ["messages.HighScores", ["messages.highScores"]],
1783
1790
  ["RichText", ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor"]],
1784
1791
  ["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"]],
1785
- ["PhoneCallDiscardReason", ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy"]],
1792
+ ["PhoneCallDiscardReason", ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy", "phoneCallDiscardReasonAllowGroupCall"]],
1786
1793
  ["DataJSON", ["dataJSON"]],
1787
1794
  ["LabeledPrice", ["labeledPrice"]],
1788
1795
  ["Invoice", ["invoice"]],
@@ -2033,7 +2040,7 @@ const enums = new Map([
2033
2040
  ["NotificationSound", ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]],
2034
2041
  ["account.SavedRingtone", ["account.savedRingtone", "account.savedRingtoneConverted"]],
2035
2042
  ["AttachMenuPeerType", ["attachMenuPeerTypeSameBotPM", "attachMenuPeerTypeBotPM", "attachMenuPeerTypePM", "attachMenuPeerTypeChat", "attachMenuPeerTypeBroadcast"]],
2036
- ["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription", "inputInvoiceStarGift"]],
2043
+ ["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription", "inputInvoiceStarGift", "inputInvoiceStarGiftUpgrade", "inputInvoiceStarGiftTransfer"]],
2037
2044
  ["payments.ExportedInvoice", ["payments.exportedInvoice"]],
2038
2045
  ["messages.TranscribedAudio", ["messages.transcribedAudio"]],
2039
2046
  ["help.PremiumPromo", ["help.premiumPromo"]],
@@ -2192,7 +2199,7 @@ const enums = new Map([
2192
2199
  ["MessageReactor", ["messageReactor"]],
2193
2200
  ["StarsGiveawayOption", ["starsGiveawayOption"]],
2194
2201
  ["StarsGiveawayWinnersOption", ["starsGiveawayWinnersOption"]],
2195
- ["StarGift", ["starGift"]],
2202
+ ["StarGift", ["starGift", "starGiftUnique"]],
2196
2203
  ["payments.StarGifts", ["payments.starGiftsNotModified", "payments.starGifts"]],
2197
2204
  ["UserStarGift", ["userStarGift"]],
2198
2205
  ["payments.UserStarGifts", ["payments.userStarGifts"]],
@@ -2207,6 +2214,11 @@ const enums = new Map([
2207
2214
  ["payments.SuggestedStarRefBots", ["payments.suggestedStarRefBots"]],
2208
2215
  ["StarsAmount", ["starsAmount"]],
2209
2216
  ["messages.FoundStickers", ["messages.foundStickersNotModified", "messages.foundStickers"]],
2217
+ ["BotVerifierSettings", ["botVerifierSettings"]],
2218
+ ["BotVerification", ["botVerification"]],
2219
+ ["StarGiftAttribute", ["starGiftAttributeModel", "starGiftAttributePattern", "starGiftAttributeBackdrop", "starGiftAttributeOriginalDetails"]],
2220
+ ["payments.StarGiftUpgradePreview", ["payments.starGiftUpgradePreview"]],
2221
+ ["users.Users", ["users.users", "users.usersSlice"]],
2210
2222
  ]);
2211
2223
  const types = new Map([
2212
2224
  [
@@ -2583,70 +2595,10 @@ const types = new Map([
2583
2595
  ],
2584
2596
  ],
2585
2597
  [
2586
- "ipPort",
2598
+ "null",
2587
2599
  [
2588
- 0xD433AD73,
2589
- [
2590
- ["ipv4", "number", "int"],
2591
- ["port", "number", "int"],
2592
- ],
2593
- ],
2594
- ],
2595
- [
2596
- "ipPortSecret",
2597
- [
2598
- 0x37982646,
2599
- [
2600
- ["ipv4", "number", "int"],
2601
- ["port", "number", "int"],
2602
- ["secret", Uint8Array, "bytes"],
2603
- ],
2604
- ],
2605
- ],
2606
- [
2607
- "accessPointRule",
2608
- [
2609
- 0x4679B65F,
2610
- [
2611
- ["phone_prefix_rules", "string", "string"],
2612
- ["dc_id", "number", "int"],
2613
- ["ips", ["IpPort"], "vector<IpPort>"],
2614
- ],
2615
- ],
2616
- ],
2617
- [
2618
- "help.configSimple",
2619
- [
2620
- 0x5A592A6C,
2621
- [
2622
- ["date", "number", "int"],
2623
- ["expires", "number", "int"],
2624
- ["rules", ["AccessPointRule"], "vector<AccessPointRule>"],
2625
- ],
2626
- ],
2627
- ],
2628
- [
2629
- "inputPeerPhotoFileLocationLegacy",
2630
- [
2631
- 0x27D69997,
2632
- [
2633
- ["flags", exports.flags, "#"],
2634
- ["big", "true", "flags.0?true"],
2635
- ["peer", "InputPeer", "InputPeer"],
2636
- ["volume_id", "bigint", "long"],
2637
- ["local_id", "number", "int"],
2638
- ],
2639
- ],
2640
- ],
2641
- [
2642
- "inputStickerSetThumbLegacy",
2643
- [
2644
- 0x0DBAEAE9,
2645
- [
2646
- ["stickerset", "InputStickerSet", "InputStickerSet"],
2647
- ["volume_id", "bigint", "long"],
2648
- ["local_id", "number", "int"],
2649
- ],
2600
+ 0x56730BCC,
2601
+ [],
2650
2602
  ],
2651
2603
  ],
2652
2604
  [
@@ -3301,7 +3253,7 @@ const types = new Map([
3301
3253
  [
3302
3254
  "user",
3303
3255
  [
3304
- 0x83314FCA,
3256
+ 0x4B46C37E,
3305
3257
  [
3306
3258
  ["flags", exports.flags, "#"],
3307
3259
  ["self", "true", "flags.10?true"],
@@ -3348,6 +3300,7 @@ const types = new Map([
3348
3300
  ["color", "PeerColor", "flags2.8?PeerColor"],
3349
3301
  ["profile_color", "PeerColor", "flags2.9?PeerColor"],
3350
3302
  ["bot_active_users", "number", "flags2.12?int"],
3303
+ ["bot_verification_icon", "bigint", "flags2.14?long"],
3351
3304
  ],
3352
3305
  ],
3353
3306
  ],
@@ -3473,7 +3426,7 @@ const types = new Map([
3473
3426
  [
3474
3427
  "channel",
3475
3428
  [
3476
- 0xFE4478BD,
3429
+ 0xE00998B7,
3477
3430
  [
3478
3431
  ["flags", exports.flags, "#"],
3479
3432
  ["creator", "true", "flags.0?true"],
@@ -3519,6 +3472,7 @@ const types = new Map([
3519
3472
  ["emoji_status", "EmojiStatus", "flags2.9?EmojiStatus"],
3520
3473
  ["level", "number", "flags2.10?int"],
3521
3474
  ["subscription_until_date", "number", "flags2.11?int"],
3475
+ ["bot_verification_icon", "bigint", "flags2.13?long"],
3522
3476
  ],
3523
3477
  ],
3524
3478
  ],
@@ -3569,7 +3523,7 @@ const types = new Map([
3569
3523
  [
3570
3524
  "channelFull",
3571
3525
  [
3572
- 0xBBAB348D,
3526
+ 0x9FF3B858,
3573
3527
  [
3574
3528
  ["flags", exports.flags, "#"],
3575
3529
  ["can_view_participants", "true", "flags.3?true"],
@@ -3633,6 +3587,7 @@ const types = new Map([
3633
3587
  ["boosts_applied", "number", "flags2.8?int"],
3634
3588
  ["boosts_unrestrict", "number", "flags2.9?int"],
3635
3589
  ["emojiset", "StickerSet", "flags2.10?StickerSet"],
3590
+ ["bot_verification", "BotVerification", "flags2.17?BotVerification"],
3636
3591
  ],
3637
3592
  ],
3638
3593
  ],
@@ -3723,7 +3678,7 @@ const types = new Map([
3723
3678
  [
3724
3679
  "message",
3725
3680
  [
3726
- 0x94345242,
3681
+ 0x96FDBBE9,
3727
3682
  [
3728
3683
  ["flags", exports.flags, "#"],
3729
3684
  ["out", "true", "flags.1?true"],
@@ -3766,18 +3721,20 @@ const types = new Map([
3766
3721
  ["quick_reply_shortcut_id", "number", "flags.30?int"],
3767
3722
  ["effect", "bigint", "flags2.2?long"],
3768
3723
  ["factcheck", "FactCheck", "flags2.3?FactCheck"],
3724
+ ["report_delivery_until_date", "number", "flags2.5?int"],
3769
3725
  ],
3770
3726
  ],
3771
3727
  ],
3772
3728
  [
3773
3729
  "messageService",
3774
3730
  [
3775
- 0x2B085862,
3731
+ 0xD3D28540,
3776
3732
  [
3777
3733
  ["flags", exports.flags, "#"],
3778
3734
  ["out", "true", "flags.1?true"],
3779
3735
  ["mentioned", "true", "flags.4?true"],
3780
3736
  ["media_unread", "true", "flags.5?true"],
3737
+ ["reactions_are_possible", "true", "flags.9?true"],
3781
3738
  ["silent", "true", "flags.13?true"],
3782
3739
  ["post", "true", "flags.14?true"],
3783
3740
  ["legacy", "true", "flags.19?true"],
@@ -3787,6 +3744,7 @@ const types = new Map([
3787
3744
  ["reply_to", "MessageReplyHeader", "flags.3?MessageReplyHeader"],
3788
3745
  ["date", "number", "int"],
3789
3746
  ["action", "MessageAction", "MessageAction"],
3747
+ ["reactions", "MessageReactions", "flags.20?MessageReactions"],
3790
3748
  ["ttl_period", "number", "flags.25?int"],
3791
3749
  ],
3792
3750
  ],
@@ -4494,15 +4452,36 @@ const types = new Map([
4494
4452
  [
4495
4453
  "messageActionStarGift",
4496
4454
  [
4497
- 0x08557637,
4455
+ 0xD8F4F0A7,
4498
4456
  [
4499
4457
  ["flags", exports.flags, "#"],
4500
4458
  ["name_hidden", "true", "flags.0?true"],
4501
4459
  ["saved", "true", "flags.2?true"],
4502
4460
  ["converted", "true", "flags.3?true"],
4461
+ ["upgraded", "true", "flags.5?true"],
4462
+ ["refunded", "true", "flags.9?true"],
4463
+ ["can_upgrade", "true", "flags.10?true"],
4503
4464
  ["gift", "StarGift", "StarGift"],
4504
4465
  ["message", "TextWithEntities", "flags.1?TextWithEntities"],
4505
4466
  ["convert_stars", "bigint", "flags.4?long"],
4467
+ ["upgrade_msg_id", "number", "flags.5?int"],
4468
+ ["upgrade_stars", "bigint", "flags.8?long"],
4469
+ ],
4470
+ ],
4471
+ ],
4472
+ [
4473
+ "messageActionStarGiftUnique",
4474
+ [
4475
+ 0x26077B99,
4476
+ [
4477
+ ["flags", exports.flags, "#"],
4478
+ ["upgrade", "true", "flags.0?true"],
4479
+ ["transferred", "true", "flags.1?true"],
4480
+ ["saved", "true", "flags.2?true"],
4481
+ ["refunded", "true", "flags.5?true"],
4482
+ ["gift", "StarGift", "StarGift"],
4483
+ ["can_export_at", "number", "flags.3?int"],
4484
+ ["transfer_stars", "bigint", "flags.4?long"],
4506
4485
  ],
4507
4486
  ],
4508
4487
  ],
@@ -4919,7 +4898,7 @@ const types = new Map([
4919
4898
  [
4920
4899
  "userFull",
4921
4900
  [
4922
- 0x979D2376,
4901
+ 0x4D975BBC,
4923
4902
  [
4924
4903
  ["flags", exports.flags, "#"],
4925
4904
  ["blocked", "true", "flags.0?true"],
@@ -4968,6 +4947,7 @@ const types = new Map([
4968
4947
  ["personal_channel_message", "number", "flags2.6?int"],
4969
4948
  ["stargifts_count", "number", "flags2.8?int"],
4970
4949
  ["starref_program", "StarRefProgram", "flags2.11?StarRefProgram"],
4950
+ ["bot_verification", "BotVerification", "flags2.12?BotVerification"],
4971
4951
  ],
4972
4952
  ],
4973
4953
  ],
@@ -6241,9 +6221,10 @@ const types = new Map([
6241
6221
  [
6242
6222
  "updateGroupCall",
6243
6223
  [
6244
- 0x14B24500,
6224
+ 0x97D64341,
6245
6225
  [
6246
- ["chat_id", "bigint", "long"],
6226
+ ["flags", exports.flags, "#"],
6227
+ ["chat_id", "bigint", "flags.0?long"],
6247
6228
  ["call", "GroupCall", "GroupCall"],
6248
6229
  ],
6249
6230
  ],
@@ -8342,7 +8323,7 @@ const types = new Map([
8342
8323
  [
8343
8324
  "chatInvite",
8344
8325
  [
8345
- 0xFE65389D,
8326
+ 0x5C9D3702,
8346
8327
  [
8347
8328
  ["flags", exports.flags, "#"],
8348
8329
  ["channel", "true", "flags.0?true"],
@@ -8362,6 +8343,7 @@ const types = new Map([
8362
8343
  ["color", "number", "int"],
8363
8344
  ["subscription_pricing", "StarsSubscriptionPricing", "flags.10?StarsSubscriptionPricing"],
8364
8345
  ["subscription_form_id", "bigint", "flags.12?long"],
8346
+ ["bot_verification", "BotVerification", "flags.13?BotVerification"],
8365
8347
  ],
8366
8348
  ],
8367
8349
  ],
@@ -8518,7 +8500,7 @@ const types = new Map([
8518
8500
  [
8519
8501
  "botInfo",
8520
8502
  [
8521
- 0x36607333,
8503
+ 0x4D8A0299,
8522
8504
  [
8523
8505
  ["flags", exports.flags, "#"],
8524
8506
  ["has_preview_medias", "true", "flags.6?true"],
@@ -8530,6 +8512,7 @@ const types = new Map([
8530
8512
  ["menu_button", "BotMenuButton", "flags.3?BotMenuButton"],
8531
8513
  ["privacy_policy_url", "string", "flags.7?string"],
8532
8514
  ["app_settings", "BotAppSettings", "flags.8?BotAppSettings"],
8515
+ ["verifier_settings", "BotVerifierSettings", "flags.9?BotVerifierSettings"],
8533
8516
  ],
8534
8517
  ],
8535
8518
  ],
@@ -10706,6 +10689,15 @@ const types = new Map([
10706
10689
  [],
10707
10690
  ],
10708
10691
  ],
10692
+ [
10693
+ "phoneCallDiscardReasonAllowGroupCall",
10694
+ [
10695
+ 0xAFE2B839,
10696
+ [
10697
+ ["encrypted_key", Uint8Array, "bytes"],
10698
+ ],
10699
+ ],
10700
+ ],
10709
10701
  [
10710
10702
  "dataJSON",
10711
10703
  [
@@ -11111,7 +11103,7 @@ const types = new Map([
11111
11103
  [
11112
11104
  "phoneCallWaiting",
11113
11105
  [
11114
- 0xC5226F17,
11106
+ 0xEED42858,
11115
11107
  [
11116
11108
  ["flags", exports.flags, "#"],
11117
11109
  ["video", "true", "flags.6?true"],
@@ -11122,13 +11114,14 @@ const types = new Map([
11122
11114
  ["participant_id", "bigint", "long"],
11123
11115
  ["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
11124
11116
  ["receive_date", "number", "flags.0?int"],
11117
+ ["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
11125
11118
  ],
11126
11119
  ],
11127
11120
  ],
11128
11121
  [
11129
11122
  "phoneCallRequested",
11130
11123
  [
11131
- 0x14B0ED0C,
11124
+ 0x45361C63,
11132
11125
  [
11133
11126
  ["flags", exports.flags, "#"],
11134
11127
  ["video", "true", "flags.6?true"],
@@ -11139,13 +11132,14 @@ const types = new Map([
11139
11132
  ["participant_id", "bigint", "long"],
11140
11133
  ["g_a_hash", Uint8Array, "bytes"],
11141
11134
  ["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
11135
+ ["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
11142
11136
  ],
11143
11137
  ],
11144
11138
  ],
11145
11139
  [
11146
11140
  "phoneCallAccepted",
11147
11141
  [
11148
- 0x3660C311,
11142
+ 0x22FD7181,
11149
11143
  [
11150
11144
  ["flags", exports.flags, "#"],
11151
11145
  ["video", "true", "flags.6?true"],
@@ -11156,13 +11150,14 @@ const types = new Map([
11156
11150
  ["participant_id", "bigint", "long"],
11157
11151
  ["g_b", Uint8Array, "bytes"],
11158
11152
  ["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
11153
+ ["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
11159
11154
  ],
11160
11155
  ],
11161
11156
  ],
11162
11157
  [
11163
11158
  "phoneCall",
11164
11159
  [
11165
- 0x30535AF5,
11160
+ 0x3BA5940C,
11166
11161
  [
11167
11162
  ["flags", exports.flags, "#"],
11168
11163
  ["p2p_allowed", "true", "flags.5?true"],
@@ -11178,13 +11173,14 @@ const types = new Map([
11178
11173
  ["connections", ["PhoneConnection"], "Vector<PhoneConnection>"],
11179
11174
  ["start_date", "number", "int"],
11180
11175
  ["custom_parameters", "DataJSON", "flags.7?DataJSON"],
11176
+ ["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
11181
11177
  ],
11182
11178
  ],
11183
11179
  ],
11184
11180
  [
11185
11181
  "phoneCallDiscarded",
11186
11182
  [
11187
- 0x50CA4DE1,
11183
+ 0xF9D25503,
11188
11184
  [
11189
11185
  ["flags", exports.flags, "#"],
11190
11186
  ["need_rating", "true", "flags.2?true"],
@@ -11193,6 +11189,7 @@ const types = new Map([
11193
11189
  ["id", "bigint", "long"],
11194
11190
  ["reason", "PhoneCallDiscardReason", "flags.0?PhoneCallDiscardReason"],
11195
11191
  ["duration", "number", "flags.1?int"],
11192
+ ["conference_call", "InputGroupCall", "flags.8?InputGroupCall"],
11196
11193
  ],
11197
11194
  ],
11198
11195
  ],
@@ -13501,7 +13498,7 @@ const types = new Map([
13501
13498
  [
13502
13499
  "dialogFilter",
13503
13500
  [
13504
- 0x5FB5523B,
13501
+ 0xAA472651,
13505
13502
  [
13506
13503
  ["flags", exports.flags, "#"],
13507
13504
  ["contacts", "true", "flags.0?true"],
@@ -13512,8 +13509,9 @@ const types = new Map([
13512
13509
  ["exclude_muted", "true", "flags.11?true"],
13513
13510
  ["exclude_read", "true", "flags.12?true"],
13514
13511
  ["exclude_archived", "true", "flags.13?true"],
13512
+ ["title_noanimate", "true", "flags.28?true"],
13515
13513
  ["id", "number", "int"],
13516
- ["title", "string", "string"],
13514
+ ["title", "TextWithEntities", "TextWithEntities"],
13517
13515
  ["emoticon", "string", "flags.25?string"],
13518
13516
  ["color", "number", "flags.27?int"],
13519
13517
  ["pinned_peers", ["InputPeer"], "Vector<InputPeer>"],
@@ -13532,12 +13530,13 @@ const types = new Map([
13532
13530
  [
13533
13531
  "dialogFilterChatlist",
13534
13532
  [
13535
- 0x9FE28EA4,
13533
+ 0x96537BD7,
13536
13534
  [
13537
13535
  ["flags", exports.flags, "#"],
13538
13536
  ["has_my_invites", "true", "flags.26?true"],
13537
+ ["title_noanimate", "true", "flags.28?true"],
13539
13538
  ["id", "number", "int"],
13540
- ["title", "string", "string"],
13539
+ ["title", "TextWithEntities", "TextWithEntities"],
13541
13540
  ["emoticon", "string", "flags.25?string"],
13542
13541
  ["color", "number", "flags.27?int"],
13543
13542
  ["pinned_peers", ["InputPeer"], "Vector<InputPeer>"],
@@ -13938,7 +13937,7 @@ const types = new Map([
13938
13937
  [
13939
13938
  "groupCall",
13940
13939
  [
13941
- 0xD597650C,
13940
+ 0xCDF8D3E3,
13942
13941
  [
13943
13942
  ["flags", exports.flags, "#"],
13944
13943
  ["join_muted", "true", "flags.1?true"],
@@ -13959,6 +13958,7 @@ const types = new Map([
13959
13958
  ["unmuted_video_count", "number", "flags.10?int"],
13960
13959
  ["unmuted_video_limit", "number", "int"],
13961
13960
  ["version", "number", "int"],
13961
+ ["conference_from_call", "bigint", "flags.14?long"],
13962
13962
  ],
13963
13963
  ],
13964
13964
  ],
@@ -14853,12 +14853,34 @@ const types = new Map([
14853
14853
  [
14854
14854
  ["flags", exports.flags, "#"],
14855
14855
  ["hide_name", "true", "flags.0?true"],
14856
+ ["include_upgrade", "true", "flags.2?true"],
14856
14857
  ["user_id", "InputUser", "InputUser"],
14857
14858
  ["gift_id", "bigint", "long"],
14858
14859
  ["message", "TextWithEntities", "flags.1?TextWithEntities"],
14859
14860
  ],
14860
14861
  ],
14861
14862
  ],
14863
+ [
14864
+ "inputInvoiceStarGiftUpgrade",
14865
+ [
14866
+ 0x5EBE7262,
14867
+ [
14868
+ ["flags", exports.flags, "#"],
14869
+ ["keep_original_details", "true", "flags.0?true"],
14870
+ ["msg_id", "number", "int"],
14871
+ ],
14872
+ ],
14873
+ ],
14874
+ [
14875
+ "inputInvoiceStarGiftTransfer",
14876
+ [
14877
+ 0xAE3BA9ED,
14878
+ [
14879
+ ["msg_id", "number", "int"],
14880
+ ["to_id", "InputUser", "InputUser"],
14881
+ ],
14882
+ ],
14883
+ ],
14862
14884
  [
14863
14885
  "payments.exportedInvoice",
14864
14886
  [
@@ -15663,10 +15685,11 @@ const types = new Map([
15663
15685
  [
15664
15686
  "chatlists.chatlistInvite",
15665
15687
  [
15666
- 0x1DCD839D,
15688
+ 0xF10ECE2F,
15667
15689
  [
15668
15690
  ["flags", exports.flags, "#"],
15669
- ["title", "string", "string"],
15691
+ ["title_noanimate", "true", "flags.1?true"],
15692
+ ["title", "TextWithEntities", "TextWithEntities"],
15670
15693
  ["emoticon", "string", "flags.0?string"],
15671
15694
  ["peers", ["Peer"], "Vector<Peer>"],
15672
15695
  ["chats", ["Chat"], "Vector<Chat>"],
@@ -17341,6 +17364,7 @@ const types = new Map([
17341
17364
  ["failed", "true", "flags.6?true"],
17342
17365
  ["gift", "true", "flags.10?true"],
17343
17366
  ["reaction", "true", "flags.11?true"],
17367
+ ["stargift_upgrade", "true", "flags.18?true"],
17344
17368
  ["id", "string", "string"],
17345
17369
  ["stars", "StarsAmount", "StarsAmount"],
17346
17370
  ["date", "number", "int"],
@@ -17593,7 +17617,7 @@ const types = new Map([
17593
17617
  [
17594
17618
  "starGift",
17595
17619
  [
17596
- 0x49C577CD,
17620
+ 0x02CC73C8,
17597
17621
  [
17598
17622
  ["flags", exports.flags, "#"],
17599
17623
  ["limited", "true", "flags.0?true"],
@@ -17607,6 +17631,22 @@ const types = new Map([
17607
17631
  ["convert_stars", "bigint", "long"],
17608
17632
  ["first_sale_date", "number", "flags.1?int"],
17609
17633
  ["last_sale_date", "number", "flags.1?int"],
17634
+ ["upgrade_stars", "bigint", "flags.3?long"],
17635
+ ],
17636
+ ],
17637
+ ],
17638
+ [
17639
+ "starGiftUnique",
17640
+ [
17641
+ 0x6A1407CD,
17642
+ [
17643
+ ["id", "bigint", "long"],
17644
+ ["title", "string", "string"],
17645
+ ["num", "number", "int"],
17646
+ ["owner_id", "bigint", "long"],
17647
+ ["attributes", ["StarGiftAttribute"], "Vector<StarGiftAttribute>"],
17648
+ ["availability_issued", "number", "int"],
17649
+ ["availability_total", "number", "int"],
17610
17650
  ],
17611
17651
  ],
17612
17652
  ],
@@ -17630,17 +17670,22 @@ const types = new Map([
17630
17670
  [
17631
17671
  "userStarGift",
17632
17672
  [
17633
- 0xEEA49A6E,
17673
+ 0x325835E1,
17634
17674
  [
17635
17675
  ["flags", exports.flags, "#"],
17636
17676
  ["name_hidden", "true", "flags.0?true"],
17637
17677
  ["unsaved", "true", "flags.5?true"],
17678
+ ["refunded", "true", "flags.9?true"],
17679
+ ["can_upgrade", "true", "flags.10?true"],
17638
17680
  ["from_id", "bigint", "flags.1?long"],
17639
17681
  ["date", "number", "int"],
17640
17682
  ["gift", "StarGift", "StarGift"],
17641
17683
  ["message", "TextWithEntities", "flags.2?TextWithEntities"],
17642
17684
  ["msg_id", "number", "flags.3?int"],
17643
17685
  ["convert_stars", "bigint", "flags.4?long"],
17686
+ ["upgrade_stars", "bigint", "flags.6?long"],
17687
+ ["can_export_at", "number", "flags.7?int"],
17688
+ ["transfer_stars", "bigint", "flags.8?long"],
17644
17689
  ],
17645
17690
  ],
17646
17691
  ],
@@ -17819,6 +17864,107 @@ const types = new Map([
17819
17864
  ],
17820
17865
  ],
17821
17866
  ],
17867
+ [
17868
+ "botVerifierSettings",
17869
+ [
17870
+ 0xB0CD6617,
17871
+ [
17872
+ ["flags", exports.flags, "#"],
17873
+ ["can_modify_custom_description", "true", "flags.1?true"],
17874
+ ["icon", "bigint", "long"],
17875
+ ["company", "string", "string"],
17876
+ ["custom_description", "string", "flags.0?string"],
17877
+ ],
17878
+ ],
17879
+ ],
17880
+ [
17881
+ "botVerification",
17882
+ [
17883
+ 0xF93CD45C,
17884
+ [
17885
+ ["bot_id", "bigint", "long"],
17886
+ ["icon", "bigint", "long"],
17887
+ ["description", "string", "string"],
17888
+ ],
17889
+ ],
17890
+ ],
17891
+ [
17892
+ "starGiftAttributeModel",
17893
+ [
17894
+ 0x39D99013,
17895
+ [
17896
+ ["name", "string", "string"],
17897
+ ["document", "Document", "Document"],
17898
+ ["rarity_permille", "number", "int"],
17899
+ ],
17900
+ ],
17901
+ ],
17902
+ [
17903
+ "starGiftAttributePattern",
17904
+ [
17905
+ 0x13ACFF19,
17906
+ [
17907
+ ["name", "string", "string"],
17908
+ ["document", "Document", "Document"],
17909
+ ["rarity_permille", "number", "int"],
17910
+ ],
17911
+ ],
17912
+ ],
17913
+ [
17914
+ "starGiftAttributeBackdrop",
17915
+ [
17916
+ 0x94271762,
17917
+ [
17918
+ ["name", "string", "string"],
17919
+ ["center_color", "number", "int"],
17920
+ ["edge_color", "number", "int"],
17921
+ ["pattern_color", "number", "int"],
17922
+ ["text_color", "number", "int"],
17923
+ ["rarity_permille", "number", "int"],
17924
+ ],
17925
+ ],
17926
+ ],
17927
+ [
17928
+ "starGiftAttributeOriginalDetails",
17929
+ [
17930
+ 0xC02C4F4B,
17931
+ [
17932
+ ["flags", exports.flags, "#"],
17933
+ ["sender_id", "bigint", "flags.0?long"],
17934
+ ["recipient_id", "bigint", "long"],
17935
+ ["date", "number", "int"],
17936
+ ["message", "TextWithEntities", "flags.1?TextWithEntities"],
17937
+ ],
17938
+ ],
17939
+ ],
17940
+ [
17941
+ "payments.starGiftUpgradePreview",
17942
+ [
17943
+ 0x167BD90B,
17944
+ [
17945
+ ["sample_attributes", ["StarGiftAttribute"], "Vector<StarGiftAttribute>"],
17946
+ ],
17947
+ ],
17948
+ ],
17949
+ [
17950
+ "users.users",
17951
+ [
17952
+ 0x62D706B8,
17953
+ [
17954
+ ["users", ["User"], "Vector<User>"],
17955
+ ],
17956
+ ],
17957
+ ],
17958
+ [
17959
+ "users.usersSlice",
17960
+ [
17961
+ 0x315A4974,
17962
+ [
17963
+ ["count", "number", "int"],
17964
+ ["users", ["User"], "Vector<User>"],
17965
+ ],
17966
+ ],
17967
+ ],
17822
17968
  [
17823
17969
  "req_pq_multi",
17824
17970
  [
@@ -17906,35 +18052,6 @@ const types = new Map([
17906
18052
  [],
17907
18053
  ],
17908
18054
  ],
17909
- [
17910
- "invokeWithBusinessConnectionPrefix",
17911
- [
17912
- 0xDD289F8E,
17913
- [
17914
- ["connection_id", "string", "string"],
17915
- ],
17916
- ],
17917
- ],
17918
- [
17919
- "invokeWithGooglePlayIntegrityPrefix",
17920
- [
17921
- 0x1DF92984,
17922
- [
17923
- ["nonce", "string", "string"],
17924
- ["token", "string", "string"],
17925
- ],
17926
- ],
17927
- ],
17928
- [
17929
- "invokeWithApnsSecretPrefix",
17930
- [
17931
- 0x0DAE54F8,
17932
- [
17933
- ["nonce", "string", "string"],
17934
- ["secret", "string", "string"],
17935
- ],
17936
- ],
17937
- ],
17938
18055
  [
17939
18056
  "invokeAfterMsg",
17940
18057
  [
@@ -20231,6 +20348,8 @@ const types = new Map([
20231
20348
  [
20232
20349
  ["flags", exports.flags, "#"],
20233
20350
  ["broadcasts_only", "true", "flags.1?true"],
20351
+ ["groups_only", "true", "flags.2?true"],
20352
+ ["users_only", "true", "flags.3?true"],
20234
20353
  ["folder_id", "number", "flags.0?int"],
20235
20354
  ["q", "string", "string"],
20236
20355
  ["filter", "MessagesFilter", "MessagesFilter"],
@@ -22223,6 +22342,18 @@ const types = new Map([
22223
22342
  ],
22224
22343
  ],
22225
22344
  ],
22345
+ [
22346
+ "messages.reportMessagesDelivery",
22347
+ [
22348
+ 0x5A6D7395,
22349
+ [
22350
+ ["flags", exports.flags, "#"],
22351
+ ["push", "true", "flags.0?true"],
22352
+ ["peer", "InputPeer", "InputPeer"],
22353
+ ["id", ["number"], "Vector<int>"],
22354
+ ],
22355
+ ],
22356
+ ],
22226
22357
  [
22227
22358
  "updates.getState",
22228
22359
  [
@@ -23563,6 +23694,29 @@ const types = new Map([
23563
23694
  ],
23564
23695
  ],
23565
23696
  ],
23697
+ [
23698
+ "bots.setCustomVerification",
23699
+ [
23700
+ 0x8B89DFBD,
23701
+ [
23702
+ ["flags", exports.flags, "#"],
23703
+ ["enabled", "true", "flags.1?true"],
23704
+ ["bot", "InputUser", "flags.0?InputUser"],
23705
+ ["peer", "InputPeer", "InputPeer"],
23706
+ ["custom_description", "string", "flags.2?string"],
23707
+ ],
23708
+ ],
23709
+ ],
23710
+ [
23711
+ "bots.getBotRecommendations",
23712
+ [
23713
+ 0x2855BE61,
23714
+ [
23715
+ ["flags", exports.flags, "#"],
23716
+ ["bot", "InputUser", "InputUser"],
23717
+ ],
23718
+ ],
23719
+ ],
23566
23720
  [
23567
23721
  "payments.getPaymentForm",
23568
23722
  [
@@ -23892,11 +24046,10 @@ const types = new Map([
23892
24046
  [
23893
24047
  "payments.saveStarGift",
23894
24048
  [
23895
- 0x87ACF08E,
24049
+ 0x92FD2AAE,
23896
24050
  [
23897
24051
  ["flags", exports.flags, "#"],
23898
24052
  ["unsave", "true", "flags.0?true"],
23899
- ["user_id", "InputUser", "InputUser"],
23900
24053
  ["msg_id", "number", "int"],
23901
24054
  ],
23902
24055
  ],
@@ -23904,9 +24057,8 @@ const types = new Map([
23904
24057
  [
23905
24058
  "payments.convertStarGift",
23906
24059
  [
23907
- 0x0421E027,
24060
+ 0x72770C83,
23908
24061
  [
23909
- ["user_id", "InputUser", "InputUser"],
23910
24062
  ["msg_id", "number", "int"],
23911
24063
  ],
23912
24064
  ],
@@ -23982,6 +24134,45 @@ const types = new Map([
23982
24134
  ],
23983
24135
  ],
23984
24136
  ],
24137
+ [
24138
+ "payments.getStarGiftUpgradePreview",
24139
+ [
24140
+ 0x9C9ABCB1,
24141
+ [
24142
+ ["gift_id", "bigint", "long"],
24143
+ ],
24144
+ ],
24145
+ ],
24146
+ [
24147
+ "payments.upgradeStarGift",
24148
+ [
24149
+ 0xCF4F0781,
24150
+ [
24151
+ ["flags", exports.flags, "#"],
24152
+ ["keep_original_details", "true", "flags.0?true"],
24153
+ ["msg_id", "number", "int"],
24154
+ ],
24155
+ ],
24156
+ ],
24157
+ [
24158
+ "payments.transferStarGift",
24159
+ [
24160
+ 0x333FB526,
24161
+ [
24162
+ ["msg_id", "number", "int"],
24163
+ ["to_id", "InputUser", "InputUser"],
24164
+ ],
24165
+ ],
24166
+ ],
24167
+ [
24168
+ "payments.getUserStarGift",
24169
+ [
24170
+ 0xB502E4A5,
24171
+ [
24172
+ ["msg_id", ["number"], "Vector<int>"],
24173
+ ],
24174
+ ],
24175
+ ],
23985
24176
  [
23986
24177
  "stickers.createStickerSet",
23987
24178
  [
@@ -24111,11 +24302,12 @@ const types = new Map([
24111
24302
  [
24112
24303
  "phone.requestCall",
24113
24304
  [
24114
- 0x42FF96ED,
24305
+ 0xA6C4600C,
24115
24306
  [
24116
24307
  ["flags", exports.flags, "#"],
24117
24308
  ["video", "true", "flags.0?true"],
24118
24309
  ["user_id", "InputUser", "InputUser"],
24310
+ ["conference_call", "InputGroupCall", "flags.1?InputGroupCall"],
24119
24311
  ["random_id", "number", "int"],
24120
24312
  ["g_a_hash", Uint8Array, "bytes"],
24121
24313
  ["protocol", "PhoneCallProtocol", "PhoneCallProtocol"],
@@ -24218,7 +24410,7 @@ const types = new Map([
24218
24410
  [
24219
24411
  "phone.joinGroupCall",
24220
24412
  [
24221
- 0xB132FF7B,
24413
+ 0xD61E1DF3,
24222
24414
  [
24223
24415
  ["flags", exports.flags, "#"],
24224
24416
  ["muted", "true", "flags.0?true"],
@@ -24226,6 +24418,7 @@ const types = new Map([
24226
24418
  ["call", "InputGroupCall", "InputGroupCall"],
24227
24419
  ["join_as", "InputPeer", "InputPeer"],
24228
24420
  ["invite_hash", "string", "flags.1?string"],
24421
+ ["key_fingerprint", "bigint", "flags.3?long"],
24229
24422
  ["params", "DataJSON", "DataJSON"],
24230
24423
  ],
24231
24424
  ],
@@ -24442,6 +24635,16 @@ const types = new Map([
24442
24635
  ],
24443
24636
  ],
24444
24637
  ],
24638
+ [
24639
+ "phone.createConferenceCall",
24640
+ [
24641
+ 0xDFC909AB,
24642
+ [
24643
+ ["peer", "InputPhoneCall", "InputPhoneCall"],
24644
+ ["key_fingerprint", "bigint", "long"],
24645
+ ],
24646
+ ],
24647
+ ],
24445
24648
  [
24446
24649
  "langpack.getLangPack",
24447
24650
  [