pyrogrammod 2.4.1__py3-none-any.whl → 2.5.0b1__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 (3734) hide show
  1. pyrogram/__init__.py +1 -1
  2. pyrogram/client.py +109 -48
  3. pyrogram/dispatcher.py +79 -1
  4. pyrogram/enums/__init__.py +0 -4
  5. pyrogram/enums/chat_action.py +3 -0
  6. pyrogram/enums/message_entity_type.py +3 -0
  7. pyrogram/enums/message_media_type.py +3 -0
  8. pyrogram/enums/message_service_type.py +9 -0
  9. pyrogram/errors/exceptions/__init__.py +4 -4
  10. pyrogram/errors/exceptions/all.py +342 -342
  11. pyrogram/filters.py +11 -0
  12. pyrogram/handlers/__init__.py +9 -0
  13. pyrogram/handlers/bot_stars_subscription_handler.py +49 -0
  14. pyrogram/handlers/edited_ephemeral_message_handler.py +46 -0
  15. pyrogram/handlers/ephemeral_message_handler.py +46 -0
  16. pyrogram/handlers/feed_settings_handler.py +46 -0
  17. pyrogram/handlers/forum_topic_updated_handler.py +37 -0
  18. pyrogram/handlers/sim_bind_state_handler.py +46 -0
  19. pyrogram/handlers/transcription_handler.py +37 -0
  20. pyrogram/handlers/widget_data_handler.py +37 -0
  21. pyrogram/handlers/widget_query_handler.py +47 -0
  22. pyrogram/methods/__init__.py +8 -2
  23. pyrogram/methods/advanced/save_file.py +68 -116
  24. pyrogram/methods/auth/__init__.py +4 -0
  25. pyrogram/methods/auth/cancel_web_token_authorization.py +46 -0
  26. pyrogram/methods/auth/sim_bind.py +150 -0
  27. pyrogram/methods/bots/__init__.py +16 -0
  28. pyrogram/methods/bots/answer_widget_query.py +57 -0
  29. pyrogram/methods/bots/bot_usernames.py +86 -0
  30. pyrogram/methods/bots/edit_widget_data.py +135 -0
  31. pyrogram/methods/bots/get_bot_access_settings.py +6 -4
  32. pyrogram/methods/bots/invite_users_to_bot.py +58 -0
  33. pyrogram/methods/bots/profile_widget.py +161 -0
  34. pyrogram/methods/bots/send_shared_widget.py +100 -0
  35. pyrogram/methods/bots/send_widget.py +175 -0
  36. pyrogram/methods/bots/set_bot_settings.py +130 -0
  37. pyrogram/methods/chats/__init__.py +16 -0
  38. pyrogram/methods/chats/get_chat_share_theme.py +52 -0
  39. pyrogram/methods/chats/get_share_theme_backdrops.py +43 -0
  40. pyrogram/methods/chats/join_chat.py +8 -2
  41. pyrogram/methods/chats/report_not_spam.py +51 -0
  42. pyrogram/methods/chats/set_chat_ai_style.py +90 -0
  43. pyrogram/methods/chats/set_chat_member_tag.py +64 -0
  44. pyrogram/methods/chats/set_chat_share_theme.py +68 -0
  45. pyrogram/methods/chats/toggle_channel_news.py +57 -0
  46. pyrogram/methods/chats/toggle_forum.py +66 -0
  47. pyrogram/methods/communities/create_community.py +17 -3
  48. pyrogram/methods/communities/get_community_participant_chats.py +6 -4
  49. pyrogram/methods/communities/get_community_peer_link_requests.py +6 -4
  50. pyrogram/methods/communities/get_joined_communities.py +16 -3
  51. pyrogram/methods/communities/toggle_community_collapsed.py +5 -3
  52. pyrogram/methods/contacts/__init__.py +3 -1
  53. pyrogram/methods/contacts/no_paid_messages_token.py +88 -0
  54. pyrogram/methods/decorators/__init__.py +18 -0
  55. pyrogram/methods/decorators/on_bot_stars_subscription.py +60 -0
  56. pyrogram/methods/decorators/on_edited_ephemeral_message.py +60 -0
  57. pyrogram/methods/decorators/on_ephemeral_message.py +60 -0
  58. pyrogram/methods/decorators/on_feed_settings.py +60 -0
  59. pyrogram/methods/decorators/on_forum_topic_updated.py +59 -0
  60. pyrogram/methods/decorators/on_sim_bind_state.py +60 -0
  61. pyrogram/methods/decorators/on_transcription.py +59 -0
  62. pyrogram/methods/decorators/on_widget_data.py +59 -0
  63. pyrogram/methods/decorators/on_widget_query.py +67 -0
  64. pyrogram/methods/feed/__init__.py +31 -0
  65. pyrogram/methods/feed/feed_interests.py +66 -0
  66. pyrogram/methods/feed/feed_posts.py +151 -0
  67. pyrogram/methods/feed/feed_settings.py +181 -0
  68. pyrogram/methods/feed/get_feed.py +161 -0
  69. pyrogram/methods/gifts/__init__.py +31 -0
  70. pyrogram/methods/gifts/delete_gift.py +63 -0
  71. pyrogram/methods/gifts/get_merged_resale_gifts.py +113 -0
  72. pyrogram/methods/gifts/get_unique_gift.py +47 -0
  73. pyrogram/methods/gifts/onchain_gifts.py +318 -0
  74. pyrogram/methods/help/__init__.py +23 -0
  75. pyrogram/methods/messages/__init__.py +14 -8
  76. pyrogram/methods/messages/call_models.py +74 -0
  77. pyrogram/methods/messages/copy_media_group.py +1 -0
  78. pyrogram/methods/messages/delete_reactions.py +93 -0
  79. pyrogram/methods/messages/delete_web_browser_exceptions.py +6 -4
  80. pyrogram/methods/messages/download_media.py +11 -0
  81. pyrogram/methods/messages/edit_message_text.py +0 -5
  82. pyrogram/methods/messages/ephemeral_messages.py +338 -0
  83. pyrogram/methods/messages/get_messages.py +5 -4
  84. pyrogram/methods/messages/get_monoforum_dialogs.py +16 -5
  85. pyrogram/methods/messages/get_poll_stats.py +6 -4
  86. pyrogram/methods/messages/get_web_browser_settings.py +6 -4
  87. pyrogram/methods/messages/poll_options.py +162 -0
  88. pyrogram/methods/messages/request_chat_join_web_view.py +6 -3
  89. pyrogram/methods/messages/rich_messages.py +264 -0
  90. pyrogram/methods/messages/send_media_group.py +1 -0
  91. pyrogram/methods/messages/send_poll.py +47 -4
  92. pyrogram/methods/messages/stop_poll.py +2 -1
  93. pyrogram/methods/messages/transcribe_audio.py +100 -0
  94. pyrogram/methods/messages/update_web_browser_settings.py +6 -4
  95. pyrogram/methods/messages/widget_messages.py +109 -0
  96. pyrogram/methods/users/__init__.py +2 -0
  97. pyrogram/methods/users/get_user_profile_audios.py +76 -0
  98. pyrogram/methods/wallet/__init__.py +31 -0
  99. pyrogram/methods/wallet/onramp.py +313 -0
  100. pyrogram/methods/wallet/staking.py +100 -0
  101. pyrogram/methods/wallet/wallet_misc.py +68 -0
  102. pyrogram/methods/wallet/withdraw.py +113 -0
  103. pyrogram/parser/html.py +9 -1
  104. pyrogram/raw/all.py +340 -65
  105. pyrogram/raw/base/__init__.py +47 -1
  106. pyrogram/raw/base/access_point_rule.py +0 -7
  107. pyrogram/raw/base/account/__init__.py +2 -0
  108. pyrogram/raw/base/account/authorization_form.py +0 -7
  109. pyrogram/raw/base/account/authorizations.py +0 -7
  110. pyrogram/raw/base/account/auto_download_settings.py +0 -7
  111. pyrogram/raw/base/account/auto_save_settings.py +0 -7
  112. pyrogram/raw/base/account/business_chat_links.py +0 -7
  113. pyrogram/raw/base/account/chat_themes.py +0 -7
  114. pyrogram/raw/base/account/connected_bots.py +0 -7
  115. pyrogram/raw/base/account/content_settings.py +0 -7
  116. pyrogram/raw/base/account/email_verified.py +0 -7
  117. pyrogram/raw/base/account/emoji_statuses.py +0 -7
  118. pyrogram/raw/base/account/paid_messages_revenue.py +0 -7
  119. pyrogram/raw/base/account/passkey_registration_options.py +0 -7
  120. pyrogram/raw/base/account/passkeys.py +0 -7
  121. pyrogram/raw/base/account/password.py +0 -7
  122. pyrogram/raw/base/account/password_input_settings.py +0 -7
  123. pyrogram/raw/base/account/password_settings.py +0 -7
  124. pyrogram/raw/base/account/privacy_rules.py +0 -7
  125. pyrogram/raw/base/account/reset_password_result.py +0 -7
  126. pyrogram/raw/base/account/resolved_business_chat_links.py +0 -7
  127. pyrogram/raw/base/account/saved_music_ids.py +0 -7
  128. pyrogram/raw/base/account/saved_ringtone.py +0 -7
  129. pyrogram/raw/base/account/saved_ringtones.py +0 -7
  130. pyrogram/raw/base/account/sent_email_code.py +0 -7
  131. pyrogram/raw/base/account/sim_bind_challenge.py +49 -0
  132. pyrogram/raw/base/account/sim_bind_state.py +39 -0
  133. pyrogram/raw/base/account/takeout.py +0 -7
  134. pyrogram/raw/base/account/themes.py +0 -7
  135. pyrogram/raw/base/account/tmp_password.py +0 -7
  136. pyrogram/raw/base/account/wall_papers.py +0 -7
  137. pyrogram/raw/base/account/web_authorizations.py +0 -7
  138. pyrogram/raw/base/account/web_browser_settings.py +0 -7
  139. pyrogram/raw/base/account_days_ttl.py +0 -7
  140. pyrogram/raw/base/ai_compose_tone.py +0 -7
  141. pyrogram/raw/base/ai_compose_tone_example.py +0 -7
  142. pyrogram/raw/base/aicompose/tones.py +0 -7
  143. pyrogram/raw/base/attach_menu_bot.py +0 -7
  144. pyrogram/raw/base/attach_menu_bot_icon.py +0 -7
  145. pyrogram/raw/base/attach_menu_bot_icon_color.py +0 -7
  146. pyrogram/raw/base/attach_menu_bots.py +0 -7
  147. pyrogram/raw/base/attach_menu_bots_bot.py +0 -7
  148. pyrogram/raw/base/attach_menu_peer_type.py +0 -7
  149. pyrogram/raw/base/auction_bid_level.py +0 -7
  150. pyrogram/raw/base/auth/__init__.py +1 -0
  151. pyrogram/raw/base/auth/authorization.py +4 -9
  152. pyrogram/raw/base/auth/code_type.py +0 -7
  153. pyrogram/raw/base/auth/exported_authorization.py +0 -7
  154. pyrogram/raw/base/auth/firebase_pnv_intent.py +49 -0
  155. pyrogram/raw/base/auth/logged_out.py +0 -7
  156. pyrogram/raw/base/auth/login_token.py +0 -7
  157. pyrogram/raw/base/auth/passkey_login_options.py +0 -7
  158. pyrogram/raw/base/auth/password_recovery.py +0 -7
  159. pyrogram/raw/base/auth/sent_code.py +3 -9
  160. pyrogram/raw/base/auth/sent_code_type.py +0 -7
  161. pyrogram/raw/base/authorization.py +0 -7
  162. pyrogram/raw/base/auto_download_settings.py +0 -7
  163. pyrogram/raw/base/auto_save_exception.py +0 -7
  164. pyrogram/raw/base/auto_save_settings.py +0 -7
  165. pyrogram/raw/base/available_effect.py +0 -7
  166. pyrogram/raw/base/available_reaction.py +0 -7
  167. pyrogram/raw/base/bad_msg_notification.py +0 -7
  168. pyrogram/raw/base/bank_card_open_url.py +0 -7
  169. pyrogram/raw/base/base_theme.py +0 -7
  170. pyrogram/raw/base/bind_auth_key_inner.py +0 -7
  171. pyrogram/raw/base/birthday.py +0 -7
  172. pyrogram/raw/base/boost.py +0 -7
  173. pyrogram/raw/base/bot_app.py +0 -7
  174. pyrogram/raw/base/bot_app_settings.py +0 -7
  175. pyrogram/raw/base/bot_business_connection.py +0 -7
  176. pyrogram/raw/base/bot_command.py +0 -7
  177. pyrogram/raw/base/bot_command_scope.py +0 -7
  178. pyrogram/raw/base/bot_info.py +0 -7
  179. pyrogram/raw/base/bot_inline_message.py +4 -10
  180. pyrogram/raw/base/bot_inline_result.py +0 -7
  181. pyrogram/raw/base/bot_menu_button.py +0 -7
  182. pyrogram/raw/base/bot_preview_media.py +0 -7
  183. pyrogram/raw/base/bot_profile_widget.py +39 -0
  184. pyrogram/raw/base/bot_verification.py +0 -7
  185. pyrogram/raw/base/bot_verifier_settings.py +0 -7
  186. pyrogram/raw/base/bots/access_settings.py +0 -7
  187. pyrogram/raw/base/bots/bot_info.py +0 -7
  188. pyrogram/raw/base/bots/exported_bot_token.py +0 -7
  189. pyrogram/raw/base/bots/popular_app_bots.py +0 -7
  190. pyrogram/raw/base/bots/preview_info.py +0 -7
  191. pyrogram/raw/base/bots/requested_button.py +0 -7
  192. pyrogram/raw/base/business_away_message.py +0 -7
  193. pyrogram/raw/base/business_away_message_schedule.py +0 -7
  194. pyrogram/raw/base/business_bot_recipients.py +0 -7
  195. pyrogram/raw/base/business_bot_rights.py +0 -7
  196. pyrogram/raw/base/business_chat_link.py +0 -7
  197. pyrogram/raw/base/business_greeting_message.py +0 -7
  198. pyrogram/raw/base/business_intro.py +0 -7
  199. pyrogram/raw/base/business_location.py +0 -7
  200. pyrogram/raw/base/business_recipients.py +0 -7
  201. pyrogram/raw/base/business_weekly_open.py +0 -7
  202. pyrogram/raw/base/business_work_hours.py +0 -7
  203. pyrogram/raw/base/button_type.py +45 -0
  204. pyrogram/raw/base/cdn_config.py +0 -7
  205. pyrogram/raw/base/cdn_public_key.py +0 -7
  206. pyrogram/raw/base/channel_admin_log_event.py +0 -7
  207. pyrogram/raw/base/channel_admin_log_event_action.py +3 -9
  208. pyrogram/raw/base/channel_admin_log_events_filter.py +0 -7
  209. pyrogram/raw/base/channel_location.py +0 -7
  210. pyrogram/raw/base/channel_messages_filter.py +0 -7
  211. pyrogram/raw/base/channel_participant.py +0 -7
  212. pyrogram/raw/base/channel_participants_filter.py +0 -7
  213. pyrogram/raw/base/channels/admin_log_results.py +0 -7
  214. pyrogram/raw/base/channels/channel_participant.py +0 -7
  215. pyrogram/raw/base/channels/channel_participants.py +0 -7
  216. pyrogram/raw/base/channels/send_as_peers.py +0 -7
  217. pyrogram/raw/base/channels/sponsored_message_report_result.py +0 -7
  218. pyrogram/raw/base/chat.py +0 -7
  219. pyrogram/raw/base/chat_admin_rights.py +0 -7
  220. pyrogram/raw/base/chat_admin_with_invites.py +0 -7
  221. pyrogram/raw/base/chat_banned_rights.py +0 -7
  222. pyrogram/raw/base/chat_full.py +0 -7
  223. pyrogram/raw/base/chat_invite.py +0 -7
  224. pyrogram/raw/base/chat_invite_importer.py +0 -7
  225. pyrogram/raw/base/chat_onlines.py +0 -7
  226. pyrogram/raw/base/chat_participant.py +0 -7
  227. pyrogram/raw/base/chat_participants.py +0 -7
  228. pyrogram/raw/base/chat_photo.py +0 -7
  229. pyrogram/raw/base/chat_reactions.py +0 -7
  230. pyrogram/raw/base/chat_theme.py +0 -7
  231. pyrogram/raw/base/chatlists/chatlist_invite.py +0 -7
  232. pyrogram/raw/base/chatlists/chatlist_updates.py +0 -7
  233. pyrogram/raw/base/chatlists/exported_chatlist_invite.py +0 -7
  234. pyrogram/raw/base/chatlists/exported_invites.py +0 -7
  235. pyrogram/raw/base/client_dh_inner_data.py +0 -7
  236. pyrogram/raw/base/code_settings.py +0 -7
  237. pyrogram/raw/base/communities/participant_joined_chats.py +1 -8
  238. pyrogram/raw/base/communities/peer_link_requests.py +1 -8
  239. pyrogram/raw/base/community_peer.py +0 -7
  240. pyrogram/raw/base/community_peer_request.py +0 -7
  241. pyrogram/raw/base/config.py +0 -7
  242. pyrogram/raw/base/connected_bot.py +0 -7
  243. pyrogram/raw/base/connected_bot_star_ref.py +0 -7
  244. pyrogram/raw/base/contact.py +0 -7
  245. pyrogram/raw/base/contact_birthday.py +0 -7
  246. pyrogram/raw/base/contact_status.py +0 -7
  247. pyrogram/raw/base/contacts/blocked.py +0 -7
  248. pyrogram/raw/base/contacts/contact_birthdays.py +0 -7
  249. pyrogram/raw/base/contacts/contacts.py +0 -7
  250. pyrogram/raw/base/contacts/found.py +0 -7
  251. pyrogram/raw/base/contacts/imported_contacts.py +0 -7
  252. pyrogram/raw/base/contacts/resolved_peer.py +0 -7
  253. pyrogram/raw/base/contacts/sponsored_peers.py +0 -7
  254. pyrogram/raw/base/contacts/top_peers.py +0 -7
  255. pyrogram/raw/base/currency_rate.py +39 -0
  256. pyrogram/raw/base/data_json.py +0 -7
  257. pyrogram/raw/base/dc_option.py +0 -7
  258. pyrogram/raw/base/default_history_ttl.py +0 -7
  259. pyrogram/raw/base/destroy_auth_key_res.py +0 -7
  260. pyrogram/raw/base/destroy_session_res.py +0 -7
  261. pyrogram/raw/base/dialog.py +0 -7
  262. pyrogram/raw/base/dialog_filter.py +0 -7
  263. pyrogram/raw/base/dialog_filter_suggested.py +0 -7
  264. pyrogram/raw/base/dialog_peer.py +0 -7
  265. pyrogram/raw/base/disallowed_gifts_settings.py +0 -7
  266. pyrogram/raw/base/document.py +0 -7
  267. pyrogram/raw/base/document_attribute.py +0 -7
  268. pyrogram/raw/base/draft_message.py +0 -7
  269. pyrogram/raw/base/email_verification.py +0 -7
  270. pyrogram/raw/base/email_verify_purpose.py +0 -7
  271. pyrogram/raw/base/emoji_group.py +0 -7
  272. pyrogram/raw/base/emoji_keyword.py +0 -7
  273. pyrogram/raw/base/emoji_keywords_difference.py +0 -7
  274. pyrogram/raw/base/emoji_language.py +0 -7
  275. pyrogram/raw/base/emoji_list.py +0 -7
  276. pyrogram/raw/base/emoji_status.py +0 -7
  277. pyrogram/raw/base/emoji_url.py +0 -7
  278. pyrogram/raw/base/encrypted_chat.py +0 -7
  279. pyrogram/raw/base/encrypted_file.py +0 -7
  280. pyrogram/raw/base/encrypted_message.py +0 -7
  281. pyrogram/raw/base/ephemeral/__init__.py +25 -0
  282. pyrogram/raw/base/ephemeral/welcome_messages.py +50 -0
  283. pyrogram/raw/base/ephemeral_message.py +0 -7
  284. pyrogram/raw/base/exported_chat_invite.py +0 -7
  285. pyrogram/raw/base/exported_chatlist_invite.py +0 -7
  286. pyrogram/raw/base/exported_contact_token.py +0 -7
  287. pyrogram/raw/base/exported_message_link.py +0 -7
  288. pyrogram/raw/base/exported_no_paid_messages_token.py +49 -0
  289. pyrogram/raw/base/exported_story_link.py +0 -7
  290. pyrogram/raw/base/fact_check.py +0 -7
  291. pyrogram/raw/base/feed/__init__.py +31 -0
  292. pyrogram/raw/base/feed/feed_messages.py +50 -0
  293. pyrogram/raw/base/feed/for_you_feed.py +49 -0
  294. pyrogram/raw/base/feed/hidden_channel.py +39 -0
  295. pyrogram/raw/base/feed/hidden_channels.py +49 -0
  296. pyrogram/raw/base/feed/input_feed_post.py +40 -0
  297. pyrogram/raw/base/feed/interest_categories.py +50 -0
  298. pyrogram/raw/base/feed/interest_category.py +39 -0
  299. pyrogram/raw/base/feed_item.py +41 -0
  300. pyrogram/raw/base/feed_position.py +39 -0
  301. pyrogram/raw/base/feed_settings.py +51 -0
  302. pyrogram/raw/base/feed_sources_settings.py +39 -0
  303. pyrogram/raw/base/file_hash.py +0 -7
  304. pyrogram/raw/base/folder.py +0 -7
  305. pyrogram/raw/base/folder_peer.py +0 -7
  306. pyrogram/raw/base/forum_topic.py +0 -7
  307. pyrogram/raw/base/found_story.py +0 -7
  308. pyrogram/raw/base/fragment/collectible_info.py +0 -7
  309. pyrogram/raw/base/game.py +0 -7
  310. pyrogram/raw/base/geo_point.py +0 -7
  311. pyrogram/raw/base/geo_point_address.py +0 -7
  312. pyrogram/raw/base/global_privacy_settings.py +0 -7
  313. pyrogram/raw/base/group_call.py +0 -7
  314. pyrogram/raw/base/group_call_donor.py +0 -7
  315. pyrogram/raw/base/group_call_message.py +0 -7
  316. pyrogram/raw/base/group_call_participant.py +0 -7
  317. pyrogram/raw/base/group_call_participant_video.py +0 -7
  318. pyrogram/raw/base/group_call_participant_video_source_group.py +0 -7
  319. pyrogram/raw/base/group_call_stream_channel.py +0 -7
  320. pyrogram/raw/base/help/app_config.py +0 -7
  321. pyrogram/raw/base/help/app_update.py +0 -7
  322. pyrogram/raw/base/help/config_simple.py +0 -7
  323. pyrogram/raw/base/help/countries_list.py +0 -7
  324. pyrogram/raw/base/help/country.py +0 -7
  325. pyrogram/raw/base/help/country_code.py +0 -7
  326. pyrogram/raw/base/help/deep_link_info.py +0 -7
  327. pyrogram/raw/base/help/invite_text.py +0 -7
  328. pyrogram/raw/base/help/passport_config.py +0 -7
  329. pyrogram/raw/base/help/peer_color_option.py +0 -7
  330. pyrogram/raw/base/help/peer_color_set.py +0 -7
  331. pyrogram/raw/base/help/peer_colors.py +0 -7
  332. pyrogram/raw/base/help/premium_promo.py +0 -7
  333. pyrogram/raw/base/help/promo_data.py +0 -7
  334. pyrogram/raw/base/help/recent_me_urls.py +0 -7
  335. pyrogram/raw/base/help/support.py +0 -7
  336. pyrogram/raw/base/help/support_name.py +0 -7
  337. pyrogram/raw/base/help/terms_of_service.py +0 -7
  338. pyrogram/raw/base/help/terms_of_service_update.py +0 -7
  339. pyrogram/raw/base/help/timezones_list.py +0 -7
  340. pyrogram/raw/base/help/user_info.py +0 -7
  341. pyrogram/raw/base/high_score.py +0 -7
  342. pyrogram/raw/base/http_wait.py +0 -7
  343. pyrogram/raw/base/imported_contact.py +0 -7
  344. pyrogram/raw/base/inline_bot_switch_pm.py +0 -7
  345. pyrogram/raw/base/inline_bot_web_view.py +0 -7
  346. pyrogram/raw/base/inline_button_type.py +50 -0
  347. pyrogram/raw/base/inline_query_peer_type.py +0 -7
  348. pyrogram/raw/base/input_ai_compose_style.py +39 -0
  349. pyrogram/raw/base/input_ai_compose_tone.py +0 -7
  350. pyrogram/raw/base/input_app_event.py +0 -7
  351. pyrogram/raw/base/input_bot_app.py +0 -7
  352. pyrogram/raw/base/input_bot_inline_message.py +5 -10
  353. pyrogram/raw/base/input_bot_inline_message_id.py +0 -7
  354. pyrogram/raw/base/input_bot_inline_result.py +0 -7
  355. pyrogram/raw/base/input_business_away_message.py +0 -7
  356. pyrogram/raw/base/input_business_bot_recipients.py +0 -7
  357. pyrogram/raw/base/input_business_chat_link.py +0 -7
  358. pyrogram/raw/base/input_business_greeting_message.py +0 -7
  359. pyrogram/raw/base/input_business_intro.py +0 -7
  360. pyrogram/raw/base/input_business_recipients.py +0 -7
  361. pyrogram/raw/base/input_channel.py +0 -7
  362. pyrogram/raw/base/input_chat_photo.py +0 -7
  363. pyrogram/raw/base/input_chat_theme.py +0 -7
  364. pyrogram/raw/base/input_chatlist.py +0 -7
  365. pyrogram/raw/base/input_check_password_srp.py +0 -7
  366. pyrogram/raw/base/input_client_proxy.py +0 -7
  367. pyrogram/raw/base/input_collectible.py +0 -7
  368. pyrogram/raw/base/input_contact.py +0 -7
  369. pyrogram/raw/base/input_dialog_peer.py +0 -7
  370. pyrogram/raw/base/input_document.py +0 -7
  371. pyrogram/raw/base/input_encrypted_chat.py +0 -7
  372. pyrogram/raw/base/input_encrypted_file.py +0 -7
  373. pyrogram/raw/base/input_feed_event.py +39 -0
  374. pyrogram/raw/base/input_file.py +0 -7
  375. pyrogram/raw/base/input_file_location.py +0 -7
  376. pyrogram/raw/base/input_folder_peer.py +0 -7
  377. pyrogram/raw/base/input_game.py +0 -7
  378. pyrogram/raw/base/input_geo_point.py +0 -7
  379. pyrogram/raw/base/input_group_call.py +0 -7
  380. pyrogram/raw/base/input_invoice.py +0 -7
  381. pyrogram/raw/base/input_media.py +5 -10
  382. pyrogram/raw/base/input_message.py +0 -7
  383. pyrogram/raw/base/input_message_read_metric.py +0 -7
  384. pyrogram/raw/base/input_notify_peer.py +0 -7
  385. pyrogram/raw/base/input_passkey_credential.py +2 -10
  386. pyrogram/raw/base/input_passkey_response.py +0 -7
  387. pyrogram/raw/base/input_payment_credentials.py +0 -7
  388. pyrogram/raw/base/input_peer.py +0 -7
  389. pyrogram/raw/base/input_peer_notify_settings.py +0 -7
  390. pyrogram/raw/base/input_phone_call.py +0 -7
  391. pyrogram/raw/base/input_photo.py +0 -7
  392. pyrogram/raw/base/input_privacy_key.py +0 -7
  393. pyrogram/raw/base/input_privacy_rule.py +0 -7
  394. pyrogram/raw/base/input_quick_reply_shortcut.py +0 -7
  395. pyrogram/raw/base/input_reply_to.py +0 -7
  396. pyrogram/raw/base/input_rich_file.py +0 -7
  397. pyrogram/raw/base/input_rich_message.py +0 -7
  398. pyrogram/raw/base/input_saved_star_gift.py +0 -7
  399. pyrogram/raw/base/input_secure_file.py +0 -7
  400. pyrogram/raw/base/input_secure_value.py +0 -7
  401. pyrogram/raw/base/input_sim_bind_diagnostic_event.py +39 -0
  402. pyrogram/raw/base/input_sim_bind_diagnostic_subscription.py +39 -0
  403. pyrogram/raw/base/input_sim_info.py +39 -0
  404. pyrogram/raw/base/input_single_media.py +0 -7
  405. pyrogram/raw/base/input_star_gift_auction.py +0 -7
  406. pyrogram/raw/base/input_stars_transaction.py +0 -7
  407. pyrogram/raw/base/input_sticker_set.py +0 -7
  408. pyrogram/raw/base/input_sticker_set_item.py +0 -7
  409. pyrogram/raw/base/input_stickered_media.py +0 -7
  410. pyrogram/raw/base/input_store_payment_purpose.py +0 -7
  411. pyrogram/raw/base/input_theme.py +0 -7
  412. pyrogram/raw/base/input_theme_settings.py +0 -7
  413. pyrogram/raw/base/input_ton_connect_oauth_session.py +39 -0
  414. pyrogram/raw/base/input_user.py +0 -7
  415. pyrogram/raw/base/input_wall_paper.py +0 -7
  416. pyrogram/raw/base/input_wallet_card_sticker.py +39 -0
  417. pyrogram/raw/base/input_wallet_replacement.py +40 -0
  418. pyrogram/raw/base/input_web_document.py +0 -7
  419. pyrogram/raw/base/input_web_file_location.py +0 -7
  420. pyrogram/raw/base/invoice.py +0 -7
  421. pyrogram/raw/base/ip_port.py +0 -7
  422. pyrogram/raw/base/join_chat_bot_result.py +0 -7
  423. pyrogram/raw/base/json_object_value.py +0 -7
  424. pyrogram/raw/base/json_value.py +0 -7
  425. pyrogram/raw/base/keyboard_button.py +2 -26
  426. pyrogram/raw/base/keyboard_button_row.py +0 -7
  427. pyrogram/raw/base/keyboard_button_style.py +0 -7
  428. pyrogram/raw/base/keyboard_inline_button.py +39 -0
  429. pyrogram/raw/base/keyboard_inline_button_row.py +39 -0
  430. pyrogram/raw/base/labeled_price.py +0 -7
  431. pyrogram/raw/base/lang_pack_difference.py +0 -7
  432. pyrogram/raw/base/lang_pack_language.py +0 -7
  433. pyrogram/raw/base/lang_pack_string.py +0 -7
  434. pyrogram/raw/base/mask_coords.py +0 -7
  435. pyrogram/raw/base/media_area.py +0 -7
  436. pyrogram/raw/base/media_area_coordinates.py +0 -7
  437. pyrogram/raw/base/message.py +0 -7
  438. pyrogram/raw/base/message_action.py +9 -9
  439. pyrogram/raw/base/message_entity.py +3 -9
  440. pyrogram/raw/base/message_extended_media.py +0 -7
  441. pyrogram/raw/base/message_fwd_header.py +0 -7
  442. pyrogram/raw/base/message_media.py +3 -9
  443. pyrogram/raw/base/message_peer_reaction.py +0 -7
  444. pyrogram/raw/base/message_peer_vote.py +0 -7
  445. pyrogram/raw/base/message_range.py +0 -7
  446. pyrogram/raw/base/message_reactions.py +0 -7
  447. pyrogram/raw/base/message_reactor.py +0 -7
  448. pyrogram/raw/base/message_replies.py +0 -7
  449. pyrogram/raw/base/message_reply_header.py +0 -7
  450. pyrogram/raw/base/message_report_option.py +0 -7
  451. pyrogram/raw/base/message_views.py +0 -7
  452. pyrogram/raw/base/messages/__init__.py +4 -0
  453. pyrogram/raw/base/messages/affected_found_messages.py +0 -7
  454. pyrogram/raw/base/messages/affected_history.py +0 -7
  455. pyrogram/raw/base/messages/affected_messages.py +0 -7
  456. pyrogram/raw/base/messages/all_stickers.py +0 -7
  457. pyrogram/raw/base/messages/archived_stickers.py +0 -7
  458. pyrogram/raw/base/messages/available_effects.py +0 -7
  459. pyrogram/raw/base/messages/available_reactions.py +0 -7
  460. pyrogram/raw/base/messages/bot_app.py +0 -7
  461. pyrogram/raw/base/messages/bot_callback_answer.py +0 -7
  462. pyrogram/raw/base/messages/bot_prepared_inline_message.py +0 -7
  463. pyrogram/raw/base/messages/bot_results.py +0 -7
  464. pyrogram/raw/base/messages/bot_widget_query_answer.py +50 -0
  465. pyrogram/raw/base/messages/chat_admins_with_invites.py +0 -7
  466. pyrogram/raw/base/messages/chat_full.py +0 -7
  467. pyrogram/raw/base/messages/chat_invite_importers.py +0 -7
  468. pyrogram/raw/base/messages/chat_invite_join_result.py +0 -7
  469. pyrogram/raw/base/messages/chats.py +2 -8
  470. pyrogram/raw/base/messages/checked_history_import_peer.py +0 -7
  471. pyrogram/raw/base/messages/composed_message_with_ai.py +0 -7
  472. pyrogram/raw/base/messages/composed_rich_message_with_ai.py +1 -8
  473. pyrogram/raw/base/messages/dh_config.py +0 -7
  474. pyrogram/raw/base/messages/dialog_filters.py +0 -7
  475. pyrogram/raw/base/messages/dialogs.py +0 -7
  476. pyrogram/raw/base/messages/discussion_message.py +0 -7
  477. pyrogram/raw/base/messages/emoji_game_info.py +0 -7
  478. pyrogram/raw/base/messages/emoji_game_outcome.py +0 -7
  479. pyrogram/raw/base/messages/emoji_groups.py +0 -7
  480. pyrogram/raw/base/messages/exported_chat_invite.py +0 -7
  481. pyrogram/raw/base/messages/exported_chat_invites.py +0 -7
  482. pyrogram/raw/base/messages/faved_stickers.py +0 -7
  483. pyrogram/raw/base/messages/featured_stickers.py +0 -7
  484. pyrogram/raw/base/messages/forum_topics.py +0 -7
  485. pyrogram/raw/base/messages/found_sticker_sets.py +0 -7
  486. pyrogram/raw/base/messages/found_stickers.py +0 -7
  487. pyrogram/raw/base/messages/high_scores.py +0 -7
  488. pyrogram/raw/base/messages/history_import.py +0 -7
  489. pyrogram/raw/base/messages/history_import_parsed.py +0 -7
  490. pyrogram/raw/base/messages/inactive_chats.py +0 -7
  491. pyrogram/raw/base/messages/invited_users.py +0 -7
  492. pyrogram/raw/base/messages/message.py +39 -0
  493. pyrogram/raw/base/messages/message_edit_data.py +0 -7
  494. pyrogram/raw/base/messages/message_reactions_list.py +0 -7
  495. pyrogram/raw/base/messages/message_views.py +0 -7
  496. pyrogram/raw/base/messages/messages.py +0 -7
  497. pyrogram/raw/base/messages/my_stickers.py +0 -7
  498. pyrogram/raw/base/messages/peer_dialogs.py +0 -7
  499. pyrogram/raw/base/messages/peer_settings.py +0 -7
  500. pyrogram/raw/base/messages/prepared_inline_message.py +0 -7
  501. pyrogram/raw/base/messages/quick_replies.py +0 -7
  502. pyrogram/raw/base/messages/reactions.py +0 -7
  503. pyrogram/raw/base/messages/recent_stickers.py +0 -7
  504. pyrogram/raw/base/messages/saved_dialogs.py +0 -7
  505. pyrogram/raw/base/messages/saved_gifs.py +0 -7
  506. pyrogram/raw/base/messages/saved_reaction_tags.py +0 -7
  507. pyrogram/raw/base/messages/search_counter.py +0 -7
  508. pyrogram/raw/base/messages/search_results_calendar.py +0 -7
  509. pyrogram/raw/base/messages/search_results_positions.py +0 -7
  510. pyrogram/raw/base/messages/sent_encrypted_message.py +0 -7
  511. pyrogram/raw/base/messages/sponsored_messages.py +3 -9
  512. pyrogram/raw/base/messages/sticker_set.py +0 -7
  513. pyrogram/raw/base/messages/sticker_set_install_result.py +0 -7
  514. pyrogram/raw/base/messages/stickers.py +0 -7
  515. pyrogram/raw/base/messages/transcribed_audio.py +3 -9
  516. pyrogram/raw/base/messages/translated_rich_message.py +0 -7
  517. pyrogram/raw/base/messages/translated_text.py +3 -9
  518. pyrogram/raw/base/messages/votes_list.py +0 -7
  519. pyrogram/raw/base/messages/web_page.py +0 -7
  520. pyrogram/raw/base/messages/web_page_preview.py +0 -7
  521. pyrogram/raw/base/messages/web_view_result.py +49 -0
  522. pyrogram/raw/base/messages/widget_public_data.py +51 -0
  523. pyrogram/raw/base/messages_filter.py +3 -9
  524. pyrogram/raw/base/missing_invitee.py +0 -7
  525. pyrogram/raw/base/mnemonic/__init__.py +25 -0
  526. pyrogram/raw/base/mnemonic/decrypted_key_part.py +39 -0
  527. pyrogram/raw/base/msg_detailed_info.py +0 -7
  528. pyrogram/raw/base/msg_resend_req.py +0 -7
  529. pyrogram/raw/base/msgs_ack.py +0 -7
  530. pyrogram/raw/base/msgs_all_info.py +0 -7
  531. pyrogram/raw/base/msgs_state_info.py +0 -7
  532. pyrogram/raw/base/msgs_state_req.py +0 -7
  533. pyrogram/raw/base/my_boost.py +0 -7
  534. pyrogram/raw/base/nearest_dc.py +0 -7
  535. pyrogram/raw/base/new_session.py +0 -7
  536. pyrogram/raw/base/notification_sound.py +0 -7
  537. pyrogram/raw/base/notify_peer.py +0 -7
  538. pyrogram/raw/base/onramp_availability.py +49 -0
  539. pyrogram/raw/base/onramp_limits.py +49 -0
  540. pyrogram/raw/base/onramp_method_availability.py +39 -0
  541. pyrogram/raw/base/onramp_provider_info.py +49 -0
  542. pyrogram/raw/base/onramp_quote.py +49 -0
  543. pyrogram/raw/base/onramp_session.py +49 -0
  544. pyrogram/raw/base/outbox_read_date.py +0 -7
  545. pyrogram/raw/base/page.py +0 -7
  546. pyrogram/raw/base/page_block.py +5 -9
  547. pyrogram/raw/base/page_button.py +39 -0
  548. pyrogram/raw/base/page_caption.py +0 -7
  549. pyrogram/raw/base/page_list_item.py +0 -7
  550. pyrogram/raw/base/page_list_ordered_item.py +0 -7
  551. pyrogram/raw/base/page_related_article.py +0 -7
  552. pyrogram/raw/base/page_table_cell.py +0 -7
  553. pyrogram/raw/base/page_table_row.py +0 -7
  554. pyrogram/raw/base/paid_reaction_privacy.py +0 -7
  555. pyrogram/raw/base/passkey.py +0 -7
  556. pyrogram/raw/base/password_kdf_algo.py +0 -7
  557. pyrogram/raw/base/payment_charge.py +0 -7
  558. pyrogram/raw/base/payment_form_method.py +0 -7
  559. pyrogram/raw/base/payment_requested_info.py +0 -7
  560. pyrogram/raw/base/payment_saved_credentials.py +0 -7
  561. pyrogram/raw/base/payments/__init__.py +6 -0
  562. pyrogram/raw/base/payments/bank_card_data.py +0 -7
  563. pyrogram/raw/base/payments/check_can_send_gift_result.py +0 -7
  564. pyrogram/raw/base/payments/checked_gift_code.py +0 -7
  565. pyrogram/raw/base/payments/connected_star_ref_bots.py +0 -7
  566. pyrogram/raw/base/payments/currency_rates.py +49 -0
  567. pyrogram/raw/base/payments/exported_invoice.py +0 -7
  568. pyrogram/raw/base/payments/giveaway_info.py +0 -7
  569. pyrogram/raw/base/payments/payment_form.py +0 -7
  570. pyrogram/raw/base/payments/payment_receipt.py +0 -7
  571. pyrogram/raw/base/payments/payment_result.py +0 -7
  572. pyrogram/raw/base/payments/resale_star_gifts.py +3 -9
  573. pyrogram/raw/base/payments/saved_info.py +0 -7
  574. pyrogram/raw/base/payments/saved_star_gifts.py +0 -7
  575. pyrogram/raw/base/payments/star_gift_active_auctions.py +0 -7
  576. pyrogram/raw/base/payments/star_gift_auction_acquired_gifts.py +0 -7
  577. pyrogram/raw/base/payments/star_gift_auction_state.py +0 -7
  578. pyrogram/raw/base/payments/star_gift_collections.py +0 -7
  579. pyrogram/raw/base/payments/star_gift_deposit_payload.py +49 -0
  580. pyrogram/raw/base/payments/star_gift_onchain_offer_tx.py +51 -0
  581. pyrogram/raw/base/payments/star_gift_onchain_offer_tx_init_state.py +39 -0
  582. pyrogram/raw/base/payments/star_gift_onchain_offer_tx_message.py +39 -0
  583. pyrogram/raw/base/payments/star_gift_onchain_sale_payload.py +52 -0
  584. pyrogram/raw/base/payments/star_gift_upgrade_attributes.py +0 -7
  585. pyrogram/raw/base/payments/star_gift_upgrade_preview.py +0 -7
  586. pyrogram/raw/base/payments/star_gift_withdrawal_url.py +0 -7
  587. pyrogram/raw/base/payments/star_gifts.py +0 -7
  588. pyrogram/raw/base/payments/stars_revenue_ads_account_url.py +0 -7
  589. pyrogram/raw/base/payments/stars_revenue_stats.py +0 -7
  590. pyrogram/raw/base/payments/stars_revenue_withdrawal_url.py +0 -7
  591. pyrogram/raw/base/payments/stars_status.py +0 -7
  592. pyrogram/raw/base/payments/suggested_star_ref_bots.py +0 -7
  593. pyrogram/raw/base/payments/unique_star_gift.py +0 -7
  594. pyrogram/raw/base/payments/unique_star_gift_value_info.py +0 -7
  595. pyrogram/raw/base/payments/validated_requested_info.py +0 -7
  596. pyrogram/raw/base/peer.py +0 -7
  597. pyrogram/raw/base/peer_blocked.py +0 -7
  598. pyrogram/raw/base/peer_color.py +0 -7
  599. pyrogram/raw/base/peer_located.py +0 -7
  600. pyrogram/raw/base/peer_notify_settings.py +0 -7
  601. pyrogram/raw/base/peer_settings.py +0 -7
  602. pyrogram/raw/base/peer_stories.py +0 -7
  603. pyrogram/raw/base/pending_suggestion.py +0 -7
  604. pyrogram/raw/base/phone/exported_group_call_invite.py +0 -7
  605. pyrogram/raw/base/phone/group_call.py +0 -7
  606. pyrogram/raw/base/phone/group_call_stars.py +0 -7
  607. pyrogram/raw/base/phone/group_call_stream_channels.py +0 -7
  608. pyrogram/raw/base/phone/group_call_stream_rtmp_url.py +0 -7
  609. pyrogram/raw/base/phone/group_participants.py +0 -7
  610. pyrogram/raw/base/phone/join_as_peers.py +0 -7
  611. pyrogram/raw/base/phone/phone_call.py +0 -7
  612. pyrogram/raw/base/phone_call.py +0 -7
  613. pyrogram/raw/base/phone_call_discard_reason.py +0 -7
  614. pyrogram/raw/base/phone_call_protocol.py +0 -7
  615. pyrogram/raw/base/phone_connection.py +0 -7
  616. pyrogram/raw/base/photo.py +0 -7
  617. pyrogram/raw/base/photo_size.py +0 -7
  618. pyrogram/raw/base/photos/photo.py +0 -7
  619. pyrogram/raw/base/photos/photos.py +0 -7
  620. pyrogram/raw/base/poll.py +0 -7
  621. pyrogram/raw/base/poll_answer.py +0 -7
  622. pyrogram/raw/base/poll_answer_voters.py +0 -7
  623. pyrogram/raw/base/poll_results.py +0 -7
  624. pyrogram/raw/base/pong.py +0 -7
  625. pyrogram/raw/base/popular_contact.py +0 -7
  626. pyrogram/raw/base/post_address.py +0 -7
  627. pyrogram/raw/base/post_interaction_counters.py +0 -7
  628. pyrogram/raw/base/pq_inner_data.py +0 -7
  629. pyrogram/raw/base/premium/boosts_list.py +0 -7
  630. pyrogram/raw/base/premium/boosts_status.py +0 -7
  631. pyrogram/raw/base/premium/my_boosts.py +0 -7
  632. pyrogram/raw/base/premium_gift_code_option.py +0 -7
  633. pyrogram/raw/base/premium_gift_option.py +39 -0
  634. pyrogram/raw/base/premium_subscription_option.py +0 -7
  635. pyrogram/raw/base/prepaid_giveaway.py +0 -7
  636. pyrogram/raw/base/privacy_key.py +0 -7
  637. pyrogram/raw/base/privacy_rule.py +0 -7
  638. pyrogram/raw/base/profile_tab.py +0 -7
  639. pyrogram/raw/base/public_forward.py +0 -7
  640. pyrogram/raw/base/quick_reply.py +0 -7
  641. pyrogram/raw/base/reaction.py +0 -7
  642. pyrogram/raw/base/reaction_count.py +0 -7
  643. pyrogram/raw/base/reaction_notifications_from.py +0 -7
  644. pyrogram/raw/base/reactions_notify_settings.py +0 -7
  645. pyrogram/raw/base/read_participant_date.py +0 -7
  646. pyrogram/raw/base/received_notify_message.py +0 -7
  647. pyrogram/raw/base/recent_me_url.py +0 -7
  648. pyrogram/raw/base/recent_story.py +0 -7
  649. pyrogram/raw/base/reply_markup.py +0 -7
  650. pyrogram/raw/base/report_reason.py +0 -7
  651. pyrogram/raw/base/report_result.py +0 -7
  652. pyrogram/raw/base/request_peer_type.py +0 -7
  653. pyrogram/raw/base/requested_peer.py +0 -7
  654. pyrogram/raw/base/requirement_to_contact.py +0 -7
  655. pyrogram/raw/base/res_pq.py +0 -7
  656. pyrogram/raw/base/restriction_reason.py +0 -7
  657. pyrogram/raw/base/rich_button_style.py +39 -0
  658. pyrogram/raw/base/rich_message.py +0 -7
  659. pyrogram/raw/base/rich_text.py +4 -9
  660. pyrogram/raw/base/rpc_drop_answer.py +0 -7
  661. pyrogram/raw/base/rpc_error.py +0 -7
  662. pyrogram/raw/base/rpc_result.py +0 -7
  663. pyrogram/raw/base/saved_contact.py +0 -7
  664. pyrogram/raw/base/saved_dialog.py +0 -7
  665. pyrogram/raw/base/saved_reaction_tag.py +0 -7
  666. pyrogram/raw/base/saved_star_gift.py +0 -7
  667. pyrogram/raw/base/search_posts_flood.py +0 -7
  668. pyrogram/raw/base/search_results_calendar_period.py +0 -7
  669. pyrogram/raw/base/search_results_position.py +0 -7
  670. pyrogram/raw/base/secure_credentials_encrypted.py +0 -7
  671. pyrogram/raw/base/secure_data.py +0 -7
  672. pyrogram/raw/base/secure_file.py +0 -7
  673. pyrogram/raw/base/secure_password_kdf_algo.py +0 -7
  674. pyrogram/raw/base/secure_plain_data.py +0 -7
  675. pyrogram/raw/base/secure_required_type.py +0 -7
  676. pyrogram/raw/base/secure_secret_settings.py +0 -7
  677. pyrogram/raw/base/secure_value.py +0 -7
  678. pyrogram/raw/base/secure_value_error.py +0 -7
  679. pyrogram/raw/base/secure_value_hash.py +0 -7
  680. pyrogram/raw/base/secure_value_type.py +0 -7
  681. pyrogram/raw/base/send_as_peer.py +0 -7
  682. pyrogram/raw/base/send_message_action.py +3 -9
  683. pyrogram/raw/base/server_dh_inner_data.py +0 -7
  684. pyrogram/raw/base/server_dh_params.py +0 -7
  685. pyrogram/raw/base/set_client_dh_params_answer.py +0 -7
  686. pyrogram/raw/base/share_theme.py +52 -0
  687. pyrogram/raw/base/share_theme_backdrop_option.py +39 -0
  688. pyrogram/raw/base/share_theme_backdrops.py +50 -0
  689. pyrogram/raw/base/shipping_option.py +0 -7
  690. pyrogram/raw/base/sms_job.py +0 -7
  691. pyrogram/raw/base/smsjobs/eligibility_to_join.py +0 -7
  692. pyrogram/raw/base/smsjobs/status.py +0 -7
  693. pyrogram/raw/base/sponsored_message.py +0 -7
  694. pyrogram/raw/base/sponsored_message_report_option.py +0 -7
  695. pyrogram/raw/base/sponsored_peer.py +0 -7
  696. pyrogram/raw/base/star_gift.py +0 -7
  697. pyrogram/raw/base/star_gift_active_auction_state.py +0 -7
  698. pyrogram/raw/base/star_gift_attribute.py +0 -7
  699. pyrogram/raw/base/star_gift_attribute_counter.py +0 -7
  700. pyrogram/raw/base/star_gift_attribute_id.py +0 -7
  701. pyrogram/raw/base/star_gift_attribute_rarity.py +0 -7
  702. pyrogram/raw/base/star_gift_auction_acquired_gift.py +0 -7
  703. pyrogram/raw/base/star_gift_auction_round.py +0 -7
  704. pyrogram/raw/base/star_gift_auction_state.py +0 -7
  705. pyrogram/raw/base/star_gift_auction_user_state.py +0 -7
  706. pyrogram/raw/base/star_gift_background.py +0 -7
  707. pyrogram/raw/base/star_gift_collection.py +0 -7
  708. pyrogram/raw/base/star_gift_upgrade_price.py +0 -7
  709. pyrogram/raw/base/star_ref_program.py +0 -7
  710. pyrogram/raw/base/stars_amount.py +0 -7
  711. pyrogram/raw/base/stars_gift_option.py +0 -7
  712. pyrogram/raw/base/stars_giveaway_option.py +0 -7
  713. pyrogram/raw/base/stars_giveaway_winners_option.py +0 -7
  714. pyrogram/raw/base/stars_rating.py +0 -7
  715. pyrogram/raw/base/stars_revenue_status.py +0 -7
  716. pyrogram/raw/base/stars_subscription.py +0 -7
  717. pyrogram/raw/base/stars_subscription_pricing.py +0 -7
  718. pyrogram/raw/base/stars_topup_option.py +0 -7
  719. pyrogram/raw/base/stars_transaction.py +0 -7
  720. pyrogram/raw/base/stars_transaction_peer.py +0 -7
  721. pyrogram/raw/base/stats/broadcast_stats.py +0 -7
  722. pyrogram/raw/base/stats/megagroup_stats.py +0 -7
  723. pyrogram/raw/base/stats/message_stats.py +0 -7
  724. pyrogram/raw/base/stats/poll_stats.py +0 -7
  725. pyrogram/raw/base/stats/public_forwards.py +0 -7
  726. pyrogram/raw/base/stats/story_stats.py +0 -7
  727. pyrogram/raw/base/stats_abs_value_and_prev.py +0 -7
  728. pyrogram/raw/base/stats_date_range_days.py +0 -7
  729. pyrogram/raw/base/stats_graph.py +0 -7
  730. pyrogram/raw/base/stats_group_top_admin.py +0 -7
  731. pyrogram/raw/base/stats_group_top_inviter.py +0 -7
  732. pyrogram/raw/base/stats_group_top_poster.py +0 -7
  733. pyrogram/raw/base/stats_percent_value.py +0 -7
  734. pyrogram/raw/base/stats_url.py +11 -8
  735. pyrogram/raw/base/sticker_keyword.py +0 -7
  736. pyrogram/raw/base/sticker_pack.py +0 -7
  737. pyrogram/raw/base/sticker_set.py +0 -7
  738. pyrogram/raw/base/sticker_set_covered.py +0 -7
  739. pyrogram/raw/base/stickers/suggested_short_name.py +0 -7
  740. pyrogram/raw/base/storage/file_type.py +0 -7
  741. pyrogram/raw/base/stories/albums.py +0 -7
  742. pyrogram/raw/base/stories/all_stories.py +0 -7
  743. pyrogram/raw/base/stories/can_send_story_count.py +0 -7
  744. pyrogram/raw/base/stories/found_stories.py +0 -7
  745. pyrogram/raw/base/stories/peer_stories.py +0 -7
  746. pyrogram/raw/base/stories/stories.py +0 -7
  747. pyrogram/raw/base/stories/story_reactions_list.py +0 -7
  748. pyrogram/raw/base/stories/story_views.py +0 -7
  749. pyrogram/raw/base/stories/story_views_list.py +0 -7
  750. pyrogram/raw/base/stories_stealth_mode.py +0 -7
  751. pyrogram/raw/base/story_album.py +0 -7
  752. pyrogram/raw/base/story_fwd_header.py +0 -7
  753. pyrogram/raw/base/story_item.py +0 -7
  754. pyrogram/raw/base/story_reaction.py +0 -7
  755. pyrogram/raw/base/story_view.py +0 -7
  756. pyrogram/raw/base/story_views.py +0 -7
  757. pyrogram/raw/base/suggested_post.py +0 -7
  758. pyrogram/raw/base/text_with_entities.py +0 -7
  759. pyrogram/raw/base/theme.py +0 -7
  760. pyrogram/raw/base/theme_settings.py +0 -7
  761. pyrogram/raw/base/timezone.py +0 -7
  762. pyrogram/raw/base/todo_completion.py +0 -7
  763. pyrogram/raw/base/todo_item.py +0 -7
  764. pyrogram/raw/base/todo_list.py +0 -7
  765. pyrogram/raw/base/ton_connect_manifest.py +39 -0
  766. pyrogram/raw/base/ton_connect_next_event_id.py +49 -0
  767. pyrogram/raw/base/ton_connect_request.py +39 -0
  768. pyrogram/raw/base/ton_connect_session.py +49 -0
  769. pyrogram/raw/base/toncenter/__init__.py +26 -0
  770. pyrogram/raw/base/toncenter/api_response.py +49 -0
  771. pyrogram/raw/base/toncenter/streaming_url.py +49 -0
  772. pyrogram/raw/base/top_peer.py +0 -7
  773. pyrogram/raw/base/top_peer_category.py +0 -7
  774. pyrogram/raw/base/top_peer_category_peers.py +0 -7
  775. pyrogram/raw/base/transcription_model.py +49 -0
  776. pyrogram/raw/base/update.py +21 -9
  777. pyrogram/raw/base/updates/channel_difference.py +0 -7
  778. pyrogram/raw/base/updates/difference.py +0 -7
  779. pyrogram/raw/base/updates/state.py +0 -7
  780. pyrogram/raw/base/updates_t.py +16 -9
  781. pyrogram/raw/base/upload/cdn_file.py +0 -7
  782. pyrogram/raw/base/upload/file.py +0 -7
  783. pyrogram/raw/base/upload/web_file.py +0 -7
  784. pyrogram/raw/base/url_auth_result.py +0 -7
  785. pyrogram/raw/base/user.py +5 -9
  786. pyrogram/raw/base/user_full.py +0 -7
  787. pyrogram/raw/base/user_profile_photo.py +0 -7
  788. pyrogram/raw/base/user_status.py +3 -9
  789. pyrogram/raw/base/user_wallet.py +39 -0
  790. pyrogram/raw/base/username.py +0 -7
  791. pyrogram/raw/base/users/saved_music.py +0 -7
  792. pyrogram/raw/base/users/user_full.py +0 -7
  793. pyrogram/raw/base/users/users.py +0 -7
  794. pyrogram/raw/base/video_size.py +0 -7
  795. pyrogram/raw/base/voip_model.py +49 -0
  796. pyrogram/raw/base/wall_paper.py +0 -7
  797. pyrogram/raw/base/wall_paper_settings.py +0 -7
  798. pyrogram/raw/base/wallet/__init__.py +41 -0
  799. pyrogram/raw/base/wallet/card.py +49 -0
  800. pyrogram/raw/base/wallet/card_sticker.py +39 -0
  801. pyrogram/raw/base/wallet/encrypted_secret_phrase_part.py +49 -0
  802. pyrogram/raw/base/wallet/existing_balance.py +49 -0
  803. pyrogram/raw/base/wallet/holder_dc.py +49 -0
  804. pyrogram/raw/base/wallet/nft_attribute.py +39 -0
  805. pyrogram/raw/base/wallet/nft_item.py +39 -0
  806. pyrogram/raw/base/wallet/nft_items.py +49 -0
  807. pyrogram/raw/base/wallet/proof_challenge.py +49 -0
  808. pyrogram/raw/base/wallet/secret_phrase_parts.py +49 -0
  809. pyrogram/raw/base/wallet/staking_info.py +49 -0
  810. pyrogram/raw/base/wallet/staking_prepared.py +50 -0
  811. pyrogram/raw/base/wallet/ton_connect_challenge.py +49 -0
  812. pyrogram/raw/base/wallet/ton_connect_pending.py +49 -0
  813. pyrogram/raw/base/wallet/ton_connect_sessions.py +49 -0
  814. pyrogram/raw/base/wallet/transactions.py +51 -0
  815. pyrogram/raw/base/wallet/user_addresses.py +49 -0
  816. pyrogram/raw/base/wallet_onchain_gift_action.py +46 -0
  817. pyrogram/raw/base/wallet_ownership_proof.py +39 -0
  818. pyrogram/raw/base/wallet_staking_action.py +41 -0
  819. pyrogram/raw/base/wallet_state.py +53 -0
  820. pyrogram/raw/base/wallet_transaction.py +39 -0
  821. pyrogram/raw/base/wallet_transaction_peer.py +46 -0
  822. pyrogram/raw/base/wallet_user_address.py +39 -0
  823. pyrogram/raw/base/web_authorization.py +0 -7
  824. pyrogram/raw/base/web_document.py +0 -7
  825. pyrogram/raw/base/web_domain_exception.py +0 -7
  826. pyrogram/raw/base/web_page.py +4 -10
  827. pyrogram/raw/base/web_page_attribute.py +0 -7
  828. pyrogram/raw/base/web_view_message_sent.py +0 -7
  829. pyrogram/raw/base/web_view_result.py +0 -7
  830. pyrogram/raw/base/widget_query_type.py +41 -0
  831. pyrogram/raw/functions/__init__.py +1 -1
  832. pyrogram/raw/functions/account/__init__.py +7 -0
  833. pyrogram/raw/functions/account/accept_authorization.py +1 -1
  834. pyrogram/raw/functions/account/cancel_password_email.py +1 -1
  835. pyrogram/raw/functions/account/change_authorization_settings.py +1 -1
  836. pyrogram/raw/functions/account/change_phone.py +1 -1
  837. pyrogram/raw/functions/account/check_username.py +1 -1
  838. pyrogram/raw/functions/account/clear_recent_emoji_statuses.py +1 -1
  839. pyrogram/raw/functions/account/confirm_bot_connection.py +1 -1
  840. pyrogram/raw/functions/account/confirm_password_email.py +1 -1
  841. pyrogram/raw/functions/account/confirm_phone.py +1 -1
  842. pyrogram/raw/functions/account/confirm_sim_bind.py +95 -0
  843. pyrogram/raw/functions/account/confirm_sim_bind_outbound.py +75 -0
  844. pyrogram/raw/functions/account/create_business_chat_link.py +1 -1
  845. pyrogram/raw/functions/account/create_theme.py +1 -1
  846. pyrogram/raw/functions/account/decline_password_reset.py +1 -1
  847. pyrogram/raw/functions/account/delete_account.py +1 -1
  848. pyrogram/raw/functions/account/delete_auto_save_exceptions.py +1 -1
  849. pyrogram/raw/functions/account/delete_business_chat_link.py +1 -1
  850. pyrogram/raw/functions/account/delete_passkey.py +1 -1
  851. pyrogram/raw/functions/account/delete_secure_value.py +1 -1
  852. pyrogram/raw/functions/account/delete_web_browser_settings_exceptions.py +1 -1
  853. pyrogram/raw/functions/account/disable_peer_connected_bot.py +1 -1
  854. pyrogram/raw/functions/account/edit_business_chat_link.py +1 -1
  855. pyrogram/raw/functions/account/finish_takeout_session.py +1 -1
  856. pyrogram/raw/functions/account/get_account_ttl.py +1 -1
  857. pyrogram/raw/functions/account/get_all_secure_values.py +1 -1
  858. pyrogram/raw/functions/account/get_authorization_form.py +1 -1
  859. pyrogram/raw/functions/account/get_authorizations.py +1 -1
  860. pyrogram/raw/functions/account/get_auto_download_settings.py +1 -1
  861. pyrogram/raw/functions/account/get_auto_save_settings.py +1 -1
  862. pyrogram/raw/functions/account/get_bot_business_connection.py +1 -1
  863. pyrogram/raw/functions/account/get_business_chat_links.py +1 -1
  864. pyrogram/raw/functions/account/get_channel_default_emoji_statuses.py +1 -1
  865. pyrogram/raw/functions/account/get_channel_restricted_status_emojis.py +1 -1
  866. pyrogram/raw/functions/account/get_chat_themes.py +1 -1
  867. pyrogram/raw/functions/account/get_collectible_emoji_statuses.py +1 -1
  868. pyrogram/raw/functions/account/get_connected_bots.py +1 -1
  869. pyrogram/raw/functions/account/get_contact_sign_up_notification.py +1 -1
  870. pyrogram/raw/functions/account/get_content_settings.py +1 -1
  871. pyrogram/raw/functions/account/get_default_background_emojis.py +1 -1
  872. pyrogram/raw/functions/account/get_default_emoji_statuses.py +1 -1
  873. pyrogram/raw/functions/account/get_default_group_photo_emojis.py +1 -1
  874. pyrogram/raw/functions/account/get_default_profile_photo_emojis.py +1 -1
  875. pyrogram/raw/functions/account/get_global_privacy_settings.py +1 -1
  876. pyrogram/raw/functions/account/get_multi_wall_papers.py +1 -1
  877. pyrogram/raw/functions/account/get_notify_exceptions.py +1 -1
  878. pyrogram/raw/functions/account/get_notify_settings.py +1 -1
  879. pyrogram/raw/functions/account/get_paid_messages_revenue.py +1 -1
  880. pyrogram/raw/functions/account/get_passkeys.py +1 -1
  881. pyrogram/raw/functions/account/get_password.py +1 -1
  882. pyrogram/raw/functions/account/get_password_settings.py +1 -1
  883. pyrogram/raw/functions/account/get_privacy.py +1 -1
  884. pyrogram/raw/functions/account/get_reactions_notify_settings.py +1 -1
  885. pyrogram/raw/functions/account/get_recent_emoji_statuses.py +1 -1
  886. pyrogram/raw/functions/account/get_saved_music_ids.py +1 -1
  887. pyrogram/raw/functions/account/get_saved_ringtones.py +1 -1
  888. pyrogram/raw/functions/account/get_secure_value.py +1 -1
  889. pyrogram/raw/functions/account/get_sim_bind_state.py +70 -0
  890. pyrogram/raw/functions/account/get_theme.py +1 -1
  891. pyrogram/raw/functions/account/get_themes.py +1 -1
  892. pyrogram/raw/functions/account/get_tmp_password.py +1 -1
  893. pyrogram/raw/functions/account/get_unique_gift_chat_themes.py +1 -1
  894. pyrogram/raw/functions/account/get_wall_paper.py +1 -1
  895. pyrogram/raw/functions/account/get_wall_papers.py +1 -1
  896. pyrogram/raw/functions/account/get_web_authorizations.py +1 -1
  897. pyrogram/raw/functions/account/get_web_browser_settings.py +1 -1
  898. pyrogram/raw/functions/account/init_passkey_registration.py +1 -1
  899. pyrogram/raw/functions/account/init_takeout_session.py +1 -1
  900. pyrogram/raw/functions/account/install_theme.py +1 -1
  901. pyrogram/raw/functions/account/install_wall_paper.py +1 -1
  902. pyrogram/raw/functions/account/invalidate_sign_in_codes.py +1 -1
  903. pyrogram/raw/functions/account/register_device.py +1 -1
  904. pyrogram/raw/functions/account/register_passkey.py +1 -1
  905. pyrogram/raw/functions/account/reorder_usernames.py +1 -1
  906. pyrogram/raw/functions/account/report_peer.py +1 -1
  907. pyrogram/raw/functions/account/report_profile_photo.py +1 -1
  908. pyrogram/raw/functions/account/report_sim_bind_diagnostics.py +75 -0
  909. pyrogram/raw/functions/account/report_sim_state.py +91 -0
  910. pyrogram/raw/functions/account/request_sim_bind.py +75 -0
  911. pyrogram/raw/functions/account/request_sim_bind_outbound.py +70 -0
  912. pyrogram/raw/functions/account/resend_password_email.py +1 -1
  913. pyrogram/raw/functions/account/reset_authorization.py +1 -1
  914. pyrogram/raw/functions/account/reset_notify_settings.py +1 -1
  915. pyrogram/raw/functions/account/reset_password.py +1 -1
  916. pyrogram/raw/functions/account/reset_wall_papers.py +1 -1
  917. pyrogram/raw/functions/account/reset_web_authorization.py +1 -1
  918. pyrogram/raw/functions/account/reset_web_authorizations.py +1 -1
  919. pyrogram/raw/functions/account/resolve_business_chat_link.py +1 -1
  920. pyrogram/raw/functions/account/save_auto_download_settings.py +1 -1
  921. pyrogram/raw/functions/account/save_auto_save_settings.py +1 -1
  922. pyrogram/raw/functions/account/save_music.py +1 -1
  923. pyrogram/raw/functions/account/save_ringtone.py +1 -1
  924. pyrogram/raw/functions/account/save_secure_value.py +1 -1
  925. pyrogram/raw/functions/account/save_theme.py +1 -1
  926. pyrogram/raw/functions/account/save_wall_paper.py +1 -1
  927. pyrogram/raw/functions/account/send_change_phone_code.py +1 -1
  928. pyrogram/raw/functions/account/send_confirm_phone_code.py +1 -1
  929. pyrogram/raw/functions/account/send_verify_email_code.py +1 -1
  930. pyrogram/raw/functions/account/send_verify_phone_code.py +1 -1
  931. pyrogram/raw/functions/account/set_account_ttl.py +1 -1
  932. pyrogram/raw/functions/account/set_authorization_ttl.py +1 -1
  933. pyrogram/raw/functions/account/set_contact_sign_up_notification.py +1 -1
  934. pyrogram/raw/functions/account/set_content_settings.py +1 -1
  935. pyrogram/raw/functions/account/set_global_privacy_settings.py +1 -1
  936. pyrogram/raw/functions/account/set_main_profile_tab.py +1 -1
  937. pyrogram/raw/functions/account/set_privacy.py +1 -1
  938. pyrogram/raw/functions/account/set_reactions_notify_settings.py +1 -1
  939. pyrogram/raw/functions/account/toggle_connected_bot_paused.py +1 -1
  940. pyrogram/raw/functions/account/toggle_no_paid_messages_exception.py +1 -1
  941. pyrogram/raw/functions/account/toggle_sponsored_messages.py +1 -1
  942. pyrogram/raw/functions/account/toggle_username.py +1 -1
  943. pyrogram/raw/functions/account/toggle_web_browser_settings_exception.py +1 -1
  944. pyrogram/raw/functions/account/unregister_device.py +1 -1
  945. pyrogram/raw/functions/account/update_birthday.py +1 -1
  946. pyrogram/raw/functions/account/update_business_away_message.py +1 -1
  947. pyrogram/raw/functions/account/update_business_greeting_message.py +1 -1
  948. pyrogram/raw/functions/account/update_business_intro.py +1 -1
  949. pyrogram/raw/functions/account/update_business_location.py +1 -1
  950. pyrogram/raw/functions/account/update_business_work_hours.py +1 -1
  951. pyrogram/raw/functions/account/update_color.py +1 -1
  952. pyrogram/raw/functions/account/update_connected_bot.py +1 -1
  953. pyrogram/raw/functions/account/update_device_locked.py +1 -1
  954. pyrogram/raw/functions/account/update_emoji_status.py +1 -1
  955. pyrogram/raw/functions/account/update_notify_settings.py +1 -1
  956. pyrogram/raw/functions/account/update_password_settings.py +1 -1
  957. pyrogram/raw/functions/account/update_personal_channel.py +1 -1
  958. pyrogram/raw/functions/account/update_profile.py +1 -1
  959. pyrogram/raw/functions/account/update_status.py +1 -1
  960. pyrogram/raw/functions/account/update_theme.py +1 -1
  961. pyrogram/raw/functions/account/update_username.py +1 -1
  962. pyrogram/raw/functions/account/update_web_browser_settings.py +1 -1
  963. pyrogram/raw/functions/account/upload_ringtone.py +1 -1
  964. pyrogram/raw/functions/account/upload_theme.py +1 -1
  965. pyrogram/raw/functions/account/upload_wall_paper.py +1 -1
  966. pyrogram/raw/functions/account/verify_email.py +1 -1
  967. pyrogram/raw/functions/account/verify_phone.py +1 -1
  968. pyrogram/raw/functions/aicompose/__init__.py +1 -0
  969. pyrogram/raw/functions/aicompose/create_tone.py +1 -1
  970. pyrogram/raw/functions/aicompose/delete_tone.py +1 -1
  971. pyrogram/raw/functions/aicompose/get_tone.py +1 -1
  972. pyrogram/raw/functions/aicompose/get_tone_example.py +1 -1
  973. pyrogram/raw/functions/aicompose/get_tones.py +1 -1
  974. pyrogram/raw/functions/aicompose/save_tone.py +1 -1
  975. pyrogram/raw/functions/aicompose/set_chat_style.py +87 -0
  976. pyrogram/raw/functions/aicompose/update_tone.py +1 -1
  977. pyrogram/raw/functions/auth/__init__.py +4 -0
  978. pyrogram/raw/functions/auth/accept_login_token.py +1 -1
  979. pyrogram/raw/functions/auth/bind_temp_auth_key.py +1 -1
  980. pyrogram/raw/functions/auth/cancel_code.py +1 -1
  981. pyrogram/raw/functions/auth/cancel_web_token_authorization.py +75 -0
  982. pyrogram/raw/functions/auth/check_paid_auth.py +1 -1
  983. pyrogram/raw/functions/auth/check_password.py +1 -1
  984. pyrogram/raw/functions/auth/check_recovery_password.py +1 -1
  985. pyrogram/raw/functions/auth/drop_temp_auth_keys.py +1 -1
  986. pyrogram/raw/functions/auth/export_authorization.py +1 -1
  987. pyrogram/raw/functions/auth/export_login_token.py +1 -1
  988. pyrogram/raw/functions/auth/finish_firebase_pnv_login.py +75 -0
  989. pyrogram/raw/functions/auth/finish_passkey_login.py +1 -1
  990. pyrogram/raw/functions/auth/firebase_pnv_sign_up.py +91 -0
  991. pyrogram/raw/functions/auth/import_authorization.py +1 -1
  992. pyrogram/raw/functions/auth/import_bot_authorization.py +1 -1
  993. pyrogram/raw/functions/auth/import_login_token.py +1 -1
  994. pyrogram/raw/functions/auth/import_web_token_authorization.py +1 -1
  995. pyrogram/raw/functions/auth/init_firebase_pnv_login.py +95 -0
  996. pyrogram/raw/functions/auth/init_passkey_login.py +1 -1
  997. pyrogram/raw/functions/auth/log_out.py +1 -1
  998. pyrogram/raw/functions/auth/recover_password.py +1 -1
  999. pyrogram/raw/functions/auth/report_missing_code.py +1 -1
  1000. pyrogram/raw/functions/auth/request_firebase_sms.py +1 -1
  1001. pyrogram/raw/functions/auth/request_password_recovery.py +1 -1
  1002. pyrogram/raw/functions/auth/resend_code.py +1 -1
  1003. pyrogram/raw/functions/auth/reset_authorizations.py +1 -1
  1004. pyrogram/raw/functions/auth/reset_login_email.py +1 -1
  1005. pyrogram/raw/functions/auth/send_code.py +1 -1
  1006. pyrogram/raw/functions/auth/sign_in.py +1 -1
  1007. pyrogram/raw/functions/auth/sign_up.py +1 -1
  1008. pyrogram/raw/functions/bots/__init__.py +7 -0
  1009. pyrogram/raw/functions/bots/add_preview_media.py +1 -1
  1010. pyrogram/raw/functions/bots/add_username.py +83 -0
  1011. pyrogram/raw/functions/bots/allow_send_message.py +1 -1
  1012. pyrogram/raw/functions/bots/answer_webhook_json_query.py +1 -1
  1013. pyrogram/raw/functions/bots/can_send_message.py +1 -1
  1014. pyrogram/raw/functions/bots/check_download_file_params.py +1 -1
  1015. pyrogram/raw/functions/bots/check_username.py +16 -8
  1016. pyrogram/raw/functions/bots/create_bot.py +1 -1
  1017. pyrogram/raw/functions/bots/delete_preview_media.py +1 -1
  1018. pyrogram/raw/functions/bots/edit_access_settings.py +1 -1
  1019. pyrogram/raw/functions/bots/edit_preview_media.py +1 -1
  1020. pyrogram/raw/{types/input_passkey_credential_firebase_pnv.py → functions/bots/edit_profile_widget_chat_data.py} +25 -16
  1021. pyrogram/raw/functions/bots/edit_profile_widget_data.py +86 -0
  1022. pyrogram/raw/functions/bots/export_bot_token.py +1 -1
  1023. pyrogram/raw/functions/bots/get_access_settings.py +1 -1
  1024. pyrogram/raw/functions/bots/get_admined_bots.py +1 -1
  1025. pyrogram/raw/functions/bots/get_bot_commands.py +1 -1
  1026. pyrogram/raw/functions/bots/get_bot_info.py +1 -1
  1027. pyrogram/raw/functions/bots/get_bot_menu_button.py +1 -1
  1028. pyrogram/raw/functions/bots/get_bot_recommendations.py +1 -1
  1029. pyrogram/raw/functions/bots/get_popular_app_bots.py +1 -1
  1030. pyrogram/raw/functions/bots/get_preview_info.py +1 -1
  1031. pyrogram/raw/functions/bots/get_preview_medias.py +1 -1
  1032. pyrogram/raw/functions/bots/get_profile_widget_public_data.py +83 -0
  1033. pyrogram/raw/functions/bots/get_profile_widget_query_answer.py +91 -0
  1034. pyrogram/raw/functions/bots/get_requested_web_view_button.py +1 -1
  1035. pyrogram/raw/functions/bots/invoke_web_view_custom_method.py +1 -1
  1036. pyrogram/raw/functions/bots/remove_username.py +83 -0
  1037. pyrogram/raw/functions/bots/reorder_preview_medias.py +1 -1
  1038. pyrogram/raw/functions/bots/reorder_usernames.py +1 -1
  1039. pyrogram/raw/functions/bots/request_web_view_button.py +1 -1
  1040. pyrogram/raw/functions/bots/reset_bot_commands.py +1 -1
  1041. pyrogram/raw/functions/bots/send_custom_request.py +1 -1
  1042. pyrogram/raw/functions/bots/set_bot_broadcast_default_admin_rights.py +1 -1
  1043. pyrogram/raw/functions/bots/set_bot_commands.py +1 -1
  1044. pyrogram/raw/functions/bots/set_bot_group_default_admin_rights.py +1 -1
  1045. pyrogram/raw/functions/bots/set_bot_info.py +1 -1
  1046. pyrogram/raw/functions/bots/set_bot_menu_button.py +1 -1
  1047. pyrogram/raw/functions/bots/set_bot_settings.py +214 -0
  1048. pyrogram/raw/functions/bots/set_custom_verification.py +9 -8
  1049. pyrogram/raw/functions/bots/set_join_chat_results.py +1 -1
  1050. pyrogram/raw/functions/bots/toggle_user_emoji_status_permission.py +1 -1
  1051. pyrogram/raw/functions/bots/toggle_username.py +1 -1
  1052. pyrogram/raw/functions/bots/update_star_ref_program.py +1 -1
  1053. pyrogram/raw/functions/bots/update_user_emoji_status.py +1 -1
  1054. pyrogram/raw/functions/channels/__init__.py +1 -0
  1055. pyrogram/raw/functions/channels/check_search_posts_flood.py +1 -1
  1056. pyrogram/raw/functions/channels/check_username.py +1 -1
  1057. pyrogram/raw/functions/channels/convert_to_gigagroup.py +1 -1
  1058. pyrogram/raw/functions/channels/create_channel.py +1 -1
  1059. pyrogram/raw/functions/channels/deactivate_all_usernames.py +1 -1
  1060. pyrogram/raw/functions/channels/delete_channel.py +1 -1
  1061. pyrogram/raw/functions/channels/delete_history.py +1 -1
  1062. pyrogram/raw/functions/channels/delete_messages.py +1 -1
  1063. pyrogram/raw/functions/channels/delete_participant_history.py +1 -1
  1064. pyrogram/raw/functions/channels/edit_admin.py +1 -1
  1065. pyrogram/raw/functions/channels/edit_banned.py +1 -1
  1066. pyrogram/raw/functions/channels/edit_channel_news.py +83 -0
  1067. pyrogram/raw/functions/channels/edit_location.py +1 -1
  1068. pyrogram/raw/functions/channels/edit_photo.py +1 -1
  1069. pyrogram/raw/functions/channels/edit_title.py +1 -1
  1070. pyrogram/raw/functions/channels/export_message_link.py +1 -1
  1071. pyrogram/raw/functions/channels/get_admin_log.py +1 -1
  1072. pyrogram/raw/functions/channels/get_admined_public_channels.py +1 -1
  1073. pyrogram/raw/functions/channels/get_channel_recommendations.py +1 -1
  1074. pyrogram/raw/functions/channels/get_channels.py +1 -1
  1075. pyrogram/raw/functions/channels/get_full_channel.py +1 -1
  1076. pyrogram/raw/functions/channels/get_groups_for_discussion.py +1 -1
  1077. pyrogram/raw/functions/channels/get_inactive_channels.py +1 -1
  1078. pyrogram/raw/functions/channels/get_left_channels.py +1 -1
  1079. pyrogram/raw/functions/channels/get_message_author.py +1 -1
  1080. pyrogram/raw/functions/channels/get_messages.py +1 -1
  1081. pyrogram/raw/functions/channels/get_participant.py +1 -1
  1082. pyrogram/raw/functions/channels/get_participants.py +1 -1
  1083. pyrogram/raw/functions/channels/get_send_as.py +1 -1
  1084. pyrogram/raw/functions/channels/invite_to_channel.py +1 -1
  1085. pyrogram/raw/functions/channels/join_channel.py +16 -8
  1086. pyrogram/raw/functions/channels/leave_channel.py +1 -1
  1087. pyrogram/raw/functions/channels/read_history.py +1 -1
  1088. pyrogram/raw/functions/channels/read_message_contents.py +1 -1
  1089. pyrogram/raw/functions/channels/reorder_usernames.py +1 -1
  1090. pyrogram/raw/functions/channels/report_anti_spam_false_positive.py +1 -1
  1091. pyrogram/raw/functions/channels/report_spam.py +1 -1
  1092. pyrogram/raw/functions/channels/restrict_sponsored_messages.py +1 -1
  1093. pyrogram/raw/functions/channels/search_posts.py +1 -1
  1094. pyrogram/raw/functions/channels/set_boosts_to_unblock_restrictions.py +1 -1
  1095. pyrogram/raw/functions/channels/set_discussion_group.py +1 -1
  1096. pyrogram/raw/functions/channels/set_emoji_stickers.py +1 -1
  1097. pyrogram/raw/functions/channels/set_main_profile_tab.py +1 -1
  1098. pyrogram/raw/functions/channels/set_stickers.py +1 -1
  1099. pyrogram/raw/functions/channels/toggle_anti_spam.py +1 -1
  1100. pyrogram/raw/functions/channels/toggle_autotranslation.py +1 -1
  1101. pyrogram/raw/functions/channels/toggle_forum.py +14 -6
  1102. pyrogram/raw/functions/channels/toggle_join_request.py +1 -1
  1103. pyrogram/raw/functions/channels/toggle_join_to_send.py +1 -1
  1104. pyrogram/raw/functions/channels/toggle_participants_hidden.py +1 -1
  1105. pyrogram/raw/functions/channels/toggle_pre_history_hidden.py +1 -1
  1106. pyrogram/raw/functions/channels/toggle_signatures.py +1 -1
  1107. pyrogram/raw/functions/channels/toggle_slow_mode.py +1 -1
  1108. pyrogram/raw/functions/channels/toggle_username.py +1 -1
  1109. pyrogram/raw/functions/channels/toggle_view_forum_as_messages.py +1 -1
  1110. pyrogram/raw/functions/channels/update_color.py +1 -1
  1111. pyrogram/raw/functions/channels/update_emoji_status.py +1 -1
  1112. pyrogram/raw/functions/channels/update_paid_messages_price.py +1 -1
  1113. pyrogram/raw/functions/channels/update_username.py +1 -1
  1114. pyrogram/raw/functions/chatlists/check_chatlist_invite.py +1 -1
  1115. pyrogram/raw/functions/chatlists/delete_exported_invite.py +1 -1
  1116. pyrogram/raw/functions/chatlists/edit_exported_invite.py +10 -4
  1117. pyrogram/raw/functions/chatlists/export_chatlist_invite.py +1 -1
  1118. pyrogram/raw/functions/chatlists/get_chatlist_updates.py +1 -1
  1119. pyrogram/raw/functions/chatlists/get_exported_invites.py +1 -1
  1120. pyrogram/raw/functions/chatlists/get_leave_chatlist_suggestions.py +1 -1
  1121. pyrogram/raw/functions/chatlists/hide_chatlist_updates.py +1 -1
  1122. pyrogram/raw/functions/chatlists/join_chatlist_invite.py +1 -1
  1123. pyrogram/raw/functions/chatlists/join_chatlist_updates.py +1 -1
  1124. pyrogram/raw/functions/chatlists/leave_chatlist.py +1 -1
  1125. pyrogram/raw/functions/communities/create.py +1 -1
  1126. pyrogram/raw/functions/communities/get_joined_communities.py +1 -1
  1127. pyrogram/raw/functions/communities/get_participant_joined_chats.py +1 -1
  1128. pyrogram/raw/functions/communities/get_peer_link_requests.py +1 -1
  1129. pyrogram/raw/functions/communities/toggle_all_peer_link_request_approval.py +1 -1
  1130. pyrogram/raw/functions/communities/toggle_community_collapsed_in_dialogs.py +1 -1
  1131. pyrogram/raw/functions/communities/toggle_participant_banned.py +1 -1
  1132. pyrogram/raw/functions/communities/toggle_peer_link.py +1 -1
  1133. pyrogram/raw/functions/communities/toggle_peer_link_request_approval.py +1 -1
  1134. pyrogram/raw/functions/contacts/__init__.py +3 -0
  1135. pyrogram/raw/functions/contacts/accept_contact.py +1 -1
  1136. pyrogram/raw/functions/contacts/add_contact.py +1 -1
  1137. pyrogram/raw/functions/contacts/block.py +1 -1
  1138. pyrogram/raw/functions/contacts/block_from_replies.py +1 -1
  1139. pyrogram/raw/functions/contacts/delete_by_phones.py +1 -1
  1140. pyrogram/raw/functions/contacts/delete_contacts.py +1 -1
  1141. pyrogram/raw/functions/contacts/edit_close_friends.py +1 -1
  1142. pyrogram/raw/functions/contacts/export_contact_token.py +1 -1
  1143. pyrogram/raw/functions/contacts/export_no_paid_messages_token.py +81 -0
  1144. pyrogram/raw/functions/contacts/get_birthdays.py +1 -1
  1145. pyrogram/raw/functions/contacts/get_blocked.py +1 -1
  1146. pyrogram/raw/functions/contacts/get_contact_i_ds.py +1 -1
  1147. pyrogram/raw/functions/contacts/get_contacts.py +1 -1
  1148. pyrogram/raw/functions/contacts/get_located.py +1 -1
  1149. pyrogram/raw/functions/contacts/get_saved.py +1 -1
  1150. pyrogram/raw/functions/contacts/get_sponsored_peers.py +1 -1
  1151. pyrogram/raw/functions/contacts/get_statuses.py +1 -1
  1152. pyrogram/raw/functions/contacts/get_top_peers.py +1 -1
  1153. pyrogram/raw/functions/contacts/import_card.py +75 -0
  1154. pyrogram/raw/functions/contacts/import_contact_token.py +1 -1
  1155. pyrogram/raw/functions/contacts/import_contacts.py +1 -1
  1156. pyrogram/raw/functions/contacts/import_no_paid_messages_token.py +83 -0
  1157. pyrogram/raw/functions/contacts/reset_saved.py +1 -1
  1158. pyrogram/raw/functions/contacts/reset_top_peer_rating.py +1 -1
  1159. pyrogram/raw/functions/contacts/resolve_phone.py +1 -1
  1160. pyrogram/raw/functions/contacts/resolve_username.py +1 -1
  1161. pyrogram/raw/functions/contacts/search.py +1 -1
  1162. pyrogram/raw/functions/contacts/set_blocked.py +1 -1
  1163. pyrogram/raw/functions/contacts/toggle_top_peers.py +1 -1
  1164. pyrogram/raw/functions/contacts/unblock.py +1 -1
  1165. pyrogram/raw/functions/contacts/update_contact_note.py +1 -1
  1166. pyrogram/raw/functions/contest/save_developer_info.py +1 -1
  1167. pyrogram/raw/functions/destroy_auth_key.py +1 -1
  1168. pyrogram/raw/functions/destroy_session.py +1 -1
  1169. pyrogram/raw/functions/ephemeral/__init__.py +3 -0
  1170. pyrogram/raw/functions/ephemeral/delete_all_welcome_messages.py +75 -0
  1171. pyrogram/raw/functions/ephemeral/delete_message.py +18 -14
  1172. pyrogram/raw/functions/ephemeral/delete_welcome_message.py +83 -0
  1173. pyrogram/raw/functions/ephemeral/edit_message.py +38 -13
  1174. pyrogram/raw/functions/ephemeral/get_callback_answer.py +1 -1
  1175. pyrogram/raw/functions/ephemeral/get_welcome_messages.py +83 -0
  1176. pyrogram/raw/functions/ephemeral/report_message.py +1 -1
  1177. pyrogram/raw/functions/ephemeral/send_message.py +38 -12
  1178. pyrogram/raw/functions/feed/__init__.py +38 -0
  1179. pyrogram/raw/functions/feed/dislike_post.py +83 -0
  1180. pyrogram/raw/functions/feed/get_feed.py +147 -0
  1181. pyrogram/raw/functions/feed/get_for_you.py +92 -0
  1182. pyrogram/raw/functions/feed/get_hidden_channels.py +94 -0
  1183. pyrogram/raw/functions/feed/get_interest_categories.py +75 -0
  1184. pyrogram/raw/functions/feed/get_settings.py +70 -0
  1185. pyrogram/raw/functions/feed/get_sponsored_messages.py +75 -0
  1186. pyrogram/raw/functions/feed/like_post.py +83 -0
  1187. pyrogram/raw/functions/feed/read_feed.py +83 -0
  1188. pyrogram/raw/functions/feed/set_channel_hidden.py +83 -0
  1189. pyrogram/raw/functions/feed/set_for_you_settings.py +88 -0
  1190. pyrogram/raw/functions/feed/set_interest_categories.py +75 -0
  1191. pyrogram/raw/functions/feed/set_selected_tab.py +75 -0
  1192. pyrogram/raw/functions/feed/translate_posts.py +83 -0
  1193. pyrogram/raw/functions/folders/__init__.py +1 -0
  1194. pyrogram/raw/functions/folders/delete_folder.py +75 -0
  1195. pyrogram/raw/functions/folders/edit_peer_folders.py +1 -1
  1196. pyrogram/raw/functions/fragment/get_collectible_info.py +1 -1
  1197. pyrogram/raw/functions/get_future_salts.py +1 -1
  1198. pyrogram/raw/functions/help/accept_terms_of_service.py +1 -1
  1199. pyrogram/raw/functions/help/dismiss_suggestion.py +1 -1
  1200. pyrogram/raw/functions/help/edit_user_info.py +1 -1
  1201. pyrogram/raw/functions/help/get_app_config.py +1 -1
  1202. pyrogram/raw/functions/help/get_app_update.py +1 -1
  1203. pyrogram/raw/functions/help/get_cdn_config.py +1 -1
  1204. pyrogram/raw/functions/help/get_config.py +1 -1
  1205. pyrogram/raw/functions/help/get_countries_list.py +1 -1
  1206. pyrogram/raw/functions/help/get_deep_link_info.py +1 -1
  1207. pyrogram/raw/functions/help/get_invite_text.py +1 -1
  1208. pyrogram/raw/functions/help/get_nearest_dc.py +1 -1
  1209. pyrogram/raw/functions/help/get_passport_config.py +1 -1
  1210. pyrogram/raw/functions/help/get_peer_colors.py +1 -1
  1211. pyrogram/raw/functions/help/get_peer_profile_colors.py +1 -1
  1212. pyrogram/raw/functions/help/get_premium_promo.py +1 -1
  1213. pyrogram/raw/functions/help/get_promo_data.py +1 -1
  1214. pyrogram/raw/functions/help/get_recent_me_urls.py +1 -1
  1215. pyrogram/raw/functions/help/get_support.py +1 -1
  1216. pyrogram/raw/functions/help/get_support_name.py +1 -1
  1217. pyrogram/raw/functions/help/get_terms_of_service_update.py +1 -1
  1218. pyrogram/raw/functions/help/get_timezones_list.py +1 -1
  1219. pyrogram/raw/functions/help/get_user_info.py +1 -1
  1220. pyrogram/raw/functions/help/hide_promo_data.py +1 -1
  1221. pyrogram/raw/functions/help/save_app_log.py +1 -1
  1222. pyrogram/raw/functions/help/set_bot_updates_status.py +1 -1
  1223. pyrogram/raw/functions/init_connection.py +1 -1
  1224. pyrogram/raw/functions/invoke_after_msg.py +1 -1
  1225. pyrogram/raw/functions/invoke_after_msgs.py +1 -1
  1226. pyrogram/raw/functions/invoke_with_apns_secret.py +3 -3
  1227. pyrogram/raw/functions/invoke_with_business_connection.py +1 -1
  1228. pyrogram/raw/functions/invoke_with_google_play_integrity.py +1 -1
  1229. pyrogram/raw/functions/invoke_with_layer.py +1 -1
  1230. pyrogram/raw/functions/invoke_with_messages_range.py +1 -1
  1231. pyrogram/raw/functions/invoke_with_re_captcha.py +1 -1
  1232. pyrogram/raw/functions/invoke_with_takeout.py +1 -1
  1233. pyrogram/raw/functions/invoke_without_updates.py +1 -1
  1234. pyrogram/raw/functions/langpack/get_difference.py +1 -1
  1235. pyrogram/raw/functions/langpack/get_lang_pack.py +1 -1
  1236. pyrogram/raw/functions/langpack/get_language.py +1 -1
  1237. pyrogram/raw/functions/langpack/get_languages.py +1 -1
  1238. pyrogram/raw/functions/langpack/get_strings.py +1 -1
  1239. pyrogram/raw/functions/messages/__init__.py +21 -0
  1240. pyrogram/raw/functions/messages/accept_encryption.py +1 -1
  1241. pyrogram/raw/functions/messages/accept_url_auth.py +16 -6
  1242. pyrogram/raw/functions/messages/add_chat_user.py +1 -1
  1243. pyrogram/raw/functions/messages/add_poll_answer.py +1 -1
  1244. pyrogram/raw/functions/messages/append_todo_list.py +1 -1
  1245. pyrogram/raw/functions/messages/check_chat_invite.py +1 -1
  1246. pyrogram/raw/functions/messages/check_history_import.py +1 -1
  1247. pyrogram/raw/functions/messages/check_history_import_peer.py +1 -1
  1248. pyrogram/raw/functions/messages/check_quick_reply_shortcut.py +1 -1
  1249. pyrogram/raw/functions/messages/check_url_auth_match_code.py +1 -1
  1250. pyrogram/raw/functions/messages/clear_all_drafts.py +1 -1
  1251. pyrogram/raw/functions/messages/clear_recent_reactions.py +1 -1
  1252. pyrogram/raw/functions/messages/clear_recent_stickers.py +1 -1
  1253. pyrogram/raw/functions/messages/click_sponsored_message.py +1 -1
  1254. pyrogram/raw/functions/messages/compose_message_with_ai.py +1 -1
  1255. pyrogram/raw/functions/messages/compose_rich_message_with_ai.py +1 -1
  1256. pyrogram/raw/functions/messages/create_chat.py +1 -1
  1257. pyrogram/raw/functions/messages/create_forum_topic.py +1 -1
  1258. pyrogram/raw/functions/messages/decline_url_auth.py +1 -1
  1259. pyrogram/raw/functions/messages/delete_chat.py +1 -1
  1260. pyrogram/raw/functions/messages/delete_chat_user.py +1 -1
  1261. pyrogram/raw/functions/messages/delete_exported_chat_invite.py +1 -1
  1262. pyrogram/raw/functions/messages/delete_fact_check.py +1 -1
  1263. pyrogram/raw/functions/messages/delete_history.py +1 -1
  1264. pyrogram/raw/functions/messages/delete_messages.py +1 -1
  1265. pyrogram/raw/functions/messages/delete_participant_reaction.py +1 -1
  1266. pyrogram/raw/functions/messages/delete_participant_reactions.py +1 -1
  1267. pyrogram/raw/functions/messages/delete_phone_call_history.py +1 -1
  1268. pyrogram/raw/functions/messages/delete_poll_answer.py +1 -1
  1269. pyrogram/raw/functions/messages/delete_quick_reply_messages.py +1 -1
  1270. pyrogram/raw/functions/messages/delete_quick_reply_shortcut.py +1 -1
  1271. pyrogram/raw/functions/messages/delete_revoked_exported_chat_invites.py +1 -1
  1272. pyrogram/raw/functions/messages/delete_saved_history.py +1 -1
  1273. pyrogram/raw/functions/messages/delete_scheduled_messages.py +1 -1
  1274. pyrogram/raw/functions/messages/delete_topic_history.py +1 -1
  1275. pyrogram/raw/functions/messages/discard_encryption.py +1 -1
  1276. pyrogram/raw/functions/messages/edit_chat_about.py +1 -1
  1277. pyrogram/raw/functions/messages/edit_chat_admin.py +1 -1
  1278. pyrogram/raw/functions/messages/edit_chat_creator.py +1 -1
  1279. pyrogram/raw/functions/messages/edit_chat_default_banned_rights.py +1 -1
  1280. pyrogram/raw/functions/messages/edit_chat_participant_rank.py +1 -1
  1281. pyrogram/raw/functions/messages/edit_chat_photo.py +1 -1
  1282. pyrogram/raw/functions/messages/edit_chat_title.py +1 -1
  1283. pyrogram/raw/functions/messages/edit_exported_chat_invite.py +1 -1
  1284. pyrogram/raw/functions/messages/edit_fact_check.py +1 -1
  1285. pyrogram/raw/functions/messages/edit_forum_topic.py +1 -1
  1286. pyrogram/raw/functions/messages/edit_inline_bot_message.py +1 -1
  1287. pyrogram/raw/functions/messages/edit_inline_bot_message_widget_data.py +95 -0
  1288. pyrogram/raw/functions/messages/edit_message.py +1 -1
  1289. pyrogram/raw/functions/messages/edit_message_widget_data.py +103 -0
  1290. pyrogram/raw/functions/messages/edit_quick_reply_shortcut.py +1 -1
  1291. pyrogram/raw/functions/messages/edit_widget_data.py +94 -0
  1292. pyrogram/raw/functions/messages/export_chat_invite.py +1 -1
  1293. pyrogram/raw/functions/messages/fave_sticker.py +1 -1
  1294. pyrogram/raw/functions/messages/forward_message.py +91 -0
  1295. pyrogram/raw/functions/messages/forward_messages.py +10 -4
  1296. pyrogram/raw/functions/messages/get_admins_with_invites.py +1 -1
  1297. pyrogram/raw/functions/messages/get_all_chats.py +75 -0
  1298. pyrogram/raw/functions/messages/get_all_drafts.py +1 -1
  1299. pyrogram/raw/functions/messages/get_all_stickers.py +1 -1
  1300. pyrogram/raw/functions/messages/get_archived_stickers.py +1 -1
  1301. pyrogram/raw/functions/messages/get_attach_menu_bot.py +1 -1
  1302. pyrogram/raw/functions/messages/get_attach_menu_bots.py +1 -1
  1303. pyrogram/raw/functions/messages/get_attached_stickers.py +1 -1
  1304. pyrogram/raw/functions/messages/get_available_effects.py +1 -1
  1305. pyrogram/raw/functions/messages/get_available_reactions.py +1 -1
  1306. pyrogram/raw/functions/messages/get_bot_app.py +1 -1
  1307. pyrogram/raw/functions/messages/get_bot_callback_answer.py +1 -1
  1308. pyrogram/raw/functions/messages/get_bot_widget_query_answer.py +99 -0
  1309. pyrogram/raw/functions/messages/get_chat_invite_importers.py +1 -1
  1310. pyrogram/raw/functions/messages/get_chats.py +1 -1
  1311. pyrogram/raw/functions/messages/get_common_chats.py +1 -1
  1312. pyrogram/raw/functions/messages/get_custom_emoji_documents.py +1 -1
  1313. pyrogram/raw/functions/messages/get_default_history_ttl.py +1 -1
  1314. pyrogram/raw/functions/messages/get_default_tag_reactions.py +1 -1
  1315. pyrogram/raw/functions/messages/get_dh_config.py +1 -1
  1316. pyrogram/raw/functions/messages/get_dialog_filters.py +1 -1
  1317. pyrogram/raw/functions/messages/get_dialog_unread_marks.py +1 -1
  1318. pyrogram/raw/functions/messages/get_dialogs.py +1 -1
  1319. pyrogram/raw/functions/messages/get_discussion_message.py +1 -1
  1320. pyrogram/raw/functions/messages/get_document_by_hash.py +1 -1
  1321. pyrogram/raw/functions/messages/get_emoji_game_info.py +1 -1
  1322. pyrogram/raw/functions/messages/get_emoji_groups.py +1 -1
  1323. pyrogram/raw/functions/messages/get_emoji_keywords.py +1 -1
  1324. pyrogram/raw/functions/messages/get_emoji_keywords_difference.py +1 -1
  1325. pyrogram/raw/functions/messages/get_emoji_keywords_languages.py +1 -1
  1326. pyrogram/raw/functions/messages/get_emoji_profile_photo_groups.py +1 -1
  1327. pyrogram/raw/functions/messages/get_emoji_status_groups.py +1 -1
  1328. pyrogram/raw/functions/messages/get_emoji_sticker_groups.py +1 -1
  1329. pyrogram/raw/functions/messages/get_emoji_stickers.py +1 -1
  1330. pyrogram/raw/functions/messages/get_emoji_url.py +1 -1
  1331. pyrogram/raw/functions/messages/get_exported_chat_invite.py +1 -1
  1332. pyrogram/raw/functions/messages/get_exported_chat_invites.py +1 -1
  1333. pyrogram/raw/functions/messages/get_extended_media.py +1 -1
  1334. pyrogram/raw/functions/messages/get_fact_check.py +1 -1
  1335. pyrogram/raw/functions/messages/get_faved_stickers.py +1 -1
  1336. pyrogram/raw/functions/messages/get_featured_emoji_stickers.py +1 -1
  1337. pyrogram/raw/functions/messages/get_featured_stickers.py +1 -1
  1338. pyrogram/raw/functions/messages/get_forum_topics.py +24 -6
  1339. pyrogram/raw/functions/messages/get_forum_topics_by_id.py +1 -1
  1340. pyrogram/raw/functions/messages/get_full_chat.py +1 -1
  1341. pyrogram/raw/functions/messages/get_future_chat_creator_after_leave.py +1 -1
  1342. pyrogram/raw/functions/messages/get_game_high_scores.py +1 -1
  1343. pyrogram/raw/functions/messages/get_history.py +1 -1
  1344. pyrogram/raw/functions/messages/get_inline_bot_results.py +1 -1
  1345. pyrogram/raw/functions/messages/get_inline_game_high_scores.py +1 -1
  1346. pyrogram/raw/functions/messages/get_mask_stickers.py +1 -1
  1347. pyrogram/raw/functions/messages/get_message_edit_data.py +1 -1
  1348. pyrogram/raw/functions/messages/get_message_reactions_list.py +1 -1
  1349. pyrogram/raw/functions/messages/get_message_read_participants.py +1 -1
  1350. pyrogram/raw/functions/messages/get_messages.py +1 -1
  1351. pyrogram/raw/functions/messages/get_messages_reactions.py +1 -1
  1352. pyrogram/raw/functions/messages/get_messages_views.py +1 -1
  1353. pyrogram/raw/functions/messages/get_my_stickers.py +1 -1
  1354. pyrogram/raw/functions/messages/get_old_featured_stickers.py +1 -1
  1355. pyrogram/raw/functions/messages/get_onlines.py +1 -1
  1356. pyrogram/raw/functions/messages/get_outbox_read_date.py +1 -1
  1357. pyrogram/raw/functions/messages/get_paid_reaction_privacy.py +1 -1
  1358. pyrogram/raw/functions/messages/get_peer_dialogs.py +1 -1
  1359. pyrogram/raw/functions/messages/get_peer_settings.py +1 -1
  1360. pyrogram/raw/functions/messages/get_personal_channel_history.py +1 -1
  1361. pyrogram/raw/functions/messages/get_pinned_dialogs.py +1 -1
  1362. pyrogram/raw/functions/messages/get_pinned_saved_dialogs.py +1 -1
  1363. pyrogram/raw/functions/messages/get_poll_results.py +1 -1
  1364. pyrogram/raw/functions/messages/get_poll_votes.py +1 -1
  1365. pyrogram/raw/functions/messages/get_prepared_inline_message.py +1 -1
  1366. pyrogram/raw/functions/messages/get_quick_replies.py +1 -1
  1367. pyrogram/raw/functions/messages/get_quick_reply_messages.py +1 -1
  1368. pyrogram/raw/functions/messages/get_recent_locations.py +1 -1
  1369. pyrogram/raw/functions/messages/get_recent_reactions.py +1 -1
  1370. pyrogram/raw/functions/messages/get_recent_stickers.py +1 -1
  1371. pyrogram/raw/functions/messages/get_replies.py +1 -1
  1372. pyrogram/raw/functions/messages/get_rich_message.py +1 -1
  1373. pyrogram/raw/functions/messages/get_saved_dialogs.py +1 -1
  1374. pyrogram/raw/functions/messages/get_saved_dialogs_by_id.py +1 -1
  1375. pyrogram/raw/functions/messages/get_saved_gifs.py +1 -1
  1376. pyrogram/raw/functions/messages/get_saved_history.py +1 -1
  1377. pyrogram/raw/functions/messages/get_saved_reaction_tags.py +1 -1
  1378. pyrogram/raw/functions/messages/get_scheduled_history.py +1 -1
  1379. pyrogram/raw/functions/messages/get_scheduled_messages.py +1 -1
  1380. pyrogram/raw/functions/messages/get_search_counters.py +1 -1
  1381. pyrogram/raw/functions/messages/get_search_results_calendar.py +1 -1
  1382. pyrogram/raw/functions/messages/get_search_results_positions.py +1 -1
  1383. pyrogram/raw/functions/messages/get_share_theme.py +75 -0
  1384. pyrogram/raw/functions/messages/get_share_theme_backdrops.py +75 -0
  1385. pyrogram/raw/functions/messages/get_split_ranges.py +1 -1
  1386. pyrogram/raw/functions/messages/get_sponsored_messages.py +1 -1
  1387. pyrogram/raw/functions/messages/get_stats_url.py +91 -0
  1388. pyrogram/raw/functions/messages/get_sticker_set.py +1 -1
  1389. pyrogram/raw/functions/messages/get_stickers.py +1 -1
  1390. pyrogram/raw/functions/messages/get_suggested_dialog_filters.py +1 -1
  1391. pyrogram/raw/functions/messages/get_top_reactions.py +1 -1
  1392. pyrogram/raw/functions/messages/get_transcription_langs.py +79 -0
  1393. pyrogram/raw/functions/messages/get_transcription_models.py +75 -0
  1394. pyrogram/raw/functions/messages/get_unread_mentions.py +1 -1
  1395. pyrogram/raw/functions/messages/get_unread_poll_votes.py +1 -1
  1396. pyrogram/raw/functions/messages/get_unread_reactions.py +1 -1
  1397. pyrogram/raw/functions/messages/get_voip_models.py +75 -0
  1398. pyrogram/raw/functions/messages/get_web_page.py +1 -1
  1399. pyrogram/raw/functions/messages/get_web_page_preview.py +1 -1
  1400. pyrogram/raw/functions/messages/get_web_view_result.py +91 -0
  1401. pyrogram/raw/functions/messages/get_widget_public_data.py +91 -0
  1402. pyrogram/raw/functions/messages/hide_all_chat_join_requests.py +1 -1
  1403. pyrogram/raw/functions/messages/hide_chat_join_request.py +1 -1
  1404. pyrogram/raw/functions/messages/hide_peer_settings_bar.py +1 -1
  1405. pyrogram/raw/functions/messages/import_chat_invite.py +1 -1
  1406. pyrogram/raw/functions/messages/init_history_import.py +1 -1
  1407. pyrogram/raw/functions/messages/install_sticker_set.py +1 -1
  1408. pyrogram/raw/functions/messages/invite_users_to_bot.py +83 -0
  1409. pyrogram/raw/functions/messages/mark_dialog_unread.py +1 -1
  1410. pyrogram/raw/functions/messages/migrate_chat.py +1 -1
  1411. pyrogram/raw/functions/messages/prolong_web_view.py +1 -1
  1412. pyrogram/raw/functions/messages/rate_transcribed_audio.py +1 -1
  1413. pyrogram/raw/functions/messages/read_discussion.py +1 -1
  1414. pyrogram/raw/functions/messages/read_encrypted_history.py +1 -1
  1415. pyrogram/raw/functions/messages/read_featured_stickers.py +1 -1
  1416. pyrogram/raw/functions/messages/read_history.py +1 -1
  1417. pyrogram/raw/functions/messages/read_mentions.py +1 -1
  1418. pyrogram/raw/functions/messages/read_message_contents.py +1 -1
  1419. pyrogram/raw/functions/messages/read_poll_votes.py +1 -1
  1420. pyrogram/raw/functions/messages/read_reactions.py +1 -1
  1421. pyrogram/raw/functions/messages/read_saved_history.py +1 -1
  1422. pyrogram/raw/functions/messages/received_messages.py +1 -1
  1423. pyrogram/raw/functions/messages/received_queue.py +1 -1
  1424. pyrogram/raw/functions/messages/reorder_pinned_dialogs.py +1 -1
  1425. pyrogram/raw/functions/messages/reorder_pinned_forum_topics.py +1 -1
  1426. pyrogram/raw/functions/messages/reorder_pinned_saved_dialogs.py +1 -1
  1427. pyrogram/raw/functions/messages/reorder_quick_replies.py +1 -1
  1428. pyrogram/raw/functions/messages/reorder_sticker_sets.py +1 -1
  1429. pyrogram/raw/functions/messages/report.py +1 -1
  1430. pyrogram/raw/functions/messages/report_encrypted_spam.py +1 -1
  1431. pyrogram/raw/functions/messages/report_feed_events.py +75 -0
  1432. pyrogram/raw/functions/messages/report_messages_delivery.py +1 -1
  1433. pyrogram/raw/functions/messages/report_music_listen.py +1 -1
  1434. pyrogram/raw/functions/messages/report_not_spam.py +75 -0
  1435. pyrogram/raw/functions/messages/report_reaction.py +1 -1
  1436. pyrogram/raw/functions/messages/report_read_metrics.py +1 -1
  1437. pyrogram/raw/functions/messages/report_spam.py +1 -1
  1438. pyrogram/raw/functions/messages/report_sponsored_message.py +1 -1
  1439. pyrogram/raw/functions/messages/request_app_web_view.py +1 -1
  1440. pyrogram/raw/functions/messages/request_chat_join_web_view.py +1 -1
  1441. pyrogram/raw/functions/messages/request_encryption.py +1 -1
  1442. pyrogram/raw/functions/messages/request_main_web_view.py +1 -1
  1443. pyrogram/raw/functions/messages/request_simple_web_view.py +1 -1
  1444. pyrogram/raw/functions/messages/request_url_auth.py +1 -1
  1445. pyrogram/raw/functions/messages/request_web_view.py +1 -1
  1446. pyrogram/raw/functions/messages/save_default_send_as.py +1 -1
  1447. pyrogram/raw/functions/messages/save_draft.py +1 -1
  1448. pyrogram/raw/functions/messages/save_gif.py +1 -1
  1449. pyrogram/raw/functions/messages/save_prepared_inline_message.py +1 -1
  1450. pyrogram/raw/functions/messages/save_recent_sticker.py +1 -1
  1451. pyrogram/raw/functions/messages/search.py +1 -1
  1452. pyrogram/raw/functions/messages/search_custom_emoji.py +1 -1
  1453. pyrogram/raw/functions/messages/search_emoji_sticker_sets.py +1 -1
  1454. pyrogram/raw/functions/messages/search_global.py +1 -1
  1455. pyrogram/raw/functions/messages/search_sent_media.py +1 -1
  1456. pyrogram/raw/functions/messages/search_sticker_sets.py +1 -1
  1457. pyrogram/raw/functions/messages/search_stickers.py +1 -1
  1458. pyrogram/raw/functions/messages/send_bot_requested_peer.py +1 -1
  1459. pyrogram/raw/functions/messages/send_encrypted.py +1 -1
  1460. pyrogram/raw/functions/messages/send_encrypted_file.py +1 -1
  1461. pyrogram/raw/functions/messages/send_encrypted_service.py +1 -1
  1462. pyrogram/raw/functions/messages/send_inline_bot_result.py +1 -1
  1463. pyrogram/raw/functions/messages/send_media.py +1 -1
  1464. pyrogram/raw/functions/messages/send_message.py +1 -1
  1465. pyrogram/raw/functions/messages/send_multi_media.py +1 -1
  1466. pyrogram/raw/functions/messages/send_paid_reaction.py +2 -2
  1467. pyrogram/raw/functions/messages/send_quick_reply_messages.py +1 -1
  1468. pyrogram/raw/functions/messages/send_reaction.py +1 -1
  1469. pyrogram/raw/functions/messages/send_scheduled_messages.py +1 -1
  1470. pyrogram/raw/functions/messages/send_screenshot_notification.py +1 -1
  1471. pyrogram/raw/functions/messages/send_vote.py +1 -1
  1472. pyrogram/raw/functions/messages/send_web_view_data.py +1 -1
  1473. pyrogram/raw/functions/messages/send_web_view_result_message.py +1 -1
  1474. pyrogram/raw/functions/messages/set_bot_callback_answer.py +1 -1
  1475. pyrogram/raw/functions/messages/set_bot_guest_chat_result.py +1 -1
  1476. pyrogram/raw/functions/messages/set_bot_precheckout_results.py +1 -1
  1477. pyrogram/raw/functions/messages/set_bot_shipping_results.py +1 -1
  1478. pyrogram/raw/functions/messages/set_bot_widget_query_answer.py +86 -0
  1479. pyrogram/raw/functions/messages/set_chat_available_reactions.py +1 -1
  1480. pyrogram/raw/functions/messages/set_chat_theme.py +1 -1
  1481. pyrogram/raw/functions/messages/set_chat_wall_paper.py +1 -1
  1482. pyrogram/raw/functions/messages/set_default_history_ttl.py +1 -1
  1483. pyrogram/raw/functions/messages/set_default_reaction.py +1 -1
  1484. pyrogram/raw/functions/messages/set_encrypted_typing.py +1 -1
  1485. pyrogram/raw/functions/messages/set_game_score.py +1 -1
  1486. pyrogram/raw/functions/messages/set_history_ttl.py +1 -1
  1487. pyrogram/raw/functions/messages/set_inline_bot_results.py +1 -1
  1488. pyrogram/raw/functions/messages/set_inline_game_score.py +1 -1
  1489. pyrogram/raw/functions/messages/set_share_theme.py +83 -0
  1490. pyrogram/raw/functions/messages/set_typing.py +1 -1
  1491. pyrogram/raw/functions/messages/set_web_view_result.py +83 -0
  1492. pyrogram/raw/functions/messages/start_bot.py +1 -1
  1493. pyrogram/raw/functions/messages/start_history_import.py +1 -1
  1494. pyrogram/raw/functions/messages/summarize_text.py +1 -1
  1495. pyrogram/raw/functions/messages/toggle_bot_in_attach_menu.py +1 -1
  1496. pyrogram/raw/functions/messages/toggle_dialog_filter_tags.py +1 -1
  1497. pyrogram/raw/functions/messages/toggle_dialog_pin.py +1 -1
  1498. pyrogram/raw/functions/messages/toggle_no_forwards.py +1 -1
  1499. pyrogram/raw/functions/messages/toggle_paid_reaction_privacy.py +1 -1
  1500. pyrogram/raw/functions/messages/toggle_peer_translations.py +1 -1
  1501. pyrogram/raw/functions/messages/toggle_saved_dialog_pin.py +1 -1
  1502. pyrogram/raw/functions/messages/toggle_sticker_sets.py +1 -1
  1503. pyrogram/raw/functions/messages/toggle_suggested_post_approval.py +1 -1
  1504. pyrogram/raw/functions/messages/toggle_todo_completed.py +1 -1
  1505. pyrogram/raw/functions/messages/transcribe_audio.py +1 -1
  1506. pyrogram/raw/functions/messages/transcribe_audio_file.py +75 -0
  1507. pyrogram/raw/functions/messages/translate_rich_message.py +1 -1
  1508. pyrogram/raw/functions/messages/translate_text.py +1 -1
  1509. pyrogram/raw/functions/messages/uninstall_sticker_set.py +1 -1
  1510. pyrogram/raw/functions/messages/unpin_all_messages.py +1 -1
  1511. pyrogram/raw/functions/messages/update_dialog_filter.py +1 -1
  1512. pyrogram/raw/functions/messages/update_dialog_filters_order.py +1 -1
  1513. pyrogram/raw/functions/messages/update_pinned_forum_topic.py +1 -1
  1514. pyrogram/raw/functions/messages/update_pinned_message.py +1 -1
  1515. pyrogram/raw/functions/messages/update_saved_reaction_tag.py +1 -1
  1516. pyrogram/raw/functions/messages/upload_encrypted_file.py +1 -1
  1517. pyrogram/raw/functions/messages/upload_imported_media.py +1 -1
  1518. pyrogram/raw/functions/messages/upload_media.py +1 -1
  1519. pyrogram/raw/functions/messages/view_sponsored_message.py +1 -1
  1520. pyrogram/raw/functions/payments/__init__.py +21 -0
  1521. pyrogram/raw/functions/payments/accept_star_gift_onchain_offer.py +75 -0
  1522. pyrogram/raw/functions/payments/apply_gift_code.py +1 -1
  1523. pyrogram/raw/functions/payments/assign_app_store_transaction.py +1 -1
  1524. pyrogram/raw/functions/payments/assign_play_market_transaction.py +1 -1
  1525. pyrogram/raw/functions/payments/bot_cancel_stars_subscription.py +1 -1
  1526. pyrogram/raw/functions/payments/buy_star_gift_onchain.py +111 -0
  1527. pyrogram/raw/functions/payments/can_purchase_store.py +1 -1
  1528. pyrogram/raw/functions/payments/cancel_star_gift_onchain_offer.py +75 -0
  1529. pyrogram/raw/functions/payments/cancel_star_gift_onchain_sale.py +75 -0
  1530. pyrogram/raw/functions/payments/change_stars_subscription.py +1 -1
  1531. pyrogram/raw/functions/payments/check_can_send_gift.py +1 -1
  1532. pyrogram/raw/functions/payments/check_gift_code.py +1 -1
  1533. pyrogram/raw/functions/payments/clear_saved_info.py +1 -1
  1534. pyrogram/raw/functions/payments/connect_star_ref_bot.py +1 -1
  1535. pyrogram/raw/functions/payments/convert_star_gift.py +1 -1
  1536. pyrogram/raw/functions/payments/craft_star_gift.py +1 -1
  1537. pyrogram/raw/functions/payments/create_onramp_session.py +165 -0
  1538. pyrogram/raw/functions/payments/create_star_gift_collection.py +1 -1
  1539. pyrogram/raw/functions/payments/decline_star_gift_onchain_offer.py +75 -0
  1540. pyrogram/raw/functions/payments/delete_star_gift.py +75 -0
  1541. pyrogram/raw/functions/payments/delete_star_gift_collection.py +1 -1
  1542. pyrogram/raw/functions/payments/deposit_star_gift.py +91 -0
  1543. pyrogram/raw/functions/payments/display_star_gift.py +87 -0
  1544. pyrogram/raw/functions/payments/edit_connected_star_ref_bot.py +1 -1
  1545. pyrogram/raw/functions/payments/export_invoice.py +1 -1
  1546. pyrogram/raw/functions/payments/fulfill_stars_subscription.py +1 -1
  1547. pyrogram/raw/functions/payments/get_bank_card_data.py +1 -1
  1548. pyrogram/raw/functions/payments/get_connected_star_ref_bot.py +1 -1
  1549. pyrogram/raw/functions/payments/get_connected_star_ref_bots.py +1 -1
  1550. pyrogram/raw/functions/payments/get_craft_star_gifts.py +1 -1
  1551. pyrogram/raw/functions/payments/get_currency_rates.py +70 -0
  1552. pyrogram/raw/functions/payments/get_giveaway_info.py +1 -1
  1553. pyrogram/raw/functions/payments/get_onramp_availability.py +94 -0
  1554. pyrogram/raw/functions/payments/get_onramp_base_currencies.py +83 -0
  1555. pyrogram/raw/functions/payments/get_onramp_limits.py +102 -0
  1556. pyrogram/raw/functions/payments/get_onramp_providers.py +78 -0
  1557. pyrogram/raw/functions/payments/get_onramp_quote.py +120 -0
  1558. pyrogram/raw/functions/payments/get_payment_form.py +1 -1
  1559. pyrogram/raw/functions/payments/get_payment_receipt.py +1 -1
  1560. pyrogram/raw/functions/payments/get_premium_gift_code_options.py +1 -1
  1561. pyrogram/raw/functions/payments/get_resale_star_gifts.py +16 -4
  1562. pyrogram/raw/functions/payments/get_resale_star_gifts_merged.py +151 -0
  1563. pyrogram/raw/functions/payments/get_saved_info.py +1 -1
  1564. pyrogram/raw/functions/payments/get_saved_star_gift.py +1 -1
  1565. pyrogram/raw/functions/payments/get_saved_star_gifts.py +1 -1
  1566. pyrogram/raw/functions/payments/get_star_gift_active_auctions.py +1 -1
  1567. pyrogram/raw/functions/payments/get_star_gift_auction_acquired_gifts.py +1 -1
  1568. pyrogram/raw/functions/payments/get_star_gift_auction_state.py +1 -1
  1569. pyrogram/raw/functions/payments/get_star_gift_collections.py +1 -1
  1570. pyrogram/raw/functions/payments/get_star_gift_upgrade_attributes.py +1 -1
  1571. pyrogram/raw/functions/payments/get_star_gift_upgrade_preview.py +1 -1
  1572. pyrogram/raw/functions/payments/get_star_gift_withdrawal_url.py +16 -13
  1573. pyrogram/raw/functions/payments/get_star_gifts.py +1 -1
  1574. pyrogram/raw/functions/payments/get_stars_gift_options.py +1 -1
  1575. pyrogram/raw/functions/payments/get_stars_giveaway_options.py +1 -1
  1576. pyrogram/raw/functions/payments/get_stars_revenue_ads_account_url.py +1 -1
  1577. pyrogram/raw/functions/payments/get_stars_revenue_stats.py +1 -1
  1578. pyrogram/raw/functions/payments/get_stars_revenue_withdrawal_url.py +1 -1
  1579. pyrogram/raw/functions/payments/get_stars_status.py +1 -1
  1580. pyrogram/raw/functions/payments/get_stars_subscriptions.py +1 -1
  1581. pyrogram/raw/functions/payments/get_stars_topup_options.py +1 -1
  1582. pyrogram/raw/functions/payments/get_stars_transactions.py +1 -1
  1583. pyrogram/raw/functions/payments/get_stars_transactions_by_id.py +1 -1
  1584. pyrogram/raw/functions/payments/get_suggested_star_ref_bots.py +1 -1
  1585. pyrogram/raw/functions/payments/get_unique_star_gift.py +1 -1
  1586. pyrogram/raw/functions/payments/get_unique_star_gift_value_info.py +1 -1
  1587. pyrogram/raw/functions/payments/launch_prepaid_giveaway.py +1 -1
  1588. pyrogram/raw/functions/payments/refund_stars_charge.py +1 -1
  1589. pyrogram/raw/functions/payments/reorder_star_gift_collections.py +1 -1
  1590. pyrogram/raw/functions/payments/request_recurring_payment.py +91 -0
  1591. pyrogram/raw/functions/payments/resolve_star_gift_offer.py +1 -1
  1592. pyrogram/raw/functions/payments/save_star_gift.py +1 -1
  1593. pyrogram/raw/functions/payments/send_payment_form.py +1 -1
  1594. pyrogram/raw/functions/payments/send_star_gift_offer.py +1 -1
  1595. pyrogram/raw/functions/payments/send_star_gift_onchain_offer.py +99 -0
  1596. pyrogram/raw/functions/payments/send_stars_form.py +1 -1
  1597. pyrogram/raw/functions/payments/toggle_chat_star_gift_notifications.py +1 -1
  1598. pyrogram/raw/functions/payments/toggle_star_gifts_pinned_to_top.py +1 -1
  1599. pyrogram/raw/functions/payments/transfer_star_gift.py +1 -1
  1600. pyrogram/raw/functions/payments/update_star_gift_collection.py +1 -1
  1601. pyrogram/raw/functions/payments/update_star_gift_onchain_price.py +83 -0
  1602. pyrogram/raw/functions/payments/update_star_gift_price.py +1 -1
  1603. pyrogram/raw/functions/payments/upgrade_star_gift.py +1 -1
  1604. pyrogram/raw/functions/payments/validate_requested_info.py +1 -1
  1605. pyrogram/raw/functions/payments/withdraw_star_gift.py +91 -0
  1606. pyrogram/raw/functions/payments/withdraw_stars_revenue_to_wallet.py +100 -0
  1607. pyrogram/raw/functions/phone/accept_call.py +1 -1
  1608. pyrogram/raw/functions/phone/check_group_call.py +1 -1
  1609. pyrogram/raw/functions/phone/confirm_call.py +1 -1
  1610. pyrogram/raw/functions/phone/create_conference_call.py +1 -1
  1611. pyrogram/raw/functions/phone/create_group_call.py +1 -1
  1612. pyrogram/raw/functions/phone/decline_conference_call_invite.py +1 -1
  1613. pyrogram/raw/functions/phone/delete_conference_call_participants.py +1 -1
  1614. pyrogram/raw/functions/phone/delete_group_call_messages.py +1 -1
  1615. pyrogram/raw/functions/phone/delete_group_call_participant_messages.py +1 -1
  1616. pyrogram/raw/functions/phone/discard_call.py +1 -1
  1617. pyrogram/raw/functions/phone/discard_group_call.py +1 -1
  1618. pyrogram/raw/functions/phone/edit_group_call_participant.py +1 -1
  1619. pyrogram/raw/functions/phone/edit_group_call_title.py +1 -1
  1620. pyrogram/raw/functions/phone/export_group_call_invite.py +1 -1
  1621. pyrogram/raw/functions/phone/get_call_config.py +1 -1
  1622. pyrogram/raw/functions/phone/get_group_call.py +1 -1
  1623. pyrogram/raw/functions/phone/get_group_call_chain_blocks.py +1 -1
  1624. pyrogram/raw/functions/phone/get_group_call_join_as.py +1 -1
  1625. pyrogram/raw/functions/phone/get_group_call_stars.py +1 -1
  1626. pyrogram/raw/functions/phone/get_group_call_stream_channels.py +1 -1
  1627. pyrogram/raw/functions/phone/get_group_call_stream_rtmp_url.py +1 -1
  1628. pyrogram/raw/functions/phone/get_group_participants.py +1 -1
  1629. pyrogram/raw/functions/phone/invite_conference_call_participant.py +1 -1
  1630. pyrogram/raw/functions/phone/invite_to_group_call.py +1 -1
  1631. pyrogram/raw/functions/phone/join_group_call.py +1 -1
  1632. pyrogram/raw/functions/phone/join_group_call_presentation.py +1 -1
  1633. pyrogram/raw/functions/phone/leave_group_call.py +1 -1
  1634. pyrogram/raw/functions/phone/leave_group_call_presentation.py +1 -1
  1635. pyrogram/raw/functions/phone/received_call.py +1 -1
  1636. pyrogram/raw/functions/phone/request_call.py +1 -1
  1637. pyrogram/raw/functions/phone/save_call_debug.py +1 -1
  1638. pyrogram/raw/functions/phone/save_call_log.py +1 -1
  1639. pyrogram/raw/functions/phone/save_default_group_call_join_as.py +1 -1
  1640. pyrogram/raw/functions/phone/save_default_send_as.py +1 -1
  1641. pyrogram/raw/functions/phone/send_conference_call_broadcast.py +1 -1
  1642. pyrogram/raw/functions/phone/send_group_call_encrypted_message.py +1 -1
  1643. pyrogram/raw/functions/phone/send_group_call_message.py +1 -1
  1644. pyrogram/raw/functions/phone/send_signaling_data.py +1 -1
  1645. pyrogram/raw/functions/phone/set_call_rating.py +1 -1
  1646. pyrogram/raw/functions/phone/start_scheduled_group_call.py +1 -1
  1647. pyrogram/raw/functions/phone/toggle_group_call_record.py +1 -1
  1648. pyrogram/raw/functions/phone/toggle_group_call_settings.py +1 -1
  1649. pyrogram/raw/functions/phone/toggle_group_call_start_subscription.py +1 -1
  1650. pyrogram/raw/functions/photos/delete_photos.py +1 -1
  1651. pyrogram/raw/functions/photos/get_user_photos.py +1 -1
  1652. pyrogram/raw/functions/photos/update_profile_photo.py +1 -1
  1653. pyrogram/raw/functions/photos/upload_contact_profile_photo.py +1 -1
  1654. pyrogram/raw/functions/photos/upload_profile_photo.py +1 -1
  1655. pyrogram/raw/functions/ping.py +1 -1
  1656. pyrogram/raw/functions/ping_delay_disconnect.py +1 -1
  1657. pyrogram/raw/functions/premium/apply_boost.py +1 -1
  1658. pyrogram/raw/functions/premium/get_boosts_list.py +1 -1
  1659. pyrogram/raw/functions/premium/get_boosts_status.py +1 -1
  1660. pyrogram/raw/functions/premium/get_my_boosts.py +1 -1
  1661. pyrogram/raw/functions/premium/get_user_boosts.py +1 -1
  1662. pyrogram/raw/functions/req_dh_params.py +1 -1
  1663. pyrogram/raw/functions/req_pq.py +1 -1
  1664. pyrogram/raw/functions/req_pq_multi.py +1 -1
  1665. pyrogram/raw/functions/rpc_drop_answer.py +1 -1
  1666. pyrogram/raw/functions/set_client_dh_params.py +1 -1
  1667. pyrogram/raw/functions/smsjobs/finish_job.py +1 -1
  1668. pyrogram/raw/functions/smsjobs/get_sms_job.py +1 -1
  1669. pyrogram/raw/functions/smsjobs/get_status.py +1 -1
  1670. pyrogram/raw/functions/smsjobs/is_eligible_to_join.py +1 -1
  1671. pyrogram/raw/functions/smsjobs/join.py +1 -1
  1672. pyrogram/raw/functions/smsjobs/leave.py +1 -1
  1673. pyrogram/raw/functions/smsjobs/update_settings.py +1 -1
  1674. pyrogram/raw/functions/stats/get_broadcast_stats.py +1 -1
  1675. pyrogram/raw/functions/stats/get_megagroup_stats.py +1 -1
  1676. pyrogram/raw/functions/stats/get_message_public_forwards.py +1 -1
  1677. pyrogram/raw/functions/stats/get_message_stats.py +1 -1
  1678. pyrogram/raw/functions/stats/get_poll_stats.py +1 -1
  1679. pyrogram/raw/functions/stats/get_story_public_forwards.py +1 -1
  1680. pyrogram/raw/functions/stats/get_story_stats.py +1 -1
  1681. pyrogram/raw/functions/stats/load_async_graph.py +1 -1
  1682. pyrogram/raw/functions/stickers/add_sticker_to_set.py +1 -1
  1683. pyrogram/raw/functions/stickers/change_sticker.py +1 -1
  1684. pyrogram/raw/functions/stickers/change_sticker_position.py +1 -1
  1685. pyrogram/raw/functions/stickers/check_short_name.py +1 -1
  1686. pyrogram/raw/functions/stickers/create_sticker_set.py +1 -1
  1687. pyrogram/raw/functions/stickers/delete_sticker_set.py +1 -1
  1688. pyrogram/raw/functions/stickers/remove_sticker_from_set.py +1 -1
  1689. pyrogram/raw/functions/stickers/rename_sticker_set.py +1 -1
  1690. pyrogram/raw/functions/stickers/replace_sticker.py +1 -1
  1691. pyrogram/raw/functions/stickers/set_sticker_set_thumb.py +1 -1
  1692. pyrogram/raw/functions/stickers/suggest_short_name.py +1 -1
  1693. pyrogram/raw/functions/stories/activate_stealth_mode.py +1 -1
  1694. pyrogram/raw/functions/stories/can_send_story.py +1 -1
  1695. pyrogram/raw/functions/stories/create_album.py +1 -1
  1696. pyrogram/raw/functions/stories/delete_album.py +1 -1
  1697. pyrogram/raw/functions/stories/delete_stories.py +1 -1
  1698. pyrogram/raw/functions/stories/edit_story.py +1 -1
  1699. pyrogram/raw/functions/stories/export_story_link.py +1 -1
  1700. pyrogram/raw/functions/stories/get_album_stories.py +1 -1
  1701. pyrogram/raw/functions/stories/get_albums.py +1 -1
  1702. pyrogram/raw/functions/stories/get_all_read_peer_stories.py +1 -1
  1703. pyrogram/raw/functions/stories/get_all_stories.py +1 -1
  1704. pyrogram/raw/functions/stories/get_chats_to_send.py +1 -1
  1705. pyrogram/raw/functions/stories/get_peer_max_i_ds.py +1 -1
  1706. pyrogram/raw/functions/stories/get_peer_stories.py +1 -1
  1707. pyrogram/raw/functions/stories/get_pinned_stories.py +1 -1
  1708. pyrogram/raw/functions/stories/get_stories_archive.py +1 -1
  1709. pyrogram/raw/functions/stories/get_stories_by_id.py +1 -1
  1710. pyrogram/raw/functions/stories/get_stories_views.py +1 -1
  1711. pyrogram/raw/functions/stories/get_story_reactions_list.py +1 -1
  1712. pyrogram/raw/functions/stories/get_story_views_list.py +1 -1
  1713. pyrogram/raw/functions/stories/increment_story_views.py +1 -1
  1714. pyrogram/raw/functions/stories/read_stories.py +1 -1
  1715. pyrogram/raw/functions/stories/reorder_albums.py +1 -1
  1716. pyrogram/raw/functions/stories/report.py +1 -1
  1717. pyrogram/raw/functions/stories/search_posts.py +1 -1
  1718. pyrogram/raw/functions/stories/send_reaction.py +1 -1
  1719. pyrogram/raw/functions/stories/send_story.py +1 -1
  1720. pyrogram/raw/functions/stories/start_live.py +1 -1
  1721. pyrogram/raw/functions/stories/toggle_all_stories_hidden.py +1 -1
  1722. pyrogram/raw/functions/stories/toggle_peer_stories_hidden.py +1 -1
  1723. pyrogram/raw/functions/stories/toggle_pinned.py +1 -1
  1724. pyrogram/raw/functions/stories/toggle_pinned_to_top.py +1 -1
  1725. pyrogram/raw/functions/stories/update_album.py +1 -1
  1726. pyrogram/raw/functions/toncenter/__init__.py +26 -0
  1727. pyrogram/raw/functions/toncenter/get_streaming_url.py +70 -0
  1728. pyrogram/raw/functions/toncenter/perform_api_request.py +101 -0
  1729. pyrogram/raw/functions/updates/get_channel_difference.py +1 -1
  1730. pyrogram/raw/functions/updates/get_difference.py +1 -1
  1731. pyrogram/raw/functions/updates/get_state.py +1 -1
  1732. pyrogram/raw/functions/upload/get_cdn_file.py +1 -1
  1733. pyrogram/raw/functions/upload/get_cdn_file_hashes.py +1 -1
  1734. pyrogram/raw/functions/upload/get_file.py +1 -1
  1735. pyrogram/raw/functions/upload/get_file_hashes.py +1 -1
  1736. pyrogram/raw/functions/upload/get_web_file.py +1 -1
  1737. pyrogram/raw/functions/upload/reupload_cdn_file.py +1 -1
  1738. pyrogram/raw/functions/upload/save_big_file_part.py +1 -1
  1739. pyrogram/raw/functions/upload/save_file_part.py +1 -1
  1740. pyrogram/raw/functions/users/get_full_user.py +1 -1
  1741. pyrogram/raw/functions/users/get_requirements_to_contact.py +1 -1
  1742. pyrogram/raw/functions/users/get_saved_music.py +1 -1
  1743. pyrogram/raw/functions/users/get_saved_music_by_id.py +1 -1
  1744. pyrogram/raw/functions/users/get_users.py +1 -1
  1745. pyrogram/raw/functions/users/set_secure_value_errors.py +1 -1
  1746. pyrogram/raw/functions/users/suggest_birthday.py +1 -1
  1747. pyrogram/raw/functions/wallet/__init__.py +53 -0
  1748. pyrogram/raw/functions/wallet/disable_backup.py +98 -0
  1749. pyrogram/raw/functions/wallet/enable_backup.py +96 -0
  1750. pyrogram/raw/functions/wallet/export_secret_phrase.py +79 -0
  1751. pyrogram/raw/functions/wallet/fetch_encrypted_secret_phrase_part.py +83 -0
  1752. pyrogram/raw/functions/wallet/get_backup_holder_dcs.py +70 -0
  1753. pyrogram/raw/functions/wallet/get_existing_walt_balance.py +70 -0
  1754. pyrogram/raw/functions/wallet/get_gasless_info.py +70 -0
  1755. pyrogram/raw/functions/wallet/get_nfts.py +83 -0
  1756. pyrogram/raw/functions/wallet/get_proof_challenge.py +70 -0
  1757. pyrogram/raw/functions/wallet/get_staking_info.py +70 -0
  1758. pyrogram/raw/functions/wallet/get_state.py +70 -0
  1759. pyrogram/raw/functions/wallet/get_transactions.py +97 -0
  1760. pyrogram/raw/functions/wallet/get_transactions_by_i_ds.py +75 -0
  1761. pyrogram/raw/functions/wallet/get_transactions_by_msg_hash.py +75 -0
  1762. pyrogram/raw/functions/wallet/get_user_addresses.py +91 -0
  1763. pyrogram/raw/functions/wallet/replace_wallet.py +87 -0
  1764. pyrogram/raw/{types/input_keyboard_button_user_profile.py → functions/wallet/send_transfer.py} +32 -33
  1765. pyrogram/raw/functions/wallet/set_card_stickers.py +86 -0
  1766. pyrogram/raw/functions/wallet/stake.py +83 -0
  1767. pyrogram/raw/functions/wallet/ton_connect_claim_request.py +108 -0
  1768. pyrogram/raw/functions/wallet/ton_connect_close_session.py +86 -0
  1769. pyrogram/raw/functions/wallet/ton_connect_create_session.py +83 -0
  1770. pyrogram/raw/functions/wallet/ton_connect_get_pending.py +87 -0
  1771. pyrogram/raw/functions/wallet/ton_connect_get_sessions.py +70 -0
  1772. pyrogram/raw/functions/wallet/ton_connect_next_event_id.py +75 -0
  1773. pyrogram/raw/functions/wallet/ton_connect_register_key.py +83 -0
  1774. pyrogram/raw/functions/wallet/ton_connect_submit_connect_result.py +108 -0
  1775. pyrogram/raw/functions/wallet/ton_connect_submit_response.py +102 -0
  1776. pyrogram/raw/functions/wallet/unstake.py +83 -0
  1777. pyrogram/raw/types/__init__.py +137 -19
  1778. pyrogram/raw/types/access_point_rule.py +1 -1
  1779. pyrogram/raw/types/account/__init__.py +2 -0
  1780. pyrogram/raw/types/account/authorization_form.py +1 -1
  1781. pyrogram/raw/types/account/authorizations.py +1 -1
  1782. pyrogram/raw/types/account/auto_download_settings.py +1 -1
  1783. pyrogram/raw/types/account/auto_save_settings.py +1 -1
  1784. pyrogram/raw/types/account/business_chat_links.py +1 -1
  1785. pyrogram/raw/types/account/chat_themes.py +1 -1
  1786. pyrogram/raw/types/account/chat_themes_not_modified.py +1 -1
  1787. pyrogram/raw/types/account/connected_bots.py +1 -1
  1788. pyrogram/raw/types/account/content_settings.py +1 -1
  1789. pyrogram/raw/types/account/email_verified.py +1 -1
  1790. pyrogram/raw/types/account/email_verified_login.py +1 -1
  1791. pyrogram/raw/types/account/emoji_statuses.py +1 -1
  1792. pyrogram/raw/types/account/emoji_statuses_not_modified.py +1 -1
  1793. pyrogram/raw/types/account/paid_messages_revenue.py +1 -1
  1794. pyrogram/raw/types/account/passkey_registration_options.py +1 -1
  1795. pyrogram/raw/types/account/passkeys.py +1 -1
  1796. pyrogram/raw/types/account/password.py +1 -1
  1797. pyrogram/raw/types/account/password_input_settings.py +1 -1
  1798. pyrogram/raw/types/account/password_settings.py +1 -1
  1799. pyrogram/raw/types/account/privacy_rules.py +1 -1
  1800. pyrogram/raw/types/account/reset_password_failed_wait.py +1 -1
  1801. pyrogram/raw/types/account/reset_password_ok.py +1 -1
  1802. pyrogram/raw/types/account/reset_password_requested_wait.py +1 -1
  1803. pyrogram/raw/types/account/resolved_business_chat_links.py +1 -1
  1804. pyrogram/raw/types/account/saved_music_ids.py +1 -1
  1805. pyrogram/raw/types/account/saved_music_ids_not_modified.py +1 -1
  1806. pyrogram/raw/types/account/saved_ringtone.py +1 -1
  1807. pyrogram/raw/types/account/saved_ringtone_converted.py +1 -1
  1808. pyrogram/raw/types/account/saved_ringtones.py +1 -1
  1809. pyrogram/raw/types/account/saved_ringtones_not_modified.py +1 -1
  1810. pyrogram/raw/types/account/sent_email_code.py +1 -1
  1811. pyrogram/raw/types/account/sim_bind_challenge.py +99 -0
  1812. pyrogram/raw/types/account/sim_bind_state.py +107 -0
  1813. pyrogram/raw/types/account/takeout.py +1 -1
  1814. pyrogram/raw/types/account/themes.py +1 -1
  1815. pyrogram/raw/types/account/themes_not_modified.py +1 -1
  1816. pyrogram/raw/types/account/tmp_password.py +1 -1
  1817. pyrogram/raw/types/account/wall_papers.py +1 -1
  1818. pyrogram/raw/types/account/wall_papers_not_modified.py +1 -1
  1819. pyrogram/raw/types/account/web_authorizations.py +1 -1
  1820. pyrogram/raw/types/account/web_browser_settings.py +1 -1
  1821. pyrogram/raw/types/account/web_browser_settings_not_modified.py +1 -1
  1822. pyrogram/raw/types/account_days_ttl.py +1 -1
  1823. pyrogram/raw/types/ai_compose_tone.py +1 -1
  1824. pyrogram/raw/types/ai_compose_tone_default.py +1 -1
  1825. pyrogram/raw/types/ai_compose_tone_example.py +1 -1
  1826. pyrogram/raw/types/aicompose/tones.py +1 -1
  1827. pyrogram/raw/types/aicompose/tones_not_modified.py +1 -1
  1828. pyrogram/raw/types/attach_menu_bot.py +1 -1
  1829. pyrogram/raw/types/attach_menu_bot_icon.py +1 -1
  1830. pyrogram/raw/types/attach_menu_bot_icon_color.py +1 -1
  1831. pyrogram/raw/types/attach_menu_bots.py +1 -1
  1832. pyrogram/raw/types/attach_menu_bots_bot.py +1 -1
  1833. pyrogram/raw/types/attach_menu_bots_not_modified.py +1 -1
  1834. pyrogram/raw/types/attach_menu_peer_type_bot_pm.py +1 -1
  1835. pyrogram/raw/types/attach_menu_peer_type_broadcast.py +1 -1
  1836. pyrogram/raw/types/attach_menu_peer_type_chat.py +1 -1
  1837. pyrogram/raw/types/attach_menu_peer_type_pm.py +1 -1
  1838. pyrogram/raw/types/attach_menu_peer_type_same_bot_pm.py +1 -1
  1839. pyrogram/raw/types/auction_bid_level.py +1 -1
  1840. pyrogram/raw/types/auth/__init__.py +1 -0
  1841. pyrogram/raw/types/auth/authorization.py +4 -2
  1842. pyrogram/raw/types/auth/authorization_sign_up_required.py +4 -2
  1843. pyrogram/raw/types/auth/code_type_call.py +1 -1
  1844. pyrogram/raw/types/auth/code_type_flash_call.py +1 -1
  1845. pyrogram/raw/types/auth/code_type_fragment_sms.py +1 -1
  1846. pyrogram/raw/types/auth/code_type_missed_call.py +1 -1
  1847. pyrogram/raw/types/auth/code_type_sms.py +1 -1
  1848. pyrogram/raw/types/auth/exported_authorization.py +1 -1
  1849. pyrogram/raw/types/auth/firebase_pnv_intent.py +91 -0
  1850. pyrogram/raw/types/auth/logged_out.py +1 -1
  1851. pyrogram/raw/types/auth/login_token.py +1 -1
  1852. pyrogram/raw/types/auth/login_token_migrate_to.py +1 -1
  1853. pyrogram/raw/types/auth/login_token_success.py +1 -1
  1854. pyrogram/raw/types/auth/passkey_login_options.py +1 -1
  1855. pyrogram/raw/types/auth/password_recovery.py +1 -1
  1856. pyrogram/raw/types/auth/sent_code.py +3 -2
  1857. pyrogram/raw/types/auth/sent_code_payment_required.py +3 -2
  1858. pyrogram/raw/types/auth/sent_code_success.py +3 -2
  1859. pyrogram/raw/types/auth/sent_code_type_app.py +1 -1
  1860. pyrogram/raw/types/auth/sent_code_type_call.py +1 -1
  1861. pyrogram/raw/types/auth/sent_code_type_email_code.py +1 -1
  1862. pyrogram/raw/types/auth/sent_code_type_firebase_sms.py +1 -1
  1863. pyrogram/raw/types/auth/sent_code_type_flash_call.py +1 -1
  1864. pyrogram/raw/types/auth/sent_code_type_fragment_sms.py +1 -1
  1865. pyrogram/raw/types/auth/sent_code_type_missed_call.py +1 -1
  1866. pyrogram/raw/types/auth/sent_code_type_set_up_email_required.py +1 -1
  1867. pyrogram/raw/types/auth/sent_code_type_sms.py +1 -1
  1868. pyrogram/raw/types/auth/sent_code_type_sms_phrase.py +1 -1
  1869. pyrogram/raw/types/auth/sent_code_type_sms_word.py +1 -1
  1870. pyrogram/raw/types/authorization.py +10 -4
  1871. pyrogram/raw/types/auto_download_settings.py +1 -1
  1872. pyrogram/raw/types/auto_save_exception.py +1 -1
  1873. pyrogram/raw/types/auto_save_settings.py +1 -1
  1874. pyrogram/raw/types/available_effect.py +1 -1
  1875. pyrogram/raw/types/available_reaction.py +1 -1
  1876. pyrogram/raw/types/bad_msg_notification.py +1 -1
  1877. pyrogram/raw/types/bad_server_salt.py +1 -1
  1878. pyrogram/raw/types/bank_card_open_url.py +1 -1
  1879. pyrogram/raw/types/base_theme_arctic.py +1 -1
  1880. pyrogram/raw/types/base_theme_classic.py +1 -1
  1881. pyrogram/raw/types/base_theme_day.py +1 -1
  1882. pyrogram/raw/types/base_theme_night.py +1 -1
  1883. pyrogram/raw/types/base_theme_tinted.py +1 -1
  1884. pyrogram/raw/types/bind_auth_key_inner.py +1 -1
  1885. pyrogram/raw/types/birthday.py +1 -1
  1886. pyrogram/raw/types/boost.py +1 -1
  1887. pyrogram/raw/types/bot_app.py +1 -1
  1888. pyrogram/raw/types/bot_app_not_modified.py +1 -1
  1889. pyrogram/raw/types/bot_app_settings.py +1 -1
  1890. pyrogram/raw/types/bot_business_connection.py +1 -1
  1891. pyrogram/raw/types/bot_command.py +1 -1
  1892. pyrogram/raw/types/bot_command_scope_chat_admins.py +1 -1
  1893. pyrogram/raw/types/bot_command_scope_chats.py +1 -1
  1894. pyrogram/raw/types/bot_command_scope_default.py +1 -1
  1895. pyrogram/raw/types/bot_command_scope_peer.py +1 -1
  1896. pyrogram/raw/types/bot_command_scope_peer_admins.py +1 -1
  1897. pyrogram/raw/types/bot_command_scope_peer_user.py +1 -1
  1898. pyrogram/raw/types/bot_command_scope_users.py +1 -1
  1899. pyrogram/raw/types/bot_info.py +1 -1
  1900. pyrogram/raw/types/bot_inline_media_result.py +1 -1
  1901. pyrogram/raw/types/bot_inline_message_media_auto.py +1 -1
  1902. pyrogram/raw/types/bot_inline_message_media_contact.py +1 -1
  1903. pyrogram/raw/types/bot_inline_message_media_geo.py +1 -1
  1904. pyrogram/raw/types/bot_inline_message_media_invoice.py +1 -1
  1905. pyrogram/raw/types/bot_inline_message_media_venue.py +1 -1
  1906. pyrogram/raw/types/bot_inline_message_media_web_page.py +1 -1
  1907. pyrogram/raw/types/bot_inline_message_rich_message.py +1 -1
  1908. pyrogram/raw/types/bot_inline_message_text.py +1 -1
  1909. pyrogram/raw/types/bot_inline_message_widget.py +162 -0
  1910. pyrogram/raw/types/bot_inline_result.py +1 -1
  1911. pyrogram/raw/types/bot_menu_button.py +1 -1
  1912. pyrogram/raw/types/bot_menu_button_commands.py +1 -1
  1913. pyrogram/raw/types/bot_menu_button_default.py +1 -1
  1914. pyrogram/raw/types/bot_preview_media.py +1 -1
  1915. pyrogram/raw/types/bot_profile_widget.py +115 -0
  1916. pyrogram/raw/types/bot_verification.py +8 -8
  1917. pyrogram/raw/types/bot_verifier_settings.py +9 -8
  1918. pyrogram/raw/types/bots/access_settings.py +1 -1
  1919. pyrogram/raw/types/bots/bot_info.py +1 -1
  1920. pyrogram/raw/types/bots/exported_bot_token.py +1 -1
  1921. pyrogram/raw/types/bots/popular_app_bots.py +1 -1
  1922. pyrogram/raw/types/bots/preview_info.py +1 -1
  1923. pyrogram/raw/types/bots/requested_button.py +1 -1
  1924. pyrogram/raw/types/business_away_message.py +1 -1
  1925. pyrogram/raw/types/business_away_message_schedule_always.py +1 -1
  1926. pyrogram/raw/types/business_away_message_schedule_custom.py +1 -1
  1927. pyrogram/raw/types/business_away_message_schedule_outside_work_hours.py +1 -1
  1928. pyrogram/raw/types/business_bot_recipients.py +1 -1
  1929. pyrogram/raw/types/business_bot_rights.py +1 -1
  1930. pyrogram/raw/types/business_chat_link.py +1 -1
  1931. pyrogram/raw/types/business_greeting_message.py +1 -1
  1932. pyrogram/raw/types/business_intro.py +1 -1
  1933. pyrogram/raw/types/business_location.py +1 -1
  1934. pyrogram/raw/types/business_recipients.py +1 -1
  1935. pyrogram/raw/types/business_weekly_open.py +1 -1
  1936. pyrogram/raw/types/business_work_hours.py +1 -1
  1937. pyrogram/raw/types/button_type_default.py +69 -0
  1938. pyrogram/raw/types/button_type_request_geo_location.py +69 -0
  1939. pyrogram/raw/types/button_type_request_peer.py +93 -0
  1940. pyrogram/raw/types/button_type_request_phone.py +69 -0
  1941. pyrogram/raw/types/{keyboard_button_request_poll.py → button_type_request_poll.py} +12 -39
  1942. pyrogram/raw/types/button_type_simple_web_view.py +74 -0
  1943. pyrogram/raw/types/cdn_config.py +1 -1
  1944. pyrogram/raw/types/cdn_public_key.py +1 -1
  1945. pyrogram/raw/types/channel.py +27 -6
  1946. pyrogram/raw/types/channel_admin_log_event.py +1 -1
  1947. pyrogram/raw/types/channel_admin_log_event_action_change_about.py +1 -1
  1948. pyrogram/raw/types/channel_admin_log_event_action_change_available_reactions.py +1 -1
  1949. pyrogram/raw/types/channel_admin_log_event_action_change_emoji_status.py +1 -1
  1950. pyrogram/raw/types/channel_admin_log_event_action_change_emoji_sticker_set.py +1 -1
  1951. pyrogram/raw/types/channel_admin_log_event_action_change_history_ttl.py +1 -1
  1952. pyrogram/raw/types/channel_admin_log_event_action_change_linked_chat.py +1 -1
  1953. pyrogram/raw/types/channel_admin_log_event_action_change_location.py +1 -1
  1954. pyrogram/raw/types/channel_admin_log_event_action_change_peer_color.py +1 -1
  1955. pyrogram/raw/types/channel_admin_log_event_action_change_photo.py +1 -1
  1956. pyrogram/raw/types/channel_admin_log_event_action_change_profile_peer_color.py +1 -1
  1957. pyrogram/raw/types/channel_admin_log_event_action_change_sticker_set.py +1 -1
  1958. pyrogram/raw/types/channel_admin_log_event_action_change_theme.py +82 -0
  1959. pyrogram/raw/types/channel_admin_log_event_action_change_title.py +1 -1
  1960. pyrogram/raw/types/channel_admin_log_event_action_change_username.py +1 -1
  1961. pyrogram/raw/types/channel_admin_log_event_action_change_usernames.py +1 -1
  1962. pyrogram/raw/types/channel_admin_log_event_action_change_wallpaper.py +1 -1
  1963. pyrogram/raw/types/channel_admin_log_event_action_create_topic.py +1 -1
  1964. pyrogram/raw/types/channel_admin_log_event_action_default_banned_rights.py +1 -1
  1965. pyrogram/raw/types/channel_admin_log_event_action_delete_message.py +1 -1
  1966. pyrogram/raw/types/channel_admin_log_event_action_delete_topic.py +1 -1
  1967. pyrogram/raw/types/channel_admin_log_event_action_discard_group_call.py +1 -1
  1968. pyrogram/raw/types/channel_admin_log_event_action_edit_message.py +1 -1
  1969. pyrogram/raw/types/channel_admin_log_event_action_edit_topic.py +1 -1
  1970. pyrogram/raw/types/channel_admin_log_event_action_exported_invite_delete.py +1 -1
  1971. pyrogram/raw/types/channel_admin_log_event_action_exported_invite_edit.py +1 -1
  1972. pyrogram/raw/types/channel_admin_log_event_action_exported_invite_revoke.py +1 -1
  1973. pyrogram/raw/types/channel_admin_log_event_action_participant_edit_rank.py +1 -1
  1974. pyrogram/raw/types/channel_admin_log_event_action_participant_invite.py +1 -1
  1975. pyrogram/raw/types/channel_admin_log_event_action_participant_join.py +1 -1
  1976. pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_invite.py +1 -1
  1977. pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_request.py +1 -1
  1978. pyrogram/raw/types/channel_admin_log_event_action_participant_leave.py +1 -1
  1979. pyrogram/raw/types/channel_admin_log_event_action_participant_mute.py +1 -1
  1980. pyrogram/raw/types/channel_admin_log_event_action_participant_sub_extend.py +1 -1
  1981. pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_admin.py +1 -1
  1982. pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_ban.py +1 -1
  1983. pyrogram/raw/types/channel_admin_log_event_action_participant_unmute.py +1 -1
  1984. pyrogram/raw/types/channel_admin_log_event_action_participant_volume.py +1 -1
  1985. pyrogram/raw/types/channel_admin_log_event_action_pin_topic.py +1 -1
  1986. pyrogram/raw/types/channel_admin_log_event_action_send_message.py +1 -1
  1987. pyrogram/raw/types/channel_admin_log_event_action_start_group_call.py +1 -1
  1988. pyrogram/raw/types/channel_admin_log_event_action_stop_poll.py +1 -1
  1989. pyrogram/raw/types/channel_admin_log_event_action_toggle_anti_spam.py +1 -1
  1990. pyrogram/raw/types/channel_admin_log_event_action_toggle_autotranslation.py +1 -1
  1991. pyrogram/raw/types/channel_admin_log_event_action_toggle_forum.py +1 -1
  1992. pyrogram/raw/types/channel_admin_log_event_action_toggle_group_call_setting.py +1 -1
  1993. pyrogram/raw/types/channel_admin_log_event_action_toggle_invites.py +1 -1
  1994. pyrogram/raw/types/channel_admin_log_event_action_toggle_no_forwards.py +1 -1
  1995. pyrogram/raw/types/channel_admin_log_event_action_toggle_pre_history_hidden.py +1 -1
  1996. pyrogram/raw/types/channel_admin_log_event_action_toggle_signature_profiles.py +1 -1
  1997. pyrogram/raw/types/channel_admin_log_event_action_toggle_signatures.py +1 -1
  1998. pyrogram/raw/types/channel_admin_log_event_action_toggle_slow_mode.py +1 -1
  1999. pyrogram/raw/types/channel_admin_log_event_action_update_pinned.py +1 -1
  2000. pyrogram/raw/types/channel_admin_log_events_filter.py +1 -1
  2001. pyrogram/raw/types/channel_forbidden.py +1 -1
  2002. pyrogram/raw/types/channel_full.py +22 -6
  2003. pyrogram/raw/types/channel_location.py +1 -1
  2004. pyrogram/raw/types/channel_location_empty.py +1 -1
  2005. pyrogram/raw/types/channel_messages_filter.py +1 -1
  2006. pyrogram/raw/types/channel_messages_filter_empty.py +1 -1
  2007. pyrogram/raw/types/channel_participant.py +1 -1
  2008. pyrogram/raw/types/channel_participant_admin.py +1 -1
  2009. pyrogram/raw/types/channel_participant_banned.py +1 -1
  2010. pyrogram/raw/types/channel_participant_creator.py +1 -1
  2011. pyrogram/raw/types/channel_participant_left.py +1 -1
  2012. pyrogram/raw/types/channel_participant_self.py +1 -1
  2013. pyrogram/raw/types/channel_participants_admins.py +1 -1
  2014. pyrogram/raw/types/channel_participants_banned.py +1 -1
  2015. pyrogram/raw/types/channel_participants_bots.py +1 -1
  2016. pyrogram/raw/types/channel_participants_contacts.py +1 -1
  2017. pyrogram/raw/types/channel_participants_kicked.py +1 -1
  2018. pyrogram/raw/types/channel_participants_mentions.py +1 -1
  2019. pyrogram/raw/types/channel_participants_recent.py +1 -1
  2020. pyrogram/raw/types/channel_participants_search.py +1 -1
  2021. pyrogram/raw/types/channels/admin_log_results.py +1 -1
  2022. pyrogram/raw/types/channels/channel_participant.py +1 -1
  2023. pyrogram/raw/types/channels/channel_participants.py +1 -1
  2024. pyrogram/raw/types/channels/channel_participants_not_modified.py +1 -1
  2025. pyrogram/raw/types/channels/send_as_peers.py +1 -1
  2026. pyrogram/raw/types/channels/sponsored_message_report_result_ads_hidden.py +1 -1
  2027. pyrogram/raw/types/channels/sponsored_message_report_result_choose_option.py +1 -1
  2028. pyrogram/raw/types/channels/sponsored_message_report_result_reported.py +1 -1
  2029. pyrogram/raw/types/chat.py +10 -4
  2030. pyrogram/raw/types/chat_admin_rights.py +10 -4
  2031. pyrogram/raw/types/chat_admin_with_invites.py +1 -1
  2032. pyrogram/raw/types/chat_banned_rights.py +1 -1
  2033. pyrogram/raw/types/chat_empty.py +1 -1
  2034. pyrogram/raw/types/chat_forbidden.py +1 -1
  2035. pyrogram/raw/types/chat_full.py +10 -4
  2036. pyrogram/raw/types/chat_invite.py +1 -1
  2037. pyrogram/raw/types/chat_invite_already.py +1 -1
  2038. pyrogram/raw/types/chat_invite_exported.py +1 -1
  2039. pyrogram/raw/types/chat_invite_importer.py +1 -1
  2040. pyrogram/raw/types/chat_invite_peek.py +1 -1
  2041. pyrogram/raw/types/chat_invite_public_join_requests.py +1 -1
  2042. pyrogram/raw/types/chat_onlines.py +1 -1
  2043. pyrogram/raw/types/chat_participant.py +1 -1
  2044. pyrogram/raw/types/chat_participant_admin.py +1 -1
  2045. pyrogram/raw/types/chat_participant_creator.py +1 -1
  2046. pyrogram/raw/types/chat_participants.py +1 -1
  2047. pyrogram/raw/types/chat_participants_forbidden.py +1 -1
  2048. pyrogram/raw/types/chat_photo.py +1 -1
  2049. pyrogram/raw/types/chat_photo_empty.py +1 -1
  2050. pyrogram/raw/types/chat_reactions_all.py +1 -1
  2051. pyrogram/raw/types/chat_reactions_none.py +1 -1
  2052. pyrogram/raw/types/chat_reactions_some.py +1 -1
  2053. pyrogram/raw/types/chat_theme.py +1 -1
  2054. pyrogram/raw/types/chat_theme_unique_gift.py +1 -1
  2055. pyrogram/raw/types/chatlists/chatlist_invite.py +1 -1
  2056. pyrogram/raw/types/chatlists/chatlist_invite_already.py +1 -1
  2057. pyrogram/raw/types/chatlists/chatlist_updates.py +1 -1
  2058. pyrogram/raw/types/chatlists/exported_chatlist_invite.py +1 -1
  2059. pyrogram/raw/types/chatlists/exported_invites.py +1 -1
  2060. pyrogram/raw/types/client_dh_inner_data.py +1 -1
  2061. pyrogram/raw/types/code_settings.py +1 -1
  2062. pyrogram/raw/types/communities/participant_joined_chats.py +2 -2
  2063. pyrogram/raw/types/communities/peer_link_requests.py +2 -2
  2064. pyrogram/raw/types/community.py +1 -1
  2065. pyrogram/raw/types/community_forbidden.py +1 -1
  2066. pyrogram/raw/types/community_full.py +16 -6
  2067. pyrogram/raw/types/community_peer.py +1 -1
  2068. pyrogram/raw/types/community_peer_request.py +1 -1
  2069. pyrogram/raw/types/config.py +10 -4
  2070. pyrogram/raw/types/connected_bot.py +1 -1
  2071. pyrogram/raw/types/connected_bot_star_ref.py +1 -1
  2072. pyrogram/raw/types/contact.py +1 -1
  2073. pyrogram/raw/types/contact_birthday.py +1 -1
  2074. pyrogram/raw/types/contact_status.py +1 -1
  2075. pyrogram/raw/types/contacts/blocked.py +1 -1
  2076. pyrogram/raw/types/contacts/blocked_slice.py +1 -1
  2077. pyrogram/raw/types/contacts/contact_birthdays.py +1 -1
  2078. pyrogram/raw/types/contacts/contacts.py +1 -1
  2079. pyrogram/raw/types/contacts/contacts_not_modified.py +1 -1
  2080. pyrogram/raw/types/contacts/found.py +1 -1
  2081. pyrogram/raw/types/contacts/imported_contacts.py +1 -1
  2082. pyrogram/raw/types/contacts/resolved_peer.py +1 -1
  2083. pyrogram/raw/types/contacts/sponsored_peers.py +1 -1
  2084. pyrogram/raw/types/contacts/sponsored_peers_empty.py +1 -1
  2085. pyrogram/raw/types/contacts/top_peers.py +1 -1
  2086. pyrogram/raw/types/contacts/top_peers_disabled.py +1 -1
  2087. pyrogram/raw/types/contacts/top_peers_not_modified.py +1 -1
  2088. pyrogram/raw/types/currency_rate.py +82 -0
  2089. pyrogram/raw/types/data_json.py +1 -1
  2090. pyrogram/raw/types/dc_option.py +1 -1
  2091. pyrogram/raw/types/default_history_ttl.py +1 -1
  2092. pyrogram/raw/types/destroy_auth_key_fail.py +1 -1
  2093. pyrogram/raw/types/destroy_auth_key_none.py +1 -1
  2094. pyrogram/raw/types/destroy_auth_key_ok.py +1 -1
  2095. pyrogram/raw/types/destroy_session_none.py +1 -1
  2096. pyrogram/raw/types/destroy_session_ok.py +1 -1
  2097. pyrogram/raw/types/dh_gen_fail.py +1 -1
  2098. pyrogram/raw/types/dh_gen_ok.py +1 -1
  2099. pyrogram/raw/types/dh_gen_retry.py +1 -1
  2100. pyrogram/raw/types/dialog.py +10 -4
  2101. pyrogram/raw/types/dialog_community.py +1 -1
  2102. pyrogram/raw/types/dialog_filter.py +1 -1
  2103. pyrogram/raw/types/dialog_filter_chatlist.py +1 -1
  2104. pyrogram/raw/types/dialog_filter_default.py +1 -1
  2105. pyrogram/raw/types/dialog_filter_suggested.py +1 -1
  2106. pyrogram/raw/types/dialog_folder.py +1 -1
  2107. pyrogram/raw/types/dialog_peer.py +1 -1
  2108. pyrogram/raw/types/dialog_peer_community.py +1 -1
  2109. pyrogram/raw/types/dialog_peer_folder.py +1 -1
  2110. pyrogram/raw/types/disallowed_gifts_settings.py +1 -1
  2111. pyrogram/raw/types/document.py +1 -1
  2112. pyrogram/raw/types/document_attribute_animated.py +1 -1
  2113. pyrogram/raw/types/document_attribute_audio.py +1 -1
  2114. pyrogram/raw/types/document_attribute_custom_emoji.py +1 -1
  2115. pyrogram/raw/types/document_attribute_filename.py +1 -1
  2116. pyrogram/raw/types/document_attribute_has_stickers.py +1 -1
  2117. pyrogram/raw/types/document_attribute_image_size.py +1 -1
  2118. pyrogram/raw/types/document_attribute_sticker.py +1 -1
  2119. pyrogram/raw/types/document_attribute_video.py +1 -1
  2120. pyrogram/raw/types/document_empty.py +1 -1
  2121. pyrogram/raw/types/draft_message.py +16 -6
  2122. pyrogram/raw/types/draft_message_empty.py +16 -6
  2123. pyrogram/raw/types/email_verification_apple.py +1 -1
  2124. pyrogram/raw/types/email_verification_code.py +1 -1
  2125. pyrogram/raw/types/email_verification_google.py +1 -1
  2126. pyrogram/raw/types/email_verify_purpose_login_change.py +1 -1
  2127. pyrogram/raw/types/email_verify_purpose_login_setup.py +1 -1
  2128. pyrogram/raw/types/email_verify_purpose_passport.py +1 -1
  2129. pyrogram/raw/types/emoji_group.py +1 -1
  2130. pyrogram/raw/types/emoji_group_greeting.py +1 -1
  2131. pyrogram/raw/types/emoji_group_premium.py +1 -1
  2132. pyrogram/raw/types/emoji_keyword.py +1 -1
  2133. pyrogram/raw/types/emoji_keyword_deleted.py +1 -1
  2134. pyrogram/raw/types/emoji_keywords_difference.py +1 -1
  2135. pyrogram/raw/types/emoji_language.py +1 -1
  2136. pyrogram/raw/types/emoji_list.py +1 -1
  2137. pyrogram/raw/types/emoji_list_not_modified.py +1 -1
  2138. pyrogram/raw/types/emoji_status.py +1 -1
  2139. pyrogram/raw/types/emoji_status_collectible.py +1 -1
  2140. pyrogram/raw/types/emoji_status_empty.py +1 -1
  2141. pyrogram/raw/types/emoji_url.py +1 -1
  2142. pyrogram/raw/types/encrypted_chat.py +1 -1
  2143. pyrogram/raw/types/encrypted_chat_discarded.py +1 -1
  2144. pyrogram/raw/types/encrypted_chat_empty.py +1 -1
  2145. pyrogram/raw/types/encrypted_chat_requested.py +1 -1
  2146. pyrogram/raw/types/encrypted_chat_waiting.py +1 -1
  2147. pyrogram/raw/types/encrypted_file.py +1 -1
  2148. pyrogram/raw/types/encrypted_file_empty.py +1 -1
  2149. pyrogram/raw/types/encrypted_message.py +1 -1
  2150. pyrogram/raw/types/encrypted_message_service.py +1 -1
  2151. pyrogram/raw/types/ephemeral/__init__.py +26 -0
  2152. pyrogram/raw/types/ephemeral/welcome_messages.py +91 -0
  2153. pyrogram/raw/types/ephemeral/welcome_messages_not_modified.py +78 -0
  2154. pyrogram/raw/types/ephemeral_message.py +60 -12
  2155. pyrogram/raw/types/exported_chatlist_invite.py +10 -5
  2156. pyrogram/raw/types/exported_contact_token.py +1 -1
  2157. pyrogram/raw/types/exported_message_link.py +1 -1
  2158. pyrogram/raw/types/{keyboard_button_url.py → exported_no_paid_messages_token.py} +26 -27
  2159. pyrogram/raw/types/exported_story_link.py +1 -1
  2160. pyrogram/raw/types/fact_check.py +1 -1
  2161. pyrogram/raw/types/feed/__init__.py +32 -0
  2162. pyrogram/raw/types/feed/feed_messages.py +139 -0
  2163. pyrogram/raw/types/feed/feed_messages_not_modified.py +83 -0
  2164. pyrogram/raw/types/{keyboard_button_copy.py → feed/for_you_feed.py} +36 -29
  2165. pyrogram/raw/types/feed/hidden_channel.py +82 -0
  2166. pyrogram/raw/types/feed/hidden_channels.py +115 -0
  2167. pyrogram/raw/types/feed/interest_categories.py +91 -0
  2168. pyrogram/raw/types/feed/interest_categories_not_modified.py +78 -0
  2169. pyrogram/raw/types/feed/interest_category.py +102 -0
  2170. pyrogram/raw/types/feed_item_interest_categories.py +69 -0
  2171. pyrogram/raw/types/feed_item_message.py +74 -0
  2172. pyrogram/raw/types/feed_item_message_group.py +74 -0
  2173. pyrogram/raw/types/feed_position.py +90 -0
  2174. pyrogram/raw/types/feed_settings.py +118 -0
  2175. pyrogram/raw/types/feed_sources_settings.py +84 -0
  2176. pyrogram/raw/types/file_hash.py +1 -1
  2177. pyrogram/raw/types/folder.py +1 -1
  2178. pyrogram/raw/types/folder_peer.py +1 -1
  2179. pyrogram/raw/types/forum_topic.py +1 -1
  2180. pyrogram/raw/types/forum_topic_deleted.py +1 -1
  2181. pyrogram/raw/types/found_story.py +1 -1
  2182. pyrogram/raw/types/fragment/collectible_info.py +1 -1
  2183. pyrogram/raw/types/game.py +1 -1
  2184. pyrogram/raw/types/geo_point.py +1 -1
  2185. pyrogram/raw/types/geo_point_address.py +1 -1
  2186. pyrogram/raw/types/geo_point_empty.py +1 -1
  2187. pyrogram/raw/types/global_privacy_settings.py +1 -1
  2188. pyrogram/raw/types/group_call.py +1 -1
  2189. pyrogram/raw/types/group_call_discarded.py +1 -1
  2190. pyrogram/raw/types/group_call_donor.py +10 -4
  2191. pyrogram/raw/types/group_call_message.py +1 -1
  2192. pyrogram/raw/types/group_call_participant.py +1 -1
  2193. pyrogram/raw/types/group_call_participant_video.py +1 -1
  2194. pyrogram/raw/types/group_call_participant_video_source_group.py +1 -1
  2195. pyrogram/raw/types/group_call_stream_channel.py +1 -1
  2196. pyrogram/raw/types/help/app_config.py +1 -1
  2197. pyrogram/raw/types/help/app_config_not_modified.py +1 -1
  2198. pyrogram/raw/types/help/app_update.py +1 -1
  2199. pyrogram/raw/types/help/config_simple.py +1 -1
  2200. pyrogram/raw/types/help/countries_list.py +1 -1
  2201. pyrogram/raw/types/help/countries_list_not_modified.py +1 -1
  2202. pyrogram/raw/types/help/country.py +1 -1
  2203. pyrogram/raw/types/help/country_code.py +1 -1
  2204. pyrogram/raw/types/help/deep_link_info.py +1 -1
  2205. pyrogram/raw/types/help/deep_link_info_empty.py +1 -1
  2206. pyrogram/raw/types/help/invite_text.py +1 -1
  2207. pyrogram/raw/types/help/no_app_update.py +1 -1
  2208. pyrogram/raw/types/help/passport_config.py +1 -1
  2209. pyrogram/raw/types/help/passport_config_not_modified.py +1 -1
  2210. pyrogram/raw/types/help/peer_color_option.py +1 -1
  2211. pyrogram/raw/types/help/peer_color_profile_set.py +1 -1
  2212. pyrogram/raw/types/help/peer_color_set.py +1 -1
  2213. pyrogram/raw/types/help/peer_colors.py +1 -1
  2214. pyrogram/raw/types/help/peer_colors_not_modified.py +1 -1
  2215. pyrogram/raw/types/help/premium_promo.py +1 -1
  2216. pyrogram/raw/types/help/promo_data.py +1 -1
  2217. pyrogram/raw/types/help/promo_data_empty.py +1 -1
  2218. pyrogram/raw/types/help/recent_me_urls.py +1 -1
  2219. pyrogram/raw/types/help/support.py +1 -1
  2220. pyrogram/raw/types/help/support_name.py +1 -1
  2221. pyrogram/raw/types/help/terms_of_service.py +1 -1
  2222. pyrogram/raw/types/help/terms_of_service_update.py +1 -1
  2223. pyrogram/raw/types/help/terms_of_service_update_empty.py +1 -1
  2224. pyrogram/raw/types/help/timezones_list.py +1 -1
  2225. pyrogram/raw/types/help/timezones_list_not_modified.py +1 -1
  2226. pyrogram/raw/types/help/user_info.py +1 -1
  2227. pyrogram/raw/types/help/user_info_empty.py +1 -1
  2228. pyrogram/raw/types/high_score.py +1 -1
  2229. pyrogram/raw/types/http_wait.py +1 -1
  2230. pyrogram/raw/types/imported_contact.py +1 -1
  2231. pyrogram/raw/types/inline_bot_switch_pm.py +1 -1
  2232. pyrogram/raw/types/inline_bot_web_view.py +1 -1
  2233. pyrogram/raw/types/inline_button_type_buy.py +69 -0
  2234. pyrogram/raw/types/inline_button_type_callback.py +82 -0
  2235. pyrogram/raw/types/inline_button_type_copy.py +74 -0
  2236. pyrogram/raw/types/inline_button_type_disabled.py +69 -0
  2237. pyrogram/raw/types/inline_button_type_game.py +69 -0
  2238. pyrogram/raw/types/{keyboard_button_switch_inline.py → inline_button_type_switch_inline.py} +14 -41
  2239. pyrogram/raw/types/inline_button_type_url.py +74 -0
  2240. pyrogram/raw/types/inline_button_type_url_auth.py +93 -0
  2241. pyrogram/raw/types/inline_button_type_user_profile.py +74 -0
  2242. pyrogram/raw/types/inline_button_type_web_view.py +74 -0
  2243. pyrogram/raw/types/inline_query_peer_type_bot_pm.py +1 -1
  2244. pyrogram/raw/types/inline_query_peer_type_broadcast.py +1 -1
  2245. pyrogram/raw/types/inline_query_peer_type_chat.py +1 -1
  2246. pyrogram/raw/types/inline_query_peer_type_megagroup.py +1 -1
  2247. pyrogram/raw/types/inline_query_peer_type_pm.py +1 -1
  2248. pyrogram/raw/types/inline_query_peer_type_same_bot_pm.py +1 -1
  2249. pyrogram/raw/types/input_ai_compose_style.py +99 -0
  2250. pyrogram/raw/types/input_ai_compose_tone_default.py +1 -1
  2251. pyrogram/raw/types/input_ai_compose_tone_id.py +1 -1
  2252. pyrogram/raw/types/input_ai_compose_tone_single_use.py +1 -1
  2253. pyrogram/raw/types/input_ai_compose_tone_slug.py +1 -1
  2254. pyrogram/raw/types/input_app_event.py +1 -1
  2255. pyrogram/raw/types/input_bot_app_id.py +1 -1
  2256. pyrogram/raw/types/input_bot_app_short_name.py +1 -1
  2257. pyrogram/raw/types/input_bot_inline_message_game.py +1 -1
  2258. pyrogram/raw/types/input_bot_inline_message_id.py +1 -1
  2259. pyrogram/raw/types/input_bot_inline_message_id64.py +1 -1
  2260. pyrogram/raw/types/input_bot_inline_message_media_auto.py +1 -1
  2261. pyrogram/raw/types/input_bot_inline_message_media_contact.py +1 -1
  2262. pyrogram/raw/types/input_bot_inline_message_media_geo.py +1 -1
  2263. pyrogram/raw/types/input_bot_inline_message_media_invoice.py +1 -1
  2264. pyrogram/raw/types/input_bot_inline_message_media_venue.py +1 -1
  2265. pyrogram/raw/types/input_bot_inline_message_media_web_page.py +1 -1
  2266. pyrogram/raw/types/input_bot_inline_message_rich_message.py +1 -1
  2267. pyrogram/raw/types/input_bot_inline_message_text.py +1 -1
  2268. pyrogram/raw/types/input_bot_inline_message_widget.py +156 -0
  2269. pyrogram/raw/types/input_bot_inline_message_widget_id.py +119 -0
  2270. pyrogram/raw/types/input_bot_inline_result.py +1 -1
  2271. pyrogram/raw/types/input_bot_inline_result_document.py +1 -1
  2272. pyrogram/raw/types/input_bot_inline_result_game.py +1 -1
  2273. pyrogram/raw/types/input_bot_inline_result_photo.py +1 -1
  2274. pyrogram/raw/types/input_business_away_message.py +1 -1
  2275. pyrogram/raw/types/input_business_bot_recipients.py +1 -1
  2276. pyrogram/raw/types/input_business_chat_link.py +1 -1
  2277. pyrogram/raw/types/input_business_greeting_message.py +1 -1
  2278. pyrogram/raw/types/input_business_intro.py +1 -1
  2279. pyrogram/raw/types/input_business_recipients.py +1 -1
  2280. pyrogram/raw/types/{input_keyboard_button_request_peer.py → input_button_type_request_peer.py} +17 -44
  2281. pyrogram/raw/types/input_channel.py +1 -1
  2282. pyrogram/raw/types/input_channel_empty.py +1 -1
  2283. pyrogram/raw/types/input_channel_from_message.py +1 -1
  2284. pyrogram/raw/types/input_chat_photo.py +1 -1
  2285. pyrogram/raw/types/input_chat_photo_empty.py +1 -1
  2286. pyrogram/raw/types/input_chat_theme.py +1 -1
  2287. pyrogram/raw/types/input_chat_theme_empty.py +1 -1
  2288. pyrogram/raw/types/input_chat_theme_unique_gift.py +1 -1
  2289. pyrogram/raw/types/input_chat_uploaded_photo.py +1 -1
  2290. pyrogram/raw/types/input_chatlist_dialog_filter.py +1 -1
  2291. pyrogram/raw/types/input_check_password_empty.py +1 -1
  2292. pyrogram/raw/types/input_check_password_srp.py +1 -1
  2293. pyrogram/raw/types/input_client_proxy.py +1 -1
  2294. pyrogram/raw/types/input_collectible_phone.py +1 -1
  2295. pyrogram/raw/types/input_collectible_username.py +1 -1
  2296. pyrogram/raw/types/input_dialog_peer.py +1 -1
  2297. pyrogram/raw/types/input_dialog_peer_community.py +1 -1
  2298. pyrogram/raw/types/input_dialog_peer_folder.py +1 -1
  2299. pyrogram/raw/types/input_document.py +1 -1
  2300. pyrogram/raw/types/input_document_empty.py +1 -1
  2301. pyrogram/raw/types/input_document_file_location.py +1 -1
  2302. pyrogram/raw/types/input_emoji_status_collectible.py +1 -1
  2303. pyrogram/raw/types/input_encrypted_chat.py +1 -1
  2304. pyrogram/raw/types/input_encrypted_file.py +1 -1
  2305. pyrogram/raw/types/input_encrypted_file_big_uploaded.py +1 -1
  2306. pyrogram/raw/types/input_encrypted_file_empty.py +1 -1
  2307. pyrogram/raw/types/input_encrypted_file_location.py +1 -1
  2308. pyrogram/raw/types/input_encrypted_file_uploaded.py +1 -1
  2309. pyrogram/raw/types/input_feed_event.py +163 -0
  2310. pyrogram/raw/types/input_feed_post.py +69 -0
  2311. pyrogram/raw/types/input_feed_post_text.py +69 -0
  2312. pyrogram/raw/types/input_file.py +1 -1
  2313. pyrogram/raw/types/input_file_big.py +1 -1
  2314. pyrogram/raw/types/input_file_location.py +1 -1
  2315. pyrogram/raw/types/input_file_story_document.py +1 -1
  2316. pyrogram/raw/types/input_folder_peer.py +1 -1
  2317. pyrogram/raw/types/input_game_id.py +1 -1
  2318. pyrogram/raw/types/input_game_short_name.py +1 -1
  2319. pyrogram/raw/types/input_geo_point.py +1 -1
  2320. pyrogram/raw/types/input_geo_point_empty.py +1 -1
  2321. pyrogram/raw/types/input_group_call.py +1 -1
  2322. pyrogram/raw/types/input_group_call_invite_message.py +1 -1
  2323. pyrogram/raw/types/input_group_call_slug.py +1 -1
  2324. pyrogram/raw/types/input_group_call_stream.py +1 -1
  2325. pyrogram/raw/types/{keyboard_button_simple_web_view.py → input_inline_button_type_url_auth.py} +33 -35
  2326. pyrogram/raw/types/input_inline_button_type_user_profile.py +74 -0
  2327. pyrogram/raw/types/input_invoice_business_bot_transfer_stars.py +1 -1
  2328. pyrogram/raw/types/input_invoice_chat_invite_subscription.py +1 -1
  2329. pyrogram/raw/types/input_invoice_message.py +1 -1
  2330. pyrogram/raw/types/input_invoice_premium_auth_code.py +1 -1
  2331. pyrogram/raw/types/input_invoice_premium_gift_code.py +1 -1
  2332. pyrogram/raw/types/input_invoice_premium_gift_stars.py +1 -1
  2333. pyrogram/raw/types/input_invoice_slug.py +1 -1
  2334. pyrogram/raw/types/input_invoice_star_gift.py +1 -1
  2335. pyrogram/raw/types/input_invoice_star_gift_auction_bid.py +1 -1
  2336. pyrogram/raw/types/input_invoice_star_gift_drop_original_details.py +1 -1
  2337. pyrogram/raw/types/input_invoice_star_gift_prepaid_upgrade.py +1 -1
  2338. pyrogram/raw/types/input_invoice_star_gift_resale.py +22 -6
  2339. pyrogram/raw/types/input_invoice_star_gift_transfer.py +1 -1
  2340. pyrogram/raw/types/input_invoice_star_gift_upgrade.py +1 -1
  2341. pyrogram/raw/types/input_invoice_stars.py +1 -1
  2342. pyrogram/raw/types/input_media_area_channel_post.py +1 -1
  2343. pyrogram/raw/types/input_media_area_venue.py +1 -1
  2344. pyrogram/raw/types/input_media_contact.py +1 -1
  2345. pyrogram/raw/types/input_media_dice.py +1 -1
  2346. pyrogram/raw/types/input_media_document.py +1 -1
  2347. pyrogram/raw/types/input_media_document_external.py +1 -1
  2348. pyrogram/raw/types/input_media_empty.py +1 -1
  2349. pyrogram/raw/types/input_media_game.py +1 -1
  2350. pyrogram/raw/types/input_media_geo_live.py +1 -1
  2351. pyrogram/raw/types/input_media_geo_point.py +1 -1
  2352. pyrogram/raw/types/input_media_invoice.py +1 -1
  2353. pyrogram/raw/types/input_media_paid_media.py +1 -1
  2354. pyrogram/raw/types/input_media_photo.py +1 -1
  2355. pyrogram/raw/types/input_media_photo_external.py +1 -1
  2356. pyrogram/raw/types/input_media_poll.py +1 -1
  2357. pyrogram/raw/types/input_media_stake_dice.py +1 -1
  2358. pyrogram/raw/types/input_media_story.py +1 -1
  2359. pyrogram/raw/types/input_media_todo.py +1 -1
  2360. pyrogram/raw/types/input_media_uploaded_document.py +10 -4
  2361. pyrogram/raw/types/input_media_uploaded_photo.py +1 -1
  2362. pyrogram/raw/types/input_media_venue.py +1 -1
  2363. pyrogram/raw/types/input_media_web_page.py +1 -1
  2364. pyrogram/raw/types/input_media_widget.py +122 -0
  2365. pyrogram/raw/types/input_media_widget_id.py +85 -0
  2366. pyrogram/raw/types/input_message_callback_query.py +1 -1
  2367. pyrogram/raw/types/input_message_entity_mention_name.py +1 -1
  2368. pyrogram/raw/types/input_message_id.py +1 -1
  2369. pyrogram/raw/types/input_message_pinned.py +1 -1
  2370. pyrogram/raw/types/input_message_read_metric.py +55 -8
  2371. pyrogram/raw/types/input_message_reply_to.py +1 -1
  2372. pyrogram/raw/types/input_messages_filter_chat_photos.py +1 -1
  2373. pyrogram/raw/types/input_messages_filter_contacts.py +1 -1
  2374. pyrogram/raw/types/input_messages_filter_document.py +1 -1
  2375. pyrogram/raw/types/input_messages_filter_empty.py +1 -1
  2376. pyrogram/raw/types/input_messages_filter_geo.py +1 -1
  2377. pyrogram/raw/types/input_messages_filter_gif.py +1 -1
  2378. pyrogram/raw/types/input_messages_filter_music.py +1 -1
  2379. pyrogram/raw/types/input_messages_filter_my_mentions.py +1 -1
  2380. pyrogram/raw/types/input_messages_filter_phone_calls.py +1 -1
  2381. pyrogram/raw/types/input_messages_filter_photo_video.py +1 -1
  2382. pyrogram/raw/types/input_messages_filter_photo_video_documents.py +69 -0
  2383. pyrogram/raw/types/input_messages_filter_photos.py +1 -1
  2384. pyrogram/raw/types/input_messages_filter_pinned.py +1 -1
  2385. pyrogram/raw/types/input_messages_filter_poll.py +1 -1
  2386. pyrogram/raw/types/input_messages_filter_round_video.py +1 -1
  2387. pyrogram/raw/types/input_messages_filter_round_voice.py +1 -1
  2388. pyrogram/raw/types/input_messages_filter_url.py +1 -1
  2389. pyrogram/raw/types/input_messages_filter_video.py +1 -1
  2390. pyrogram/raw/types/input_messages_filter_voice.py +1 -1
  2391. pyrogram/raw/types/input_notify_broadcasts.py +1 -1
  2392. pyrogram/raw/types/input_notify_chats.py +1 -1
  2393. pyrogram/raw/types/input_notify_community.py +1 -1
  2394. pyrogram/raw/types/input_notify_forum_topic.py +1 -1
  2395. pyrogram/raw/types/input_notify_peer.py +1 -1
  2396. pyrogram/raw/types/input_notify_users.py +1 -1
  2397. pyrogram/raw/types/input_page_block_map.py +1 -1
  2398. pyrogram/raw/types/input_passkey_credential_public_key.py +1 -1
  2399. pyrogram/raw/types/input_passkey_response_login.py +1 -1
  2400. pyrogram/raw/types/input_passkey_response_register.py +1 -1
  2401. pyrogram/raw/types/input_payment_credentials.py +1 -1
  2402. pyrogram/raw/types/input_payment_credentials_apple_pay.py +1 -1
  2403. pyrogram/raw/types/input_payment_credentials_google_pay.py +1 -1
  2404. pyrogram/raw/types/input_payment_credentials_saved.py +1 -1
  2405. pyrogram/raw/types/input_peer_channel.py +1 -1
  2406. pyrogram/raw/types/input_peer_channel_from_message.py +1 -1
  2407. pyrogram/raw/types/input_peer_chat.py +1 -1
  2408. pyrogram/raw/types/input_peer_color_collectible.py +1 -1
  2409. pyrogram/raw/types/input_peer_empty.py +1 -1
  2410. pyrogram/raw/types/input_peer_notify_settings.py +1 -1
  2411. pyrogram/raw/types/input_peer_photo_file_location.py +1 -1
  2412. pyrogram/raw/types/input_peer_self.py +1 -1
  2413. pyrogram/raw/types/input_peer_user.py +1 -1
  2414. pyrogram/raw/types/input_peer_user_from_message.py +1 -1
  2415. pyrogram/raw/types/input_phone_call.py +1 -1
  2416. pyrogram/raw/types/input_phone_contact.py +1 -1
  2417. pyrogram/raw/types/input_photo.py +1 -1
  2418. pyrogram/raw/types/input_photo_empty.py +1 -1
  2419. pyrogram/raw/types/input_photo_file_location.py +1 -1
  2420. pyrogram/raw/types/input_photo_legacy_file_location.py +1 -1
  2421. pyrogram/raw/types/input_poll_answer.py +1 -1
  2422. pyrogram/raw/types/input_privacy_key_about.py +1 -1
  2423. pyrogram/raw/types/input_privacy_key_added_by_phone.py +1 -1
  2424. pyrogram/raw/types/input_privacy_key_birthday.py +1 -1
  2425. pyrogram/raw/types/input_privacy_key_chat_invite.py +1 -1
  2426. pyrogram/raw/types/input_privacy_key_forwards.py +1 -1
  2427. pyrogram/raw/types/input_privacy_key_no_paid_messages.py +1 -1
  2428. pyrogram/raw/types/input_privacy_key_phone_call.py +1 -1
  2429. pyrogram/raw/types/input_privacy_key_phone_number.py +1 -1
  2430. pyrogram/raw/types/input_privacy_key_phone_p2_p.py +1 -1
  2431. pyrogram/raw/types/input_privacy_key_profile_photo.py +1 -1
  2432. pyrogram/raw/types/input_privacy_key_saved_music.py +1 -1
  2433. pyrogram/raw/types/input_privacy_key_star_gifts_auto_save.py +1 -1
  2434. pyrogram/raw/types/input_privacy_key_status_timestamp.py +1 -1
  2435. pyrogram/raw/types/input_privacy_key_voice_messages.py +1 -1
  2436. pyrogram/raw/types/input_privacy_value_allow_all.py +1 -1
  2437. pyrogram/raw/types/input_privacy_value_allow_bots.py +1 -1
  2438. pyrogram/raw/types/input_privacy_value_allow_chat_participants.py +1 -1
  2439. pyrogram/raw/types/input_privacy_value_allow_close_friends.py +1 -1
  2440. pyrogram/raw/types/input_privacy_value_allow_contacts.py +1 -1
  2441. pyrogram/raw/types/input_privacy_value_allow_premium.py +1 -1
  2442. pyrogram/raw/types/input_privacy_value_allow_users.py +1 -1
  2443. pyrogram/raw/types/input_privacy_value_disallow_all.py +1 -1
  2444. pyrogram/raw/types/input_privacy_value_disallow_bots.py +1 -1
  2445. pyrogram/raw/types/input_privacy_value_disallow_chat_participants.py +1 -1
  2446. pyrogram/raw/types/input_privacy_value_disallow_contacts.py +1 -1
  2447. pyrogram/raw/types/input_privacy_value_disallow_users.py +1 -1
  2448. pyrogram/raw/types/input_quick_reply_shortcut.py +1 -1
  2449. pyrogram/raw/types/input_quick_reply_shortcut_id.py +1 -1
  2450. pyrogram/raw/types/input_reply_to_ephemeral_message.py +1 -1
  2451. pyrogram/raw/types/input_reply_to_message.py +16 -6
  2452. pyrogram/raw/types/input_reply_to_mono_forum.py +1 -1
  2453. pyrogram/raw/types/input_reply_to_story.py +1 -1
  2454. pyrogram/raw/types/input_report_reason_child_abuse.py +1 -1
  2455. pyrogram/raw/types/input_report_reason_copyright.py +1 -1
  2456. pyrogram/raw/types/input_report_reason_fake.py +1 -1
  2457. pyrogram/raw/types/input_report_reason_geo_irrelevant.py +1 -1
  2458. pyrogram/raw/types/input_report_reason_illegal_drugs.py +1 -1
  2459. pyrogram/raw/types/input_report_reason_other.py +1 -1
  2460. pyrogram/raw/types/input_report_reason_personal_details.py +1 -1
  2461. pyrogram/raw/types/input_report_reason_pornography.py +1 -1
  2462. pyrogram/raw/types/input_report_reason_spam.py +1 -1
  2463. pyrogram/raw/types/input_report_reason_violence.py +1 -1
  2464. pyrogram/raw/types/input_rich_file_document.py +1 -1
  2465. pyrogram/raw/types/input_rich_file_photo.py +1 -1
  2466. pyrogram/raw/types/input_rich_message.py +1 -1
  2467. pyrogram/raw/types/input_rich_message_html.py +1 -1
  2468. pyrogram/raw/types/input_rich_message_markdown.py +1 -1
  2469. pyrogram/raw/types/input_saved_star_gift_chat.py +1 -1
  2470. pyrogram/raw/types/input_saved_star_gift_slug.py +1 -1
  2471. pyrogram/raw/types/input_saved_star_gift_user.py +1 -1
  2472. pyrogram/raw/types/input_secure_file.py +1 -1
  2473. pyrogram/raw/types/input_secure_file_location.py +1 -1
  2474. pyrogram/raw/types/input_secure_file_uploaded.py +1 -1
  2475. pyrogram/raw/types/input_secure_value.py +1 -1
  2476. pyrogram/raw/types/input_send_message_rich_message_draft_action.py +22 -8
  2477. pyrogram/raw/types/input_share_theme_gift.py +83 -0
  2478. pyrogram/raw/types/input_sim_bind_diagnostic_event.py +240 -0
  2479. pyrogram/raw/types/input_sim_bind_diagnostic_subscription.py +103 -0
  2480. pyrogram/raw/types/input_sim_info.py +101 -0
  2481. pyrogram/raw/types/input_single_media.py +1 -1
  2482. pyrogram/raw/types/input_star_gift_auction.py +1 -1
  2483. pyrogram/raw/types/input_star_gift_auction_slug.py +1 -1
  2484. pyrogram/raw/types/input_stars_transaction.py +1 -1
  2485. pyrogram/raw/types/input_sticker_set_animated_emoji.py +1 -1
  2486. pyrogram/raw/types/input_sticker_set_animated_emoji_animations.py +1 -1
  2487. pyrogram/raw/types/input_sticker_set_dice.py +1 -1
  2488. pyrogram/raw/types/input_sticker_set_emoji_channel_default_statuses.py +1 -1
  2489. pyrogram/raw/types/input_sticker_set_emoji_default_statuses.py +1 -1
  2490. pyrogram/raw/types/input_sticker_set_emoji_default_topic_icons.py +1 -1
  2491. pyrogram/raw/types/input_sticker_set_emoji_generic_animations.py +1 -1
  2492. pyrogram/raw/types/input_sticker_set_empty.py +1 -1
  2493. pyrogram/raw/types/input_sticker_set_id.py +1 -1
  2494. pyrogram/raw/types/input_sticker_set_item.py +1 -1
  2495. pyrogram/raw/types/input_sticker_set_premium_gifts.py +1 -1
  2496. pyrogram/raw/types/input_sticker_set_short_name.py +1 -1
  2497. pyrogram/raw/types/input_sticker_set_thumb.py +1 -1
  2498. pyrogram/raw/types/input_sticker_set_ton_gifts.py +1 -1
  2499. pyrogram/raw/types/input_stickered_media_document.py +1 -1
  2500. pyrogram/raw/types/input_stickered_media_photo.py +1 -1
  2501. pyrogram/raw/types/input_store_payment_auth_code.py +1 -1
  2502. pyrogram/raw/types/input_store_payment_gift_premium.py +1 -1
  2503. pyrogram/raw/types/input_store_payment_premium_gift_code.py +1 -1
  2504. pyrogram/raw/types/input_store_payment_premium_giveaway.py +1 -1
  2505. pyrogram/raw/types/input_store_payment_premium_subscription.py +1 -1
  2506. pyrogram/raw/types/input_store_payment_stars_gift.py +1 -1
  2507. pyrogram/raw/types/input_store_payment_stars_giveaway.py +1 -1
  2508. pyrogram/raw/types/input_store_payment_stars_topup.py +1 -1
  2509. pyrogram/raw/types/input_takeout_file_location.py +1 -1
  2510. pyrogram/raw/types/input_theme.py +1 -1
  2511. pyrogram/raw/types/input_theme_settings.py +1 -1
  2512. pyrogram/raw/types/input_theme_slug.py +1 -1
  2513. pyrogram/raw/types/input_ton_connect_oauth_session.py +98 -0
  2514. pyrogram/raw/types/input_user.py +1 -1
  2515. pyrogram/raw/types/input_user_empty.py +1 -1
  2516. pyrogram/raw/types/input_user_from_message.py +1 -1
  2517. pyrogram/raw/types/input_user_self.py +1 -1
  2518. pyrogram/raw/types/input_wall_paper.py +1 -1
  2519. pyrogram/raw/types/input_wall_paper_no_file.py +1 -1
  2520. pyrogram/raw/types/input_wall_paper_slug.py +1 -1
  2521. pyrogram/raw/types/input_wallet_card_sticker.py +82 -0
  2522. pyrogram/raw/types/input_wallet_imported.py +93 -0
  2523. pyrogram/raw/types/input_wallet_new.py +69 -0
  2524. pyrogram/raw/types/input_web_document.py +1 -1
  2525. pyrogram/raw/types/input_web_file_audio_album_thumb_location.py +1 -1
  2526. pyrogram/raw/types/input_web_file_geo_point_location.py +1 -1
  2527. pyrogram/raw/types/input_web_file_location.py +1 -1
  2528. pyrogram/raw/types/invoice.py +1 -1
  2529. pyrogram/raw/types/ip_port.py +1 -1
  2530. pyrogram/raw/types/ip_port_secret.py +1 -1
  2531. pyrogram/raw/types/join_chat_bot_result_approved.py +1 -1
  2532. pyrogram/raw/types/join_chat_bot_result_declined.py +1 -1
  2533. pyrogram/raw/types/join_chat_bot_result_queued.py +1 -1
  2534. pyrogram/raw/types/join_chat_bot_result_web_view.py +1 -1
  2535. pyrogram/raw/types/json_array.py +1 -1
  2536. pyrogram/raw/types/json_bool.py +1 -1
  2537. pyrogram/raw/types/json_null.py +1 -1
  2538. pyrogram/raw/types/json_number.py +1 -1
  2539. pyrogram/raw/types/json_object.py +1 -1
  2540. pyrogram/raw/types/json_object_value.py +1 -1
  2541. pyrogram/raw/types/json_string.py +1 -1
  2542. pyrogram/raw/types/keyboard_button.py +14 -6
  2543. pyrogram/raw/types/keyboard_button_row.py +1 -1
  2544. pyrogram/raw/types/keyboard_button_style.py +1 -1
  2545. pyrogram/raw/types/{keyboard_button_buy.py → keyboard_inline_button.py} +21 -22
  2546. pyrogram/raw/types/keyboard_inline_button_row.py +74 -0
  2547. pyrogram/raw/types/labeled_price.py +1 -1
  2548. pyrogram/raw/types/lang_pack_difference.py +1 -1
  2549. pyrogram/raw/types/lang_pack_language.py +1 -1
  2550. pyrogram/raw/types/lang_pack_string.py +1 -1
  2551. pyrogram/raw/types/lang_pack_string_deleted.py +1 -1
  2552. pyrogram/raw/types/lang_pack_string_pluralized.py +1 -1
  2553. pyrogram/raw/types/mask_coords.py +1 -1
  2554. pyrogram/raw/types/media_area_channel_post.py +1 -1
  2555. pyrogram/raw/types/media_area_coordinates.py +1 -1
  2556. pyrogram/raw/types/media_area_geo_point.py +1 -1
  2557. pyrogram/raw/types/media_area_star_gift.py +1 -1
  2558. pyrogram/raw/types/media_area_suggested_reaction.py +1 -1
  2559. pyrogram/raw/types/media_area_url.py +1 -1
  2560. pyrogram/raw/types/media_area_venue.py +1 -1
  2561. pyrogram/raw/types/media_area_weather.py +1 -1
  2562. pyrogram/raw/types/message.py +1 -1
  2563. pyrogram/raw/types/message_action_boost_apply.py +1 -1
  2564. pyrogram/raw/types/message_action_bot_allowed.py +1 -1
  2565. pyrogram/raw/types/message_action_bot_invite.py +74 -0
  2566. pyrogram/raw/types/message_action_change_community.py +1 -1
  2567. pyrogram/raw/types/message_action_change_creator.py +1 -1
  2568. pyrogram/raw/types/message_action_channel_create.py +1 -1
  2569. pyrogram/raw/types/message_action_channel_migrate_from.py +1 -1
  2570. pyrogram/raw/types/message_action_chat_add_user.py +1 -1
  2571. pyrogram/raw/types/message_action_chat_create.py +1 -1
  2572. pyrogram/raw/types/message_action_chat_delete_photo.py +1 -1
  2573. pyrogram/raw/types/message_action_chat_delete_user.py +1 -1
  2574. pyrogram/raw/types/message_action_chat_edit_photo.py +1 -1
  2575. pyrogram/raw/types/message_action_chat_edit_title.py +1 -1
  2576. pyrogram/raw/types/message_action_chat_joined_by_link.py +1 -1
  2577. pyrogram/raw/types/message_action_chat_joined_by_request.py +1 -1
  2578. pyrogram/raw/types/message_action_chat_joined_via_community.py +74 -0
  2579. pyrogram/raw/types/message_action_chat_migrate_to.py +1 -1
  2580. pyrogram/raw/types/message_action_conference_call.py +1 -1
  2581. pyrogram/raw/types/message_action_contact_sign_up.py +1 -1
  2582. pyrogram/raw/types/message_action_custom_action.py +1 -1
  2583. pyrogram/raw/types/message_action_empty.py +1 -1
  2584. pyrogram/raw/types/message_action_game_score.py +1 -1
  2585. pyrogram/raw/types/message_action_geo_proximity_reached.py +1 -1
  2586. pyrogram/raw/types/message_action_gift_code.py +1 -1
  2587. pyrogram/raw/types/message_action_gift_premium.py +1 -1
  2588. pyrogram/raw/types/message_action_gift_stars.py +1 -1
  2589. pyrogram/raw/types/message_action_gift_ton.py +1 -1
  2590. pyrogram/raw/types/message_action_giveaway_launch.py +1 -1
  2591. pyrogram/raw/types/message_action_giveaway_results.py +1 -1
  2592. pyrogram/raw/types/message_action_gram_transfer.py +116 -0
  2593. pyrogram/raw/types/message_action_group_call.py +1 -1
  2594. pyrogram/raw/types/message_action_group_call_scheduled.py +1 -1
  2595. pyrogram/raw/types/message_action_history_clear.py +1 -1
  2596. pyrogram/raw/types/message_action_invite_to_group_call.py +1 -1
  2597. pyrogram/raw/types/message_action_managed_bot_created.py +1 -1
  2598. pyrogram/raw/types/message_action_new_creator_pending.py +1 -1
  2599. pyrogram/raw/types/message_action_no_forwards_request.py +1 -1
  2600. pyrogram/raw/types/message_action_no_forwards_toggle.py +1 -1
  2601. pyrogram/raw/types/message_action_no_paid_messages_token_used.py +69 -0
  2602. pyrogram/raw/types/message_action_paid_messages_price.py +1 -1
  2603. pyrogram/raw/types/message_action_paid_messages_refunded.py +1 -1
  2604. pyrogram/raw/types/message_action_payment_refunded.py +1 -1
  2605. pyrogram/raw/types/message_action_payment_sent.py +1 -1
  2606. pyrogram/raw/types/message_action_payment_sent_me.py +1 -1
  2607. pyrogram/raw/types/message_action_phone_call.py +1 -1
  2608. pyrogram/raw/types/message_action_phone_number_request.py +69 -0
  2609. pyrogram/raw/types/message_action_pin_message.py +1 -1
  2610. pyrogram/raw/types/message_action_poll_append_answer.py +1 -1
  2611. pyrogram/raw/types/message_action_poll_delete_answer.py +1 -1
  2612. pyrogram/raw/types/message_action_prize_stars.py +1 -1
  2613. pyrogram/raw/types/message_action_requested_peer.py +1 -1
  2614. pyrogram/raw/types/message_action_requested_peer_sent_me.py +1 -1
  2615. pyrogram/raw/types/message_action_screenshot_taken.py +1 -1
  2616. pyrogram/raw/types/message_action_secure_values_sent.py +1 -1
  2617. pyrogram/raw/types/message_action_secure_values_sent_me.py +1 -1
  2618. pyrogram/raw/types/message_action_set_chat_theme.py +1 -1
  2619. pyrogram/raw/types/message_action_set_chat_wall_paper.py +1 -1
  2620. pyrogram/raw/types/message_action_set_messages_ttl.py +1 -1
  2621. pyrogram/raw/types/message_action_star_gift.py +10 -4
  2622. pyrogram/raw/types/message_action_star_gift_onchain_offer.py +176 -0
  2623. pyrogram/raw/types/message_action_star_gift_purchase_offer.py +1 -1
  2624. pyrogram/raw/types/message_action_star_gift_purchase_offer_declined.py +1 -1
  2625. pyrogram/raw/types/message_action_star_gift_unique.py +22 -6
  2626. pyrogram/raw/types/message_action_suggest_birthday.py +1 -1
  2627. pyrogram/raw/types/message_action_suggest_profile_photo.py +1 -1
  2628. pyrogram/raw/types/message_action_suggested_post_approval.py +1 -1
  2629. pyrogram/raw/types/message_action_suggested_post_refund.py +1 -1
  2630. pyrogram/raw/types/message_action_suggested_post_success.py +1 -1
  2631. pyrogram/raw/types/message_action_todo_append_tasks.py +1 -1
  2632. pyrogram/raw/types/message_action_todo_completions.py +1 -1
  2633. pyrogram/raw/types/message_action_topic_create.py +1 -1
  2634. pyrogram/raw/types/message_action_topic_edit.py +1 -1
  2635. pyrogram/raw/types/message_action_wallet_ton_connect_request.py +123 -0
  2636. pyrogram/raw/types/message_action_web_view_data_sent.py +1 -1
  2637. pyrogram/raw/types/message_action_web_view_data_sent_me.py +1 -1
  2638. pyrogram/raw/types/message_empty.py +1 -1
  2639. pyrogram/raw/types/message_entity_bank_card.py +1 -1
  2640. pyrogram/raw/types/message_entity_blockquote.py +1 -1
  2641. pyrogram/raw/types/message_entity_bold.py +1 -1
  2642. pyrogram/raw/types/message_entity_bot_command.py +1 -1
  2643. pyrogram/raw/types/message_entity_cashtag.py +1 -1
  2644. pyrogram/raw/types/message_entity_code.py +1 -1
  2645. pyrogram/raw/types/message_entity_custom_emoji.py +1 -1
  2646. pyrogram/raw/types/message_entity_diff_delete.py +1 -1
  2647. pyrogram/raw/types/message_entity_diff_insert.py +1 -1
  2648. pyrogram/raw/types/message_entity_diff_replace.py +1 -1
  2649. pyrogram/raw/types/message_entity_email.py +1 -1
  2650. pyrogram/raw/types/message_entity_formatted_date.py +1 -1
  2651. pyrogram/raw/types/message_entity_hashtag.py +1 -1
  2652. pyrogram/raw/types/message_entity_italic.py +1 -1
  2653. pyrogram/raw/types/message_entity_mention.py +1 -1
  2654. pyrogram/raw/types/message_entity_mention_name.py +1 -1
  2655. pyrogram/raw/types/message_entity_phone.py +1 -1
  2656. pyrogram/raw/types/message_entity_pre.py +1 -1
  2657. pyrogram/raw/types/message_entity_spoiler.py +1 -1
  2658. pyrogram/raw/types/message_entity_strike.py +1 -1
  2659. pyrogram/raw/types/message_entity_text_url.py +1 -1
  2660. pyrogram/raw/types/message_entity_ton_address.py +82 -0
  2661. pyrogram/raw/types/message_entity_underline.py +1 -1
  2662. pyrogram/raw/types/message_entity_unknown.py +1 -1
  2663. pyrogram/raw/types/message_entity_url.py +1 -1
  2664. pyrogram/raw/types/message_extended_media.py +1 -1
  2665. pyrogram/raw/types/message_extended_media_preview.py +1 -1
  2666. pyrogram/raw/types/message_fwd_header.py +1 -1
  2667. pyrogram/raw/types/message_media_contact.py +1 -1
  2668. pyrogram/raw/types/message_media_dice.py +1 -1
  2669. pyrogram/raw/types/message_media_document.py +10 -4
  2670. pyrogram/raw/types/message_media_empty.py +1 -1
  2671. pyrogram/raw/types/message_media_game.py +1 -1
  2672. pyrogram/raw/types/message_media_geo.py +1 -1
  2673. pyrogram/raw/types/message_media_geo_live.py +1 -1
  2674. pyrogram/raw/types/message_media_giveaway.py +1 -1
  2675. pyrogram/raw/types/message_media_giveaway_results.py +1 -1
  2676. pyrogram/raw/types/message_media_invoice.py +1 -1
  2677. pyrogram/raw/types/message_media_paid_media.py +1 -1
  2678. pyrogram/raw/types/message_media_photo.py +1 -1
  2679. pyrogram/raw/types/message_media_poll.py +1 -1
  2680. pyrogram/raw/types/message_media_story.py +1 -1
  2681. pyrogram/raw/types/message_media_to_do.py +1 -1
  2682. pyrogram/raw/types/message_media_unsupported.py +1 -1
  2683. pyrogram/raw/types/message_media_venue.py +1 -1
  2684. pyrogram/raw/types/message_media_video_stream.py +1 -1
  2685. pyrogram/raw/types/message_media_web_page.py +1 -1
  2686. pyrogram/raw/types/message_media_widget.py +156 -0
  2687. pyrogram/raw/types/message_peer_reaction.py +1 -1
  2688. pyrogram/raw/types/message_peer_vote.py +1 -1
  2689. pyrogram/raw/types/message_peer_vote_input_option.py +1 -1
  2690. pyrogram/raw/types/message_peer_vote_multiple.py +1 -1
  2691. pyrogram/raw/types/message_range.py +1 -1
  2692. pyrogram/raw/types/message_reactions.py +1 -1
  2693. pyrogram/raw/types/message_reactor.py +1 -1
  2694. pyrogram/raw/types/message_replies.py +1 -1
  2695. pyrogram/raw/types/message_reply_header.py +16 -6
  2696. pyrogram/raw/types/message_reply_story_header.py +1 -1
  2697. pyrogram/raw/types/message_report_option.py +1 -1
  2698. pyrogram/raw/types/message_service.py +1 -1
  2699. pyrogram/raw/types/message_views.py +1 -1
  2700. pyrogram/raw/types/messages/__init__.py +5 -0
  2701. pyrogram/raw/types/messages/affected_found_messages.py +1 -1
  2702. pyrogram/raw/types/messages/affected_history.py +1 -1
  2703. pyrogram/raw/types/messages/affected_messages.py +1 -1
  2704. pyrogram/raw/types/messages/all_stickers.py +1 -1
  2705. pyrogram/raw/types/messages/all_stickers_not_modified.py +1 -1
  2706. pyrogram/raw/types/messages/archived_stickers.py +1 -1
  2707. pyrogram/raw/types/messages/available_effects.py +1 -1
  2708. pyrogram/raw/types/messages/available_effects_not_modified.py +1 -1
  2709. pyrogram/raw/types/messages/available_reactions.py +1 -1
  2710. pyrogram/raw/types/messages/available_reactions_not_modified.py +1 -1
  2711. pyrogram/raw/types/messages/bot_app.py +1 -1
  2712. pyrogram/raw/types/messages/bot_callback_answer.py +1 -1
  2713. pyrogram/raw/types/messages/bot_prepared_inline_message.py +1 -1
  2714. pyrogram/raw/types/messages/bot_results.py +1 -1
  2715. pyrogram/raw/types/messages/bot_widget_query_answer.py +87 -0
  2716. pyrogram/raw/types/messages/channel_messages.py +1 -1
  2717. pyrogram/raw/types/messages/chat_admins_with_invites.py +1 -1
  2718. pyrogram/raw/types/messages/chat_full.py +1 -1
  2719. pyrogram/raw/types/messages/chat_invite_importers.py +1 -1
  2720. pyrogram/raw/types/messages/chat_invite_join_result_ok.py +1 -1
  2721. pyrogram/raw/types/messages/chat_invite_join_result_web_view.py +1 -1
  2722. pyrogram/raw/types/messages/chats.py +3 -2
  2723. pyrogram/raw/types/messages/chats_slice.py +3 -2
  2724. pyrogram/raw/types/messages/checked_history_import_peer.py +1 -1
  2725. pyrogram/raw/types/messages/composed_message_with_ai.py +1 -1
  2726. pyrogram/raw/types/messages/composed_rich_message_with_ai.py +2 -2
  2727. pyrogram/raw/types/messages/dh_config.py +1 -1
  2728. pyrogram/raw/types/messages/dh_config_not_modified.py +1 -1
  2729. pyrogram/raw/types/messages/dialog_filters.py +1 -1
  2730. pyrogram/raw/types/messages/dialogs.py +20 -8
  2731. pyrogram/raw/types/messages/dialogs_not_modified.py +1 -1
  2732. pyrogram/raw/types/messages/dialogs_slice.py +20 -8
  2733. pyrogram/raw/types/messages/discussion_message.py +1 -1
  2734. pyrogram/raw/types/messages/emoji_game_dice_info.py +1 -1
  2735. pyrogram/raw/types/messages/emoji_game_outcome.py +1 -1
  2736. pyrogram/raw/types/messages/emoji_game_unavailable.py +1 -1
  2737. pyrogram/raw/types/messages/emoji_groups.py +1 -1
  2738. pyrogram/raw/types/messages/emoji_groups_not_modified.py +1 -1
  2739. pyrogram/raw/types/messages/exported_chat_invite.py +1 -1
  2740. pyrogram/raw/types/messages/exported_chat_invite_replaced.py +1 -1
  2741. pyrogram/raw/types/messages/exported_chat_invites.py +1 -1
  2742. pyrogram/raw/types/messages/faved_stickers.py +1 -1
  2743. pyrogram/raw/types/messages/faved_stickers_not_modified.py +1 -1
  2744. pyrogram/raw/types/messages/featured_stickers.py +1 -1
  2745. pyrogram/raw/types/messages/featured_stickers_not_modified.py +1 -1
  2746. pyrogram/raw/types/messages/forum_topics.py +16 -6
  2747. pyrogram/raw/types/messages/found_sticker_sets.py +1 -1
  2748. pyrogram/raw/types/messages/found_sticker_sets_not_modified.py +1 -1
  2749. pyrogram/raw/types/messages/found_stickers.py +1 -1
  2750. pyrogram/raw/types/messages/found_stickers_not_modified.py +1 -1
  2751. pyrogram/raw/types/messages/high_scores.py +1 -1
  2752. pyrogram/raw/types/messages/history_import.py +1 -1
  2753. pyrogram/raw/types/messages/history_import_parsed.py +1 -1
  2754. pyrogram/raw/types/messages/inactive_chats.py +1 -1
  2755. pyrogram/raw/types/messages/invited_users.py +1 -1
  2756. pyrogram/raw/types/messages/message_edit_data.py +1 -1
  2757. pyrogram/raw/types/messages/message_empty.py +69 -0
  2758. pyrogram/raw/types/messages/message_reactions_list.py +1 -1
  2759. pyrogram/raw/types/messages/message_views.py +1 -1
  2760. pyrogram/raw/types/messages/messages.py +1 -1
  2761. pyrogram/raw/types/messages/messages_not_modified.py +1 -1
  2762. pyrogram/raw/types/messages/messages_slice.py +1 -1
  2763. pyrogram/raw/types/messages/my_stickers.py +1 -1
  2764. pyrogram/raw/types/messages/peer_dialogs.py +20 -8
  2765. pyrogram/raw/types/messages/peer_settings.py +1 -1
  2766. pyrogram/raw/types/messages/prepared_inline_message.py +1 -1
  2767. pyrogram/raw/types/messages/quick_replies.py +1 -1
  2768. pyrogram/raw/types/messages/quick_replies_not_modified.py +1 -1
  2769. pyrogram/raw/types/messages/reactions.py +1 -1
  2770. pyrogram/raw/types/messages/reactions_not_modified.py +1 -1
  2771. pyrogram/raw/types/messages/recent_stickers.py +1 -1
  2772. pyrogram/raw/types/messages/recent_stickers_not_modified.py +1 -1
  2773. pyrogram/raw/types/messages/saved_dialogs.py +1 -1
  2774. pyrogram/raw/types/messages/saved_dialogs_not_modified.py +1 -1
  2775. pyrogram/raw/types/messages/saved_dialogs_slice.py +1 -1
  2776. pyrogram/raw/types/messages/saved_gifs.py +1 -1
  2777. pyrogram/raw/types/messages/saved_gifs_not_modified.py +1 -1
  2778. pyrogram/raw/types/messages/saved_reaction_tags.py +1 -1
  2779. pyrogram/raw/types/messages/saved_reaction_tags_not_modified.py +1 -1
  2780. pyrogram/raw/types/messages/search_counter.py +1 -1
  2781. pyrogram/raw/types/messages/search_results_calendar.py +1 -1
  2782. pyrogram/raw/types/messages/search_results_positions.py +1 -1
  2783. pyrogram/raw/types/messages/sent_encrypted_file.py +1 -1
  2784. pyrogram/raw/types/messages/sent_encrypted_message.py +1 -1
  2785. pyrogram/raw/types/messages/sponsored_messages.py +17 -7
  2786. pyrogram/raw/types/messages/sponsored_messages_empty.py +3 -2
  2787. pyrogram/raw/types/messages/sticker_set.py +1 -1
  2788. pyrogram/raw/types/messages/sticker_set_install_result_archive.py +1 -1
  2789. pyrogram/raw/types/messages/sticker_set_install_result_success.py +1 -1
  2790. pyrogram/raw/types/messages/sticker_set_not_modified.py +1 -1
  2791. pyrogram/raw/types/messages/stickers.py +1 -1
  2792. pyrogram/raw/types/messages/stickers_not_modified.py +1 -1
  2793. pyrogram/raw/types/messages/transcribed_audio.py +3 -2
  2794. pyrogram/raw/types/messages/translate_result.py +3 -2
  2795. pyrogram/raw/types/messages/translated_rich_message.py +2 -2
  2796. pyrogram/raw/types/messages/votes_list.py +1 -1
  2797. pyrogram/raw/types/messages/web_page.py +1 -1
  2798. pyrogram/raw/types/messages/web_page_preview.py +1 -1
  2799. pyrogram/raw/types/messages/web_view_result.py +91 -0
  2800. pyrogram/raw/types/messages/widget_public_data.py +100 -0
  2801. pyrogram/raw/types/messages/widget_public_data_not_modified.py +84 -0
  2802. pyrogram/raw/types/missing_invitee.py +1 -1
  2803. pyrogram/raw/types/mnemonic/__init__.py +25 -0
  2804. pyrogram/raw/types/mnemonic/decrypted_key_part.py +74 -0
  2805. pyrogram/raw/types/mono_forum_dialog.py +1 -1
  2806. pyrogram/raw/types/msg_detailed_info.py +1 -1
  2807. pyrogram/raw/types/msg_new_detailed_info.py +1 -1
  2808. pyrogram/raw/types/msg_resend_ans_req.py +1 -1
  2809. pyrogram/raw/types/msg_resend_req.py +1 -1
  2810. pyrogram/raw/types/msgs_ack.py +1 -1
  2811. pyrogram/raw/types/msgs_all_info.py +1 -1
  2812. pyrogram/raw/types/msgs_state_info.py +1 -1
  2813. pyrogram/raw/types/msgs_state_req.py +1 -1
  2814. pyrogram/raw/types/my_boost.py +1 -1
  2815. pyrogram/raw/types/nearest_dc.py +1 -1
  2816. pyrogram/raw/types/new_session_created.py +1 -1
  2817. pyrogram/raw/types/notification_sound_default.py +1 -1
  2818. pyrogram/raw/types/notification_sound_local.py +1 -1
  2819. pyrogram/raw/types/notification_sound_none.py +1 -1
  2820. pyrogram/raw/types/notification_sound_ringtone.py +1 -1
  2821. pyrogram/raw/types/notify_broadcasts.py +1 -1
  2822. pyrogram/raw/types/notify_chats.py +1 -1
  2823. pyrogram/raw/types/notify_community.py +1 -1
  2824. pyrogram/raw/types/notify_forum_topic.py +1 -1
  2825. pyrogram/raw/types/notify_peer.py +1 -1
  2826. pyrogram/raw/types/notify_users.py +1 -1
  2827. pyrogram/raw/types/onramp_availability.py +114 -0
  2828. pyrogram/raw/types/onramp_limits.py +123 -0
  2829. pyrogram/raw/types/onramp_method_availability.py +82 -0
  2830. pyrogram/raw/types/onramp_provider_info.py +119 -0
  2831. pyrogram/raw/types/onramp_quote.py +163 -0
  2832. pyrogram/raw/types/{keyboard_button_web_view.py → onramp_session.py} +33 -29
  2833. pyrogram/raw/types/outbox_read_date.py +1 -1
  2834. pyrogram/raw/types/page.py +1 -1
  2835. pyrogram/raw/types/page_block_anchor.py +1 -1
  2836. pyrogram/raw/types/page_block_audio.py +1 -1
  2837. pyrogram/raw/types/page_block_author_date.py +1 -1
  2838. pyrogram/raw/types/page_block_blockquote.py +16 -8
  2839. pyrogram/raw/types/page_block_blockquote_blocks.py +16 -8
  2840. pyrogram/raw/types/page_block_button_row.py +94 -0
  2841. pyrogram/raw/types/page_block_channel.py +1 -1
  2842. pyrogram/raw/types/page_block_collage.py +1 -1
  2843. pyrogram/raw/types/page_block_cover.py +1 -1
  2844. pyrogram/raw/types/page_block_details.py +1 -1
  2845. pyrogram/raw/types/page_block_divider.py +1 -1
  2846. pyrogram/raw/types/page_block_document.py +82 -0
  2847. pyrogram/raw/types/page_block_embed.py +1 -1
  2848. pyrogram/raw/types/page_block_embed_post.py +1 -1
  2849. pyrogram/raw/types/page_block_footer.py +1 -1
  2850. pyrogram/raw/types/page_block_group.py +91 -0
  2851. pyrogram/raw/types/page_block_header.py +1 -1
  2852. pyrogram/raw/types/page_block_heading1.py +1 -1
  2853. pyrogram/raw/types/page_block_heading2.py +1 -1
  2854. pyrogram/raw/types/page_block_heading3.py +1 -1
  2855. pyrogram/raw/types/page_block_heading4.py +1 -1
  2856. pyrogram/raw/types/page_block_heading5.py +1 -1
  2857. pyrogram/raw/types/page_block_heading6.py +1 -1
  2858. pyrogram/raw/types/page_block_kicker.py +1 -1
  2859. pyrogram/raw/types/page_block_list.py +1 -1
  2860. pyrogram/raw/types/page_block_map.py +1 -1
  2861. pyrogram/raw/types/page_block_math.py +1 -1
  2862. pyrogram/raw/types/page_block_ordered_list.py +1 -1
  2863. pyrogram/raw/types/page_block_paragraph.py +1 -1
  2864. pyrogram/raw/types/page_block_photo.py +1 -1
  2865. pyrogram/raw/types/page_block_preformatted.py +1 -1
  2866. pyrogram/raw/types/page_block_pullquote.py +1 -1
  2867. pyrogram/raw/types/page_block_related_articles.py +1 -1
  2868. pyrogram/raw/types/page_block_slideshow.py +1 -1
  2869. pyrogram/raw/types/page_block_subheader.py +1 -1
  2870. pyrogram/raw/types/page_block_subtitle.py +1 -1
  2871. pyrogram/raw/types/page_block_table.py +10 -4
  2872. pyrogram/raw/types/page_block_thinking.py +1 -1
  2873. pyrogram/raw/types/page_block_title.py +1 -1
  2874. pyrogram/raw/types/page_block_unsupported.py +1 -1
  2875. pyrogram/raw/types/page_block_video.py +1 -1
  2876. pyrogram/raw/types/page_button.py +94 -0
  2877. pyrogram/raw/types/page_caption.py +1 -1
  2878. pyrogram/raw/types/page_list_item_blocks.py +1 -1
  2879. pyrogram/raw/types/page_list_item_text.py +1 -1
  2880. pyrogram/raw/types/page_list_ordered_item_blocks.py +1 -1
  2881. pyrogram/raw/types/page_list_ordered_item_text.py +1 -1
  2882. pyrogram/raw/types/page_related_article.py +1 -1
  2883. pyrogram/raw/types/page_table_cell.py +1 -1
  2884. pyrogram/raw/types/page_table_row.py +1 -1
  2885. pyrogram/raw/types/paid_reaction_privacy_anonymous.py +1 -1
  2886. pyrogram/raw/types/paid_reaction_privacy_default.py +1 -1
  2887. pyrogram/raw/types/paid_reaction_privacy_peer.py +1 -1
  2888. pyrogram/raw/types/passkey.py +1 -1
  2889. pyrogram/raw/types/password_kdf_algo_sha256_sha256_pbkdf2_hmacsha512iter100000_sha256_mod_pow.py +1 -1
  2890. pyrogram/raw/types/password_kdf_algo_unknown.py +1 -1
  2891. pyrogram/raw/types/payment_charge.py +1 -1
  2892. pyrogram/raw/types/payment_form_method.py +1 -1
  2893. pyrogram/raw/types/payment_requested_info.py +1 -1
  2894. pyrogram/raw/types/payment_saved_credentials_card.py +1 -1
  2895. pyrogram/raw/types/payments/__init__.py +7 -0
  2896. pyrogram/raw/types/payments/bank_card_data.py +1 -1
  2897. pyrogram/raw/types/payments/check_can_send_gift_result_fail.py +1 -1
  2898. pyrogram/raw/types/payments/check_can_send_gift_result_ok.py +1 -1
  2899. pyrogram/raw/types/payments/checked_gift_code.py +1 -1
  2900. pyrogram/raw/types/payments/connected_star_ref_bots.py +1 -1
  2901. pyrogram/raw/types/payments/currency_rates.py +83 -0
  2902. pyrogram/raw/types/payments/exported_invoice.py +1 -1
  2903. pyrogram/raw/types/payments/giveaway_info.py +1 -1
  2904. pyrogram/raw/types/payments/giveaway_info_results.py +1 -1
  2905. pyrogram/raw/types/payments/payment_form.py +1 -1
  2906. pyrogram/raw/types/payments/payment_form_star_gift.py +1 -1
  2907. pyrogram/raw/types/payments/payment_form_stars.py +16 -4
  2908. pyrogram/raw/types/payments/payment_receipt.py +1 -1
  2909. pyrogram/raw/types/payments/payment_receipt_stars.py +1 -1
  2910. pyrogram/raw/types/payments/payment_result.py +1 -1
  2911. pyrogram/raw/types/payments/payment_verification_needed.py +1 -1
  2912. pyrogram/raw/types/payments/resale_star_gifts.py +3 -2
  2913. pyrogram/raw/types/payments/saved_info.py +1 -1
  2914. pyrogram/raw/types/payments/saved_star_gifts.py +1 -1
  2915. pyrogram/raw/types/payments/star_gift_active_auctions.py +1 -1
  2916. pyrogram/raw/types/payments/star_gift_active_auctions_not_modified.py +1 -1
  2917. pyrogram/raw/types/payments/star_gift_auction_acquired_gifts.py +1 -1
  2918. pyrogram/raw/types/payments/star_gift_auction_state.py +1 -1
  2919. pyrogram/raw/types/payments/star_gift_collections.py +1 -1
  2920. pyrogram/raw/types/payments/star_gift_collections_not_modified.py +1 -1
  2921. pyrogram/raw/types/payments/star_gift_deposit_payload.py +99 -0
  2922. pyrogram/raw/types/payments/star_gift_onchain_fixed_sale_payload.py +105 -0
  2923. pyrogram/raw/types/payments/star_gift_onchain_offer_tx.py +157 -0
  2924. pyrogram/raw/types/payments/star_gift_onchain_offer_tx_init_state.py +82 -0
  2925. pyrogram/raw/types/payments/star_gift_onchain_offer_tx_message.py +110 -0
  2926. pyrogram/raw/types/payments/star_gift_onchain_sale_payload.py +109 -0
  2927. pyrogram/raw/types/payments/star_gift_upgrade_attributes.py +1 -1
  2928. pyrogram/raw/types/payments/star_gift_upgrade_preview.py +1 -1
  2929. pyrogram/raw/types/payments/star_gift_withdrawal_url.py +1 -1
  2930. pyrogram/raw/types/payments/star_gifts.py +1 -1
  2931. pyrogram/raw/types/payments/star_gifts_not_modified.py +1 -1
  2932. pyrogram/raw/types/payments/stars_revenue_ads_account_url.py +1 -1
  2933. pyrogram/raw/types/payments/stars_revenue_stats.py +1 -1
  2934. pyrogram/raw/types/payments/stars_revenue_withdrawal_url.py +1 -1
  2935. pyrogram/raw/types/payments/stars_status.py +1 -1
  2936. pyrogram/raw/types/payments/suggested_star_ref_bots.py +1 -1
  2937. pyrogram/raw/types/payments/unique_star_gift.py +1 -1
  2938. pyrogram/raw/types/payments/unique_star_gift_value_info.py +1 -1
  2939. pyrogram/raw/types/payments/validated_requested_info.py +1 -1
  2940. pyrogram/raw/types/peer_blocked.py +1 -1
  2941. pyrogram/raw/types/peer_channel.py +1 -1
  2942. pyrogram/raw/types/peer_chat.py +1 -1
  2943. pyrogram/raw/types/peer_color.py +1 -1
  2944. pyrogram/raw/types/peer_color_collectible.py +1 -1
  2945. pyrogram/raw/types/peer_located.py +1 -1
  2946. pyrogram/raw/types/peer_notify_settings.py +1 -1
  2947. pyrogram/raw/types/peer_self_located.py +1 -1
  2948. pyrogram/raw/types/peer_settings.py +30 -6
  2949. pyrogram/raw/types/peer_stories.py +1 -1
  2950. pyrogram/raw/types/peer_user.py +1 -1
  2951. pyrogram/raw/types/pending_suggestion.py +1 -1
  2952. pyrogram/raw/types/phone/exported_group_call_invite.py +1 -1
  2953. pyrogram/raw/types/phone/group_call.py +1 -1
  2954. pyrogram/raw/types/phone/group_call_stars.py +1 -1
  2955. pyrogram/raw/types/phone/group_call_stream_channels.py +1 -1
  2956. pyrogram/raw/types/phone/group_call_stream_rtmp_url.py +1 -1
  2957. pyrogram/raw/types/phone/group_participants.py +1 -1
  2958. pyrogram/raw/types/phone/join_as_peers.py +1 -1
  2959. pyrogram/raw/types/phone/phone_call.py +1 -1
  2960. pyrogram/raw/types/phone_call.py +1 -1
  2961. pyrogram/raw/types/phone_call_accepted.py +1 -1
  2962. pyrogram/raw/types/phone_call_discard_reason_busy.py +1 -1
  2963. pyrogram/raw/types/phone_call_discard_reason_disconnect.py +1 -1
  2964. pyrogram/raw/types/phone_call_discard_reason_hangup.py +1 -1
  2965. pyrogram/raw/types/phone_call_discard_reason_migrate_conference_call.py +1 -1
  2966. pyrogram/raw/types/phone_call_discard_reason_missed.py +1 -1
  2967. pyrogram/raw/types/phone_call_discarded.py +1 -1
  2968. pyrogram/raw/types/phone_call_empty.py +1 -1
  2969. pyrogram/raw/types/phone_call_protocol.py +1 -1
  2970. pyrogram/raw/types/phone_call_requested.py +1 -1
  2971. pyrogram/raw/types/phone_call_waiting.py +1 -1
  2972. pyrogram/raw/types/phone_connection.py +1 -1
  2973. pyrogram/raw/types/phone_connection_webrtc.py +1 -1
  2974. pyrogram/raw/types/photo.py +1 -1
  2975. pyrogram/raw/types/photo_cached_size.py +1 -1
  2976. pyrogram/raw/types/photo_empty.py +1 -1
  2977. pyrogram/raw/types/photo_path_size.py +1 -1
  2978. pyrogram/raw/types/photo_size.py +1 -1
  2979. pyrogram/raw/types/photo_size_empty.py +1 -1
  2980. pyrogram/raw/types/photo_size_progressive.py +1 -1
  2981. pyrogram/raw/types/photo_stripped_size.py +1 -1
  2982. pyrogram/raw/types/photos/photo.py +1 -1
  2983. pyrogram/raw/types/photos/photos.py +1 -1
  2984. pyrogram/raw/types/photos/photos_slice.py +1 -1
  2985. pyrogram/raw/types/poll.py +1 -1
  2986. pyrogram/raw/types/poll_answer.py +1 -1
  2987. pyrogram/raw/types/poll_answer_voters.py +1 -1
  2988. pyrogram/raw/types/poll_results.py +1 -1
  2989. pyrogram/raw/types/pong.py +1 -1
  2990. pyrogram/raw/types/popular_contact.py +1 -1
  2991. pyrogram/raw/types/post_address.py +1 -1
  2992. pyrogram/raw/types/post_interaction_counters_message.py +1 -1
  2993. pyrogram/raw/types/post_interaction_counters_story.py +1 -1
  2994. pyrogram/raw/types/pq_inner_data.py +1 -1
  2995. pyrogram/raw/types/pq_inner_data_dc.py +1 -1
  2996. pyrogram/raw/types/pq_inner_data_temp.py +1 -1
  2997. pyrogram/raw/types/pq_inner_data_temp_dc.py +1 -1
  2998. pyrogram/raw/types/premium/boosts_list.py +1 -1
  2999. pyrogram/raw/types/premium/boosts_status.py +1 -1
  3000. pyrogram/raw/types/premium/my_boosts.py +1 -1
  3001. pyrogram/raw/types/premium_gift_code_option.py +1 -1
  3002. pyrogram/raw/types/premium_gift_option.py +110 -0
  3003. pyrogram/raw/types/premium_subscription_option.py +1 -1
  3004. pyrogram/raw/types/prepaid_giveaway.py +1 -1
  3005. pyrogram/raw/types/prepaid_stars_giveaway.py +1 -1
  3006. pyrogram/raw/types/privacy_key_about.py +1 -1
  3007. pyrogram/raw/types/privacy_key_added_by_phone.py +1 -1
  3008. pyrogram/raw/types/privacy_key_birthday.py +1 -1
  3009. pyrogram/raw/types/privacy_key_chat_invite.py +1 -1
  3010. pyrogram/raw/types/privacy_key_forwards.py +1 -1
  3011. pyrogram/raw/types/privacy_key_no_paid_messages.py +1 -1
  3012. pyrogram/raw/types/privacy_key_phone_call.py +1 -1
  3013. pyrogram/raw/types/privacy_key_phone_number.py +1 -1
  3014. pyrogram/raw/types/privacy_key_phone_p2_p.py +1 -1
  3015. pyrogram/raw/types/privacy_key_profile_photo.py +1 -1
  3016. pyrogram/raw/types/privacy_key_saved_music.py +1 -1
  3017. pyrogram/raw/types/privacy_key_star_gifts_auto_save.py +1 -1
  3018. pyrogram/raw/types/privacy_key_status_timestamp.py +1 -1
  3019. pyrogram/raw/types/privacy_key_voice_messages.py +1 -1
  3020. pyrogram/raw/types/privacy_value_allow_all.py +1 -1
  3021. pyrogram/raw/types/privacy_value_allow_bots.py +1 -1
  3022. pyrogram/raw/types/privacy_value_allow_chat_participants.py +1 -1
  3023. pyrogram/raw/types/privacy_value_allow_close_friends.py +1 -1
  3024. pyrogram/raw/types/privacy_value_allow_contacts.py +1 -1
  3025. pyrogram/raw/types/privacy_value_allow_premium.py +1 -1
  3026. pyrogram/raw/types/privacy_value_allow_users.py +1 -1
  3027. pyrogram/raw/types/privacy_value_disallow_all.py +1 -1
  3028. pyrogram/raw/types/privacy_value_disallow_bots.py +1 -1
  3029. pyrogram/raw/types/privacy_value_disallow_chat_participants.py +1 -1
  3030. pyrogram/raw/types/privacy_value_disallow_contacts.py +1 -1
  3031. pyrogram/raw/types/privacy_value_disallow_users.py +1 -1
  3032. pyrogram/raw/types/profile_tab_files.py +1 -1
  3033. pyrogram/raw/types/profile_tab_gifs.py +1 -1
  3034. pyrogram/raw/types/profile_tab_gifts.py +1 -1
  3035. pyrogram/raw/types/profile_tab_links.py +1 -1
  3036. pyrogram/raw/types/profile_tab_media.py +1 -1
  3037. pyrogram/raw/types/profile_tab_music.py +1 -1
  3038. pyrogram/raw/types/profile_tab_posts.py +1 -1
  3039. pyrogram/raw/types/profile_tab_voice.py +1 -1
  3040. pyrogram/raw/types/public_forward_message.py +1 -1
  3041. pyrogram/raw/types/public_forward_story.py +1 -1
  3042. pyrogram/raw/types/quick_reply.py +1 -1
  3043. pyrogram/raw/types/reaction_count.py +1 -1
  3044. pyrogram/raw/types/reaction_custom_emoji.py +1 -1
  3045. pyrogram/raw/types/reaction_emoji.py +1 -1
  3046. pyrogram/raw/types/reaction_empty.py +1 -1
  3047. pyrogram/raw/types/reaction_notifications_from_all.py +1 -1
  3048. pyrogram/raw/types/reaction_notifications_from_contacts.py +1 -1
  3049. pyrogram/raw/types/reaction_paid.py +1 -1
  3050. pyrogram/raw/types/reactions_notify_settings.py +1 -1
  3051. pyrogram/raw/types/read_participant_date.py +1 -1
  3052. pyrogram/raw/types/received_notify_message.py +1 -1
  3053. pyrogram/raw/types/recent_me_url_chat.py +1 -1
  3054. pyrogram/raw/types/recent_me_url_chat_invite.py +1 -1
  3055. pyrogram/raw/types/recent_me_url_sticker_set.py +1 -1
  3056. pyrogram/raw/types/recent_me_url_unknown.py +1 -1
  3057. pyrogram/raw/types/recent_me_url_user.py +1 -1
  3058. pyrogram/raw/types/recent_story.py +1 -1
  3059. pyrogram/raw/types/reply_inline_markup.py +18 -10
  3060. pyrogram/raw/types/reply_keyboard_force_reply.py +1 -1
  3061. pyrogram/raw/types/reply_keyboard_hide.py +1 -1
  3062. pyrogram/raw/types/reply_keyboard_markup.py +10 -4
  3063. pyrogram/raw/types/report_result_add_comment.py +1 -1
  3064. pyrogram/raw/types/report_result_choose_option.py +1 -1
  3065. pyrogram/raw/types/report_result_reported.py +1 -1
  3066. pyrogram/raw/types/request_peer_type_broadcast.py +1 -1
  3067. pyrogram/raw/types/request_peer_type_chat.py +1 -1
  3068. pyrogram/raw/types/request_peer_type_create_bot.py +1 -1
  3069. pyrogram/raw/types/request_peer_type_user.py +1 -1
  3070. pyrogram/raw/types/requested_peer_channel.py +1 -1
  3071. pyrogram/raw/types/requested_peer_chat.py +1 -1
  3072. pyrogram/raw/types/requested_peer_user.py +1 -1
  3073. pyrogram/raw/types/requirement_to_contact_empty.py +1 -1
  3074. pyrogram/raw/types/requirement_to_contact_paid_messages.py +1 -1
  3075. pyrogram/raw/types/requirement_to_contact_premium.py +1 -1
  3076. pyrogram/raw/types/res_pq.py +1 -1
  3077. pyrogram/raw/types/restriction_reason.py +1 -1
  3078. pyrogram/raw/types/rich_button_style.py +92 -0
  3079. pyrogram/raw/types/rich_message.py +1 -1
  3080. pyrogram/raw/types/rpc_answer_dropped.py +1 -1
  3081. pyrogram/raw/types/rpc_answer_dropped_running.py +1 -1
  3082. pyrogram/raw/types/rpc_answer_unknown.py +1 -1
  3083. pyrogram/raw/types/rpc_error.py +1 -1
  3084. pyrogram/raw/types/rpc_result.py +1 -1
  3085. pyrogram/raw/types/saved_dialog.py +1 -1
  3086. pyrogram/raw/types/saved_phone_contact.py +1 -1
  3087. pyrogram/raw/types/saved_reaction_tag.py +1 -1
  3088. pyrogram/raw/types/saved_star_gift.py +1 -1
  3089. pyrogram/raw/types/search_posts_flood.py +1 -1
  3090. pyrogram/raw/types/search_result_position.py +1 -1
  3091. pyrogram/raw/types/search_results_calendar_period.py +1 -1
  3092. pyrogram/raw/types/secure_credentials_encrypted.py +1 -1
  3093. pyrogram/raw/types/secure_data.py +1 -1
  3094. pyrogram/raw/types/secure_file.py +1 -1
  3095. pyrogram/raw/types/secure_file_empty.py +1 -1
  3096. pyrogram/raw/types/secure_password_kdf_algo_pbkdf2_hmacsha512iter100000.py +1 -1
  3097. pyrogram/raw/types/secure_password_kdf_algo_sha512.py +1 -1
  3098. pyrogram/raw/types/secure_password_kdf_algo_unknown.py +1 -1
  3099. pyrogram/raw/types/secure_plain_email.py +1 -1
  3100. pyrogram/raw/types/secure_plain_phone.py +1 -1
  3101. pyrogram/raw/types/secure_required_type.py +1 -1
  3102. pyrogram/raw/types/secure_required_type_one_of.py +1 -1
  3103. pyrogram/raw/types/secure_secret_settings.py +1 -1
  3104. pyrogram/raw/types/secure_value.py +1 -1
  3105. pyrogram/raw/types/secure_value_error.py +1 -1
  3106. pyrogram/raw/types/secure_value_error_data.py +1 -1
  3107. pyrogram/raw/types/secure_value_error_file.py +1 -1
  3108. pyrogram/raw/types/secure_value_error_files.py +1 -1
  3109. pyrogram/raw/types/secure_value_error_front_side.py +1 -1
  3110. pyrogram/raw/types/secure_value_error_reverse_side.py +1 -1
  3111. pyrogram/raw/types/secure_value_error_selfie.py +1 -1
  3112. pyrogram/raw/types/secure_value_error_translation_file.py +1 -1
  3113. pyrogram/raw/types/secure_value_error_translation_files.py +1 -1
  3114. pyrogram/raw/types/secure_value_hash.py +1 -1
  3115. pyrogram/raw/types/secure_value_type_address.py +1 -1
  3116. pyrogram/raw/types/secure_value_type_bank_statement.py +1 -1
  3117. pyrogram/raw/types/secure_value_type_driver_license.py +1 -1
  3118. pyrogram/raw/types/secure_value_type_email.py +1 -1
  3119. pyrogram/raw/types/secure_value_type_identity_card.py +1 -1
  3120. pyrogram/raw/types/secure_value_type_internal_passport.py +1 -1
  3121. pyrogram/raw/types/secure_value_type_passport.py +1 -1
  3122. pyrogram/raw/types/secure_value_type_passport_registration.py +1 -1
  3123. pyrogram/raw/types/secure_value_type_personal_details.py +1 -1
  3124. pyrogram/raw/types/secure_value_type_phone.py +1 -1
  3125. pyrogram/raw/types/secure_value_type_rental_agreement.py +1 -1
  3126. pyrogram/raw/types/secure_value_type_temporary_registration.py +1 -1
  3127. pyrogram/raw/types/secure_value_type_utility_bill.py +1 -1
  3128. pyrogram/raw/types/send_as_peer.py +1 -1
  3129. pyrogram/raw/types/send_message_cancel_action.py +1 -1
  3130. pyrogram/raw/types/send_message_choose_contact_action.py +1 -1
  3131. pyrogram/raw/types/send_message_choose_sticker_action.py +1 -1
  3132. pyrogram/raw/types/send_message_emoji_interaction.py +1 -1
  3133. pyrogram/raw/types/send_message_emoji_interaction_seen.py +1 -1
  3134. pyrogram/raw/types/send_message_game_play_action.py +1 -1
  3135. pyrogram/raw/types/send_message_geo_location_action.py +1 -1
  3136. pyrogram/raw/types/send_message_history_import_action.py +1 -1
  3137. pyrogram/raw/types/send_message_record_audio_action.py +1 -1
  3138. pyrogram/raw/types/send_message_record_round_action.py +1 -1
  3139. pyrogram/raw/types/send_message_record_video_action.py +1 -1
  3140. pyrogram/raw/types/send_message_rich_message_draft_action.py +22 -8
  3141. pyrogram/raw/types/send_message_stop_draft_action.py +74 -0
  3142. pyrogram/raw/types/send_message_text_draft_action.py +22 -8
  3143. pyrogram/raw/types/send_message_typing_action.py +1 -1
  3144. pyrogram/raw/types/send_message_upload_audio_action.py +1 -1
  3145. pyrogram/raw/types/send_message_upload_document_action.py +1 -1
  3146. pyrogram/raw/types/send_message_upload_photo_action.py +1 -1
  3147. pyrogram/raw/types/send_message_upload_round_action.py +1 -1
  3148. pyrogram/raw/types/send_message_upload_video_action.py +1 -1
  3149. pyrogram/raw/types/server_dh_inner_data.py +1 -1
  3150. pyrogram/raw/types/server_dh_params_fail.py +1 -1
  3151. pyrogram/raw/types/server_dh_params_ok.py +1 -1
  3152. pyrogram/raw/types/share_theme_backdrop_option.py +114 -0
  3153. pyrogram/raw/types/share_theme_backdrops.py +91 -0
  3154. pyrogram/raw/types/share_theme_backdrops_not_modified.py +78 -0
  3155. pyrogram/raw/types/share_theme_default.py +78 -0
  3156. pyrogram/raw/types/share_theme_emoji_backdrop.py +96 -0
  3157. pyrogram/raw/types/share_theme_gift.py +83 -0
  3158. pyrogram/raw/types/shipping_option.py +1 -1
  3159. pyrogram/raw/types/sms_job.py +1 -1
  3160. pyrogram/raw/types/smsjobs/eligible_to_join.py +1 -1
  3161. pyrogram/raw/types/smsjobs/status.py +1 -1
  3162. pyrogram/raw/types/speaking_in_group_call_action.py +1 -1
  3163. pyrogram/raw/types/sponsored_message.py +1 -1
  3164. pyrogram/raw/types/sponsored_message_report_option.py +1 -1
  3165. pyrogram/raw/types/sponsored_peer.py +1 -1
  3166. pyrogram/raw/types/star_gift.py +10 -4
  3167. pyrogram/raw/types/star_gift_active_auction_state.py +1 -1
  3168. pyrogram/raw/types/star_gift_attribute_backdrop.py +1 -1
  3169. pyrogram/raw/types/star_gift_attribute_counter.py +1 -1
  3170. pyrogram/raw/types/star_gift_attribute_id_backdrop.py +1 -1
  3171. pyrogram/raw/types/star_gift_attribute_id_model.py +1 -1
  3172. pyrogram/raw/types/star_gift_attribute_id_pattern.py +1 -1
  3173. pyrogram/raw/types/star_gift_attribute_model.py +1 -1
  3174. pyrogram/raw/types/star_gift_attribute_original_details.py +1 -1
  3175. pyrogram/raw/types/star_gift_attribute_pattern.py +1 -1
  3176. pyrogram/raw/types/star_gift_attribute_rarity.py +1 -1
  3177. pyrogram/raw/types/star_gift_attribute_rarity_epic.py +1 -1
  3178. pyrogram/raw/types/star_gift_attribute_rarity_legendary.py +1 -1
  3179. pyrogram/raw/types/star_gift_attribute_rarity_rare.py +1 -1
  3180. pyrogram/raw/types/star_gift_attribute_rarity_uncommon.py +1 -1
  3181. pyrogram/raw/types/star_gift_auction_acquired_gift.py +1 -1
  3182. pyrogram/raw/types/star_gift_auction_round.py +1 -1
  3183. pyrogram/raw/types/star_gift_auction_round_extendable.py +1 -1
  3184. pyrogram/raw/types/star_gift_auction_state.py +1 -1
  3185. pyrogram/raw/types/star_gift_auction_state_finished.py +1 -1
  3186. pyrogram/raw/types/star_gift_auction_state_not_modified.py +1 -1
  3187. pyrogram/raw/types/star_gift_auction_user_state.py +1 -1
  3188. pyrogram/raw/types/star_gift_background.py +1 -1
  3189. pyrogram/raw/types/star_gift_collection.py +1 -1
  3190. pyrogram/raw/types/star_gift_unique.py +42 -6
  3191. pyrogram/raw/types/star_gift_upgrade_price.py +1 -1
  3192. pyrogram/raw/types/star_ref_program.py +1 -1
  3193. pyrogram/raw/types/stars_amount.py +1 -1
  3194. pyrogram/raw/types/stars_gift_option.py +1 -1
  3195. pyrogram/raw/types/stars_giveaway_option.py +1 -1
  3196. pyrogram/raw/types/stars_giveaway_winners_option.py +1 -1
  3197. pyrogram/raw/types/stars_rating.py +1 -1
  3198. pyrogram/raw/types/stars_revenue_status.py +1 -1
  3199. pyrogram/raw/types/stars_subscription.py +1 -1
  3200. pyrogram/raw/types/stars_subscription_pricing.py +1 -1
  3201. pyrogram/raw/types/stars_ton_amount.py +1 -1
  3202. pyrogram/raw/types/stars_topup_option.py +1 -1
  3203. pyrogram/raw/types/stars_transaction.py +1 -1
  3204. pyrogram/raw/types/stars_transaction_peer.py +1 -1
  3205. pyrogram/raw/types/stars_transaction_peer_ads.py +1 -1
  3206. pyrogram/raw/types/stars_transaction_peer_api.py +1 -1
  3207. pyrogram/raw/types/stars_transaction_peer_app_store.py +1 -1
  3208. pyrogram/raw/types/stars_transaction_peer_fragment.py +1 -1
  3209. pyrogram/raw/types/stars_transaction_peer_play_market.py +1 -1
  3210. pyrogram/raw/types/stars_transaction_peer_premium_bot.py +1 -1
  3211. pyrogram/raw/types/stars_transaction_peer_unsupported.py +1 -1
  3212. pyrogram/raw/types/stats/broadcast_stats.py +1 -1
  3213. pyrogram/raw/types/stats/megagroup_stats.py +1 -1
  3214. pyrogram/raw/types/stats/message_stats.py +1 -1
  3215. pyrogram/raw/types/stats/poll_stats.py +1 -1
  3216. pyrogram/raw/types/stats/public_forwards.py +1 -1
  3217. pyrogram/raw/types/stats/story_stats.py +1 -1
  3218. pyrogram/raw/types/stats_abs_value_and_prev.py +1 -1
  3219. pyrogram/raw/types/stats_date_range_days.py +1 -1
  3220. pyrogram/raw/types/stats_graph.py +1 -1
  3221. pyrogram/raw/types/stats_graph_async.py +1 -1
  3222. pyrogram/raw/types/stats_graph_error.py +1 -1
  3223. pyrogram/raw/types/stats_group_top_admin.py +1 -1
  3224. pyrogram/raw/types/stats_group_top_inviter.py +1 -1
  3225. pyrogram/raw/types/stats_group_top_poster.py +1 -1
  3226. pyrogram/raw/types/stats_percent_value.py +1 -1
  3227. pyrogram/raw/types/stats_url.py +10 -1
  3228. pyrogram/raw/types/sticker_keyword.py +1 -1
  3229. pyrogram/raw/types/sticker_pack.py +1 -1
  3230. pyrogram/raw/types/sticker_set.py +1 -1
  3231. pyrogram/raw/types/sticker_set_covered.py +1 -1
  3232. pyrogram/raw/types/sticker_set_full_covered.py +1 -1
  3233. pyrogram/raw/types/sticker_set_multi_covered.py +1 -1
  3234. pyrogram/raw/types/sticker_set_no_covered.py +1 -1
  3235. pyrogram/raw/types/stickers/suggested_short_name.py +1 -1
  3236. pyrogram/raw/types/storage/file_gif.py +1 -1
  3237. pyrogram/raw/types/storage/file_jpeg.py +1 -1
  3238. pyrogram/raw/types/storage/file_mov.py +1 -1
  3239. pyrogram/raw/types/storage/file_mp3.py +1 -1
  3240. pyrogram/raw/types/storage/file_mp4.py +1 -1
  3241. pyrogram/raw/types/storage/file_partial.py +1 -1
  3242. pyrogram/raw/types/storage/file_pdf.py +1 -1
  3243. pyrogram/raw/types/storage/file_png.py +1 -1
  3244. pyrogram/raw/types/storage/file_unknown.py +1 -1
  3245. pyrogram/raw/types/storage/file_webp.py +1 -1
  3246. pyrogram/raw/types/stories/albums.py +1 -1
  3247. pyrogram/raw/types/stories/albums_not_modified.py +1 -1
  3248. pyrogram/raw/types/stories/all_stories.py +1 -1
  3249. pyrogram/raw/types/stories/all_stories_not_modified.py +1 -1
  3250. pyrogram/raw/types/stories/can_send_story_count.py +1 -1
  3251. pyrogram/raw/types/stories/found_stories.py +1 -1
  3252. pyrogram/raw/types/stories/peer_stories.py +1 -1
  3253. pyrogram/raw/types/stories/stories.py +1 -1
  3254. pyrogram/raw/types/stories/story_reactions_list.py +1 -1
  3255. pyrogram/raw/types/stories/story_views.py +1 -1
  3256. pyrogram/raw/types/stories/story_views_list.py +1 -1
  3257. pyrogram/raw/types/stories_stealth_mode.py +1 -1
  3258. pyrogram/raw/types/story_album.py +1 -1
  3259. pyrogram/raw/types/story_fwd_header.py +1 -1
  3260. pyrogram/raw/types/story_item.py +1 -1
  3261. pyrogram/raw/types/story_item_deleted.py +1 -1
  3262. pyrogram/raw/types/story_item_skipped.py +1 -1
  3263. pyrogram/raw/types/story_reaction.py +1 -1
  3264. pyrogram/raw/types/story_reaction_public_forward.py +1 -1
  3265. pyrogram/raw/types/story_reaction_public_repost.py +1 -1
  3266. pyrogram/raw/types/story_view.py +1 -1
  3267. pyrogram/raw/types/story_view_public_forward.py +1 -1
  3268. pyrogram/raw/types/story_view_public_repost.py +1 -1
  3269. pyrogram/raw/types/story_views.py +1 -1
  3270. pyrogram/raw/types/suggested_post.py +1 -1
  3271. pyrogram/raw/types/text_anchor.py +1 -1
  3272. pyrogram/raw/types/text_auto_email.py +1 -1
  3273. pyrogram/raw/types/text_auto_phone.py +1 -1
  3274. pyrogram/raw/types/text_auto_url.py +1 -1
  3275. pyrogram/raw/types/text_bank_card.py +1 -1
  3276. pyrogram/raw/types/text_bold.py +1 -1
  3277. pyrogram/raw/types/text_bot_command.py +1 -1
  3278. pyrogram/raw/types/text_button.py +94 -0
  3279. pyrogram/raw/types/text_cashtag.py +1 -1
  3280. pyrogram/raw/types/text_concat.py +1 -1
  3281. pyrogram/raw/types/text_custom_emoji.py +1 -1
  3282. pyrogram/raw/types/text_date.py +1 -1
  3283. pyrogram/raw/types/text_diff.py +1 -1
  3284. pyrogram/raw/types/text_email.py +1 -1
  3285. pyrogram/raw/types/text_empty.py +1 -1
  3286. pyrogram/raw/types/text_fixed.py +1 -1
  3287. pyrogram/raw/types/text_hashtag.py +1 -1
  3288. pyrogram/raw/types/text_image.py +1 -1
  3289. pyrogram/raw/types/text_italic.py +1 -1
  3290. pyrogram/raw/types/text_marked.py +1 -1
  3291. pyrogram/raw/types/text_math.py +1 -1
  3292. pyrogram/raw/types/text_mention.py +1 -1
  3293. pyrogram/raw/types/text_mention_name.py +1 -1
  3294. pyrogram/raw/types/text_phone.py +1 -1
  3295. pyrogram/raw/types/text_plain.py +1 -1
  3296. pyrogram/raw/types/text_spoiler.py +1 -1
  3297. pyrogram/raw/types/text_strike.py +1 -1
  3298. pyrogram/raw/types/text_subscript.py +1 -1
  3299. pyrogram/raw/types/text_superscript.py +1 -1
  3300. pyrogram/raw/types/text_ton_address.py +74 -0
  3301. pyrogram/raw/types/text_underline.py +1 -1
  3302. pyrogram/raw/types/text_url.py +1 -1
  3303. pyrogram/raw/types/text_with_entities.py +1 -1
  3304. pyrogram/raw/types/theme.py +1 -1
  3305. pyrogram/raw/types/theme_settings.py +1 -1
  3306. pyrogram/raw/types/timezone.py +1 -1
  3307. pyrogram/raw/types/todo_completion.py +1 -1
  3308. pyrogram/raw/types/todo_item.py +1 -1
  3309. pyrogram/raw/types/todo_list.py +1 -1
  3310. pyrogram/raw/types/ton_connect_manifest.py +94 -0
  3311. pyrogram/raw/types/ton_connect_next_event_id.py +83 -0
  3312. pyrogram/raw/types/ton_connect_request.py +118 -0
  3313. pyrogram/raw/types/ton_connect_session.py +155 -0
  3314. pyrogram/raw/types/toncenter/__init__.py +26 -0
  3315. pyrogram/raw/types/toncenter/api_response.py +83 -0
  3316. pyrogram/raw/types/toncenter/streaming_url.py +91 -0
  3317. pyrogram/raw/types/top_peer.py +1 -1
  3318. pyrogram/raw/types/top_peer_category_bots_app.py +1 -1
  3319. pyrogram/raw/types/top_peer_category_bots_guest_chat.py +1 -1
  3320. pyrogram/raw/types/top_peer_category_bots_inline.py +1 -1
  3321. pyrogram/raw/types/top_peer_category_bots_pm.py +1 -1
  3322. pyrogram/raw/types/top_peer_category_channels.py +1 -1
  3323. pyrogram/raw/types/top_peer_category_correspondents.py +1 -1
  3324. pyrogram/raw/types/top_peer_category_forward_chats.py +1 -1
  3325. pyrogram/raw/types/top_peer_category_forward_users.py +1 -1
  3326. pyrogram/raw/types/top_peer_category_groups.py +1 -1
  3327. pyrogram/raw/types/top_peer_category_peers.py +1 -1
  3328. pyrogram/raw/types/top_peer_category_phone_calls.py +1 -1
  3329. pyrogram/raw/types/transcription_model.py +99 -0
  3330. pyrogram/raw/types/update_ai_compose_tones.py +1 -1
  3331. pyrogram/raw/types/update_attach_menu_bots.py +1 -1
  3332. pyrogram/raw/types/update_auto_save_settings.py +1 -1
  3333. pyrogram/raw/types/update_bot_business_connect.py +1 -1
  3334. pyrogram/raw/types/update_bot_callback_query.py +1 -1
  3335. pyrogram/raw/types/update_bot_chat_boost.py +1 -1
  3336. pyrogram/raw/types/update_bot_chat_invite_requester.py +1 -1
  3337. pyrogram/raw/types/update_bot_commands.py +1 -1
  3338. pyrogram/raw/types/update_bot_delete_business_message.py +1 -1
  3339. pyrogram/raw/types/update_bot_edit_business_message.py +1 -1
  3340. pyrogram/raw/types/update_bot_guest_chat_query.py +1 -1
  3341. pyrogram/raw/types/update_bot_inline_query.py +1 -1
  3342. pyrogram/raw/types/update_bot_inline_send.py +1 -1
  3343. pyrogram/raw/types/update_bot_menu_button.py +1 -1
  3344. pyrogram/raw/types/update_bot_message_reaction.py +1 -1
  3345. pyrogram/raw/types/update_bot_message_reactions.py +1 -1
  3346. pyrogram/raw/types/update_bot_new_business_message.py +1 -1
  3347. pyrogram/raw/types/update_bot_precheckout_query.py +1 -1
  3348. pyrogram/raw/types/update_bot_profile_widget.py +86 -0
  3349. pyrogram/raw/types/update_bot_profile_widget_data.py +82 -0
  3350. pyrogram/raw/types/update_bot_profile_widget_query.py +110 -0
  3351. pyrogram/raw/types/update_bot_purchased_paid_media.py +1 -1
  3352. pyrogram/raw/types/update_bot_shipping_query.py +1 -1
  3353. pyrogram/raw/types/update_bot_stars_subscription.py +2 -2
  3354. pyrogram/raw/types/update_bot_stopped.py +1 -1
  3355. pyrogram/raw/types/update_bot_subscription_expire.py +98 -0
  3356. pyrogram/raw/types/update_bot_webhook_json.py +1 -1
  3357. pyrogram/raw/types/update_bot_webhook_json_query.py +1 -1
  3358. pyrogram/raw/types/update_bot_widget_copy_query.py +118 -0
  3359. pyrogram/raw/types/update_bot_widget_query.py +151 -0
  3360. pyrogram/raw/types/update_business_bot_callback_query.py +1 -1
  3361. pyrogram/raw/types/update_channel.py +1 -1
  3362. pyrogram/raw/types/update_channel_available_messages.py +1 -1
  3363. pyrogram/raw/types/update_channel_message_forwards.py +1 -1
  3364. pyrogram/raw/types/update_channel_message_views.py +1 -1
  3365. pyrogram/raw/types/update_channel_participant.py +1 -1
  3366. pyrogram/raw/types/update_channel_read_messages_contents.py +1 -1
  3367. pyrogram/raw/types/update_channel_too_long.py +24 -6
  3368. pyrogram/raw/types/update_channel_user_typing.py +1 -1
  3369. pyrogram/raw/types/update_channel_view_forum_as_messages.py +1 -1
  3370. pyrogram/raw/types/update_channel_web_page.py +1 -1
  3371. pyrogram/raw/types/update_chat.py +1 -1
  3372. pyrogram/raw/types/update_chat_default_banned_rights.py +1 -1
  3373. pyrogram/raw/types/update_chat_participant.py +1 -1
  3374. pyrogram/raw/types/update_chat_participant_add.py +1 -1
  3375. pyrogram/raw/types/update_chat_participant_admin.py +1 -1
  3376. pyrogram/raw/types/update_chat_participant_delete.py +1 -1
  3377. pyrogram/raw/types/update_chat_participant_rank.py +1 -1
  3378. pyrogram/raw/types/update_chat_participants.py +1 -1
  3379. pyrogram/raw/types/update_chat_user_typing.py +1 -1
  3380. pyrogram/raw/types/update_config.py +1 -1
  3381. pyrogram/raw/types/update_contacts_reset.py +1 -1
  3382. pyrogram/raw/types/update_dc_options.py +1 -1
  3383. pyrogram/raw/types/update_delete_channel_messages.py +1 -1
  3384. pyrogram/raw/types/update_delete_ephemeral_messages.py +1 -1
  3385. pyrogram/raw/types/update_delete_group_call_messages.py +1 -1
  3386. pyrogram/raw/types/update_delete_messages.py +1 -1
  3387. pyrogram/raw/types/update_delete_quick_reply.py +1 -1
  3388. pyrogram/raw/types/update_delete_quick_reply_messages.py +1 -1
  3389. pyrogram/raw/types/update_delete_scheduled_messages.py +1 -1
  3390. pyrogram/raw/types/update_dialog_filter.py +1 -1
  3391. pyrogram/raw/types/update_dialog_filter_order.py +1 -1
  3392. pyrogram/raw/types/update_dialog_filters.py +1 -1
  3393. pyrogram/raw/types/update_dialog_pinned.py +1 -1
  3394. pyrogram/raw/types/update_dialog_unread_mark.py +1 -1
  3395. pyrogram/raw/types/update_draft_message.py +1 -1
  3396. pyrogram/raw/types/update_edit_channel_message.py +1 -1
  3397. pyrogram/raw/types/update_edit_ephemeral_message.py +1 -1
  3398. pyrogram/raw/types/update_edit_forum_topic.py +120 -0
  3399. pyrogram/raw/types/update_edit_message.py +1 -1
  3400. pyrogram/raw/types/update_emoji_game_info.py +1 -1
  3401. pyrogram/raw/types/update_encrypted_chat_typing.py +1 -1
  3402. pyrogram/raw/types/update_encrypted_messages_read.py +1 -1
  3403. pyrogram/raw/types/update_encryption.py +1 -1
  3404. pyrogram/raw/types/update_ephemeral_bot_callback_query.py +28 -15
  3405. pyrogram/raw/types/update_faved_stickers.py +1 -1
  3406. pyrogram/raw/types/update_folder_peers.py +1 -1
  3407. pyrogram/raw/types/update_for_you_settings.py +74 -0
  3408. pyrogram/raw/types/update_geo_live_viewed.py +1 -1
  3409. pyrogram/raw/types/update_group_call.py +1 -1
  3410. pyrogram/raw/types/update_group_call_chain_blocks.py +1 -1
  3411. pyrogram/raw/types/update_group_call_connection.py +1 -1
  3412. pyrogram/raw/types/update_group_call_encrypted_message.py +1 -1
  3413. pyrogram/raw/types/update_group_call_message.py +1 -1
  3414. pyrogram/raw/types/update_group_call_participants.py +1 -1
  3415. pyrogram/raw/types/update_inline_bot_callback_query.py +1 -1
  3416. pyrogram/raw/types/update_inline_bot_widget_query.py +143 -0
  3417. pyrogram/raw/types/update_join_chat_web_view_decision.py +1 -1
  3418. pyrogram/raw/types/update_lang_pack.py +1 -1
  3419. pyrogram/raw/types/update_lang_pack_too_long.py +1 -1
  3420. pyrogram/raw/types/update_login_token.py +1 -1
  3421. pyrogram/raw/types/update_managed_bot.py +1 -1
  3422. pyrogram/raw/types/update_message_extended_media.py +1 -1
  3423. pyrogram/raw/types/update_message_id.py +1 -1
  3424. pyrogram/raw/types/update_message_poll.py +1 -1
  3425. pyrogram/raw/types/update_message_poll_vote.py +1 -1
  3426. pyrogram/raw/types/update_message_reactions.py +1 -1
  3427. pyrogram/raw/types/update_message_widget_data.py +127 -0
  3428. pyrogram/raw/types/update_mono_forum_no_paid_exception.py +1 -1
  3429. pyrogram/raw/types/update_move_sticker_set_to_top.py +1 -1
  3430. pyrogram/raw/types/update_new_authorization.py +1 -1
  3431. pyrogram/raw/types/update_new_bot_connection.py +1 -1
  3432. pyrogram/raw/types/update_new_channel_message.py +1 -1
  3433. pyrogram/raw/types/update_new_encrypted_message.py +1 -1
  3434. pyrogram/raw/types/update_new_ephemeral_message.py +1 -1
  3435. pyrogram/raw/types/update_new_message.py +1 -1
  3436. pyrogram/raw/types/update_new_quick_reply.py +1 -1
  3437. pyrogram/raw/types/update_new_scheduled_message.py +1 -1
  3438. pyrogram/raw/types/update_new_sticker_set.py +1 -1
  3439. pyrogram/raw/types/update_new_story_reaction.py +1 -1
  3440. pyrogram/raw/types/update_notify_settings.py +1 -1
  3441. pyrogram/raw/types/update_paid_reaction_privacy.py +1 -1
  3442. pyrogram/raw/types/update_peer_blocked.py +1 -1
  3443. pyrogram/raw/types/update_peer_history_ttl.py +1 -1
  3444. pyrogram/raw/types/update_peer_located.py +1 -1
  3445. pyrogram/raw/types/update_peer_settings.py +1 -1
  3446. pyrogram/raw/types/update_peer_wallpaper.py +1 -1
  3447. pyrogram/raw/types/update_pending_join_requests.py +1 -1
  3448. pyrogram/raw/types/update_phone_call.py +1 -1
  3449. pyrogram/raw/types/update_phone_call_signaling_data.py +1 -1
  3450. pyrogram/raw/types/update_pinned_channel_messages.py +1 -1
  3451. pyrogram/raw/types/update_pinned_dialogs.py +1 -1
  3452. pyrogram/raw/types/update_pinned_forum_topic.py +1 -1
  3453. pyrogram/raw/types/update_pinned_forum_topics.py +1 -1
  3454. pyrogram/raw/types/update_pinned_messages.py +1 -1
  3455. pyrogram/raw/types/update_pinned_saved_dialogs.py +1 -1
  3456. pyrogram/raw/types/update_privacy.py +1 -1
  3457. pyrogram/raw/types/update_pts_changed.py +1 -1
  3458. pyrogram/raw/types/update_quick_replies.py +1 -1
  3459. pyrogram/raw/types/update_quick_reply_message.py +1 -1
  3460. pyrogram/raw/types/update_read_channel_discussion_inbox.py +1 -1
  3461. pyrogram/raw/types/update_read_channel_discussion_outbox.py +1 -1
  3462. pyrogram/raw/types/update_read_channel_inbox.py +1 -1
  3463. pyrogram/raw/types/update_read_channel_outbox.py +1 -1
  3464. pyrogram/raw/types/update_read_featured_emoji_stickers.py +1 -1
  3465. pyrogram/raw/types/update_read_featured_stickers.py +1 -1
  3466. pyrogram/raw/types/update_read_feed.py +102 -0
  3467. pyrogram/raw/types/update_read_history_inbox.py +1 -1
  3468. pyrogram/raw/types/update_read_history_outbox.py +1 -1
  3469. pyrogram/raw/types/update_read_messages_contents.py +1 -1
  3470. pyrogram/raw/types/update_read_mono_forum_inbox.py +1 -1
  3471. pyrogram/raw/types/update_read_mono_forum_outbox.py +1 -1
  3472. pyrogram/raw/types/update_read_stories.py +1 -1
  3473. pyrogram/raw/types/update_recent_emoji_statuses.py +1 -1
  3474. pyrogram/raw/types/update_recent_reactions.py +1 -1
  3475. pyrogram/raw/types/update_recent_stickers.py +1 -1
  3476. pyrogram/raw/types/update_saved_dialog_pinned.py +1 -1
  3477. pyrogram/raw/types/update_saved_gifs.py +1 -1
  3478. pyrogram/raw/types/update_saved_reaction_tags.py +1 -1
  3479. pyrogram/raw/types/update_saved_ringtones.py +1 -1
  3480. pyrogram/raw/types/update_sent_phone_code.py +1 -1
  3481. pyrogram/raw/types/update_sent_story_reaction.py +1 -1
  3482. pyrogram/raw/types/update_sent_wallet_transaction.py +92 -0
  3483. pyrogram/raw/types/update_service_notification.py +1 -1
  3484. pyrogram/raw/types/update_short.py +16 -2
  3485. pyrogram/raw/types/update_short_chat_message.py +16 -2
  3486. pyrogram/raw/types/update_short_message.py +16 -2
  3487. pyrogram/raw/types/update_short_sent_message.py +16 -2
  3488. pyrogram/raw/types/update_sim_bind_state.py +74 -0
  3489. pyrogram/raw/types/update_sms_job.py +1 -1
  3490. pyrogram/raw/types/update_star_gift_auction_state.py +1 -1
  3491. pyrogram/raw/types/update_star_gift_auction_user_state.py +1 -1
  3492. pyrogram/raw/types/update_star_gift_craft_fail.py +1 -1
  3493. pyrogram/raw/types/update_stars_balance.py +1 -1
  3494. pyrogram/raw/types/update_stars_revenue_status.py +1 -1
  3495. pyrogram/raw/types/update_sticker_sets.py +1 -1
  3496. pyrogram/raw/types/update_sticker_sets_order.py +1 -1
  3497. pyrogram/raw/types/update_stories_stealth_mode.py +1 -1
  3498. pyrogram/raw/types/update_story.py +1 -1
  3499. pyrogram/raw/types/update_story_id.py +1 -1
  3500. pyrogram/raw/types/update_theme.py +1 -1
  3501. pyrogram/raw/types/{keyboard_button_request_geo_location.py → update_transcribe_audio.py} +23 -28
  3502. pyrogram/raw/types/update_transcribed_audio.py +1 -1
  3503. pyrogram/raw/types/update_transcribed_audio_file.py +90 -0
  3504. pyrogram/raw/types/update_user.py +1 -1
  3505. pyrogram/raw/types/update_user_emoji_status.py +1 -1
  3506. pyrogram/raw/types/update_user_name.py +1 -1
  3507. pyrogram/raw/types/update_user_phone.py +1 -1
  3508. pyrogram/raw/types/update_user_status.py +1 -1
  3509. pyrogram/raw/types/update_user_typing.py +1 -1
  3510. pyrogram/raw/types/update_wallet_gasless_info.py +106 -0
  3511. pyrogram/raw/types/update_wallet_state.py +74 -0
  3512. pyrogram/raw/types/update_wallet_ton_connect_pending_disconnect.py +74 -0
  3513. pyrogram/raw/types/update_wallet_ton_connect_session.py +74 -0
  3514. pyrogram/raw/types/update_web_browser_exception.py +1 -1
  3515. pyrogram/raw/types/update_web_browser_settings.py +1 -1
  3516. pyrogram/raw/types/update_web_page.py +1 -1
  3517. pyrogram/raw/types/update_web_view_result_sent.py +1 -1
  3518. pyrogram/raw/types/updates/channel_difference.py +16 -6
  3519. pyrogram/raw/types/updates/channel_difference_empty.py +1 -1
  3520. pyrogram/raw/types/updates/channel_difference_too_long.py +16 -6
  3521. pyrogram/raw/types/updates/difference.py +20 -8
  3522. pyrogram/raw/types/updates/difference_empty.py +1 -1
  3523. pyrogram/raw/types/updates/difference_slice.py +20 -8
  3524. pyrogram/raw/types/updates/difference_too_long.py +1 -1
  3525. pyrogram/raw/types/updates/state.py +1 -1
  3526. pyrogram/raw/types/updates_combined.py +16 -2
  3527. pyrogram/raw/types/updates_t.py +16 -2
  3528. pyrogram/raw/types/updates_too_long.py +16 -2
  3529. pyrogram/raw/types/upload/cdn_file.py +1 -1
  3530. pyrogram/raw/types/upload/cdn_file_reupload_needed.py +1 -1
  3531. pyrogram/raw/types/upload/file.py +1 -1
  3532. pyrogram/raw/types/upload/file_cdn_redirect.py +1 -1
  3533. pyrogram/raw/types/upload/web_file.py +1 -1
  3534. pyrogram/raw/types/url_auth_result_accepted.py +1 -1
  3535. pyrogram/raw/types/url_auth_result_default.py +1 -1
  3536. pyrogram/raw/types/url_auth_result_request.py +30 -6
  3537. pyrogram/raw/types/user.py +14 -5
  3538. pyrogram/raw/types/user_empty.py +5 -2
  3539. pyrogram/raw/types/user_full.py +36 -6
  3540. pyrogram/raw/types/user_profile_photo.py +1 -1
  3541. pyrogram/raw/types/user_profile_photo_empty.py +1 -1
  3542. pyrogram/raw/types/user_status_empty.py +1 -1
  3543. pyrogram/raw/types/user_status_hidden.py +69 -0
  3544. pyrogram/raw/types/user_status_last_month.py +1 -1
  3545. pyrogram/raw/types/user_status_last_week.py +1 -1
  3546. pyrogram/raw/types/user_status_offline.py +1 -1
  3547. pyrogram/raw/types/user_status_online.py +1 -1
  3548. pyrogram/raw/types/user_status_recently.py +1 -1
  3549. pyrogram/raw/types/user_wallet.py +102 -0
  3550. pyrogram/raw/types/username.py +16 -4
  3551. pyrogram/raw/types/users/saved_music.py +1 -1
  3552. pyrogram/raw/types/users/saved_music_not_modified.py +1 -1
  3553. pyrogram/raw/types/users/user_full.py +1 -1
  3554. pyrogram/raw/types/users/users.py +1 -1
  3555. pyrogram/raw/types/users/users_slice.py +1 -1
  3556. pyrogram/raw/types/video_size.py +1 -1
  3557. pyrogram/raw/types/video_size_emoji_markup.py +1 -1
  3558. pyrogram/raw/types/video_size_sticker_markup.py +1 -1
  3559. pyrogram/raw/types/voip_model.py +91 -0
  3560. pyrogram/raw/types/wall_paper.py +1 -1
  3561. pyrogram/raw/types/wall_paper_no_file.py +1 -1
  3562. pyrogram/raw/types/wall_paper_settings.py +1 -1
  3563. pyrogram/raw/types/wallet/__init__.py +39 -0
  3564. pyrogram/raw/types/wallet/card.py +113 -0
  3565. pyrogram/raw/types/wallet/card_sticker.py +82 -0
  3566. pyrogram/raw/types/wallet/encrypted_secret_phrase_part.py +83 -0
  3567. pyrogram/raw/types/{keyboard_button_request_phone.py → wallet/existing_balance.py} +22 -26
  3568. pyrogram/raw/types/wallet/holder_dc.py +91 -0
  3569. pyrogram/raw/types/wallet/nft_attribute.py +82 -0
  3570. pyrogram/raw/types/wallet/nft_item.py +189 -0
  3571. pyrogram/raw/types/{keyboard_button_game.py → wallet/nft_items.py} +24 -25
  3572. pyrogram/raw/types/wallet/proof_challenge.py +99 -0
  3573. pyrogram/raw/types/wallet/secret_phrase_parts.py +91 -0
  3574. pyrogram/raw/types/wallet/ton_connect_challenge.py +91 -0
  3575. pyrogram/raw/types/wallet/ton_connect_pending.py +91 -0
  3576. pyrogram/raw/types/wallet/ton_connect_sessions.py +83 -0
  3577. pyrogram/raw/types/wallet/transactions.py +120 -0
  3578. pyrogram/raw/types/wallet/user_addresses.py +91 -0
  3579. pyrogram/raw/types/wallet_onchain_gift_action_buy.py +69 -0
  3580. pyrogram/raw/types/wallet_onchain_gift_action_change_price.py +85 -0
  3581. pyrogram/raw/types/wallet_onchain_gift_action_delist.py +69 -0
  3582. pyrogram/raw/types/wallet_onchain_gift_action_offer_accept.py +106 -0
  3583. pyrogram/raw/types/wallet_onchain_gift_action_offer_cancel.py +111 -0
  3584. pyrogram/raw/types/wallet_onchain_gift_action_offer_create.py +118 -0
  3585. pyrogram/raw/types/wallet_onchain_gift_action_offer_decline.py +102 -0
  3586. pyrogram/raw/types/wallet_onchain_gift_action_offer_expire.py +102 -0
  3587. pyrogram/raw/types/wallet_ownership_proof.py +82 -0
  3588. pyrogram/raw/types/wallet_staking_action_deposit.py +69 -0
  3589. pyrogram/raw/types/wallet_staking_action_withdraw.py +69 -0
  3590. pyrogram/raw/types/wallet_staking_action_withdraw_pending.py +69 -0
  3591. pyrogram/raw/types/wallet_staking_info.py +129 -0
  3592. pyrogram/raw/types/wallet_staking_prepared.py +100 -0
  3593. pyrogram/raw/types/wallet_state.py +122 -0
  3594. pyrogram/raw/types/wallet_state_empty.py +86 -0
  3595. pyrogram/raw/types/wallet_transaction.py +172 -0
  3596. pyrogram/raw/types/wallet_transaction_peer_address.py +85 -0
  3597. pyrogram/raw/types/wallet_transaction_peer_channel.py +93 -0
  3598. pyrogram/raw/types/wallet_transaction_peer_onchain_gift.py +74 -0
  3599. pyrogram/raw/types/wallet_transaction_peer_onramp.py +93 -0
  3600. pyrogram/raw/types/wallet_transaction_peer_staking.py +74 -0
  3601. pyrogram/raw/types/wallet_transaction_peer_telegram_gift.py +74 -0
  3602. pyrogram/raw/types/wallet_transaction_peer_unsupported.py +69 -0
  3603. pyrogram/raw/types/{keyboard_button_user_profile.py → wallet_transaction_peer_user.py} +26 -36
  3604. pyrogram/raw/types/wallet_user_address.py +93 -0
  3605. pyrogram/raw/types/web_authorization.py +1 -1
  3606. pyrogram/raw/types/web_document.py +1 -1
  3607. pyrogram/raw/types/web_document_no_proxy.py +1 -1
  3608. pyrogram/raw/types/web_domain_exception.py +1 -1
  3609. pyrogram/raw/types/web_page.py +1 -1
  3610. pyrogram/raw/types/web_page_attribute_ai_compose_tone.py +1 -1
  3611. pyrogram/raw/types/web_page_attribute_star_gift_auction.py +1 -1
  3612. pyrogram/raw/types/web_page_attribute_star_gift_collection.py +1 -1
  3613. pyrogram/raw/types/web_page_attribute_sticker_set.py +1 -1
  3614. pyrogram/raw/types/web_page_attribute_story.py +1 -1
  3615. pyrogram/raw/types/web_page_attribute_theme.py +1 -1
  3616. pyrogram/raw/types/web_page_attribute_unique_star_gift.py +1 -1
  3617. pyrogram/raw/types/web_page_empty.py +1 -1
  3618. pyrogram/raw/types/web_page_not_modified.py +1 -1
  3619. pyrogram/raw/types/web_page_pending.py +1 -1
  3620. pyrogram/raw/types/web_page_url_pending.py +74 -0
  3621. pyrogram/raw/types/web_view_message_sent.py +1 -1
  3622. pyrogram/raw/types/web_view_result_url.py +1 -1
  3623. pyrogram/raw/types/widget_query_type_data.py +74 -0
  3624. pyrogram/raw/types/widget_query_type_sent_transaction.py +82 -0
  3625. pyrogram/raw/types/widget_query_type_sign_data.py +82 -0
  3626. pyrogram/session/internals/request_pacer.py +49 -0
  3627. pyrogram/session/session.py +76 -36
  3628. pyrogram/types/__init__.py +2 -0
  3629. pyrogram/types/authorization/__init__.py +3 -1
  3630. pyrogram/types/authorization/sim_bind_challenge.py +52 -0
  3631. pyrogram/types/authorization/sim_bind_state.py +77 -0
  3632. pyrogram/types/bots_and_keyboards/__init__.py +7 -1
  3633. pyrogram/types/bots_and_keyboards/bot_command.py +8 -2
  3634. pyrogram/types/bots_and_keyboards/inline_keyboard_button.py +41 -33
  3635. pyrogram/types/bots_and_keyboards/inline_keyboard_markup.py +2 -2
  3636. pyrogram/types/bots_and_keyboards/keyboard_button.py +11 -10
  3637. pyrogram/types/bots_and_keyboards/login_url.py +4 -6
  3638. pyrogram/types/bots_and_keyboards/reply_keyboard_markup.py +8 -0
  3639. pyrogram/types/bots_and_keyboards/share_theme_backdrop.py +73 -0
  3640. pyrogram/types/bots_and_keyboards/widget_public_data.py +47 -0
  3641. pyrogram/types/bots_and_keyboards/widget_query.py +189 -0
  3642. pyrogram/types/feed/__init__.py +25 -0
  3643. pyrogram/types/feed/feed_interest_category.py +72 -0
  3644. pyrogram/types/feed/feed_page.py +72 -0
  3645. pyrogram/types/feed/feed_position.py +68 -0
  3646. pyrogram/types/feed/feed_settings.py +70 -0
  3647. pyrogram/types/feed/for_you_feed.py +76 -0
  3648. pyrogram/types/input_message_content/__init__.py +4 -2
  3649. pyrogram/types/input_message_content/input_shared_widget_message_content.py +78 -0
  3650. pyrogram/types/input_message_content/input_widget_message_content.py +108 -0
  3651. pyrogram/types/messages_and_media/__init__.py +18 -6
  3652. pyrogram/types/messages_and_media/callback_answer.py +72 -0
  3653. pyrogram/types/messages_and_media/ephemeral_message.py +111 -0
  3654. pyrogram/types/messages_and_media/message.py +175 -29
  3655. pyrogram/types/messages_and_media/message_entity.py +12 -1
  3656. pyrogram/types/messages_and_media/poll.py +61 -9
  3657. pyrogram/types/messages_and_media/poll_option.py +11 -0
  3658. pyrogram/types/messages_and_media/poll_stats.py +38 -0
  3659. pyrogram/types/messages_and_media/poll_vote.py +69 -0
  3660. pyrogram/types/messages_and_media/poll_votes.py +57 -0
  3661. pyrogram/types/messages_and_media/resale_gifts.py +62 -0
  3662. pyrogram/types/messages_and_media/rich_message.py +99 -27
  3663. pyrogram/types/messages_and_media/star_gift.py +6 -0
  3664. pyrogram/types/messages_and_media/stats_graph.py +64 -0
  3665. pyrogram/types/messages_and_media/thumbnail.py +1 -1
  3666. pyrogram/types/messages_and_media/transcribed_audio.py +73 -0
  3667. pyrogram/types/messages_and_media/transcription_model.py +60 -0
  3668. pyrogram/types/messages_and_media/transcription_update.py +75 -0
  3669. pyrogram/types/messages_and_media/voip_model.py +55 -0
  3670. pyrogram/types/messages_and_media/web_view_result.py +70 -0
  3671. pyrogram/types/messages_and_media/widget.py +109 -0
  3672. pyrogram/types/messages_and_media/widget_data_update.py +81 -0
  3673. pyrogram/types/payments/__init__.py +32 -0
  3674. pyrogram/types/payments/bot_stars_subscription.py +79 -0
  3675. pyrogram/types/payments/gift_deposit_payload.py +58 -0
  3676. pyrogram/types/payments/gift_onchain_offer_tx.py +106 -0
  3677. pyrogram/types/payments/gift_onchain_sale_payload.py +64 -0
  3678. pyrogram/types/payments/onramp_availability.py +70 -0
  3679. pyrogram/types/payments/onramp_limits.py +76 -0
  3680. pyrogram/types/payments/onramp_provider.py +76 -0
  3681. pyrogram/types/payments/onramp_quote.py +106 -0
  3682. pyrogram/types/payments/onramp_session.py +64 -0
  3683. pyrogram/types/payments/wallet_holder_dc.py +49 -0
  3684. pyrogram/types/payments/wallet_staking_info.py +81 -0
  3685. pyrogram/types/payments/wallet_staking_prepared.py +50 -0
  3686. pyrogram/types/user_and_chats/__init__.py +26 -0
  3687. pyrogram/types/user_and_chats/bot_access_settings.py +48 -0
  3688. pyrogram/types/user_and_chats/chat.py +28 -1
  3689. pyrogram/types/user_and_chats/chat_member.py +19 -0
  3690. pyrogram/types/user_and_chats/chat_owner_changed.py +43 -0
  3691. pyrogram/types/user_and_chats/chat_owner_left.py +43 -0
  3692. pyrogram/types/user_and_chats/community_chat_joined.py +41 -0
  3693. pyrogram/types/user_and_chats/community_participant_chats.py +61 -0
  3694. pyrogram/types/user_and_chats/community_peer_link_request.py +68 -0
  3695. pyrogram/types/user_and_chats/community_peer_link_requests.py +67 -0
  3696. pyrogram/types/user_and_chats/dialog.py +7 -1
  3697. pyrogram/types/user_and_chats/forum_topic_updated.py +79 -0
  3698. pyrogram/types/user_and_chats/monoforum_dialog.py +98 -0
  3699. pyrogram/types/user_and_chats/no_paid_messages_token.py +53 -0
  3700. pyrogram/types/user_and_chats/paid_messages_waived.py +29 -0
  3701. pyrogram/types/user_and_chats/share_theme.py +65 -0
  3702. pyrogram/types/user_and_chats/user.py +6 -0
  3703. pyrogram/types/user_and_chats/web_browser_settings.py +63 -0
  3704. pyrogram/utils.py +11 -0
  3705. {pyrogrammod-2.4.1.dist-info → pyrogrammod-2.5.0b1.dist-info}/METADATA +3 -3
  3706. pyrogrammod-2.5.0b1.dist-info/RECORD +4153 -0
  3707. {pyrogrammod-2.4.1.dist-info → pyrogrammod-2.5.0b1.dist-info}/WHEEL +1 -1
  3708. pyrogram/enums/rich_block_type.py +0 -139
  3709. pyrogram/enums/rich_text_type.py +0 -112
  3710. pyrogram/methods/ephemeral/__init__.py +0 -21
  3711. pyrogram/methods/ephemeral/delete_ephemeral_message.py +0 -51
  3712. pyrogram/methods/ephemeral/edit_ephemeral_message_caption.py +0 -70
  3713. pyrogram/methods/ephemeral/edit_ephemeral_message_media.py +0 -59
  3714. pyrogram/methods/ephemeral/edit_ephemeral_message_reply_markup.py +0 -54
  3715. pyrogram/methods/ephemeral/edit_ephemeral_message_text.py +0 -70
  3716. pyrogram/methods/ephemeral/get_ephemeral_callback_answer.py +0 -45
  3717. pyrogram/methods/ephemeral/report_ephemeral_message.py +0 -50
  3718. pyrogram/methods/ephemeral/send_ephemeral_message.py +0 -60
  3719. pyrogram/methods/messages/compose_rich_message_with_ai.py +0 -51
  3720. pyrogram/methods/messages/send_rich_message.py +0 -108
  3721. pyrogram/methods/messages/send_rich_message_draft.py +0 -86
  3722. pyrogram/methods/messages/translate_rich_message.py +0 -50
  3723. pyrogram/raw/types/input_keyboard_button_url_auth.py +0 -126
  3724. pyrogram/raw/types/keyboard_button_callback.py +0 -109
  3725. pyrogram/raw/types/keyboard_button_request_peer.py +0 -119
  3726. pyrogram/raw/types/keyboard_button_url_auth.py +0 -120
  3727. pyrogram/types/input_message_content/input_rich_message_content.py +0 -52
  3728. pyrogram/types/messages_and_media/input_rich_message.py +0 -77
  3729. pyrogram/types/messages_and_media/rich_block.py +0 -485
  3730. pyrogram/types/messages_and_media/rich_text.py +0 -304
  3731. pyrogrammod-2.4.1.dist-info/RECORD +0 -3682
  3732. {pyrogrammod-2.4.1.dist-info → pyrogrammod-2.5.0b1.dist-info}/licenses/COPYING +0 -0
  3733. {pyrogrammod-2.4.1.dist-info → pyrogrammod-2.5.0b1.dist-info}/licenses/COPYING.lesser +0 -0
  3734. {pyrogrammod-2.4.1.dist-info → pyrogrammod-2.5.0b1.dist-info}/licenses/NOTICE +0 -0
