@mtkruto/node 0.13.0 → 0.14.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 (747) 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 +1 -1
  18. package/esm/3_types.js +1 -1
  19. package/esm/4_constants.d.ts +1 -1
  20. package/esm/4_constants.js +2 -2
  21. package/esm/4_errors.d.ts +1 -1
  22. package/esm/4_errors.js +1 -1
  23. package/esm/5_client.d.ts +1 -1
  24. package/esm/5_client.js +1 -1
  25. package/esm/client/0_client_abstract.js +1 -1
  26. package/esm/client/0_filters.d.ts +1 -1
  27. package/esm/client/0_filters.js +1 -1
  28. package/esm/client/0_html.d.ts +1 -1
  29. package/esm/client/0_html.js +1 -1
  30. package/esm/client/0_markdown.d.ts +1 -1
  31. package/esm/client/0_markdown.js +1 -1
  32. package/esm/client/0_message.d.ts +1 -1
  33. package/esm/client/0_message.js +1 -1
  34. package/esm/client/0_params.d.ts +16 -8
  35. package/esm/client/0_params.d.ts.map +1 -1
  36. package/esm/client/0_params.js +1 -1
  37. package/esm/client/0_password.js +1 -1
  38. package/esm/client/0_storage_operations.d.ts +1 -1
  39. package/esm/client/0_storage_operations.js +1 -1
  40. package/esm/client/0_utilities.d.ts +3 -3
  41. package/esm/client/0_utilities.d.ts.map +1 -1
  42. package/esm/client/0_utilities.js +1 -1
  43. package/esm/client/1_client_encrypted.d.ts +1 -1
  44. package/esm/client/1_client_encrypted.js +1 -1
  45. package/esm/client/1_client_plain.d.ts +1 -1
  46. package/esm/client/1_client_plain.js +1 -1
  47. package/esm/client/1_composer.d.ts +1 -1
  48. package/esm/client/1_composer.js +1 -1
  49. package/esm/client/1_types.d.ts +1 -1
  50. package/esm/client/1_types.js +1 -1
  51. package/esm/client/2_account_manager.d.ts +1 -1
  52. package/esm/client/2_account_manager.js +1 -1
  53. package/esm/client/2_bot_info_manager.d.ts +1 -1
  54. package/esm/client/2_bot_info_manager.js +1 -1
  55. package/esm/client/2_business_connection_manager.d.ts +1 -1
  56. package/esm/client/2_business_connection_manager.js +1 -1
  57. package/esm/client/2_file_manager.js +1 -1
  58. package/esm/client/2_network_statistics_manager.d.ts +1 -1
  59. package/esm/client/2_network_statistics_manager.js +1 -1
  60. package/esm/client/2_payment_manager.d.ts +1 -1
  61. package/esm/client/2_payment_manager.js +1 -1
  62. package/esm/client/2_reaction_manager.d.ts +1 -1
  63. package/esm/client/2_reaction_manager.js +1 -1
  64. package/esm/client/2_update_manager.d.ts +1 -1
  65. package/esm/client/2_update_manager.js +1 -1
  66. package/esm/client/3_message_manager.d.ts +3 -2
  67. package/esm/client/3_message_manager.d.ts.map +1 -1
  68. package/esm/client/3_message_manager.js +40 -5
  69. package/esm/client/3_video_chat_manager.d.ts +2 -2
  70. package/esm/client/3_video_chat_manager.d.ts.map +1 -1
  71. package/esm/client/3_video_chat_manager.js +4 -1
  72. package/esm/client/4_callback_query_manager.d.ts +1 -1
  73. package/esm/client/4_callback_query_manager.js +1 -1
  74. package/esm/client/4_chat_list_manager.d.ts +1 -1
  75. package/esm/client/4_chat_list_manager.js +1 -1
  76. package/esm/client/4_inline_query_manager.d.ts +1 -1
  77. package/esm/client/4_inline_query_manager.js +1 -1
  78. package/esm/client/4_poll_manager.d.ts +1 -1
  79. package/esm/client/4_poll_manager.js +1 -1
  80. package/esm/client/4_story_manager.d.ts +1 -1
  81. package/esm/client/4_story_manager.js +1 -1
  82. package/esm/client/5_client.d.ts +12 -2
  83. package/esm/client/5_client.d.ts.map +1 -1
  84. package/esm/client/5_client.js +19 -2
  85. package/esm/connection/0_connection.d.ts +1 -1
  86. package/esm/connection/0_connection.js +1 -1
  87. package/esm/connection/1_connection_tcp.node.d.ts +1 -1
  88. package/esm/connection/1_connection_tcp.node.js +1 -1
  89. package/esm/connection/1_connection_web_socket.js +1 -1
  90. package/esm/mod.d.ts +1 -1
  91. package/esm/mod.js +1 -1
  92. package/esm/storage/0_storage.d.ts +1 -1
  93. package/esm/storage/0_storage.js +1 -1
  94. package/esm/storage/1_utilities.d.ts +1 -1
  95. package/esm/storage/1_utilities.js +1 -1
  96. package/esm/storage/2_storage_indexed_db.d.ts +1 -1
  97. package/esm/storage/2_storage_indexed_db.js +1 -1
  98. package/esm/storage/2_storage_local_storage.node.d.ts +1 -1
  99. package/esm/storage/2_storage_local_storage.node.js +1 -1
  100. package/esm/storage/2_storage_memory.d.ts +1 -1
  101. package/esm/storage/2_storage_memory.js +1 -1
  102. package/esm/storage/2_storage_session_storage.d.ts +1 -1
  103. package/esm/storage/2_storage_session_storage.js +1 -1
  104. package/esm/tl/0_api.d.ts +218 -79
  105. package/esm/tl/0_api.d.ts.map +1 -1
  106. package/esm/tl/0_api.js +362 -159
  107. package/esm/tl/0_tl_raw_reader.d.ts +1 -1
  108. package/esm/tl/0_tl_raw_reader.js +1 -1
  109. package/esm/tl/0_tl_raw_writer.d.ts +1 -1
  110. package/esm/tl/0_tl_raw_writer.js +1 -1
  111. package/esm/tl/1_utilities.d.ts +1 -1
  112. package/esm/tl/1_utilities.js +1 -1
  113. package/esm/tl/2_deserialize.d.ts +1 -1
  114. package/esm/tl/2_deserialize.js +1 -1
  115. package/esm/tl/2_serialize.d.ts +1 -1
  116. package/esm/tl/2_serialize.js +1 -1
  117. package/esm/tl/3_tl_reader.d.ts +1 -1
  118. package/esm/tl/3_tl_reader.js +1 -1
  119. package/esm/tl/3_utilities.d.ts +1 -1
  120. package/esm/tl/3_utilities.js +1 -1
  121. package/esm/tl/4_rpc_result.d.ts +1 -1
  122. package/esm/tl/4_rpc_result.js +1 -1
  123. package/esm/tl/4_tl_writer.d.ts +1 -1
  124. package/esm/tl/4_tl_writer.js +1 -1
  125. package/esm/tl/5_message.d.ts +1 -1
  126. package/esm/tl/5_message.js +1 -1
  127. package/esm/transport/0_obfuscation.js +1 -1
  128. package/esm/transport/0_transport.d.ts +1 -1
  129. package/esm/transport/0_transport.js +1 -1
  130. package/esm/transport/1_transport_abridged.d.ts +1 -1
  131. package/esm/transport/1_transport_abridged.js +1 -1
  132. package/esm/transport/1_transport_intermediate.d.ts +1 -1
  133. package/esm/transport/1_transport_intermediate.js +1 -1
  134. package/esm/transport/2_transport_provider.d.ts +1 -1
  135. package/esm/transport/2_transport_provider.js +1 -1
  136. package/esm/transport/3_transport_provider_tcp.d.ts +1 -1
  137. package/esm/transport/3_transport_provider_tcp.js +1 -1
  138. package/esm/transport/3_transport_provider_web_socket.d.ts +1 -1
  139. package/esm/transport/3_transport_provider_web_socket.js +1 -1
  140. package/esm/types/0_authorization_state.d.ts +1 -1
  141. package/esm/types/0_authorization_state.js +1 -1
  142. package/esm/types/0_birthday.d.ts +1 -1
  143. package/esm/types/0_birthday.js +1 -1
  144. package/esm/types/0_bot_command.d.ts +1 -1
  145. package/esm/types/0_bot_command.js +1 -1
  146. package/esm/types/0_callback_query_answer.d.ts +1 -1
  147. package/esm/types/0_callback_query_answer.js +1 -1
  148. package/esm/types/0_callback_query_question.d.ts +1 -1
  149. package/esm/types/0_callback_query_question.js +1 -1
  150. package/esm/types/0_chat_action.d.ts +1 -1
  151. package/esm/types/0_chat_action.js +1 -1
  152. package/esm/types/0_chat_administrator_rights.d.ts +1 -1
  153. package/esm/types/0_chat_administrator_rights.js +1 -1
  154. package/esm/types/0_chat_member_rights.d.ts +1 -1
  155. package/esm/types/0_chat_member_rights.js +1 -1
  156. package/esm/types/0_chat_photo.d.ts +1 -1
  157. package/esm/types/0_chat_photo.js +1 -1
  158. package/esm/types/0_connection_state.d.ts +1 -1
  159. package/esm/types/0_connection_state.js +1 -1
  160. package/esm/types/0_contact.d.ts +1 -1
  161. package/esm/types/0_contact.js +1 -1
  162. package/esm/types/0_dice.d.ts +1 -1
  163. package/esm/types/0_dice.js +1 -1
  164. package/esm/types/0_failed_invitation.d.ts +1 -1
  165. package/esm/types/0_failed_invitation.js +1 -1
  166. package/esm/types/0_file_source.d.ts +1 -1
  167. package/esm/types/0_file_source.js +1 -1
  168. package/esm/types/0_giveaway_parameters.d.ts +1 -1
  169. package/esm/types/0_giveaway_parameters.js +1 -1
  170. package/esm/types/0_id.d.ts +1 -1
  171. package/esm/types/0_id.js +1 -1
  172. package/esm/types/0_invoice.d.ts +1 -1
  173. package/esm/types/0_invoice.js +1 -1
  174. package/esm/types/0_keyboard_button_poll_type.d.ts +1 -1
  175. package/esm/types/0_keyboard_button_poll_type.js +1 -1
  176. package/esm/types/0_link_preview.d.ts +1 -1
  177. package/esm/types/0_link_preview.js +1 -1
  178. package/esm/types/0_live_stream_channel.d.ts +1 -1
  179. package/esm/types/0_live_stream_channel.js +1 -1
  180. package/esm/types/0_location.d.ts +1 -1
  181. package/esm/types/0_location.js +1 -1
  182. package/esm/types/0_login_url.d.ts +1 -1
  183. package/esm/types/0_login_url.js +1 -1
  184. package/esm/types/0_mask_position.d.ts +1 -1
  185. package/esm/types/0_mask_position.js +1 -1
  186. package/esm/types/0_message_entity.d.ts +1 -1
  187. package/esm/types/0_message_entity.js +1 -1
  188. package/esm/types/0_message_reference.d.ts +1 -1
  189. package/esm/types/0_message_reference.js +1 -1
  190. package/esm/types/0_message_search_filter.d.ts +1 -1
  191. package/esm/types/0_message_search_filter.js +1 -1
  192. package/esm/types/0_mini_app_info.d.ts +1 -1
  193. package/esm/types/0_mini_app_info.js +1 -1
  194. package/esm/types/0_network_statistics_entry.d.ts +1 -1
  195. package/esm/types/0_network_statistics_entry.js +1 -1
  196. package/esm/types/0_opening_hours.d.ts +1 -1
  197. package/esm/types/0_opening_hours.js +1 -1
  198. package/esm/types/0_parse_mode.d.ts +1 -1
  199. package/esm/types/0_parse_mode.js +1 -1
  200. package/esm/types/0_price_tag.d.ts +1 -1
  201. package/esm/types/0_price_tag.js +1 -1
  202. package/esm/types/0_reaction.d.ts +1 -1
  203. package/esm/types/0_reaction.js +1 -1
  204. package/esm/types/0_refunded_payment.d.ts +1 -1
  205. package/esm/types/0_refunded_payment.js +1 -1
  206. package/esm/types/0_restriction_reason.d.ts +1 -1
  207. package/esm/types/0_restriction_reason.js +1 -1
  208. package/esm/types/0_self_destruct_option.d.ts +1 -1
  209. package/esm/types/0_self_destruct_option.js +1 -1
  210. package/esm/types/0_shipping_address.d.ts +1 -1
  211. package/esm/types/0_shipping_address.js +1 -1
  212. package/esm/types/0_story_reference.d.ts +1 -1
  213. package/esm/types/0_story_reference.js +1 -1
  214. package/esm/types/0_switch_inline_query_chosen_chats.d.ts +1 -1
  215. package/esm/types/0_switch_inline_query_chosen_chats.js +1 -1
  216. package/esm/types/0_thumbnail.d.ts +1 -1
  217. package/esm/types/0_thumbnail.js +1 -1
  218. package/esm/types/0_video_chat.d.ts +1 -1
  219. package/esm/types/0_video_chat.js +1 -1
  220. package/esm/types/0_voice.d.ts +1 -1
  221. package/esm/types/0_voice.js +1 -1
  222. package/esm/types/1_animation.d.ts +1 -1
  223. package/esm/types/1_animation.js +1 -1
  224. package/esm/types/1_audio.d.ts +1 -1
  225. package/esm/types/1_audio.js +1 -1
  226. package/esm/types/1_bot_command_scope.d.ts +1 -1
  227. package/esm/types/1_bot_command_scope.js +1 -1
  228. package/esm/types/1_chat_p.d.ts +1 -1
  229. package/esm/types/1_chat_p.js +1 -1
  230. package/esm/types/1_document.d.ts +1 -1
  231. package/esm/types/1_document.js +1 -1
  232. package/esm/types/1_giveaway.d.ts +1 -1
  233. package/esm/types/1_giveaway.js +1 -1
  234. package/esm/types/1_inline_query_result_button.d.ts +1 -1
  235. package/esm/types/1_inline_query_result_button.js +1 -1
  236. package/esm/types/1_input_media.d.ts +1 -1
  237. package/esm/types/1_input_media.js +1 -1
  238. package/esm/types/1_input_story_content.d.ts +1 -1
  239. package/esm/types/1_input_story_content.js +1 -1
  240. package/esm/types/1_keyboard_button.d.ts +1 -1
  241. package/esm/types/1_keyboard_button.js +1 -1
  242. package/esm/types/1_message_content.d.ts +2 -2
  243. package/esm/types/1_message_content.d.ts.map +1 -1
  244. package/esm/types/1_message_content.js +1 -1
  245. package/esm/types/1_message_reaction.d.ts +1 -1
  246. package/esm/types/1_message_reaction.js +1 -1
  247. package/esm/types/1_network_statistics.d.ts +1 -1
  248. package/esm/types/1_network_statistics.js +1 -1
  249. package/esm/types/1_order_info.d.ts +1 -1
  250. package/esm/types/1_order_info.js +1 -1
  251. package/esm/types/1_photo.d.ts +1 -1
  252. package/esm/types/1_photo.js +1 -1
  253. package/esm/types/1_poll_option.d.ts +1 -1
  254. package/esm/types/1_poll_option.js +1 -1
  255. package/esm/types/1_reaction_count.d.ts +1 -1
  256. package/esm/types/1_reaction_count.js +1 -1
  257. package/esm/types/1_reply_quote.d.ts +1 -1
  258. package/esm/types/1_reply_quote.js +1 -1
  259. package/esm/types/1_sticker.d.ts +1 -1
  260. package/esm/types/1_sticker.js +1 -1
  261. package/esm/types/1_story_privacy.d.ts +1 -1
  262. package/esm/types/1_story_privacy.js +1 -1
  263. package/esm/types/1_story_reaction.d.ts +1 -1
  264. package/esm/types/1_story_reaction.js +1 -1
  265. package/esm/types/1_user.d.ts +1 -1
  266. package/esm/types/1_user.js +1 -1
  267. package/esm/types/1_venue.d.ts +1 -1
  268. package/esm/types/1_venue.js +1 -1
  269. package/esm/types/1_video.d.ts +1 -1
  270. package/esm/types/1_video.js +1 -1
  271. package/esm/types/1_video_note.d.ts +1 -1
  272. package/esm/types/1_video_note.js +1 -1
  273. package/esm/types/2_business_connection.d.ts +1 -1
  274. package/esm/types/2_business_connection.js +1 -1
  275. package/esm/types/2_chat.d.ts +1 -1
  276. package/esm/types/2_chat.js +1 -1
  277. package/esm/types/2_chat_member.d.ts +1 -1
  278. package/esm/types/2_chat_member.js +1 -1
  279. package/esm/types/2_chosen_inline_result.d.ts +1 -1
  280. package/esm/types/2_chosen_inline_result.js +1 -1
  281. package/esm/types/2_forward_header.d.ts +1 -1
  282. package/esm/types/2_forward_header.js +1 -1
  283. package/esm/types/2_game.d.ts +1 -1
  284. package/esm/types/2_game.js +1 -1
  285. package/esm/types/2_inactive_chat.d.ts +1 -1
  286. package/esm/types/2_inactive_chat.js +1 -1
  287. package/esm/types/2_inline_keyboard_button.d.ts +1 -1
  288. package/esm/types/2_inline_keyboard_button.js +1 -1
  289. package/esm/types/2_inline_query.d.ts +1 -1
  290. package/esm/types/2_inline_query.js +1 -1
  291. package/esm/types/2_invite_link.d.ts +1 -1
  292. package/esm/types/2_invite_link.js +1 -1
  293. package/esm/types/2_message_interactions.d.ts +1 -1
  294. package/esm/types/2_message_interactions.js +1 -1
  295. package/esm/types/2_message_reaction_count.d.ts +1 -1
  296. package/esm/types/2_message_reaction_count.js +1 -1
  297. package/esm/types/2_message_reactions.d.ts +1 -1
  298. package/esm/types/2_message_reactions.js +1 -1
  299. package/esm/types/2_poll.d.ts +1 -1
  300. package/esm/types/2_poll.js +1 -1
  301. package/esm/types/2_pre_checkout_query.d.ts +1 -1
  302. package/esm/types/2_pre_checkout_query.js +1 -1
  303. package/esm/types/2_reply_to.d.ts +1 -1
  304. package/esm/types/2_reply_to.js +1 -1
  305. package/esm/types/2_story_content.d.ts +1 -1
  306. package/esm/types/2_story_content.js +1 -1
  307. package/esm/types/2_story_interactions.d.ts +1 -1
  308. package/esm/types/2_story_interactions.js +1 -1
  309. package/esm/types/2_story_interactive_area.d.ts +1 -1
  310. package/esm/types/2_story_interactive_area.js +1 -1
  311. package/esm/types/2_successful_payment.d.ts +1 -1
  312. package/esm/types/2_successful_payment.js +1 -1
  313. package/esm/types/3_chat_member_updated.d.ts +1 -1
  314. package/esm/types/3_chat_member_updated.js +1 -1
  315. package/esm/types/3_join_request.d.ts +1 -1
  316. package/esm/types/3_join_request.js +1 -1
  317. package/esm/types/3_reply_markup.d.ts +1 -1
  318. package/esm/types/3_reply_markup.js +1 -1
  319. package/esm/types/3_story.d.ts +1 -1
  320. package/esm/types/3_story.js +1 -1
  321. package/esm/types/4_inline_query_result.d.ts +1 -1
  322. package/esm/types/4_inline_query_result.js +1 -1
  323. package/esm/types/4_message.d.ts +2 -1
  324. package/esm/types/4_message.d.ts.map +1 -1
  325. package/esm/types/4_message.js +9 -3
  326. package/esm/types/5_callback_query.d.ts +1 -1
  327. package/esm/types/5_callback_query.js +1 -1
  328. package/esm/types/5_chat_list_item.d.ts +1 -1
  329. package/esm/types/5_chat_list_item.js +1 -1
  330. package/esm/types/5_inline_query_answer.d.ts +1 -1
  331. package/esm/types/5_inline_query_answer.js +1 -1
  332. package/esm/types/6_update.d.ts +1 -1
  333. package/esm/types/6_update.js +1 -1
  334. package/esm/types/_file_id.d.ts +1 -1
  335. package/esm/types/_file_id.js +1 -1
  336. package/esm/types/_getters.d.ts +1 -1
  337. package/esm/types/_getters.js +1 -1
  338. package/esm/utilities/0_bigint.js +1 -1
  339. package/esm/utilities/0_buffer.d.ts +1 -1
  340. package/esm/utilities/0_buffer.js +1 -1
  341. package/esm/utilities/0_cache_map.d.ts +1 -1
  342. package/esm/utilities/0_cache_map.js +1 -1
  343. package/esm/utilities/0_color.d.ts +1 -1
  344. package/esm/utilities/0_color.js +1 -1
  345. package/esm/utilities/0_env.js +1 -1
  346. package/esm/utilities/0_gunzip.d.ts +1 -1
  347. package/esm/utilities/0_gunzip.js +1 -1
  348. package/esm/utilities/0_hash.js +1 -1
  349. package/esm/utilities/0_misc.d.ts +1 -1
  350. package/esm/utilities/0_misc.js +1 -1
  351. package/esm/utilities/0_mutex.d.ts +1 -1
  352. package/esm/utilities/0_mutex.js +1 -1
  353. package/esm/utilities/0_object.d.ts +1 -1
  354. package/esm/utilities/0_object.js +1 -1
  355. package/esm/utilities/0_part_stream.d.ts +1 -1
  356. package/esm/utilities/0_part_stream.js +1 -1
  357. package/esm/utilities/0_rle.d.ts +1 -1
  358. package/esm/utilities/0_rle.js +1 -1
  359. package/esm/utilities/0_types.d.ts +1 -1
  360. package/esm/utilities/0_types.js +1 -1
  361. package/esm/utilities/0_units.d.ts +1 -1
  362. package/esm/utilities/0_units.js +1 -1
  363. package/esm/utilities/1_auth.js +1 -1
  364. package/esm/utilities/1_base64.d.ts +1 -1
  365. package/esm/utilities/1_base64.js +1 -1
  366. package/esm/utilities/1_crypto.d.ts +1 -1
  367. package/esm/utilities/1_crypto.js +1 -1
  368. package/esm/utilities/1_logger.d.ts +1 -1
  369. package/esm/utilities/1_logger.js +1 -1
  370. package/esm/utilities/1_math.d.ts +1 -1
  371. package/esm/utilities/1_math.js +1 -1
  372. package/esm/utilities/2_queue.d.ts +1 -1
  373. package/esm/utilities/2_queue.js +1 -1
  374. package/package.json +1 -1
  375. package/script/0_deps.d.ts +1 -1
  376. package/script/0_deps.js +1 -1
  377. package/script/0_errors.d.ts +1 -1
  378. package/script/0_errors.js +1 -1
  379. package/script/1_utilities.d.ts +1 -1
  380. package/script/1_utilities.js +1 -1
  381. package/script/2_connection.d.ts +1 -1
  382. package/script/2_connection.js +1 -1
  383. package/script/2_storage.d.ts +1 -1
  384. package/script/2_storage.js +1 -1
  385. package/script/2_tl.d.ts +1 -1
  386. package/script/2_tl.js +1 -1
  387. package/script/3_errors.d.ts +1 -1
  388. package/script/3_errors.js +1 -1
  389. package/script/3_transport.d.ts +1 -1
  390. package/script/3_transport.js +1 -1
  391. package/script/3_types.d.ts +1 -1
  392. package/script/3_types.js +1 -1
  393. package/script/4_constants.d.ts +1 -1
  394. package/script/4_constants.js +2 -2
  395. package/script/4_errors.d.ts +1 -1
  396. package/script/4_errors.js +1 -1
  397. package/script/5_client.d.ts +1 -1
  398. package/script/5_client.js +1 -1
  399. package/script/client/0_client_abstract.js +1 -1
  400. package/script/client/0_filters.d.ts +1 -1
  401. package/script/client/0_filters.js +1 -1
  402. package/script/client/0_html.d.ts +1 -1
  403. package/script/client/0_html.js +1 -1
  404. package/script/client/0_markdown.d.ts +1 -1
  405. package/script/client/0_markdown.js +1 -1
  406. package/script/client/0_message.d.ts +1 -1
  407. package/script/client/0_message.js +1 -1
  408. package/script/client/0_params.d.ts +16 -8
  409. package/script/client/0_params.d.ts.map +1 -1
  410. package/script/client/0_params.js +1 -1
  411. package/script/client/0_password.js +1 -1
  412. package/script/client/0_storage_operations.d.ts +1 -1
  413. package/script/client/0_storage_operations.js +1 -1
  414. package/script/client/0_utilities.d.ts +3 -3
  415. package/script/client/0_utilities.d.ts.map +1 -1
  416. package/script/client/0_utilities.js +1 -1
  417. package/script/client/1_client_encrypted.d.ts +1 -1
  418. package/script/client/1_client_encrypted.js +1 -1
  419. package/script/client/1_client_plain.d.ts +1 -1
  420. package/script/client/1_client_plain.js +1 -1
  421. package/script/client/1_composer.d.ts +1 -1
  422. package/script/client/1_composer.js +1 -1
  423. package/script/client/1_types.d.ts +1 -1
  424. package/script/client/1_types.js +1 -1
  425. package/script/client/2_account_manager.d.ts +1 -1
  426. package/script/client/2_account_manager.js +1 -1
  427. package/script/client/2_bot_info_manager.d.ts +1 -1
  428. package/script/client/2_bot_info_manager.js +1 -1
  429. package/script/client/2_business_connection_manager.d.ts +1 -1
  430. package/script/client/2_business_connection_manager.js +1 -1
  431. package/script/client/2_file_manager.js +1 -1
  432. package/script/client/2_network_statistics_manager.d.ts +1 -1
  433. package/script/client/2_network_statistics_manager.js +1 -1
  434. package/script/client/2_payment_manager.d.ts +1 -1
  435. package/script/client/2_payment_manager.js +1 -1
  436. package/script/client/2_reaction_manager.d.ts +1 -1
  437. package/script/client/2_reaction_manager.js +1 -1
  438. package/script/client/2_update_manager.d.ts +1 -1
  439. package/script/client/2_update_manager.js +1 -1
  440. package/script/client/3_message_manager.d.ts +3 -2
  441. package/script/client/3_message_manager.d.ts.map +1 -1
  442. package/script/client/3_message_manager.js +39 -4
  443. package/script/client/3_video_chat_manager.d.ts +2 -2
  444. package/script/client/3_video_chat_manager.d.ts.map +1 -1
  445. package/script/client/3_video_chat_manager.js +4 -1
  446. package/script/client/4_callback_query_manager.d.ts +1 -1
  447. package/script/client/4_callback_query_manager.js +1 -1
  448. package/script/client/4_chat_list_manager.d.ts +1 -1
  449. package/script/client/4_chat_list_manager.js +1 -1
  450. package/script/client/4_inline_query_manager.d.ts +1 -1
  451. package/script/client/4_inline_query_manager.js +1 -1
  452. package/script/client/4_poll_manager.d.ts +1 -1
  453. package/script/client/4_poll_manager.js +1 -1
  454. package/script/client/4_story_manager.d.ts +1 -1
  455. package/script/client/4_story_manager.js +1 -1
  456. package/script/client/5_client.d.ts +12 -2
  457. package/script/client/5_client.d.ts.map +1 -1
  458. package/script/client/5_client.js +19 -2
  459. package/script/connection/0_connection.d.ts +1 -1
  460. package/script/connection/0_connection.js +1 -1
  461. package/script/connection/1_connection_tcp.node.d.ts +1 -1
  462. package/script/connection/1_connection_tcp.node.js +1 -1
  463. package/script/connection/1_connection_web_socket.js +1 -1
  464. package/script/mod.d.ts +1 -1
  465. package/script/mod.js +1 -1
  466. package/script/storage/0_storage.d.ts +1 -1
  467. package/script/storage/0_storage.js +1 -1
  468. package/script/storage/1_utilities.d.ts +1 -1
  469. package/script/storage/1_utilities.js +1 -1
  470. package/script/storage/2_storage_indexed_db.d.ts +1 -1
  471. package/script/storage/2_storage_indexed_db.js +1 -1
  472. package/script/storage/2_storage_local_storage.node.d.ts +1 -1
  473. package/script/storage/2_storage_local_storage.node.js +1 -1
  474. package/script/storage/2_storage_memory.d.ts +1 -1
  475. package/script/storage/2_storage_memory.js +1 -1
  476. package/script/storage/2_storage_session_storage.d.ts +1 -1
  477. package/script/storage/2_storage_session_storage.js +1 -1
  478. package/script/tl/0_api.d.ts +218 -79
  479. package/script/tl/0_api.d.ts.map +1 -1
  480. package/script/tl/0_api.js +362 -159
  481. package/script/tl/0_tl_raw_reader.d.ts +1 -1
  482. package/script/tl/0_tl_raw_reader.js +1 -1
  483. package/script/tl/0_tl_raw_writer.d.ts +1 -1
  484. package/script/tl/0_tl_raw_writer.js +1 -1
  485. package/script/tl/1_utilities.d.ts +1 -1
  486. package/script/tl/1_utilities.js +1 -1
  487. package/script/tl/2_deserialize.d.ts +1 -1
  488. package/script/tl/2_deserialize.js +1 -1
  489. package/script/tl/2_serialize.d.ts +1 -1
  490. package/script/tl/2_serialize.js +1 -1
  491. package/script/tl/3_tl_reader.d.ts +1 -1
  492. package/script/tl/3_tl_reader.js +1 -1
  493. package/script/tl/3_utilities.d.ts +1 -1
  494. package/script/tl/3_utilities.js +1 -1
  495. package/script/tl/4_rpc_result.d.ts +1 -1
  496. package/script/tl/4_rpc_result.js +1 -1
  497. package/script/tl/4_tl_writer.d.ts +1 -1
  498. package/script/tl/4_tl_writer.js +1 -1
  499. package/script/tl/5_message.d.ts +1 -1
  500. package/script/tl/5_message.js +1 -1
  501. package/script/transport/0_obfuscation.js +1 -1
  502. package/script/transport/0_transport.d.ts +1 -1
  503. package/script/transport/0_transport.js +1 -1
  504. package/script/transport/1_transport_abridged.d.ts +1 -1
  505. package/script/transport/1_transport_abridged.js +1 -1
  506. package/script/transport/1_transport_intermediate.d.ts +1 -1
  507. package/script/transport/1_transport_intermediate.js +1 -1
  508. package/script/transport/2_transport_provider.d.ts +1 -1
  509. package/script/transport/2_transport_provider.js +1 -1
  510. package/script/transport/3_transport_provider_tcp.d.ts +1 -1
  511. package/script/transport/3_transport_provider_tcp.js +1 -1
  512. package/script/transport/3_transport_provider_web_socket.d.ts +1 -1
  513. package/script/transport/3_transport_provider_web_socket.js +1 -1
  514. package/script/types/0_authorization_state.d.ts +1 -1
  515. package/script/types/0_authorization_state.js +1 -1
  516. package/script/types/0_birthday.d.ts +1 -1
  517. package/script/types/0_birthday.js +1 -1
  518. package/script/types/0_bot_command.d.ts +1 -1
  519. package/script/types/0_bot_command.js +1 -1
  520. package/script/types/0_callback_query_answer.d.ts +1 -1
  521. package/script/types/0_callback_query_answer.js +1 -1
  522. package/script/types/0_callback_query_question.d.ts +1 -1
  523. package/script/types/0_callback_query_question.js +1 -1
  524. package/script/types/0_chat_action.d.ts +1 -1
  525. package/script/types/0_chat_action.js +1 -1
  526. package/script/types/0_chat_administrator_rights.d.ts +1 -1
  527. package/script/types/0_chat_administrator_rights.js +1 -1
  528. package/script/types/0_chat_member_rights.d.ts +1 -1
  529. package/script/types/0_chat_member_rights.js +1 -1
  530. package/script/types/0_chat_photo.d.ts +1 -1
  531. package/script/types/0_chat_photo.js +1 -1
  532. package/script/types/0_connection_state.d.ts +1 -1
  533. package/script/types/0_connection_state.js +1 -1
  534. package/script/types/0_contact.d.ts +1 -1
  535. package/script/types/0_contact.js +1 -1
  536. package/script/types/0_dice.d.ts +1 -1
  537. package/script/types/0_dice.js +1 -1
  538. package/script/types/0_failed_invitation.d.ts +1 -1
  539. package/script/types/0_failed_invitation.js +1 -1
  540. package/script/types/0_file_source.d.ts +1 -1
  541. package/script/types/0_file_source.js +1 -1
  542. package/script/types/0_giveaway_parameters.d.ts +1 -1
  543. package/script/types/0_giveaway_parameters.js +1 -1
  544. package/script/types/0_id.d.ts +1 -1
  545. package/script/types/0_id.js +1 -1
  546. package/script/types/0_invoice.d.ts +1 -1
  547. package/script/types/0_invoice.js +1 -1
  548. package/script/types/0_keyboard_button_poll_type.d.ts +1 -1
  549. package/script/types/0_keyboard_button_poll_type.js +1 -1
  550. package/script/types/0_link_preview.d.ts +1 -1
  551. package/script/types/0_link_preview.js +1 -1
  552. package/script/types/0_live_stream_channel.d.ts +1 -1
  553. package/script/types/0_live_stream_channel.js +1 -1
  554. package/script/types/0_location.d.ts +1 -1
  555. package/script/types/0_location.js +1 -1
  556. package/script/types/0_login_url.d.ts +1 -1
  557. package/script/types/0_login_url.js +1 -1
  558. package/script/types/0_mask_position.d.ts +1 -1
  559. package/script/types/0_mask_position.js +1 -1
  560. package/script/types/0_message_entity.d.ts +1 -1
  561. package/script/types/0_message_entity.js +1 -1
  562. package/script/types/0_message_reference.d.ts +1 -1
  563. package/script/types/0_message_reference.js +1 -1
  564. package/script/types/0_message_search_filter.d.ts +1 -1
  565. package/script/types/0_message_search_filter.js +1 -1
  566. package/script/types/0_mini_app_info.d.ts +1 -1
  567. package/script/types/0_mini_app_info.js +1 -1
  568. package/script/types/0_network_statistics_entry.d.ts +1 -1
  569. package/script/types/0_network_statistics_entry.js +1 -1
  570. package/script/types/0_opening_hours.d.ts +1 -1
  571. package/script/types/0_opening_hours.js +1 -1
  572. package/script/types/0_parse_mode.d.ts +1 -1
  573. package/script/types/0_parse_mode.js +1 -1
  574. package/script/types/0_price_tag.d.ts +1 -1
  575. package/script/types/0_price_tag.js +1 -1
  576. package/script/types/0_reaction.d.ts +1 -1
  577. package/script/types/0_reaction.js +1 -1
  578. package/script/types/0_refunded_payment.d.ts +1 -1
  579. package/script/types/0_refunded_payment.js +1 -1
  580. package/script/types/0_restriction_reason.d.ts +1 -1
  581. package/script/types/0_restriction_reason.js +1 -1
  582. package/script/types/0_self_destruct_option.d.ts +1 -1
  583. package/script/types/0_self_destruct_option.js +1 -1
  584. package/script/types/0_shipping_address.d.ts +1 -1
  585. package/script/types/0_shipping_address.js +1 -1
  586. package/script/types/0_story_reference.d.ts +1 -1
  587. package/script/types/0_story_reference.js +1 -1
  588. package/script/types/0_switch_inline_query_chosen_chats.d.ts +1 -1
  589. package/script/types/0_switch_inline_query_chosen_chats.js +1 -1
  590. package/script/types/0_thumbnail.d.ts +1 -1
  591. package/script/types/0_thumbnail.js +1 -1
  592. package/script/types/0_video_chat.d.ts +1 -1
  593. package/script/types/0_video_chat.js +1 -1
  594. package/script/types/0_voice.d.ts +1 -1
  595. package/script/types/0_voice.js +1 -1
  596. package/script/types/1_animation.d.ts +1 -1
  597. package/script/types/1_animation.js +1 -1
  598. package/script/types/1_audio.d.ts +1 -1
  599. package/script/types/1_audio.js +1 -1
  600. package/script/types/1_bot_command_scope.d.ts +1 -1
  601. package/script/types/1_bot_command_scope.js +1 -1
  602. package/script/types/1_chat_p.d.ts +1 -1
  603. package/script/types/1_chat_p.js +1 -1
  604. package/script/types/1_document.d.ts +1 -1
  605. package/script/types/1_document.js +1 -1
  606. package/script/types/1_giveaway.d.ts +1 -1
  607. package/script/types/1_giveaway.js +1 -1
  608. package/script/types/1_inline_query_result_button.d.ts +1 -1
  609. package/script/types/1_inline_query_result_button.js +1 -1
  610. package/script/types/1_input_media.d.ts +1 -1
  611. package/script/types/1_input_media.js +1 -1
  612. package/script/types/1_input_story_content.d.ts +1 -1
  613. package/script/types/1_input_story_content.js +1 -1
  614. package/script/types/1_keyboard_button.d.ts +1 -1
  615. package/script/types/1_keyboard_button.js +1 -1
  616. package/script/types/1_message_content.d.ts +2 -2
  617. package/script/types/1_message_content.d.ts.map +1 -1
  618. package/script/types/1_message_content.js +1 -1
  619. package/script/types/1_message_reaction.d.ts +1 -1
  620. package/script/types/1_message_reaction.js +1 -1
  621. package/script/types/1_network_statistics.d.ts +1 -1
  622. package/script/types/1_network_statistics.js +1 -1
  623. package/script/types/1_order_info.d.ts +1 -1
  624. package/script/types/1_order_info.js +1 -1
  625. package/script/types/1_photo.d.ts +1 -1
  626. package/script/types/1_photo.js +1 -1
  627. package/script/types/1_poll_option.d.ts +1 -1
  628. package/script/types/1_poll_option.js +1 -1
  629. package/script/types/1_reaction_count.d.ts +1 -1
  630. package/script/types/1_reaction_count.js +1 -1
  631. package/script/types/1_reply_quote.d.ts +1 -1
  632. package/script/types/1_reply_quote.js +1 -1
  633. package/script/types/1_sticker.d.ts +1 -1
  634. package/script/types/1_sticker.js +1 -1
  635. package/script/types/1_story_privacy.d.ts +1 -1
  636. package/script/types/1_story_privacy.js +1 -1
  637. package/script/types/1_story_reaction.d.ts +1 -1
  638. package/script/types/1_story_reaction.js +1 -1
  639. package/script/types/1_user.d.ts +1 -1
  640. package/script/types/1_user.js +1 -1
  641. package/script/types/1_venue.d.ts +1 -1
  642. package/script/types/1_venue.js +1 -1
  643. package/script/types/1_video.d.ts +1 -1
  644. package/script/types/1_video.js +1 -1
  645. package/script/types/1_video_note.d.ts +1 -1
  646. package/script/types/1_video_note.js +1 -1
  647. package/script/types/2_business_connection.d.ts +1 -1
  648. package/script/types/2_business_connection.js +1 -1
  649. package/script/types/2_chat.d.ts +1 -1
  650. package/script/types/2_chat.js +1 -1
  651. package/script/types/2_chat_member.d.ts +1 -1
  652. package/script/types/2_chat_member.js +1 -1
  653. package/script/types/2_chosen_inline_result.d.ts +1 -1
  654. package/script/types/2_chosen_inline_result.js +1 -1
  655. package/script/types/2_forward_header.d.ts +1 -1
  656. package/script/types/2_forward_header.js +1 -1
  657. package/script/types/2_game.d.ts +1 -1
  658. package/script/types/2_game.js +1 -1
  659. package/script/types/2_inactive_chat.d.ts +1 -1
  660. package/script/types/2_inactive_chat.js +1 -1
  661. package/script/types/2_inline_keyboard_button.d.ts +1 -1
  662. package/script/types/2_inline_keyboard_button.js +1 -1
  663. package/script/types/2_inline_query.d.ts +1 -1
  664. package/script/types/2_inline_query.js +1 -1
  665. package/script/types/2_invite_link.d.ts +1 -1
  666. package/script/types/2_invite_link.js +1 -1
  667. package/script/types/2_message_interactions.d.ts +1 -1
  668. package/script/types/2_message_interactions.js +1 -1
  669. package/script/types/2_message_reaction_count.d.ts +1 -1
  670. package/script/types/2_message_reaction_count.js +1 -1
  671. package/script/types/2_message_reactions.d.ts +1 -1
  672. package/script/types/2_message_reactions.js +1 -1
  673. package/script/types/2_poll.d.ts +1 -1
  674. package/script/types/2_poll.js +1 -1
  675. package/script/types/2_pre_checkout_query.d.ts +1 -1
  676. package/script/types/2_pre_checkout_query.js +1 -1
  677. package/script/types/2_reply_to.d.ts +1 -1
  678. package/script/types/2_reply_to.js +1 -1
  679. package/script/types/2_story_content.d.ts +1 -1
  680. package/script/types/2_story_content.js +1 -1
  681. package/script/types/2_story_interactions.d.ts +1 -1
  682. package/script/types/2_story_interactions.js +1 -1
  683. package/script/types/2_story_interactive_area.d.ts +1 -1
  684. package/script/types/2_story_interactive_area.js +1 -1
  685. package/script/types/2_successful_payment.d.ts +1 -1
  686. package/script/types/2_successful_payment.js +1 -1
  687. package/script/types/3_chat_member_updated.d.ts +1 -1
  688. package/script/types/3_chat_member_updated.js +1 -1
  689. package/script/types/3_join_request.d.ts +1 -1
  690. package/script/types/3_join_request.js +1 -1
  691. package/script/types/3_reply_markup.d.ts +1 -1
  692. package/script/types/3_reply_markup.js +1 -1
  693. package/script/types/3_story.d.ts +1 -1
  694. package/script/types/3_story.js +1 -1
  695. package/script/types/4_inline_query_result.d.ts +1 -1
  696. package/script/types/4_inline_query_result.js +1 -1
  697. package/script/types/4_message.d.ts +2 -1
  698. package/script/types/4_message.d.ts.map +1 -1
  699. package/script/types/4_message.js +10 -3
  700. package/script/types/5_callback_query.d.ts +1 -1
  701. package/script/types/5_callback_query.js +1 -1
  702. package/script/types/5_chat_list_item.d.ts +1 -1
  703. package/script/types/5_chat_list_item.js +1 -1
  704. package/script/types/5_inline_query_answer.d.ts +1 -1
  705. package/script/types/5_inline_query_answer.js +1 -1
  706. package/script/types/6_update.d.ts +1 -1
  707. package/script/types/6_update.js +1 -1
  708. package/script/types/_file_id.d.ts +1 -1
  709. package/script/types/_file_id.js +1 -1
  710. package/script/types/_getters.d.ts +1 -1
  711. package/script/types/_getters.js +1 -1
  712. package/script/utilities/0_bigint.js +1 -1
  713. package/script/utilities/0_buffer.d.ts +1 -1
  714. package/script/utilities/0_buffer.js +1 -1
  715. package/script/utilities/0_cache_map.d.ts +1 -1
  716. package/script/utilities/0_cache_map.js +1 -1
  717. package/script/utilities/0_color.d.ts +1 -1
  718. package/script/utilities/0_color.js +1 -1
  719. package/script/utilities/0_env.js +1 -1
  720. package/script/utilities/0_gunzip.d.ts +1 -1
  721. package/script/utilities/0_gunzip.js +1 -1
  722. package/script/utilities/0_hash.js +1 -1
  723. package/script/utilities/0_misc.d.ts +1 -1
  724. package/script/utilities/0_misc.js +1 -1
  725. package/script/utilities/0_mutex.d.ts +1 -1
  726. package/script/utilities/0_mutex.js +1 -1
  727. package/script/utilities/0_object.d.ts +1 -1
  728. package/script/utilities/0_object.js +1 -1
  729. package/script/utilities/0_part_stream.d.ts +1 -1
  730. package/script/utilities/0_part_stream.js +1 -1
  731. package/script/utilities/0_rle.d.ts +1 -1
  732. package/script/utilities/0_rle.js +1 -1
  733. package/script/utilities/0_types.d.ts +1 -1
  734. package/script/utilities/0_types.js +1 -1
  735. package/script/utilities/0_units.d.ts +1 -1
  736. package/script/utilities/0_units.js +1 -1
  737. package/script/utilities/1_auth.js +1 -1
  738. package/script/utilities/1_base64.d.ts +1 -1
  739. package/script/utilities/1_base64.js +1 -1
  740. package/script/utilities/1_crypto.d.ts +1 -1
  741. package/script/utilities/1_crypto.js +1 -1
  742. package/script/utilities/1_logger.d.ts +1 -1
  743. package/script/utilities/1_logger.js +1 -1
  744. package/script/utilities/1_math.d.ts +1 -1
  745. package/script/utilities/1_math.js +1 -1
  746. package/script/utilities/2_queue.d.ts +1 -1
  747. package/script/utilities/2_queue.js +1 -1
