pyrogrammod 2.1.5__py3-none-any.whl → 2.2.0__py3-none-any.whl

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 (2825) hide show
  1. pyrogram/__init__.py +1 -1
  2. pyrogram/errors/exceptions/__init__.py +3 -3
  3. pyrogram/errors/exceptions/all.py +249 -215
  4. pyrogram/errors/exceptions/bad_request_400.py +246 -36
  5. pyrogram/errors/exceptions/flood_420.py +5 -5
  6. pyrogram/errors/exceptions/forbidden_403.py +12 -5
  7. pyrogram/errors/exceptions/internal_server_error_500.py +21 -0
  8. pyrogram/errors/exceptions/not_acceptable_406.py +3 -3
  9. pyrogram/errors/exceptions/see_other_303.py +4 -4
  10. pyrogram/errors/exceptions/unauthorized_401.py +8 -8
  11. pyrogram/methods/chats/join_chat.py +4 -4
  12. pyrogram/raw/all.py +165 -78
  13. pyrogram/raw/base/__init__.py +17 -5
  14. pyrogram/raw/base/access_point_rule.py +1 -26
  15. pyrogram/raw/base/account/__init__.py +1 -0
  16. pyrogram/raw/base/account/authorization_form.py +1 -36
  17. pyrogram/raw/base/account/authorizations.py +1 -36
  18. pyrogram/raw/base/account/auto_download_settings.py +1 -36
  19. pyrogram/raw/base/account/auto_save_settings.py +1 -36
  20. pyrogram/raw/base/account/business_chat_links.py +1 -36
  21. pyrogram/raw/base/account/connected_bots.py +1 -36
  22. pyrogram/raw/base/account/content_settings.py +1 -36
  23. pyrogram/raw/base/account/email_verified.py +1 -37
  24. pyrogram/raw/base/account/emoji_statuses.py +1 -39
  25. pyrogram/raw/base/{user_star_gift.py → account/paid_messages_revenue.py} +1 -26
  26. pyrogram/raw/base/account/password.py +1 -36
  27. pyrogram/raw/base/account/password_input_settings.py +1 -26
  28. pyrogram/raw/base/account/password_settings.py +1 -36
  29. pyrogram/raw/base/account/privacy_rules.py +1 -37
  30. pyrogram/raw/base/account/reset_password_result.py +1 -38
  31. pyrogram/raw/base/account/resolved_business_chat_links.py +1 -36
  32. pyrogram/raw/base/account/saved_ringtone.py +1 -37
  33. pyrogram/raw/base/account/saved_ringtones.py +1 -37
  34. pyrogram/raw/base/account/sent_email_code.py +1 -36
  35. pyrogram/raw/base/account/takeout.py +1 -36
  36. pyrogram/raw/base/account/themes.py +1 -38
  37. pyrogram/raw/base/account/tmp_password.py +1 -36
  38. pyrogram/raw/base/account/wall_papers.py +1 -37
  39. pyrogram/raw/base/account/web_authorizations.py +1 -36
  40. pyrogram/raw/base/account_days_ttl.py +1 -36
  41. pyrogram/raw/base/attach_menu_bot.py +1 -26
  42. pyrogram/raw/base/attach_menu_bot_icon.py +1 -26
  43. pyrogram/raw/base/attach_menu_bot_icon_color.py +1 -26
  44. pyrogram/raw/base/attach_menu_bots.py +1 -37
  45. pyrogram/raw/base/attach_menu_bots_bot.py +1 -36
  46. pyrogram/raw/base/attach_menu_peer_type.py +1 -30
  47. pyrogram/raw/base/auth/authorization.py +1 -43
  48. pyrogram/raw/base/auth/code_type.py +1 -30
  49. pyrogram/raw/base/auth/exported_authorization.py +1 -36
  50. pyrogram/raw/base/auth/logged_out.py +1 -36
  51. pyrogram/raw/base/auth/login_token.py +1 -39
  52. pyrogram/raw/base/auth/password_recovery.py +1 -36
  53. pyrogram/raw/base/auth/sent_code.py +1 -42
  54. pyrogram/raw/base/auth/sent_code_type.py +1 -36
  55. pyrogram/raw/base/authorization.py +1 -36
  56. pyrogram/raw/base/auto_download_settings.py +1 -26
  57. pyrogram/raw/base/auto_save_exception.py +1 -26
  58. pyrogram/raw/base/auto_save_settings.py +1 -26
  59. pyrogram/raw/base/available_effect.py +1 -26
  60. pyrogram/raw/base/available_reaction.py +1 -26
  61. pyrogram/raw/base/bad_msg_notification.py +1 -27
  62. pyrogram/raw/base/bank_card_open_url.py +1 -26
  63. pyrogram/raw/base/base_theme.py +1 -30
  64. pyrogram/raw/base/bind_auth_key_inner.py +1 -26
  65. pyrogram/raw/base/birthday.py +1 -26
  66. pyrogram/raw/base/boost.py +1 -26
  67. pyrogram/raw/base/bot_app.py +1 -27
  68. pyrogram/raw/base/bot_app_settings.py +1 -26
  69. pyrogram/raw/base/bot_business_connection.py +1 -26
  70. pyrogram/raw/base/bot_command.py +1 -36
  71. pyrogram/raw/base/bot_command_scope.py +1 -32
  72. pyrogram/raw/base/bot_info.py +1 -26
  73. pyrogram/raw/base/bot_inline_message.py +1 -32
  74. pyrogram/raw/base/bot_inline_result.py +1 -27
  75. pyrogram/raw/base/bot_menu_button.py +1 -38
  76. pyrogram/raw/base/bot_preview_media.py +1 -38
  77. pyrogram/raw/base/{file_location.py → bot_verification.py} +1 -26
  78. pyrogram/raw/base/{app_web_view_result_url.py → bot_verifier_settings.py} +1 -26
  79. pyrogram/raw/base/bots/bot_info.py +1 -36
  80. pyrogram/raw/base/bots/popular_app_bots.py +1 -36
  81. pyrogram/raw/base/bots/preview_info.py +1 -36
  82. pyrogram/raw/base/broadcast_revenue_balances.py +1 -26
  83. pyrogram/raw/base/broadcast_revenue_transaction.py +1 -28
  84. pyrogram/raw/base/business_away_message.py +1 -26
  85. pyrogram/raw/base/business_away_message_schedule.py +1 -28
  86. pyrogram/raw/base/business_bot_recipients.py +1 -26
  87. pyrogram/raw/base/{simple_web_view_result_url.py → business_bot_rights.py} +1 -26
  88. pyrogram/raw/base/business_chat_link.py +1 -37
  89. pyrogram/raw/base/business_greeting_message.py +1 -26
  90. pyrogram/raw/base/business_intro.py +1 -26
  91. pyrogram/raw/base/business_location.py +1 -26
  92. pyrogram/raw/base/business_recipients.py +1 -26
  93. pyrogram/raw/base/business_weekly_open.py +1 -26
  94. pyrogram/raw/base/business_work_hours.py +1 -26
  95. pyrogram/raw/base/cdn_config.py +1 -36
  96. pyrogram/raw/base/cdn_public_key.py +1 -26
  97. pyrogram/raw/base/channel_admin_log_event.py +1 -26
  98. pyrogram/raw/base/channel_admin_log_event_action.py +1 -78
  99. pyrogram/raw/base/channel_admin_log_events_filter.py +1 -26
  100. pyrogram/raw/base/channel_location.py +1 -27
  101. pyrogram/raw/base/channel_messages_filter.py +1 -27
  102. pyrogram/raw/base/channel_participant.py +1 -31
  103. pyrogram/raw/base/channel_participants_filter.py +1 -33
  104. pyrogram/raw/base/channels/admin_log_results.py +1 -36
  105. pyrogram/raw/base/channels/channel_participant.py +1 -36
  106. pyrogram/raw/base/channels/channel_participants.py +1 -37
  107. pyrogram/raw/base/channels/send_as_peers.py +1 -36
  108. pyrogram/raw/base/channels/sponsored_message_report_result.py +1 -38
  109. pyrogram/raw/base/chat.py +1 -30
  110. pyrogram/raw/base/chat_admin_rights.py +1 -26
  111. pyrogram/raw/base/chat_admin_with_invites.py +1 -26
  112. pyrogram/raw/base/chat_banned_rights.py +1 -26
  113. pyrogram/raw/base/chat_full.py +1 -27
  114. pyrogram/raw/base/chat_invite.py +1 -38
  115. pyrogram/raw/base/chat_invite_importer.py +1 -26
  116. pyrogram/raw/base/chat_onlines.py +1 -36
  117. pyrogram/raw/base/chat_participant.py +1 -29
  118. pyrogram/raw/base/chat_participants.py +1 -27
  119. pyrogram/raw/base/chat_photo.py +1 -27
  120. pyrogram/raw/base/chat_reactions.py +1 -28
  121. pyrogram/raw/base/chatlists/chatlist_invite.py +1 -37
  122. pyrogram/raw/base/chatlists/chatlist_updates.py +1 -36
  123. pyrogram/raw/base/chatlists/exported_chatlist_invite.py +1 -36
  124. pyrogram/raw/base/chatlists/exported_invites.py +1 -36
  125. pyrogram/raw/base/client_dh_inner_data.py +1 -26
  126. pyrogram/raw/base/code_settings.py +1 -26
  127. pyrogram/raw/base/config.py +1 -36
  128. pyrogram/raw/base/connected_bot.py +1 -26
  129. pyrogram/raw/base/connected_bot_star_ref.py +28 -0
  130. pyrogram/raw/base/contact.py +1 -26
  131. pyrogram/raw/base/contact_birthday.py +1 -26
  132. pyrogram/raw/base/contact_status.py +1 -36
  133. pyrogram/raw/base/contacts/__init__.py +1 -0
  134. pyrogram/raw/base/contacts/blocked.py +1 -37
  135. pyrogram/raw/base/contacts/contact_birthdays.py +1 -36
  136. pyrogram/raw/base/contacts/contacts.py +1 -37
  137. pyrogram/raw/base/contacts/found.py +1 -36
  138. pyrogram/raw/base/contacts/imported_contacts.py +1 -36
  139. pyrogram/raw/base/contacts/resolved_peer.py +1 -37
  140. pyrogram/raw/base/contacts/sponsored_peers.py +28 -0
  141. pyrogram/raw/base/contacts/top_peers.py +1 -38
  142. pyrogram/raw/base/data_json.py +1 -38
  143. pyrogram/raw/base/dc_option.py +1 -26
  144. pyrogram/raw/base/default_history_ttl.py +1 -36
  145. pyrogram/raw/base/destroy_auth_key_res.py +1 -38
  146. pyrogram/raw/base/destroy_session_res.py +1 -37
  147. pyrogram/raw/base/dialog.py +1 -27
  148. pyrogram/raw/base/dialog_filter.py +1 -28
  149. pyrogram/raw/base/dialog_filter_suggested.py +1 -36
  150. pyrogram/raw/base/dialog_peer.py +1 -37
  151. pyrogram/raw/base/disallowed_gifts_settings.py +28 -0
  152. pyrogram/raw/base/document.py +1 -40
  153. pyrogram/raw/base/document_attribute.py +1 -33
  154. pyrogram/raw/base/draft_message.py +1 -27
  155. pyrogram/raw/base/email_verification.py +1 -28
  156. pyrogram/raw/base/email_verify_purpose.py +1 -28
  157. pyrogram/raw/base/emoji_group.py +1 -28
  158. pyrogram/raw/base/emoji_keyword.py +1 -27
  159. pyrogram/raw/base/emoji_keywords_difference.py +1 -37
  160. pyrogram/raw/base/emoji_language.py +1 -36
  161. pyrogram/raw/base/emoji_list.py +1 -41
  162. pyrogram/raw/base/emoji_status.py +1 -28
  163. pyrogram/raw/base/emoji_url.py +1 -36
  164. pyrogram/raw/base/encrypted_chat.py +1 -41
  165. pyrogram/raw/base/encrypted_file.py +1 -37
  166. pyrogram/raw/base/encrypted_message.py +1 -27
  167. pyrogram/raw/base/exported_chat_invite.py +1 -37
  168. pyrogram/raw/base/exported_chatlist_invite.py +1 -36
  169. pyrogram/raw/base/exported_contact_token.py +1 -36
  170. pyrogram/raw/base/exported_message_link.py +1 -36
  171. pyrogram/raw/base/exported_story_link.py +1 -36
  172. pyrogram/raw/base/fact_check.py +1 -36
  173. pyrogram/raw/base/file_hash.py +1 -38
  174. pyrogram/raw/base/folder.py +1 -26
  175. pyrogram/raw/base/folder_peer.py +1 -26
  176. pyrogram/raw/base/forum_topic.py +1 -27
  177. pyrogram/raw/base/found_story.py +1 -26
  178. pyrogram/raw/base/fragment/collectible_info.py +1 -36
  179. pyrogram/raw/base/game.py +1 -26
  180. pyrogram/raw/base/geo_point.py +1 -27
  181. pyrogram/raw/base/geo_point_address.py +1 -26
  182. pyrogram/raw/base/global_privacy_settings.py +1 -37
  183. pyrogram/raw/base/group_call.py +1 -27
  184. pyrogram/raw/base/group_call_participant.py +1 -26
  185. pyrogram/raw/base/group_call_participant_video.py +1 -26
  186. pyrogram/raw/base/group_call_participant_video_source_group.py +1 -26
  187. pyrogram/raw/base/group_call_stream_channel.py +1 -26
  188. pyrogram/raw/base/help/app_config.py +1 -37
  189. pyrogram/raw/base/help/app_update.py +1 -37
  190. pyrogram/raw/base/help/config_simple.py +1 -26
  191. pyrogram/raw/base/help/countries_list.py +1 -37
  192. pyrogram/raw/base/help/country.py +1 -26
  193. pyrogram/raw/base/help/country_code.py +1 -26
  194. pyrogram/raw/base/help/deep_link_info.py +1 -37
  195. pyrogram/raw/base/help/invite_text.py +1 -36
  196. pyrogram/raw/base/help/passport_config.py +1 -37
  197. pyrogram/raw/base/help/peer_color_option.py +1 -26
  198. pyrogram/raw/base/help/peer_color_set.py +1 -27
  199. pyrogram/raw/base/help/peer_colors.py +1 -38
  200. pyrogram/raw/base/help/premium_promo.py +1 -36
  201. pyrogram/raw/base/help/promo_data.py +1 -37
  202. pyrogram/raw/base/help/recent_me_urls.py +1 -36
  203. pyrogram/raw/base/help/support.py +1 -36
  204. pyrogram/raw/base/help/support_name.py +1 -36
  205. pyrogram/raw/base/help/terms_of_service.py +1 -26
  206. pyrogram/raw/base/help/terms_of_service_update.py +1 -37
  207. pyrogram/raw/base/help/timezones_list.py +1 -37
  208. pyrogram/raw/base/help/user_info.py +1 -38
  209. pyrogram/raw/base/high_score.py +1 -26
  210. pyrogram/raw/base/http_wait.py +1 -26
  211. pyrogram/raw/base/imported_contact.py +1 -26
  212. pyrogram/raw/base/inline_bot_switch_pm.py +1 -26
  213. pyrogram/raw/base/inline_bot_web_view.py +1 -26
  214. pyrogram/raw/base/inline_query_peer_type.py +1 -31
  215. pyrogram/raw/base/input_app_event.py +1 -26
  216. pyrogram/raw/base/input_bot_app.py +1 -27
  217. pyrogram/raw/base/input_bot_inline_message.py +1 -33
  218. pyrogram/raw/base/input_bot_inline_message_id.py +1 -27
  219. pyrogram/raw/base/input_bot_inline_result.py +1 -29
  220. pyrogram/raw/base/input_business_away_message.py +1 -26
  221. pyrogram/raw/base/input_business_bot_recipients.py +1 -26
  222. pyrogram/raw/base/input_business_chat_link.py +1 -26
  223. pyrogram/raw/base/input_business_greeting_message.py +1 -26
  224. pyrogram/raw/base/input_business_intro.py +1 -26
  225. pyrogram/raw/base/input_business_recipients.py +1 -26
  226. pyrogram/raw/base/input_channel.py +1 -28
  227. pyrogram/raw/base/input_chat_photo.py +1 -28
  228. pyrogram/raw/base/input_chatlist.py +1 -26
  229. pyrogram/raw/base/input_check_password_srp.py +1 -27
  230. pyrogram/raw/base/input_client_proxy.py +1 -26
  231. pyrogram/raw/base/input_collectible.py +1 -27
  232. pyrogram/raw/base/input_contact.py +1 -26
  233. pyrogram/raw/base/input_dialog_peer.py +1 -27
  234. pyrogram/raw/base/input_document.py +1 -27
  235. pyrogram/raw/base/input_encrypted_chat.py +1 -26
  236. pyrogram/raw/base/input_encrypted_file.py +1 -29
  237. pyrogram/raw/base/input_file.py +1 -28
  238. pyrogram/raw/base/input_file_location.py +1 -35
  239. pyrogram/raw/base/input_folder_peer.py +1 -26
  240. pyrogram/raw/base/input_game.py +1 -27
  241. pyrogram/raw/base/input_geo_point.py +1 -27
  242. pyrogram/raw/base/input_group_call.py +1 -26
  243. pyrogram/raw/base/input_invoice.py +1 -31
  244. pyrogram/raw/base/input_media.py +1 -43
  245. pyrogram/raw/base/input_message.py +1 -29
  246. pyrogram/raw/base/input_notify_peer.py +1 -30
  247. pyrogram/raw/base/input_payment_credentials.py +1 -29
  248. pyrogram/raw/base/input_peer.py +1 -32
  249. pyrogram/raw/base/input_peer_notify_settings.py +1 -26
  250. pyrogram/raw/base/input_phone_call.py +1 -26
  251. pyrogram/raw/base/input_photo.py +1 -27
  252. pyrogram/raw/base/input_privacy_key.py +1 -37
  253. pyrogram/raw/base/input_privacy_rule.py +1 -37
  254. pyrogram/raw/base/input_quick_reply_shortcut.py +1 -27
  255. pyrogram/raw/base/input_reply_to.py +1 -27
  256. pyrogram/raw/base/input_saved_star_gift.py +28 -0
  257. pyrogram/raw/base/input_secure_file.py +1 -27
  258. pyrogram/raw/base/input_secure_value.py +1 -26
  259. pyrogram/raw/base/input_single_media.py +1 -26
  260. pyrogram/raw/base/input_stars_transaction.py +1 -26
  261. pyrogram/raw/base/input_sticker_set.py +1 -36
  262. pyrogram/raw/base/input_sticker_set_item.py +1 -26
  263. pyrogram/raw/base/input_stickered_media.py +1 -27
  264. pyrogram/raw/base/input_store_payment_purpose.py +1 -32
  265. pyrogram/raw/base/input_theme.py +1 -27
  266. pyrogram/raw/base/input_theme_settings.py +1 -26
  267. pyrogram/raw/base/input_user.py +1 -29
  268. pyrogram/raw/base/input_wall_paper.py +1 -28
  269. pyrogram/raw/base/input_web_document.py +1 -26
  270. pyrogram/raw/base/input_web_file_location.py +1 -28
  271. pyrogram/raw/base/invoice.py +1 -26
  272. pyrogram/raw/base/ip_port.py +1 -27
  273. pyrogram/raw/base/json_object_value.py +1 -26
  274. pyrogram/raw/base/json_value.py +1 -31
  275. pyrogram/raw/base/keyboard_button.py +1 -43
  276. pyrogram/raw/base/keyboard_button_row.py +1 -26
  277. pyrogram/raw/base/labeled_price.py +1 -26
  278. pyrogram/raw/base/lang_pack_difference.py +1 -37
  279. pyrogram/raw/base/lang_pack_language.py +1 -37
  280. pyrogram/raw/base/lang_pack_string.py +1 -38
  281. pyrogram/raw/base/mask_coords.py +1 -26
  282. pyrogram/raw/base/media_area.py +1 -33
  283. pyrogram/raw/base/media_area_coordinates.py +1 -26
  284. pyrogram/raw/base/message.py +1 -28
  285. pyrogram/raw/base/message_action.py +1 -80
  286. pyrogram/raw/base/message_entity.py +1 -46
  287. pyrogram/raw/base/message_extended_media.py +1 -27
  288. pyrogram/raw/base/message_fwd_header.py +1 -26
  289. pyrogram/raw/base/message_media.py +1 -54
  290. pyrogram/raw/base/message_peer_reaction.py +1 -26
  291. pyrogram/raw/base/message_peer_vote.py +1 -28
  292. pyrogram/raw/base/message_range.py +1 -36
  293. pyrogram/raw/base/message_reactions.py +1 -26
  294. pyrogram/raw/base/message_reactor.py +1 -26
  295. pyrogram/raw/base/message_replies.py +1 -26
  296. pyrogram/raw/base/message_reply_header.py +1 -27
  297. pyrogram/raw/base/message_report_option.py +1 -26
  298. pyrogram/raw/base/message_views.py +1 -26
  299. pyrogram/raw/base/messages/__init__.py +4 -2
  300. pyrogram/raw/base/messages/affected_found_messages.py +1 -36
  301. pyrogram/raw/base/messages/affected_history.py +1 -42
  302. pyrogram/raw/base/messages/affected_messages.py +1 -39
  303. pyrogram/raw/base/messages/all_stickers.py +1 -39
  304. pyrogram/raw/base/messages/archived_stickers.py +1 -36
  305. pyrogram/raw/base/messages/available_effects.py +1 -37
  306. pyrogram/raw/base/messages/available_reactions.py +1 -37
  307. pyrogram/raw/base/messages/bot_app.py +1 -36
  308. pyrogram/raw/base/messages/bot_callback_answer.py +1 -36
  309. pyrogram/raw/base/messages/bot_prepared_inline_message.py +1 -36
  310. pyrogram/raw/base/messages/bot_results.py +1 -36
  311. pyrogram/raw/base/messages/chat_admins_with_invites.py +1 -36
  312. pyrogram/raw/base/messages/chat_full.py +1 -37
  313. pyrogram/raw/base/messages/chat_invite_importers.py +1 -36
  314. pyrogram/raw/base/messages/chats.py +1 -45
  315. pyrogram/raw/base/messages/checked_history_import_peer.py +1 -36
  316. pyrogram/raw/base/messages/dh_config.py +1 -37
  317. pyrogram/raw/base/messages/dialog_filters.py +1 -36
  318. pyrogram/raw/base/messages/dialogs.py +1 -38
  319. pyrogram/raw/base/messages/discussion_message.py +1 -36
  320. pyrogram/raw/base/messages/emoji_groups.py +1 -40
  321. pyrogram/raw/base/messages/exported_chat_invite.py +1 -38
  322. pyrogram/raw/base/messages/exported_chat_invites.py +1 -36
  323. pyrogram/raw/base/messages/faved_stickers.py +1 -37
  324. pyrogram/raw/base/messages/featured_stickers.py +1 -39
  325. pyrogram/raw/base/messages/forum_topics.py +1 -37
  326. pyrogram/raw/base/messages/found_sticker_sets.py +1 -38
  327. pyrogram/raw/base/messages/found_stickers.py +28 -0
  328. pyrogram/raw/base/messages/high_scores.py +1 -37
  329. pyrogram/raw/base/messages/history_import.py +1 -36
  330. pyrogram/raw/base/messages/history_import_parsed.py +1 -36
  331. pyrogram/raw/base/messages/inactive_chats.py +1 -36
  332. pyrogram/raw/base/messages/invited_users.py +1 -38
  333. pyrogram/raw/base/messages/message_edit_data.py +1 -36
  334. pyrogram/raw/base/messages/message_empty.py +1 -26
  335. pyrogram/raw/base/messages/message_reactions_list.py +1 -36
  336. pyrogram/raw/base/messages/message_views.py +1 -36
  337. pyrogram/raw/base/messages/messages.py +1 -53
  338. pyrogram/raw/base/messages/my_stickers.py +1 -36
  339. pyrogram/raw/base/messages/peer_dialogs.py +1 -37
  340. pyrogram/raw/base/messages/peer_settings.py +1 -36
  341. pyrogram/raw/base/messages/prepared_inline_message.py +1 -36
  342. pyrogram/raw/base/messages/quick_replies.py +1 -37
  343. pyrogram/raw/base/messages/reactions.py +1 -39
  344. pyrogram/raw/base/messages/recent_stickers.py +1 -37
  345. pyrogram/raw/base/messages/saved_dialogs.py +1 -39
  346. pyrogram/raw/base/messages/saved_gifs.py +1 -37
  347. pyrogram/raw/base/messages/saved_reaction_tags.py +1 -37
  348. pyrogram/raw/base/messages/search_counter.py +1 -36
  349. pyrogram/raw/base/messages/search_results_calendar.py +1 -36
  350. pyrogram/raw/base/messages/search_results_positions.py +1 -36
  351. pyrogram/raw/base/messages/sent_encrypted_message.py +1 -40
  352. pyrogram/raw/base/messages/sponsored_messages.py +1 -37
  353. pyrogram/raw/base/messages/sticker_set.py +1 -45
  354. pyrogram/raw/base/messages/sticker_set_install_result.py +1 -37
  355. pyrogram/raw/base/messages/stickers.py +1 -37
  356. pyrogram/raw/base/messages/transcribed_audio.py +1 -36
  357. pyrogram/raw/base/messages/translated_text.py +1 -36
  358. pyrogram/raw/base/messages/votes_list.py +1 -36
  359. pyrogram/raw/base/messages/web_page.py +1 -36
  360. pyrogram/raw/base/messages/web_page_preview.py +28 -0
  361. pyrogram/raw/base/messages/web_view_result.py +1 -36
  362. pyrogram/raw/base/messages_filter.py +1 -43
  363. pyrogram/raw/base/missing_invitee.py +1 -26
  364. pyrogram/raw/base/msg_detailed_info.py +1 -27
  365. pyrogram/raw/base/msg_resend_req.py +1 -27
  366. pyrogram/raw/base/msgs_ack.py +1 -26
  367. pyrogram/raw/base/msgs_all_info.py +1 -26
  368. pyrogram/raw/base/msgs_state_info.py +1 -26
  369. pyrogram/raw/base/msgs_state_req.py +1 -26
  370. pyrogram/raw/base/my_boost.py +1 -26
  371. pyrogram/raw/base/nearest_dc.py +1 -36
  372. pyrogram/raw/base/new_session.py +1 -26
  373. pyrogram/raw/base/notification_sound.py +1 -29
  374. pyrogram/raw/base/notify_peer.py +1 -30
  375. pyrogram/raw/base/outbox_read_date.py +1 -36
  376. pyrogram/raw/base/page.py +1 -26
  377. pyrogram/raw/base/page_block.py +1 -54
  378. pyrogram/raw/base/page_caption.py +1 -26
  379. pyrogram/raw/base/page_list_item.py +1 -27
  380. pyrogram/raw/base/page_list_ordered_item.py +1 -27
  381. pyrogram/raw/base/page_related_article.py +1 -26
  382. pyrogram/raw/base/page_table_cell.py +1 -26
  383. pyrogram/raw/base/page_table_row.py +1 -26
  384. pyrogram/raw/base/paid_reaction_privacy.py +28 -0
  385. pyrogram/raw/base/password_kdf_algo.py +1 -27
  386. pyrogram/raw/base/payment_charge.py +1 -26
  387. pyrogram/raw/base/payment_form_method.py +1 -26
  388. pyrogram/raw/base/payment_requested_info.py +1 -26
  389. pyrogram/raw/base/payment_saved_credentials.py +1 -26
  390. pyrogram/raw/base/payments/__init__.py +7 -1
  391. pyrogram/raw/base/payments/bank_card_data.py +1 -36
  392. pyrogram/raw/base/payments/checked_gift_code.py +1 -36
  393. pyrogram/raw/base/payments/connected_star_ref_bots.py +28 -0
  394. pyrogram/raw/base/payments/exported_invoice.py +1 -36
  395. pyrogram/raw/base/payments/giveaway_info.py +1 -37
  396. pyrogram/raw/base/payments/payment_form.py +1 -38
  397. pyrogram/raw/base/payments/payment_receipt.py +1 -37
  398. pyrogram/raw/base/payments/payment_result.py +1 -38
  399. pyrogram/raw/base/payments/resale_star_gifts.py +28 -0
  400. pyrogram/raw/base/payments/saved_info.py +1 -36
  401. pyrogram/raw/base/payments/saved_star_gifts.py +28 -0
  402. pyrogram/raw/base/payments/star_gift_upgrade_preview.py +28 -0
  403. pyrogram/raw/base/payments/star_gift_withdrawal_url.py +28 -0
  404. pyrogram/raw/base/payments/star_gifts.py +1 -37
  405. pyrogram/raw/base/payments/stars_revenue_ads_account_url.py +1 -36
  406. pyrogram/raw/base/payments/stars_revenue_stats.py +1 -36
  407. pyrogram/raw/base/payments/stars_revenue_withdrawal_url.py +1 -36
  408. pyrogram/raw/base/payments/stars_status.py +1 -39
  409. pyrogram/raw/base/payments/suggested_star_ref_bots.py +28 -0
  410. pyrogram/raw/base/payments/unique_star_gift.py +28 -0
  411. pyrogram/raw/base/payments/validated_requested_info.py +1 -36
  412. pyrogram/raw/base/peer.py +1 -38
  413. pyrogram/raw/base/peer_blocked.py +1 -26
  414. pyrogram/raw/base/peer_color.py +1 -26
  415. pyrogram/raw/base/peer_located.py +1 -27
  416. pyrogram/raw/base/peer_notify_settings.py +1 -36
  417. pyrogram/raw/base/peer_settings.py +1 -26
  418. pyrogram/raw/base/peer_stories.py +1 -26
  419. pyrogram/raw/base/pending_suggestion.py +28 -0
  420. pyrogram/raw/base/phone/exported_group_call_invite.py +1 -36
  421. pyrogram/raw/base/phone/group_call.py +1 -36
  422. pyrogram/raw/base/phone/group_call_stream_channels.py +1 -36
  423. pyrogram/raw/base/phone/group_call_stream_rtmp_url.py +1 -36
  424. pyrogram/raw/base/phone/group_participants.py +1 -36
  425. pyrogram/raw/base/phone/join_as_peers.py +1 -36
  426. pyrogram/raw/base/phone/phone_call.py +1 -38
  427. pyrogram/raw/base/phone_call.py +1 -31
  428. pyrogram/raw/base/phone_call_discard_reason.py +1 -29
  429. pyrogram/raw/base/phone_call_protocol.py +1 -26
  430. pyrogram/raw/base/phone_connection.py +1 -27
  431. pyrogram/raw/base/photo.py +1 -27
  432. pyrogram/raw/base/photo_size.py +1 -31
  433. pyrogram/raw/base/photos/photo.py +1 -38
  434. pyrogram/raw/base/photos/photos.py +1 -37
  435. pyrogram/raw/base/poll.py +1 -26
  436. pyrogram/raw/base/poll_answer.py +1 -26
  437. pyrogram/raw/base/poll_answer_voters.py +1 -26
  438. pyrogram/raw/base/poll_results.py +1 -26
  439. pyrogram/raw/base/pong.py +1 -37
  440. pyrogram/raw/base/popular_contact.py +1 -26
  441. pyrogram/raw/base/post_address.py +1 -26
  442. pyrogram/raw/base/post_interaction_counters.py +1 -27
  443. pyrogram/raw/base/pq_inner_data.py +1 -29
  444. pyrogram/raw/base/premium/boosts_list.py +1 -37
  445. pyrogram/raw/base/premium/boosts_status.py +1 -36
  446. pyrogram/raw/base/premium/my_boosts.py +1 -37
  447. pyrogram/raw/base/premium_gift_code_option.py +1 -36
  448. pyrogram/raw/base/premium_gift_option.py +1 -26
  449. pyrogram/raw/base/premium_subscription_option.py +1 -26
  450. pyrogram/raw/base/prepaid_giveaway.py +1 -27
  451. pyrogram/raw/base/privacy_key.py +1 -37
  452. pyrogram/raw/base/privacy_rule.py +1 -37
  453. pyrogram/raw/base/public_forward.py +1 -27
  454. pyrogram/raw/base/quick_reply.py +1 -26
  455. pyrogram/raw/base/reaction.py +1 -29
  456. pyrogram/raw/base/reaction_count.py +1 -26
  457. pyrogram/raw/base/reaction_notifications_from.py +1 -27
  458. pyrogram/raw/base/reactions_notify_settings.py +1 -37
  459. pyrogram/raw/base/read_participant_date.py +1 -36
  460. pyrogram/raw/base/received_notify_message.py +1 -36
  461. pyrogram/raw/base/recent_me_url.py +1 -30
  462. pyrogram/raw/base/reply_markup.py +1 -29
  463. pyrogram/raw/base/report_reason.py +1 -35
  464. pyrogram/raw/base/report_result.py +1 -39
  465. pyrogram/raw/base/request_peer_type.py +1 -28
  466. pyrogram/raw/base/requested_peer.py +1 -28
  467. pyrogram/raw/base/requirement_to_contact.py +28 -0
  468. pyrogram/raw/base/res_pq.py +1 -37
  469. pyrogram/raw/base/restriction_reason.py +1 -26
  470. pyrogram/raw/base/rich_text.py +1 -41
  471. pyrogram/raw/base/rpc_drop_answer.py +1 -38
  472. pyrogram/raw/base/rpc_error.py +1 -26
  473. pyrogram/raw/base/rpc_result.py +1 -26
  474. pyrogram/raw/base/saved_contact.py +1 -36
  475. pyrogram/raw/base/saved_dialog.py +1 -26
  476. pyrogram/raw/base/saved_reaction_tag.py +1 -26
  477. pyrogram/raw/base/saved_star_gift.py +28 -0
  478. pyrogram/raw/base/search_results_calendar_period.py +1 -26
  479. pyrogram/raw/base/search_results_position.py +1 -26
  480. pyrogram/raw/base/secure_credentials_encrypted.py +1 -26
  481. pyrogram/raw/base/secure_data.py +1 -26
  482. pyrogram/raw/base/secure_file.py +1 -27
  483. pyrogram/raw/base/secure_password_kdf_algo.py +1 -28
  484. pyrogram/raw/base/secure_plain_data.py +1 -27
  485. pyrogram/raw/base/secure_required_type.py +1 -27
  486. pyrogram/raw/base/secure_secret_settings.py +1 -26
  487. pyrogram/raw/base/secure_value.py +1 -38
  488. pyrogram/raw/base/secure_value_error.py +1 -34
  489. pyrogram/raw/base/secure_value_hash.py +1 -26
  490. pyrogram/raw/base/secure_value_type.py +1 -38
  491. pyrogram/raw/base/send_as_peer.py +1 -26
  492. pyrogram/raw/base/send_message_action.py +1 -43
  493. pyrogram/raw/base/server_dh_inner_data.py +1 -26
  494. pyrogram/raw/base/server_dh_params.py +1 -37
  495. pyrogram/raw/base/set_client_dh_params_answer.py +1 -38
  496. pyrogram/raw/base/shipping_option.py +1 -26
  497. pyrogram/raw/base/sms_job.py +1 -36
  498. pyrogram/raw/base/smsjobs/eligibility_to_join.py +1 -36
  499. pyrogram/raw/base/smsjobs/status.py +1 -36
  500. pyrogram/raw/base/sponsored_message.py +1 -26
  501. pyrogram/raw/base/sponsored_message_report_option.py +1 -26
  502. pyrogram/raw/base/sponsored_peer.py +28 -0
  503. pyrogram/raw/base/star_gift.py +1 -26
  504. pyrogram/raw/base/star_gift_attribute.py +28 -0
  505. pyrogram/raw/base/star_gift_attribute_counter.py +28 -0
  506. pyrogram/raw/base/star_gift_attribute_id.py +28 -0
  507. pyrogram/raw/base/star_ref_program.py +28 -0
  508. pyrogram/raw/base/stars_amount.py +28 -0
  509. pyrogram/raw/base/stars_gift_option.py +1 -36
  510. pyrogram/raw/base/stars_giveaway_option.py +1 -36
  511. pyrogram/raw/base/stars_giveaway_winners_option.py +1 -26
  512. pyrogram/raw/base/stars_revenue_status.py +1 -26
  513. pyrogram/raw/base/stars_subscription.py +1 -26
  514. pyrogram/raw/base/stars_subscription_pricing.py +1 -26
  515. pyrogram/raw/base/stars_topup_option.py +1 -36
  516. pyrogram/raw/base/stars_transaction.py +1 -26
  517. pyrogram/raw/base/stars_transaction_peer.py +1 -33
  518. pyrogram/raw/base/stats/broadcast_revenue_stats.py +1 -36
  519. pyrogram/raw/base/stats/broadcast_revenue_transactions.py +1 -36
  520. pyrogram/raw/base/stats/broadcast_revenue_withdrawal_url.py +1 -36
  521. pyrogram/raw/base/stats/broadcast_stats.py +1 -36
  522. pyrogram/raw/base/stats/megagroup_stats.py +1 -36
  523. pyrogram/raw/base/stats/message_stats.py +1 -36
  524. pyrogram/raw/base/stats/public_forwards.py +1 -37
  525. pyrogram/raw/base/stats/story_stats.py +1 -36
  526. pyrogram/raw/base/stats_abs_value_and_prev.py +1 -26
  527. pyrogram/raw/base/stats_date_range_days.py +1 -26
  528. pyrogram/raw/base/stats_graph.py +1 -38
  529. pyrogram/raw/base/stats_group_top_admin.py +1 -26
  530. pyrogram/raw/base/stats_group_top_inviter.py +1 -26
  531. pyrogram/raw/base/stats_group_top_poster.py +1 -26
  532. pyrogram/raw/base/stats_percent_value.py +1 -26
  533. pyrogram/raw/base/stats_url.py +1 -36
  534. pyrogram/raw/base/sticker_keyword.py +1 -26
  535. pyrogram/raw/base/sticker_pack.py +1 -26
  536. pyrogram/raw/base/sticker_set.py +1 -26
  537. pyrogram/raw/base/sticker_set_covered.py +1 -39
  538. pyrogram/raw/base/stickers/suggested_short_name.py +1 -36
  539. pyrogram/raw/base/storage/file_type.py +1 -35
  540. pyrogram/raw/base/stories/__init__.py +1 -0
  541. pyrogram/raw/base/stories/all_stories.py +1 -37
  542. pyrogram/raw/base/stories/can_send_story_count.py +28 -0
  543. pyrogram/raw/base/stories/found_stories.py +1 -36
  544. pyrogram/raw/base/stories/peer_stories.py +1 -36
  545. pyrogram/raw/base/stories/stories.py +1 -38
  546. pyrogram/raw/base/stories/story_reactions_list.py +1 -36
  547. pyrogram/raw/base/stories/story_views.py +1 -36
  548. pyrogram/raw/base/stories/story_views_list.py +1 -36
  549. pyrogram/raw/base/stories_stealth_mode.py +1 -26
  550. pyrogram/raw/base/story_fwd_header.py +1 -26
  551. pyrogram/raw/base/story_item.py +1 -28
  552. pyrogram/raw/base/story_reaction.py +1 -28
  553. pyrogram/raw/base/story_view.py +1 -28
  554. pyrogram/raw/base/story_views.py +1 -26
  555. pyrogram/raw/base/text_with_entities.py +1 -26
  556. pyrogram/raw/base/theme.py +1 -38
  557. pyrogram/raw/base/theme_settings.py +1 -26
  558. pyrogram/raw/base/timezone.py +1 -26
  559. pyrogram/raw/base/top_peer.py +1 -26
  560. pyrogram/raw/base/top_peer_category.py +1 -34
  561. pyrogram/raw/base/top_peer_category_peers.py +1 -26
  562. pyrogram/raw/base/update.py +1 -169
  563. pyrogram/raw/base/updates/channel_difference.py +1 -38
  564. pyrogram/raw/base/updates/difference.py +1 -39
  565. pyrogram/raw/base/updates/state.py +1 -36
  566. pyrogram/raw/base/updates_t.py +1 -150
  567. pyrogram/raw/base/upload/cdn_file.py +1 -37
  568. pyrogram/raw/base/upload/file.py +1 -37
  569. pyrogram/raw/base/upload/web_file.py +1 -36
  570. pyrogram/raw/base/url_auth_result.py +1 -39
  571. pyrogram/raw/base/user.py +1 -42
  572. pyrogram/raw/base/user_full.py +1 -26
  573. pyrogram/raw/base/user_profile_photo.py +1 -27
  574. pyrogram/raw/base/user_status.py +1 -32
  575. pyrogram/raw/base/username.py +1 -26
  576. pyrogram/raw/base/users/__init__.py +1 -0
  577. pyrogram/raw/base/users/user_full.py +1 -36
  578. pyrogram/raw/base/users/users.py +28 -0
  579. pyrogram/raw/base/video_size.py +1 -28
  580. pyrogram/raw/base/wall_paper.py +1 -39
  581. pyrogram/raw/base/wall_paper_settings.py +1 -26
  582. pyrogram/raw/base/web_authorization.py +1 -26
  583. pyrogram/raw/base/web_document.py +1 -27
  584. pyrogram/raw/base/web_page.py +1 -30
  585. pyrogram/raw/base/web_page_attribute.py +1 -28
  586. pyrogram/raw/base/web_view_message_sent.py +1 -36
  587. pyrogram/raw/base/web_view_result.py +1 -39
  588. pyrogram/raw/functions/__init__.py +1 -0
  589. pyrogram/raw/functions/account/__init__.py +3 -0
  590. pyrogram/raw/functions/account/accept_authorization.py +1 -1
  591. pyrogram/raw/functions/{payments/get_user_star_gifts.py → account/add_no_paid_messages_exception.py} +18 -26
  592. pyrogram/raw/functions/account/cancel_password_email.py +1 -1
  593. pyrogram/raw/functions/account/change_authorization_settings.py +1 -1
  594. pyrogram/raw/functions/account/change_phone.py +1 -1
  595. pyrogram/raw/functions/account/check_username.py +1 -1
  596. pyrogram/raw/functions/account/clear_recent_emoji_statuses.py +1 -1
  597. pyrogram/raw/functions/account/confirm_password_email.py +1 -1
  598. pyrogram/raw/functions/account/confirm_phone.py +1 -1
  599. pyrogram/raw/functions/account/create_business_chat_link.py +1 -1
  600. pyrogram/raw/functions/account/create_theme.py +1 -1
  601. pyrogram/raw/functions/account/decline_password_reset.py +1 -1
  602. pyrogram/raw/functions/account/delete_account.py +1 -1
  603. pyrogram/raw/functions/account/delete_auto_save_exceptions.py +1 -1
  604. pyrogram/raw/functions/account/delete_business_chat_link.py +1 -1
  605. pyrogram/raw/functions/account/delete_secure_value.py +1 -1
  606. pyrogram/raw/functions/account/disable_peer_connected_bot.py +1 -1
  607. pyrogram/raw/functions/account/edit_business_chat_link.py +1 -1
  608. pyrogram/raw/functions/account/finish_takeout_session.py +1 -1
  609. pyrogram/raw/functions/account/get_account_ttl.py +1 -1
  610. pyrogram/raw/functions/account/get_all_secure_values.py +1 -1
  611. pyrogram/raw/functions/account/get_authorization_form.py +1 -1
  612. pyrogram/raw/functions/account/get_authorizations.py +1 -1
  613. pyrogram/raw/functions/account/get_auto_download_settings.py +1 -1
  614. pyrogram/raw/functions/account/get_auto_save_settings.py +1 -1
  615. pyrogram/raw/functions/account/get_bot_business_connection.py +1 -1
  616. pyrogram/raw/functions/account/get_business_chat_links.py +1 -1
  617. pyrogram/raw/functions/account/get_channel_default_emoji_statuses.py +1 -1
  618. pyrogram/raw/functions/account/get_channel_restricted_status_emojis.py +1 -1
  619. pyrogram/raw/functions/account/get_chat_themes.py +1 -1
  620. pyrogram/raw/functions/account/get_collectible_emoji_statuses.py +72 -0
  621. pyrogram/raw/functions/account/get_connected_bots.py +1 -1
  622. pyrogram/raw/functions/account/get_contact_sign_up_notification.py +1 -1
  623. pyrogram/raw/functions/account/get_content_settings.py +1 -1
  624. pyrogram/raw/functions/account/get_default_background_emojis.py +1 -1
  625. pyrogram/raw/functions/account/get_default_emoji_statuses.py +1 -1
  626. pyrogram/raw/functions/account/get_default_group_photo_emojis.py +1 -1
  627. pyrogram/raw/functions/account/get_default_profile_photo_emojis.py +1 -1
  628. pyrogram/raw/functions/account/get_global_privacy_settings.py +1 -1
  629. pyrogram/raw/functions/account/get_multi_wall_papers.py +1 -1
  630. pyrogram/raw/functions/account/get_notify_exceptions.py +1 -1
  631. pyrogram/raw/functions/account/get_notify_settings.py +1 -1
  632. pyrogram/raw/functions/account/get_paid_messages_revenue.py +72 -0
  633. pyrogram/raw/functions/account/get_password.py +1 -1
  634. pyrogram/raw/functions/account/get_password_settings.py +1 -1
  635. pyrogram/raw/functions/account/get_privacy.py +1 -1
  636. pyrogram/raw/functions/account/get_reactions_notify_settings.py +1 -1
  637. pyrogram/raw/functions/account/get_recent_emoji_statuses.py +1 -1
  638. pyrogram/raw/functions/account/get_saved_ringtones.py +1 -1
  639. pyrogram/raw/functions/account/get_secure_value.py +1 -1
  640. pyrogram/raw/functions/account/get_theme.py +1 -1
  641. pyrogram/raw/functions/account/get_themes.py +1 -1
  642. pyrogram/raw/functions/account/get_tmp_password.py +1 -1
  643. pyrogram/raw/functions/account/get_wall_paper.py +1 -1
  644. pyrogram/raw/functions/account/get_wall_papers.py +1 -1
  645. pyrogram/raw/functions/account/get_web_authorizations.py +1 -1
  646. pyrogram/raw/functions/account/init_takeout_session.py +1 -1
  647. pyrogram/raw/functions/account/install_theme.py +1 -1
  648. pyrogram/raw/functions/account/install_wall_paper.py +1 -1
  649. pyrogram/raw/functions/account/invalidate_sign_in_codes.py +1 -1
  650. pyrogram/raw/functions/account/register_device.py +1 -1
  651. pyrogram/raw/functions/account/reorder_usernames.py +1 -1
  652. pyrogram/raw/functions/account/report_peer.py +1 -1
  653. pyrogram/raw/functions/account/report_profile_photo.py +1 -1
  654. pyrogram/raw/functions/account/resend_password_email.py +1 -1
  655. pyrogram/raw/functions/account/reset_authorization.py +1 -1
  656. pyrogram/raw/functions/account/reset_notify_settings.py +1 -1
  657. pyrogram/raw/functions/account/reset_password.py +1 -1
  658. pyrogram/raw/functions/account/reset_wall_papers.py +1 -1
  659. pyrogram/raw/functions/account/reset_web_authorization.py +1 -1
  660. pyrogram/raw/functions/account/reset_web_authorizations.py +1 -1
  661. pyrogram/raw/functions/account/resolve_business_chat_link.py +1 -1
  662. pyrogram/raw/functions/account/save_auto_download_settings.py +1 -1
  663. pyrogram/raw/functions/account/save_auto_save_settings.py +1 -1
  664. pyrogram/raw/functions/account/save_ringtone.py +1 -1
  665. pyrogram/raw/functions/account/save_secure_value.py +1 -1
  666. pyrogram/raw/functions/account/save_theme.py +1 -1
  667. pyrogram/raw/functions/account/save_wall_paper.py +1 -1
  668. pyrogram/raw/functions/account/send_change_phone_code.py +1 -1
  669. pyrogram/raw/functions/account/send_confirm_phone_code.py +1 -1
  670. pyrogram/raw/functions/account/send_verify_email_code.py +1 -1
  671. pyrogram/raw/functions/account/send_verify_phone_code.py +1 -1
  672. pyrogram/raw/functions/account/set_account_ttl.py +1 -1
  673. pyrogram/raw/functions/account/set_authorization_ttl.py +1 -1
  674. pyrogram/raw/functions/account/set_contact_sign_up_notification.py +1 -1
  675. pyrogram/raw/functions/account/set_content_settings.py +1 -1
  676. pyrogram/raw/functions/account/set_global_privacy_settings.py +1 -1
  677. pyrogram/raw/functions/account/set_privacy.py +1 -1
  678. pyrogram/raw/functions/account/set_reactions_notify_settings.py +1 -1
  679. pyrogram/raw/functions/account/toggle_connected_bot_paused.py +1 -1
  680. pyrogram/raw/functions/account/toggle_sponsored_messages.py +1 -1
  681. pyrogram/raw/functions/account/toggle_username.py +1 -1
  682. pyrogram/raw/functions/account/unregister_device.py +1 -1
  683. pyrogram/raw/functions/account/update_birthday.py +1 -1
  684. pyrogram/raw/functions/account/update_business_away_message.py +1 -1
  685. pyrogram/raw/functions/account/update_business_greeting_message.py +1 -1
  686. pyrogram/raw/functions/account/update_business_intro.py +1 -1
  687. pyrogram/raw/functions/account/update_business_location.py +1 -1
  688. pyrogram/raw/functions/account/update_business_work_hours.py +1 -1
  689. pyrogram/raw/functions/account/update_color.py +1 -1
  690. pyrogram/raw/functions/account/update_connected_bot.py +15 -11
  691. pyrogram/raw/functions/account/update_device_locked.py +1 -1
  692. pyrogram/raw/functions/account/update_emoji_status.py +1 -1
  693. pyrogram/raw/functions/account/update_notify_settings.py +1 -1
  694. pyrogram/raw/functions/account/update_password_settings.py +1 -1
  695. pyrogram/raw/functions/account/update_personal_channel.py +1 -1
  696. pyrogram/raw/functions/account/update_profile.py +1 -1
  697. pyrogram/raw/functions/account/update_status.py +1 -1
  698. pyrogram/raw/functions/account/update_theme.py +1 -1
  699. pyrogram/raw/functions/account/update_username.py +1 -1
  700. pyrogram/raw/functions/account/upload_ringtone.py +1 -1
  701. pyrogram/raw/functions/account/upload_theme.py +1 -1
  702. pyrogram/raw/functions/account/upload_wall_paper.py +1 -1
  703. pyrogram/raw/functions/account/verify_email.py +1 -1
  704. pyrogram/raw/functions/account/verify_phone.py +1 -1
  705. pyrogram/raw/functions/auth/accept_login_token.py +1 -1
  706. pyrogram/raw/functions/auth/bind_temp_auth_key.py +1 -1
  707. pyrogram/raw/functions/auth/cancel_code.py +1 -1
  708. pyrogram/raw/functions/auth/check_password.py +1 -1
  709. pyrogram/raw/functions/auth/check_recovery_password.py +1 -1
  710. pyrogram/raw/functions/auth/drop_temp_auth_keys.py +1 -1
  711. pyrogram/raw/functions/auth/export_authorization.py +1 -1
  712. pyrogram/raw/functions/auth/export_login_token.py +1 -1
  713. pyrogram/raw/functions/auth/import_authorization.py +1 -1
  714. pyrogram/raw/functions/auth/import_bot_authorization.py +1 -1
  715. pyrogram/raw/functions/auth/import_login_token.py +1 -1
  716. pyrogram/raw/functions/auth/import_web_token_authorization.py +1 -1
  717. pyrogram/raw/functions/auth/log_out.py +1 -1
  718. pyrogram/raw/functions/auth/recover_password.py +1 -1
  719. pyrogram/raw/functions/auth/report_missing_code.py +1 -1
  720. pyrogram/raw/functions/auth/request_firebase_sms.py +1 -1
  721. pyrogram/raw/functions/auth/request_password_recovery.py +1 -1
  722. pyrogram/raw/functions/auth/resend_code.py +1 -1
  723. pyrogram/raw/functions/auth/reset_authorizations.py +1 -1
  724. pyrogram/raw/functions/auth/reset_login_email.py +1 -1
  725. pyrogram/raw/functions/auth/send_code.py +1 -1
  726. pyrogram/raw/functions/auth/sign_in.py +1 -1
  727. pyrogram/raw/functions/auth/sign_up.py +1 -1
  728. pyrogram/raw/functions/bots/__init__.py +6 -0
  729. pyrogram/raw/functions/bots/add_preview_media.py +1 -1
  730. pyrogram/raw/functions/bots/allow_send_message.py +1 -1
  731. pyrogram/raw/functions/bots/answer_webhook_json_query.py +1 -1
  732. pyrogram/raw/functions/bots/can_send_message.py +1 -1
  733. pyrogram/raw/functions/{messages → bots}/check_download_file_params.py +2 -2
  734. pyrogram/raw/functions/bots/delete_preview_media.py +1 -1
  735. pyrogram/raw/functions/bots/edit_preview_media.py +1 -1
  736. pyrogram/raw/functions/{contacts/export_card.py → bots/get_admined_bots.py} +8 -8
  737. pyrogram/raw/functions/bots/get_bot_commands.py +1 -1
  738. pyrogram/raw/functions/bots/get_bot_info.py +1 -1
  739. pyrogram/raw/functions/bots/get_bot_menu_button.py +1 -1
  740. pyrogram/raw/functions/bots/get_bot_recommendations.py +72 -0
  741. pyrogram/raw/functions/bots/get_popular_app_bots.py +1 -1
  742. pyrogram/raw/functions/bots/get_preview_info.py +1 -1
  743. pyrogram/raw/functions/bots/get_preview_medias.py +1 -1
  744. pyrogram/raw/functions/bots/invoke_web_view_custom_method.py +1 -1
  745. pyrogram/raw/functions/bots/reorder_preview_medias.py +1 -1
  746. pyrogram/raw/functions/bots/reorder_usernames.py +1 -1
  747. pyrogram/raw/functions/bots/reset_bot_commands.py +1 -1
  748. pyrogram/raw/functions/bots/send_custom_request.py +1 -1
  749. pyrogram/raw/functions/bots/set_bot_broadcast_default_admin_rights.py +1 -1
  750. pyrogram/raw/functions/bots/set_bot_commands.py +1 -1
  751. pyrogram/raw/functions/bots/set_bot_group_default_admin_rights.py +1 -1
  752. pyrogram/raw/functions/bots/set_bot_info.py +1 -1
  753. pyrogram/raw/functions/bots/set_bot_menu_button.py +1 -1
  754. pyrogram/raw/functions/bots/set_custom_verification.py +99 -0
  755. pyrogram/raw/functions/{messages → bots}/toggle_user_emoji_status_permission.py +2 -2
  756. pyrogram/raw/functions/bots/toggle_username.py +1 -1
  757. pyrogram/raw/functions/bots/update_star_ref_program.py +91 -0
  758. pyrogram/raw/functions/bots/update_user_emoji_status.py +1 -1
  759. pyrogram/raw/functions/channels/__init__.py +2 -0
  760. pyrogram/raw/functions/channels/check_username.py +1 -1
  761. pyrogram/raw/functions/channels/convert_to_gigagroup.py +1 -1
  762. pyrogram/raw/functions/channels/create_channel.py +1 -1
  763. pyrogram/raw/functions/channels/create_forum_topic.py +1 -1
  764. pyrogram/raw/functions/channels/deactivate_all_usernames.py +1 -1
  765. pyrogram/raw/functions/channels/delete_channel.py +1 -1
  766. pyrogram/raw/functions/channels/delete_history.py +1 -1
  767. pyrogram/raw/functions/channels/delete_messages.py +1 -1
  768. pyrogram/raw/functions/channels/delete_participant_history.py +1 -1
  769. pyrogram/raw/functions/channels/delete_topic_history.py +1 -1
  770. pyrogram/raw/functions/channels/edit_admin.py +1 -1
  771. pyrogram/raw/functions/channels/edit_banned.py +1 -1
  772. pyrogram/raw/functions/channels/edit_creator.py +1 -1
  773. pyrogram/raw/functions/channels/edit_forum_topic.py +1 -1
  774. pyrogram/raw/functions/channels/edit_location.py +1 -1
  775. pyrogram/raw/functions/channels/edit_photo.py +1 -1
  776. pyrogram/raw/functions/channels/edit_title.py +1 -1
  777. pyrogram/raw/functions/channels/export_message_link.py +1 -1
  778. pyrogram/raw/functions/channels/get_admin_log.py +1 -1
  779. pyrogram/raw/functions/channels/get_admined_public_channels.py +1 -1
  780. pyrogram/raw/functions/channels/get_channel_recommendations.py +1 -1
  781. pyrogram/raw/functions/channels/get_channels.py +1 -1
  782. pyrogram/raw/functions/channels/get_forum_topics.py +1 -1
  783. pyrogram/raw/functions/channels/get_forum_topics_by_id.py +1 -1
  784. pyrogram/raw/functions/channels/get_full_channel.py +1 -1
  785. pyrogram/raw/functions/channels/get_groups_for_discussion.py +1 -1
  786. pyrogram/raw/functions/channels/get_inactive_channels.py +1 -1
  787. pyrogram/raw/functions/channels/get_left_channels.py +1 -1
  788. pyrogram/raw/functions/channels/get_messages.py +1 -1
  789. pyrogram/raw/functions/channels/get_participant.py +1 -1
  790. pyrogram/raw/functions/channels/get_participants.py +1 -1
  791. pyrogram/raw/functions/channels/get_send_as.py +16 -8
  792. pyrogram/raw/functions/channels/invite_to_channel.py +1 -1
  793. pyrogram/raw/functions/channels/join_channel.py +1 -1
  794. pyrogram/raw/functions/channels/leave_channel.py +1 -1
  795. pyrogram/raw/functions/channels/read_history.py +1 -1
  796. pyrogram/raw/functions/channels/read_message_contents.py +1 -1
  797. pyrogram/raw/functions/channels/reorder_pinned_forum_topics.py +1 -1
  798. pyrogram/raw/functions/channels/reorder_usernames.py +1 -1
  799. pyrogram/raw/functions/channels/report_anti_spam_false_positive.py +1 -1
  800. pyrogram/raw/functions/channels/report_spam.py +1 -1
  801. pyrogram/raw/functions/channels/restrict_sponsored_messages.py +1 -1
  802. pyrogram/raw/functions/channels/search_posts.py +1 -1
  803. pyrogram/raw/functions/channels/set_boosts_to_unblock_restrictions.py +1 -1
  804. pyrogram/raw/functions/channels/set_discussion_group.py +1 -1
  805. pyrogram/raw/functions/channels/set_emoji_stickers.py +1 -1
  806. pyrogram/raw/functions/channels/set_stickers.py +1 -1
  807. pyrogram/raw/functions/channels/toggle_anti_spam.py +1 -1
  808. pyrogram/raw/functions/channels/toggle_autotranslation.py +80 -0
  809. pyrogram/raw/functions/channels/toggle_forum.py +1 -1
  810. pyrogram/raw/functions/channels/toggle_join_request.py +1 -1
  811. pyrogram/raw/functions/channels/toggle_join_to_send.py +1 -1
  812. pyrogram/raw/functions/channels/toggle_participants_hidden.py +1 -1
  813. pyrogram/raw/functions/channels/toggle_pre_history_hidden.py +1 -1
  814. pyrogram/raw/functions/channels/toggle_signatures.py +1 -1
  815. pyrogram/raw/functions/channels/toggle_slow_mode.py +1 -1
  816. pyrogram/raw/functions/channels/toggle_username.py +1 -1
  817. pyrogram/raw/functions/channels/toggle_view_forum_as_messages.py +1 -1
  818. pyrogram/raw/functions/channels/update_color.py +1 -1
  819. pyrogram/raw/functions/channels/update_emoji_status.py +1 -1
  820. pyrogram/raw/functions/channels/update_paid_messages_price.py +80 -0
  821. pyrogram/raw/functions/channels/update_pinned_forum_topic.py +1 -1
  822. pyrogram/raw/functions/channels/update_username.py +1 -1
  823. pyrogram/raw/functions/chatlists/check_chatlist_invite.py +1 -1
  824. pyrogram/raw/functions/chatlists/delete_exported_invite.py +1 -1
  825. pyrogram/raw/functions/chatlists/edit_exported_invite.py +1 -1
  826. pyrogram/raw/functions/chatlists/export_chatlist_invite.py +1 -1
  827. pyrogram/raw/functions/chatlists/get_chatlist_updates.py +1 -1
  828. pyrogram/raw/functions/chatlists/get_exported_invites.py +1 -1
  829. pyrogram/raw/functions/chatlists/get_leave_chatlist_suggestions.py +1 -1
  830. pyrogram/raw/functions/chatlists/hide_chatlist_updates.py +1 -1
  831. pyrogram/raw/functions/chatlists/join_chatlist_invite.py +1 -1
  832. pyrogram/raw/functions/chatlists/join_chatlist_updates.py +1 -1
  833. pyrogram/raw/functions/chatlists/leave_chatlist.py +1 -1
  834. pyrogram/raw/functions/contacts/__init__.py +1 -1
  835. pyrogram/raw/functions/contacts/accept_contact.py +1 -1
  836. pyrogram/raw/functions/contacts/add_contact.py +1 -1
  837. pyrogram/raw/functions/contacts/block.py +1 -1
  838. pyrogram/raw/functions/contacts/block_from_replies.py +1 -1
  839. pyrogram/raw/functions/contacts/delete_by_phones.py +1 -1
  840. pyrogram/raw/functions/contacts/delete_contacts.py +1 -1
  841. pyrogram/raw/functions/contacts/edit_close_friends.py +1 -1
  842. pyrogram/raw/functions/contacts/export_contact_token.py +1 -1
  843. pyrogram/raw/functions/contacts/get_birthdays.py +1 -1
  844. pyrogram/raw/functions/contacts/get_blocked.py +1 -1
  845. pyrogram/raw/functions/contacts/get_contact_i_ds.py +1 -1
  846. pyrogram/raw/functions/contacts/get_contacts.py +1 -1
  847. pyrogram/raw/functions/contacts/get_located.py +1 -1
  848. pyrogram/raw/functions/contacts/get_saved.py +1 -1
  849. pyrogram/raw/functions/contacts/get_sponsored_peers.py +72 -0
  850. pyrogram/raw/functions/contacts/get_statuses.py +1 -1
  851. pyrogram/raw/functions/contacts/get_top_peers.py +1 -1
  852. pyrogram/raw/functions/contacts/import_card.py +1 -1
  853. pyrogram/raw/functions/contacts/import_contact_token.py +1 -1
  854. pyrogram/raw/functions/contacts/import_contacts.py +1 -1
  855. pyrogram/raw/functions/contacts/reset_saved.py +1 -1
  856. pyrogram/raw/functions/contacts/reset_top_peer_rating.py +1 -1
  857. pyrogram/raw/functions/contacts/resolve_phone.py +1 -1
  858. pyrogram/raw/functions/contacts/resolve_username.py +19 -8
  859. pyrogram/raw/functions/contacts/search.py +1 -1
  860. pyrogram/raw/functions/contacts/set_blocked.py +1 -1
  861. pyrogram/raw/functions/contacts/toggle_top_peers.py +1 -1
  862. pyrogram/raw/functions/contacts/unblock.py +1 -1
  863. pyrogram/raw/functions/contest/save_developer_info.py +1 -1
  864. pyrogram/raw/functions/destroy_auth_key.py +1 -1
  865. pyrogram/raw/functions/destroy_session.py +1 -1
  866. pyrogram/raw/functions/folders/delete_folder.py +1 -1
  867. pyrogram/raw/functions/folders/edit_peer_folders.py +1 -1
  868. pyrogram/raw/functions/fragment/get_collectible_info.py +1 -1
  869. pyrogram/raw/functions/get_future_salts.py +1 -1
  870. pyrogram/raw/functions/help/__init__.py +0 -1
  871. pyrogram/raw/functions/help/accept_terms_of_service.py +1 -1
  872. pyrogram/raw/functions/help/dismiss_suggestion.py +1 -1
  873. pyrogram/raw/functions/help/edit_user_info.py +1 -1
  874. pyrogram/raw/functions/help/get_app_config.py +1 -1
  875. pyrogram/raw/functions/help/get_app_update.py +1 -1
  876. pyrogram/raw/functions/help/get_cdn_config.py +1 -1
  877. pyrogram/raw/functions/help/get_config.py +1 -1
  878. pyrogram/raw/functions/help/get_countries_list.py +1 -1
  879. pyrogram/raw/functions/help/get_deep_link_info.py +1 -1
  880. pyrogram/raw/functions/help/get_invite_text.py +1 -1
  881. pyrogram/raw/functions/help/get_nearest_dc.py +1 -1
  882. pyrogram/raw/functions/help/get_passport_config.py +1 -1
  883. pyrogram/raw/functions/help/get_peer_colors.py +1 -1
  884. pyrogram/raw/functions/help/get_peer_profile_colors.py +1 -1
  885. pyrogram/raw/functions/help/get_premium_promo.py +1 -1
  886. pyrogram/raw/functions/help/get_promo_data.py +1 -1
  887. pyrogram/raw/functions/help/get_recent_me_urls.py +1 -1
  888. pyrogram/raw/functions/help/get_support.py +1 -1
  889. pyrogram/raw/functions/help/get_support_name.py +1 -1
  890. pyrogram/raw/functions/help/get_terms_of_service_update.py +1 -1
  891. pyrogram/raw/functions/help/get_timezones_list.py +1 -1
  892. pyrogram/raw/functions/help/get_user_info.py +1 -1
  893. pyrogram/raw/functions/help/hide_promo_data.py +1 -1
  894. pyrogram/raw/functions/help/save_app_log.py +1 -1
  895. pyrogram/raw/functions/help/set_bot_updates_status.py +1 -1
  896. pyrogram/raw/functions/init_connection.py +1 -1
  897. pyrogram/raw/functions/invoke_after_msg.py +1 -1
  898. pyrogram/raw/functions/invoke_after_msgs.py +1 -1
  899. pyrogram/raw/functions/invoke_with_apns_secret.py +1 -1
  900. pyrogram/raw/functions/invoke_with_business_connection.py +1 -1
  901. pyrogram/raw/functions/invoke_with_google_play_integrity.py +1 -1
  902. pyrogram/raw/functions/invoke_with_layer.py +1 -1
  903. pyrogram/raw/functions/invoke_with_messages_range.py +1 -1
  904. pyrogram/raw/functions/invoke_with_re_captcha.py +80 -0
  905. pyrogram/raw/functions/invoke_with_takeout.py +1 -1
  906. pyrogram/raw/functions/invoke_without_updates.py +1 -1
  907. pyrogram/raw/functions/langpack/get_difference.py +1 -1
  908. pyrogram/raw/functions/langpack/get_lang_pack.py +1 -1
  909. pyrogram/raw/functions/langpack/get_language.py +1 -1
  910. pyrogram/raw/functions/langpack/get_languages.py +1 -1
  911. pyrogram/raw/functions/langpack/get_strings.py +1 -1
  912. pyrogram/raw/functions/messages/__init__.py +4 -4
  913. pyrogram/raw/functions/messages/accept_encryption.py +1 -1
  914. pyrogram/raw/functions/messages/accept_url_auth.py +1 -1
  915. pyrogram/raw/functions/messages/add_chat_user.py +1 -1
  916. pyrogram/raw/functions/messages/check_chat_invite.py +1 -1
  917. pyrogram/raw/functions/messages/check_history_import.py +1 -1
  918. pyrogram/raw/functions/messages/check_history_import_peer.py +1 -1
  919. pyrogram/raw/functions/messages/check_quick_reply_shortcut.py +1 -1
  920. pyrogram/raw/functions/messages/clear_all_drafts.py +1 -1
  921. pyrogram/raw/functions/messages/clear_recent_reactions.py +1 -1
  922. pyrogram/raw/functions/messages/clear_recent_stickers.py +1 -1
  923. pyrogram/raw/functions/messages/click_sponsored_message.py +6 -14
  924. pyrogram/raw/functions/messages/create_chat.py +1 -1
  925. pyrogram/raw/functions/messages/delete_chat.py +1 -1
  926. pyrogram/raw/functions/messages/delete_chat_user.py +1 -1
  927. pyrogram/raw/functions/messages/delete_exported_chat_invite.py +1 -1
  928. pyrogram/raw/functions/messages/delete_fact_check.py +1 -1
  929. pyrogram/raw/functions/messages/delete_history.py +1 -1
  930. pyrogram/raw/functions/messages/delete_messages.py +1 -1
  931. pyrogram/raw/functions/messages/delete_phone_call_history.py +1 -1
  932. pyrogram/raw/functions/messages/delete_quick_reply_messages.py +1 -1
  933. pyrogram/raw/functions/messages/delete_quick_reply_shortcut.py +1 -1
  934. pyrogram/raw/functions/messages/delete_revoked_exported_chat_invites.py +1 -1
  935. pyrogram/raw/functions/messages/delete_saved_history.py +1 -1
  936. pyrogram/raw/functions/messages/delete_scheduled_messages.py +1 -1
  937. pyrogram/raw/functions/messages/discard_encryption.py +1 -1
  938. pyrogram/raw/functions/messages/edit_chat_about.py +1 -1
  939. pyrogram/raw/functions/messages/edit_chat_admin.py +1 -1
  940. pyrogram/raw/functions/messages/edit_chat_default_banned_rights.py +1 -1
  941. pyrogram/raw/functions/messages/edit_chat_photo.py +1 -1
  942. pyrogram/raw/functions/messages/edit_chat_title.py +1 -1
  943. pyrogram/raw/functions/messages/edit_exported_chat_invite.py +1 -1
  944. pyrogram/raw/functions/messages/edit_fact_check.py +1 -1
  945. pyrogram/raw/functions/messages/edit_inline_bot_message.py +1 -1
  946. pyrogram/raw/functions/messages/edit_message.py +1 -1
  947. pyrogram/raw/functions/messages/edit_quick_reply_shortcut.py +1 -1
  948. pyrogram/raw/functions/messages/export_chat_invite.py +1 -1
  949. pyrogram/raw/functions/messages/fave_sticker.py +1 -1
  950. pyrogram/raw/functions/messages/forward_message.py +1 -1
  951. pyrogram/raw/functions/messages/forward_messages.py +24 -6
  952. pyrogram/raw/functions/messages/get_admins_with_invites.py +1 -1
  953. pyrogram/raw/functions/messages/get_all_chats.py +1 -1
  954. pyrogram/raw/functions/messages/get_all_drafts.py +1 -1
  955. pyrogram/raw/functions/messages/get_all_stickers.py +1 -1
  956. pyrogram/raw/functions/messages/get_archived_stickers.py +1 -1
  957. pyrogram/raw/functions/messages/get_attach_menu_bot.py +1 -1
  958. pyrogram/raw/functions/messages/get_attach_menu_bots.py +1 -1
  959. pyrogram/raw/functions/messages/get_attached_stickers.py +1 -1
  960. pyrogram/raw/functions/messages/get_available_effects.py +1 -1
  961. pyrogram/raw/functions/messages/get_available_reactions.py +1 -1
  962. pyrogram/raw/functions/messages/get_bot_app.py +1 -1
  963. pyrogram/raw/functions/messages/get_bot_callback_answer.py +1 -1
  964. pyrogram/raw/functions/messages/get_chat_invite_importers.py +1 -1
  965. pyrogram/raw/functions/messages/get_chats.py +1 -1
  966. pyrogram/raw/functions/messages/get_common_chats.py +1 -1
  967. pyrogram/raw/functions/messages/get_custom_emoji_documents.py +1 -1
  968. pyrogram/raw/functions/messages/get_default_history_ttl.py +1 -1
  969. pyrogram/raw/functions/messages/get_default_tag_reactions.py +1 -1
  970. pyrogram/raw/functions/messages/get_dh_config.py +1 -1
  971. pyrogram/raw/functions/messages/get_dialog_filters.py +1 -1
  972. pyrogram/raw/functions/messages/get_dialog_unread_marks.py +1 -1
  973. pyrogram/raw/functions/messages/get_dialogs.py +1 -1
  974. pyrogram/raw/functions/messages/get_discussion_message.py +1 -1
  975. pyrogram/raw/functions/messages/get_document_by_hash.py +1 -1
  976. pyrogram/raw/functions/messages/get_emoji_groups.py +1 -1
  977. pyrogram/raw/functions/messages/get_emoji_keywords.py +1 -1
  978. pyrogram/raw/functions/messages/get_emoji_keywords_difference.py +1 -1
  979. pyrogram/raw/functions/messages/get_emoji_keywords_languages.py +1 -1
  980. pyrogram/raw/functions/messages/get_emoji_profile_photo_groups.py +1 -1
  981. pyrogram/raw/functions/messages/get_emoji_status_groups.py +1 -1
  982. pyrogram/raw/functions/messages/get_emoji_sticker_groups.py +1 -1
  983. pyrogram/raw/functions/messages/get_emoji_stickers.py +1 -1
  984. pyrogram/raw/functions/messages/get_emoji_url.py +1 -1
  985. pyrogram/raw/functions/messages/get_exported_chat_invite.py +1 -1
  986. pyrogram/raw/functions/messages/get_exported_chat_invites.py +1 -1
  987. pyrogram/raw/functions/messages/get_extended_media.py +1 -1
  988. pyrogram/raw/functions/messages/get_fact_check.py +1 -1
  989. pyrogram/raw/functions/messages/get_faved_stickers.py +1 -1
  990. pyrogram/raw/functions/messages/get_featured_emoji_stickers.py +1 -1
  991. pyrogram/raw/functions/messages/get_featured_stickers.py +1 -1
  992. pyrogram/raw/functions/messages/get_full_chat.py +1 -1
  993. pyrogram/raw/functions/messages/get_game_high_scores.py +1 -1
  994. pyrogram/raw/functions/messages/get_history.py +1 -1
  995. pyrogram/raw/functions/messages/get_inline_bot_results.py +1 -1
  996. pyrogram/raw/functions/messages/get_inline_game_high_scores.py +1 -1
  997. pyrogram/raw/functions/messages/get_mask_stickers.py +1 -1
  998. pyrogram/raw/functions/messages/get_message_edit_data.py +1 -1
  999. pyrogram/raw/functions/messages/get_message_reactions_list.py +1 -1
  1000. pyrogram/raw/functions/messages/get_message_read_participants.py +1 -1
  1001. pyrogram/raw/functions/messages/get_messages.py +1 -1
  1002. pyrogram/raw/functions/messages/get_messages_reactions.py +1 -1
  1003. pyrogram/raw/functions/messages/get_messages_views.py +1 -1
  1004. pyrogram/raw/functions/messages/get_my_stickers.py +1 -1
  1005. pyrogram/raw/functions/messages/get_old_featured_stickers.py +1 -1
  1006. pyrogram/raw/functions/messages/get_onlines.py +1 -1
  1007. pyrogram/raw/functions/messages/get_outbox_read_date.py +1 -1
  1008. pyrogram/raw/functions/messages/get_paid_reaction_privacy.py +1 -1
  1009. pyrogram/raw/functions/messages/get_peer_dialogs.py +1 -1
  1010. pyrogram/raw/functions/messages/get_peer_settings.py +1 -1
  1011. pyrogram/raw/functions/messages/get_pinned_dialogs.py +1 -1
  1012. pyrogram/raw/functions/messages/get_pinned_saved_dialogs.py +1 -1
  1013. pyrogram/raw/functions/messages/get_poll_results.py +1 -1
  1014. pyrogram/raw/functions/messages/get_poll_votes.py +1 -1
  1015. pyrogram/raw/functions/messages/get_prepared_inline_message.py +1 -1
  1016. pyrogram/raw/functions/messages/get_quick_replies.py +1 -1
  1017. pyrogram/raw/functions/messages/get_quick_reply_messages.py +1 -1
  1018. pyrogram/raw/functions/messages/get_recent_locations.py +1 -1
  1019. pyrogram/raw/functions/messages/get_recent_reactions.py +1 -1
  1020. pyrogram/raw/functions/messages/get_recent_stickers.py +1 -1
  1021. pyrogram/raw/functions/messages/get_replies.py +1 -1
  1022. pyrogram/raw/functions/messages/get_saved_dialogs.py +1 -1
  1023. pyrogram/raw/functions/messages/get_saved_gifs.py +1 -1
  1024. pyrogram/raw/functions/messages/get_saved_history.py +1 -1
  1025. pyrogram/raw/functions/messages/get_saved_reaction_tags.py +1 -1
  1026. pyrogram/raw/functions/messages/get_scheduled_history.py +1 -1
  1027. pyrogram/raw/functions/messages/get_scheduled_messages.py +1 -1
  1028. pyrogram/raw/functions/messages/get_search_counters.py +1 -1
  1029. pyrogram/raw/functions/messages/get_search_results_calendar.py +1 -1
  1030. pyrogram/raw/functions/messages/get_search_results_positions.py +1 -1
  1031. pyrogram/raw/functions/messages/get_split_ranges.py +1 -1
  1032. pyrogram/raw/functions/messages/get_sponsored_messages.py +1 -1
  1033. pyrogram/raw/functions/messages/get_stats_url.py +1 -1
  1034. pyrogram/raw/functions/messages/get_sticker_set.py +1 -1
  1035. pyrogram/raw/functions/messages/get_stickers.py +1 -1
  1036. pyrogram/raw/functions/messages/get_suggested_dialog_filters.py +1 -1
  1037. pyrogram/raw/functions/messages/get_top_reactions.py +1 -1
  1038. pyrogram/raw/functions/messages/get_unread_mentions.py +1 -1
  1039. pyrogram/raw/functions/messages/get_unread_reactions.py +1 -1
  1040. pyrogram/raw/functions/messages/get_web_page.py +1 -1
  1041. pyrogram/raw/functions/messages/get_web_page_preview.py +4 -4
  1042. pyrogram/raw/functions/messages/get_web_view_result.py +1 -1
  1043. pyrogram/raw/functions/messages/hide_all_chat_join_requests.py +1 -1
  1044. pyrogram/raw/functions/messages/hide_chat_join_request.py +1 -1
  1045. pyrogram/raw/functions/messages/hide_peer_settings_bar.py +1 -1
  1046. pyrogram/raw/functions/messages/import_chat_invite.py +1 -1
  1047. pyrogram/raw/functions/messages/init_history_import.py +1 -1
  1048. pyrogram/raw/functions/messages/install_sticker_set.py +1 -1
  1049. pyrogram/raw/functions/messages/mark_dialog_unread.py +1 -1
  1050. pyrogram/raw/functions/messages/migrate_chat.py +1 -1
  1051. pyrogram/raw/functions/messages/prolong_web_view.py +1 -1
  1052. pyrogram/raw/functions/messages/rate_transcribed_audio.py +1 -1
  1053. pyrogram/raw/functions/messages/read_discussion.py +1 -1
  1054. pyrogram/raw/functions/messages/read_encrypted_history.py +1 -1
  1055. pyrogram/raw/functions/messages/read_featured_stickers.py +1 -1
  1056. pyrogram/raw/functions/messages/read_history.py +1 -1
  1057. pyrogram/raw/functions/messages/read_mentions.py +1 -1
  1058. pyrogram/raw/functions/messages/read_message_contents.py +1 -1
  1059. pyrogram/raw/functions/messages/read_reactions.py +1 -1
  1060. pyrogram/raw/functions/messages/received_messages.py +1 -1
  1061. pyrogram/raw/functions/messages/received_queue.py +1 -1
  1062. pyrogram/raw/functions/messages/reorder_pinned_dialogs.py +1 -1
  1063. pyrogram/raw/functions/messages/reorder_pinned_saved_dialogs.py +1 -1
  1064. pyrogram/raw/functions/messages/reorder_quick_replies.py +1 -1
  1065. pyrogram/raw/functions/messages/reorder_sticker_sets.py +1 -1
  1066. pyrogram/raw/functions/messages/report.py +1 -1
  1067. pyrogram/raw/functions/messages/report_encrypted_spam.py +1 -1
  1068. pyrogram/raw/functions/messages/report_messages_delivery.py +88 -0
  1069. pyrogram/raw/functions/messages/report_reaction.py +1 -1
  1070. pyrogram/raw/functions/messages/report_spam.py +1 -1
  1071. pyrogram/raw/functions/messages/report_sponsored_message.py +6 -14
  1072. pyrogram/raw/functions/messages/request_app_web_view.py +1 -1
  1073. pyrogram/raw/functions/messages/request_encryption.py +1 -1
  1074. pyrogram/raw/functions/messages/request_main_web_view.py +1 -1
  1075. pyrogram/raw/functions/messages/request_simple_web_view.py +1 -1
  1076. pyrogram/raw/functions/messages/request_url_auth.py +1 -1
  1077. pyrogram/raw/functions/messages/request_web_view.py +1 -1
  1078. pyrogram/raw/functions/messages/save_default_send_as.py +1 -1
  1079. pyrogram/raw/functions/messages/save_draft.py +1 -1
  1080. pyrogram/raw/functions/messages/save_gif.py +1 -1
  1081. pyrogram/raw/functions/messages/save_prepared_inline_message.py +1 -1
  1082. pyrogram/raw/functions/messages/save_recent_sticker.py +1 -1
  1083. pyrogram/raw/functions/messages/search.py +1 -1
  1084. pyrogram/raw/functions/messages/search_custom_emoji.py +1 -1
  1085. pyrogram/raw/functions/messages/search_emoji_sticker_sets.py +1 -1
  1086. pyrogram/raw/functions/messages/search_global.py +16 -4
  1087. pyrogram/raw/functions/messages/search_sent_media.py +1 -1
  1088. pyrogram/raw/functions/messages/search_sticker_sets.py +1 -1
  1089. pyrogram/raw/functions/messages/search_stickers.py +120 -0
  1090. pyrogram/raw/functions/messages/send_bot_requested_peer.py +1 -1
  1091. pyrogram/raw/functions/messages/send_encrypted.py +1 -1
  1092. pyrogram/raw/functions/messages/send_encrypted_file.py +1 -1
  1093. pyrogram/raw/functions/messages/send_encrypted_multi_media.py +1 -1
  1094. pyrogram/raw/functions/messages/send_encrypted_service.py +1 -1
  1095. pyrogram/raw/functions/messages/send_inline_bot_result.py +15 -6
  1096. pyrogram/raw/functions/messages/send_media.py +15 -6
  1097. pyrogram/raw/functions/messages/send_message.py +15 -6
  1098. pyrogram/raw/functions/messages/send_multi_media.py +15 -6
  1099. pyrogram/raw/functions/messages/send_paid_reaction.py +9 -8
  1100. pyrogram/raw/functions/messages/send_quick_reply_messages.py +1 -1
  1101. pyrogram/raw/functions/messages/send_reaction.py +1 -1
  1102. pyrogram/raw/functions/messages/send_scheduled_messages.py +1 -1
  1103. pyrogram/raw/functions/messages/send_screenshot_notification.py +1 -1
  1104. pyrogram/raw/functions/messages/send_vote.py +1 -1
  1105. pyrogram/raw/functions/messages/send_web_view_data.py +1 -1
  1106. pyrogram/raw/functions/messages/send_web_view_result_message.py +1 -1
  1107. pyrogram/raw/functions/messages/set_bot_callback_answer.py +1 -1
  1108. pyrogram/raw/functions/messages/set_bot_precheckout_results.py +1 -1
  1109. pyrogram/raw/functions/messages/set_bot_shipping_results.py +1 -1
  1110. pyrogram/raw/functions/messages/set_chat_available_reactions.py +1 -1
  1111. pyrogram/raw/functions/messages/set_chat_theme.py +1 -1
  1112. pyrogram/raw/functions/messages/set_chat_wall_paper.py +1 -1
  1113. pyrogram/raw/functions/messages/set_default_history_ttl.py +1 -1
  1114. pyrogram/raw/functions/messages/set_default_reaction.py +1 -1
  1115. pyrogram/raw/functions/messages/set_encrypted_typing.py +1 -1
  1116. pyrogram/raw/functions/messages/set_game_score.py +1 -1
  1117. pyrogram/raw/functions/messages/set_history_ttl.py +1 -1
  1118. pyrogram/raw/functions/messages/set_inline_bot_results.py +1 -1
  1119. pyrogram/raw/functions/messages/set_inline_game_score.py +1 -1
  1120. pyrogram/raw/functions/messages/set_typing.py +1 -1
  1121. pyrogram/raw/functions/messages/set_web_view_result.py +1 -1
  1122. pyrogram/raw/functions/messages/start_bot.py +1 -1
  1123. pyrogram/raw/functions/messages/start_history_import.py +1 -1
  1124. pyrogram/raw/functions/messages/toggle_bot_in_attach_menu.py +1 -1
  1125. pyrogram/raw/functions/messages/toggle_dialog_filter_tags.py +1 -1
  1126. pyrogram/raw/functions/messages/toggle_dialog_pin.py +1 -1
  1127. pyrogram/raw/functions/messages/toggle_no_forwards.py +1 -1
  1128. pyrogram/raw/functions/messages/toggle_paid_reaction_privacy.py +8 -8
  1129. pyrogram/raw/functions/messages/toggle_peer_translations.py +1 -1
  1130. pyrogram/raw/functions/messages/toggle_saved_dialog_pin.py +1 -1
  1131. pyrogram/raw/functions/messages/toggle_sticker_sets.py +1 -1
  1132. pyrogram/raw/functions/messages/transcribe_audio.py +1 -1
  1133. pyrogram/raw/functions/messages/translate_text.py +1 -1
  1134. pyrogram/raw/functions/messages/uninstall_sticker_set.py +1 -1
  1135. pyrogram/raw/functions/messages/unpin_all_messages.py +1 -1
  1136. pyrogram/raw/functions/messages/update_dialog_filter.py +1 -1
  1137. pyrogram/raw/functions/messages/update_dialog_filters_order.py +1 -1
  1138. pyrogram/raw/functions/messages/update_pinned_message.py +1 -1
  1139. pyrogram/raw/functions/messages/update_saved_reaction_tag.py +1 -1
  1140. pyrogram/raw/functions/messages/upload_encrypted_file.py +1 -1
  1141. pyrogram/raw/functions/messages/upload_imported_media.py +1 -1
  1142. pyrogram/raw/functions/messages/upload_media.py +1 -1
  1143. pyrogram/raw/functions/messages/view_sponsored_message.py +6 -14
  1144. pyrogram/raw/functions/payments/__init__.py +18 -3
  1145. pyrogram/raw/functions/payments/apply_gift_code.py +1 -1
  1146. pyrogram/raw/functions/payments/assign_app_store_transaction.py +1 -1
  1147. pyrogram/raw/functions/payments/assign_play_market_transaction.py +1 -1
  1148. pyrogram/raw/functions/payments/bot_cancel_stars_subscription.py +12 -22
  1149. pyrogram/raw/functions/payments/{can_purchase_premium.py → can_purchase_store.py} +7 -7
  1150. pyrogram/raw/functions/payments/change_stars_subscription.py +1 -1
  1151. pyrogram/raw/functions/payments/check_gift_code.py +1 -1
  1152. pyrogram/raw/functions/payments/clear_saved_info.py +1 -1
  1153. pyrogram/raw/functions/payments/connect_star_ref_bot.py +80 -0
  1154. pyrogram/raw/functions/payments/convert_star_gift.py +10 -18
  1155. pyrogram/raw/functions/payments/edit_connected_star_ref_bot.py +88 -0
  1156. pyrogram/raw/functions/payments/export_invoice.py +1 -1
  1157. pyrogram/raw/functions/payments/fulfill_stars_subscription.py +1 -1
  1158. pyrogram/raw/functions/payments/get_bank_card_data.py +1 -1
  1159. pyrogram/raw/functions/payments/get_connected_star_ref_bot.py +80 -0
  1160. pyrogram/raw/functions/payments/get_connected_star_ref_bots.py +100 -0
  1161. pyrogram/raw/functions/payments/get_giveaway_info.py +1 -1
  1162. pyrogram/raw/functions/payments/get_payment_form.py +1 -1
  1163. pyrogram/raw/functions/payments/get_payment_receipt.py +1 -1
  1164. pyrogram/raw/functions/payments/get_premium_gift_code_options.py +1 -1
  1165. pyrogram/raw/functions/payments/get_resale_star_gifts.py +121 -0
  1166. pyrogram/raw/functions/payments/get_saved_info.py +1 -1
  1167. pyrogram/raw/functions/payments/get_saved_star_gift.py +72 -0
  1168. pyrogram/raw/functions/payments/get_saved_star_gifts.py +126 -0
  1169. pyrogram/raw/functions/payments/get_star_gift_upgrade_preview.py +72 -0
  1170. pyrogram/raw/functions/payments/get_star_gift_withdrawal_url.py +80 -0
  1171. pyrogram/raw/functions/payments/get_star_gifts.py +1 -1
  1172. pyrogram/raw/functions/payments/get_stars_gift_options.py +1 -1
  1173. pyrogram/raw/functions/payments/get_stars_giveaway_options.py +1 -1
  1174. pyrogram/raw/functions/payments/get_stars_revenue_ads_account_url.py +1 -1
  1175. pyrogram/raw/functions/payments/get_stars_revenue_stats.py +1 -1
  1176. pyrogram/raw/functions/payments/get_stars_revenue_withdrawal_url.py +1 -1
  1177. pyrogram/raw/functions/payments/get_stars_status.py +1 -1
  1178. pyrogram/raw/functions/payments/get_stars_subscriptions.py +1 -1
  1179. pyrogram/raw/functions/payments/get_stars_topup_options.py +1 -1
  1180. pyrogram/raw/functions/payments/get_stars_transactions.py +1 -1
  1181. pyrogram/raw/functions/payments/get_stars_transactions_by_id.py +1 -1
  1182. pyrogram/raw/functions/payments/get_suggested_star_ref_bots.py +102 -0
  1183. pyrogram/raw/functions/payments/get_unique_star_gift.py +72 -0
  1184. pyrogram/raw/functions/payments/launch_prepaid_giveaway.py +1 -1
  1185. pyrogram/raw/functions/payments/refund_stars_charge.py +1 -1
  1186. pyrogram/raw/functions/payments/request_recurring_payment.py +1 -1
  1187. pyrogram/raw/functions/payments/save_star_gift.py +10 -18
  1188. pyrogram/raw/functions/payments/send_payment_form.py +1 -1
  1189. pyrogram/raw/functions/payments/send_stars_form.py +1 -1
  1190. pyrogram/raw/functions/payments/toggle_chat_star_gift_notifications.py +80 -0
  1191. pyrogram/raw/functions/payments/toggle_star_gifts_pinned_to_top.py +80 -0
  1192. pyrogram/raw/functions/payments/transfer_star_gift.py +80 -0
  1193. pyrogram/raw/functions/payments/update_star_gift_price.py +80 -0
  1194. pyrogram/raw/functions/payments/upgrade_star_gift.py +80 -0
  1195. pyrogram/raw/functions/payments/validate_requested_info.py +1 -1
  1196. pyrogram/raw/functions/phone/__init__.py +6 -0
  1197. pyrogram/raw/functions/phone/accept_call.py +1 -1
  1198. pyrogram/raw/functions/phone/check_group_call.py +1 -1
  1199. pyrogram/raw/functions/phone/confirm_call.py +1 -1
  1200. pyrogram/raw/functions/phone/create_conference_call.py +120 -0
  1201. pyrogram/raw/functions/phone/create_group_call.py +1 -1
  1202. pyrogram/raw/functions/{help/get_app_changelog.py → phone/decline_conference_call_invite.py} +13 -13
  1203. pyrogram/raw/functions/phone/delete_conference_call_participants.py +102 -0
  1204. pyrogram/raw/functions/phone/discard_call.py +1 -1
  1205. pyrogram/raw/functions/phone/discard_group_call.py +1 -1
  1206. pyrogram/raw/functions/phone/edit_group_call_participant.py +1 -1
  1207. pyrogram/raw/functions/phone/edit_group_call_title.py +1 -1
  1208. pyrogram/raw/functions/phone/export_group_call_invite.py +1 -1
  1209. pyrogram/raw/functions/phone/get_call_config.py +1 -1
  1210. pyrogram/raw/functions/phone/get_group_call.py +1 -1
  1211. pyrogram/raw/functions/phone/get_group_call_chain_blocks.py +96 -0
  1212. pyrogram/raw/functions/phone/get_group_call_join_as.py +1 -1
  1213. pyrogram/raw/functions/phone/get_group_call_stream_channels.py +1 -1
  1214. pyrogram/raw/functions/phone/get_group_call_stream_rtmp_url.py +1 -1
  1215. pyrogram/raw/functions/phone/get_group_participants.py +1 -1
  1216. pyrogram/raw/functions/phone/invite_conference_call_participant.py +88 -0
  1217. pyrogram/raw/functions/phone/invite_to_group_call.py +1 -1
  1218. pyrogram/raw/functions/phone/join_group_call.py +24 -6
  1219. pyrogram/raw/functions/phone/join_group_call_presentation.py +1 -1
  1220. pyrogram/raw/functions/phone/leave_group_call.py +1 -1
  1221. pyrogram/raw/functions/phone/leave_group_call_presentation.py +1 -1
  1222. pyrogram/raw/functions/phone/received_call.py +1 -1
  1223. pyrogram/raw/functions/phone/request_call.py +1 -1
  1224. pyrogram/raw/functions/phone/save_call_debug.py +1 -1
  1225. pyrogram/raw/functions/phone/save_call_log.py +1 -1
  1226. pyrogram/raw/functions/phone/save_default_group_call_join_as.py +1 -1
  1227. pyrogram/raw/functions/phone/send_conference_call_broadcast.py +80 -0
  1228. pyrogram/raw/functions/phone/send_signaling_data.py +1 -1
  1229. pyrogram/raw/functions/phone/set_call_rating.py +1 -1
  1230. pyrogram/raw/functions/phone/start_scheduled_group_call.py +1 -1
  1231. pyrogram/raw/functions/phone/toggle_group_call_record.py +1 -1
  1232. pyrogram/raw/functions/phone/toggle_group_call_settings.py +1 -1
  1233. pyrogram/raw/functions/phone/toggle_group_call_start_subscription.py +1 -1
  1234. pyrogram/raw/functions/photos/delete_photos.py +1 -1
  1235. pyrogram/raw/functions/photos/get_user_photos.py +1 -1
  1236. pyrogram/raw/functions/photos/update_profile_photo.py +1 -1
  1237. pyrogram/raw/functions/photos/upload_contact_profile_photo.py +1 -1
  1238. pyrogram/raw/functions/photos/upload_profile_photo.py +1 -1
  1239. pyrogram/raw/functions/ping.py +1 -1
  1240. pyrogram/raw/functions/ping_delay_disconnect.py +1 -1
  1241. pyrogram/raw/functions/premium/apply_boost.py +1 -1
  1242. pyrogram/raw/functions/premium/get_boosts_list.py +1 -1
  1243. pyrogram/raw/functions/premium/get_boosts_status.py +1 -1
  1244. pyrogram/raw/functions/premium/get_my_boosts.py +1 -1
  1245. pyrogram/raw/functions/premium/get_user_boosts.py +1 -1
  1246. pyrogram/raw/functions/req_dh_params.py +1 -1
  1247. pyrogram/raw/functions/req_pq.py +1 -1
  1248. pyrogram/raw/functions/req_pq_multi.py +1 -1
  1249. pyrogram/raw/functions/rpc_drop_answer.py +1 -1
  1250. pyrogram/raw/functions/set_client_dh_params.py +1 -1
  1251. pyrogram/raw/functions/smsjobs/finish_job.py +1 -1
  1252. pyrogram/raw/functions/smsjobs/get_sms_job.py +1 -1
  1253. pyrogram/raw/functions/smsjobs/get_status.py +1 -1
  1254. pyrogram/raw/functions/smsjobs/is_eligible_to_join.py +1 -1
  1255. pyrogram/raw/functions/smsjobs/join.py +1 -1
  1256. pyrogram/raw/functions/smsjobs/leave.py +1 -1
  1257. pyrogram/raw/functions/smsjobs/update_settings.py +1 -1
  1258. pyrogram/raw/functions/stats/get_broadcast_revenue_stats.py +1 -1
  1259. pyrogram/raw/functions/stats/get_broadcast_revenue_transactions.py +1 -1
  1260. pyrogram/raw/functions/stats/get_broadcast_revenue_withdrawal_url.py +1 -1
  1261. pyrogram/raw/functions/stats/get_broadcast_stats.py +1 -1
  1262. pyrogram/raw/functions/stats/get_megagroup_stats.py +1 -1
  1263. pyrogram/raw/functions/stats/get_message_public_forwards.py +1 -1
  1264. pyrogram/raw/functions/stats/get_message_stats.py +1 -1
  1265. pyrogram/raw/functions/stats/get_story_public_forwards.py +1 -1
  1266. pyrogram/raw/functions/stats/get_story_stats.py +1 -1
  1267. pyrogram/raw/functions/stats/load_async_graph.py +1 -1
  1268. pyrogram/raw/functions/stickers/add_sticker_to_set.py +1 -1
  1269. pyrogram/raw/functions/stickers/change_sticker.py +1 -1
  1270. pyrogram/raw/functions/stickers/change_sticker_position.py +1 -1
  1271. pyrogram/raw/functions/stickers/check_short_name.py +1 -1
  1272. pyrogram/raw/functions/stickers/create_sticker_set.py +1 -1
  1273. pyrogram/raw/functions/stickers/delete_sticker_set.py +1 -1
  1274. pyrogram/raw/functions/stickers/remove_sticker_from_set.py +1 -1
  1275. pyrogram/raw/functions/stickers/rename_sticker_set.py +1 -1
  1276. pyrogram/raw/functions/stickers/replace_sticker.py +1 -1
  1277. pyrogram/raw/functions/stickers/set_sticker_set_thumb.py +1 -1
  1278. pyrogram/raw/functions/stickers/suggest_short_name.py +1 -1
  1279. pyrogram/raw/functions/stories/activate_stealth_mode.py +1 -1
  1280. pyrogram/raw/functions/stories/can_send_story.py +4 -4
  1281. pyrogram/raw/functions/stories/delete_stories.py +1 -1
  1282. pyrogram/raw/functions/stories/edit_story.py +1 -1
  1283. pyrogram/raw/functions/stories/export_story_link.py +1 -1
  1284. pyrogram/raw/functions/stories/get_all_read_peer_stories.py +1 -1
  1285. pyrogram/raw/functions/stories/get_all_stories.py +1 -1
  1286. pyrogram/raw/functions/stories/get_chats_to_send.py +1 -1
  1287. pyrogram/raw/functions/stories/get_peer_max_i_ds.py +1 -1
  1288. pyrogram/raw/functions/stories/get_peer_stories.py +1 -1
  1289. pyrogram/raw/functions/stories/get_pinned_stories.py +1 -1
  1290. pyrogram/raw/functions/stories/get_stories_archive.py +1 -1
  1291. pyrogram/raw/functions/stories/get_stories_by_id.py +1 -1
  1292. pyrogram/raw/functions/stories/get_stories_views.py +1 -1
  1293. pyrogram/raw/functions/stories/get_story_reactions_list.py +1 -1
  1294. pyrogram/raw/functions/stories/get_story_views_list.py +1 -1
  1295. pyrogram/raw/functions/stories/increment_story_views.py +1 -1
  1296. pyrogram/raw/functions/stories/read_stories.py +1 -1
  1297. pyrogram/raw/functions/stories/report.py +1 -1
  1298. pyrogram/raw/functions/stories/search_posts.py +1 -1
  1299. pyrogram/raw/functions/stories/send_reaction.py +1 -1
  1300. pyrogram/raw/functions/stories/send_story.py +1 -1
  1301. pyrogram/raw/functions/stories/toggle_all_stories_hidden.py +1 -1
  1302. pyrogram/raw/functions/stories/toggle_peer_stories_hidden.py +1 -1
  1303. pyrogram/raw/functions/stories/toggle_pinned.py +1 -1
  1304. pyrogram/raw/functions/stories/toggle_pinned_to_top.py +1 -1
  1305. pyrogram/raw/functions/updates/get_channel_difference.py +1 -1
  1306. pyrogram/raw/functions/updates/get_difference.py +1 -1
  1307. pyrogram/raw/functions/updates/get_state.py +1 -1
  1308. pyrogram/raw/functions/upload/get_cdn_file.py +1 -1
  1309. pyrogram/raw/functions/upload/get_cdn_file_hashes.py +1 -1
  1310. pyrogram/raw/functions/upload/get_file.py +1 -1
  1311. pyrogram/raw/functions/upload/get_file_hashes.py +1 -1
  1312. pyrogram/raw/functions/upload/get_web_file.py +1 -1
  1313. pyrogram/raw/functions/upload/reupload_cdn_file.py +1 -1
  1314. pyrogram/raw/functions/upload/save_big_file_part.py +1 -1
  1315. pyrogram/raw/functions/upload/save_file_part.py +1 -1
  1316. pyrogram/raw/functions/users/__init__.py +1 -1
  1317. pyrogram/raw/functions/users/get_full_user.py +1 -1
  1318. pyrogram/raw/functions/users/{get_is_premium_required_to_contact.py → get_requirements_to_contact.py} +8 -8
  1319. pyrogram/raw/functions/users/get_users.py +1 -1
  1320. pyrogram/raw/functions/users/set_secure_value_errors.py +1 -1
  1321. pyrogram/raw/types/__init__.py +51 -12
  1322. pyrogram/raw/types/access_point_rule.py +1 -1
  1323. pyrogram/raw/types/account/__init__.py +1 -0
  1324. pyrogram/raw/types/account/authorization_form.py +1 -1
  1325. pyrogram/raw/types/account/authorizations.py +1 -1
  1326. pyrogram/raw/types/account/auto_download_settings.py +1 -1
  1327. pyrogram/raw/types/account/auto_save_settings.py +1 -1
  1328. pyrogram/raw/types/account/business_chat_links.py +1 -1
  1329. pyrogram/raw/types/account/connected_bots.py +1 -1
  1330. pyrogram/raw/types/account/content_settings.py +1 -1
  1331. pyrogram/raw/types/account/email_verified.py +1 -1
  1332. pyrogram/raw/types/account/email_verified_login.py +1 -1
  1333. pyrogram/raw/types/account/emoji_statuses.py +3 -2
  1334. pyrogram/raw/types/account/emoji_statuses_not_modified.py +3 -2
  1335. pyrogram/raw/types/account/paid_messages_revenue.py +81 -0
  1336. pyrogram/raw/types/account/password.py +1 -1
  1337. pyrogram/raw/types/account/password_input_settings.py +1 -1
  1338. pyrogram/raw/types/account/password_settings.py +1 -1
  1339. pyrogram/raw/types/account/privacy_rules.py +1 -1
  1340. pyrogram/raw/types/account/reset_password_failed_wait.py +1 -1
  1341. pyrogram/raw/types/account/reset_password_ok.py +1 -1
  1342. pyrogram/raw/types/account/reset_password_requested_wait.py +1 -1
  1343. pyrogram/raw/types/account/resolved_business_chat_links.py +1 -1
  1344. pyrogram/raw/types/account/saved_ringtone.py +1 -1
  1345. pyrogram/raw/types/account/saved_ringtone_converted.py +1 -1
  1346. pyrogram/raw/types/account/saved_ringtones.py +1 -1
  1347. pyrogram/raw/types/account/saved_ringtones_not_modified.py +1 -1
  1348. pyrogram/raw/types/account/sent_email_code.py +1 -1
  1349. pyrogram/raw/types/account/takeout.py +1 -1
  1350. pyrogram/raw/types/account/themes.py +1 -1
  1351. pyrogram/raw/types/account/themes_not_modified.py +1 -1
  1352. pyrogram/raw/types/account/tmp_password.py +1 -1
  1353. pyrogram/raw/types/account/wall_papers.py +1 -1
  1354. pyrogram/raw/types/account/wall_papers_not_modified.py +1 -1
  1355. pyrogram/raw/types/account/web_authorizations.py +1 -1
  1356. pyrogram/raw/types/account_days_ttl.py +1 -1
  1357. pyrogram/raw/types/attach_menu_bot.py +1 -1
  1358. pyrogram/raw/types/attach_menu_bot_icon.py +1 -1
  1359. pyrogram/raw/types/attach_menu_bot_icon_color.py +1 -1
  1360. pyrogram/raw/types/attach_menu_bots.py +1 -1
  1361. pyrogram/raw/types/attach_menu_bots_bot.py +1 -1
  1362. pyrogram/raw/types/attach_menu_bots_not_modified.py +1 -1
  1363. pyrogram/raw/types/attach_menu_peer_type_bot_pm.py +1 -1
  1364. pyrogram/raw/types/attach_menu_peer_type_broadcast.py +1 -1
  1365. pyrogram/raw/types/attach_menu_peer_type_chat.py +1 -1
  1366. pyrogram/raw/types/attach_menu_peer_type_pm.py +1 -1
  1367. pyrogram/raw/types/attach_menu_peer_type_same_bot_pm.py +1 -1
  1368. pyrogram/raw/types/auth/__init__.py +1 -0
  1369. pyrogram/raw/types/auth/authorization.py +1 -1
  1370. pyrogram/raw/types/auth/authorization_sign_up_required.py +1 -1
  1371. pyrogram/raw/types/auth/code_type_call.py +1 -1
  1372. pyrogram/raw/types/auth/code_type_flash_call.py +1 -1
  1373. pyrogram/raw/types/auth/code_type_fragment_sms.py +1 -1
  1374. pyrogram/raw/types/auth/code_type_missed_call.py +1 -1
  1375. pyrogram/raw/types/auth/code_type_sms.py +1 -1
  1376. pyrogram/raw/types/auth/exported_authorization.py +1 -1
  1377. pyrogram/raw/types/auth/logged_out.py +1 -1
  1378. pyrogram/raw/types/auth/login_token.py +1 -1
  1379. pyrogram/raw/types/auth/login_token_migrate_to.py +1 -1
  1380. pyrogram/raw/types/auth/login_token_success.py +1 -1
  1381. pyrogram/raw/types/auth/password_recovery.py +1 -1
  1382. pyrogram/raw/types/auth/sent_code.py +1 -1
  1383. pyrogram/raw/types/auth/sent_code_payment_required.py +94 -0
  1384. pyrogram/raw/types/auth/sent_code_success.py +1 -1
  1385. pyrogram/raw/types/auth/sent_code_type_app.py +1 -1
  1386. pyrogram/raw/types/auth/sent_code_type_call.py +1 -1
  1387. pyrogram/raw/types/auth/sent_code_type_email_code.py +1 -1
  1388. pyrogram/raw/types/auth/sent_code_type_firebase_sms.py +1 -1
  1389. pyrogram/raw/types/auth/sent_code_type_flash_call.py +1 -1
  1390. pyrogram/raw/types/auth/sent_code_type_fragment_sms.py +1 -1
  1391. pyrogram/raw/types/auth/sent_code_type_missed_call.py +1 -1
  1392. pyrogram/raw/types/auth/sent_code_type_set_up_email_required.py +1 -1
  1393. pyrogram/raw/types/auth/sent_code_type_sms.py +1 -1
  1394. pyrogram/raw/types/auth/sent_code_type_sms_phrase.py +1 -1
  1395. pyrogram/raw/types/auth/sent_code_type_sms_word.py +1 -1
  1396. pyrogram/raw/types/authorization.py +1 -1
  1397. pyrogram/raw/types/auto_download_settings.py +1 -1
  1398. pyrogram/raw/types/auto_save_exception.py +1 -1
  1399. pyrogram/raw/types/auto_save_settings.py +1 -1
  1400. pyrogram/raw/types/available_effect.py +1 -1
  1401. pyrogram/raw/types/available_reaction.py +1 -1
  1402. pyrogram/raw/types/bad_msg_notification.py +1 -1
  1403. pyrogram/raw/types/bad_server_salt.py +1 -1
  1404. pyrogram/raw/types/bank_card_open_url.py +1 -1
  1405. pyrogram/raw/types/base_theme_arctic.py +1 -1
  1406. pyrogram/raw/types/base_theme_classic.py +1 -1
  1407. pyrogram/raw/types/base_theme_day.py +1 -1
  1408. pyrogram/raw/types/base_theme_night.py +1 -1
  1409. pyrogram/raw/types/base_theme_tinted.py +1 -1
  1410. pyrogram/raw/types/bind_auth_key_inner.py +1 -1
  1411. pyrogram/raw/types/birthday.py +1 -1
  1412. pyrogram/raw/types/boost.py +1 -1
  1413. pyrogram/raw/types/bot_app.py +1 -1
  1414. pyrogram/raw/types/bot_app_not_modified.py +1 -1
  1415. pyrogram/raw/types/bot_app_settings.py +1 -1
  1416. pyrogram/raw/types/bot_business_connection.py +15 -11
  1417. pyrogram/raw/types/bot_command.py +1 -1
  1418. pyrogram/raw/types/bot_command_scope_chat_admins.py +1 -1
  1419. pyrogram/raw/types/bot_command_scope_chats.py +1 -1
  1420. pyrogram/raw/types/bot_command_scope_default.py +1 -1
  1421. pyrogram/raw/types/bot_command_scope_peer.py +1 -1
  1422. pyrogram/raw/types/bot_command_scope_peer_admins.py +1 -1
  1423. pyrogram/raw/types/bot_command_scope_peer_user.py +1 -1
  1424. pyrogram/raw/types/bot_command_scope_users.py +1 -1
  1425. pyrogram/raw/types/bot_info.py +16 -6
  1426. pyrogram/raw/types/bot_inline_media_result.py +1 -1
  1427. pyrogram/raw/types/bot_inline_message_media_auto.py +1 -1
  1428. pyrogram/raw/types/bot_inline_message_media_contact.py +1 -1
  1429. pyrogram/raw/types/bot_inline_message_media_geo.py +1 -1
  1430. pyrogram/raw/types/bot_inline_message_media_invoice.py +1 -1
  1431. pyrogram/raw/types/bot_inline_message_media_venue.py +1 -1
  1432. pyrogram/raw/types/bot_inline_message_media_web_page.py +1 -1
  1433. pyrogram/raw/types/bot_inline_message_text.py +1 -1
  1434. pyrogram/raw/types/bot_inline_result.py +1 -1
  1435. pyrogram/raw/types/bot_menu_button.py +1 -1
  1436. pyrogram/raw/types/bot_menu_button_commands.py +1 -1
  1437. pyrogram/raw/types/bot_menu_button_default.py +1 -1
  1438. pyrogram/raw/types/bot_preview_media.py +1 -1
  1439. pyrogram/raw/types/{file_location_unavailable.py → bot_verification.py} +22 -22
  1440. pyrogram/raw/types/bot_verifier_settings.py +97 -0
  1441. pyrogram/raw/types/bots/bot_info.py +1 -1
  1442. pyrogram/raw/types/bots/popular_app_bots.py +1 -1
  1443. pyrogram/raw/types/bots/preview_info.py +1 -1
  1444. pyrogram/raw/types/broadcast_revenue_balances.py +1 -1
  1445. pyrogram/raw/types/broadcast_revenue_transaction_proceeds.py +1 -1
  1446. pyrogram/raw/types/broadcast_revenue_transaction_refund.py +1 -1
  1447. pyrogram/raw/types/broadcast_revenue_transaction_withdrawal.py +1 -1
  1448. pyrogram/raw/types/business_away_message.py +1 -1
  1449. pyrogram/raw/types/business_away_message_schedule_always.py +1 -1
  1450. pyrogram/raw/types/business_away_message_schedule_custom.py +1 -1
  1451. pyrogram/raw/types/business_away_message_schedule_outside_work_hours.py +1 -1
  1452. pyrogram/raw/types/business_bot_recipients.py +1 -1
  1453. pyrogram/raw/types/business_bot_rights.py +150 -0
  1454. pyrogram/raw/types/business_chat_link.py +1 -1
  1455. pyrogram/raw/types/business_greeting_message.py +1 -1
  1456. pyrogram/raw/types/business_intro.py +1 -1
  1457. pyrogram/raw/types/business_location.py +1 -1
  1458. pyrogram/raw/types/business_recipients.py +1 -1
  1459. pyrogram/raw/types/business_weekly_open.py +1 -1
  1460. pyrogram/raw/types/business_work_hours.py +1 -1
  1461. pyrogram/raw/types/cdn_config.py +1 -1
  1462. pyrogram/raw/types/cdn_public_key.py +1 -1
  1463. pyrogram/raw/types/channel.py +30 -6
  1464. pyrogram/raw/types/channel_admin_log_event.py +1 -1
  1465. pyrogram/raw/types/channel_admin_log_event_action_change_about.py +1 -1
  1466. pyrogram/raw/types/channel_admin_log_event_action_change_available_reactions.py +1 -1
  1467. pyrogram/raw/types/channel_admin_log_event_action_change_emoji_status.py +1 -1
  1468. pyrogram/raw/types/channel_admin_log_event_action_change_emoji_sticker_set.py +1 -1
  1469. pyrogram/raw/types/channel_admin_log_event_action_change_history_ttl.py +1 -1
  1470. pyrogram/raw/types/channel_admin_log_event_action_change_linked_chat.py +1 -1
  1471. pyrogram/raw/types/channel_admin_log_event_action_change_location.py +1 -1
  1472. pyrogram/raw/types/channel_admin_log_event_action_change_peer_color.py +1 -1
  1473. pyrogram/raw/types/channel_admin_log_event_action_change_photo.py +1 -1
  1474. pyrogram/raw/types/channel_admin_log_event_action_change_profile_peer_color.py +1 -1
  1475. pyrogram/raw/types/channel_admin_log_event_action_change_sticker_set.py +1 -1
  1476. pyrogram/raw/types/channel_admin_log_event_action_change_theme.py +1 -1
  1477. pyrogram/raw/types/channel_admin_log_event_action_change_title.py +1 -1
  1478. pyrogram/raw/types/channel_admin_log_event_action_change_username.py +1 -1
  1479. pyrogram/raw/types/channel_admin_log_event_action_change_usernames.py +1 -1
  1480. pyrogram/raw/types/channel_admin_log_event_action_change_wallpaper.py +1 -1
  1481. pyrogram/raw/types/channel_admin_log_event_action_create_topic.py +1 -1
  1482. pyrogram/raw/types/channel_admin_log_event_action_default_banned_rights.py +1 -1
  1483. pyrogram/raw/types/channel_admin_log_event_action_delete_message.py +1 -1
  1484. pyrogram/raw/types/channel_admin_log_event_action_delete_topic.py +1 -1
  1485. pyrogram/raw/types/channel_admin_log_event_action_discard_group_call.py +1 -1
  1486. pyrogram/raw/types/channel_admin_log_event_action_edit_message.py +1 -1
  1487. pyrogram/raw/types/channel_admin_log_event_action_edit_topic.py +1 -1
  1488. pyrogram/raw/types/channel_admin_log_event_action_exported_invite_delete.py +1 -1
  1489. pyrogram/raw/types/channel_admin_log_event_action_exported_invite_edit.py +1 -1
  1490. pyrogram/raw/types/channel_admin_log_event_action_exported_invite_revoke.py +1 -1
  1491. pyrogram/raw/types/channel_admin_log_event_action_participant_invite.py +1 -1
  1492. pyrogram/raw/types/channel_admin_log_event_action_participant_join.py +1 -1
  1493. pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_invite.py +1 -1
  1494. pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_request.py +1 -1
  1495. pyrogram/raw/types/channel_admin_log_event_action_participant_leave.py +1 -1
  1496. pyrogram/raw/types/channel_admin_log_event_action_participant_mute.py +1 -1
  1497. pyrogram/raw/types/channel_admin_log_event_action_participant_sub_extend.py +1 -1
  1498. pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_admin.py +1 -1
  1499. pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_ban.py +1 -1
  1500. pyrogram/raw/types/channel_admin_log_event_action_participant_unmute.py +1 -1
  1501. pyrogram/raw/types/channel_admin_log_event_action_participant_volume.py +1 -1
  1502. pyrogram/raw/types/channel_admin_log_event_action_pin_topic.py +1 -1
  1503. pyrogram/raw/types/channel_admin_log_event_action_send_message.py +1 -1
  1504. pyrogram/raw/types/channel_admin_log_event_action_start_group_call.py +1 -1
  1505. pyrogram/raw/types/channel_admin_log_event_action_stop_poll.py +1 -1
  1506. pyrogram/raw/types/channel_admin_log_event_action_toggle_anti_spam.py +1 -1
  1507. pyrogram/raw/types/{channel_admin_log_event_action_change_color.py → channel_admin_log_event_action_toggle_autotranslation.py} +13 -21
  1508. pyrogram/raw/types/channel_admin_log_event_action_toggle_forum.py +1 -1
  1509. pyrogram/raw/types/channel_admin_log_event_action_toggle_group_call_setting.py +1 -1
  1510. pyrogram/raw/types/channel_admin_log_event_action_toggle_invites.py +1 -1
  1511. pyrogram/raw/types/channel_admin_log_event_action_toggle_no_forwards.py +1 -1
  1512. pyrogram/raw/types/channel_admin_log_event_action_toggle_pre_history_hidden.py +1 -1
  1513. pyrogram/raw/types/channel_admin_log_event_action_toggle_signature_profiles.py +1 -1
  1514. pyrogram/raw/types/channel_admin_log_event_action_toggle_signatures.py +1 -1
  1515. pyrogram/raw/types/channel_admin_log_event_action_toggle_slow_mode.py +1 -1
  1516. pyrogram/raw/types/channel_admin_log_event_action_update_pinned.py +1 -1
  1517. pyrogram/raw/types/channel_admin_log_events_filter.py +1 -1
  1518. pyrogram/raw/types/channel_forbidden.py +1 -1
  1519. pyrogram/raw/types/channel_full.py +37 -6
  1520. pyrogram/raw/types/channel_location.py +1 -1
  1521. pyrogram/raw/types/channel_location_empty.py +1 -1
  1522. pyrogram/raw/types/channel_messages_filter.py +1 -1
  1523. pyrogram/raw/types/channel_messages_filter_empty.py +1 -1
  1524. pyrogram/raw/types/channel_participant.py +1 -1
  1525. pyrogram/raw/types/channel_participant_admin.py +1 -1
  1526. pyrogram/raw/types/channel_participant_banned.py +1 -1
  1527. pyrogram/raw/types/channel_participant_creator.py +1 -1
  1528. pyrogram/raw/types/channel_participant_left.py +1 -1
  1529. pyrogram/raw/types/channel_participant_self.py +1 -1
  1530. pyrogram/raw/types/channel_participants_admins.py +1 -1
  1531. pyrogram/raw/types/channel_participants_banned.py +1 -1
  1532. pyrogram/raw/types/channel_participants_bots.py +1 -1
  1533. pyrogram/raw/types/channel_participants_contacts.py +1 -1
  1534. pyrogram/raw/types/channel_participants_kicked.py +1 -1
  1535. pyrogram/raw/types/channel_participants_mentions.py +1 -1
  1536. pyrogram/raw/types/channel_participants_recent.py +1 -1
  1537. pyrogram/raw/types/channel_participants_search.py +1 -1
  1538. pyrogram/raw/types/channels/admin_log_results.py +1 -1
  1539. pyrogram/raw/types/channels/channel_participant.py +1 -1
  1540. pyrogram/raw/types/channels/channel_participants.py +1 -1
  1541. pyrogram/raw/types/channels/channel_participants_not_modified.py +1 -1
  1542. pyrogram/raw/types/channels/send_as_peers.py +1 -1
  1543. pyrogram/raw/types/channels/sponsored_message_report_result_ads_hidden.py +1 -1
  1544. pyrogram/raw/types/channels/sponsored_message_report_result_choose_option.py +1 -1
  1545. pyrogram/raw/types/channels/sponsored_message_report_result_reported.py +1 -1
  1546. pyrogram/raw/types/chat.py +1 -1
  1547. pyrogram/raw/types/chat_admin_rights.py +1 -1
  1548. pyrogram/raw/types/chat_admin_with_invites.py +1 -1
  1549. pyrogram/raw/types/chat_banned_rights.py +1 -1
  1550. pyrogram/raw/types/chat_empty.py +1 -1
  1551. pyrogram/raw/types/chat_forbidden.py +1 -1
  1552. pyrogram/raw/types/chat_full.py +1 -1
  1553. pyrogram/raw/types/chat_invite.py +16 -6
  1554. pyrogram/raw/types/chat_invite_already.py +1 -1
  1555. pyrogram/raw/types/chat_invite_exported.py +1 -1
  1556. pyrogram/raw/types/chat_invite_importer.py +1 -1
  1557. pyrogram/raw/types/chat_invite_peek.py +1 -1
  1558. pyrogram/raw/types/chat_invite_public_join_requests.py +1 -1
  1559. pyrogram/raw/types/chat_onlines.py +1 -1
  1560. pyrogram/raw/types/chat_participant.py +1 -1
  1561. pyrogram/raw/types/chat_participant_admin.py +1 -1
  1562. pyrogram/raw/types/chat_participant_creator.py +1 -1
  1563. pyrogram/raw/types/chat_participants.py +1 -1
  1564. pyrogram/raw/types/chat_participants_forbidden.py +1 -1
  1565. pyrogram/raw/types/chat_photo.py +1 -1
  1566. pyrogram/raw/types/chat_photo_empty.py +1 -1
  1567. pyrogram/raw/types/chat_reactions_all.py +1 -1
  1568. pyrogram/raw/types/chat_reactions_none.py +1 -1
  1569. pyrogram/raw/types/chat_reactions_some.py +1 -1
  1570. pyrogram/raw/types/chatlists/chatlist_invite.py +16 -10
  1571. pyrogram/raw/types/chatlists/chatlist_invite_already.py +1 -1
  1572. pyrogram/raw/types/chatlists/chatlist_updates.py +1 -1
  1573. pyrogram/raw/types/chatlists/exported_chatlist_invite.py +1 -1
  1574. pyrogram/raw/types/chatlists/exported_invites.py +1 -1
  1575. pyrogram/raw/types/client_dh_inner_data.py +1 -1
  1576. pyrogram/raw/types/code_settings.py +1 -1
  1577. pyrogram/raw/types/config.py +1 -1
  1578. pyrogram/raw/types/connected_bot.py +13 -10
  1579. pyrogram/raw/types/connected_bot_star_ref.py +129 -0
  1580. pyrogram/raw/types/contact.py +1 -1
  1581. pyrogram/raw/types/contact_birthday.py +1 -1
  1582. pyrogram/raw/types/contact_status.py +1 -1
  1583. pyrogram/raw/types/contacts/__init__.py +2 -0
  1584. pyrogram/raw/types/contacts/blocked.py +1 -1
  1585. pyrogram/raw/types/contacts/blocked_slice.py +1 -1
  1586. pyrogram/raw/types/contacts/contact_birthdays.py +1 -1
  1587. pyrogram/raw/types/contacts/contacts.py +1 -1
  1588. pyrogram/raw/types/contacts/contacts_not_modified.py +1 -1
  1589. pyrogram/raw/types/contacts/found.py +1 -1
  1590. pyrogram/raw/types/contacts/imported_contacts.py +1 -1
  1591. pyrogram/raw/types/contacts/resolved_peer.py +1 -1
  1592. pyrogram/raw/types/contacts/sponsored_peers.py +97 -0
  1593. pyrogram/raw/types/contacts/sponsored_peers_empty.py +76 -0
  1594. pyrogram/raw/types/contacts/top_peers.py +1 -1
  1595. pyrogram/raw/types/contacts/top_peers_disabled.py +1 -1
  1596. pyrogram/raw/types/contacts/top_peers_not_modified.py +1 -1
  1597. pyrogram/raw/types/data_json.py +1 -1
  1598. pyrogram/raw/types/dc_option.py +1 -1
  1599. pyrogram/raw/types/default_history_ttl.py +1 -1
  1600. pyrogram/raw/types/destroy_auth_key_fail.py +1 -1
  1601. pyrogram/raw/types/destroy_auth_key_none.py +1 -1
  1602. pyrogram/raw/types/destroy_auth_key_ok.py +1 -1
  1603. pyrogram/raw/types/destroy_session_none.py +1 -1
  1604. pyrogram/raw/types/destroy_session_ok.py +1 -1
  1605. pyrogram/raw/types/dh_gen_fail.py +1 -1
  1606. pyrogram/raw/types/dh_gen_ok.py +1 -1
  1607. pyrogram/raw/types/dh_gen_retry.py +1 -1
  1608. pyrogram/raw/types/dialog.py +1 -1
  1609. pyrogram/raw/types/dialog_filter.py +16 -10
  1610. pyrogram/raw/types/dialog_filter_chatlist.py +16 -10
  1611. pyrogram/raw/types/dialog_filter_default.py +1 -1
  1612. pyrogram/raw/types/dialog_filter_suggested.py +1 -1
  1613. pyrogram/raw/types/dialog_folder.py +1 -1
  1614. pyrogram/raw/types/dialog_peer.py +1 -1
  1615. pyrogram/raw/types/dialog_peer_folder.py +1 -1
  1616. pyrogram/raw/types/disallowed_gifts_settings.py +90 -0
  1617. pyrogram/raw/types/document.py +1 -1
  1618. pyrogram/raw/types/document_attribute_animated.py +1 -1
  1619. pyrogram/raw/types/document_attribute_audio.py +1 -1
  1620. pyrogram/raw/types/document_attribute_custom_emoji.py +1 -1
  1621. pyrogram/raw/types/document_attribute_filename.py +1 -1
  1622. pyrogram/raw/types/document_attribute_has_stickers.py +1 -1
  1623. pyrogram/raw/types/document_attribute_image_size.py +1 -1
  1624. pyrogram/raw/types/document_attribute_sticker.py +1 -1
  1625. pyrogram/raw/types/document_attribute_video.py +1 -1
  1626. pyrogram/raw/types/document_empty.py +1 -1
  1627. pyrogram/raw/types/draft_message.py +1 -1
  1628. pyrogram/raw/types/draft_message_empty.py +1 -1
  1629. pyrogram/raw/types/email_verification_apple.py +1 -1
  1630. pyrogram/raw/types/email_verification_code.py +1 -1
  1631. pyrogram/raw/types/email_verification_google.py +1 -1
  1632. pyrogram/raw/types/email_verify_purpose_login_change.py +1 -1
  1633. pyrogram/raw/types/email_verify_purpose_login_setup.py +1 -1
  1634. pyrogram/raw/types/email_verify_purpose_passport.py +1 -1
  1635. pyrogram/raw/types/emoji_group.py +1 -1
  1636. pyrogram/raw/types/emoji_group_greeting.py +1 -1
  1637. pyrogram/raw/types/emoji_group_premium.py +1 -1
  1638. pyrogram/raw/types/emoji_keyword.py +1 -1
  1639. pyrogram/raw/types/emoji_keyword_deleted.py +1 -1
  1640. pyrogram/raw/types/emoji_keywords_difference.py +1 -1
  1641. pyrogram/raw/types/emoji_language.py +1 -1
  1642. pyrogram/raw/types/emoji_list.py +1 -1
  1643. pyrogram/raw/types/emoji_list_not_modified.py +1 -1
  1644. pyrogram/raw/types/emoji_status.py +19 -8
  1645. pyrogram/raw/types/emoji_status_collectible.py +147 -0
  1646. pyrogram/raw/types/emoji_status_empty.py +1 -1
  1647. pyrogram/raw/types/emoji_url.py +1 -1
  1648. pyrogram/raw/types/encrypted_chat.py +1 -1
  1649. pyrogram/raw/types/encrypted_chat_discarded.py +1 -1
  1650. pyrogram/raw/types/encrypted_chat_empty.py +1 -1
  1651. pyrogram/raw/types/encrypted_chat_requested.py +1 -1
  1652. pyrogram/raw/types/encrypted_chat_waiting.py +1 -1
  1653. pyrogram/raw/types/encrypted_file.py +1 -1
  1654. pyrogram/raw/types/encrypted_file_empty.py +1 -1
  1655. pyrogram/raw/types/encrypted_message.py +1 -1
  1656. pyrogram/raw/types/encrypted_message_service.py +1 -1
  1657. pyrogram/raw/types/exported_chatlist_invite.py +1 -1
  1658. pyrogram/raw/types/exported_contact_token.py +1 -1
  1659. pyrogram/raw/types/exported_message_link.py +1 -1
  1660. pyrogram/raw/types/exported_story_link.py +1 -1
  1661. pyrogram/raw/types/fact_check.py +1 -1
  1662. pyrogram/raw/types/file_hash.py +1 -1
  1663. pyrogram/raw/types/folder.py +1 -1
  1664. pyrogram/raw/types/folder_peer.py +1 -1
  1665. pyrogram/raw/types/forum_topic.py +1 -1
  1666. pyrogram/raw/types/forum_topic_deleted.py +1 -1
  1667. pyrogram/raw/types/found_story.py +1 -1
  1668. pyrogram/raw/types/fragment/collectible_info.py +1 -1
  1669. pyrogram/raw/types/game.py +1 -1
  1670. pyrogram/raw/types/geo_point.py +1 -1
  1671. pyrogram/raw/types/geo_point_address.py +1 -1
  1672. pyrogram/raw/types/geo_point_empty.py +1 -1
  1673. pyrogram/raw/types/global_privacy_settings.py +31 -6
  1674. pyrogram/raw/types/group_call.py +27 -6
  1675. pyrogram/raw/types/group_call_discarded.py +1 -1
  1676. pyrogram/raw/types/group_call_participant.py +1 -1
  1677. pyrogram/raw/types/group_call_participant_video.py +1 -1
  1678. pyrogram/raw/types/group_call_participant_video_source_group.py +1 -1
  1679. pyrogram/raw/types/group_call_stream_channel.py +1 -1
  1680. pyrogram/raw/types/help/app_config.py +1 -1
  1681. pyrogram/raw/types/help/app_config_not_modified.py +1 -1
  1682. pyrogram/raw/types/help/app_update.py +1 -1
  1683. pyrogram/raw/types/help/config_simple.py +1 -1
  1684. pyrogram/raw/types/help/countries_list.py +1 -1
  1685. pyrogram/raw/types/help/countries_list_not_modified.py +1 -1
  1686. pyrogram/raw/types/help/country.py +1 -1
  1687. pyrogram/raw/types/help/country_code.py +1 -1
  1688. pyrogram/raw/types/help/deep_link_info.py +1 -1
  1689. pyrogram/raw/types/help/deep_link_info_empty.py +1 -1
  1690. pyrogram/raw/types/help/invite_text.py +1 -1
  1691. pyrogram/raw/types/help/no_app_update.py +1 -1
  1692. pyrogram/raw/types/help/passport_config.py +1 -1
  1693. pyrogram/raw/types/help/passport_config_not_modified.py +1 -1
  1694. pyrogram/raw/types/help/peer_color_option.py +1 -1
  1695. pyrogram/raw/types/help/peer_color_profile_set.py +1 -1
  1696. pyrogram/raw/types/help/peer_color_set.py +1 -1
  1697. pyrogram/raw/types/help/peer_colors.py +1 -1
  1698. pyrogram/raw/types/help/peer_colors_not_modified.py +1 -1
  1699. pyrogram/raw/types/help/premium_promo.py +1 -1
  1700. pyrogram/raw/types/help/promo_data.py +44 -16
  1701. pyrogram/raw/types/help/promo_data_empty.py +1 -1
  1702. pyrogram/raw/types/help/recent_me_urls.py +1 -1
  1703. pyrogram/raw/types/help/support.py +1 -1
  1704. pyrogram/raw/types/help/support_name.py +1 -1
  1705. pyrogram/raw/types/help/terms_of_service.py +1 -1
  1706. pyrogram/raw/types/help/terms_of_service_update.py +1 -1
  1707. pyrogram/raw/types/help/terms_of_service_update_empty.py +1 -1
  1708. pyrogram/raw/types/help/timezones_list.py +1 -1
  1709. pyrogram/raw/types/help/timezones_list_not_modified.py +1 -1
  1710. pyrogram/raw/types/help/user_info.py +1 -1
  1711. pyrogram/raw/types/help/user_info_empty.py +1 -1
  1712. pyrogram/raw/types/high_score.py +1 -1
  1713. pyrogram/raw/types/http_wait.py +1 -1
  1714. pyrogram/raw/types/imported_contact.py +1 -1
  1715. pyrogram/raw/types/inline_bot_switch_pm.py +1 -1
  1716. pyrogram/raw/types/inline_bot_web_view.py +1 -1
  1717. pyrogram/raw/types/inline_query_peer_type_bot_pm.py +1 -1
  1718. pyrogram/raw/types/inline_query_peer_type_broadcast.py +1 -1
  1719. pyrogram/raw/types/inline_query_peer_type_chat.py +1 -1
  1720. pyrogram/raw/types/inline_query_peer_type_megagroup.py +1 -1
  1721. pyrogram/raw/types/inline_query_peer_type_pm.py +1 -1
  1722. pyrogram/raw/types/inline_query_peer_type_same_bot_pm.py +1 -1
  1723. pyrogram/raw/types/input_app_event.py +1 -1
  1724. pyrogram/raw/types/input_bot_app_id.py +1 -1
  1725. pyrogram/raw/types/input_bot_app_short_name.py +1 -1
  1726. pyrogram/raw/types/input_bot_inline_message_game.py +1 -1
  1727. pyrogram/raw/types/input_bot_inline_message_id.py +1 -1
  1728. pyrogram/raw/types/input_bot_inline_message_id64.py +1 -1
  1729. pyrogram/raw/types/input_bot_inline_message_media_auto.py +1 -1
  1730. pyrogram/raw/types/input_bot_inline_message_media_contact.py +1 -1
  1731. pyrogram/raw/types/input_bot_inline_message_media_geo.py +1 -1
  1732. pyrogram/raw/types/input_bot_inline_message_media_invoice.py +1 -1
  1733. pyrogram/raw/types/input_bot_inline_message_media_venue.py +1 -1
  1734. pyrogram/raw/types/input_bot_inline_message_media_web_page.py +1 -1
  1735. pyrogram/raw/types/input_bot_inline_message_text.py +1 -1
  1736. pyrogram/raw/types/input_bot_inline_result.py +1 -1
  1737. pyrogram/raw/types/input_bot_inline_result_document.py +1 -1
  1738. pyrogram/raw/types/input_bot_inline_result_game.py +1 -1
  1739. pyrogram/raw/types/input_bot_inline_result_photo.py +1 -1
  1740. pyrogram/raw/types/input_business_away_message.py +1 -1
  1741. pyrogram/raw/types/input_business_bot_recipients.py +1 -1
  1742. pyrogram/raw/types/input_business_chat_link.py +1 -1
  1743. pyrogram/raw/types/input_business_greeting_message.py +1 -1
  1744. pyrogram/raw/types/input_business_intro.py +1 -1
  1745. pyrogram/raw/types/input_business_recipients.py +1 -1
  1746. pyrogram/raw/types/input_channel.py +1 -1
  1747. pyrogram/raw/types/input_channel_empty.py +1 -1
  1748. pyrogram/raw/types/input_channel_from_message.py +1 -1
  1749. pyrogram/raw/types/input_chat_photo.py +1 -1
  1750. pyrogram/raw/types/input_chat_photo_empty.py +1 -1
  1751. pyrogram/raw/types/input_chat_uploaded_photo.py +1 -1
  1752. pyrogram/raw/types/input_chatlist_dialog_filter.py +1 -1
  1753. pyrogram/raw/types/input_check_password_empty.py +1 -1
  1754. pyrogram/raw/types/input_check_password_srp.py +1 -1
  1755. pyrogram/raw/types/input_client_proxy.py +1 -1
  1756. pyrogram/raw/types/input_collectible_phone.py +1 -1
  1757. pyrogram/raw/types/input_collectible_username.py +1 -1
  1758. pyrogram/raw/types/input_dialog_peer.py +1 -1
  1759. pyrogram/raw/types/input_dialog_peer_folder.py +1 -1
  1760. pyrogram/raw/types/input_document.py +1 -1
  1761. pyrogram/raw/types/input_document_empty.py +1 -1
  1762. pyrogram/raw/types/input_document_file_location.py +1 -1
  1763. pyrogram/raw/types/input_emoji_status_collectible.py +83 -0
  1764. pyrogram/raw/types/input_encrypted_chat.py +1 -1
  1765. pyrogram/raw/types/input_encrypted_file.py +1 -1
  1766. pyrogram/raw/types/input_encrypted_file_big_uploaded.py +1 -1
  1767. pyrogram/raw/types/input_encrypted_file_empty.py +1 -1
  1768. pyrogram/raw/types/input_encrypted_file_location.py +1 -1
  1769. pyrogram/raw/types/input_encrypted_file_uploaded.py +1 -1
  1770. pyrogram/raw/types/input_file.py +1 -1
  1771. pyrogram/raw/types/input_file_big.py +1 -1
  1772. pyrogram/raw/types/input_file_location.py +1 -1
  1773. pyrogram/raw/types/input_file_story_document.py +1 -1
  1774. pyrogram/raw/types/input_folder_peer.py +1 -1
  1775. pyrogram/raw/types/input_game_id.py +1 -1
  1776. pyrogram/raw/types/input_game_short_name.py +1 -1
  1777. pyrogram/raw/types/input_geo_point.py +1 -1
  1778. pyrogram/raw/types/input_geo_point_empty.py +1 -1
  1779. pyrogram/raw/types/input_group_call.py +1 -1
  1780. pyrogram/raw/types/input_group_call_invite_message.py +72 -0
  1781. pyrogram/raw/types/{app_web_view_result_url.py → input_group_call_slug.py} +14 -14
  1782. pyrogram/raw/types/input_group_call_stream.py +1 -1
  1783. pyrogram/raw/types/input_invoice_business_bot_transfer_stars.py +80 -0
  1784. pyrogram/raw/types/input_invoice_chat_invite_subscription.py +1 -1
  1785. pyrogram/raw/types/input_invoice_message.py +1 -1
  1786. pyrogram/raw/types/input_invoice_premium_gift_code.py +1 -1
  1787. pyrogram/raw/types/input_invoice_premium_gift_stars.py +92 -0
  1788. pyrogram/raw/types/input_invoice_slug.py +1 -1
  1789. pyrogram/raw/types/input_invoice_star_gift.py +16 -10
  1790. pyrogram/raw/types/input_invoice_star_gift_resale.py +80 -0
  1791. pyrogram/raw/types/input_invoice_star_gift_transfer.py +80 -0
  1792. pyrogram/raw/types/input_invoice_star_gift_upgrade.py +80 -0
  1793. pyrogram/raw/types/input_invoice_stars.py +1 -1
  1794. pyrogram/raw/types/input_keyboard_button_request_peer.py +1 -1
  1795. pyrogram/raw/types/input_keyboard_button_url_auth.py +1 -1
  1796. pyrogram/raw/types/input_keyboard_button_user_profile.py +1 -1
  1797. pyrogram/raw/types/input_media_area_channel_post.py +1 -1
  1798. pyrogram/raw/types/input_media_area_venue.py +1 -1
  1799. pyrogram/raw/types/input_media_contact.py +1 -1
  1800. pyrogram/raw/types/input_media_dice.py +1 -1
  1801. pyrogram/raw/types/input_media_document.py +25 -6
  1802. pyrogram/raw/types/input_media_document_external.py +25 -6
  1803. pyrogram/raw/types/input_media_empty.py +1 -1
  1804. pyrogram/raw/types/input_media_game.py +1 -1
  1805. pyrogram/raw/types/input_media_geo_live.py +1 -1
  1806. pyrogram/raw/types/input_media_geo_point.py +1 -1
  1807. pyrogram/raw/types/input_media_invoice.py +1 -1
  1808. pyrogram/raw/types/input_media_paid_media.py +1 -1
  1809. pyrogram/raw/types/input_media_photo.py +1 -1
  1810. pyrogram/raw/types/input_media_photo_external.py +1 -1
  1811. pyrogram/raw/types/input_media_poll.py +1 -1
  1812. pyrogram/raw/types/input_media_story.py +1 -1
  1813. pyrogram/raw/types/input_media_uploaded_document.py +25 -6
  1814. pyrogram/raw/types/input_media_uploaded_photo.py +1 -1
  1815. pyrogram/raw/types/input_media_venue.py +1 -1
  1816. pyrogram/raw/types/input_media_web_page.py +1 -1
  1817. pyrogram/raw/types/input_message_callback_query.py +1 -1
  1818. pyrogram/raw/types/input_message_entity_mention_name.py +1 -1
  1819. pyrogram/raw/types/input_message_id.py +1 -1
  1820. pyrogram/raw/types/input_message_pinned.py +1 -1
  1821. pyrogram/raw/types/input_message_reply_to.py +1 -1
  1822. pyrogram/raw/types/input_messages_filter_chat_photos.py +1 -1
  1823. pyrogram/raw/types/input_messages_filter_contacts.py +1 -1
  1824. pyrogram/raw/types/input_messages_filter_document.py +1 -1
  1825. pyrogram/raw/types/input_messages_filter_empty.py +1 -1
  1826. pyrogram/raw/types/input_messages_filter_geo.py +1 -1
  1827. pyrogram/raw/types/input_messages_filter_gif.py +1 -1
  1828. pyrogram/raw/types/input_messages_filter_music.py +1 -1
  1829. pyrogram/raw/types/input_messages_filter_my_mentions.py +1 -1
  1830. pyrogram/raw/types/input_messages_filter_phone_calls.py +1 -1
  1831. pyrogram/raw/types/input_messages_filter_photo_video.py +1 -1
  1832. pyrogram/raw/types/input_messages_filter_photo_video_documents.py +1 -1
  1833. pyrogram/raw/types/input_messages_filter_photos.py +1 -1
  1834. pyrogram/raw/types/input_messages_filter_pinned.py +1 -1
  1835. pyrogram/raw/types/input_messages_filter_round_video.py +1 -1
  1836. pyrogram/raw/types/input_messages_filter_round_voice.py +1 -1
  1837. pyrogram/raw/types/input_messages_filter_url.py +1 -1
  1838. pyrogram/raw/types/input_messages_filter_video.py +1 -1
  1839. pyrogram/raw/types/input_messages_filter_voice.py +1 -1
  1840. pyrogram/raw/types/input_notify_broadcasts.py +1 -1
  1841. pyrogram/raw/types/input_notify_chats.py +1 -1
  1842. pyrogram/raw/types/input_notify_forum_topic.py +1 -1
  1843. pyrogram/raw/types/input_notify_peer.py +1 -1
  1844. pyrogram/raw/types/input_notify_users.py +1 -1
  1845. pyrogram/raw/types/input_payment_credentials.py +1 -1
  1846. pyrogram/raw/types/input_payment_credentials_apple_pay.py +1 -1
  1847. pyrogram/raw/types/input_payment_credentials_google_pay.py +1 -1
  1848. pyrogram/raw/types/input_payment_credentials_saved.py +1 -1
  1849. pyrogram/raw/types/input_peer_channel.py +1 -1
  1850. pyrogram/raw/types/input_peer_channel_from_message.py +1 -1
  1851. pyrogram/raw/types/input_peer_chat.py +1 -1
  1852. pyrogram/raw/types/input_peer_empty.py +1 -1
  1853. pyrogram/raw/types/input_peer_notify_settings.py +1 -1
  1854. pyrogram/raw/types/input_peer_photo_file_location.py +1 -1
  1855. pyrogram/raw/types/input_peer_self.py +1 -1
  1856. pyrogram/raw/types/input_peer_user.py +1 -1
  1857. pyrogram/raw/types/input_peer_user_from_message.py +1 -1
  1858. pyrogram/raw/types/input_phone_call.py +1 -1
  1859. pyrogram/raw/types/input_phone_contact.py +1 -1
  1860. pyrogram/raw/types/input_photo.py +1 -1
  1861. pyrogram/raw/types/input_photo_empty.py +1 -1
  1862. pyrogram/raw/types/input_photo_file_location.py +1 -1
  1863. pyrogram/raw/types/input_photo_legacy_file_location.py +1 -1
  1864. pyrogram/raw/types/input_privacy_key_about.py +1 -1
  1865. pyrogram/raw/types/input_privacy_key_added_by_phone.py +1 -1
  1866. pyrogram/raw/types/input_privacy_key_birthday.py +1 -1
  1867. pyrogram/raw/types/input_privacy_key_chat_invite.py +1 -1
  1868. pyrogram/raw/types/input_privacy_key_forwards.py +1 -1
  1869. pyrogram/raw/types/{message_action_attach_menu_bot_allowed.py → input_privacy_key_no_paid_messages.py} +8 -8
  1870. pyrogram/raw/types/input_privacy_key_phone_call.py +1 -1
  1871. pyrogram/raw/types/input_privacy_key_phone_number.py +1 -1
  1872. pyrogram/raw/types/input_privacy_key_phone_p2_p.py +1 -1
  1873. pyrogram/raw/types/input_privacy_key_profile_photo.py +1 -1
  1874. pyrogram/raw/types/input_privacy_key_star_gifts_auto_save.py +1 -1
  1875. pyrogram/raw/types/input_privacy_key_status_timestamp.py +1 -1
  1876. pyrogram/raw/types/input_privacy_key_voice_messages.py +1 -1
  1877. pyrogram/raw/types/input_privacy_value_allow_all.py +1 -1
  1878. pyrogram/raw/types/input_privacy_value_allow_bots.py +1 -1
  1879. pyrogram/raw/types/input_privacy_value_allow_chat_participants.py +1 -1
  1880. pyrogram/raw/types/input_privacy_value_allow_close_friends.py +1 -1
  1881. pyrogram/raw/types/input_privacy_value_allow_contacts.py +1 -1
  1882. pyrogram/raw/types/input_privacy_value_allow_premium.py +1 -1
  1883. pyrogram/raw/types/input_privacy_value_allow_users.py +1 -1
  1884. pyrogram/raw/types/input_privacy_value_disallow_all.py +1 -1
  1885. pyrogram/raw/types/input_privacy_value_disallow_bots.py +1 -1
  1886. pyrogram/raw/types/input_privacy_value_disallow_chat_participants.py +1 -1
  1887. pyrogram/raw/types/input_privacy_value_disallow_contacts.py +1 -1
  1888. pyrogram/raw/types/input_privacy_value_disallow_users.py +1 -1
  1889. pyrogram/raw/types/input_quick_reply_shortcut.py +1 -1
  1890. pyrogram/raw/types/input_quick_reply_shortcut_id.py +1 -1
  1891. pyrogram/raw/types/input_reply_to_message.py +1 -1
  1892. pyrogram/raw/types/input_reply_to_story.py +1 -1
  1893. pyrogram/raw/types/input_report_reason_child_abuse.py +1 -1
  1894. pyrogram/raw/types/input_report_reason_copyright.py +1 -1
  1895. pyrogram/raw/types/input_report_reason_fake.py +1 -1
  1896. pyrogram/raw/types/input_report_reason_geo_irrelevant.py +1 -1
  1897. pyrogram/raw/types/input_report_reason_illegal_drugs.py +1 -1
  1898. pyrogram/raw/types/input_report_reason_other.py +1 -1
  1899. pyrogram/raw/types/input_report_reason_personal_details.py +1 -1
  1900. pyrogram/raw/types/input_report_reason_pornography.py +1 -1
  1901. pyrogram/raw/types/input_report_reason_spam.py +1 -1
  1902. pyrogram/raw/types/input_report_reason_violence.py +1 -1
  1903. pyrogram/raw/types/input_saved_star_gift_chat.py +80 -0
  1904. pyrogram/raw/types/input_saved_star_gift_slug.py +72 -0
  1905. pyrogram/raw/types/input_saved_star_gift_user.py +72 -0
  1906. pyrogram/raw/types/input_secure_file.py +1 -1
  1907. pyrogram/raw/types/input_secure_file_location.py +1 -1
  1908. pyrogram/raw/types/input_secure_file_uploaded.py +1 -1
  1909. pyrogram/raw/types/input_secure_value.py +1 -1
  1910. pyrogram/raw/types/input_single_media.py +1 -1
  1911. pyrogram/raw/types/input_stars_transaction.py +1 -1
  1912. pyrogram/raw/types/input_sticker_set_animated_emoji.py +1 -1
  1913. pyrogram/raw/types/input_sticker_set_animated_emoji_animations.py +1 -1
  1914. pyrogram/raw/types/input_sticker_set_dice.py +1 -1
  1915. pyrogram/raw/types/input_sticker_set_emoji_channel_default_statuses.py +1 -1
  1916. pyrogram/raw/types/input_sticker_set_emoji_default_statuses.py +1 -1
  1917. pyrogram/raw/types/input_sticker_set_emoji_default_topic_icons.py +1 -1
  1918. pyrogram/raw/types/input_sticker_set_emoji_generic_animations.py +1 -1
  1919. pyrogram/raw/types/input_sticker_set_empty.py +1 -1
  1920. pyrogram/raw/types/input_sticker_set_id.py +1 -1
  1921. pyrogram/raw/types/input_sticker_set_item.py +1 -1
  1922. pyrogram/raw/types/input_sticker_set_premium_gifts.py +1 -1
  1923. pyrogram/raw/types/input_sticker_set_short_name.py +1 -1
  1924. pyrogram/raw/types/input_sticker_set_thumb.py +1 -1
  1925. pyrogram/raw/types/input_stickered_media_document.py +1 -1
  1926. pyrogram/raw/types/input_stickered_media_photo.py +1 -1
  1927. pyrogram/raw/types/input_store_payment_auth_code.py +104 -0
  1928. pyrogram/raw/types/input_store_payment_gift_premium.py +1 -1
  1929. pyrogram/raw/types/input_store_payment_premium_gift_code.py +1 -1
  1930. pyrogram/raw/types/input_store_payment_premium_giveaway.py +1 -1
  1931. pyrogram/raw/types/input_store_payment_premium_subscription.py +1 -1
  1932. pyrogram/raw/types/input_store_payment_stars_gift.py +1 -1
  1933. pyrogram/raw/types/input_store_payment_stars_giveaway.py +1 -1
  1934. pyrogram/raw/types/input_store_payment_stars_topup.py +1 -1
  1935. pyrogram/raw/types/input_takeout_file_location.py +1 -1
  1936. pyrogram/raw/types/input_theme.py +1 -1
  1937. pyrogram/raw/types/input_theme_settings.py +1 -1
  1938. pyrogram/raw/types/input_theme_slug.py +1 -1
  1939. pyrogram/raw/types/input_user.py +1 -1
  1940. pyrogram/raw/types/input_user_empty.py +1 -1
  1941. pyrogram/raw/types/input_user_from_message.py +1 -1
  1942. pyrogram/raw/types/input_user_self.py +1 -1
  1943. pyrogram/raw/types/input_wall_paper.py +1 -1
  1944. pyrogram/raw/types/input_wall_paper_no_file.py +1 -1
  1945. pyrogram/raw/types/input_wall_paper_slug.py +1 -1
  1946. pyrogram/raw/types/input_web_document.py +1 -1
  1947. pyrogram/raw/types/input_web_file_audio_album_thumb_location.py +1 -1
  1948. pyrogram/raw/types/input_web_file_geo_point_location.py +1 -1
  1949. pyrogram/raw/types/input_web_file_location.py +1 -1
  1950. pyrogram/raw/types/invoice.py +1 -1
  1951. pyrogram/raw/types/ip_port.py +1 -1
  1952. pyrogram/raw/types/ip_port_secret.py +1 -1
  1953. pyrogram/raw/types/json_array.py +1 -1
  1954. pyrogram/raw/types/json_bool.py +1 -1
  1955. pyrogram/raw/types/json_null.py +1 -1
  1956. pyrogram/raw/types/json_number.py +1 -1
  1957. pyrogram/raw/types/json_object.py +1 -1
  1958. pyrogram/raw/types/json_object_value.py +1 -1
  1959. pyrogram/raw/types/json_string.py +1 -1
  1960. pyrogram/raw/types/keyboard_button.py +1 -1
  1961. pyrogram/raw/types/keyboard_button_buy.py +1 -1
  1962. pyrogram/raw/types/keyboard_button_callback.py +1 -1
  1963. pyrogram/raw/types/keyboard_button_copy.py +1 -1
  1964. pyrogram/raw/types/keyboard_button_game.py +1 -1
  1965. pyrogram/raw/types/keyboard_button_request_geo_location.py +1 -1
  1966. pyrogram/raw/types/keyboard_button_request_peer.py +1 -1
  1967. pyrogram/raw/types/keyboard_button_request_phone.py +1 -1
  1968. pyrogram/raw/types/keyboard_button_request_poll.py +1 -1
  1969. pyrogram/raw/types/keyboard_button_row.py +1 -1
  1970. pyrogram/raw/types/keyboard_button_simple_web_view.py +1 -1
  1971. pyrogram/raw/types/keyboard_button_switch_inline.py +1 -1
  1972. pyrogram/raw/types/keyboard_button_url.py +1 -1
  1973. pyrogram/raw/types/keyboard_button_url_auth.py +1 -1
  1974. pyrogram/raw/types/keyboard_button_user_profile.py +1 -1
  1975. pyrogram/raw/types/keyboard_button_web_view.py +1 -1
  1976. pyrogram/raw/types/labeled_price.py +1 -1
  1977. pyrogram/raw/types/lang_pack_difference.py +1 -1
  1978. pyrogram/raw/types/lang_pack_language.py +1 -1
  1979. pyrogram/raw/types/lang_pack_string.py +1 -1
  1980. pyrogram/raw/types/lang_pack_string_deleted.py +1 -1
  1981. pyrogram/raw/types/lang_pack_string_pluralized.py +1 -1
  1982. pyrogram/raw/types/mask_coords.py +1 -1
  1983. pyrogram/raw/types/media_area_channel_post.py +1 -1
  1984. pyrogram/raw/types/media_area_coordinates.py +1 -1
  1985. pyrogram/raw/types/media_area_geo_point.py +1 -1
  1986. pyrogram/raw/types/media_area_star_gift.py +80 -0
  1987. pyrogram/raw/types/media_area_suggested_reaction.py +1 -1
  1988. pyrogram/raw/types/media_area_url.py +1 -1
  1989. pyrogram/raw/types/media_area_venue.py +1 -1
  1990. pyrogram/raw/types/media_area_weather.py +1 -1
  1991. pyrogram/raw/types/message.py +24 -6
  1992. pyrogram/raw/types/message_action_boost_apply.py +1 -1
  1993. pyrogram/raw/types/message_action_bot_allowed.py +1 -1
  1994. pyrogram/raw/types/message_action_channel_create.py +1 -1
  1995. pyrogram/raw/types/message_action_channel_migrate_from.py +1 -1
  1996. pyrogram/raw/types/message_action_chat_add_user.py +1 -1
  1997. pyrogram/raw/types/message_action_chat_create.py +1 -1
  1998. pyrogram/raw/types/message_action_chat_delete_photo.py +1 -1
  1999. pyrogram/raw/types/message_action_chat_delete_user.py +1 -1
  2000. pyrogram/raw/types/message_action_chat_edit_photo.py +1 -1
  2001. pyrogram/raw/types/message_action_chat_edit_title.py +1 -1
  2002. pyrogram/raw/types/message_action_chat_joined_by_link.py +1 -1
  2003. pyrogram/raw/types/message_action_chat_joined_by_request.py +1 -1
  2004. pyrogram/raw/types/message_action_chat_migrate_to.py +1 -1
  2005. pyrogram/raw/types/message_action_conference_call.py +111 -0
  2006. pyrogram/raw/types/message_action_contact_sign_up.py +1 -1
  2007. pyrogram/raw/types/message_action_created_broadcast_list.py +1 -1
  2008. pyrogram/raw/types/message_action_custom_action.py +1 -1
  2009. pyrogram/raw/types/message_action_empty.py +1 -1
  2010. pyrogram/raw/types/message_action_game_score.py +1 -1
  2011. pyrogram/raw/types/message_action_geo_proximity_reached.py +1 -1
  2012. pyrogram/raw/types/message_action_gift_code.py +4 -4
  2013. pyrogram/raw/types/message_action_gift_premium.py +1 -1
  2014. pyrogram/raw/types/message_action_gift_stars.py +1 -1
  2015. pyrogram/raw/types/message_action_giveaway_launch.py +1 -1
  2016. pyrogram/raw/types/message_action_giveaway_results.py +1 -1
  2017. pyrogram/raw/types/message_action_group_call.py +1 -1
  2018. pyrogram/raw/types/message_action_group_call_scheduled.py +1 -1
  2019. pyrogram/raw/types/message_action_history_clear.py +1 -1
  2020. pyrogram/raw/types/message_action_invite_to_group_call.py +1 -1
  2021. pyrogram/raw/types/message_action_login_unknown_location.py +1 -1
  2022. pyrogram/raw/types/{message_action_set_same_chat_wall_paper.py → message_action_paid_messages_price.py} +13 -13
  2023. pyrogram/raw/types/message_action_paid_messages_refunded.py +80 -0
  2024. pyrogram/raw/types/message_action_payment_refunded.py +1 -1
  2025. pyrogram/raw/types/message_action_payment_sent.py +15 -6
  2026. pyrogram/raw/types/message_action_payment_sent_me.py +15 -6
  2027. pyrogram/raw/types/message_action_phone_call.py +1 -1
  2028. pyrogram/raw/types/message_action_phone_number_request.py +1 -1
  2029. pyrogram/raw/types/message_action_pin_message.py +1 -1
  2030. pyrogram/raw/types/message_action_prize_stars.py +1 -1
  2031. pyrogram/raw/types/message_action_requested_peer.py +1 -1
  2032. pyrogram/raw/types/message_action_requested_peer_sent_me.py +1 -1
  2033. pyrogram/raw/types/message_action_screenshot_taken.py +1 -1
  2034. pyrogram/raw/types/message_action_secure_values_sent.py +1 -1
  2035. pyrogram/raw/types/message_action_secure_values_sent_me.py +1 -1
  2036. pyrogram/raw/types/message_action_set_chat_theme.py +1 -1
  2037. pyrogram/raw/types/message_action_set_chat_wall_paper.py +1 -1
  2038. pyrogram/raw/types/message_action_set_messages_ttl.py +1 -1
  2039. pyrogram/raw/types/message_action_star_gift.py +77 -6
  2040. pyrogram/raw/types/message_action_star_gift_unique.py +172 -0
  2041. pyrogram/raw/types/message_action_suggest_profile_photo.py +1 -1
  2042. pyrogram/raw/types/message_action_topic_create.py +1 -1
  2043. pyrogram/raw/types/message_action_topic_edit.py +1 -1
  2044. pyrogram/raw/types/message_action_ttl_change.py +1 -1
  2045. pyrogram/raw/types/message_action_user_joined.py +1 -1
  2046. pyrogram/raw/types/message_action_user_updated_photo.py +1 -1
  2047. pyrogram/raw/types/message_action_web_view_data_sent.py +1 -1
  2048. pyrogram/raw/types/message_action_web_view_data_sent_me.py +1 -1
  2049. pyrogram/raw/types/message_empty.py +1 -1
  2050. pyrogram/raw/types/message_entity_bank_card.py +1 -1
  2051. pyrogram/raw/types/message_entity_blockquote.py +1 -1
  2052. pyrogram/raw/types/message_entity_bold.py +1 -1
  2053. pyrogram/raw/types/message_entity_bot_command.py +1 -1
  2054. pyrogram/raw/types/message_entity_cashtag.py +1 -1
  2055. pyrogram/raw/types/message_entity_code.py +1 -1
  2056. pyrogram/raw/types/message_entity_custom_emoji.py +1 -1
  2057. pyrogram/raw/types/message_entity_email.py +1 -1
  2058. pyrogram/raw/types/message_entity_hashtag.py +1 -1
  2059. pyrogram/raw/types/message_entity_italic.py +1 -1
  2060. pyrogram/raw/types/message_entity_mention.py +1 -1
  2061. pyrogram/raw/types/message_entity_mention_name.py +1 -1
  2062. pyrogram/raw/types/message_entity_phone.py +1 -1
  2063. pyrogram/raw/types/message_entity_pre.py +1 -1
  2064. pyrogram/raw/types/message_entity_spoiler.py +1 -1
  2065. pyrogram/raw/types/message_entity_strike.py +1 -1
  2066. pyrogram/raw/types/message_entity_text_url.py +1 -1
  2067. pyrogram/raw/types/message_entity_underline.py +1 -1
  2068. pyrogram/raw/types/message_entity_unknown.py +1 -1
  2069. pyrogram/raw/types/message_entity_url.py +1 -1
  2070. pyrogram/raw/types/message_extended_media.py +1 -1
  2071. pyrogram/raw/types/message_extended_media_preview.py +1 -1
  2072. pyrogram/raw/types/message_fwd_header.py +1 -1
  2073. pyrogram/raw/types/message_media_contact.py +2 -3
  2074. pyrogram/raw/types/message_media_dice.py +2 -3
  2075. pyrogram/raw/types/message_media_document.py +26 -8
  2076. pyrogram/raw/types/message_media_empty.py +2 -3
  2077. pyrogram/raw/types/message_media_game.py +2 -3
  2078. pyrogram/raw/types/message_media_geo.py +2 -3
  2079. pyrogram/raw/types/message_media_geo_live.py +2 -3
  2080. pyrogram/raw/types/message_media_giveaway.py +2 -3
  2081. pyrogram/raw/types/message_media_giveaway_results.py +2 -3
  2082. pyrogram/raw/types/message_media_invoice.py +2 -3
  2083. pyrogram/raw/types/message_media_paid_media.py +2 -3
  2084. pyrogram/raw/types/message_media_photo.py +2 -3
  2085. pyrogram/raw/types/message_media_poll.py +2 -3
  2086. pyrogram/raw/types/message_media_story.py +2 -3
  2087. pyrogram/raw/types/message_media_unsupported.py +2 -3
  2088. pyrogram/raw/types/message_media_venue.py +2 -3
  2089. pyrogram/raw/types/message_media_web_page.py +2 -3
  2090. pyrogram/raw/types/message_peer_reaction.py +1 -1
  2091. pyrogram/raw/types/message_peer_vote.py +1 -1
  2092. pyrogram/raw/types/message_peer_vote_input_option.py +1 -1
  2093. pyrogram/raw/types/message_peer_vote_multiple.py +1 -1
  2094. pyrogram/raw/types/message_range.py +1 -1
  2095. pyrogram/raw/types/message_reactions.py +1 -1
  2096. pyrogram/raw/types/message_reactor.py +1 -1
  2097. pyrogram/raw/types/message_replies.py +1 -1
  2098. pyrogram/raw/types/message_reply_header.py +1 -1
  2099. pyrogram/raw/types/message_reply_story_header.py +1 -1
  2100. pyrogram/raw/types/message_report_option.py +1 -1
  2101. pyrogram/raw/types/message_service.py +22 -6
  2102. pyrogram/raw/types/message_views.py +1 -1
  2103. pyrogram/raw/types/messages/__init__.py +5 -2
  2104. pyrogram/raw/types/messages/affected_found_messages.py +1 -1
  2105. pyrogram/raw/types/messages/affected_history.py +1 -1
  2106. pyrogram/raw/types/messages/affected_messages.py +1 -1
  2107. pyrogram/raw/types/messages/all_stickers.py +1 -1
  2108. pyrogram/raw/types/messages/all_stickers_not_modified.py +1 -1
  2109. pyrogram/raw/types/messages/archived_stickers.py +1 -1
  2110. pyrogram/raw/types/messages/available_effects.py +1 -1
  2111. pyrogram/raw/types/messages/available_effects_not_modified.py +1 -1
  2112. pyrogram/raw/types/messages/available_reactions.py +1 -1
  2113. pyrogram/raw/types/messages/available_reactions_not_modified.py +1 -1
  2114. pyrogram/raw/types/messages/bot_app.py +1 -1
  2115. pyrogram/raw/types/messages/bot_callback_answer.py +1 -1
  2116. pyrogram/raw/types/messages/bot_prepared_inline_message.py +1 -1
  2117. pyrogram/raw/types/messages/bot_results.py +1 -1
  2118. pyrogram/raw/types/messages/channel_messages.py +1 -1
  2119. pyrogram/raw/types/messages/chat_admins_with_invites.py +1 -1
  2120. pyrogram/raw/types/messages/chat_full.py +1 -1
  2121. pyrogram/raw/types/messages/chat_invite_importers.py +1 -1
  2122. pyrogram/raw/types/messages/chats.py +1 -1
  2123. pyrogram/raw/types/messages/chats_slice.py +1 -1
  2124. pyrogram/raw/types/messages/checked_history_import_peer.py +1 -1
  2125. pyrogram/raw/types/messages/dh_config.py +1 -1
  2126. pyrogram/raw/types/messages/dh_config_not_modified.py +1 -1
  2127. pyrogram/raw/types/messages/dialog_filters.py +1 -1
  2128. pyrogram/raw/types/messages/dialogs.py +1 -1
  2129. pyrogram/raw/types/messages/dialogs_not_modified.py +1 -1
  2130. pyrogram/raw/types/messages/dialogs_slice.py +1 -1
  2131. pyrogram/raw/types/messages/discussion_message.py +1 -1
  2132. pyrogram/raw/types/messages/emoji_groups.py +1 -1
  2133. pyrogram/raw/types/messages/emoji_groups_not_modified.py +1 -1
  2134. pyrogram/raw/types/messages/exported_chat_invite.py +1 -1
  2135. pyrogram/raw/types/messages/exported_chat_invite_replaced.py +1 -1
  2136. pyrogram/raw/types/messages/exported_chat_invites.py +1 -1
  2137. pyrogram/raw/types/messages/faved_stickers.py +1 -1
  2138. pyrogram/raw/types/messages/faved_stickers_not_modified.py +1 -1
  2139. pyrogram/raw/types/messages/featured_stickers.py +1 -1
  2140. pyrogram/raw/types/messages/featured_stickers_not_modified.py +1 -1
  2141. pyrogram/raw/types/messages/forum_topics.py +1 -1
  2142. pyrogram/raw/types/messages/found_sticker_sets.py +1 -1
  2143. pyrogram/raw/types/messages/found_sticker_sets_not_modified.py +1 -1
  2144. pyrogram/raw/types/messages/found_stickers.py +100 -0
  2145. pyrogram/raw/types/messages/found_stickers_not_modified.py +84 -0
  2146. pyrogram/raw/types/messages/high_scores.py +1 -1
  2147. pyrogram/raw/types/messages/history_import.py +1 -1
  2148. pyrogram/raw/types/messages/history_import_parsed.py +1 -1
  2149. pyrogram/raw/types/messages/inactive_chats.py +1 -1
  2150. pyrogram/raw/types/messages/invited_users.py +1 -1
  2151. pyrogram/raw/types/messages/message_edit_data.py +1 -1
  2152. pyrogram/raw/types/messages/message_empty.py +1 -1
  2153. pyrogram/raw/types/messages/message_reactions_list.py +1 -1
  2154. pyrogram/raw/types/messages/message_views.py +1 -1
  2155. pyrogram/raw/types/messages/messages.py +1 -1
  2156. pyrogram/raw/types/messages/messages_not_modified.py +1 -1
  2157. pyrogram/raw/types/messages/messages_slice.py +1 -1
  2158. pyrogram/raw/types/messages/my_stickers.py +1 -1
  2159. pyrogram/raw/types/messages/peer_dialogs.py +1 -1
  2160. pyrogram/raw/types/messages/peer_settings.py +1 -1
  2161. pyrogram/raw/types/messages/prepared_inline_message.py +1 -1
  2162. pyrogram/raw/types/messages/quick_replies.py +1 -1
  2163. pyrogram/raw/types/messages/quick_replies_not_modified.py +1 -1
  2164. pyrogram/raw/types/messages/reactions.py +1 -1
  2165. pyrogram/raw/types/messages/reactions_not_modified.py +1 -1
  2166. pyrogram/raw/types/messages/recent_stickers.py +1 -1
  2167. pyrogram/raw/types/messages/recent_stickers_not_modified.py +1 -1
  2168. pyrogram/raw/types/messages/saved_dialogs.py +1 -1
  2169. pyrogram/raw/types/messages/saved_dialogs_not_modified.py +1 -1
  2170. pyrogram/raw/types/messages/saved_dialogs_slice.py +1 -1
  2171. pyrogram/raw/types/messages/saved_gifs.py +1 -1
  2172. pyrogram/raw/types/messages/saved_gifs_not_modified.py +1 -1
  2173. pyrogram/raw/types/messages/saved_reaction_tags.py +1 -1
  2174. pyrogram/raw/types/messages/saved_reaction_tags_not_modified.py +1 -1
  2175. pyrogram/raw/types/messages/search_counter.py +1 -1
  2176. pyrogram/raw/types/messages/search_results_calendar.py +1 -1
  2177. pyrogram/raw/types/messages/search_results_positions.py +1 -1
  2178. pyrogram/raw/types/messages/sent_encrypted_file.py +1 -1
  2179. pyrogram/raw/types/messages/sent_encrypted_message.py +1 -1
  2180. pyrogram/raw/types/messages/sponsored_messages.py +1 -1
  2181. pyrogram/raw/types/messages/sponsored_messages_empty.py +1 -1
  2182. pyrogram/raw/types/messages/sticker_set.py +1 -1
  2183. pyrogram/raw/types/messages/sticker_set_install_result_archive.py +1 -1
  2184. pyrogram/raw/types/messages/sticker_set_install_result_success.py +1 -1
  2185. pyrogram/raw/types/messages/sticker_set_not_modified.py +1 -1
  2186. pyrogram/raw/types/messages/stickers.py +1 -1
  2187. pyrogram/raw/types/messages/stickers_not_modified.py +1 -1
  2188. pyrogram/raw/types/messages/transcribed_audio.py +1 -1
  2189. pyrogram/raw/types/messages/translate_result.py +1 -1
  2190. pyrogram/raw/types/messages/votes_list.py +1 -1
  2191. pyrogram/raw/types/messages/web_page.py +1 -1
  2192. pyrogram/raw/types/messages/web_page_preview.py +89 -0
  2193. pyrogram/raw/types/messages/web_view_result.py +1 -1
  2194. pyrogram/raw/types/missing_invitee.py +1 -1
  2195. pyrogram/raw/types/msg_detailed_info.py +1 -1
  2196. pyrogram/raw/types/msg_new_detailed_info.py +1 -1
  2197. pyrogram/raw/types/msg_resend_ans_req.py +1 -1
  2198. pyrogram/raw/types/msg_resend_req.py +1 -1
  2199. pyrogram/raw/types/msgs_ack.py +1 -1
  2200. pyrogram/raw/types/msgs_all_info.py +1 -1
  2201. pyrogram/raw/types/msgs_state_info.py +1 -1
  2202. pyrogram/raw/types/msgs_state_req.py +1 -1
  2203. pyrogram/raw/types/my_boost.py +1 -1
  2204. pyrogram/raw/types/nearest_dc.py +1 -1
  2205. pyrogram/raw/types/new_session_created.py +1 -1
  2206. pyrogram/raw/types/notification_sound_default.py +1 -1
  2207. pyrogram/raw/types/notification_sound_local.py +1 -1
  2208. pyrogram/raw/types/notification_sound_none.py +1 -1
  2209. pyrogram/raw/types/notification_sound_ringtone.py +1 -1
  2210. pyrogram/raw/types/notify_broadcasts.py +1 -1
  2211. pyrogram/raw/types/notify_chats.py +1 -1
  2212. pyrogram/raw/types/notify_forum_topic.py +1 -1
  2213. pyrogram/raw/types/notify_peer.py +1 -1
  2214. pyrogram/raw/types/notify_users.py +1 -1
  2215. pyrogram/raw/types/outbox_read_date.py +1 -1
  2216. pyrogram/raw/types/page.py +1 -1
  2217. pyrogram/raw/types/page_block_anchor.py +1 -1
  2218. pyrogram/raw/types/page_block_audio.py +1 -1
  2219. pyrogram/raw/types/page_block_author_date.py +1 -1
  2220. pyrogram/raw/types/page_block_blockquote.py +1 -1
  2221. pyrogram/raw/types/page_block_channel.py +1 -1
  2222. pyrogram/raw/types/page_block_collage.py +1 -1
  2223. pyrogram/raw/types/page_block_cover.py +1 -1
  2224. pyrogram/raw/types/page_block_details.py +1 -1
  2225. pyrogram/raw/types/page_block_divider.py +1 -1
  2226. pyrogram/raw/types/page_block_embed.py +1 -1
  2227. pyrogram/raw/types/page_block_embed_post.py +1 -1
  2228. pyrogram/raw/types/page_block_footer.py +1 -1
  2229. pyrogram/raw/types/page_block_header.py +1 -1
  2230. pyrogram/raw/types/page_block_kicker.py +1 -1
  2231. pyrogram/raw/types/page_block_list.py +1 -1
  2232. pyrogram/raw/types/page_block_map.py +1 -1
  2233. pyrogram/raw/types/page_block_ordered_list.py +1 -1
  2234. pyrogram/raw/types/page_block_paragraph.py +1 -1
  2235. pyrogram/raw/types/page_block_photo.py +1 -1
  2236. pyrogram/raw/types/page_block_preformatted.py +1 -1
  2237. pyrogram/raw/types/page_block_pullquote.py +1 -1
  2238. pyrogram/raw/types/page_block_related_articles.py +1 -1
  2239. pyrogram/raw/types/page_block_slideshow.py +1 -1
  2240. pyrogram/raw/types/page_block_subheader.py +1 -1
  2241. pyrogram/raw/types/page_block_subtitle.py +1 -1
  2242. pyrogram/raw/types/page_block_table.py +1 -1
  2243. pyrogram/raw/types/page_block_title.py +1 -1
  2244. pyrogram/raw/types/page_block_unsupported.py +1 -1
  2245. pyrogram/raw/types/page_block_video.py +1 -1
  2246. pyrogram/raw/types/page_caption.py +1 -1
  2247. pyrogram/raw/types/page_list_item_blocks.py +1 -1
  2248. pyrogram/raw/types/page_list_item_text.py +1 -1
  2249. pyrogram/raw/types/page_list_ordered_item_blocks.py +1 -1
  2250. pyrogram/raw/types/page_list_ordered_item_text.py +1 -1
  2251. pyrogram/raw/types/page_related_article.py +1 -1
  2252. pyrogram/raw/types/page_table_cell.py +1 -1
  2253. pyrogram/raw/types/page_table_row.py +1 -1
  2254. pyrogram/raw/types/paid_reaction_privacy_anonymous.py +67 -0
  2255. pyrogram/raw/types/paid_reaction_privacy_default.py +67 -0
  2256. pyrogram/raw/types/paid_reaction_privacy_peer.py +72 -0
  2257. pyrogram/raw/types/password_kdf_algo_sha256_sha256_pbkdf2_hmacsha512iter100000_sha256_mod_pow.py +1 -1
  2258. pyrogram/raw/types/password_kdf_algo_unknown.py +1 -1
  2259. pyrogram/raw/types/payment_charge.py +1 -1
  2260. pyrogram/raw/types/payment_form_method.py +1 -1
  2261. pyrogram/raw/types/payment_requested_info.py +1 -1
  2262. pyrogram/raw/types/payment_saved_credentials_card.py +1 -1
  2263. pyrogram/raw/types/payments/__init__.py +7 -1
  2264. pyrogram/raw/types/payments/bank_card_data.py +1 -1
  2265. pyrogram/raw/types/payments/checked_gift_code.py +1 -1
  2266. pyrogram/raw/types/payments/connected_star_ref_bots.py +100 -0
  2267. pyrogram/raw/types/payments/exported_invoice.py +1 -1
  2268. pyrogram/raw/types/payments/giveaway_info.py +1 -1
  2269. pyrogram/raw/types/payments/giveaway_info_results.py +1 -1
  2270. pyrogram/raw/types/payments/payment_form.py +1 -1
  2271. pyrogram/raw/types/payments/payment_form_star_gift.py +1 -1
  2272. pyrogram/raw/types/payments/payment_form_stars.py +2 -2
  2273. pyrogram/raw/types/payments/payment_receipt.py +1 -1
  2274. pyrogram/raw/types/payments/payment_receipt_stars.py +1 -1
  2275. pyrogram/raw/types/payments/payment_result.py +1 -1
  2276. pyrogram/raw/types/payments/payment_verification_needed.py +1 -1
  2277. pyrogram/raw/types/payments/resale_star_gifts.py +145 -0
  2278. pyrogram/raw/types/payments/saved_info.py +1 -1
  2279. pyrogram/raw/types/payments/saved_star_gifts.py +126 -0
  2280. pyrogram/raw/types/payments/star_gift_upgrade_preview.py +81 -0
  2281. pyrogram/raw/types/{simple_web_view_result_url.py → payments/star_gift_withdrawal_url.py} +17 -8
  2282. pyrogram/raw/types/payments/star_gifts.py +1 -1
  2283. pyrogram/raw/types/payments/star_gifts_not_modified.py +1 -1
  2284. pyrogram/raw/types/payments/stars_revenue_ads_account_url.py +1 -1
  2285. pyrogram/raw/types/payments/stars_revenue_stats.py +1 -1
  2286. pyrogram/raw/types/payments/stars_revenue_withdrawal_url.py +1 -1
  2287. pyrogram/raw/types/payments/stars_status.py +8 -8
  2288. pyrogram/raw/types/payments/{user_star_gifts.py → suggested_star_ref_bots.py} +18 -18
  2289. pyrogram/raw/types/payments/unique_star_gift.py +89 -0
  2290. pyrogram/raw/types/payments/validated_requested_info.py +1 -1
  2291. pyrogram/raw/types/peer_blocked.py +1 -1
  2292. pyrogram/raw/types/peer_channel.py +1 -1
  2293. pyrogram/raw/types/peer_chat.py +1 -1
  2294. pyrogram/raw/types/peer_color.py +1 -1
  2295. pyrogram/raw/types/peer_located.py +1 -1
  2296. pyrogram/raw/types/peer_notify_settings.py +1 -1
  2297. pyrogram/raw/types/peer_self_located.py +1 -1
  2298. pyrogram/raw/types/peer_settings.py +51 -6
  2299. pyrogram/raw/types/peer_stories.py +1 -1
  2300. pyrogram/raw/types/peer_user.py +1 -1
  2301. pyrogram/raw/types/pending_suggestion.py +96 -0
  2302. pyrogram/raw/types/phone/exported_group_call_invite.py +1 -1
  2303. pyrogram/raw/types/phone/group_call.py +1 -1
  2304. pyrogram/raw/types/phone/group_call_stream_channels.py +1 -1
  2305. pyrogram/raw/types/phone/group_call_stream_rtmp_url.py +1 -1
  2306. pyrogram/raw/types/phone/group_participants.py +1 -1
  2307. pyrogram/raw/types/phone/join_as_peers.py +1 -1
  2308. pyrogram/raw/types/phone/phone_call.py +1 -1
  2309. pyrogram/raw/types/phone_call.py +10 -4
  2310. pyrogram/raw/types/phone_call_accepted.py +1 -1
  2311. pyrogram/raw/types/phone_call_discard_reason_busy.py +1 -1
  2312. pyrogram/raw/types/phone_call_discard_reason_disconnect.py +1 -1
  2313. pyrogram/raw/types/phone_call_discard_reason_hangup.py +1 -1
  2314. pyrogram/raw/types/phone_call_discard_reason_migrate_conference_call.py +72 -0
  2315. pyrogram/raw/types/phone_call_discard_reason_missed.py +1 -1
  2316. pyrogram/raw/types/phone_call_discarded.py +1 -1
  2317. pyrogram/raw/types/phone_call_empty.py +1 -1
  2318. pyrogram/raw/types/phone_call_protocol.py +1 -1
  2319. pyrogram/raw/types/phone_call_requested.py +1 -1
  2320. pyrogram/raw/types/phone_call_waiting.py +1 -1
  2321. pyrogram/raw/types/phone_connection.py +1 -1
  2322. pyrogram/raw/types/phone_connection_webrtc.py +1 -1
  2323. pyrogram/raw/types/photo.py +1 -1
  2324. pyrogram/raw/types/photo_cached_size.py +1 -1
  2325. pyrogram/raw/types/photo_empty.py +1 -1
  2326. pyrogram/raw/types/photo_path_size.py +1 -1
  2327. pyrogram/raw/types/photo_size.py +1 -1
  2328. pyrogram/raw/types/photo_size_empty.py +1 -1
  2329. pyrogram/raw/types/photo_size_progressive.py +1 -1
  2330. pyrogram/raw/types/photo_stripped_size.py +1 -1
  2331. pyrogram/raw/types/photos/photo.py +1 -1
  2332. pyrogram/raw/types/photos/photos.py +1 -1
  2333. pyrogram/raw/types/photos/photos_slice.py +1 -1
  2334. pyrogram/raw/types/poll.py +1 -1
  2335. pyrogram/raw/types/poll_answer.py +1 -1
  2336. pyrogram/raw/types/poll_answer_voters.py +1 -1
  2337. pyrogram/raw/types/poll_results.py +1 -1
  2338. pyrogram/raw/types/pong.py +1 -1
  2339. pyrogram/raw/types/popular_contact.py +1 -1
  2340. pyrogram/raw/types/post_address.py +1 -1
  2341. pyrogram/raw/types/post_interaction_counters_message.py +1 -1
  2342. pyrogram/raw/types/post_interaction_counters_story.py +1 -1
  2343. pyrogram/raw/types/pq_inner_data.py +1 -1
  2344. pyrogram/raw/types/pq_inner_data_dc.py +1 -1
  2345. pyrogram/raw/types/pq_inner_data_temp.py +1 -1
  2346. pyrogram/raw/types/pq_inner_data_temp_dc.py +1 -1
  2347. pyrogram/raw/types/premium/boosts_list.py +1 -1
  2348. pyrogram/raw/types/premium/boosts_status.py +1 -1
  2349. pyrogram/raw/types/premium/my_boosts.py +1 -1
  2350. pyrogram/raw/types/premium_gift_code_option.py +1 -1
  2351. pyrogram/raw/types/premium_gift_option.py +10 -9
  2352. pyrogram/raw/types/premium_subscription_option.py +1 -1
  2353. pyrogram/raw/types/prepaid_giveaway.py +1 -1
  2354. pyrogram/raw/types/prepaid_stars_giveaway.py +1 -1
  2355. pyrogram/raw/types/privacy_key_about.py +1 -1
  2356. pyrogram/raw/types/privacy_key_added_by_phone.py +1 -1
  2357. pyrogram/raw/types/privacy_key_birthday.py +1 -1
  2358. pyrogram/raw/types/privacy_key_chat_invite.py +1 -1
  2359. pyrogram/raw/types/privacy_key_forwards.py +1 -1
  2360. pyrogram/raw/types/{chat_channel_participant.py → privacy_key_no_paid_messages.py} +8 -8
  2361. pyrogram/raw/types/privacy_key_phone_call.py +1 -1
  2362. pyrogram/raw/types/privacy_key_phone_number.py +1 -1
  2363. pyrogram/raw/types/privacy_key_phone_p2_p.py +1 -1
  2364. pyrogram/raw/types/privacy_key_profile_photo.py +1 -1
  2365. pyrogram/raw/types/privacy_key_star_gifts_auto_save.py +1 -1
  2366. pyrogram/raw/types/privacy_key_status_timestamp.py +1 -1
  2367. pyrogram/raw/types/privacy_key_voice_messages.py +1 -1
  2368. pyrogram/raw/types/privacy_value_allow_all.py +1 -1
  2369. pyrogram/raw/types/privacy_value_allow_bots.py +1 -1
  2370. pyrogram/raw/types/privacy_value_allow_chat_participants.py +1 -1
  2371. pyrogram/raw/types/privacy_value_allow_close_friends.py +1 -1
  2372. pyrogram/raw/types/privacy_value_allow_contacts.py +1 -1
  2373. pyrogram/raw/types/privacy_value_allow_premium.py +1 -1
  2374. pyrogram/raw/types/privacy_value_allow_users.py +1 -1
  2375. pyrogram/raw/types/privacy_value_disallow_all.py +1 -1
  2376. pyrogram/raw/types/privacy_value_disallow_bots.py +1 -1
  2377. pyrogram/raw/types/privacy_value_disallow_chat_participants.py +1 -1
  2378. pyrogram/raw/types/privacy_value_disallow_contacts.py +1 -1
  2379. pyrogram/raw/types/privacy_value_disallow_users.py +1 -1
  2380. pyrogram/raw/types/public_forward_message.py +1 -1
  2381. pyrogram/raw/types/public_forward_story.py +1 -1
  2382. pyrogram/raw/types/quick_reply.py +1 -1
  2383. pyrogram/raw/types/reaction_count.py +1 -1
  2384. pyrogram/raw/types/reaction_custom_emoji.py +1 -1
  2385. pyrogram/raw/types/reaction_emoji.py +1 -1
  2386. pyrogram/raw/types/reaction_empty.py +1 -1
  2387. pyrogram/raw/types/reaction_notifications_from_all.py +1 -1
  2388. pyrogram/raw/types/reaction_notifications_from_contacts.py +1 -1
  2389. pyrogram/raw/types/reaction_paid.py +1 -1
  2390. pyrogram/raw/types/reactions_notify_settings.py +1 -1
  2391. pyrogram/raw/types/read_participant_date.py +1 -1
  2392. pyrogram/raw/types/received_notify_message.py +1 -1
  2393. pyrogram/raw/types/recent_me_url_chat.py +1 -1
  2394. pyrogram/raw/types/recent_me_url_chat_invite.py +1 -1
  2395. pyrogram/raw/types/recent_me_url_sticker_set.py +1 -1
  2396. pyrogram/raw/types/recent_me_url_unknown.py +1 -1
  2397. pyrogram/raw/types/recent_me_url_user.py +1 -1
  2398. pyrogram/raw/types/reply_inline_markup.py +1 -1
  2399. pyrogram/raw/types/reply_keyboard_force_reply.py +1 -1
  2400. pyrogram/raw/types/reply_keyboard_hide.py +1 -1
  2401. pyrogram/raw/types/reply_keyboard_markup.py +1 -1
  2402. pyrogram/raw/types/report_result_add_comment.py +1 -1
  2403. pyrogram/raw/types/report_result_choose_option.py +1 -1
  2404. pyrogram/raw/types/report_result_reported.py +1 -1
  2405. pyrogram/raw/types/request_peer_type_broadcast.py +12 -12
  2406. pyrogram/raw/types/request_peer_type_chat.py +23 -23
  2407. pyrogram/raw/types/request_peer_type_user.py +1 -1
  2408. pyrogram/raw/types/requested_peer_channel.py +1 -1
  2409. pyrogram/raw/types/requested_peer_chat.py +1 -1
  2410. pyrogram/raw/types/requested_peer_user.py +1 -1
  2411. pyrogram/raw/types/requirement_to_contact_empty.py +76 -0
  2412. pyrogram/raw/types/requirement_to_contact_paid_messages.py +81 -0
  2413. pyrogram/raw/types/requirement_to_contact_premium.py +76 -0
  2414. pyrogram/raw/types/res_pq.py +1 -1
  2415. pyrogram/raw/types/restriction_reason.py +1 -1
  2416. pyrogram/raw/types/rpc_answer_dropped.py +1 -1
  2417. pyrogram/raw/types/rpc_answer_dropped_running.py +1 -1
  2418. pyrogram/raw/types/rpc_answer_unknown.py +1 -1
  2419. pyrogram/raw/types/rpc_error.py +1 -1
  2420. pyrogram/raw/types/rpc_result.py +1 -1
  2421. pyrogram/raw/types/saved_dialog.py +1 -1
  2422. pyrogram/raw/types/saved_phone_contact.py +1 -1
  2423. pyrogram/raw/types/saved_reaction_tag.py +1 -1
  2424. pyrogram/raw/types/saved_star_gift.py +204 -0
  2425. pyrogram/raw/types/search_result_position.py +1 -1
  2426. pyrogram/raw/types/search_results_calendar_period.py +1 -1
  2427. pyrogram/raw/types/secure_credentials_encrypted.py +1 -1
  2428. pyrogram/raw/types/secure_data.py +1 -1
  2429. pyrogram/raw/types/secure_file.py +1 -1
  2430. pyrogram/raw/types/secure_file_empty.py +1 -1
  2431. pyrogram/raw/types/secure_password_kdf_algo_pbkdf2_hmacsha512iter100000.py +1 -1
  2432. pyrogram/raw/types/secure_password_kdf_algo_sha512.py +1 -1
  2433. pyrogram/raw/types/secure_password_kdf_algo_unknown.py +1 -1
  2434. pyrogram/raw/types/secure_plain_email.py +1 -1
  2435. pyrogram/raw/types/secure_plain_phone.py +1 -1
  2436. pyrogram/raw/types/secure_required_type.py +1 -1
  2437. pyrogram/raw/types/secure_required_type_one_of.py +1 -1
  2438. pyrogram/raw/types/secure_secret_settings.py +1 -1
  2439. pyrogram/raw/types/secure_value.py +1 -1
  2440. pyrogram/raw/types/secure_value_error.py +1 -1
  2441. pyrogram/raw/types/secure_value_error_data.py +1 -1
  2442. pyrogram/raw/types/secure_value_error_file.py +1 -1
  2443. pyrogram/raw/types/secure_value_error_files.py +1 -1
  2444. pyrogram/raw/types/secure_value_error_front_side.py +1 -1
  2445. pyrogram/raw/types/secure_value_error_reverse_side.py +1 -1
  2446. pyrogram/raw/types/secure_value_error_selfie.py +1 -1
  2447. pyrogram/raw/types/secure_value_error_translation_file.py +1 -1
  2448. pyrogram/raw/types/secure_value_error_translation_files.py +1 -1
  2449. pyrogram/raw/types/secure_value_hash.py +1 -1
  2450. pyrogram/raw/types/secure_value_type_address.py +1 -1
  2451. pyrogram/raw/types/secure_value_type_bank_statement.py +1 -1
  2452. pyrogram/raw/types/secure_value_type_driver_license.py +1 -1
  2453. pyrogram/raw/types/secure_value_type_email.py +1 -1
  2454. pyrogram/raw/types/secure_value_type_identity_card.py +1 -1
  2455. pyrogram/raw/types/secure_value_type_internal_passport.py +1 -1
  2456. pyrogram/raw/types/secure_value_type_passport.py +1 -1
  2457. pyrogram/raw/types/secure_value_type_passport_registration.py +1 -1
  2458. pyrogram/raw/types/secure_value_type_personal_details.py +1 -1
  2459. pyrogram/raw/types/secure_value_type_phone.py +1 -1
  2460. pyrogram/raw/types/secure_value_type_rental_agreement.py +1 -1
  2461. pyrogram/raw/types/secure_value_type_temporary_registration.py +1 -1
  2462. pyrogram/raw/types/secure_value_type_utility_bill.py +1 -1
  2463. pyrogram/raw/types/send_as_peer.py +1 -1
  2464. pyrogram/raw/types/send_message_cancel_action.py +1 -1
  2465. pyrogram/raw/types/send_message_choose_contact_action.py +1 -1
  2466. pyrogram/raw/types/send_message_choose_sticker_action.py +1 -1
  2467. pyrogram/raw/types/send_message_emoji_interaction.py +1 -1
  2468. pyrogram/raw/types/send_message_emoji_interaction_seen.py +1 -1
  2469. pyrogram/raw/types/send_message_game_play_action.py +1 -1
  2470. pyrogram/raw/types/send_message_geo_location_action.py +1 -1
  2471. pyrogram/raw/types/send_message_history_import_action.py +1 -1
  2472. pyrogram/raw/types/send_message_record_audio_action.py +1 -1
  2473. pyrogram/raw/types/send_message_record_round_action.py +1 -1
  2474. pyrogram/raw/types/send_message_record_video_action.py +1 -1
  2475. pyrogram/raw/types/send_message_typing_action.py +1 -1
  2476. pyrogram/raw/types/send_message_upload_audio_action.py +1 -1
  2477. pyrogram/raw/types/send_message_upload_document_action.py +1 -1
  2478. pyrogram/raw/types/send_message_upload_photo_action.py +1 -1
  2479. pyrogram/raw/types/send_message_upload_round_action.py +1 -1
  2480. pyrogram/raw/types/send_message_upload_video_action.py +1 -1
  2481. pyrogram/raw/types/server_dh_inner_data.py +1 -1
  2482. pyrogram/raw/types/server_dh_params_fail.py +1 -1
  2483. pyrogram/raw/types/server_dh_params_ok.py +1 -1
  2484. pyrogram/raw/types/shipping_option.py +1 -1
  2485. pyrogram/raw/types/sms_job.py +1 -1
  2486. pyrogram/raw/types/smsjobs/eligible_to_join.py +1 -1
  2487. pyrogram/raw/types/smsjobs/status.py +1 -1
  2488. pyrogram/raw/types/speaking_in_group_call_action.py +1 -1
  2489. pyrogram/raw/types/sponsored_message.py +1 -1
  2490. pyrogram/raw/types/sponsored_message_report_option.py +1 -1
  2491. pyrogram/raw/types/sponsored_peer.py +100 -0
  2492. pyrogram/raw/types/star_gift.py +48 -6
  2493. pyrogram/raw/types/star_gift_attribute_backdrop.py +120 -0
  2494. pyrogram/raw/types/{channel_admin_log_event_action_change_background_emoji.py → star_gift_attribute_counter.py} +18 -18
  2495. pyrogram/raw/types/star_gift_attribute_id_backdrop.py +72 -0
  2496. pyrogram/raw/types/{emoji_status_until.py → star_gift_attribute_id_model.py} +10 -18
  2497. pyrogram/raw/types/star_gift_attribute_id_pattern.py +72 -0
  2498. pyrogram/raw/types/star_gift_attribute_model.py +88 -0
  2499. pyrogram/raw/types/star_gift_attribute_original_details.py +102 -0
  2500. pyrogram/raw/types/star_gift_attribute_pattern.py +88 -0
  2501. pyrogram/raw/types/star_gift_unique.py +168 -0
  2502. pyrogram/raw/types/star_ref_program.py +119 -0
  2503. pyrogram/raw/types/stars_amount.py +80 -0
  2504. pyrogram/raw/types/stars_gift_option.py +1 -1
  2505. pyrogram/raw/types/stars_giveaway_option.py +1 -1
  2506. pyrogram/raw/types/stars_giveaway_winners_option.py +1 -1
  2507. pyrogram/raw/types/stars_revenue_status.py +16 -16
  2508. pyrogram/raw/types/stars_subscription.py +1 -1
  2509. pyrogram/raw/types/stars_subscription_pricing.py +1 -1
  2510. pyrogram/raw/types/stars_topup_option.py +1 -1
  2511. pyrogram/raw/types/stars_transaction.py +88 -11
  2512. pyrogram/raw/types/stars_transaction_peer.py +1 -1
  2513. pyrogram/raw/types/stars_transaction_peer_ads.py +1 -1
  2514. pyrogram/raw/types/stars_transaction_peer_api.py +1 -1
  2515. pyrogram/raw/types/stars_transaction_peer_app_store.py +1 -1
  2516. pyrogram/raw/types/stars_transaction_peer_fragment.py +1 -1
  2517. pyrogram/raw/types/stars_transaction_peer_play_market.py +1 -1
  2518. pyrogram/raw/types/stars_transaction_peer_premium_bot.py +1 -1
  2519. pyrogram/raw/types/stars_transaction_peer_unsupported.py +1 -1
  2520. pyrogram/raw/types/stats/broadcast_revenue_stats.py +1 -1
  2521. pyrogram/raw/types/stats/broadcast_revenue_transactions.py +1 -1
  2522. pyrogram/raw/types/stats/broadcast_revenue_withdrawal_url.py +1 -1
  2523. pyrogram/raw/types/stats/broadcast_stats.py +1 -1
  2524. pyrogram/raw/types/stats/megagroup_stats.py +1 -1
  2525. pyrogram/raw/types/stats/message_stats.py +1 -1
  2526. pyrogram/raw/types/stats/public_forwards.py +1 -1
  2527. pyrogram/raw/types/stats/story_stats.py +1 -1
  2528. pyrogram/raw/types/stats_abs_value_and_prev.py +1 -1
  2529. pyrogram/raw/types/stats_date_range_days.py +1 -1
  2530. pyrogram/raw/types/stats_graph.py +1 -1
  2531. pyrogram/raw/types/stats_graph_async.py +1 -1
  2532. pyrogram/raw/types/stats_graph_error.py +1 -1
  2533. pyrogram/raw/types/stats_group_top_admin.py +1 -1
  2534. pyrogram/raw/types/stats_group_top_inviter.py +1 -1
  2535. pyrogram/raw/types/stats_group_top_poster.py +1 -1
  2536. pyrogram/raw/types/stats_percent_value.py +1 -1
  2537. pyrogram/raw/types/stats_url.py +1 -1
  2538. pyrogram/raw/types/sticker_keyword.py +1 -1
  2539. pyrogram/raw/types/sticker_pack.py +1 -1
  2540. pyrogram/raw/types/sticker_set.py +1 -1
  2541. pyrogram/raw/types/sticker_set_covered.py +1 -1
  2542. pyrogram/raw/types/sticker_set_full_covered.py +1 -1
  2543. pyrogram/raw/types/sticker_set_multi_covered.py +1 -1
  2544. pyrogram/raw/types/sticker_set_no_covered.py +1 -1
  2545. pyrogram/raw/types/stickers/suggested_short_name.py +1 -1
  2546. pyrogram/raw/types/storage/file_gif.py +1 -1
  2547. pyrogram/raw/types/storage/file_jpeg.py +1 -1
  2548. pyrogram/raw/types/storage/file_mov.py +1 -1
  2549. pyrogram/raw/types/storage/file_mp3.py +1 -1
  2550. pyrogram/raw/types/storage/file_mp4.py +1 -1
  2551. pyrogram/raw/types/storage/file_partial.py +1 -1
  2552. pyrogram/raw/types/storage/file_pdf.py +1 -1
  2553. pyrogram/raw/types/storage/file_png.py +1 -1
  2554. pyrogram/raw/types/storage/file_unknown.py +1 -1
  2555. pyrogram/raw/types/storage/file_webp.py +1 -1
  2556. pyrogram/raw/types/stories/__init__.py +1 -0
  2557. pyrogram/raw/types/stories/all_stories.py +1 -1
  2558. pyrogram/raw/types/stories/all_stories_not_modified.py +1 -1
  2559. pyrogram/raw/types/stories/can_send_story_count.py +81 -0
  2560. pyrogram/raw/types/stories/found_stories.py +1 -1
  2561. pyrogram/raw/types/stories/peer_stories.py +1 -1
  2562. pyrogram/raw/types/stories/stories.py +1 -1
  2563. pyrogram/raw/types/stories/story_reactions_list.py +1 -1
  2564. pyrogram/raw/types/stories/story_views.py +1 -1
  2565. pyrogram/raw/types/stories/story_views_list.py +1 -1
  2566. pyrogram/raw/types/stories_stealth_mode.py +1 -1
  2567. pyrogram/raw/types/story_fwd_header.py +1 -1
  2568. pyrogram/raw/types/story_item.py +1 -1
  2569. pyrogram/raw/types/story_item_deleted.py +1 -1
  2570. pyrogram/raw/types/story_item_skipped.py +1 -1
  2571. pyrogram/raw/types/story_reaction.py +1 -1
  2572. pyrogram/raw/types/story_reaction_public_forward.py +1 -1
  2573. pyrogram/raw/types/story_reaction_public_repost.py +1 -1
  2574. pyrogram/raw/types/story_view.py +1 -1
  2575. pyrogram/raw/types/story_view_public_forward.py +1 -1
  2576. pyrogram/raw/types/story_view_public_repost.py +1 -1
  2577. pyrogram/raw/types/story_views.py +1 -1
  2578. pyrogram/raw/types/text_anchor.py +1 -1
  2579. pyrogram/raw/types/text_bold.py +1 -1
  2580. pyrogram/raw/types/text_concat.py +1 -1
  2581. pyrogram/raw/types/text_email.py +1 -1
  2582. pyrogram/raw/types/text_empty.py +1 -1
  2583. pyrogram/raw/types/text_fixed.py +1 -1
  2584. pyrogram/raw/types/text_image.py +1 -1
  2585. pyrogram/raw/types/text_italic.py +1 -1
  2586. pyrogram/raw/types/text_marked.py +1 -1
  2587. pyrogram/raw/types/text_phone.py +1 -1
  2588. pyrogram/raw/types/text_plain.py +1 -1
  2589. pyrogram/raw/types/text_strike.py +1 -1
  2590. pyrogram/raw/types/text_subscript.py +1 -1
  2591. pyrogram/raw/types/text_superscript.py +1 -1
  2592. pyrogram/raw/types/text_underline.py +1 -1
  2593. pyrogram/raw/types/text_url.py +1 -1
  2594. pyrogram/raw/types/text_with_entities.py +1 -1
  2595. pyrogram/raw/types/theme.py +1 -1
  2596. pyrogram/raw/types/theme_settings.py +1 -1
  2597. pyrogram/raw/types/timezone.py +1 -1
  2598. pyrogram/raw/types/top_peer.py +1 -1
  2599. pyrogram/raw/types/top_peer_category_bots_app.py +1 -1
  2600. pyrogram/raw/types/top_peer_category_bots_inline.py +1 -1
  2601. pyrogram/raw/types/top_peer_category_bots_pm.py +1 -1
  2602. pyrogram/raw/types/top_peer_category_channels.py +1 -1
  2603. pyrogram/raw/types/top_peer_category_correspondents.py +1 -1
  2604. pyrogram/raw/types/top_peer_category_forward_chats.py +1 -1
  2605. pyrogram/raw/types/top_peer_category_forward_users.py +1 -1
  2606. pyrogram/raw/types/top_peer_category_groups.py +1 -1
  2607. pyrogram/raw/types/top_peer_category_peers.py +1 -1
  2608. pyrogram/raw/types/top_peer_category_phone_calls.py +1 -1
  2609. pyrogram/raw/types/update_attach_menu_bots.py +1 -1
  2610. pyrogram/raw/types/update_auto_save_settings.py +1 -1
  2611. pyrogram/raw/types/update_bot_business_connect.py +1 -1
  2612. pyrogram/raw/types/update_bot_callback_query.py +1 -1
  2613. pyrogram/raw/types/update_bot_chat_boost.py +1 -1
  2614. pyrogram/raw/types/update_bot_chat_invite_requester.py +1 -1
  2615. pyrogram/raw/types/update_bot_commands.py +1 -1
  2616. pyrogram/raw/types/update_bot_delete_business_message.py +1 -1
  2617. pyrogram/raw/types/update_bot_edit_business_message.py +1 -1
  2618. pyrogram/raw/types/update_bot_inline_query.py +1 -1
  2619. pyrogram/raw/types/update_bot_inline_send.py +1 -1
  2620. pyrogram/raw/types/update_bot_menu_button.py +1 -1
  2621. pyrogram/raw/types/update_bot_message_reaction.py +1 -1
  2622. pyrogram/raw/types/update_bot_message_reactions.py +1 -1
  2623. pyrogram/raw/types/update_bot_new_business_message.py +1 -1
  2624. pyrogram/raw/types/update_bot_precheckout_query.py +1 -1
  2625. pyrogram/raw/types/update_bot_purchased_paid_media.py +1 -1
  2626. pyrogram/raw/types/update_bot_shipping_query.py +1 -1
  2627. pyrogram/raw/types/update_bot_stopped.py +1 -1
  2628. pyrogram/raw/types/update_bot_subscription_expire.py +1 -1
  2629. pyrogram/raw/types/update_bot_webhook_json.py +1 -1
  2630. pyrogram/raw/types/update_bot_webhook_json_query.py +1 -1
  2631. pyrogram/raw/types/update_broadcast_revenue_transactions.py +1 -1
  2632. pyrogram/raw/types/update_business_bot_callback_query.py +1 -1
  2633. pyrogram/raw/types/update_channel.py +1 -1
  2634. pyrogram/raw/types/update_channel_available_messages.py +1 -1
  2635. pyrogram/raw/types/update_channel_message_forwards.py +1 -1
  2636. pyrogram/raw/types/update_channel_message_views.py +1 -1
  2637. pyrogram/raw/types/update_channel_participant.py +1 -1
  2638. pyrogram/raw/types/update_channel_pinned_topic.py +1 -1
  2639. pyrogram/raw/types/update_channel_pinned_topics.py +1 -1
  2640. pyrogram/raw/types/update_channel_read_messages_contents.py +1 -1
  2641. pyrogram/raw/types/update_channel_too_long.py +1 -1
  2642. pyrogram/raw/types/update_channel_user_typing.py +1 -1
  2643. pyrogram/raw/types/update_channel_view_forum_as_messages.py +1 -1
  2644. pyrogram/raw/types/update_channel_web_page.py +1 -1
  2645. pyrogram/raw/types/update_chat.py +1 -1
  2646. pyrogram/raw/types/update_chat_default_banned_rights.py +1 -1
  2647. pyrogram/raw/types/update_chat_participant.py +1 -1
  2648. pyrogram/raw/types/update_chat_participant_add.py +1 -1
  2649. pyrogram/raw/types/update_chat_participant_admin.py +1 -1
  2650. pyrogram/raw/types/update_chat_participant_delete.py +1 -1
  2651. pyrogram/raw/types/update_chat_participants.py +1 -1
  2652. pyrogram/raw/types/update_chat_user_typing.py +1 -1
  2653. pyrogram/raw/types/update_config.py +1 -1
  2654. pyrogram/raw/types/update_contacts_reset.py +1 -1
  2655. pyrogram/raw/types/update_dc_options.py +1 -1
  2656. pyrogram/raw/types/update_delete_channel_messages.py +1 -1
  2657. pyrogram/raw/types/update_delete_messages.py +1 -1
  2658. pyrogram/raw/types/update_delete_quick_reply.py +1 -1
  2659. pyrogram/raw/types/update_delete_quick_reply_messages.py +1 -1
  2660. pyrogram/raw/types/update_delete_scheduled_messages.py +1 -1
  2661. pyrogram/raw/types/update_dialog_filter.py +1 -1
  2662. pyrogram/raw/types/update_dialog_filter_order.py +1 -1
  2663. pyrogram/raw/types/update_dialog_filters.py +1 -1
  2664. pyrogram/raw/types/update_dialog_pinned.py +1 -1
  2665. pyrogram/raw/types/update_dialog_unread_mark.py +1 -1
  2666. pyrogram/raw/types/update_draft_message.py +1 -1
  2667. pyrogram/raw/types/update_edit_channel_message.py +1 -1
  2668. pyrogram/raw/types/update_edit_message.py +1 -1
  2669. pyrogram/raw/types/update_encrypted_chat_typing.py +1 -1
  2670. pyrogram/raw/types/update_encrypted_messages_read.py +1 -1
  2671. pyrogram/raw/types/update_encryption.py +1 -1
  2672. pyrogram/raw/types/update_faved_stickers.py +1 -1
  2673. pyrogram/raw/types/update_folder_peers.py +1 -1
  2674. pyrogram/raw/types/update_geo_live_viewed.py +1 -1
  2675. pyrogram/raw/types/update_group_call.py +16 -13
  2676. pyrogram/raw/types/{update_user_photo.py → update_group_call_chain_blocks.py} +25 -25
  2677. pyrogram/raw/types/update_group_call_connection.py +1 -1
  2678. pyrogram/raw/types/update_group_call_participants.py +1 -1
  2679. pyrogram/raw/types/update_inline_bot_callback_query.py +1 -1
  2680. pyrogram/raw/types/update_lang_pack.py +1 -1
  2681. pyrogram/raw/types/update_lang_pack_too_long.py +1 -1
  2682. pyrogram/raw/types/update_login_token.py +1 -1
  2683. pyrogram/raw/types/update_message_extended_media.py +1 -1
  2684. pyrogram/raw/types/update_message_id.py +1 -1
  2685. pyrogram/raw/types/update_message_poll.py +1 -1
  2686. pyrogram/raw/types/update_message_poll_vote.py +1 -1
  2687. pyrogram/raw/types/update_message_reactions.py +1 -1
  2688. pyrogram/raw/types/update_move_sticker_set_to_top.py +1 -1
  2689. pyrogram/raw/types/update_new_authorization.py +1 -1
  2690. pyrogram/raw/types/update_new_channel_message.py +1 -1
  2691. pyrogram/raw/types/update_new_encrypted_message.py +1 -1
  2692. pyrogram/raw/types/update_new_message.py +1 -1
  2693. pyrogram/raw/types/update_new_quick_reply.py +1 -1
  2694. pyrogram/raw/types/update_new_scheduled_message.py +1 -1
  2695. pyrogram/raw/types/update_new_sticker_set.py +1 -1
  2696. pyrogram/raw/types/update_new_story_reaction.py +1 -1
  2697. pyrogram/raw/types/update_notify_settings.py +1 -1
  2698. pyrogram/raw/types/update_paid_reaction_privacy.py +8 -8
  2699. pyrogram/raw/types/update_peer_blocked.py +1 -1
  2700. pyrogram/raw/types/update_peer_history_ttl.py +1 -1
  2701. pyrogram/raw/types/update_peer_located.py +1 -1
  2702. pyrogram/raw/types/update_peer_settings.py +1 -1
  2703. pyrogram/raw/types/update_peer_wallpaper.py +1 -1
  2704. pyrogram/raw/types/update_pending_join_requests.py +1 -1
  2705. pyrogram/raw/types/update_phone_call.py +1 -1
  2706. pyrogram/raw/types/update_phone_call_signaling_data.py +1 -1
  2707. pyrogram/raw/types/update_pinned_channel_messages.py +1 -1
  2708. pyrogram/raw/types/update_pinned_dialogs.py +1 -1
  2709. pyrogram/raw/types/update_pinned_messages.py +1 -1
  2710. pyrogram/raw/types/update_pinned_saved_dialogs.py +1 -1
  2711. pyrogram/raw/types/update_privacy.py +1 -1
  2712. pyrogram/raw/types/update_pts_changed.py +1 -1
  2713. pyrogram/raw/types/update_quick_replies.py +1 -1
  2714. pyrogram/raw/types/update_quick_reply_message.py +1 -1
  2715. pyrogram/raw/types/update_read_channel_discussion_inbox.py +1 -1
  2716. pyrogram/raw/types/update_read_channel_discussion_outbox.py +1 -1
  2717. pyrogram/raw/types/update_read_channel_inbox.py +1 -1
  2718. pyrogram/raw/types/update_read_channel_outbox.py +1 -1
  2719. pyrogram/raw/types/update_read_featured_emoji_stickers.py +1 -1
  2720. pyrogram/raw/types/update_read_featured_stickers.py +1 -1
  2721. pyrogram/raw/types/update_read_history_inbox.py +1 -1
  2722. pyrogram/raw/types/update_read_history_outbox.py +1 -1
  2723. pyrogram/raw/types/update_read_messages_contents.py +1 -1
  2724. pyrogram/raw/types/update_read_stories.py +1 -1
  2725. pyrogram/raw/types/update_recent_emoji_statuses.py +1 -1
  2726. pyrogram/raw/types/update_recent_reactions.py +1 -1
  2727. pyrogram/raw/types/update_recent_stickers.py +1 -1
  2728. pyrogram/raw/types/update_saved_dialog_pinned.py +1 -1
  2729. pyrogram/raw/types/update_saved_gifs.py +1 -1
  2730. pyrogram/raw/types/update_saved_reaction_tags.py +1 -1
  2731. pyrogram/raw/types/update_saved_ringtones.py +1 -1
  2732. pyrogram/raw/types/update_sent_phone_code.py +72 -0
  2733. pyrogram/raw/types/update_sent_story_reaction.py +1 -1
  2734. pyrogram/raw/types/update_service_notification.py +1 -1
  2735. pyrogram/raw/types/update_short.py +13 -3
  2736. pyrogram/raw/types/update_short_chat_message.py +13 -3
  2737. pyrogram/raw/types/update_short_message.py +13 -3
  2738. pyrogram/raw/types/update_short_sent_message.py +13 -3
  2739. pyrogram/raw/types/update_sms_job.py +1 -1
  2740. pyrogram/raw/types/update_stars_balance.py +8 -8
  2741. pyrogram/raw/types/update_stars_revenue_status.py +1 -1
  2742. pyrogram/raw/types/update_sticker_sets.py +1 -1
  2743. pyrogram/raw/types/update_sticker_sets_order.py +1 -1
  2744. pyrogram/raw/types/update_stories_stealth_mode.py +1 -1
  2745. pyrogram/raw/types/update_story.py +1 -1
  2746. pyrogram/raw/types/update_story_id.py +1 -1
  2747. pyrogram/raw/types/update_theme.py +1 -1
  2748. pyrogram/raw/types/update_transcribe_audio.py +1 -1
  2749. pyrogram/raw/types/update_transcribed_audio.py +1 -1
  2750. pyrogram/raw/types/update_user.py +1 -1
  2751. pyrogram/raw/types/update_user_emoji_status.py +1 -1
  2752. pyrogram/raw/types/update_user_name.py +1 -1
  2753. pyrogram/raw/types/update_user_phone.py +1 -1
  2754. pyrogram/raw/types/update_user_status.py +1 -1
  2755. pyrogram/raw/types/update_user_typing.py +1 -1
  2756. pyrogram/raw/types/update_web_page.py +1 -1
  2757. pyrogram/raw/types/update_web_view_result_sent.py +1 -1
  2758. pyrogram/raw/types/updates/channel_difference.py +1 -1
  2759. pyrogram/raw/types/updates/channel_difference_empty.py +1 -1
  2760. pyrogram/raw/types/updates/channel_difference_too_long.py +1 -1
  2761. pyrogram/raw/types/updates/difference.py +1 -1
  2762. pyrogram/raw/types/updates/difference_empty.py +1 -1
  2763. pyrogram/raw/types/updates/difference_slice.py +1 -1
  2764. pyrogram/raw/types/updates/difference_too_long.py +1 -1
  2765. pyrogram/raw/types/updates/state.py +1 -1
  2766. pyrogram/raw/types/updates_combined.py +13 -3
  2767. pyrogram/raw/types/updates_t.py +13 -3
  2768. pyrogram/raw/types/updates_too_long.py +13 -3
  2769. pyrogram/raw/types/upload/cdn_file.py +1 -1
  2770. pyrogram/raw/types/upload/cdn_file_reupload_needed.py +1 -1
  2771. pyrogram/raw/types/upload/file.py +1 -1
  2772. pyrogram/raw/types/upload/file_cdn_redirect.py +1 -1
  2773. pyrogram/raw/types/upload/web_file.py +1 -1
  2774. pyrogram/raw/types/url_auth_result_accepted.py +1 -1
  2775. pyrogram/raw/types/url_auth_result_default.py +1 -1
  2776. pyrogram/raw/types/url_auth_result_request.py +1 -1
  2777. pyrogram/raw/types/user.py +26 -7
  2778. pyrogram/raw/types/user_empty.py +3 -2
  2779. pyrogram/raw/types/user_full.py +51 -16
  2780. pyrogram/raw/types/user_profile_photo.py +1 -1
  2781. pyrogram/raw/types/user_profile_photo_empty.py +1 -1
  2782. pyrogram/raw/types/user_status_empty.py +1 -1
  2783. pyrogram/raw/types/user_status_hidden.py +1 -1
  2784. pyrogram/raw/types/user_status_last_month.py +1 -1
  2785. pyrogram/raw/types/user_status_last_week.py +1 -1
  2786. pyrogram/raw/types/user_status_offline.py +1 -1
  2787. pyrogram/raw/types/user_status_online.py +1 -1
  2788. pyrogram/raw/types/user_status_recently.py +1 -1
  2789. pyrogram/raw/types/username.py +1 -1
  2790. pyrogram/raw/types/users/__init__.py +2 -0
  2791. pyrogram/raw/types/users/user_full.py +1 -1
  2792. pyrogram/raw/types/users/users.py +81 -0
  2793. pyrogram/raw/types/users/users_slice.py +89 -0
  2794. pyrogram/raw/types/video_size.py +1 -1
  2795. pyrogram/raw/types/video_size_emoji_markup.py +1 -1
  2796. pyrogram/raw/types/video_size_sticker_markup.py +1 -1
  2797. pyrogram/raw/types/wall_paper.py +1 -1
  2798. pyrogram/raw/types/wall_paper_no_file.py +1 -1
  2799. pyrogram/raw/types/wall_paper_settings.py +1 -1
  2800. pyrogram/raw/types/web_authorization.py +1 -1
  2801. pyrogram/raw/types/web_document.py +1 -1
  2802. pyrogram/raw/types/web_document_no_proxy.py +1 -1
  2803. pyrogram/raw/types/web_page.py +10 -4
  2804. pyrogram/raw/types/web_page_attribute_sticker_set.py +1 -1
  2805. pyrogram/raw/types/web_page_attribute_story.py +1 -1
  2806. pyrogram/raw/types/web_page_attribute_theme.py +1 -1
  2807. pyrogram/raw/types/web_page_attribute_unique_star_gift.py +72 -0
  2808. pyrogram/raw/types/web_page_empty.py +1 -1
  2809. pyrogram/raw/types/web_page_not_modified.py +1 -1
  2810. pyrogram/raw/types/web_page_pending.py +1 -1
  2811. pyrogram/raw/types/web_page_url_pending.py +1 -1
  2812. pyrogram/raw/types/web_view_message_sent.py +1 -1
  2813. pyrogram/raw/types/web_view_result_url.py +1 -1
  2814. pyrogram/types/messages_and_media/reaction.py +6 -13
  2815. pyrogram/types/user_and_chats/emoji_status.py +61 -11
  2816. {pyrogrammod-2.1.5.dist-info → pyrogrammod-2.2.0.dist-info}/METADATA +18 -5
  2817. pyrogrammod-2.2.0.dist-info/RECORD +3269 -0
  2818. {pyrogrammod-2.1.5.dist-info → pyrogrammod-2.2.0.dist-info}/WHEEL +1 -1
  2819. pyrogram/raw/base/payments/user_star_gifts.py +0 -63
  2820. pyrogram/raw/types/user_star_gift.py +0 -131
  2821. pyrogrammod-2.1.5.dist-info/RECORD +0 -3158
  2822. {pyrogrammod-2.1.5.dist-info → pyrogrammod-2.2.0.dist-info/licenses}/COPYING +0 -0
  2823. {pyrogrammod-2.1.5.dist-info → pyrogrammod-2.2.0.dist-info/licenses}/COPYING.lesser +0 -0
  2824. {pyrogrammod-2.1.5.dist-info → pyrogrammod-2.2.0.dist-info/licenses}/NOTICE +0 -0
  2825. {pyrogrammod-2.1.5.dist-info → pyrogrammod-2.2.0.dist-info}/top_level.txt +0 -0
@@ -16,11 +16,11 @@
16
16
  # You should have received a copy of the GNU Lesser General Public License
17
17
  # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
18
18
 
19
- count = 2174
19
+ count = 2208
20
20
 
21
21
  exceptions = {
22
- 400: {
23
- "_": "BadRequest",
22
+ 406: {
23
+ "_": "NotAcceptable",
24
24
  "2FA_CONFIRM_WAIT_X": "TwoFaConfirmWait",
25
25
  "ABOUT_TOO_LONG": "AboutTooLong",
26
26
  "ACCESS_TOKEN_EXPIRED": "AccessTokenExpired",
@@ -31,96 +31,83 @@ exceptions = {
31
31
  "ADMIN_RANK_EMOJI_NOT_ALLOWED": "AdminRankEmojiNotAllowed",
32
32
  "ADMIN_RANK_INVALID": "AdminRankInvalid",
33
33
  "ADMIN_RIGHTS_EMPTY": "AdminRightsEmpty",
34
- "AD_EXPIRED": "AdExpired",
35
34
  "ALBUM_PHOTOS_TOO_MANY": "AlbumPhotosTooMany",
35
+ "ANONYMOUS_REACTIONS_DISABLED": "AnonymousReactionsDisabled",
36
36
  "API_ID_INVALID": "ApiIdInvalid",
37
37
  "API_ID_PUBLISHED_FLOOD": "ApiIdPublishedFlood",
38
38
  "ARTICLE_TITLE_EMPTY": "ArticleTitleEmpty",
39
39
  "AUDIO_CONTENT_URL_EMPTY": "AudioContentUrlEmpty",
40
40
  "AUDIO_TITLE_EMPTY": "AudioTitleEmpty",
41
41
  "AUTH_BYTES_INVALID": "AuthBytesInvalid",
42
+ "AUTH_KEY_DUPLICATED": "AuthKeyDuplicated",
43
+ "AUTH_RESTART": "AuthRestart",
42
44
  "AUTH_TOKEN_ALREADY_ACCEPTED": "AuthTokenAlreadyAccepted",
43
45
  "AUTH_TOKEN_EXCEPTION": "AuthTokenException",
44
46
  "AUTH_TOKEN_EXPIRED": "AuthTokenExpired",
45
47
  "AUTH_TOKEN_INVALID": "AuthTokenInvalid",
46
48
  "AUTH_TOKEN_INVALIDX": "AuthTokenInvalidx",
47
49
  "AUTOARCHIVE_NOT_AVAILABLE": "AutoarchiveNotAvailable",
48
- "BALANCE_TOO_LOW": "BalanceTooLow",
49
50
  "BANK_CARD_NUMBER_INVALID": "BankCardNumberInvalid",
50
51
  "BANNED_RIGHTS_INVALID": "BannedRightsInvalid",
51
- "BASE_PORT_LOC_INVALID": "BasePortLocInvalid",
52
- "BIRTHDAY_INVALID": "BirthdayInvalid",
53
52
  "BOOSTS_EMPTY": "BoostsEmpty",
54
53
  "BOOSTS_REQUIRED": "BoostsRequired",
55
54
  "BOOST_NOT_MODIFIED": "BoostNotModified",
56
55
  "BOOST_PEER_INVALID": "BoostPeerInvalid",
57
56
  "BOTS_TOO_MUCH": "BotsTooMuch",
58
- "BOT_ALREADY_DISABLED": "BotAlreadyDisabled",
59
- "BOT_APP_BOT_INVALID": "BotAppBotInvalid",
60
57
  "BOT_APP_INVALID": "BotAppInvalid",
61
58
  "BOT_APP_SHORTNAME_INVALID": "BotAppShortnameInvalid",
62
- "BOT_BUSINESS_MISSING": "BotBusinessMissing",
63
59
  "BOT_CHANNELS_NA": "BotChannelsNa",
64
60
  "BOT_COMMAND_DESCRIPTION_INVALID": "BotCommandDescriptionInvalid",
65
61
  "BOT_COMMAND_INVALID": "BotCommandInvalid",
66
62
  "BOT_DOMAIN_INVALID": "BotDomainInvalid",
67
- "BOT_GAMES_DISABLED": "BotGamesDisabled",
68
63
  "BOT_GROUPS_BLOCKED": "BotGroupsBlocked",
69
64
  "BOT_INLINE_DISABLED": "BotInlineDisabled",
70
65
  "BOT_INVALID": "BotInvalid",
71
- "BOT_METHOD_INVALID": "BotMethodInvalid",
72
66
  "BOT_MISSING": "BotMissing",
73
- "BOT_NOT_CONNECTED_YET": "BotNotConnectedYet",
74
67
  "BOT_ONESIDE_NOT_AVAIL": "BotOnesideNotAvail",
75
68
  "BOT_PAYMENTS_DISABLED": "BotPaymentsDisabled",
76
- "BOT_POLLS_DISABLED": "BotPollsDisabled",
77
69
  "BOT_RESPONSE_TIMEOUT": "BotResponseTimeout",
78
70
  "BOT_SCORE_NOT_MODIFIED": "BotScoreNotModified",
79
71
  "BOT_WEBVIEW_DISABLED": "BotWebviewDisabled",
72
+ "BROADCAST_FORBIDDEN": "BroadcastForbidden",
80
73
  "BROADCAST_ID_INVALID": "BroadcastIdInvalid",
81
74
  "BROADCAST_PUBLIC_VOTERS_FORBIDDEN": "BroadcastPublicVotersForbidden",
82
75
  "BROADCAST_REQUIRED": "BroadcastRequired",
83
- "BUSINESS_PEER_INVALID": "BusinessPeerInvalid",
84
- "BUSINESS_RECIPIENTS_EMPTY": "BusinessRecipientsEmpty",
85
- "BUSINESS_WORK_HOURS_EMPTY": "BusinessWorkHoursEmpty",
86
- "BUSINESS_WORK_HOURS_PERIOD_INVALID": "BusinessWorkHoursPeriodInvalid",
76
+ "BUSINESS_ADDRESS_ACTIVE": "BusinessAddressActive",
87
77
  "BUTTON_DATA_INVALID": "ButtonDataInvalid",
88
- "BUTTON_ID_INVALID": "ButtonIdInvalid",
89
- "BUTTON_POS_INVALID": "ButtonPosInvalid",
90
78
  "BUTTON_TEXT_INVALID": "ButtonTextInvalid",
91
79
  "BUTTON_TYPE_INVALID": "ButtonTypeInvalid",
92
80
  "BUTTON_URL_INVALID": "ButtonUrlInvalid",
93
- "BUTTON_USER_INVALID": "ButtonUserInvalid",
94
81
  "BUTTON_USER_PRIVACY_RESTRICTED": "ButtonUserPrivacyRestricted",
95
82
  "CALL_ALREADY_ACCEPTED": "CallAlreadyAccepted",
96
83
  "CALL_ALREADY_DECLINED": "CallAlreadyDeclined",
97
84
  "CALL_OCCUPY_FAILED": "CallOccupyFailed",
98
85
  "CALL_PEER_INVALID": "CallPeerInvalid",
86
+ "CALL_PROTOCOL_COMPAT_LAYER_INVALID": "CallProtocolCompatLayerInvalid",
99
87
  "CALL_PROTOCOL_FLAGS_INVALID": "CallProtocolFlagsInvalid",
100
88
  "CDN_METHOD_INVALID": "CdnMethodInvalid",
89
+ "CDN_UPLOAD_TIMEOUT": "CdnUploadTimeout",
101
90
  "CHANNELS_ADMIN_LOCATED_TOO_MUCH": "ChannelsAdminLocatedTooMuch",
102
91
  "CHANNELS_ADMIN_PUBLIC_TOO_MUCH": "ChannelsAdminPublicTooMuch",
103
92
  "CHANNELS_TOO_MUCH": "ChannelsTooMuch",
104
- "CHANNEL_ADD_INVALID": "ChannelAddInvalid",
105
- "CHANNEL_BANNED": "ChannelBanned",
106
93
  "CHANNEL_FORUM_MISSING": "ChannelForumMissing",
107
94
  "CHANNEL_ID_INVALID": "ChannelIdInvalid",
108
95
  "CHANNEL_INVALID": "ChannelInvalid",
109
96
  "CHANNEL_PARICIPANT_MISSING": "ChannelParicipantMissing",
110
97
  "CHANNEL_PRIVATE": "ChannelPrivate",
98
+ "CHANNEL_PUBLIC_GROUP_NA": "ChannelPublicGroupNa",
111
99
  "CHANNEL_TOO_BIG": "ChannelTooBig",
112
100
  "CHANNEL_TOO_LARGE": "ChannelTooLarge",
113
- "CHARGE_ALREADY_REFUNDED": "ChargeAlreadyRefunded",
114
- "CHATLINKS_TOO_MUCH": "ChatlinksTooMuch",
115
- "CHATLINK_SLUG_EMPTY": "ChatlinkSlugEmpty",
116
- "CHATLINK_SLUG_EXPIRED": "ChatlinkSlugExpired",
117
101
  "CHATLIST_EXCLUDE_INVALID": "ChatlistExcludeInvalid",
118
102
  "CHAT_ABOUT_NOT_MODIFIED": "ChatAboutNotModified",
119
103
  "CHAT_ABOUT_TOO_LONG": "ChatAboutTooLong",
104
+ "CHAT_ADMIN_INVITE_REQUIRED": "ChatAdminInviteRequired",
120
105
  "CHAT_ADMIN_REQUIRED": "ChatAdminRequired",
121
106
  "CHAT_DISCUSSION_UNALLOWED": "ChatDiscussionUnallowed",
122
107
  "CHAT_FORWARDS_RESTRICTED": "ChatForwardsRestricted",
108
+ "CHAT_GUEST_SEND_FORBIDDEN": "ChatGuestSendForbidden",
123
109
  "CHAT_ID_EMPTY": "ChatIdEmpty",
110
+ "CHAT_ID_GENERATE_FAILED": "ChatIdGenerateFailed",
124
111
  "CHAT_ID_INVALID": "ChatIdInvalid",
125
112
  "CHAT_INVALID": "ChatInvalid",
126
113
  "CHAT_INVITE_PERMANENT": "ChatInvitePermanent",
@@ -129,24 +116,28 @@ exceptions = {
129
116
  "CHAT_PUBLIC_REQUIRED": "ChatPublicRequired",
130
117
  "CHAT_RESTRICTED": "ChatRestricted",
131
118
  "CHAT_REVOKE_DATE_UNSUPPORTED": "ChatRevokeDateUnsupported",
119
+ "CHAT_SEND_AUDIOS_FORBIDDEN": "ChatSendAudiosForbidden",
120
+ "CHAT_SEND_DOCS_FORBIDDEN": "ChatSendDocsForbidden",
121
+ "CHAT_SEND_GAME_FORBIDDEN": "ChatSendGameForbidden",
122
+ "CHAT_SEND_GIFS_FORBIDDEN": "ChatSendGifsForbidden",
132
123
  "CHAT_SEND_INLINE_FORBIDDEN": "ChatSendInlineForbidden",
124
+ "CHAT_SEND_MEDIA_FORBIDDEN": "ChatSendMediaForbidden",
125
+ "CHAT_SEND_PHOTOS_FORBIDDEN": "ChatSendPhotosForbidden",
126
+ "CHAT_SEND_PLAIN_FORBIDDEN": "ChatSendPlainForbidden",
127
+ "CHAT_SEND_POLL_FORBIDDEN": "ChatSendPollForbidden",
128
+ "CHAT_SEND_STICKERS_FORBIDDEN": "ChatSendStickersForbidden",
129
+ "CHAT_SEND_VIDEOS_FORBIDDEN": "ChatSendVideosForbidden",
130
+ "CHAT_SEND_VOICES_FORBIDDEN": "ChatSendVoicesForbidden",
133
131
  "CHAT_TITLE_EMPTY": "ChatTitleEmpty",
134
132
  "CHAT_TOO_BIG": "ChatTooBig",
133
+ "CHAT_WRITE_FORBIDDEN": "ChatWriteForbidden",
135
134
  "CODE_EMPTY": "CodeEmpty",
136
135
  "CODE_HASH_INVALID": "CodeHashInvalid",
137
136
  "CODE_INVALID": "CodeInvalid",
138
- "COLLECTIBLE_INVALID": "CollectibleInvalid",
139
- "COLLECTIBLE_NOT_FOUND": "CollectibleNotFound",
140
137
  "COLOR_INVALID": "ColorInvalid",
141
138
  "CONNECTION_API_ID_INVALID": "ConnectionApiIdInvalid",
142
139
  "CONNECTION_APP_VERSION_EMPTY": "ConnectionAppVersionEmpty",
143
- "CONNECTION_DEVICE_MODEL_EMPTY": "ConnectionDeviceModelEmpty",
144
- "CONNECTION_ID_INVALID": "ConnectionIdInvalid",
145
- "CONNECTION_LANG_PACK_INVALID": "ConnectionLangPackInvalid",
146
140
  "CONNECTION_LAYER_INVALID": "ConnectionLayerInvalid",
147
- "CONNECTION_NOT_INITED": "ConnectionNotInited",
148
- "CONNECTION_SYSTEM_EMPTY": "ConnectionSystemEmpty",
149
- "CONNECTION_SYSTEM_LANG_CODE_EMPTY": "ConnectionSystemLangCodeEmpty",
150
141
  "CONTACT_ADD_MISSING": "ContactAddMissing",
151
142
  "CONTACT_ID_INVALID": "ContactIdInvalid",
152
143
  "CONTACT_MISSING": "ContactMissing",
@@ -162,9 +153,9 @@ exceptions = {
162
153
  "DC_ID_INVALID": "DcIdInvalid",
163
154
  "DH_G_A_INVALID": "DhGAInvalid",
164
155
  "DOCUMENT_INVALID": "DocumentInvalid",
156
+ "EDIT_BOT_INVITE_FORBIDDEN": "EditBotInviteForbidden",
165
157
  "EMAIL_HASH_EXPIRED": "EmailHashExpired",
166
158
  "EMAIL_INVALID": "EmailInvalid",
167
- "EMAIL_NOT_ALLOWED": "EmailNotAllowed",
168
159
  "EMAIL_NOT_SETUP": "EmailNotSetup",
169
160
  "EMAIL_UNCONFIRMED": "EmailUnconfirmed",
170
161
  "EMAIL_UNCONFIRMED_X": "EmailUnconfirmed",
@@ -187,12 +178,10 @@ exceptions = {
187
178
  "EXPIRE_DATE_INVALID": "ExpireDateInvalid",
188
179
  "EXPORT_CARD_INVALID": "ExportCardInvalid",
189
180
  "EXTERNAL_URL_INVALID": "ExternalUrlInvalid",
190
- "FIELD_NAME_EMPTY": "FieldNameEmpty",
191
- "FIELD_NAME_INVALID": "FieldNameInvalid",
181
+ "FILEREF_UPGRADE_NEEDED": "FilerefUpgradeNeeded",
192
182
  "FILE_CONTENT_TYPE_INVALID": "FileContentTypeInvalid",
193
183
  "FILE_EMTPY": "FileEmtpy",
194
184
  "FILE_ID_INVALID": "FileIdInvalid",
195
- "FILE_MIGRATE_X": "FileMigrate",
196
185
  "FILE_PARTS_INVALID": "FilePartsInvalid",
197
186
  "FILE_PART_EMPTY": "FilePartEmpty",
198
187
  "FILE_PART_INVALID": "FilePartInvalid",
@@ -200,12 +189,9 @@ exceptions = {
200
189
  "FILE_PART_SIZE_CHANGED": "FilePartSizeChanged",
201
190
  "FILE_PART_SIZE_INVALID": "FilePartSizeInvalid",
202
191
  "FILE_PART_TOO_BIG": "FilePartTooBig",
203
- "FILE_PART_X_MISSING": "FilePartMissing",
204
192
  "FILE_REFERENCE_EMPTY": "FileReferenceEmpty",
205
193
  "FILE_REFERENCE_EXPIRED": "FileReferenceExpired",
206
194
  "FILE_REFERENCE_INVALID": "FileReferenceInvalid",
207
- "FILE_REFERENCE_X_EXPIRED": "FileReferenceExpired",
208
- "FILE_REFERENCE_X_INVALID": "FileReferenceInvalid",
209
195
  "FILE_TITLE_EMPTY": "FileTitleEmpty",
210
196
  "FILE_TOKEN_INVALID": "FileTokenInvalid",
211
197
  "FILTER_ID_INVALID": "FilterIdInvalid",
@@ -215,9 +201,10 @@ exceptions = {
215
201
  "FIRSTNAME_INVALID": "FirstnameInvalid",
216
202
  "FOLDER_ID_EMPTY": "FolderIdEmpty",
217
203
  "FOLDER_ID_INVALID": "FolderIdInvalid",
218
- "FORM_EXPIRED": "FormExpired",
219
204
  "FORUM_ENABLED": "ForumEnabled",
220
205
  "FRESH_CHANGE_ADMINS_FORBIDDEN": "FreshChangeAdminsForbidden",
206
+ "FRESH_CHANGE_PHONE_FORBIDDEN": "FreshChangePhoneForbidden",
207
+ "FRESH_RESET_AUTHORISATION_FORBIDDEN": "FreshResetAuthorisationForbidden",
221
208
  "FROM_MESSAGE_BOT_DISABLED": "FromMessageBotDisabled",
222
209
  "FROM_PEER_INVALID": "FromPeerInvalid",
223
210
  "GAME_BOT_INVALID": "GameBotInvalid",
@@ -231,32 +218,24 @@ exceptions = {
231
218
  "GRAPH_INVALID_RELOAD": "GraphInvalidReload",
232
219
  "GRAPH_OUTDATED_RELOAD": "GraphOutdatedReload",
233
220
  "GROUPCALL_ALREADY_DISCARDED": "GroupcallAlreadyDiscarded",
221
+ "GROUPCALL_ALREADY_STARTED": "GroupcallAlreadyStarted",
234
222
  "GROUPCALL_FORBIDDEN": "GroupcallForbidden",
235
223
  "GROUPCALL_INVALID": "GroupcallInvalid",
236
224
  "GROUPCALL_JOIN_MISSING": "GroupcallJoinMissing",
237
225
  "GROUPCALL_NOT_MODIFIED": "GroupcallNotModified",
238
226
  "GROUPCALL_SSRC_DUPLICATE_MUCH": "GroupcallSsrcDuplicateMuch",
239
227
  "GROUPED_MEDIA_INVALID": "GroupedMediaInvalid",
240
- "GROUP_CALL_INVALID": "GroupCallInvalid",
241
- "HASHTAG_INVALID": "HashtagInvalid",
242
228
  "HASH_INVALID": "HashInvalid",
243
229
  "HIDE_REQUESTER_MISSING": "HideRequesterMissing",
244
230
  "IMAGE_PROCESS_FAILED": "ImageProcessFailed",
245
231
  "IMPORT_FILE_INVALID": "ImportFileInvalid",
246
- "IMPORT_FORMAT_DATE_INVALID": "ImportFormatDateInvalid",
247
232
  "IMPORT_FORMAT_UNRECOGNIZED": "ImportFormatUnrecognized",
248
233
  "IMPORT_ID_INVALID": "ImportIdInvalid",
249
234
  "IMPORT_TOKEN_INVALID": "ImportTokenInvalid",
235
+ "INLINE_BOT_REQUIRED": "InlineBotRequired",
250
236
  "INLINE_RESULT_EXPIRED": "InlineResultExpired",
251
237
  "INPUT_CHATLIST_INVALID": "InputChatlistInvalid",
252
- "INPUT_CONSTRUCTOR_INVALID": "InputConstructorInvalid",
253
- "INPUT_FETCH_ERROR": "InputFetchError",
254
- "INPUT_FETCH_FAIL": "InputFetchFail",
255
- "INPUT_FILE_INVALID": "InputFileInvalid",
256
238
  "INPUT_FILTER_INVALID": "InputFilterInvalid",
257
- "INPUT_LAYER_INVALID": "InputLayerInvalid",
258
- "INPUT_METHOD_INVALID": "InputMethodInvalid",
259
- "INPUT_REQUEST_TOO_LONG": "InputRequestTooLong",
260
239
  "INPUT_TEXT_EMPTY": "InputTextEmpty",
261
240
  "INPUT_TEXT_TOO_LONG": "InputTextTooLong",
262
241
  "INPUT_USER_DEACTIVATED": "InputUserDeactivated",
@@ -271,7 +250,6 @@ exceptions = {
271
250
  "INVITE_SLUG_EXPIRED": "InviteSlugExpired",
272
251
  "INVOICE_PAYLOAD_INVALID": "InvoicePayloadInvalid",
273
252
  "JOIN_AS_PEER_INVALID": "JoinAsPeerInvalid",
274
- "LANGUAGE_INVALID": "LanguageInvalid",
275
253
  "LANG_CODE_INVALID": "LangCodeInvalid",
276
254
  "LANG_CODE_NOT_SUPPORTED": "LangCodeNotSupported",
277
255
  "LANG_PACK_INVALID": "LangPackInvalid",
@@ -297,29 +275,25 @@ exceptions = {
297
275
  "MEGAGROUP_ID_INVALID": "MegagroupIdInvalid",
298
276
  "MEGAGROUP_PREHISTORY_HIDDEN": "MegagroupPrehistoryHidden",
299
277
  "MEGAGROUP_REQUIRED": "MegagroupRequired",
278
+ "MESSAGE_AUTHOR_REQUIRED": "MessageAuthorRequired",
279
+ "MESSAGE_DELETE_FORBIDDEN": "MessageDeleteForbidden",
300
280
  "MESSAGE_EDIT_TIME_EXPIRED": "MessageEditTimeExpired",
301
281
  "MESSAGE_EMPTY": "MessageEmpty",
302
282
  "MESSAGE_IDS_EMPTY": "MessageIdsEmpty",
303
283
  "MESSAGE_ID_INVALID": "MessageIdInvalid",
304
284
  "MESSAGE_NOT_MODIFIED": "MessageNotModified",
305
- "MESSAGE_NOT_READ_YET": "MessageNotReadYet",
306
285
  "MESSAGE_POLL_CLOSED": "MessagePollClosed",
307
286
  "MESSAGE_TOO_LONG": "MessageTooLong",
308
- "MESSAGE_TOO_OLD": "MessageTooOld",
309
287
  "METHOD_INVALID": "MethodInvalid",
310
288
  "MIN_DATE_INVALID": "MinDateInvalid",
311
289
  "MSG_ID_INVALID": "MsgIdInvalid",
312
290
  "MSG_TOO_OLD": "MsgTooOld",
313
- "MSG_VOICE_MISSING": "MsgVoiceMissing",
314
291
  "MSG_WAIT_FAILED": "MsgWaitFailed",
315
292
  "MULTI_MEDIA_TOO_LONG": "MultiMediaTooLong",
316
293
  "NEW_SALT_INVALID": "NewSaltInvalid",
317
294
  "NEW_SETTINGS_EMPTY": "NewSettingsEmpty",
318
295
  "NEW_SETTINGS_INVALID": "NewSettingsInvalid",
319
296
  "NEXT_OFFSET_INVALID": "NextOffsetInvalid",
320
- "NOGENERAL_HIDE_FORBIDDEN": "NogeneralHideForbidden",
321
- "NOT_ELIGIBLE": "NotEligible",
322
- "NOT_JOINED": "NotJoined",
323
297
  "OFFSET_INVALID": "OffsetInvalid",
324
298
  "OFFSET_PEER_ID_INVALID": "OffsetPeerIdInvalid",
325
299
  "OPTIONS_TOO_MUCH": "OptionsTooMuch",
@@ -340,13 +314,14 @@ exceptions = {
340
314
  "PASSWORD_REQUIRED": "PasswordRequired",
341
315
  "PASSWORD_TOO_FRESH_X": "PasswordTooFresh",
342
316
  "PAYMENT_PROVIDER_INVALID": "PaymentProviderInvalid",
317
+ "PAYMENT_UNSUPPORTED": "PaymentUnsupported",
343
318
  "PEERS_LIST_EMPTY": "PeersListEmpty",
344
- "PEER_FLOOD": "PeerFlood",
345
319
  "PEER_HISTORY_EMPTY": "PeerHistoryEmpty",
346
320
  "PEER_ID_INVALID": "PeerIdInvalid",
347
321
  "PEER_ID_NOT_SUPPORTED": "PeerIdNotSupported",
348
322
  "PERSISTENT_TIMESTAMP_EMPTY": "PersistentTimestampEmpty",
349
323
  "PERSISTENT_TIMESTAMP_INVALID": "PersistentTimestampInvalid",
324
+ "PERSISTENT_TIMESTAMP_OUTDATED": "PersistentTimestampOutdated",
350
325
  "PHONE_CODE_EMPTY": "PhoneCodeEmpty",
351
326
  "PHONE_CODE_EXPIRED": "PhoneCodeExpired",
352
327
  "PHONE_CODE_HASH_EMPTY": "PhoneCodeHashEmpty",
@@ -359,6 +334,7 @@ exceptions = {
359
334
  "PHONE_NUMBER_INVALID": "PhoneNumberInvalid",
360
335
  "PHONE_NUMBER_OCCUPIED": "PhoneNumberOccupied",
361
336
  "PHONE_NUMBER_UNOCCUPIED": "PhoneNumberUnoccupied",
337
+ "PHONE_PASSWORD_FLOOD": "PhonePasswordFlood",
362
338
  "PHONE_PASSWORD_PROTECTED": "PhonePasswordProtected",
363
339
  "PHOTO_CONTENT_TYPE_INVALID": "PhotoContentTypeInvalid",
364
340
  "PHOTO_CONTENT_URL_EMPTY": "PhotoContentUrlEmpty",
@@ -371,35 +347,35 @@ exceptions = {
371
347
  "PHOTO_INVALID_DIMENSIONS": "PhotoInvalidDimensions",
372
348
  "PHOTO_SAVE_FILE_INVALID": "PhotoSaveFileInvalid",
373
349
  "PHOTO_THUMB_URL_EMPTY": "PhotoThumbUrlEmpty",
374
- "PHOTO_THUMB_URL_INVALID": "PhotoThumbUrlInvalid",
375
350
  "PINNED_DIALOGS_TOO_MUCH": "PinnedDialogsTooMuch",
376
351
  "PIN_RESTRICTED": "PinRestricted",
377
- "PLATFORM_INVALID": "PlatformInvalid",
352
+ "PLAYMARKET_PURCHASE_USED": "PlaymarketPurchaseUsed",
378
353
  "POLL_ANSWERS_INVALID": "PollAnswersInvalid",
379
354
  "POLL_ANSWER_INVALID": "PollAnswerInvalid",
380
355
  "POLL_OPTION_DUPLICATE": "PollOptionDuplicate",
381
356
  "POLL_OPTION_INVALID": "PollOptionInvalid",
382
357
  "POLL_QUESTION_INVALID": "PollQuestionInvalid",
383
- "POLL_UNSUPPORTED": "PollUnsupported",
384
358
  "POLL_VOTE_REQUIRED": "PollVoteRequired",
385
359
  "PREMIUM_ACCOUNT_REQUIRED": "PremiumAccountRequired",
360
+ "PREMIUM_CURRENTLY_UNAVAILABLE": "PremiumCurrentlyUnavailable",
386
361
  "PREMIUM_GIFTCODE_WAS_REFUNDED": "PremiumGiftcodeWasRefunded",
387
362
  "PREMIUM_SUB_ACTIVE_UNTIL_X": "PremiumSubActiveUntil",
363
+ "PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_XMIN": "PreviousChatImportActiveWaitMin",
388
364
  "PRIVACY_KEY_INVALID": "PrivacyKeyInvalid",
365
+ "PRIVACY_PREMIUM_REQUIRED": "PrivacyPremiumRequired",
389
366
  "PRIVACY_TOO_LONG": "PrivacyTooLong",
390
367
  "PRIVACY_VALUE_INVALID": "PrivacyValueInvalid",
368
+ "PUBLIC_CHANNEL_MISSING": "PublicChannelMissing",
391
369
  "PUBLIC_KEY_REQUIRED": "PublicKeyRequired",
392
370
  "QUERY_ID_EMPTY": "QueryIdEmpty",
393
371
  "QUERY_ID_INVALID": "QueryIdInvalid",
394
372
  "QUERY_TOO_SHORT": "QueryTooShort",
395
- "QUICK_REPLIES_TOO_MUCH": "QuickRepliesTooMuch",
396
373
  "QUIZ_ANSWER_MISSING": "QuizAnswerMissing",
397
374
  "QUIZ_CORRECT_ANSWERS_EMPTY": "QuizCorrectAnswersEmpty",
398
375
  "QUIZ_CORRECT_ANSWERS_TOO_MUCH": "QuizCorrectAnswersTooMuch",
399
376
  "QUIZ_CORRECT_ANSWER_INVALID": "QuizCorrectAnswerInvalid",
400
377
  "QUIZ_MULTIPLE_INVALID": "QuizMultipleInvalid",
401
- "QUOTE_TEXT_INVALID": "QuoteTextInvalid",
402
- "RAISE_HAND_FORBIDDEN": "RaiseHandForbidden",
378
+ "RANDOM_ID_DUPLICATE": "RandomIdDuplicate",
403
379
  "RANDOM_ID_EMPTY": "RandomIdEmpty",
404
380
  "RANDOM_ID_INVALID": "RandomIdInvalid",
405
381
  "RANDOM_LENGTH_INVALID": "RandomLengthInvalid",
@@ -407,17 +383,12 @@ exceptions = {
407
383
  "REACTIONS_TOO_MANY": "ReactionsTooMany",
408
384
  "REACTION_EMPTY": "ReactionEmpty",
409
385
  "REACTION_INVALID": "ReactionInvalid",
410
- "RECEIPT_EMPTY": "ReceiptEmpty",
411
- "REFLECTOR_NOT_AVAILABLE": "ReflectorNotAvailable",
412
386
  "REPLY_MARKUP_BUY_EMPTY": "ReplyMarkupBuyEmpty",
413
- "REPLY_MARKUP_GAME_EMPTY": "ReplyMarkupGameEmpty",
414
387
  "REPLY_MARKUP_INVALID": "ReplyMarkupInvalid",
415
388
  "REPLY_MARKUP_TOO_LONG": "ReplyMarkupTooLong",
416
- "REPLY_MESSAGES_TOO_MUCH": "ReplyMessagesTooMuch",
417
389
  "REPLY_MESSAGE_ID_INVALID": "ReplyMessageIdInvalid",
418
390
  "REPLY_TO_INVALID": "ReplyToInvalid",
419
391
  "REPLY_TO_USER_INVALID": "ReplyToUserInvalid",
420
- "REQUEST_TOKEN_INVALID": "RequestTokenInvalid",
421
392
  "RESET_REQUEST_MISSING": "ResetRequestMissing",
422
393
  "RESULTS_TOO_MUCH": "ResultsTooMuch",
423
394
  "RESULT_ID_DUPLICATE": "ResultIdDuplicate",
@@ -426,10 +397,8 @@ exceptions = {
426
397
  "RESULT_TYPE_INVALID": "ResultTypeInvalid",
427
398
  "REVOTE_NOT_ALLOWED": "RevoteNotAllowed",
428
399
  "RIGHTS_NOT_MODIFIED": "RightsNotModified",
429
- "RINGTONE_INVALID": "RingtoneInvalid",
430
- "RINGTONE_MIME_INVALID": "RingtoneMimeInvalid",
400
+ "RIGHT_FORBIDDEN": "RightForbidden",
431
401
  "RSA_DECRYPT_FAILED": "RsaDecryptFailed",
432
- "SAVED_DIALOGS_UNSUPPORTED": "SavedDialogsUnsupported",
433
402
  "SCHEDULE_BOT_NOT_ALLOWED": "ScheduleBotNotAllowed",
434
403
  "SCHEDULE_DATE_INVALID": "ScheduleDateInvalid",
435
404
  "SCHEDULE_DATE_TOO_LATE": "ScheduleDateTooLate",
@@ -439,22 +408,22 @@ exceptions = {
439
408
  "SEARCH_QUERY_EMPTY": "SearchQueryEmpty",
440
409
  "SEARCH_WITH_LINK_NOT_SUPPORTED": "SearchWithLinkNotSupported",
441
410
  "SECONDS_INVALID": "SecondsInvalid",
442
- "SECURE_SECRET_REQUIRED": "SecureSecretRequired",
443
411
  "SEND_AS_PEER_INVALID": "SendAsPeerInvalid",
412
+ "SEND_CODE_UNAVAILABLE": "SendCodeUnavailable",
413
+ "SEND_MEDIA_INVALID": "SendMediaInvalid",
444
414
  "SEND_MESSAGE_MEDIA_INVALID": "SendMessageMediaInvalid",
445
415
  "SEND_MESSAGE_TYPE_INVALID": "SendMessageTypeInvalid",
416
+ "SENSITIVE_CHANGE_FORBIDDEN": "SensitiveChangeForbidden",
446
417
  "SESSION_TOO_FRESH_X": "SessionTooFresh",
447
418
  "SETTINGS_INVALID": "SettingsInvalid",
448
419
  "SHA256_HASH_INVALID": "Sha256HashInvalid",
449
- "SHORTCUT_INVALID": "ShortcutInvalid",
450
- "SHORTNAME_OCCUPY_FAILED": "ShortnameOccupyFailed",
451
420
  "SHORT_NAME_INVALID": "ShortNameInvalid",
452
421
  "SHORT_NAME_OCCUPIED": "ShortNameOccupied",
422
+ "SIGN_IN_FAILED": "SignInFailed",
453
423
  "SLOTS_EMPTY": "SlotsEmpty",
454
424
  "SLOWMODE_MULTI_MSGS_DISABLED": "SlowmodeMultiMsgsDisabled",
455
425
  "SLOWMODE_WAIT_X": "SlowmodeWait",
456
426
  "SLUG_INVALID": "SlugInvalid",
457
- "SMSJOB_ID_INVALID": "SmsjobIdInvalid",
458
427
  "SMS_CODE_CREATE_FAILED": "SmsCodeCreateFailed",
459
428
  "SRP_ID_INVALID": "SrpIdInvalid",
460
429
  "SRP_PASSWORD_CHANGED": "SrpPasswordChanged",
@@ -463,7 +432,7 @@ exceptions = {
463
432
  "START_PARAM_TOO_LONG": "StartParamTooLong",
464
433
  "STICKERPACK_STICKERS_TOO_MUCH": "StickerpackStickersTooMuch",
465
434
  "STICKERSET_INVALID": "StickersetInvalid",
466
- "STICKERSET_NOT_MODIFIED": "StickersetNotModified",
435
+ "STICKERSET_OWNER_ANONYMOUS": "StickersetOwnerAnonymous",
467
436
  "STICKERS_EMPTY": "StickersEmpty",
468
437
  "STICKERS_TOO_MUCH": "StickersTooMuch",
469
438
  "STICKER_DOCUMENT_INVALID": "StickerDocumentInvalid",
@@ -491,7 +460,6 @@ exceptions = {
491
460
  "STORY_SEND_FLOOD_MONTHLY_X": "StorySendFloodMonthly",
492
461
  "STORY_SEND_FLOOD_WEEKLY_X": "StorySendFloodWeekly",
493
462
  "SWITCH_PM_TEXT_EMPTY": "SwitchPmTextEmpty",
494
- "SWITCH_WEBVIEW_URL_INVALID": "SwitchWebviewUrlInvalid",
495
463
  "TAKEOUT_INIT_DELAY_X": "TakeoutInitDelay",
496
464
  "TAKEOUT_INVALID": "TakeoutInvalid",
497
465
  "TAKEOUT_REQUIRED": "TakeoutRequired",
@@ -503,10 +471,8 @@ exceptions = {
503
471
  "THEME_INVALID": "ThemeInvalid",
504
472
  "THEME_MIME_INVALID": "ThemeMimeInvalid",
505
473
  "THEME_TITLE_INVALID": "ThemeTitleInvalid",
506
- "TIMEZONE_INVALID": "TimezoneInvalid",
507
474
  "TITLE_INVALID": "TitleInvalid",
508
475
  "TMP_PASSWORD_DISABLED": "TmpPasswordDisabled",
509
- "TMP_PASSWORD_INVALID": "TmpPasswordInvalid",
510
476
  "TOKEN_EMPTY": "TokenEmpty",
511
477
  "TOKEN_INVALID": "TokenInvalid",
512
478
  "TOKEN_TYPE_INVALID": "TokenTypeInvalid",
@@ -520,13 +486,12 @@ exceptions = {
520
486
  "TOPIC_TITLE_EMPTY": "TopicTitleEmpty",
521
487
  "TO_LANG_INVALID": "ToLangInvalid",
522
488
  "TRANSCRIPTION_FAILED": "TranscriptionFailed",
523
- "TRANSLATE_REQ_QUOTA_EXCEEDED": "TranslateReqQuotaExceeded",
524
489
  "TTL_DAYS_INVALID": "TtlDaysInvalid",
525
490
  "TTL_MEDIA_INVALID": "TtlMediaInvalid",
526
491
  "TTL_PERIOD_INVALID": "TtlPeriodInvalid",
527
492
  "TYPES_EMPTY": "TypesEmpty",
528
- "TYPE_CONSTRUCTOR_INVALID": "TypeConstructorInvalid",
529
493
  "UNTIL_DATE_INVALID": "UntilDateInvalid",
494
+ "UPDATE_APP_TO_LOGIN": "UpdateAppToLogin",
530
495
  "URL_INVALID": "UrlInvalid",
531
496
  "USAGE_LIMIT_INVALID": "UsageLimitInvalid",
532
497
  "USERNAMES_ACTIVE_TOO_MUCH": "UsernamesActiveTooMuch",
@@ -535,6 +500,7 @@ exceptions = {
535
500
  "USERNAME_NOT_OCCUPIED": "UsernameNotOccupied",
536
501
  "USERNAME_OCCUPIED": "UsernameOccupied",
537
502
  "USERNAME_PURCHASE_AVAILABLE": "UsernamePurchaseAvailable",
503
+ "USERPIC_PRIVACY_REQUIRED": "UserpicPrivacyRequired",
538
504
  "USERPIC_UPLOAD_REQUIRED": "UserpicUploadRequired",
539
505
  "USERS_TOO_FEW": "UsersTooFew",
540
506
  "USERS_TOO_MUCH": "UsersTooMuch",
@@ -548,6 +514,7 @@ exceptions = {
548
514
  "USER_BOT_REQUIRED": "UserBotRequired",
549
515
  "USER_CHANNELS_TOO_MUCH": "UserChannelsTooMuch",
550
516
  "USER_CREATOR": "UserCreator",
517
+ "USER_DELETED": "UserDeleted",
551
518
  "USER_ID_INVALID": "UserIdInvalid",
552
519
  "USER_INVALID": "UserInvalid",
553
520
  "USER_IS_BLOCKED": "UserIsBlocked",
@@ -555,16 +522,15 @@ exceptions = {
555
522
  "USER_KICKED": "UserKicked",
556
523
  "USER_NOT_MUTUAL_CONTACT": "UserNotMutualContact",
557
524
  "USER_NOT_PARTICIPANT": "UserNotParticipant",
525
+ "USER_PRIVACY_RESTRICTED": "UserPrivacyRestricted",
558
526
  "USER_PUBLIC_MISSING": "UserPublicMissing",
527
+ "USER_RESTRICTED": "UserRestricted",
559
528
  "USER_VOLUME_INVALID": "UserVolumeInvalid",
560
529
  "VENUE_ID_INVALID": "VenueIdInvalid",
561
530
  "VIDEO_CONTENT_TYPE_INVALID": "VideoContentTypeInvalid",
562
531
  "VIDEO_FILE_INVALID": "VideoFileInvalid",
563
- "VIDEO_PAUSE_FORBIDDEN": "VideoPauseForbidden",
564
- "VIDEO_STOP_FORBIDDEN": "VideoStopForbidden",
565
532
  "VIDEO_TITLE_EMPTY": "VideoTitleEmpty",
566
533
  "VOICE_MESSAGES_FORBIDDEN": "VoiceMessagesForbidden",
567
- "VOLUME_LOC_NOT_FOUND": "VolumeLocNotFound",
568
534
  "WALLPAPER_FILE_INVALID": "WallpaperFileInvalid",
569
535
  "WALLPAPER_INVALID": "WallpaperInvalid",
570
536
  "WALLPAPER_MIME_INVALID": "WallpaperMimeInvalid",
@@ -573,7 +539,6 @@ exceptions = {
573
539
  "WEBDOCUMENT_INVALID": "WebdocumentInvalid",
574
540
  "WEBDOCUMENT_MIME_INVALID": "WebdocumentMimeInvalid",
575
541
  "WEBDOCUMENT_SIZE_TOO_BIG": "WebdocumentSizeTooBig",
576
- "WEBDOCUMENT_URL_EMPTY": "WebdocumentUrlEmpty",
577
542
  "WEBDOCUMENT_URL_INVALID": "WebdocumentUrlInvalid",
578
543
  "WEBPAGE_CURL_FAILED": "WebpageCurlFailed",
579
544
  "WEBPAGE_MEDIA_EMPTY": "WebpageMediaEmpty",
@@ -584,8 +549,19 @@ exceptions = {
584
549
  "WEBPUSH_TOKEN_INVALID": "WebpushTokenInvalid",
585
550
  "YOU_BLOCKED_USER": "YouBlockedUser",
586
551
  },
587
- 406: {
588
- "_": "NotAcceptable",
552
+ 420: {
553
+ "_": "Flood",
554
+ "2FA_CONFIRM_WAIT_X": "TwoFaConfirmWait",
555
+ "ADDRESS_INVALID": "AddressInvalid",
556
+ "FLOOD_PREMIUM_WAIT_X": "FloodPremiumWait",
557
+ "FLOOD_TEST_PHONE_WAIT_X": "FloodTestPhoneWait",
558
+ "FLOOD_WAIT_X": "FloodWait",
559
+ "PREMIUM_SUB_ACTIVE_UNTIL_X": "PremiumSubActiveUntil",
560
+ "SLOWMODE_WAIT_X": "SlowmodeWait",
561
+ "TAKEOUT_INIT_DELAY_X": "TakeoutInitDelay",
562
+ },
563
+ 500: {
564
+ "_": "InternalServerError",
589
565
  "2FA_CONFIRM_WAIT_X": "TwoFaConfirmWait",
590
566
  "ABOUT_TOO_LONG": "AboutTooLong",
591
567
  "ACCESS_TOKEN_EXPIRED": "AccessTokenExpired",
@@ -598,14 +574,16 @@ exceptions = {
598
574
  "ADMIN_RIGHTS_EMPTY": "AdminRightsEmpty",
599
575
  "ALBUM_PHOTOS_TOO_MANY": "AlbumPhotosTooMany",
600
576
  "ANONYMOUS_REACTIONS_DISABLED": "AnonymousReactionsDisabled",
577
+ "API_CALL_ERROR": "ApiCallError",
601
578
  "API_ID_INVALID": "ApiIdInvalid",
602
579
  "API_ID_PUBLISHED_FLOOD": "ApiIdPublishedFlood",
603
580
  "ARTICLE_TITLE_EMPTY": "ArticleTitleEmpty",
604
581
  "AUDIO_CONTENT_URL_EMPTY": "AudioContentUrlEmpty",
605
582
  "AUDIO_TITLE_EMPTY": "AudioTitleEmpty",
606
583
  "AUTH_BYTES_INVALID": "AuthBytesInvalid",
607
- "AUTH_KEY_DUPLICATED": "AuthKeyDuplicated",
584
+ "AUTH_KEY_UNSYNCHRONIZED": "AuthKeyUnsynchronized",
608
585
  "AUTH_RESTART": "AuthRestart",
586
+ "AUTH_RESTART_X": "AuthRestart",
609
587
  "AUTH_TOKEN_ALREADY_ACCEPTED": "AuthTokenAlreadyAccepted",
610
588
  "AUTH_TOKEN_EXCEPTION": "AuthTokenException",
611
589
  "AUTH_TOKEN_EXPIRED": "AuthTokenExpired",
@@ -638,7 +616,6 @@ exceptions = {
638
616
  "BROADCAST_ID_INVALID": "BroadcastIdInvalid",
639
617
  "BROADCAST_PUBLIC_VOTERS_FORBIDDEN": "BroadcastPublicVotersForbidden",
640
618
  "BROADCAST_REQUIRED": "BroadcastRequired",
641
- "BUSINESS_ADDRESS_ACTIVE": "BusinessAddressActive",
642
619
  "BUTTON_DATA_INVALID": "ButtonDataInvalid",
643
620
  "BUTTON_TEXT_INVALID": "ButtonTextInvalid",
644
621
  "BUTTON_TYPE_INVALID": "ButtonTypeInvalid",
@@ -648,7 +625,6 @@ exceptions = {
648
625
  "CALL_ALREADY_DECLINED": "CallAlreadyDeclined",
649
626
  "CALL_OCCUPY_FAILED": "CallOccupyFailed",
650
627
  "CALL_PEER_INVALID": "CallPeerInvalid",
651
- "CALL_PROTOCOL_COMPAT_LAYER_INVALID": "CallProtocolCompatLayerInvalid",
652
628
  "CALL_PROTOCOL_FLAGS_INVALID": "CallProtocolFlagsInvalid",
653
629
  "CDN_METHOD_INVALID": "CdnMethodInvalid",
654
630
  "CDN_UPLOAD_TIMEOUT": "CdnUploadTimeout",
@@ -678,6 +654,8 @@ exceptions = {
678
654
  "CHAT_INVITE_PERMANENT": "ChatInvitePermanent",
679
655
  "CHAT_LINK_EXISTS": "ChatLinkExists",
680
656
  "CHAT_NOT_MODIFIED": "ChatNotModified",
657
+ "CHAT_OCCUPY_LOC_FAILED": "ChatOccupyLocFailed",
658
+ "CHAT_OCCUPY_USERNAME_FAILED": "ChatOccupyUsernameFailed",
681
659
  "CHAT_PUBLIC_REQUIRED": "ChatPublicRequired",
682
660
  "CHAT_RESTRICTED": "ChatRestricted",
683
661
  "CHAT_REVOKE_DATE_UNSUPPORTED": "ChatRevokeDateUnsupported",
@@ -696,6 +674,7 @@ exceptions = {
696
674
  "CHAT_TITLE_EMPTY": "ChatTitleEmpty",
697
675
  "CHAT_TOO_BIG": "ChatTooBig",
698
676
  "CHAT_WRITE_FORBIDDEN": "ChatWriteForbidden",
677
+ "CHP_CALL_FAIL": "ChpCallFail",
699
678
  "CODE_EMPTY": "CodeEmpty",
700
679
  "CODE_HASH_INVALID": "CodeHashInvalid",
701
680
  "CODE_INVALID": "CodeInvalid",
@@ -736,6 +715,8 @@ exceptions = {
736
715
  "ENCRYPTION_ALREADY_DECLINED": "EncryptionAlreadyDeclined",
737
716
  "ENCRYPTION_DECLINED": "EncryptionDeclined",
738
717
  "ENCRYPTION_ID_INVALID": "EncryptionIdInvalid",
718
+ "ENCRYPTION_OCCUPY_ADMIN_FAILED": "EncryptionOccupyAdminFailed",
719
+ "ENCRYPTION_OCCUPY_FAILED": "EncryptionOccupyFailed",
739
720
  "ENTITIES_TOO_LONG": "EntitiesTooLong",
740
721
  "ENTITY_BOUNDS_INVALID": "EntityBoundsInvalid",
741
722
  "ENTITY_MENTION_USER_INVALID": "EntityMentionUserInvalid",
@@ -743,7 +724,6 @@ exceptions = {
743
724
  "EXPIRE_DATE_INVALID": "ExpireDateInvalid",
744
725
  "EXPORT_CARD_INVALID": "ExportCardInvalid",
745
726
  "EXTERNAL_URL_INVALID": "ExternalUrlInvalid",
746
- "FILEREF_UPGRADE_NEEDED": "FilerefUpgradeNeeded",
747
727
  "FILE_CONTENT_TYPE_INVALID": "FileContentTypeInvalid",
748
728
  "FILE_EMTPY": "FileEmtpy",
749
729
  "FILE_ID_INVALID": "FileIdInvalid",
@@ -764,12 +744,11 @@ exceptions = {
764
744
  "FILTER_NOT_SUPPORTED": "FilterNotSupported",
765
745
  "FILTER_TITLE_EMPTY": "FilterTitleEmpty",
766
746
  "FIRSTNAME_INVALID": "FirstnameInvalid",
747
+ "FOLDER_DEAC_AUTOFIX_ALL": "FolderDeacAutofixAll",
767
748
  "FOLDER_ID_EMPTY": "FolderIdEmpty",
768
749
  "FOLDER_ID_INVALID": "FolderIdInvalid",
769
750
  "FORUM_ENABLED": "ForumEnabled",
770
751
  "FRESH_CHANGE_ADMINS_FORBIDDEN": "FreshChangeAdminsForbidden",
771
- "FRESH_CHANGE_PHONE_FORBIDDEN": "FreshChangePhoneForbidden",
772
- "FRESH_RESET_AUTHORISATION_FORBIDDEN": "FreshResetAuthorisationForbidden",
773
752
  "FROM_MESSAGE_BOT_DISABLED": "FromMessageBotDisabled",
774
753
  "FROM_PEER_INVALID": "FromPeerInvalid",
775
754
  "GAME_BOT_INVALID": "GameBotInvalid",
@@ -782,6 +761,7 @@ exceptions = {
782
761
  "GRAPH_EXPIRED_RELOAD": "GraphExpiredReload",
783
762
  "GRAPH_INVALID_RELOAD": "GraphInvalidReload",
784
763
  "GRAPH_OUTDATED_RELOAD": "GraphOutdatedReload",
764
+ "GROUPCALL_ADD_PARTICIPANTS_FAILED": "GroupcallAddParticipantsFailed",
785
765
  "GROUPCALL_ALREADY_DISCARDED": "GroupcallAlreadyDiscarded",
786
766
  "GROUPCALL_ALREADY_STARTED": "GroupcallAlreadyStarted",
787
767
  "GROUPCALL_FORBIDDEN": "GroupcallForbidden",
@@ -789,9 +769,12 @@ exceptions = {
789
769
  "GROUPCALL_JOIN_MISSING": "GroupcallJoinMissing",
790
770
  "GROUPCALL_NOT_MODIFIED": "GroupcallNotModified",
791
771
  "GROUPCALL_SSRC_DUPLICATE_MUCH": "GroupcallSsrcDuplicateMuch",
772
+ "GROUPED_ID_OCCUPY_FAILED": "GroupedIdOccupyFailed",
792
773
  "GROUPED_MEDIA_INVALID": "GroupedMediaInvalid",
793
774
  "HASH_INVALID": "HashInvalid",
794
775
  "HIDE_REQUESTER_MISSING": "HideRequesterMissing",
776
+ "HISTORY_GET_FAILED": "HistoryGetFailed",
777
+ "IMAGE_ENGINE_DOWN": "ImageEngineDown",
795
778
  "IMAGE_PROCESS_FAILED": "ImageProcessFailed",
796
779
  "IMPORT_FILE_INVALID": "ImportFileInvalid",
797
780
  "IMPORT_FORMAT_UNRECOGNIZED": "ImportFormatUnrecognized",
@@ -804,6 +787,8 @@ exceptions = {
804
787
  "INPUT_TEXT_EMPTY": "InputTextEmpty",
805
788
  "INPUT_TEXT_TOO_LONG": "InputTextTooLong",
806
789
  "INPUT_USER_DEACTIVATED": "InputUserDeactivated",
790
+ "INTERDC_X_CALL_ERROR": "InterdcCallError",
791
+ "INTERDC_X_CALL_RICH_ERROR": "InterdcCallRichError",
807
792
  "INVITES_TOO_MUCH": "InvitesTooMuch",
808
793
  "INVITE_FORBIDDEN_WITH_JOINAS": "InviteForbiddenWithJoinas",
809
794
  "INVITE_HASH_EMPTY": "InviteHashEmpty",
@@ -840,6 +825,10 @@ exceptions = {
840
825
  "MEGAGROUP_ID_INVALID": "MegagroupIdInvalid",
841
826
  "MEGAGROUP_PREHISTORY_HIDDEN": "MegagroupPrehistoryHidden",
842
827
  "MEGAGROUP_REQUIRED": "MegagroupRequired",
828
+ "MEMBER_FETCH_FAILED": "MemberFetchFailed",
829
+ "MEMBER_NO_LOCATION": "MemberNoLocation",
830
+ "MEMBER_OCCUPY_PRIMARY_LOC_FAILED": "MemberOccupyPrimaryLocFailed",
831
+ "MEMBER_OCCUPY_USERNAME_FAILED": "MemberOccupyUsernameFailed",
843
832
  "MESSAGE_AUTHOR_REQUIRED": "MessageAuthorRequired",
844
833
  "MESSAGE_DELETE_FORBIDDEN": "MessageDeleteForbidden",
845
834
  "MESSAGE_EDIT_TIME_EXPIRED": "MessageEditTimeExpired",
@@ -851,14 +840,20 @@ exceptions = {
851
840
  "MESSAGE_TOO_LONG": "MessageTooLong",
852
841
  "METHOD_INVALID": "MethodInvalid",
853
842
  "MIN_DATE_INVALID": "MinDateInvalid",
843
+ "MSGID_DECREASE_RETRY": "MsgidDecreaseRetry",
854
844
  "MSG_ID_INVALID": "MsgIdInvalid",
845
+ "MSG_RANGE_UNSYNC": "MsgRangeUnsync",
855
846
  "MSG_TOO_OLD": "MsgTooOld",
856
847
  "MSG_WAIT_FAILED": "MsgWaitFailed",
848
+ "MT_SEND_QUEUE_TOO_LONG": "MtSendQueueTooLong",
857
849
  "MULTI_MEDIA_TOO_LONG": "MultiMediaTooLong",
850
+ "NEED_CHAT_INVALID": "NeedChatInvalid",
851
+ "NEED_MEMBER_INVALID": "NeedMemberInvalid",
858
852
  "NEW_SALT_INVALID": "NewSaltInvalid",
859
853
  "NEW_SETTINGS_EMPTY": "NewSettingsEmpty",
860
854
  "NEW_SETTINGS_INVALID": "NewSettingsInvalid",
861
855
  "NEXT_OFFSET_INVALID": "NextOffsetInvalid",
856
+ "No workers running": "NoWorkersRunning",
862
857
  "OFFSET_INVALID": "OffsetInvalid",
863
858
  "OFFSET_PEER_ID_INVALID": "OffsetPeerIdInvalid",
864
859
  "OPTIONS_TOO_MUCH": "OptionsTooMuch",
@@ -868,6 +863,7 @@ exceptions = {
868
863
  "PACK_SHORT_NAME_OCCUPIED": "PackShortNameOccupied",
869
864
  "PACK_TITLE_INVALID": "PackTitleInvalid",
870
865
  "PARTICIPANTS_TOO_FEW": "ParticipantsTooFew",
866
+ "PARTICIPANT_CALL_FAILED": "ParticipantCallFailed",
871
867
  "PARTICIPANT_ID_INVALID": "ParticipantIdInvalid",
872
868
  "PARTICIPANT_JOIN_MISSING": "ParticipantJoinMissing",
873
869
  "PARTICIPANT_VERSION_OUTDATED": "ParticipantVersionOutdated",
@@ -879,7 +875,6 @@ exceptions = {
879
875
  "PASSWORD_REQUIRED": "PasswordRequired",
880
876
  "PASSWORD_TOO_FRESH_X": "PasswordTooFresh",
881
877
  "PAYMENT_PROVIDER_INVALID": "PaymentProviderInvalid",
882
- "PAYMENT_UNSUPPORTED": "PaymentUnsupported",
883
878
  "PEERS_LIST_EMPTY": "PeersListEmpty",
884
879
  "PEER_HISTORY_EMPTY": "PeerHistoryEmpty",
885
880
  "PEER_ID_INVALID": "PeerIdInvalid",
@@ -899,10 +894,10 @@ exceptions = {
899
894
  "PHONE_NUMBER_INVALID": "PhoneNumberInvalid",
900
895
  "PHONE_NUMBER_OCCUPIED": "PhoneNumberOccupied",
901
896
  "PHONE_NUMBER_UNOCCUPIED": "PhoneNumberUnoccupied",
902
- "PHONE_PASSWORD_FLOOD": "PhonePasswordFlood",
903
897
  "PHONE_PASSWORD_PROTECTED": "PhonePasswordProtected",
904
898
  "PHOTO_CONTENT_TYPE_INVALID": "PhotoContentTypeInvalid",
905
899
  "PHOTO_CONTENT_URL_EMPTY": "PhotoContentUrlEmpty",
900
+ "PHOTO_CREATE_FAILED": "PhotoCreateFailed",
906
901
  "PHOTO_CROP_FILE_MISSING": "PhotoCropFileMissing",
907
902
  "PHOTO_CROP_SIZE_SMALL": "PhotoCropSizeSmall",
908
903
  "PHOTO_EXT_INVALID": "PhotoExtInvalid",
@@ -914,22 +909,20 @@ exceptions = {
914
909
  "PHOTO_THUMB_URL_EMPTY": "PhotoThumbUrlEmpty",
915
910
  "PINNED_DIALOGS_TOO_MUCH": "PinnedDialogsTooMuch",
916
911
  "PIN_RESTRICTED": "PinRestricted",
917
- "PLAYMARKET_PURCHASE_USED": "PlaymarketPurchaseUsed",
918
912
  "POLL_ANSWERS_INVALID": "PollAnswersInvalid",
919
913
  "POLL_ANSWER_INVALID": "PollAnswerInvalid",
920
914
  "POLL_OPTION_DUPLICATE": "PollOptionDuplicate",
921
915
  "POLL_OPTION_INVALID": "PollOptionInvalid",
922
916
  "POLL_QUESTION_INVALID": "PollQuestionInvalid",
923
917
  "POLL_VOTE_REQUIRED": "PollVoteRequired",
918
+ "POSTPONED_TIMEOUT": "PostponedTimeout",
924
919
  "PREMIUM_ACCOUNT_REQUIRED": "PremiumAccountRequired",
925
- "PREMIUM_CURRENTLY_UNAVAILABLE": "PremiumCurrentlyUnavailable",
926
- "PREMIUM_GIFTCODE_WAS_REFUNDED": "PremiumGiftcodeWasRefunded",
927
920
  "PREMIUM_SUB_ACTIVE_UNTIL_X": "PremiumSubActiveUntil",
928
- "PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_XMIN": "PreviousChatImportActiveWaitMin",
929
921
  "PRIVACY_KEY_INVALID": "PrivacyKeyInvalid",
930
922
  "PRIVACY_PREMIUM_REQUIRED": "PrivacyPremiumRequired",
931
923
  "PRIVACY_TOO_LONG": "PrivacyTooLong",
932
924
  "PRIVACY_VALUE_INVALID": "PrivacyValueInvalid",
925
+ "PTS_CHANGE_EMPTY": "PtsChangeEmpty",
933
926
  "PUBLIC_CHANNEL_MISSING": "PublicChannelMissing",
934
927
  "PUBLIC_KEY_REQUIRED": "PublicKeyRequired",
935
928
  "QUERY_ID_EMPTY": "QueryIdEmpty",
@@ -948,6 +941,7 @@ exceptions = {
948
941
  "REACTIONS_TOO_MANY": "ReactionsTooMany",
949
942
  "REACTION_EMPTY": "ReactionEmpty",
950
943
  "REACTION_INVALID": "ReactionInvalid",
944
+ "REG_ID_GENERATE_FAILED": "RegIdGenerateFailed",
951
945
  "REPLY_MARKUP_BUY_EMPTY": "ReplyMarkupBuyEmpty",
952
946
  "REPLY_MARKUP_INVALID": "ReplyMarkupInvalid",
953
947
  "REPLY_MARKUP_TOO_LONG": "ReplyMarkupTooLong",
@@ -963,6 +957,10 @@ exceptions = {
963
957
  "REVOTE_NOT_ALLOWED": "RevoteNotAllowed",
964
958
  "RIGHTS_NOT_MODIFIED": "RightsNotModified",
965
959
  "RIGHT_FORBIDDEN": "RightForbidden",
960
+ "RPC_CALL_FAIL": "RpcCallFail",
961
+ "RPC_CONNECT_FAILED": "RpcConnectFailed",
962
+ "RPC_MCGET_FAIL": "RpcMcgetFail",
963
+ "RPC_SEND_FAIL": "RpcSendFail",
966
964
  "RSA_DECRYPT_FAILED": "RsaDecryptFailed",
967
965
  "SCHEDULE_BOT_NOT_ALLOWED": "ScheduleBotNotAllowed",
968
966
  "SCHEDULE_DATE_INVALID": "ScheduleDateInvalid",
@@ -974,7 +972,6 @@ exceptions = {
974
972
  "SEARCH_WITH_LINK_NOT_SUPPORTED": "SearchWithLinkNotSupported",
975
973
  "SECONDS_INVALID": "SecondsInvalid",
976
974
  "SEND_AS_PEER_INVALID": "SendAsPeerInvalid",
977
- "SEND_CODE_UNAVAILABLE": "SendCodeUnavailable",
978
975
  "SEND_MEDIA_INVALID": "SendMediaInvalid",
979
976
  "SEND_MESSAGE_MEDIA_INVALID": "SendMessageMediaInvalid",
980
977
  "SEND_MESSAGE_TYPE_INVALID": "SendMessageTypeInvalid",
@@ -997,7 +994,6 @@ exceptions = {
997
994
  "START_PARAM_TOO_LONG": "StartParamTooLong",
998
995
  "STICKERPACK_STICKERS_TOO_MUCH": "StickerpackStickersTooMuch",
999
996
  "STICKERSET_INVALID": "StickersetInvalid",
1000
- "STICKERSET_OWNER_ANONYMOUS": "StickersetOwnerAnonymous",
1001
997
  "STICKERS_EMPTY": "StickersEmpty",
1002
998
  "STICKERS_TOO_MUCH": "StickersTooMuch",
1003
999
  "STICKER_DOCUMENT_INVALID": "StickerDocumentInvalid",
@@ -1016,6 +1012,9 @@ exceptions = {
1016
1012
  "STICKER_VIDEO_BIG": "StickerVideoBig",
1017
1013
  "STICKER_VIDEO_NODOC": "StickerVideoNodoc",
1018
1014
  "STICKER_VIDEO_NOWEBM": "StickerVideoNowebm",
1015
+ "STORAGE_CHECK_FAILED": "StorageCheckFailed",
1016
+ "STORAGE_CHOOSE_VOLUME_FAILED": "StorageChooseVolumeFailed",
1017
+ "STORE_INVALID_SCALAR_TYPE": "StoreInvalidScalarType",
1019
1018
  "STORIES_NEVER_CREATED": "StoriesNeverCreated",
1020
1019
  "STORIES_TOO_MUCH": "StoriesTooMuch",
1021
1020
  "STORY_ID_EMPTY": "StoryIdEmpty",
@@ -1051,12 +1050,14 @@ exceptions = {
1051
1050
  "TOPIC_TITLE_EMPTY": "TopicTitleEmpty",
1052
1051
  "TO_LANG_INVALID": "ToLangInvalid",
1053
1052
  "TRANSCRIPTION_FAILED": "TranscriptionFailed",
1053
+ "TRANSLATE_REQ_FAILED": "TranslateReqFailed",
1054
1054
  "TTL_DAYS_INVALID": "TtlDaysInvalid",
1055
1055
  "TTL_MEDIA_INVALID": "TtlMediaInvalid",
1056
1056
  "TTL_PERIOD_INVALID": "TtlPeriodInvalid",
1057
1057
  "TYPES_EMPTY": "TypesEmpty",
1058
+ "UNKNOWN_METHOD": "UnknownMethod",
1058
1059
  "UNTIL_DATE_INVALID": "UntilDateInvalid",
1059
- "UPDATE_APP_TO_LOGIN": "UpdateAppToLogin",
1060
+ "UPLOAD_NO_VOLUME": "UploadNoVolume",
1060
1061
  "URL_INVALID": "UrlInvalid",
1061
1062
  "USAGE_LIMIT_INVALID": "UsageLimitInvalid",
1062
1063
  "USERNAMES_ACTIVE_TOO_MUCH": "UsernamesActiveTooMuch",
@@ -1065,7 +1066,6 @@ exceptions = {
1065
1066
  "USERNAME_NOT_OCCUPIED": "UsernameNotOccupied",
1066
1067
  "USERNAME_OCCUPIED": "UsernameOccupied",
1067
1068
  "USERNAME_PURCHASE_AVAILABLE": "UsernamePurchaseAvailable",
1068
- "USERPIC_PRIVACY_REQUIRED": "UserpicPrivacyRequired",
1069
1069
  "USERPIC_UPLOAD_REQUIRED": "UserpicUploadRequired",
1070
1070
  "USERS_TOO_FEW": "UsersTooFew",
1071
1071
  "USERS_TOO_MUCH": "UsersTooMuch",
@@ -1096,6 +1096,7 @@ exceptions = {
1096
1096
  "VIDEO_FILE_INVALID": "VideoFileInvalid",
1097
1097
  "VIDEO_TITLE_EMPTY": "VideoTitleEmpty",
1098
1098
  "VOICE_MESSAGES_FORBIDDEN": "VoiceMessagesForbidden",
1099
+ "VOLUME_LOC_NOT_FOUND": "VolumeLocNotFound",
1099
1100
  "WALLPAPER_FILE_INVALID": "WallpaperFileInvalid",
1100
1101
  "WALLPAPER_INVALID": "WallpaperInvalid",
1101
1102
  "WALLPAPER_MIME_INVALID": "WallpaperMimeInvalid",
@@ -1112,29 +1113,12 @@ exceptions = {
1112
1113
  "WEBPUSH_AUTH_INVALID": "WebpushAuthInvalid",
1113
1114
  "WEBPUSH_KEY_INVALID": "WebpushKeyInvalid",
1114
1115
  "WEBPUSH_TOKEN_INVALID": "WebpushTokenInvalid",
1116
+ "WORKER_BUSY_TOO_LONG_RETRY": "WorkerBusyTooLongRetry",
1117
+ "WP_ID_GENERATE_FAILED": "WpIdGenerateFailed",
1115
1118
  "YOU_BLOCKED_USER": "YouBlockedUser",
1116
1119
  },
1117
- 303: {
1118
- "_": "SeeOther",
1119
- "FILE_MIGRATE_X": "FileMigrate",
1120
- "NETWORK_MIGRATE_X": "NetworkMigrate",
1121
- "PHONE_MIGRATE_X": "PhoneMigrate",
1122
- "STATS_MIGRATE_X": "StatsMigrate",
1123
- "USER_MIGRATE_X": "UserMigrate",
1124
- },
1125
- 420: {
1126
- "_": "Flood",
1127
- "2FA_CONFIRM_WAIT_X": "TwoFaConfirmWait",
1128
- "ADDRESS_INVALID": "AddressInvalid",
1129
- "FLOOD_PREMIUM_WAIT_X": "FloodPremiumWait",
1130
- "FLOOD_TEST_PHONE_WAIT_X": "FloodTestPhoneWait",
1131
- "FLOOD_WAIT_X": "FloodWait",
1132
- "PREMIUM_SUB_ACTIVE_UNTIL_X": "PremiumSubActiveUntil",
1133
- "SLOWMODE_WAIT_X": "SlowmodeWait",
1134
- "TAKEOUT_INIT_DELAY_X": "TakeoutInitDelay",
1135
- },
1136
- 500: {
1137
- "_": "InternalServerError",
1120
+ 400: {
1121
+ "_": "BadRequest",
1138
1122
  "2FA_CONFIRM_WAIT_X": "TwoFaConfirmWait",
1139
1123
  "ABOUT_TOO_LONG": "AboutTooLong",
1140
1124
  "ACCESS_TOKEN_EXPIRED": "AccessTokenExpired",
@@ -1145,52 +1129,69 @@ exceptions = {
1145
1129
  "ADMIN_RANK_EMOJI_NOT_ALLOWED": "AdminRankEmojiNotAllowed",
1146
1130
  "ADMIN_RANK_INVALID": "AdminRankInvalid",
1147
1131
  "ADMIN_RIGHTS_EMPTY": "AdminRightsEmpty",
1132
+ "AD_EXPIRED": "AdExpired",
1148
1133
  "ALBUM_PHOTOS_TOO_MANY": "AlbumPhotosTooMany",
1149
- "ANONYMOUS_REACTIONS_DISABLED": "AnonymousReactionsDisabled",
1150
- "API_CALL_ERROR": "ApiCallError",
1151
1134
  "API_ID_INVALID": "ApiIdInvalid",
1152
1135
  "API_ID_PUBLISHED_FLOOD": "ApiIdPublishedFlood",
1153
1136
  "ARTICLE_TITLE_EMPTY": "ArticleTitleEmpty",
1154
1137
  "AUDIO_CONTENT_URL_EMPTY": "AudioContentUrlEmpty",
1155
1138
  "AUDIO_TITLE_EMPTY": "AudioTitleEmpty",
1156
1139
  "AUTH_BYTES_INVALID": "AuthBytesInvalid",
1157
- "AUTH_RESTART": "AuthRestart",
1158
1140
  "AUTH_TOKEN_ALREADY_ACCEPTED": "AuthTokenAlreadyAccepted",
1159
1141
  "AUTH_TOKEN_EXCEPTION": "AuthTokenException",
1160
1142
  "AUTH_TOKEN_EXPIRED": "AuthTokenExpired",
1161
1143
  "AUTH_TOKEN_INVALID": "AuthTokenInvalid",
1162
1144
  "AUTH_TOKEN_INVALIDX": "AuthTokenInvalidx",
1163
1145
  "AUTOARCHIVE_NOT_AVAILABLE": "AutoarchiveNotAvailable",
1146
+ "BALANCE_TOO_LOW": "BalanceTooLow",
1164
1147
  "BANK_CARD_NUMBER_INVALID": "BankCardNumberInvalid",
1165
1148
  "BANNED_RIGHTS_INVALID": "BannedRightsInvalid",
1149
+ "BASE_PORT_LOC_INVALID": "BasePortLocInvalid",
1150
+ "BIRTHDAY_INVALID": "BirthdayInvalid",
1166
1151
  "BOOSTS_EMPTY": "BoostsEmpty",
1167
1152
  "BOOSTS_REQUIRED": "BoostsRequired",
1168
1153
  "BOOST_NOT_MODIFIED": "BoostNotModified",
1169
1154
  "BOOST_PEER_INVALID": "BoostPeerInvalid",
1170
1155
  "BOTS_TOO_MUCH": "BotsTooMuch",
1156
+ "BOT_ALREADY_DISABLED": "BotAlreadyDisabled",
1157
+ "BOT_APP_BOT_INVALID": "BotAppBotInvalid",
1171
1158
  "BOT_APP_INVALID": "BotAppInvalid",
1172
1159
  "BOT_APP_SHORTNAME_INVALID": "BotAppShortnameInvalid",
1160
+ "BOT_BUSINESS_MISSING": "BotBusinessMissing",
1173
1161
  "BOT_CHANNELS_NA": "BotChannelsNa",
1174
1162
  "BOT_COMMAND_DESCRIPTION_INVALID": "BotCommandDescriptionInvalid",
1175
1163
  "BOT_COMMAND_INVALID": "BotCommandInvalid",
1176
1164
  "BOT_DOMAIN_INVALID": "BotDomainInvalid",
1165
+ "BOT_GAMES_DISABLED": "BotGamesDisabled",
1177
1166
  "BOT_GROUPS_BLOCKED": "BotGroupsBlocked",
1178
1167
  "BOT_INLINE_DISABLED": "BotInlineDisabled",
1179
1168
  "BOT_INVALID": "BotInvalid",
1169
+ "BOT_INVOICE_INVALID": "BotInvoiceInvalid",
1170
+ "BOT_METHOD_INVALID": "BotMethodInvalid",
1180
1171
  "BOT_MISSING": "BotMissing",
1172
+ "BOT_NOT_CONNECTED_YET": "BotNotConnectedYet",
1181
1173
  "BOT_ONESIDE_NOT_AVAIL": "BotOnesideNotAvail",
1182
1174
  "BOT_PAYMENTS_DISABLED": "BotPaymentsDisabled",
1175
+ "BOT_POLLS_DISABLED": "BotPollsDisabled",
1183
1176
  "BOT_RESPONSE_TIMEOUT": "BotResponseTimeout",
1184
1177
  "BOT_SCORE_NOT_MODIFIED": "BotScoreNotModified",
1185
1178
  "BOT_WEBVIEW_DISABLED": "BotWebviewDisabled",
1186
- "BROADCAST_FORBIDDEN": "BroadcastForbidden",
1187
1179
  "BROADCAST_ID_INVALID": "BroadcastIdInvalid",
1188
1180
  "BROADCAST_PUBLIC_VOTERS_FORBIDDEN": "BroadcastPublicVotersForbidden",
1189
1181
  "BROADCAST_REQUIRED": "BroadcastRequired",
1182
+ "BUSINESS_PEER_INVALID": "BusinessPeerInvalid",
1183
+ "BUSINESS_PEER_USAGE_MISSING": "BusinessPeerUsageMissing",
1184
+ "BUSINESS_RECIPIENTS_EMPTY": "BusinessRecipientsEmpty",
1185
+ "BUSINESS_WORK_HOURS_EMPTY": "BusinessWorkHoursEmpty",
1186
+ "BUSINESS_WORK_HOURS_PERIOD_INVALID": "BusinessWorkHoursPeriodInvalid",
1187
+ "BUTTON_COPY_TEXT_INVALID": "ButtonCopyTextInvalid",
1190
1188
  "BUTTON_DATA_INVALID": "ButtonDataInvalid",
1189
+ "BUTTON_ID_INVALID": "ButtonIdInvalid",
1190
+ "BUTTON_POS_INVALID": "ButtonPosInvalid",
1191
1191
  "BUTTON_TEXT_INVALID": "ButtonTextInvalid",
1192
1192
  "BUTTON_TYPE_INVALID": "ButtonTypeInvalid",
1193
1193
  "BUTTON_URL_INVALID": "ButtonUrlInvalid",
1194
+ "BUTTON_USER_INVALID": "ButtonUserInvalid",
1194
1195
  "BUTTON_USER_PRIVACY_RESTRICTED": "ButtonUserPrivacyRestricted",
1195
1196
  "CALL_ALREADY_ACCEPTED": "CallAlreadyAccepted",
1196
1197
  "CALL_ALREADY_DECLINED": "CallAlreadyDeclined",
@@ -1198,61 +1199,57 @@ exceptions = {
1198
1199
  "CALL_PEER_INVALID": "CallPeerInvalid",
1199
1200
  "CALL_PROTOCOL_FLAGS_INVALID": "CallProtocolFlagsInvalid",
1200
1201
  "CDN_METHOD_INVALID": "CdnMethodInvalid",
1201
- "CDN_UPLOAD_TIMEOUT": "CdnUploadTimeout",
1202
1202
  "CHANNELS_ADMIN_LOCATED_TOO_MUCH": "ChannelsAdminLocatedTooMuch",
1203
1203
  "CHANNELS_ADMIN_PUBLIC_TOO_MUCH": "ChannelsAdminPublicTooMuch",
1204
1204
  "CHANNELS_TOO_MUCH": "ChannelsTooMuch",
1205
+ "CHANNEL_ADD_INVALID": "ChannelAddInvalid",
1206
+ "CHANNEL_BANNED": "ChannelBanned",
1205
1207
  "CHANNEL_FORUM_MISSING": "ChannelForumMissing",
1206
1208
  "CHANNEL_ID_INVALID": "ChannelIdInvalid",
1207
1209
  "CHANNEL_INVALID": "ChannelInvalid",
1208
1210
  "CHANNEL_PARICIPANT_MISSING": "ChannelParicipantMissing",
1209
1211
  "CHANNEL_PRIVATE": "ChannelPrivate",
1210
- "CHANNEL_PUBLIC_GROUP_NA": "ChannelPublicGroupNa",
1211
1212
  "CHANNEL_TOO_BIG": "ChannelTooBig",
1212
1213
  "CHANNEL_TOO_LARGE": "ChannelTooLarge",
1214
+ "CHARGE_ALREADY_REFUNDED": "ChargeAlreadyRefunded",
1215
+ "CHATLINKS_TOO_MUCH": "ChatlinksTooMuch",
1216
+ "CHATLINK_SLUG_EMPTY": "ChatlinkSlugEmpty",
1217
+ "CHATLINK_SLUG_EXPIRED": "ChatlinkSlugExpired",
1218
+ "CHATLISTS_TOO_MUCH": "ChatlistsTooMuch",
1213
1219
  "CHATLIST_EXCLUDE_INVALID": "ChatlistExcludeInvalid",
1214
1220
  "CHAT_ABOUT_NOT_MODIFIED": "ChatAboutNotModified",
1215
1221
  "CHAT_ABOUT_TOO_LONG": "ChatAboutTooLong",
1216
- "CHAT_ADMIN_INVITE_REQUIRED": "ChatAdminInviteRequired",
1217
1222
  "CHAT_ADMIN_REQUIRED": "ChatAdminRequired",
1218
1223
  "CHAT_DISCUSSION_UNALLOWED": "ChatDiscussionUnallowed",
1219
1224
  "CHAT_FORWARDS_RESTRICTED": "ChatForwardsRestricted",
1220
- "CHAT_GUEST_SEND_FORBIDDEN": "ChatGuestSendForbidden",
1221
1225
  "CHAT_ID_EMPTY": "ChatIdEmpty",
1222
- "CHAT_ID_GENERATE_FAILED": "ChatIdGenerateFailed",
1223
1226
  "CHAT_ID_INVALID": "ChatIdInvalid",
1224
1227
  "CHAT_INVALID": "ChatInvalid",
1225
1228
  "CHAT_INVITE_PERMANENT": "ChatInvitePermanent",
1226
1229
  "CHAT_LINK_EXISTS": "ChatLinkExists",
1230
+ "CHAT_MEMBER_ADD_FAILED": "ChatMemberAddFailed",
1227
1231
  "CHAT_NOT_MODIFIED": "ChatNotModified",
1228
- "CHAT_OCCUPY_LOC_FAILED": "ChatOccupyLocFailed",
1229
- "CHAT_OCCUPY_USERNAME_FAILED": "ChatOccupyUsernameFailed",
1230
1232
  "CHAT_PUBLIC_REQUIRED": "ChatPublicRequired",
1231
1233
  "CHAT_RESTRICTED": "ChatRestricted",
1232
1234
  "CHAT_REVOKE_DATE_UNSUPPORTED": "ChatRevokeDateUnsupported",
1233
- "CHAT_SEND_AUDIOS_FORBIDDEN": "ChatSendAudiosForbidden",
1234
- "CHAT_SEND_DOCS_FORBIDDEN": "ChatSendDocsForbidden",
1235
- "CHAT_SEND_GAME_FORBIDDEN": "ChatSendGameForbidden",
1236
- "CHAT_SEND_GIFS_FORBIDDEN": "ChatSendGifsForbidden",
1237
1235
  "CHAT_SEND_INLINE_FORBIDDEN": "ChatSendInlineForbidden",
1238
- "CHAT_SEND_MEDIA_FORBIDDEN": "ChatSendMediaForbidden",
1239
- "CHAT_SEND_PHOTOS_FORBIDDEN": "ChatSendPhotosForbidden",
1240
- "CHAT_SEND_PLAIN_FORBIDDEN": "ChatSendPlainForbidden",
1241
- "CHAT_SEND_POLL_FORBIDDEN": "ChatSendPollForbidden",
1242
- "CHAT_SEND_STICKERS_FORBIDDEN": "ChatSendStickersForbidden",
1243
- "CHAT_SEND_VIDEOS_FORBIDDEN": "ChatSendVideosForbidden",
1244
- "CHAT_SEND_VOICES_FORBIDDEN": "ChatSendVoicesForbidden",
1245
1236
  "CHAT_TITLE_EMPTY": "ChatTitleEmpty",
1246
1237
  "CHAT_TOO_BIG": "ChatTooBig",
1247
- "CHAT_WRITE_FORBIDDEN": "ChatWriteForbidden",
1248
- "CHP_CALL_FAIL": "ChpCallFail",
1249
1238
  "CODE_EMPTY": "CodeEmpty",
1250
1239
  "CODE_HASH_INVALID": "CodeHashInvalid",
1251
1240
  "CODE_INVALID": "CodeInvalid",
1241
+ "COLLECTIBLE_INVALID": "CollectibleInvalid",
1242
+ "COLLECTIBLE_NOT_FOUND": "CollectibleNotFound",
1252
1243
  "COLOR_INVALID": "ColorInvalid",
1253
1244
  "CONNECTION_API_ID_INVALID": "ConnectionApiIdInvalid",
1254
1245
  "CONNECTION_APP_VERSION_EMPTY": "ConnectionAppVersionEmpty",
1246
+ "CONNECTION_DEVICE_MODEL_EMPTY": "ConnectionDeviceModelEmpty",
1247
+ "CONNECTION_ID_INVALID": "ConnectionIdInvalid",
1248
+ "CONNECTION_LANG_PACK_INVALID": "ConnectionLangPackInvalid",
1255
1249
  "CONNECTION_LAYER_INVALID": "ConnectionLayerInvalid",
1250
+ "CONNECTION_NOT_INITED": "ConnectionNotInited",
1251
+ "CONNECTION_SYSTEM_EMPTY": "ConnectionSystemEmpty",
1252
+ "CONNECTION_SYSTEM_LANG_CODE_EMPTY": "ConnectionSystemLangCodeEmpty",
1256
1253
  "CONTACT_ADD_MISSING": "ContactAddMissing",
1257
1254
  "CONTACT_ID_INVALID": "ContactIdInvalid",
1258
1255
  "CONTACT_MISSING": "ContactMissing",
@@ -1268,9 +1265,9 @@ exceptions = {
1268
1265
  "DC_ID_INVALID": "DcIdInvalid",
1269
1266
  "DH_G_A_INVALID": "DhGAInvalid",
1270
1267
  "DOCUMENT_INVALID": "DocumentInvalid",
1271
- "EDIT_BOT_INVITE_FORBIDDEN": "EditBotInviteForbidden",
1272
1268
  "EMAIL_HASH_EXPIRED": "EmailHashExpired",
1273
1269
  "EMAIL_INVALID": "EmailInvalid",
1270
+ "EMAIL_NOT_ALLOWED": "EmailNotAllowed",
1274
1271
  "EMAIL_NOT_SETUP": "EmailNotSetup",
1275
1272
  "EMAIL_UNCONFIRMED": "EmailUnconfirmed",
1276
1273
  "EMAIL_UNCONFIRMED_X": "EmailUnconfirmed",
@@ -1286,18 +1283,20 @@ exceptions = {
1286
1283
  "ENCRYPTION_ALREADY_DECLINED": "EncryptionAlreadyDeclined",
1287
1284
  "ENCRYPTION_DECLINED": "EncryptionDeclined",
1288
1285
  "ENCRYPTION_ID_INVALID": "EncryptionIdInvalid",
1289
- "ENCRYPTION_OCCUPY_ADMIN_FAILED": "EncryptionOccupyAdminFailed",
1290
- "ENCRYPTION_OCCUPY_FAILED": "EncryptionOccupyFailed",
1291
1286
  "ENTITIES_TOO_LONG": "EntitiesTooLong",
1292
1287
  "ENTITY_BOUNDS_INVALID": "EntityBoundsInvalid",
1293
1288
  "ENTITY_MENTION_USER_INVALID": "EntityMentionUserInvalid",
1294
1289
  "ERROR_TEXT_EMPTY": "ErrorTextEmpty",
1295
1290
  "EXPIRE_DATE_INVALID": "ExpireDateInvalid",
1296
1291
  "EXPORT_CARD_INVALID": "ExportCardInvalid",
1292
+ "EXTENDED_MEDIA_AMOUNT_INVALID": "ExtendedMediaAmountInvalid",
1297
1293
  "EXTERNAL_URL_INVALID": "ExternalUrlInvalid",
1294
+ "FIELD_NAME_EMPTY": "FieldNameEmpty",
1295
+ "FIELD_NAME_INVALID": "FieldNameInvalid",
1298
1296
  "FILE_CONTENT_TYPE_INVALID": "FileContentTypeInvalid",
1299
1297
  "FILE_EMTPY": "FileEmtpy",
1300
1298
  "FILE_ID_INVALID": "FileIdInvalid",
1299
+ "FILE_MIGRATE_X": "FileMigrate",
1301
1300
  "FILE_PARTS_INVALID": "FilePartsInvalid",
1302
1301
  "FILE_PART_EMPTY": "FilePartEmpty",
1303
1302
  "FILE_PART_INVALID": "FilePartInvalid",
@@ -1305,9 +1304,13 @@ exceptions = {
1305
1304
  "FILE_PART_SIZE_CHANGED": "FilePartSizeChanged",
1306
1305
  "FILE_PART_SIZE_INVALID": "FilePartSizeInvalid",
1307
1306
  "FILE_PART_TOO_BIG": "FilePartTooBig",
1307
+ "FILE_PART_TOO_SMALL": "FilePartTooSmall",
1308
+ "FILE_PART_X_MISSING": "FilePartMissing",
1308
1309
  "FILE_REFERENCE_EMPTY": "FileReferenceEmpty",
1309
1310
  "FILE_REFERENCE_EXPIRED": "FileReferenceExpired",
1310
1311
  "FILE_REFERENCE_INVALID": "FileReferenceInvalid",
1312
+ "FILE_REFERENCE_X_EXPIRED": "FileReferenceExpired",
1313
+ "FILE_REFERENCE_X_INVALID": "FileReferenceInvalid",
1311
1314
  "FILE_TITLE_EMPTY": "FileTitleEmpty",
1312
1315
  "FILE_TOKEN_INVALID": "FileTokenInvalid",
1313
1316
  "FILTER_ID_INVALID": "FilterIdInvalid",
@@ -1315,9 +1318,11 @@ exceptions = {
1315
1318
  "FILTER_NOT_SUPPORTED": "FilterNotSupported",
1316
1319
  "FILTER_TITLE_EMPTY": "FilterTitleEmpty",
1317
1320
  "FIRSTNAME_INVALID": "FirstnameInvalid",
1318
- "FOLDER_DEAC_AUTOFIX_ALL": "FolderDeacAutofixAll",
1319
1321
  "FOLDER_ID_EMPTY": "FolderIdEmpty",
1320
1322
  "FOLDER_ID_INVALID": "FolderIdInvalid",
1323
+ "FORM_EXPIRED": "FormExpired",
1324
+ "FORM_ID_EMPTY": "FormIdEmpty",
1325
+ "FORM_UNSUPPORTED": "FormUnsupported",
1321
1326
  "FORUM_ENABLED": "ForumEnabled",
1322
1327
  "FRESH_CHANGE_ADMINS_FORBIDDEN": "FreshChangeAdminsForbidden",
1323
1328
  "FROM_MESSAGE_BOT_DISABLED": "FromMessageBotDisabled",
@@ -1332,34 +1337,39 @@ exceptions = {
1332
1337
  "GRAPH_EXPIRED_RELOAD": "GraphExpiredReload",
1333
1338
  "GRAPH_INVALID_RELOAD": "GraphInvalidReload",
1334
1339
  "GRAPH_OUTDATED_RELOAD": "GraphOutdatedReload",
1335
- "GROUPCALL_ADD_PARTICIPANTS_FAILED": "GroupcallAddParticipantsFailed",
1336
1340
  "GROUPCALL_ALREADY_DISCARDED": "GroupcallAlreadyDiscarded",
1337
- "GROUPCALL_ALREADY_STARTED": "GroupcallAlreadyStarted",
1338
1341
  "GROUPCALL_FORBIDDEN": "GroupcallForbidden",
1339
1342
  "GROUPCALL_INVALID": "GroupcallInvalid",
1340
1343
  "GROUPCALL_JOIN_MISSING": "GroupcallJoinMissing",
1341
1344
  "GROUPCALL_NOT_MODIFIED": "GroupcallNotModified",
1342
1345
  "GROUPCALL_SSRC_DUPLICATE_MUCH": "GroupcallSsrcDuplicateMuch",
1343
- "GROUPED_ID_OCCUPY_FAILED": "GroupedIdOccupyFailed",
1344
1346
  "GROUPED_MEDIA_INVALID": "GroupedMediaInvalid",
1347
+ "GROUP_CALL_INVALID": "GroupCallInvalid",
1348
+ "HASHTAG_INVALID": "HashtagInvalid",
1345
1349
  "HASH_INVALID": "HashInvalid",
1346
1350
  "HIDE_REQUESTER_MISSING": "HideRequesterMissing",
1347
- "HISTORY_GET_FAILED": "HistoryGetFailed",
1348
- "IMAGE_ENGINE_DOWN": "ImageEngineDown",
1351
+ "ID_EXPIRED": "IdExpired",
1352
+ "ID_INVALID": "IdInvalid",
1349
1353
  "IMAGE_PROCESS_FAILED": "ImageProcessFailed",
1350
1354
  "IMPORT_FILE_INVALID": "ImportFileInvalid",
1355
+ "IMPORT_FORMAT_DATE_INVALID": "ImportFormatDateInvalid",
1351
1356
  "IMPORT_FORMAT_UNRECOGNIZED": "ImportFormatUnrecognized",
1352
1357
  "IMPORT_ID_INVALID": "ImportIdInvalid",
1353
1358
  "IMPORT_TOKEN_INVALID": "ImportTokenInvalid",
1354
- "INLINE_BOT_REQUIRED": "InlineBotRequired",
1355
1359
  "INLINE_RESULT_EXPIRED": "InlineResultExpired",
1356
1360
  "INPUT_CHATLIST_INVALID": "InputChatlistInvalid",
1361
+ "INPUT_CONSTRUCTOR_INVALID": "InputConstructorInvalid",
1362
+ "INPUT_FETCH_ERROR": "InputFetchError",
1363
+ "INPUT_FETCH_FAIL": "InputFetchFail",
1364
+ "INPUT_FILE_INVALID": "InputFileInvalid",
1357
1365
  "INPUT_FILTER_INVALID": "InputFilterInvalid",
1366
+ "INPUT_LAYER_INVALID": "InputLayerInvalid",
1367
+ "INPUT_METHOD_INVALID": "InputMethodInvalid",
1368
+ "INPUT_PEERS_EMPTY": "InputPeersEmpty",
1369
+ "INPUT_REQUEST_TOO_LONG": "InputRequestTooLong",
1358
1370
  "INPUT_TEXT_EMPTY": "InputTextEmpty",
1359
1371
  "INPUT_TEXT_TOO_LONG": "InputTextTooLong",
1360
1372
  "INPUT_USER_DEACTIVATED": "InputUserDeactivated",
1361
- "INTERDC_X_CALL_ERROR": "InterdcCallError",
1362
- "INTERDC_X_CALL_RICH_ERROR": "InterdcCallRichError",
1363
1373
  "INVITES_TOO_MUCH": "InvitesTooMuch",
1364
1374
  "INVITE_FORBIDDEN_WITH_JOINAS": "InviteForbiddenWithJoinas",
1365
1375
  "INVITE_HASH_EMPTY": "InviteHashEmpty",
@@ -1369,8 +1379,10 @@ exceptions = {
1369
1379
  "INVITE_REVOKED_MISSING": "InviteRevokedMissing",
1370
1380
  "INVITE_SLUG_EMPTY": "InviteSlugEmpty",
1371
1381
  "INVITE_SLUG_EXPIRED": "InviteSlugExpired",
1382
+ "INVITE_SLUG_INVALID": "InviteSlugInvalid",
1372
1383
  "INVOICE_PAYLOAD_INVALID": "InvoicePayloadInvalid",
1373
1384
  "JOIN_AS_PEER_INVALID": "JoinAsPeerInvalid",
1385
+ "LANGUAGE_INVALID": "LanguageInvalid",
1374
1386
  "LANG_CODE_INVALID": "LangCodeInvalid",
1375
1387
  "LANG_CODE_NOT_SUPPORTED": "LangCodeNotSupported",
1376
1388
  "LANG_PACK_INVALID": "LangPackInvalid",
@@ -1396,35 +1408,29 @@ exceptions = {
1396
1408
  "MEGAGROUP_ID_INVALID": "MegagroupIdInvalid",
1397
1409
  "MEGAGROUP_PREHISTORY_HIDDEN": "MegagroupPrehistoryHidden",
1398
1410
  "MEGAGROUP_REQUIRED": "MegagroupRequired",
1399
- "MEMBER_FETCH_FAILED": "MemberFetchFailed",
1400
- "MEMBER_NO_LOCATION": "MemberNoLocation",
1401
- "MEMBER_OCCUPY_PRIMARY_LOC_FAILED": "MemberOccupyPrimaryLocFailed",
1402
- "MEMBER_OCCUPY_USERNAME_FAILED": "MemberOccupyUsernameFailed",
1403
- "MESSAGE_AUTHOR_REQUIRED": "MessageAuthorRequired",
1404
- "MESSAGE_DELETE_FORBIDDEN": "MessageDeleteForbidden",
1405
1411
  "MESSAGE_EDIT_TIME_EXPIRED": "MessageEditTimeExpired",
1406
1412
  "MESSAGE_EMPTY": "MessageEmpty",
1407
1413
  "MESSAGE_IDS_EMPTY": "MessageIdsEmpty",
1408
1414
  "MESSAGE_ID_INVALID": "MessageIdInvalid",
1409
1415
  "MESSAGE_NOT_MODIFIED": "MessageNotModified",
1416
+ "MESSAGE_NOT_READ_YET": "MessageNotReadYet",
1410
1417
  "MESSAGE_POLL_CLOSED": "MessagePollClosed",
1411
1418
  "MESSAGE_TOO_LONG": "MessageTooLong",
1419
+ "MESSAGE_TOO_OLD": "MessageTooOld",
1412
1420
  "METHOD_INVALID": "MethodInvalid",
1413
1421
  "MIN_DATE_INVALID": "MinDateInvalid",
1414
- "MSGID_DECREASE_RETRY": "MsgidDecreaseRetry",
1415
1422
  "MSG_ID_INVALID": "MsgIdInvalid",
1416
- "MSG_RANGE_UNSYNC": "MsgRangeUnsync",
1417
1423
  "MSG_TOO_OLD": "MsgTooOld",
1424
+ "MSG_VOICE_MISSING": "MsgVoiceMissing",
1418
1425
  "MSG_WAIT_FAILED": "MsgWaitFailed",
1419
- "MT_SEND_QUEUE_TOO_LONG": "MtSendQueueTooLong",
1420
1426
  "MULTI_MEDIA_TOO_LONG": "MultiMediaTooLong",
1421
- "NEED_CHAT_INVALID": "NeedChatInvalid",
1422
- "NEED_MEMBER_INVALID": "NeedMemberInvalid",
1423
1427
  "NEW_SALT_INVALID": "NewSaltInvalid",
1424
1428
  "NEW_SETTINGS_EMPTY": "NewSettingsEmpty",
1425
1429
  "NEW_SETTINGS_INVALID": "NewSettingsInvalid",
1426
1430
  "NEXT_OFFSET_INVALID": "NextOffsetInvalid",
1427
- "No workers running": "NoWorkersRunning",
1431
+ "NOGENERAL_HIDE_FORBIDDEN": "NogeneralHideForbidden",
1432
+ "NOT_ELIGIBLE": "NotEligible",
1433
+ "NOT_JOINED": "NotJoined",
1428
1434
  "OFFSET_INVALID": "OffsetInvalid",
1429
1435
  "OFFSET_PEER_ID_INVALID": "OffsetPeerIdInvalid",
1430
1436
  "OPTIONS_TOO_MUCH": "OptionsTooMuch",
@@ -1434,7 +1440,6 @@ exceptions = {
1434
1440
  "PACK_SHORT_NAME_OCCUPIED": "PackShortNameOccupied",
1435
1441
  "PACK_TITLE_INVALID": "PackTitleInvalid",
1436
1442
  "PARTICIPANTS_TOO_FEW": "ParticipantsTooFew",
1437
- "PARTICIPANT_CALL_FAILED": "ParticipantCallFailed",
1438
1443
  "PARTICIPANT_ID_INVALID": "ParticipantIdInvalid",
1439
1444
  "PARTICIPANT_JOIN_MISSING": "ParticipantJoinMissing",
1440
1445
  "PARTICIPANT_VERSION_OUTDATED": "ParticipantVersionOutdated",
@@ -1447,12 +1452,13 @@ exceptions = {
1447
1452
  "PASSWORD_TOO_FRESH_X": "PasswordTooFresh",
1448
1453
  "PAYMENT_PROVIDER_INVALID": "PaymentProviderInvalid",
1449
1454
  "PEERS_LIST_EMPTY": "PeersListEmpty",
1455
+ "PEER_FLOOD": "PeerFlood",
1450
1456
  "PEER_HISTORY_EMPTY": "PeerHistoryEmpty",
1451
1457
  "PEER_ID_INVALID": "PeerIdInvalid",
1452
1458
  "PEER_ID_NOT_SUPPORTED": "PeerIdNotSupported",
1459
+ "PEER_TYPES_INVALID": "PeerTypesInvalid",
1453
1460
  "PERSISTENT_TIMESTAMP_EMPTY": "PersistentTimestampEmpty",
1454
1461
  "PERSISTENT_TIMESTAMP_INVALID": "PersistentTimestampInvalid",
1455
- "PERSISTENT_TIMESTAMP_OUTDATED": "PersistentTimestampOutdated",
1456
1462
  "PHONE_CODE_EMPTY": "PhoneCodeEmpty",
1457
1463
  "PHONE_CODE_EXPIRED": "PhoneCodeExpired",
1458
1464
  "PHONE_CODE_HASH_EMPTY": "PhoneCodeHashEmpty",
@@ -1468,7 +1474,6 @@ exceptions = {
1468
1474
  "PHONE_PASSWORD_PROTECTED": "PhonePasswordProtected",
1469
1475
  "PHOTO_CONTENT_TYPE_INVALID": "PhotoContentTypeInvalid",
1470
1476
  "PHOTO_CONTENT_URL_EMPTY": "PhotoContentUrlEmpty",
1471
- "PHOTO_CREATE_FAILED": "PhotoCreateFailed",
1472
1477
  "PHOTO_CROP_FILE_MISSING": "PhotoCropFileMissing",
1473
1478
  "PHOTO_CROP_SIZE_SMALL": "PhotoCropSizeSmall",
1474
1479
  "PHOTO_EXT_INVALID": "PhotoExtInvalid",
@@ -1478,33 +1483,36 @@ exceptions = {
1478
1483
  "PHOTO_INVALID_DIMENSIONS": "PhotoInvalidDimensions",
1479
1484
  "PHOTO_SAVE_FILE_INVALID": "PhotoSaveFileInvalid",
1480
1485
  "PHOTO_THUMB_URL_EMPTY": "PhotoThumbUrlEmpty",
1486
+ "PHOTO_THUMB_URL_INVALID": "PhotoThumbUrlInvalid",
1481
1487
  "PINNED_DIALOGS_TOO_MUCH": "PinnedDialogsTooMuch",
1482
1488
  "PIN_RESTRICTED": "PinRestricted",
1489
+ "PLATFORM_INVALID": "PlatformInvalid",
1483
1490
  "POLL_ANSWERS_INVALID": "PollAnswersInvalid",
1484
1491
  "POLL_ANSWER_INVALID": "PollAnswerInvalid",
1485
1492
  "POLL_OPTION_DUPLICATE": "PollOptionDuplicate",
1486
1493
  "POLL_OPTION_INVALID": "PollOptionInvalid",
1487
1494
  "POLL_QUESTION_INVALID": "PollQuestionInvalid",
1495
+ "POLL_UNSUPPORTED": "PollUnsupported",
1488
1496
  "POLL_VOTE_REQUIRED": "PollVoteRequired",
1489
- "POSTPONED_TIMEOUT": "PostponedTimeout",
1490
1497
  "PREMIUM_ACCOUNT_REQUIRED": "PremiumAccountRequired",
1498
+ "PREMIUM_GIFTCODE_WAS_REFUNDED": "PremiumGiftcodeWasRefunded",
1491
1499
  "PREMIUM_SUB_ACTIVE_UNTIL_X": "PremiumSubActiveUntil",
1500
+ "PRICING_CHAT_INVALID": "PricingChatInvalid",
1492
1501
  "PRIVACY_KEY_INVALID": "PrivacyKeyInvalid",
1493
- "PRIVACY_PREMIUM_REQUIRED": "PrivacyPremiumRequired",
1494
1502
  "PRIVACY_TOO_LONG": "PrivacyTooLong",
1495
1503
  "PRIVACY_VALUE_INVALID": "PrivacyValueInvalid",
1496
- "PTS_CHANGE_EMPTY": "PtsChangeEmpty",
1497
- "PUBLIC_CHANNEL_MISSING": "PublicChannelMissing",
1498
1504
  "PUBLIC_KEY_REQUIRED": "PublicKeyRequired",
1499
1505
  "QUERY_ID_EMPTY": "QueryIdEmpty",
1500
1506
  "QUERY_ID_INVALID": "QueryIdInvalid",
1501
1507
  "QUERY_TOO_SHORT": "QueryTooShort",
1508
+ "QUICK_REPLIES_TOO_MUCH": "QuickRepliesTooMuch",
1502
1509
  "QUIZ_ANSWER_MISSING": "QuizAnswerMissing",
1503
1510
  "QUIZ_CORRECT_ANSWERS_EMPTY": "QuizCorrectAnswersEmpty",
1504
1511
  "QUIZ_CORRECT_ANSWERS_TOO_MUCH": "QuizCorrectAnswersTooMuch",
1505
1512
  "QUIZ_CORRECT_ANSWER_INVALID": "QuizCorrectAnswerInvalid",
1506
1513
  "QUIZ_MULTIPLE_INVALID": "QuizMultipleInvalid",
1507
- "RANDOM_ID_DUPLICATE": "RandomIdDuplicate",
1514
+ "QUOTE_TEXT_INVALID": "QuoteTextInvalid",
1515
+ "RAISE_HAND_FORBIDDEN": "RaiseHandForbidden",
1508
1516
  "RANDOM_ID_EMPTY": "RandomIdEmpty",
1509
1517
  "RANDOM_ID_INVALID": "RandomIdInvalid",
1510
1518
  "RANDOM_LENGTH_INVALID": "RandomLengthInvalid",
@@ -1512,13 +1520,17 @@ exceptions = {
1512
1520
  "REACTIONS_TOO_MANY": "ReactionsTooMany",
1513
1521
  "REACTION_EMPTY": "ReactionEmpty",
1514
1522
  "REACTION_INVALID": "ReactionInvalid",
1515
- "REG_ID_GENERATE_FAILED": "RegIdGenerateFailed",
1523
+ "RECEIPT_EMPTY": "ReceiptEmpty",
1524
+ "REFLECTOR_NOT_AVAILABLE": "ReflectorNotAvailable",
1516
1525
  "REPLY_MARKUP_BUY_EMPTY": "ReplyMarkupBuyEmpty",
1526
+ "REPLY_MARKUP_GAME_EMPTY": "ReplyMarkupGameEmpty",
1517
1527
  "REPLY_MARKUP_INVALID": "ReplyMarkupInvalid",
1518
1528
  "REPLY_MARKUP_TOO_LONG": "ReplyMarkupTooLong",
1529
+ "REPLY_MESSAGES_TOO_MUCH": "ReplyMessagesTooMuch",
1519
1530
  "REPLY_MESSAGE_ID_INVALID": "ReplyMessageIdInvalid",
1520
1531
  "REPLY_TO_INVALID": "ReplyToInvalid",
1521
1532
  "REPLY_TO_USER_INVALID": "ReplyToUserInvalid",
1533
+ "REQUEST_TOKEN_INVALID": "RequestTokenInvalid",
1522
1534
  "RESET_REQUEST_MISSING": "ResetRequestMissing",
1523
1535
  "RESULTS_TOO_MUCH": "ResultsTooMuch",
1524
1536
  "RESULT_ID_DUPLICATE": "ResultIdDuplicate",
@@ -1527,12 +1539,10 @@ exceptions = {
1527
1539
  "RESULT_TYPE_INVALID": "ResultTypeInvalid",
1528
1540
  "REVOTE_NOT_ALLOWED": "RevoteNotAllowed",
1529
1541
  "RIGHTS_NOT_MODIFIED": "RightsNotModified",
1530
- "RIGHT_FORBIDDEN": "RightForbidden",
1531
- "RPC_CALL_FAIL": "RpcCallFail",
1532
- "RPC_CONNECT_FAILED": "RpcConnectFailed",
1533
- "RPC_MCGET_FAIL": "RpcMcgetFail",
1534
- "RPC_SEND_FAIL": "RpcSendFail",
1542
+ "RINGTONE_INVALID": "RingtoneInvalid",
1543
+ "RINGTONE_MIME_INVALID": "RingtoneMimeInvalid",
1535
1544
  "RSA_DECRYPT_FAILED": "RsaDecryptFailed",
1545
+ "SAVED_DIALOGS_UNSUPPORTED": "SavedDialogsUnsupported",
1536
1546
  "SCHEDULE_BOT_NOT_ALLOWED": "ScheduleBotNotAllowed",
1537
1547
  "SCHEDULE_DATE_INVALID": "ScheduleDateInvalid",
1538
1548
  "SCHEDULE_DATE_TOO_LATE": "ScheduleDateTooLate",
@@ -1542,29 +1552,40 @@ exceptions = {
1542
1552
  "SEARCH_QUERY_EMPTY": "SearchQueryEmpty",
1543
1553
  "SEARCH_WITH_LINK_NOT_SUPPORTED": "SearchWithLinkNotSupported",
1544
1554
  "SECONDS_INVALID": "SecondsInvalid",
1555
+ "SECURE_SECRET_REQUIRED": "SecureSecretRequired",
1545
1556
  "SEND_AS_PEER_INVALID": "SendAsPeerInvalid",
1546
- "SEND_MEDIA_INVALID": "SendMediaInvalid",
1547
1557
  "SEND_MESSAGE_MEDIA_INVALID": "SendMessageMediaInvalid",
1548
1558
  "SEND_MESSAGE_TYPE_INVALID": "SendMessageTypeInvalid",
1549
- "SENSITIVE_CHANGE_FORBIDDEN": "SensitiveChangeForbidden",
1550
1559
  "SESSION_TOO_FRESH_X": "SessionTooFresh",
1551
1560
  "SETTINGS_INVALID": "SettingsInvalid",
1552
1561
  "SHA256_HASH_INVALID": "Sha256HashInvalid",
1562
+ "SHORTCUT_INVALID": "ShortcutInvalid",
1563
+ "SHORTNAME_OCCUPY_FAILED": "ShortnameOccupyFailed",
1553
1564
  "SHORT_NAME_INVALID": "ShortNameInvalid",
1554
1565
  "SHORT_NAME_OCCUPIED": "ShortNameOccupied",
1555
- "SIGN_IN_FAILED": "SignInFailed",
1556
1566
  "SLOTS_EMPTY": "SlotsEmpty",
1557
1567
  "SLOWMODE_MULTI_MSGS_DISABLED": "SlowmodeMultiMsgsDisabled",
1558
1568
  "SLOWMODE_WAIT_X": "SlowmodeWait",
1559
1569
  "SLUG_INVALID": "SlugInvalid",
1570
+ "SMSJOB_ID_INVALID": "SmsjobIdInvalid",
1560
1571
  "SMS_CODE_CREATE_FAILED": "SmsCodeCreateFailed",
1572
+ "SRP_A_INVALID": "SrpAInvalid",
1561
1573
  "SRP_ID_INVALID": "SrpIdInvalid",
1562
1574
  "SRP_PASSWORD_CHANGED": "SrpPasswordChanged",
1575
+ "STARGIFT_INVALID": "StargiftInvalid",
1576
+ "STARGIFT_USAGE_LIMITED": "StargiftUsageLimited",
1577
+ "STARREF_AWAITING_END": "StarrefAwaitingEnd",
1578
+ "STARREF_HASH_REVOKED": "StarrefHashRevoked",
1579
+ "STARREF_PERMILLE_INVALID": "StarrefPermilleInvalid",
1580
+ "STARREF_PERMILLE_TOO_LOW": "StarrefPermilleTooLow",
1581
+ "STARS_INVOICE_INVALID": "StarsInvoiceInvalid",
1582
+ "STARS_PAYMENT_REQUIRED": "StarsPaymentRequired",
1563
1583
  "START_PARAM_EMPTY": "StartParamEmpty",
1564
1584
  "START_PARAM_INVALID": "StartParamInvalid",
1565
1585
  "START_PARAM_TOO_LONG": "StartParamTooLong",
1566
1586
  "STICKERPACK_STICKERS_TOO_MUCH": "StickerpackStickersTooMuch",
1567
1587
  "STICKERSET_INVALID": "StickersetInvalid",
1588
+ "STICKERSET_NOT_MODIFIED": "StickersetNotModified",
1568
1589
  "STICKERS_EMPTY": "StickersEmpty",
1569
1590
  "STICKERS_TOO_MUCH": "StickersTooMuch",
1570
1591
  "STICKER_DOCUMENT_INVALID": "StickerDocumentInvalid",
@@ -1583,9 +1604,6 @@ exceptions = {
1583
1604
  "STICKER_VIDEO_BIG": "StickerVideoBig",
1584
1605
  "STICKER_VIDEO_NODOC": "StickerVideoNodoc",
1585
1606
  "STICKER_VIDEO_NOWEBM": "StickerVideoNowebm",
1586
- "STORAGE_CHECK_FAILED": "StorageCheckFailed",
1587
- "STORAGE_CHOOSE_VOLUME_FAILED": "StorageChooseVolumeFailed",
1588
- "STORE_INVALID_SCALAR_TYPE": "StoreInvalidScalarType",
1589
1607
  "STORIES_NEVER_CREATED": "StoriesNeverCreated",
1590
1608
  "STORIES_TOO_MUCH": "StoriesTooMuch",
1591
1609
  "STORY_ID_EMPTY": "StoryIdEmpty",
@@ -1594,20 +1612,27 @@ exceptions = {
1594
1612
  "STORY_PERIOD_INVALID": "StoryPeriodInvalid",
1595
1613
  "STORY_SEND_FLOOD_MONTHLY_X": "StorySendFloodMonthly",
1596
1614
  "STORY_SEND_FLOOD_WEEKLY_X": "StorySendFloodWeekly",
1615
+ "SUBSCRIPTION_EXPORT_MISSING": "SubscriptionExportMissing",
1616
+ "SUBSCRIPTION_PERIOD_INVALID": "SubscriptionPeriodInvalid",
1597
1617
  "SWITCH_PM_TEXT_EMPTY": "SwitchPmTextEmpty",
1618
+ "SWITCH_WEBVIEW_URL_INVALID": "SwitchWebviewUrlInvalid",
1598
1619
  "TAKEOUT_INIT_DELAY_X": "TakeoutInitDelay",
1599
1620
  "TAKEOUT_INVALID": "TakeoutInvalid",
1600
1621
  "TAKEOUT_REQUIRED": "TakeoutRequired",
1601
1622
  "TASK_ALREADY_EXISTS": "TaskAlreadyExists",
1602
1623
  "TEMP_AUTH_KEY_ALREADY_BOUND": "TempAuthKeyAlreadyBound",
1603
1624
  "TEMP_AUTH_KEY_EMPTY": "TempAuthKeyEmpty",
1625
+ "TERMS_URL_INVALID": "TermsUrlInvalid",
1604
1626
  "THEME_FILE_INVALID": "ThemeFileInvalid",
1605
1627
  "THEME_FORMAT_INVALID": "ThemeFormatInvalid",
1606
1628
  "THEME_INVALID": "ThemeInvalid",
1607
1629
  "THEME_MIME_INVALID": "ThemeMimeInvalid",
1630
+ "THEME_PARAMS_INVALID": "ThemeParamsInvalid",
1608
1631
  "THEME_TITLE_INVALID": "ThemeTitleInvalid",
1632
+ "TIMEZONE_INVALID": "TimezoneInvalid",
1609
1633
  "TITLE_INVALID": "TitleInvalid",
1610
1634
  "TMP_PASSWORD_DISABLED": "TmpPasswordDisabled",
1635
+ "TMP_PASSWORD_INVALID": "TmpPasswordInvalid",
1611
1636
  "TOKEN_EMPTY": "TokenEmpty",
1612
1637
  "TOKEN_INVALID": "TokenInvalid",
1613
1638
  "TOKEN_TYPE_INVALID": "TokenTypeInvalid",
@@ -1620,14 +1645,15 @@ exceptions = {
1620
1645
  "TOPIC_NOT_MODIFIED": "TopicNotModified",
1621
1646
  "TOPIC_TITLE_EMPTY": "TopicTitleEmpty",
1622
1647
  "TO_LANG_INVALID": "ToLangInvalid",
1648
+ "TRANSACTION_ID_INVALID": "TransactionIdInvalid",
1623
1649
  "TRANSCRIPTION_FAILED": "TranscriptionFailed",
1650
+ "TRANSLATE_REQ_QUOTA_EXCEEDED": "TranslateReqQuotaExceeded",
1624
1651
  "TTL_DAYS_INVALID": "TtlDaysInvalid",
1625
1652
  "TTL_MEDIA_INVALID": "TtlMediaInvalid",
1626
1653
  "TTL_PERIOD_INVALID": "TtlPeriodInvalid",
1627
1654
  "TYPES_EMPTY": "TypesEmpty",
1628
- "UNKNOWN_METHOD": "UnknownMethod",
1655
+ "TYPE_CONSTRUCTOR_INVALID": "TypeConstructorInvalid",
1629
1656
  "UNTIL_DATE_INVALID": "UntilDateInvalid",
1630
- "UPLOAD_NO_VOLUME": "UploadNoVolume",
1631
1657
  "URL_INVALID": "UrlInvalid",
1632
1658
  "USAGE_LIMIT_INVALID": "UsageLimitInvalid",
1633
1659
  "USERNAMES_ACTIVE_TOO_MUCH": "UsernamesActiveTooMuch",
@@ -1649,7 +1675,7 @@ exceptions = {
1649
1675
  "USER_BOT_REQUIRED": "UserBotRequired",
1650
1676
  "USER_CHANNELS_TOO_MUCH": "UserChannelsTooMuch",
1651
1677
  "USER_CREATOR": "UserCreator",
1652
- "USER_DELETED": "UserDeleted",
1678
+ "USER_GIFT_UNAVAILABLE": "UserGiftUnavailable",
1653
1679
  "USER_ID_INVALID": "UserIdInvalid",
1654
1680
  "USER_INVALID": "UserInvalid",
1655
1681
  "USER_IS_BLOCKED": "UserIsBlocked",
@@ -1657,13 +1683,13 @@ exceptions = {
1657
1683
  "USER_KICKED": "UserKicked",
1658
1684
  "USER_NOT_MUTUAL_CONTACT": "UserNotMutualContact",
1659
1685
  "USER_NOT_PARTICIPANT": "UserNotParticipant",
1660
- "USER_PRIVACY_RESTRICTED": "UserPrivacyRestricted",
1661
1686
  "USER_PUBLIC_MISSING": "UserPublicMissing",
1662
- "USER_RESTRICTED": "UserRestricted",
1663
1687
  "USER_VOLUME_INVALID": "UserVolumeInvalid",
1664
1688
  "VENUE_ID_INVALID": "VenueIdInvalid",
1665
1689
  "VIDEO_CONTENT_TYPE_INVALID": "VideoContentTypeInvalid",
1666
1690
  "VIDEO_FILE_INVALID": "VideoFileInvalid",
1691
+ "VIDEO_PAUSE_FORBIDDEN": "VideoPauseForbidden",
1692
+ "VIDEO_STOP_FORBIDDEN": "VideoStopForbidden",
1667
1693
  "VIDEO_TITLE_EMPTY": "VideoTitleEmpty",
1668
1694
  "VOICE_MESSAGES_FORBIDDEN": "VoiceMessagesForbidden",
1669
1695
  "VOLUME_LOC_NOT_FOUND": "VolumeLocNotFound",
@@ -1675,6 +1701,7 @@ exceptions = {
1675
1701
  "WEBDOCUMENT_INVALID": "WebdocumentInvalid",
1676
1702
  "WEBDOCUMENT_MIME_INVALID": "WebdocumentMimeInvalid",
1677
1703
  "WEBDOCUMENT_SIZE_TOO_BIG": "WebdocumentSizeTooBig",
1704
+ "WEBDOCUMENT_URL_EMPTY": "WebdocumentUrlEmpty",
1678
1705
  "WEBDOCUMENT_URL_INVALID": "WebdocumentUrlInvalid",
1679
1706
  "WEBPAGE_CURL_FAILED": "WebpageCurlFailed",
1680
1707
  "WEBPAGE_MEDIA_EMPTY": "WebpageMediaEmpty",
@@ -1683,22 +1710,8 @@ exceptions = {
1683
1710
  "WEBPUSH_AUTH_INVALID": "WebpushAuthInvalid",
1684
1711
  "WEBPUSH_KEY_INVALID": "WebpushKeyInvalid",
1685
1712
  "WEBPUSH_TOKEN_INVALID": "WebpushTokenInvalid",
1686
- "WORKER_BUSY_TOO_LONG_RETRY": "WorkerBusyTooLongRetry",
1687
- "WP_ID_GENERATE_FAILED": "WpIdGenerateFailed",
1688
1713
  "YOU_BLOCKED_USER": "YouBlockedUser",
1689
1714
  },
1690
- 401: {
1691
- "_": "Unauthorized",
1692
- "ACTIVE_USER_REQUIRED": "ActiveUserRequired",
1693
- "AUTH_KEY_INVALID": "AuthKeyInvalid",
1694
- "AUTH_KEY_PERM_EMPTY": "AuthKeyPermEmpty",
1695
- "AUTH_KEY_UNREGISTERED": "AuthKeyUnregistered",
1696
- "SESSION_EXPIRED": "SessionExpired",
1697
- "SESSION_PASSWORD_NEEDED": "SessionPasswordNeeded",
1698
- "SESSION_REVOKED": "SessionRevoked",
1699
- "USER_DEACTIVATED": "UserDeactivated",
1700
- "USER_DEACTIVATED_BAN": "UserDeactivatedBan",
1701
- },
1702
1715
  403: {
1703
1716
  "_": "Forbidden",
1704
1717
  "2FA_CONFIRM_WAIT_X": "TwoFaConfirmWait",
@@ -1807,6 +1820,7 @@ exceptions = {
1807
1820
  "CHAT_SEND_VOICES_FORBIDDEN": "ChatSendVoicesForbidden",
1808
1821
  "CHAT_TITLE_EMPTY": "ChatTitleEmpty",
1809
1822
  "CHAT_TOO_BIG": "ChatTooBig",
1823
+ "CHAT_TYPE_INVALID": "ChatTypeInvalid",
1810
1824
  "CHAT_WRITE_FORBIDDEN": "ChatWriteForbidden",
1811
1825
  "CODE_EMPTY": "CodeEmpty",
1812
1826
  "CODE_HASH_INVALID": "CodeHashInvalid",
@@ -2211,10 +2225,30 @@ exceptions = {
2211
2225
  "YOUR_PRIVACY_RESTRICTED": "YourPrivacyRestricted",
2212
2226
  "YOU_BLOCKED_USER": "YouBlockedUser",
2213
2227
  },
2228
+ 401: {
2229
+ "_": "Unauthorized",
2230
+ "ACTIVE_USER_REQUIRED": "ActiveUserRequired",
2231
+ "AUTH_KEY_INVALID": "AuthKeyInvalid",
2232
+ "AUTH_KEY_PERM_EMPTY": "AuthKeyPermEmpty",
2233
+ "AUTH_KEY_UNREGISTERED": "AuthKeyUnregistered",
2234
+ "SESSION_EXPIRED": "SessionExpired",
2235
+ "SESSION_PASSWORD_NEEDED": "SessionPasswordNeeded",
2236
+ "SESSION_REVOKED": "SessionRevoked",
2237
+ "USER_DEACTIVATED": "UserDeactivated",
2238
+ "USER_DEACTIVATED_BAN": "UserDeactivatedBan",
2239
+ },
2214
2240
  503: {
2215
2241
  "_": "ServiceUnavailable",
2216
2242
  "ApiCallError": "ApiCallError",
2217
2243
  "Timedout": "Timedout",
2218
2244
  "Timeout": "Timeout",
2219
2245
  },
2246
+ 303: {
2247
+ "_": "SeeOther",
2248
+ "FILE_MIGRATE_X": "FileMigrate",
2249
+ "NETWORK_MIGRATE_X": "NetworkMigrate",
2250
+ "PHONE_MIGRATE_X": "PhoneMigrate",
2251
+ "STATS_MIGRATE_X": "StatsMigrate",
2252
+ "USER_MIGRATE_X": "UserMigrate",
2253
+ },
2220
2254
  }