pyrogram/__init__.py CHANGED
@@ -16,7 +16,7 @@
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
- __version__ = "2.4.1"
19
+ __version__ = "2.5.0b1"
20
20
  __license__ = "GNU Lesser General Public License v3.0 (LGPL-3.0)"
21
21
  __copyright__ = "Copyright (C) 2017-present Dan <https://github.com/delivrance>"
22
22
 
pyrogram/client.py CHANGED
@@ -69,6 +69,7 @@ from .file_id import FileId, FileType, ThumbnailSource
69
69
  from .mime_types import mime_types
70
70
  from .parser import Parser
71
71
  from .session.internals import MsgId
72
+ from .session.internals.request_pacer import DownloadRequestPacer
72
73
 
73
74
  log = logging.getLogger(__name__)
74
75
 
@@ -204,12 +205,13 @@ class Client(Methods):
204
205
  Defaults to 1.
205
206
 
206
207
  use_experimental_upload_boost (``bool``, *optional*):
207
- If True, uploads multiple file parts in parallel instead of sequentially.
208
- May significantly increase upload speed on fast connections. Defaults to False.
208
+ If True, refills upload requests as parts complete, with up to 2 MiB in flight.
209
+ Otherwise, uploads bounded batches. Defaults to False.
209
210
 
210
211
  use_experimental_download_boost (``bool``, *optional*):