package/esm/tl/0_api.d.ts CHANGED
@@ -202,41 +202,8 @@ export interface error {
202
202
  code: number;
203
203
  text: string;
204
204
  }
205
- export interface ipPort {
206
- _: "ipPort";
207
- ipv4: number;
208
- port: number;
209
- }
210
- export interface ipPortSecret {
211
- _: "ipPortSecret";
212
- ipv4: number;
213
- port: number;
214
- secret: Uint8Array;
215
- }
216
- export interface accessPointRule {
217
- _: "accessPointRule";
218
- phone_prefix_rules: string;
219
- dc_id: number;
220
- ips: Array<IpPort>;
221
- }
222
- export interface help_configSimple {
223
- _: "help.configSimple";
224
- date: number;
225
- expires: number;
226
- rules: Array<AccessPointRule>;
227
- }
228
- export interface inputPeerPhotoFileLocationLegacy {
229
- _: "inputPeerPhotoFileLocationLegacy";
230
- big?: true;
231
- peer: InputPeer;
232
- volume_id: bigint;
233
- local_id: number;
234
- }
235
- export interface inputStickerSetThumbLegacy {
236
- _: "inputStickerSetThumbLegacy";
237
- stickerset: InputStickerSet;
238
- volume_id: bigint;
239
- local_id: number;
205
+ export interface null_ {
206
+ _: "null";
240
207
  }
241
208
  export interface inputPeerEmpty {
242
209
  _: "inputPeerEmpty";
@@ -616,6 +583,7 @@ export interface user {
616
583
  color?: PeerColor;
617
584
  profile_color?: PeerColor;
618
585
  bot_active_users?: number;
586
+ bot_verification_icon?: bigint;
619
587
  }
620
588
  export interface userProfilePhotoEmpty {
621
589
  _: "userProfilePhotoEmpty";
@@ -722,6 +690,7 @@ export interface channel {
722
690
  emoji_status?: EmojiStatus;
723
691
  level?: number;
724
692
  subscription_until_date?: number;
693
+ bot_verification_icon?: bigint;
725
694
  }
726
695
  export interface channelForbidden {
727
696
  _: "channelForbidden";
@@ -817,6 +786,7 @@ export interface channelFull {
817
786
  boosts_applied?: number;
818
787
  boosts_unrestrict?: number;
819
788
  emojiset?: StickerSet;
789
+ bot_verification?: BotVerification;
820
790
  }
821
791
  export interface chatParticipant {
822
792
  _: "chatParticipant";
@@ -901,12 +871,14 @@ export interface message {
901
871
  quick_reply_shortcut_id?: number;
902
872
  effect?: bigint;
903
873
  factcheck?: FactCheck;
874
+ report_delivery_until_date?: number;
904
875
  }
905
876
  export interface messageService {
906
877
  _: "messageService";
907
878
  out?: true;
908
879
  mentioned?: true;
909
880
  media_unread?: true;
881
+ reactions_are_possible?: true;
910
882
  silent?: true;
911
883
  post?: true;
912
884
  legacy?: true;
@@ -916,6 +888,7 @@ export interface messageService {
916
888
  reply_to?: MessageReplyHeader;
917
889
  date: number;
918
890
  action: MessageAction;
891
+ reactions?: MessageReactions;
919
892
  ttl_period?: number;
920
893
  }
921
894
  export interface messageMediaEmpty {
@@ -1293,9 +1266,24 @@ export interface messageActionStarGift {
1293
1266
  name_hidden?: true;
1294
1267
  saved?: true;
1295
1268
  converted?: true;
1269
+ upgraded?: true;
1270
+ refunded?: true;
1271
+ can_upgrade?: true;
1296
1272
  gift: StarGift;
1297
1273
  message?: TextWithEntities;
1298
1274
  convert_stars?: bigint;
1275
+ upgrade_msg_id?: number;
1276
+ upgrade_stars?: bigint;
1277
+ }
1278
+ export interface messageActionStarGiftUnique {
1279
+ _: "messageActionStarGiftUnique";
1280
+ upgrade?: true;
1281
+ transferred?: true;
1282
+ saved?: true;
1283
+ refunded?: true;
1284
+ gift: StarGift;
1285
+ can_export_at?: number;
1286
+ transfer_stars?: bigint;
1299
1287
  }
1300
1288
  export interface dialog {
1301
1289
  _: "dialog";
@@ -1571,6 +1559,7 @@ export interface userFull {
1571
1559
  personal_channel_message?: number;
1572
1560
  stargifts_count?: number;
1573
1561
  starref_program?: StarRefProgram;
1562
+ bot_verification?: BotVerification;
1574
1563
  }
1575
1564
  export interface contact {
1576
1565
  _: "contact";
@@ -2228,7 +2217,7 @@ export interface updateGroupCallParticipants {
2228
2217
  }
2229
2218
  export interface updateGroupCall {
2230
2219
  _: "updateGroupCall";
2231
- chat_id: bigint;
2220
+ chat_id?: bigint;
2232
2221
  call: GroupCall;
2233
2222
  }
2234
2223
  export interface updatePeerHistoryTTL {
@@ -3364,6 +3353,7 @@ export interface chatInvite {
3364
3353
  color: number;
3365
3354
  subscription_pricing?: StarsSubscriptionPricing;
3366
3355
  subscription_form_id?: bigint;
3356
+ bot_verification?: BotVerification;
3367
3357
  }
3368
3358
  export interface chatInvitePeek {
3369
3359
  _: "chatInvitePeek";
@@ -3454,6 +3444,7 @@ export interface botInfo {
3454
3444
  menu_button?: BotMenuButton;
3455
3445
  privacy_policy_url?: string;
3456
3446
  app_settings?: BotAppSettings;
3447
+ verifier_settings?: BotVerifierSettings;
3457
3448
  }
3458
3449
  export interface keyboardButton {
3459
3450
  _: "keyboardButton";
@@ -4582,6 +4573,10 @@ export interface phoneCallDiscardReasonHangup {
4582
4573
  export interface phoneCallDiscardReasonBusy {
4583
4574
  _: "phoneCallDiscardReasonBusy";
4584
4575
  }
4576
+ export interface phoneCallDiscardReasonAllowGroupCall {
4577
+ _: "phoneCallDiscardReasonAllowGroupCall";
4578
+ encrypted_key: Uint8Array;
4579
+ }
4585
4580
  export interface dataJSON {
4586
4581
  _: "dataJSON";
4587
4582
  data: string;
@@ -4823,6 +4818,7 @@ export interface phoneCallWaiting {
4823
4818
  participant_id: bigint;
4824
4819
  protocol: PhoneCallProtocol;
4825
4820
  receive_date?: number;
4821
+ conference_call?: InputGroupCall;
4826
4822
  }
4827
4823
  export interface phoneCallRequested {
4828
4824
  _: "phoneCallRequested";
@@ -4834,6 +4830,7 @@ export interface phoneCallRequested {
4834
4830
  participant_id: bigint;
4835
4831
  g_a_hash: Uint8Array;
4836
4832
  protocol: PhoneCallProtocol;
4833
+ conference_call?: InputGroupCall;
4837
4834
  }
4838
4835
  export interface phoneCallAccepted {
4839
4836
  _: "phoneCallAccepted";
@@ -4845,6 +4842,7 @@ export interface phoneCallAccepted {
4845
4842
  participant_id: bigint;
4846
4843
  g_b: Uint8Array;
4847
4844
  protocol: PhoneCallProtocol;
4845
+ conference_call?: InputGroupCall;
4848
4846
  }
4849
4847
  export interface phoneCall {
4850
4848
  _: "phoneCall";
@@ -4861,6 +4859,7 @@ export interface phoneCall {
4861
4859
  connections: Array<PhoneConnection>;
4862
4860
  start_date: number;
4863
4861
  custom_parameters?: DataJSON;
4862
+ conference_call?: InputGroupCall;
4864
4863
  }
4865
4864
  export interface phoneCallDiscarded {
4866
4865
  _: "phoneCallDiscarded";
@@ -4870,6 +4869,7 @@ export interface phoneCallDiscarded {
4870
4869
  id: bigint;
4871
4870
  reason?: PhoneCallDiscardReason;
4872
4871
  duration?: number;
4872
+ conference_call?: InputGroupCall;
4873
4873
  }
4874
4874
  export interface phoneConnection {
4875
4875
  _: "phoneConnection";
@@ -6082,8 +6082,9 @@ export interface dialogFilter {
6082
6082
  exclude_muted?: true;
6083
6083
  exclude_read?: true;
6084
6084
  exclude_archived?: true;
6085
+ title_noanimate?: true;
6085
6086
  id: number;
6086
- title: string;
6087
+ title: TextWithEntities;
6087
6088
  emoticon?: string;
6088
6089
  color?: number;
6089
6090
  pinned_peers: Array<InputPeer>;
@@ -6096,8 +6097,9 @@ export interface dialogFilterDefault {
6096
6097
  export interface dialogFilterChatlist {
6097
6098
  _: "dialogFilterChatlist";
6098
6099
  has_my_invites?: true;
6100
+ title_noanimate?: true;
6099
6101
  id: number;
6100
- title: string;
6102
+ title: TextWithEntities;
6101
6103
  emoticon?: string;
6102
6104
  color?: number;
6103
6105
  pinned_peers: Array<InputPeer>;
@@ -6349,6 +6351,7 @@ export interface groupCall {
6349
6351
  unmuted_video_count?: number;
6350
6352
  unmuted_video_limit: number;
6351
6353
  version: number;
6354
+ conference_from_call?: bigint;
6352
6355
  }
6353
6356
  export interface inputGroupCall {
6354
6357
  _: "inputGroupCall";
@@ -6815,10 +6818,21 @@ export interface inputInvoiceChatInviteSubscription {
6815
6818
  export interface inputInvoiceStarGift {
6816
6819
  _: "inputInvoiceStarGift";
6817
6820
  hide_name?: true;
6821
+ include_upgrade?: true;
6818
6822
  user_id: InputUser;
6819
6823
  gift_id: bigint;
6820
6824
  message?: TextWithEntities;
6821
6825
  }
6826
+ export interface inputInvoiceStarGiftUpgrade {
6827
+ _: "inputInvoiceStarGiftUpgrade";
6828
+ keep_original_details?: true;
6829
+ msg_id: number;
6830
+ }
6831
+ export interface inputInvoiceStarGiftTransfer {
6832
+ _: "inputInvoiceStarGiftTransfer";
6833
+ msg_id: number;
6834
+ to_id: InputUser;
6835
+ }
6822
6836
  export interface payments_exportedInvoice {
6823
6837
  _: "payments.exportedInvoice";
6824
6838
  url: string;
@@ -7244,7 +7258,8 @@ export interface chatlists_chatlistInviteAlready {
7244
7258
  }
7245
7259
  export interface chatlists_chatlistInvite {
7246
7260
  _: "chatlists.chatlistInvite";
7247
- title: string;
7261
+ title_noanimate?: true;
7262
+ title: TextWithEntities;
7248
7263
  emoticon?: string;
7249
7264
  peers: Array<Peer>;
7250
7265
  chats: Array<Chat>;
@@ -8157,6 +8172,7 @@ export interface starsTransaction {
8157
8172
  failed?: true;
8158
8173
  gift?: true;
8159
8174
  reaction?: true;
8175
+ stargift_upgrade?: true;
8160
8176
  id: string;
8161
8177
  stars: StarsAmount;
8162
8178
  date: number;
@@ -8316,6 +8332,17 @@ export interface starGift {
8316
8332
  convert_stars: bigint;
8317
8333
  first_sale_date?: number;
8318
8334
  last_sale_date?: number;
8335
+ upgrade_stars?: bigint;
8336
+ }
8337
+ export interface starGiftUnique {
8338
+ _: "starGiftUnique";
8339
+ id: bigint;
8340
+ title: string;
8341
+ num: number;
8342
+ owner_id: bigint;
8343
+ attributes: Array<StarGiftAttribute>;
8344
+ availability_issued: number;
8345
+ availability_total: number;
8319
8346
  }
8320
8347
  export interface payments_starGiftsNotModified {
8321
8348
  _: "payments.starGiftsNotModified";
@@ -8329,12 +8356,17 @@ export interface userStarGift {
8329
8356
  _: "userStarGift";
8330
8357
  name_hidden?: true;
8331
8358
  unsaved?: true;
8359
+ refunded?: true;
8360
+ can_upgrade?: true;
8332
8361
  from_id?: bigint;
8333
8362
  date: number;
8334
8363
  gift: StarGift;
8335
8364
  message?: TextWithEntities;
8336
8365
  msg_id?: number;
8337
8366
  convert_stars?: bigint;
8367
+ upgrade_stars?: bigint;
8368
+ can_export_at?: number;
8369
+ transfer_stars?: bigint;
8338
8370
  }
8339
8371
  export interface payments_userStarGifts {
8340
8372
  _: "payments.userStarGifts";
@@ -8429,6 +8461,60 @@ export interface messages_foundStickers {
8429
8461
  hash: bigint;
8430
8462
  stickers: Array<Document>;
8431
8463
  }
8464
+ export interface botVerifierSettings {
8465
+ _: "botVerifierSettings";
8466
+ can_modify_custom_description?: true;
8467
+ icon: bigint;
8468
+ company: string;
8469
+ custom_description?: string;
8470
+ }
8471
+ export interface botVerification {
8472
+ _: "botVerification";
8473
+ bot_id: bigint;
8474
+ icon: bigint;
8475
+ description: string;
8476
+ }
8477
+ export interface starGiftAttributeModel {
8478
+ _: "starGiftAttributeModel";
8479
+ name: string;
8480
+ document: Document;
8481
+ rarity_permille: number;
8482
+ }
8483
+ export interface starGiftAttributePattern {
8484
+ _: "starGiftAttributePattern";
8485
+ name: string;
8486
+ document: Document;
8487
+ rarity_permille: number;
8488
+ }
8489
+ export interface starGiftAttributeBackdrop {
8490
+ _: "starGiftAttributeBackdrop";
8491
+ name: string;
8492
+ center_color: number;
8493
+ edge_color: number;
8494
+ pattern_color: number;
8495
+ text_color: number;
8496
+ rarity_permille: number;
8497
+ }
8498
+ export interface starGiftAttributeOriginalDetails {
8499
+ _: "starGiftAttributeOriginalDetails";
8500
+ sender_id?: bigint;
8501
+ recipient_id: bigint;
8502
+ date: number;
8503
+ message?: TextWithEntities;
8504
+ }
8505
+ export interface payments_starGiftUpgradePreview {
8506
+ _: "payments.starGiftUpgradePreview";
8507
+ sample_attributes: Array<StarGiftAttribute>;
8508
+ }
8509
+ export interface users_users {
8510
+ _: "users.users";
8511
+ users: Array<User>;
8512
+ }
8513
+ export interface users_usersSlice {
8514
+ _: "users.usersSlice";
8515
+ count: number;
8516
+ users: Array<User>;
8517
+ }
8432
8518
  export interface req_pq_multi {
8433
8519
  _: "req_pq_multi";
8434
8520
  nonce: bigint;
@@ -8481,23 +8567,6 @@ export interface destroy_auth_key {
8481
8567
  _: "destroy_auth_key";
8482
8568
  [R]?: DestroyAuthKeyRes;
8483
8569
  }
8484
- export interface invokeWithBusinessConnectionPrefix {
8485
- _: "invokeWithBusinessConnectionPrefix";
8486
- connection_id: string;
8487
- [R]?: Error;
8488
- }
8489
- export interface invokeWithGooglePlayIntegrityPrefix {
8490
- _: "invokeWithGooglePlayIntegrityPrefix";
8491
- nonce: string;
8492
- token: string;
8493
- [R]?: Error;
8494
- }
8495
- export interface invokeWithApnsSecretPrefix {
8496
- _: "invokeWithApnsSecretPrefix";
8497
- nonce: string;
8498
- secret: string;
8499
- [R]?: Error;
8500
- }
8501
8570
  export interface invokeAfterMsg<T> {
8502
8571
  _: "invokeAfterMsg";
8503
8572
  msg_id: bigint;
@@ -9879,6 +9948,8 @@ export interface messages_migrateChat {
9879
9948
  export interface messages_searchGlobal {
9880
9949
  _: "messages.searchGlobal";
9881
9950
  broadcasts_only?: true;
9951
+ groups_only?: true;
9952
+ users_only?: true;
9882
9953
  folder_id?: number;
9883
9954
  q: string;
9884
9955
  filter: MessagesFilter;
@@ -11109,6 +11180,13 @@ export interface messages_searchStickers {
11109
11180
  hash: bigint;
11110
11181
  [R]?: messages_FoundStickers;
11111
11182
  }
11183
+ export interface messages_reportMessagesDelivery {
11184
+ _: "messages.reportMessagesDelivery";
11185
+ push?: true;
11186
+ peer: InputPeer;
11187
+ id: Array<number>;
11188
+ [R]?: boolean;
11189
+ }
11112
11190
  export interface updates_getState {
11113
11191
  _: "updates.getState";
11114
11192
  [R]?: updates_State;
@@ -11921,6 +11999,19 @@ export interface bots_updateStarRefProgram {
11921
11999
  duration_months?: number;
11922
12000
  [R]?: StarRefProgram;
11923
12001
  }
12002
+ export interface bots_setCustomVerification {
12003
+ _: "bots.setCustomVerification";
12004
+ enabled?: true;
12005
+ bot?: InputUser;
12006
+ peer: InputPeer;
12007
+ custom_description?: string;
12008
+ [R]?: boolean;
12009
+ }
12010
+ export interface bots_getBotRecommendations {
12011
+ _: "bots.getBotRecommendations";
12012
+ bot: InputUser;
12013
+ [R]?: users_Users;
12014
+ }
11924
12015
  export interface payments_getPaymentForm {
11925
12016
  _: "payments.getPaymentForm";
11926
12017
  invoice: InputInvoice;
@@ -12115,13 +12206,11 @@ export interface payments_getUserStarGifts {
12115
12206
  export interface payments_saveStarGift {
12116
12207
  _: "payments.saveStarGift";
12117
12208
  unsave?: true;
12118
- user_id: InputUser;
12119
12209
  msg_id: number;
12120
12210
  [R]?: boolean;
12121
12211
  }
12122
12212
  export interface payments_convertStarGift {
12123
12213
  _: "payments.convertStarGift";
12124
- user_id: InputUser;
12125
12214
  msg_id: number;
12126
12215
  [R]?: boolean;
12127
12216
  }
@@ -12168,6 +12257,28 @@ export interface payments_editConnectedStarRefBot {
12168
12257
  link: string;
12169
12258
  [R]?: payments_ConnectedStarRefBots;
12170
12259
  }
12260
+ export interface payments_getStarGiftUpgradePreview {
12261
+ _: "payments.getStarGiftUpgradePreview";
12262
+ gift_id: bigint;
12263
+ [R]?: payments_StarGiftUpgradePreview;
12264
+ }
12265
+ export interface payments_upgradeStarGift {
12266
+ _: "payments.upgradeStarGift";
12267
+ keep_original_details?: true;
12268
+ msg_id: number;
12269
+ [R]?: Updates;
12270
+ }
12271
+ export interface payments_transferStarGift {
12272
+ _: "payments.transferStarGift";
12273
+ msg_id: number;
12274
+ to_id: InputUser;
12275
+ [R]?: Updates;
12276
+ }
12277
+ export interface payments_getUserStarGift {
12278
+ _: "payments.getUserStarGift";
12279
+ msg_id: Array<number>;
12280
+ [R]?: payments_UserStarGifts;
12281
+ }
12171
12282
  export interface stickers_createStickerSet {
12172
12283
  _: "stickers.createStickerSet";
12173
12284
  masks?: true;
@@ -12248,6 +12359,7 @@ export interface phone_requestCall {
12248
12359
  _: "phone.requestCall";
12249
12360
  video?: true;
12250
12361
  user_id: InputUser;
12362
+ conference_call?: InputGroupCall;
12251
12363
  random_id: number;
12252
12364
  g_a_hash: Uint8Array;
12253
12365
  protocol: PhoneCallProtocol;
@@ -12318,6 +12430,7 @@ export interface phone_joinGroupCall {
12318
12430
  call: InputGroupCall;
12319
12431
  join_as: InputPeer;
12320
12432
  invite_hash?: string;
12433
+ key_fingerprint?: bigint;
12321
12434
  params: DataJSON;
12322
12435
  [R]?: Updates;
12323
12436
  }
@@ -12449,6 +12562,12 @@ export interface phone_saveCallLog {
12449
12562
  file: InputFile;
12450
12563
  [R]?: boolean;
12451
12564
  }
12565
+ export interface phone_createConferenceCall {
12566
+ _: "phone.createConferenceCall";
12567
+ peer: InputPhoneCall;
12568
+ key_fingerprint: bigint;
12569
+ [R]?: phone_PhoneCall;
12570
+ }
12452
12571
  export interface langpack_getLangPack {
12453
12572
  _: "langpack.getLangPack";
12454
12573
  lang_pack: string;
@@ -12904,12 +13023,7 @@ export interface Types {
12904
13023
  "http_wait": http_wait;
12905
13024
  "true": true_;
12906
13025
  "error": error;
12907
- "ipPort": ipPort;
12908
- "ipPortSecret": ipPortSecret;
12909
- "accessPointRule": accessPointRule;
12910
- "help.configSimple": help_configSimple;
12911
- "inputPeerPhotoFileLocationLegacy": inputPeerPhotoFileLocationLegacy;
12912
- "inputStickerSetThumbLegacy": inputStickerSetThumbLegacy;
13026
+ "null": null_;
12913
13027
  "inputPeerEmpty": inputPeerEmpty;
12914
13028
  "inputPeerSelf": inputPeerSelf;
12915
13029
  "inputPeerChat": inputPeerChat;
@@ -13064,6 +13178,7 @@ export interface Types {
13064
13178
  "messageActionGiftStars": messageActionGiftStars;
13065
13179
  "messageActionPrizeStars": messageActionPrizeStars;
13066
13180
  "messageActionStarGift": messageActionStarGift;
13181
+ "messageActionStarGiftUnique": messageActionStarGiftUnique;
13067
13182
  "dialog": dialog;
13068
13183
  "dialogFolder": dialogFolder;
13069
13184
  "photoEmpty": photoEmpty;
@@ -13649,6 +13764,7 @@ export interface Types {
13649
13764
  "phoneCallDiscardReasonDisconnect": phoneCallDiscardReasonDisconnect;
13650
13765
  "phoneCallDiscardReasonHangup": phoneCallDiscardReasonHangup;
13651
13766
  "phoneCallDiscardReasonBusy": phoneCallDiscardReasonBusy;
13767
+ "phoneCallDiscardReasonAllowGroupCall": phoneCallDiscardReasonAllowGroupCall;
13652
13768
  "dataJSON": dataJSON;
13653
13769
  "labeledPrice": labeledPrice;
13654
13770
  "invoice": invoice;
@@ -14028,6 +14144,8 @@ export interface Types {
14028
14144
  "inputInvoiceStars": inputInvoiceStars;
14029
14145
  "inputInvoiceChatInviteSubscription": inputInvoiceChatInviteSubscription;
14030
14146
  "inputInvoiceStarGift": inputInvoiceStarGift;
14147
+ "inputInvoiceStarGiftUpgrade": inputInvoiceStarGiftUpgrade;
14148
+ "inputInvoiceStarGiftTransfer": inputInvoiceStarGiftTransfer;
14031
14149
  "payments.exportedInvoice": payments_exportedInvoice;
14032
14150
  "messages.transcribedAudio": messages_transcribedAudio;
14033
14151
  "help.premiumPromo": help_premiumPromo;
@@ -14266,6 +14384,7 @@ export interface Types {
14266
14384
  "starsGiveawayOption": starsGiveawayOption;
14267
14385
  "starsGiveawayWinnersOption": starsGiveawayWinnersOption;
14268
14386
  "starGift": starGift;
14387
+ "starGiftUnique": starGiftUnique;
14269
14388
  "payments.starGiftsNotModified": payments_starGiftsNotModified;
14270
14389
  "payments.starGifts": payments_starGifts;
14271
14390
  "userStarGift": userStarGift;
@@ -14284,6 +14403,15 @@ export interface Types {
14284
14403
  "starsAmount": starsAmount;
14285
14404
  "messages.foundStickersNotModified": messages_foundStickersNotModified;
14286
14405
  "messages.foundStickers": messages_foundStickers;
14406
+ "botVerifierSettings": botVerifierSettings;
14407
+ "botVerification": botVerification;
14408
+ "starGiftAttributeModel": starGiftAttributeModel;
14409
+ "starGiftAttributePattern": starGiftAttributePattern;
14410
+ "starGiftAttributeBackdrop": starGiftAttributeBackdrop;
14411
+ "starGiftAttributeOriginalDetails": starGiftAttributeOriginalDetails;
14412
+ "payments.starGiftUpgradePreview": payments_starGiftUpgradePreview;
14413
+ "users.users": users_users;
14414
+ "users.usersSlice": users_usersSlice;
14287
14415
  }
14288
14416
  export interface Functions<T = Function> {
14289
14417
  "req_pq_multi": req_pq_multi;
@@ -14295,9 +14423,6 @@ export interface Functions<T = Function> {
14295
14423
  "ping_delay_disconnect": ping_delay_disconnect;
14296
14424
  "destroy_session": destroy_session;
14297
14425
  "destroy_auth_key": destroy_auth_key;
14298
- "invokeWithBusinessConnectionPrefix": invokeWithBusinessConnectionPrefix;
14299
- "invokeWithGooglePlayIntegrityPrefix": invokeWithGooglePlayIntegrityPrefix;
14300
- "invokeWithApnsSecretPrefix": invokeWithApnsSecretPrefix;
14301
14426
  "invokeAfterMsg": invokeAfterMsg<T>;
14302
14427
  "invokeAfterMsgs": invokeAfterMsgs<T>;
14303
14428
  "initConnection": initConnection<T>;
@@ -14697,6 +14822,7 @@ export interface Functions<T = Function> {
14697
14822
  "messages.savePreparedInlineMessage": messages_savePreparedInlineMessage;
14698
14823
  "messages.getPreparedInlineMessage": messages_getPreparedInlineMessage;
14699
14824
  "messages.searchStickers": messages_searchStickers;
14825
+ "messages.reportMessagesDelivery": messages_reportMessagesDelivery;
14700
14826
  "updates.getState": updates_getState;
14701
14827
  "updates.getDifference": updates_getDifference;
14702
14828
  "updates.getChannelDifference": updates_getChannelDifference;
@@ -14827,6 +14953,8 @@ export interface Functions<T = Function> {
14827
14953
  "bots.checkDownloadFileParams": bots_checkDownloadFileParams;
14828
14954
  "bots.getAdminedBots": bots_getAdminedBots;
14829
14955
  "bots.updateStarRefProgram": bots_updateStarRefProgram;
14956
+ "bots.setCustomVerification": bots_setCustomVerification;
14957
+ "bots.getBotRecommendations": bots_getBotRecommendations;
14830
14958
  "payments.getPaymentForm": payments_getPaymentForm;
14831
14959
  "payments.getPaymentReceipt": payments_getPaymentReceipt;
14832
14960
  "payments.validateRequestedInfo": payments_validateRequestedInfo;
@@ -14867,6 +14995,10 @@ export interface Functions<T = Function> {
14867
14995
  "payments.getSuggestedStarRefBots": payments_getSuggestedStarRefBots;
14868
14996
  "payments.connectStarRefBot": payments_connectStarRefBot;
14869
14997
  "payments.editConnectedStarRefBot": payments_editConnectedStarRefBot;
14998
+ "payments.getStarGiftUpgradePreview": payments_getStarGiftUpgradePreview;
14999
+ "payments.upgradeStarGift": payments_upgradeStarGift;
15000
+ "payments.transferStarGift": payments_transferStarGift;
15001
+ "payments.getUserStarGift": payments_getUserStarGift;
14870
15002
  "stickers.createStickerSet": stickers_createStickerSet;
14871
15003
  "stickers.removeStickerFromSet": stickers_removeStickerFromSet;
14872
15004
  "stickers.changeStickerPosition": stickers_changeStickerPosition;
@@ -14909,6 +15041,7 @@ export interface Functions<T = Function> {
14909
15041
  "phone.getGroupCallStreamChannels": phone_getGroupCallStreamChannels;
14910
15042
  "phone.getGroupCallStreamRtmpUrl": phone_getGroupCallStreamRtmpUrl;
14911
15043
  "phone.saveCallLog": phone_saveCallLog;
15044
+ "phone.createConferenceCall": phone_createConferenceCall;
14912
15045
  "langpack.getLangPack": langpack_getLangPack;
14913
15046
  "langpack.getStrings": langpack_getStrings;
14914
15047
  "langpack.getDifference": langpack_getDifference;
@@ -15003,10 +15136,7 @@ export interface Enums {
15003
15136
  "HttpWait": HttpWait;
15004
15137
  "True": True;
15005
15138
  "Error": Error;
15006
- "IpPort": IpPort;
15007
- "AccessPointRule": AccessPointRule;
15008
- "help.ConfigSimple": help_ConfigSimple;
15009
- "InputFileLocation": InputFileLocation;
15139
+ "Null": Null;
15010
15140
  "InputPeer": InputPeer;
15011
15141
  "InputUser": InputUser;
15012
15142
  "InputContact": InputContact;
@@ -15015,6 +15145,7 @@ export interface Enums {
15015
15145
  "InputChatPhoto": InputChatPhoto;
15016
15146
  "InputGeoPoint": InputGeoPoint;
15017
15147
  "InputPhoto": InputPhoto;
15148
+ "InputFileLocation": InputFileLocation;
15018
15149
  "Peer": Peer;
15019
15150
  "storage.FileType": storage_FileType;
15020
15151
  "User": User;
@@ -15526,6 +15657,11 @@ export interface Enums {
15526
15657
  "payments.SuggestedStarRefBots": payments_SuggestedStarRefBots;
15527
15658
  "StarsAmount": StarsAmount;
15528
15659
  "messages.FoundStickers": messages_FoundStickers;
15660
+ "BotVerifierSettings": BotVerifierSettings;
15661
+ "BotVerification": BotVerification;
15662
+ "StarGiftAttribute": StarGiftAttribute;
15663
+ "payments.StarGiftUpgradePreview": payments_StarGiftUpgradePreview;
15664
+ "users.Users": users_Users;
15529
15665
  }
15530
15666
  export type AnyType = Types[keyof Types];
15531
15667
  export type AnyFunction<T = Function> = Functions<T>[keyof Functions<T>];
@@ -15557,10 +15693,7 @@ export type DestroyAuthKeyRes = destroy_auth_key_ok | destroy_auth_key_none | de
15557
15693
  export type HttpWait = http_wait;
15558
15694
  export type True = true_;
15559
15695
  export type Error = error;
15560
- export type IpPort = ipPort | ipPortSecret;
15561
- export type AccessPointRule = accessPointRule;
15562
- export type help_ConfigSimple = help_configSimple;
15563
- export type InputFileLocation = inputPeerPhotoFileLocationLegacy | inputStickerSetThumbLegacy | inputFileLocation | inputEncryptedFileLocation | inputDocumentFileLocation | inputSecureFileLocation | inputTakeoutFileLocation | inputPhotoFileLocation | inputPhotoLegacyFileLocation | inputPeerPhotoFileLocation | inputStickerSetThumb | inputGroupCallStream;
15696
+ export type Null = null_;
15564
15697
  export type InputPeer = inputPeerEmpty | inputPeerSelf | inputPeerChat | inputPeerUser | inputPeerChannel | inputPeerUserFromMessage | inputPeerChannelFromMessage;
15565
15698
  export type InputUser = inputUserEmpty | inputUserSelf | inputUser | inputUserFromMessage;
15566
15699
  export type InputContact = inputPhoneContact;
@@ -15569,6 +15702,7 @@ export type InputMedia = inputMediaEmpty | inputMediaUploadedPhoto | inputMediaP
15569
15702
  export type InputChatPhoto = inputChatPhotoEmpty | inputChatUploadedPhoto | inputChatPhoto;
15570
15703
  export type InputGeoPoint = inputGeoPointEmpty | inputGeoPoint;
15571
15704
  export type InputPhoto = inputPhotoEmpty | inputPhoto;
15705
+ export type InputFileLocation = inputFileLocation | inputEncryptedFileLocation | inputDocumentFileLocation | inputSecureFileLocation | inputTakeoutFileLocation | inputPhotoFileLocation | inputPhotoLegacyFileLocation | inputPeerPhotoFileLocation | inputStickerSetThumb | inputGroupCallStream;
15572
15706
  export type Peer = peerUser | peerChat | peerChannel;
15573
15707
  export type storage_FileType = storage_fileUnknown | storage_filePartial | storage_fileJpeg | storage_fileGif | storage_filePng | storage_filePdf | storage_fileMp3 | storage_fileMov | storage_fileMp4 | storage_fileWebp;
15574
15708
  export type User = userEmpty | user;
@@ -15581,7 +15715,7 @@ export type ChatParticipants = chatParticipantsForbidden | chatParticipants;
15581
15715
  export type ChatPhoto = chatPhotoEmpty | chatPhoto;
15582
15716
  export type Message = messageEmpty | message | messageService;
15583
15717
  export type MessageMedia = messageMediaEmpty | messageMediaPhoto | messageMediaGeo | messageMediaContact | messageMediaUnsupported | messageMediaDocument | messageMediaWebPage | messageMediaVenue | messageMediaGame | messageMediaInvoice | messageMediaGeoLive | messageMediaPoll | messageMediaDice | messageMediaStory | messageMediaGiveaway | messageMediaGiveawayResults | messageMediaPaidMedia;
15584
- export type 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;
15718
+ export type 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;
15585
15719
  export type Dialog = dialog | dialogFolder;
15586
15720
  export type Photo = photoEmpty | photo;
15587
15721
  export type PhotoSize = photoSizeEmpty | photoSize | photoCachedSize | photoStrippedSize | photoSizeProgressive | photoPathSize;
@@ -15706,7 +15840,7 @@ export type HighScore = highScore;
15706
15840
  export type messages_HighScores = messages_highScores;
15707
15841
  export type RichText = textEmpty | textPlain | textBold | textItalic | textUnderline | textStrike | textFixed | textUrl | textEmail | textConcat | textSubscript | textSuperscript | textMarked | textPhone | textImage | textAnchor;
15708
15842
  export type 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;
15709
- export type PhoneCallDiscardReason = phoneCallDiscardReasonMissed | phoneCallDiscardReasonDisconnect | phoneCallDiscardReasonHangup | phoneCallDiscardReasonBusy;
15843
+ export type PhoneCallDiscardReason = phoneCallDiscardReasonMissed | phoneCallDiscardReasonDisconnect | phoneCallDiscardReasonHangup | phoneCallDiscardReasonBusy | phoneCallDiscardReasonAllowGroupCall;
15710
15844
  export type DataJSON = dataJSON;
15711
15845
  export type LabeledPrice = labeledPrice;
15712
15846
  export type Invoice = invoice;
@@ -15906,7 +16040,7 @@ export type account_SavedRingtones = account_savedRingtonesNotModified | account
15906
16040
  export type NotificationSound = notificationSoundDefault | notificationSoundNone | notificationSoundLocal | notificationSoundRingtone;
15907
16041
  export type account_SavedRingtone = account_savedRingtone | account_savedRingtoneConverted;
15908
16042
  export type AttachMenuPeerType = attachMenuPeerTypeSameBotPM | attachMenuPeerTypeBotPM | attachMenuPeerTypePM | attachMenuPeerTypeChat | attachMenuPeerTypeBroadcast;
15909
- export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode | inputInvoiceStars | inputInvoiceChatInviteSubscription | inputInvoiceStarGift;
16043
+ export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode | inputInvoiceStars | inputInvoiceChatInviteSubscription | inputInvoiceStarGift | inputInvoiceStarGiftUpgrade | inputInvoiceStarGiftTransfer;
15910
16044
  export type payments_ExportedInvoice = payments_exportedInvoice;
15911
16045
  export type messages_TranscribedAudio = messages_transcribedAudio;
15912
16046
  export type help_PremiumPromo = help_premiumPromo;
@@ -16065,7 +16199,7 @@ export type StarsSubscription = starsSubscription;
16065
16199
  export type MessageReactor = messageReactor;
16066
16200
  export type StarsGiveawayOption = starsGiveawayOption;
16067
16201
  export type StarsGiveawayWinnersOption = starsGiveawayWinnersOption;
16068
- export type StarGift = starGift;
16202
+ export type StarGift = starGift | starGiftUnique;
16069
16203
  export type payments_StarGifts = payments_starGiftsNotModified | payments_starGifts;
16070
16204
  export type UserStarGift = userStarGift;
16071
16205
  export type payments_UserStarGifts = payments_userStarGifts;
@@ -16080,6 +16214,11 @@ export type payments_ConnectedStarRefBots = payments_connectedStarRefBots;
16080
16214
  export type payments_SuggestedStarRefBots = payments_suggestedStarRefBots;
16081
16215
  export type StarsAmount = starsAmount;
16082
16216
  export type messages_FoundStickers = messages_foundStickersNotModified | messages_foundStickers;
16217
+ export type BotVerifierSettings = botVerifierSettings;
16218
+ export type BotVerification = botVerification;
16219
+ export type StarGiftAttribute = starGiftAttributeModel | starGiftAttributePattern | starGiftAttributeBackdrop | starGiftAttributeOriginalDetails;
16220
+ export type payments_StarGiftUpgradePreview = payments_starGiftUpgradePreview;
16221
+ export type users_Users = users_users | users_usersSlice;
16083
16222
  export declare const getTypeName: (id: number) => string | undefined;
16084
16223
  export declare const flags: symbol;
16085
16224
  export type Parameters = [number, [string, unknown, string][]];