211
- If True, downloads multiple file chunks in parallel instead of sequentially.
212
- May significantly increase download speed on fast connections. Defaults to False.
212
+ If True, uses paced parallel requests, keeping active and buffered chunks
213
+ within the download worker limit and sharing server-requested pauses.
214
+ Defaults to False.
213
215
  """
214
216
 
215
217
  APP_VERSION = f"PyrogramMod {__version__}"
@@ -638,9 +640,12 @@ class Client(Methods):
638
640
  force=False
639
641
  )
640
642
  )
643
+ if not isinstance(diff, raw.types.updates.ChannelDifferenceEmpty):
644
+ users.update({u.id: u for u in diff.users})
645
+ chats.update({c.id: c for c in diff.chats})
641
646
  break
642
647
  except (ChannelPrivate, PersistentTimestampOutdated, PersistentTimestampInvalid):
643
- pass
648
+ break
644
649
  except OSError as e:
645
650
  log.error(f"Connection error while fetching ChannelDifference: {e}. Retrying...")
646
651
  retries -= 1
@@ -648,10 +653,6 @@ class Client(Methods):
648
653
  log.error(f"Max retries reached for ChannelDifference: {e}")
649
654
  raise
650
655
  await asyncio.sleep(5)
651
- else:
652
- if not isinstance(diff, raw.types.updates.ChannelDifferenceEmpty):
653
- users.update({u.id: u for u in diff.users})
654
- chats.update({c.id: c for c in diff.chats})
655
656
 
656
657
  self.dispatcher.updates_queue.put_nowait((update, users, chats))
657
658
  elif isinstance(updates, (raw.types.UpdateShortMessage, raw.types.UpdateShortChatMessage)):
@@ -998,9 +999,11 @@ class Client(Methods):
998
999
  try:
999
1000
  async for chunk in self.get_file(file_id, file_size, 0, 0, progress, progress_args, workers, chunk_size, use_experimental_download_boost):
1000
1001
  file.write(chunk)
1002
+ if file_size and file.tell() != file_size:
1003
+ raise ValueError("Downloaded file size does not match the expected size")
1001
1004
  except BaseException as e:
1005
+ file.close()
1002
1006
  if not in_memory:
1003
- file.close()
1004
1007
  os.remove(temp_file_path)
1005
1008
 
1006
1009
  if isinstance(e, asyncio.CancelledError):
@@ -1116,6 +1119,10 @@ class Client(Methods):
1116
1119
  current = 0
1117
1120
  total = abs(limit) or (1 << 31) - 1
1118
1121
  offset_bytes = abs(offset) * chunk_size
1122
+ if file_size:
1123
+ total = min(total, max(0, (file_size - offset_bytes + chunk_size - 1) // chunk_size))
1124
+ if not total:
1125
+ return
1119
1126
 
1120
1127
  r = await session.invoke(
1121
1128
  raw.functions.upload.GetFile(
@@ -1130,10 +1137,14 @@ class Client(Methods):
1130
1137
  while True:
1131
1138
  chunk = r.bytes
1132
1139
 
1140
+ if file_size and len(chunk) != min(chunk_size, file_size - offset_bytes):
1141
+ raise ValueError("Downloaded file ended before its expected size")
1142
+ if not chunk:
1143
+ break
1133
1144
  yield chunk
1134
1145
 
1135
1146
  current += 1
1136
- offset_bytes += chunk_size
1147
+ offset_bytes += len(chunk)
1137
1148
 
1138
1149
  if progress:
1139
1150
  func = functools.partial(
@@ -1188,7 +1199,7 @@ class Client(Methods):
1188
1199
  )
1189
1200
  )
1190
1201
  except VolumeLocNotFound:
1191
- break
1202
+ raise
1192
1203
  else:
1193
1204
  continue
1194
1205
 
@@ -1219,10 +1230,14 @@ class Client(Methods):
1219
1230
  "h.hash == sha256(cdn_chunk).digest()"
1220
1231
  )
1221
1232
 
1233
+ if file_size and len(decrypted_chunk) != min(chunk_size, file_size - offset_bytes):
1234
+ raise ValueError("Downloaded file ended before its expected size")
1235
+ if not decrypted_chunk:
1236
+ break
1222
1237
  yield decrypted_chunk
1223
1238
 
1224
1239
  current += 1
1225
- offset_bytes += chunk_size
1240
+ offset_bytes += len(decrypted_chunk)
1226
1241
 
1227
1242
  if progress:
1228
1243
  func = functools.partial(
@@ -1243,12 +1258,17 @@ class Client(Methods):
1243
1258
  raise e
1244
1259
  finally:
1245
1260
  await cdn_session.stop()
1261
+ else:
1262
+ raise RuntimeError("Unexpected response type")
1246
1263
  else:
1247
- total = abs(limit) or file_size or (1 << 31) - 1
1248
- total_chunks = (total + chunk_size - 1) // chunk_size
1249
- next_chunk = 0
1250
- completed = 0
1251
- buffer = {}
1264
+ first_chunk = abs(offset)
1265
+ total_chunks = abs(limit) or (1 << 31) - 1
1266
+ if file_size:
1267
+ total_chunks = min(total_chunks, max(0, (file_size + chunk_size - 1) // chunk_size - first_chunk))
1268
+ next_chunk = first_chunk
1269
+ end_chunk = first_chunk + total_chunks
1270
+ workers = max(1, workers)
1271
+ pacer = DownloadRequestPacer()
1252
1272
 
1253
1273
  async def _fetch_chunk(idx: int):
1254
1274
  offset_bytes = idx * chunk_size
@@ -1258,7 +1278,8 @@ class Client(Methods):
1258
1278
  offset=offset_bytes,
1259
1279
  limit=chunk_size
1260
1280
  ),
1261
- sleep_threshold=5
1281
+ sleep_threshold=5,
1282
+ request_pacer=pacer
1262
1283
  )
1263
1284
 
1264
1285
  if isinstance(r, raw.types.upload.File):
@@ -1278,14 +1299,16 @@ class Client(Methods):
1278
1299
  file_token=r.file_token,
1279
1300
  offset=offset_bytes,
1280
1301
  limit=chunk_size
1281
- )
1302
+ ),
1303
+ request_pacer=pacer
1282
1304
  )
1283
1305
  if isinstance(r2, raw.types.upload.CdnFileReuploadNeeded):
1284
1306
  await session.invoke(
1285
1307
  raw.functions.upload.ReuploadCdnFile(
1286
1308
  file_token=r.file_token,
1287
1309
  request_token=r2.request_token
1288
- )
1310
+ ),
1311
+ request_pacer=pacer
1289
1312
  )
1290
1313
  return await _fetch_chunk(idx)
1291
1314
 
@@ -1302,7 +1325,8 @@ class Client(Methods):
1302
1325
  raw.functions.upload.GetCdnFileHashes(
1303
1326
  file_token=r.file_token,
1304
1327
  offset=offset_bytes
1305
- )
1328
+ ),
1329
+ request_pacer=pacer
1306
1330
  )
1307
1331
  for i, h in enumerate(hashes):
1308
1332
  cdn_chunk = decrypted_chunk[h.limit * i: h.limit * (i + 1)]
@@ -1316,33 +1340,69 @@ class Client(Methods):
1316
1340
 
1317
1341
  raise RuntimeError("Unexpected response type")
1318
1342
 
1319
- # Loop principale parallelo
1320
- while completed < total_chunks:
1321
- tasks = []
1322
- for _ in range(min(workers, total_chunks - next_chunk)):
1323
- tasks.append(asyncio.create_task(_fetch_chunk(next_chunk)))
1324
- next_chunk += 1
1325
-
1326
- for coro in asyncio.as_completed(tasks):
1327
- idx, data = await coro
1328
- buffer[idx] = data
1329
-
1330
- while completed in buffer:
1331
- chunk = buffer.pop(completed)
1332
- yield chunk
1333
- completed += 1
1343
+ tasks = {}
1344
+ buffer = {}
1345
+ next_request = first_chunk
1346
+ try:
1347
+ while next_chunk < end_chunk:
1348
+ while next_request < end_chunk and len(tasks) + len(buffer) < workers:
1349
+ tasks[asyncio.create_task(_fetch_chunk(next_request))] = next_request
1350
+ next_request += 1
1351
+
1352
+ done, pending = await asyncio.wait(tasks, return_when=asyncio.FIRST_COMPLETED)
1353
+ del pending
1354
+ # Discover EOF before handling failures from speculative requests beyond it.
1355
+ for task in done:
1356
+ if not task.cancelled() and task.exception() is None:
1357
+ idx, data = task.result()
1358
+ if file_size and len(data) != min(chunk_size, file_size - idx * chunk_size):
1359
+ raise ValueError("Downloaded file ended before its expected size")
1360
+ if not file_size and len(data) < chunk_size:
1361
+ end_chunk = min(end_chunk, idx + 1)
1362
+ del data
1363
+
1364
+ outside = {task for task, idx in tasks.items() if idx >= end_chunk}
1365
+ for task in outside:
1366
+ if not task.done():
1367
+ task.cancel()
1368
+ await asyncio.gather(*outside, return_exceptions=True)
1369
+ for task in outside:
1370
+ del tasks[task]
1371
+ done.difference_update(outside)
1372
+ buffer = {idx: data for idx, data in buffer.items() if idx < end_chunk}
1373
+ for task in done:
1374
+ idx, data = task.result()
1375
+ buffer[idx] = data
1376
+ del tasks[task]
1377
+ del done, outside, task, data
1378
+
1379
+ while next_chunk in buffer:
1380
+ chunk = buffer.pop(next_chunk)
1381
+ offset_bytes = next_chunk * chunk_size
1382
+ if not chunk:
1383
+ return
1384
+ yield chunk
1385
+ next_chunk += 1
1334
1386
 
1335
- if progress and (completed * chunk_size) % (5 * 1024 * 1024) == 0:
1336
- func = functools.partial(
1337
- progress,
1338
- min(completed * chunk_size, file_size) if file_size else completed * chunk_size,
1339
- file_size,
1340
- *progress_args
1341
- )
1342
- if inspect.iscoroutinefunction(progress):
1343
- await func()
1344
- else:
1345
- await self.loop.run_in_executor(self.executor, func)
1387
+ if progress:
1388
+ func = functools.partial(
1389
+ progress,
1390
+ offset_bytes + len(chunk),
1391
+ file_size,
1392
+ *progress_args
1393
+ )
1394
+ if inspect.iscoroutinefunction(progress):
1395
+ await func()
1396
+ else:
1397
+ await self.loop.run_in_executor(self.executor, func)
1398
+ if len(chunk) < chunk_size:
1399
+ return
1400
+ del chunk
1401
+ finally:
1402
+ for task in tasks:
1403
+ if not task.done():
1404
+ task.cancel()
1405
+ await asyncio.gather(*tasks, return_exceptions=True)
1346
1406
 
1347
1407
  except pyrogram.StopTransmission:
1348
1408
  raise
@@ -1350,6 +1410,7 @@ class Client(Methods):
1350
1410
  raise
1351
1411
  except Exception as e:
1352
1412
  log.exception(e)
1413
+ raise
1353
1414
 
1354
1415
  def guess_mime_type(self, filename: str) -> Optional[str]:
1355
1416
  return self.mimetypes.guess_type(filename)[0]
pyrogram/dispatcher.py CHANGED
@@ -27,7 +27,8 @@ from pyrogram.handlers import (
27
27
  CallbackQueryHandler, MessageHandler, EditedMessageHandler, DeletedMessagesHandler,
28
28
  UserStatusHandler, RawUpdateHandler, InlineQueryHandler, PollHandler,
29
29
  ChosenInlineResultHandler, ChatMemberUpdatedHandler, ChatJoinRequestHandler,
30
- GuardBotQueryHandler,
30
+ GuardBotQueryHandler, WidgetQueryHandler, WidgetDataHandler, TranscriptionHandler, ForumTopicUpdatedHandler,
31
+ BotStarsSubscriptionHandler, FeedSettingsHandler, SimBindStateHandler, EphemeralMessageHandler, EditedEphemeralMessageHandler,
31
32
  )
32
33
  from pyrogram.raw.types import (
33
34
  UpdateNewMessage, UpdateNewChannelMessage, UpdateNewScheduledMessage,
@@ -37,6 +38,11 @@ from pyrogram.raw.types import (
37
38
  UpdateUserStatus, UpdateBotInlineQuery, UpdateMessagePoll,
38
39
  UpdateBotInlineSend, UpdateChatParticipant, UpdateChannelParticipant,
39
40
  UpdateBotChatInviteRequester, UpdateBotGuestChatQuery,
41
+ UpdateBotStarsSubscription,
42
+ UpdateBotWidgetQuery, UpdateInlineBotWidgetQuery, UpdateBotWidgetCopyQuery, UpdateBotProfileWidgetQuery,
43
+ UpdateBotProfileWidgetData,
44
+ UpdateMessageWidgetData, UpdateTranscribedAudio, UpdateTranscribedAudioFile, UpdateEditForumTopic,
45
+ UpdateForYouSettings, UpdateSimBindState, UpdateNewEphemeralMessage, UpdateEditEphemeralMessage,
40
46
  )
41
47
 
42
48
  log = logging.getLogger(__name__)
@@ -54,6 +60,15 @@ class Dispatcher:
54
60
  CHOSEN_INLINE_RESULT_UPDATES = (UpdateBotInlineSend,)
55
61
  CHAT_JOIN_REQUEST_UPDATES = (UpdateBotChatInviteRequester,)
56
62
  GUARD_BOT_QUERY_UPDATES = (UpdateBotGuestChatQuery,)
63
+ WIDGET_QUERY_UPDATES = (UpdateBotWidgetQuery, UpdateInlineBotWidgetQuery, UpdateBotWidgetCopyQuery, UpdateBotProfileWidgetQuery)
64
+ WIDGET_DATA_UPDATES = (UpdateMessageWidgetData, UpdateBotProfileWidgetData)
65
+ TRANSCRIPTION_UPDATES = (UpdateTranscribedAudio, UpdateTranscribedAudioFile)
66
+ FORUM_TOPIC_UPDATES = (UpdateEditForumTopic,)
67
+ BOT_STARS_SUBSCRIPTION_UPDATES = (UpdateBotStarsSubscription,)
68
+ FEED_SETTINGS_UPDATES = (UpdateForYouSettings,)
69
+ EPHEMERAL_MESSAGE_UPDATES = (UpdateNewEphemeralMessage,)
70
+ EDITED_EPHEMERAL_MESSAGE_UPDATES = (UpdateEditEphemeralMessage,)
71
+ SIM_BIND_STATE_UPDATES = (UpdateSimBindState,)
57
72
 
58
73
  def __init__(self, client: "pyrogram.Client"):
59
74
  self.client = client
@@ -135,6 +150,60 @@ class Dispatcher:
135
150
  GuardBotQueryHandler,
136
151
  )
137
152
 
153
+ async def widget_query_parser(update, users, chats):
154
+ return (
155
+ pyrogram.types.WidgetQuery._parse(self.client, update, users, chats),
156
+ WidgetQueryHandler
157
+ )
158
+
159
+ async def widget_data_parser(update, users, chats):
160
+ return (
161
+ pyrogram.types.WidgetDataUpdate._parse(self.client, update, users, chats),
162
+ WidgetDataHandler
163
+ )
164
+
165
+ async def transcription_parser(update, users, chats):
166
+ return (
167
+ pyrogram.types.TranscriptionUpdate._parse(self.client, update, users, chats),
168
+ TranscriptionHandler
169
+ )
170
+
171
+ async def forum_topic_parser(update, users, chats):
172
+ return (
173
+ pyrogram.types.ForumTopicUpdated._parse(self.client, update, users, chats),
174
+ ForumTopicUpdatedHandler
175
+ )
176
+
177
+ async def bot_stars_subscription_parser(update, users, chats):
178
+ return (
179
+ pyrogram.types.BotStarsSubscription._parse(self.client, update),
180
+ BotStarsSubscriptionHandler,
181
+ )
182
+
183
+ async def feed_settings_parser(update, users, chats):
184
+ return (
185
+ pyrogram.types.FeedSettings._parse(update.settings),
186
+ FeedSettingsHandler
187
+ )
188
+
189
+ async def ephemeral_message_parser(update, users, chats):
190
+ return (
191
+ await pyrogram.types.EphemeralMessage._parse(self.client, update.message, users, chats),
192
+ EphemeralMessageHandler
193
+ )
194
+
195
+ async def edited_ephemeral_message_parser(update, users, chats):
196
+ return (
197
+ await pyrogram.types.EphemeralMessage._parse(self.client, update.message, users, chats),
198
+ EditedEphemeralMessageHandler
199
+ )
200
+
201
+ async def sim_bind_state_parser(update, users, chats):
202
+ return (
203
+ pyrogram.types.SimBindState._parse(update.state),
204
+ SimBindStateHandler
205
+ )
206
+
138
207
  self.update_parsers = {
139
208
  Dispatcher.NEW_MESSAGE_UPDATES: message_parser,
140
209
  Dispatcher.EDIT_MESSAGE_UPDATES: edited_message_parser,
@@ -147,6 +216,15 @@ class Dispatcher:
147
216
  Dispatcher.CHAT_MEMBER_UPDATES: chat_member_updated_parser,
148
217
  Dispatcher.CHAT_JOIN_REQUEST_UPDATES: chat_join_request_parser,
149
218
  Dispatcher.GUARD_BOT_QUERY_UPDATES: guard_bot_query_parser,
219
+ Dispatcher.WIDGET_QUERY_UPDATES: widget_query_parser,
220
+ Dispatcher.WIDGET_DATA_UPDATES: widget_data_parser,
221
+ Dispatcher.TRANSCRIPTION_UPDATES: transcription_parser,
222
+ Dispatcher.FORUM_TOPIC_UPDATES: forum_topic_parser,
223
+ Dispatcher.BOT_STARS_SUBSCRIPTION_UPDATES: bot_stars_subscription_parser,
224
+ Dispatcher.FEED_SETTINGS_UPDATES: feed_settings_parser,
225
+ Dispatcher.EPHEMERAL_MESSAGE_UPDATES: ephemeral_message_parser,
226
+ Dispatcher.EDITED_EPHEMERAL_MESSAGE_UPDATES: edited_ephemeral_message_parser,
227
+ Dispatcher.SIM_BIND_STATE_UPDATES: sim_bind_state_parser,
150
228
  }
151
229
 
152
230
  self.update_parsers = {key: value for key_tuple, value in self.update_parsers.items() for key in key_tuple}
@@ -28,8 +28,6 @@ from .messages_filter import MessagesFilter
28
28
  from .next_code_type import NextCodeType
29
29
  from .parse_mode import ParseMode
30
30
  from .poll_type import PollType
31
- from .rich_block_type import RichBlockType
32
- from .rich_text_type import RichTextType
33
31
  from .sent_code_type import SentCodeType
34
32
  from .user_status import UserStatus
35
33
 
@@ -46,8 +44,6 @@ __all__ = [
46
44
  'NextCodeType',
47
45
  'ParseMode',
48
46
  'PollType',
49
- 'RichBlockType',
50
- 'RichTextType',
51
47
  'SentCodeType',
52
48
  'UserStatus',
53
49
  ]
@@ -77,5 +77,8 @@ class ChatAction(AutoName):
77
77
  TEXT_DRAFT = raw.types.SendMessageTextDraftAction
78
78
  "Streaming text draft"
79
79
 
80
+ STOP_DRAFT = raw.types.SendMessageStopDraftAction
81
+ "Stop streaming text draft"
82
+
80
83
  CANCEL = raw.types.SendMessageCancelAction
81
84
  "Cancel ongoing chat action"
@@ -77,6 +77,9 @@ class MessageEntityType(AutoName):
77
77
  BANK_CARD = raw.types.MessageEntityBankCard
78
78
  "Bank card text"
79
79
 
80
+ TON_ADDRESS = raw.types.MessageEntityTonAddress
81
+ "TON wallet address"
82
+
80
83
  CUSTOM_EMOJI = raw.types.MessageEntityCustomEmoji
81
84
  "Custom emoji"
82
85
 
@@ -74,3 +74,6 @@ class MessageMediaType(AutoName):
74
74
 
75
75
  GIVEAWAY = auto()
76
76
  "Giveaway media"
77
+
78
+ WIDGET = auto()
79
+ "Widget media"
@@ -83,3 +83,12 @@ class MessageServiceType(AutoName):
83
83
 
84
84
  CHANGE_CREATOR = auto()
85
85
  "Creator changed"
86
+
87
+ BOT_INVITE = auto()
88
+ "Bot invited to a private chat by its owner"
89
+
90
+ PAID_MESSAGES_WAIVED = auto()
91
+ "Paid messages waived for the other user"
92
+
93
+ COMMUNITY_CHAT_JOINED = auto()
94
+ "User joined the chat through a community"
@@ -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
- from .not_acceptable_406 import *
20
19
  from .flood_420 import *
21
- from .unauthorized_401 import *
22
20
  from .forbidden_403 import *
21
+ from .see_other_303 import *
22
+ from .bad_request_400 import *
23
+ from .not_acceptable_406 import *
24
+ from .unauthorized_401 import *
23
25
  from .service_unavailable_503 import *
24
26
  from .internal_server_error_500 import *
25
- from .bad_request_400 import *
26
- from .see_other_303 import *