electrogram 1.184.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3066) hide show
  1. electrogram-1.184.0.dist-info/METADATA +27 -0
  2. electrogram-1.184.0.dist-info/RECORD +3066 -0
  3. electrogram-1.184.0.dist-info/WHEEL +4 -0
  4. electrogram-1.184.0.dist-info/licenses/LICENSE +21 -0
  5. pyrogram/__init__.py +37 -0
  6. pyrogram/client.py +903 -0
  7. pyrogram/connection/__init__.py +5 -0
  8. pyrogram/connection/connection.py +59 -0
  9. pyrogram/connection/transport/__init__.py +11 -0
  10. pyrogram/connection/transport/tcp/__init__.py +16 -0
  11. pyrogram/connection/transport/tcp/tcp.py +149 -0
  12. pyrogram/connection/transport/tcp/tcp_abridged.py +39 -0
  13. pyrogram/connection/transport/tcp/tcp_abridged_o.py +68 -0
  14. pyrogram/connection/transport/tcp/tcp_full.py +46 -0
  15. pyrogram/connection/transport/tcp/tcp_intermediate.py +27 -0
  16. pyrogram/connection/transport/tcp/tcp_intermediate_o.py +61 -0
  17. pyrogram/crypto/__init__.py +0 -0
  18. pyrogram/crypto/aes.py +20 -0
  19. pyrogram/crypto/mtproto.py +75 -0
  20. pyrogram/crypto/prime.py +59 -0
  21. pyrogram/crypto/rsa.py +147 -0
  22. pyrogram/dispatcher.py +280 -0
  23. pyrogram/emoji.py +4001 -0
  24. pyrogram/enums/__init__.py +39 -0
  25. pyrogram/enums/auto_name.py +9 -0
  26. pyrogram/enums/chat_action.py +22 -0
  27. pyrogram/enums/chat_event_action.py +32 -0
  28. pyrogram/enums/chat_member_status.py +10 -0
  29. pyrogram/enums/chat_members_filter.py +10 -0
  30. pyrogram/enums/chat_type.py +9 -0
  31. pyrogram/enums/client_platform.py +13 -0
  32. pyrogram/enums/listerner_types.py +6 -0
  33. pyrogram/enums/message_entity_type.py +26 -0
  34. pyrogram/enums/message_media_type.py +22 -0
  35. pyrogram/enums/message_service_type.py +34 -0
  36. pyrogram/enums/messages_filter.py +21 -0
  37. pyrogram/enums/next_code_type.py +9 -0
  38. pyrogram/enums/parse_mode.py +8 -0
  39. pyrogram/enums/profile_color.py +19 -0
  40. pyrogram/enums/reaction_type.py +7 -0
  41. pyrogram/enums/reply_color.py +25 -0
  42. pyrogram/enums/sent_code_type.py +11 -0
  43. pyrogram/enums/user_status.py +10 -0
  44. pyrogram/errors/__init__.py +40 -0
  45. pyrogram/errors/exceptions/__init__.py +10 -0
  46. pyrogram/errors/exceptions/all.py +634 -0
  47. pyrogram/errors/exceptions/bad_request_400.py +3273 -0
  48. pyrogram/errors/exceptions/flood_420.py +67 -0
  49. pyrogram/errors/exceptions/forbidden_403.py +326 -0
  50. pyrogram/errors/exceptions/internal_server_error_500.py +340 -0
  51. pyrogram/errors/exceptions/not_acceptable_406.py +158 -0
  52. pyrogram/errors/exceptions/see_other_303.py +46 -0
  53. pyrogram/errors/exceptions/service_unavailable_503.py +32 -0
  54. pyrogram/errors/exceptions/unauthorized_401.py +74 -0
  55. pyrogram/errors/rpc_error.py +84 -0
  56. pyrogram/file_id.py +412 -0
  57. pyrogram/filters.py +674 -0
  58. pyrogram/handlers/__init__.py +31 -0
  59. pyrogram/handlers/callback_query_handler.py +6 -0
  60. pyrogram/handlers/chat_join_request_handler.py +6 -0
  61. pyrogram/handlers/chat_member_updated_handler.py +6 -0
  62. pyrogram/handlers/chosen_inline_result_handler.py +6 -0
  63. pyrogram/handlers/conversation_handler.py +49 -0
  64. pyrogram/handlers/deleted_messages_handler.py +16 -0
  65. pyrogram/handlers/disconnect_handler.py +6 -0
  66. pyrogram/handlers/edited_message_handler.py +6 -0
  67. pyrogram/handlers/handler.py +23 -0
  68. pyrogram/handlers/inline_query_handler.py +6 -0
  69. pyrogram/handlers/message_handler.py +6 -0
  70. pyrogram/handlers/message_reaction_count_updated_handler.py +7 -0
  71. pyrogram/handlers/message_reaction_updated_handler.py +7 -0
  72. pyrogram/handlers/raw_update_handler.py +6 -0
  73. pyrogram/handlers/user_status_handler.py +6 -0
  74. pyrogram/methods/__init__.py +29 -0
  75. pyrogram/methods/advanced/__init__.py +11 -0
  76. pyrogram/methods/advanced/invoke.py +38 -0
  77. pyrogram/methods/advanced/resolve_peer.py +86 -0
  78. pyrogram/methods/advanced/save_file.py +174 -0
  79. pyrogram/methods/auth/__init__.py +35 -0
  80. pyrogram/methods/auth/accept_terms_of_service.py +18 -0
  81. pyrogram/methods/auth/check_password.py +28 -0
  82. pyrogram/methods/auth/connect.py +23 -0
  83. pyrogram/methods/auth/disconnect.py +16 -0
  84. pyrogram/methods/auth/get_password_hint.py +13 -0
  85. pyrogram/methods/auth/initialize.py +25 -0
  86. pyrogram/methods/auth/log_out.py +17 -0
  87. pyrogram/methods/auth/recover_password.py +24 -0
  88. pyrogram/methods/auth/resend_code.py +25 -0
  89. pyrogram/methods/auth/send_code.py +46 -0
  90. pyrogram/methods/auth/send_recovery_code.py +15 -0
  91. pyrogram/methods/auth/sign_in.py +37 -0
  92. pyrogram/methods/auth/sign_in_bot.py +47 -0
  93. pyrogram/methods/auth/sign_up.py +32 -0
  94. pyrogram/methods/auth/terminate.py +35 -0
  95. pyrogram/methods/bots/__init__.py +35 -0
  96. pyrogram/methods/bots/answer_callback_query.py +22 -0
  97. pyrogram/methods/bots/answer_inline_query.py +33 -0
  98. pyrogram/methods/bots/answer_web_app_query.py +19 -0
  99. pyrogram/methods/bots/delete_bot_commands.py +16 -0
  100. pyrogram/methods/bots/get_bot_commands.py +20 -0
  101. pyrogram/methods/bots/get_bot_default_privileges.py +23 -0
  102. pyrogram/methods/bots/get_bot_info.py +17 -0
  103. pyrogram/methods/bots/get_chat_menu_button.py +38 -0
  104. pyrogram/methods/bots/get_inline_bot_results.py +34 -0
  105. pyrogram/methods/bots/request_callback_answer.py +33 -0
  106. pyrogram/methods/bots/send_inline_bot_result.py +39 -0
  107. pyrogram/methods/bots/set_bot_commands.py +21 -0
  108. pyrogram/methods/bots/set_bot_default_privileges.py +32 -0
  109. pyrogram/methods/bots/set_bot_info.py +20 -0
  110. pyrogram/methods/bots/set_chat_menu_button.py +24 -0
  111. pyrogram/methods/chats/__init__.py +109 -0
  112. pyrogram/methods/chats/add_chat_members.py +39 -0
  113. pyrogram/methods/chats/archive_chats.py +31 -0
  114. pyrogram/methods/chats/ban_chat_member.py +56 -0
  115. pyrogram/methods/chats/close_forum_topic.py +19 -0
  116. pyrogram/methods/chats/close_general_topic.py +18 -0
  117. pyrogram/methods/chats/create_channel.py +20 -0
  118. pyrogram/methods/chats/create_forum_topic.py +25 -0
  119. pyrogram/methods/chats/create_group.py +24 -0
  120. pyrogram/methods/chats/create_supergroup.py +20 -0
  121. pyrogram/methods/chats/delete_channel.py +18 -0
  122. pyrogram/methods/chats/delete_chat_photo.py +31 -0
  123. pyrogram/methods/chats/delete_forum_topic.py +22 -0
  124. pyrogram/methods/chats/delete_supergroup.py +18 -0
  125. pyrogram/methods/chats/delete_user_history.py +20 -0
  126. pyrogram/methods/chats/edit_forum_topic.py +22 -0
  127. pyrogram/methods/chats/edit_general_topic.py +19 -0
  128. pyrogram/methods/chats/get_chat.py +43 -0
  129. pyrogram/methods/chats/get_chat_event_log.py +51 -0
  130. pyrogram/methods/chats/get_chat_member.py +52 -0
  131. pyrogram/methods/chats/get_chat_members.py +93 -0
  132. pyrogram/methods/chats/get_chat_members_count.py +31 -0
  133. pyrogram/methods/chats/get_chat_online_count.py +16 -0
  134. pyrogram/methods/chats/get_dialogs.py +71 -0
  135. pyrogram/methods/chats/get_dialogs_count.py +26 -0
  136. pyrogram/methods/chats/get_forum_topics.py +24 -0
  137. pyrogram/methods/chats/get_forum_topics_by_id.py +43 -0
  138. pyrogram/methods/chats/get_nearby_chats.py +39 -0
  139. pyrogram/methods/chats/get_send_as_chats.py +30 -0
  140. pyrogram/methods/chats/hide_general_topic.py +18 -0
  141. pyrogram/methods/chats/join_chat.py +32 -0
  142. pyrogram/methods/chats/leave_chat.py +37 -0
  143. pyrogram/methods/chats/mark_chat_unread.py +17 -0
  144. pyrogram/methods/chats/pin_chat_message.py +30 -0
  145. pyrogram/methods/chats/promote_chat_member.py +59 -0
  146. pyrogram/methods/chats/reopen_forum_topic.py +19 -0
  147. pyrogram/methods/chats/reopen_general_topic.py +18 -0
  148. pyrogram/methods/chats/restrict_chat_member.py +133 -0
  149. pyrogram/methods/chats/set_administrator_title.py +40 -0
  150. pyrogram/methods/chats/set_chat_description.py +25 -0
  151. pyrogram/methods/chats/set_chat_permissions.py +129 -0
  152. pyrogram/methods/chats/set_chat_photo.py +55 -0
  153. pyrogram/methods/chats/set_chat_protected_content.py +20 -0
  154. pyrogram/methods/chats/set_chat_title.py +32 -0
  155. pyrogram/methods/chats/set_chat_username.py +25 -0
  156. pyrogram/methods/chats/set_send_as_chat.py +18 -0
  157. pyrogram/methods/chats/set_slow_mode.py +20 -0
  158. pyrogram/methods/chats/unarchive_chats.py +31 -0
  159. pyrogram/methods/chats/unban_chat_member.py +23 -0
  160. pyrogram/methods/chats/unhide_general_topic.py +18 -0
  161. pyrogram/methods/chats/unpin_all_chat_messages.py +18 -0
  162. pyrogram/methods/chats/unpin_chat_message.py +21 -0
  163. pyrogram/methods/chats/update_color.py +33 -0
  164. pyrogram/methods/contacts/__init__.py +15 -0
  165. pyrogram/methods/contacts/add_contact.py +27 -0
  166. pyrogram/methods/contacts/delete_contacts.py +28 -0
  167. pyrogram/methods/contacts/get_contacts.py +16 -0
  168. pyrogram/methods/contacts/get_contacts_count.py +9 -0
  169. pyrogram/methods/contacts/import_contacts.py +19 -0
  170. pyrogram/methods/decorators/__init__.py +30 -0
  171. pyrogram/methods/decorators/on_callback_query.py +29 -0
  172. pyrogram/methods/decorators/on_chat_join_request.py +29 -0
  173. pyrogram/methods/decorators/on_chat_member_updated.py +29 -0
  174. pyrogram/methods/decorators/on_chosen_inline_result.py +29 -0
  175. pyrogram/methods/decorators/on_deleted_messages.py +29 -0
  176. pyrogram/methods/decorators/on_disconnect.py +19 -0
  177. pyrogram/methods/decorators/on_edited_message.py +29 -0
  178. pyrogram/methods/decorators/on_inline_query.py +29 -0
  179. pyrogram/methods/decorators/on_message.py +29 -0
  180. pyrogram/methods/decorators/on_message_reaction_count_updated.py +29 -0
  181. pyrogram/methods/decorators/on_message_reaction_updated.py +30 -0
  182. pyrogram/methods/decorators/on_raw_update.py +27 -0
  183. pyrogram/methods/decorators/on_user_status.py +29 -0
  184. pyrogram/methods/invite_links/__init__.py +39 -0
  185. pyrogram/methods/invite_links/approve_all_chat_join_requests.py +21 -0
  186. pyrogram/methods/invite_links/approve_chat_join_request.py +21 -0
  187. pyrogram/methods/invite_links/create_chat_invite_link.py +28 -0
  188. pyrogram/methods/invite_links/decline_all_chat_join_requests.py +21 -0
  189. pyrogram/methods/invite_links/decline_chat_join_request.py +21 -0
  190. pyrogram/methods/invite_links/delete_chat_admin_invite_links.py +18 -0
  191. pyrogram/methods/invite_links/delete_chat_invite_link.py +18 -0
  192. pyrogram/methods/invite_links/edit_chat_invite_link.py +32 -0
  193. pyrogram/methods/invite_links/export_chat_invite_link.py +20 -0
  194. pyrogram/methods/invite_links/get_chat_admin_invite_links.py +49 -0
  195. pyrogram/methods/invite_links/get_chat_admin_invite_links_count.py +23 -0
  196. pyrogram/methods/invite_links/get_chat_admins_with_invite_links.py +23 -0
  197. pyrogram/methods/invite_links/get_chat_invite_link.py +23 -0
  198. pyrogram/methods/invite_links/get_chat_invite_link_joiners.py +47 -0
  199. pyrogram/methods/invite_links/get_chat_invite_link_joiners_count.py +23 -0
  200. pyrogram/methods/invite_links/get_chat_join_requests.py +48 -0
  201. pyrogram/methods/invite_links/revoke_chat_invite_link.py +30 -0
  202. pyrogram/methods/messages/__init__.py +91 -0
  203. pyrogram/methods/messages/copy_media_group.py +81 -0
  204. pyrogram/methods/messages/copy_message.py +49 -0
  205. pyrogram/methods/messages/delete_messages.py +32 -0
  206. pyrogram/methods/messages/download_media.py +88 -0
  207. pyrogram/methods/messages/edit_inline_caption.py +20 -0
  208. pyrogram/methods/messages/edit_inline_media.py +188 -0
  209. pyrogram/methods/messages/edit_inline_reply_markup.py +25 -0
  210. pyrogram/methods/messages/edit_inline_text.py +32 -0
  211. pyrogram/methods/messages/edit_message_caption.py +26 -0
  212. pyrogram/methods/messages/edit_message_media.py +226 -0
  213. pyrogram/methods/messages/edit_message_reply_markup.py +29 -0
  214. pyrogram/methods/messages/edit_message_text.py +38 -0
  215. pyrogram/methods/messages/forward_messages.py +54 -0
  216. pyrogram/methods/messages/get_available_effects.py +28 -0
  217. pyrogram/methods/messages/get_chat_history.py +74 -0
  218. pyrogram/methods/messages/get_chat_history_count.py +31 -0
  219. pyrogram/methods/messages/get_custom_emoji_stickers.py +28 -0
  220. pyrogram/methods/messages/get_discussion_message.py +24 -0
  221. pyrogram/methods/messages/get_discussion_replies.py +46 -0
  222. pyrogram/methods/messages/get_discussion_replies_count.py +27 -0
  223. pyrogram/methods/messages/get_media_group.py +30 -0
  224. pyrogram/methods/messages/get_messages.py +48 -0
  225. pyrogram/methods/messages/inline_session.py +46 -0
  226. pyrogram/methods/messages/read_chat_history.py +28 -0
  227. pyrogram/methods/messages/search_global.py +58 -0
  228. pyrogram/methods/messages/search_global_count.py +27 -0
  229. pyrogram/methods/messages/search_messages.py +77 -0
  230. pyrogram/methods/messages/search_messages_count.py +39 -0
  231. pyrogram/methods/messages/send_animation.py +159 -0
  232. pyrogram/methods/messages/send_audio.py +131 -0
  233. pyrogram/methods/messages/send_cached_media.py +78 -0
  234. pyrogram/methods/messages/send_chat_action.py +69 -0
  235. pyrogram/methods/messages/send_contact.py +72 -0
  236. pyrogram/methods/messages/send_document.py +120 -0
  237. pyrogram/methods/messages/send_media_group.py +395 -0
  238. pyrogram/methods/messages/send_message.py +101 -0
  239. pyrogram/methods/messages/send_photo.py +115 -0
  240. pyrogram/methods/messages/send_reaction.py +53 -0
  241. pyrogram/methods/messages/send_sticker.py +111 -0
  242. pyrogram/methods/messages/send_video.py +145 -0
  243. pyrogram/methods/messages/send_video_note.py +125 -0
  244. pyrogram/methods/messages/send_voice.py +119 -0
  245. pyrogram/methods/messages/send_web_page.py +103 -0
  246. pyrogram/methods/messages/stream_media.py +46 -0
  247. pyrogram/methods/password/__init__.py +11 -0
  248. pyrogram/methods/password/change_cloud_password.py +35 -0
  249. pyrogram/methods/password/enable_cloud_password.py +36 -0
  250. pyrogram/methods/password/remove_cloud_password.py +27 -0
  251. pyrogram/methods/stickers/__init__.py +10 -0
  252. pyrogram/methods/stickers/add_sticker_to_set.py +40 -0
  253. pyrogram/methods/stickers/create_sticker_set.py +50 -0
  254. pyrogram/methods/stickers/get_sticker_set.py +18 -0
  255. pyrogram/methods/users/__init__.py +35 -0
  256. pyrogram/methods/users/block_user.py +18 -0
  257. pyrogram/methods/users/delete_profile_photos.py +21 -0
  258. pyrogram/methods/users/get_chat_photos.py +117 -0
  259. pyrogram/methods/users/get_chat_photos_count.py +36 -0
  260. pyrogram/methods/users/get_common_chats.py +26 -0
  261. pyrogram/methods/users/get_default_emoji_statuses.py +16 -0
  262. pyrogram/methods/users/get_me.py +18 -0
  263. pyrogram/methods/users/get_users.py +29 -0
  264. pyrogram/methods/users/set_emoji_status.py +22 -0
  265. pyrogram/methods/users/set_profile_photo.py +21 -0
  266. pyrogram/methods/users/set_username.py +18 -0
  267. pyrogram/methods/users/unblock_user.py +18 -0
  268. pyrogram/methods/users/update_birthday.py +18 -0
  269. pyrogram/methods/users/update_personal_chat.py +15 -0
  270. pyrogram/methods/users/update_profile.py +20 -0
  271. pyrogram/methods/utilities/__init__.py +23 -0
  272. pyrogram/methods/utilities/add_handler.py +17 -0
  273. pyrogram/methods/utilities/compose.py +24 -0
  274. pyrogram/methods/utilities/export_session_string.py +8 -0
  275. pyrogram/methods/utilities/idle.py +30 -0
  276. pyrogram/methods/utilities/remove_handler.py +15 -0
  277. pyrogram/methods/utilities/restart.py +18 -0
  278. pyrogram/methods/utilities/run.py +26 -0
  279. pyrogram/methods/utilities/run_sync.py +8 -0
  280. pyrogram/methods/utilities/start.py +31 -0
  281. pyrogram/methods/utilities/stop.py +18 -0
  282. pyrogram/methods/utilities/stop_transmission.py +7 -0
  283. pyrogram/mime_types.py +1861 -0
  284. pyrogram/parser/__init__.py +3 -0
  285. pyrogram/parser/html.py +215 -0
  286. pyrogram/parser/markdown.py +212 -0
  287. pyrogram/parser/parser.py +43 -0
  288. pyrogram/parser/utils.py +20 -0
  289. pyrogram/py.typed +0 -0
  290. pyrogram/raw/__init__.py +8 -0
  291. pyrogram/raw/all.py +2039 -0
  292. pyrogram/raw/base/__init__.py +351 -0
  293. pyrogram/raw/base/access_point_rule.py +35 -0
  294. pyrogram/raw/base/account/__init__.py +29 -0
  295. pyrogram/raw/base/account/authorization_form.py +44 -0
  296. pyrogram/raw/base/account/authorizations.py +44 -0
  297. pyrogram/raw/base/account/auto_download_settings.py +44 -0
  298. pyrogram/raw/base/account/auto_save_settings.py +44 -0
  299. pyrogram/raw/base/account/business_chat_links.py +44 -0
  300. pyrogram/raw/base/account/connected_bots.py +44 -0
  301. pyrogram/raw/base/account/content_settings.py +44 -0
  302. pyrogram/raw/base/account/email_verified.py +45 -0
  303. pyrogram/raw/base/account/emoji_statuses.py +47 -0
  304. pyrogram/raw/base/account/password.py +44 -0
  305. pyrogram/raw/base/account/password_input_settings.py +34 -0
  306. pyrogram/raw/base/account/password_settings.py +44 -0
  307. pyrogram/raw/base/account/privacy_rules.py +45 -0
  308. pyrogram/raw/base/account/reset_password_result.py +46 -0
  309. pyrogram/raw/base/account/resolved_business_chat_links.py +44 -0
  310. pyrogram/raw/base/account/saved_ringtone.py +45 -0
  311. pyrogram/raw/base/account/saved_ringtones.py +45 -0
  312. pyrogram/raw/base/account/sent_email_code.py +44 -0
  313. pyrogram/raw/base/account/takeout.py +44 -0
  314. pyrogram/raw/base/account/themes.py +46 -0
  315. pyrogram/raw/base/account/tmp_password.py +44 -0
  316. pyrogram/raw/base/account/wall_papers.py +45 -0
  317. pyrogram/raw/base/account/web_authorizations.py +44 -0
  318. pyrogram/raw/base/account_days_ttl.py +44 -0
  319. pyrogram/raw/base/attach_menu_bot.py +34 -0
  320. pyrogram/raw/base/attach_menu_bot_icon.py +34 -0
  321. pyrogram/raw/base/attach_menu_bot_icon_color.py +34 -0
  322. pyrogram/raw/base/attach_menu_bots.py +45 -0
  323. pyrogram/raw/base/attach_menu_bots_bot.py +44 -0
  324. pyrogram/raw/base/attach_menu_peer_type.py +38 -0
  325. pyrogram/raw/base/auth/__init__.py +14 -0
  326. pyrogram/raw/base/auth/authorization.py +51 -0
  327. pyrogram/raw/base/auth/code_type.py +38 -0
  328. pyrogram/raw/base/auth/exported_authorization.py +44 -0
  329. pyrogram/raw/base/auth/logged_out.py +44 -0
  330. pyrogram/raw/base/auth/login_token.py +47 -0
  331. pyrogram/raw/base/auth/password_recovery.py +44 -0
  332. pyrogram/raw/base/auth/sent_code.py +50 -0
  333. pyrogram/raw/base/auth/sent_code_type.py +44 -0
  334. pyrogram/raw/base/authorization.py +44 -0
  335. pyrogram/raw/base/auto_download_settings.py +34 -0
  336. pyrogram/raw/base/auto_save_exception.py +34 -0
  337. pyrogram/raw/base/auto_save_settings.py +34 -0
  338. pyrogram/raw/base/available_effect.py +34 -0
  339. pyrogram/raw/base/available_reaction.py +34 -0
  340. pyrogram/raw/base/bad_msg_notification.py +35 -0
  341. pyrogram/raw/base/bank_card_open_url.py +34 -0
  342. pyrogram/raw/base/base_theme.py +38 -0
  343. pyrogram/raw/base/bind_auth_key_inner.py +34 -0
  344. pyrogram/raw/base/birthday.py +34 -0
  345. pyrogram/raw/base/boost.py +34 -0
  346. pyrogram/raw/base/bot_app.py +35 -0
  347. pyrogram/raw/base/bot_business_connection.py +34 -0
  348. pyrogram/raw/base/bot_command.py +44 -0
  349. pyrogram/raw/base/bot_command_scope.py +40 -0
  350. pyrogram/raw/base/bot_info.py +34 -0
  351. pyrogram/raw/base/bot_inline_message.py +40 -0
  352. pyrogram/raw/base/bot_inline_result.py +35 -0
  353. pyrogram/raw/base/bot_menu_button.py +46 -0
  354. pyrogram/raw/base/bots/__init__.py +7 -0
  355. pyrogram/raw/base/bots/bot_info.py +44 -0
  356. pyrogram/raw/base/broadcast_revenue_balances.py +34 -0
  357. pyrogram/raw/base/broadcast_revenue_transaction.py +36 -0
  358. pyrogram/raw/base/business_away_message.py +34 -0
  359. pyrogram/raw/base/business_away_message_schedule.py +36 -0
  360. pyrogram/raw/base/business_bot_recipients.py +34 -0
  361. pyrogram/raw/base/business_chat_link.py +45 -0
  362. pyrogram/raw/base/business_greeting_message.py +34 -0
  363. pyrogram/raw/base/business_intro.py +34 -0
  364. pyrogram/raw/base/business_location.py +34 -0
  365. pyrogram/raw/base/business_recipients.py +34 -0
  366. pyrogram/raw/base/business_weekly_open.py +34 -0
  367. pyrogram/raw/base/business_work_hours.py +34 -0
  368. pyrogram/raw/base/cdn_config.py +44 -0
  369. pyrogram/raw/base/cdn_public_key.py +34 -0
  370. pyrogram/raw/base/channel_admin_log_event.py +34 -0
  371. pyrogram/raw/base/channel_admin_log_event_action.py +81 -0
  372. pyrogram/raw/base/channel_admin_log_events_filter.py +34 -0
  373. pyrogram/raw/base/channel_location.py +35 -0
  374. pyrogram/raw/base/channel_messages_filter.py +35 -0
  375. pyrogram/raw/base/channel_participant.py +39 -0
  376. pyrogram/raw/base/channel_participants_filter.py +41 -0
  377. pyrogram/raw/base/channels/__init__.py +11 -0
  378. pyrogram/raw/base/channels/admin_log_results.py +44 -0
  379. pyrogram/raw/base/channels/channel_participant.py +44 -0
  380. pyrogram/raw/base/channels/channel_participants.py +45 -0
  381. pyrogram/raw/base/channels/send_as_peers.py +44 -0
  382. pyrogram/raw/base/channels/sponsored_message_report_result.py +46 -0
  383. pyrogram/raw/base/chat.py +38 -0
  384. pyrogram/raw/base/chat_admin_rights.py +34 -0
  385. pyrogram/raw/base/chat_admin_with_invites.py +34 -0
  386. pyrogram/raw/base/chat_banned_rights.py +34 -0
  387. pyrogram/raw/base/chat_full.py +35 -0
  388. pyrogram/raw/base/chat_invite.py +46 -0
  389. pyrogram/raw/base/chat_invite_importer.py +34 -0
  390. pyrogram/raw/base/chat_onlines.py +44 -0
  391. pyrogram/raw/base/chat_participant.py +36 -0
  392. pyrogram/raw/base/chat_participants.py +35 -0
  393. pyrogram/raw/base/chat_photo.py +35 -0
  394. pyrogram/raw/base/chat_reactions.py +36 -0
  395. pyrogram/raw/base/chatlists/__init__.py +10 -0
  396. pyrogram/raw/base/chatlists/chatlist_invite.py +45 -0
  397. pyrogram/raw/base/chatlists/chatlist_updates.py +44 -0
  398. pyrogram/raw/base/chatlists/exported_chatlist_invite.py +44 -0
  399. pyrogram/raw/base/chatlists/exported_invites.py +44 -0
  400. pyrogram/raw/base/client_dh_inner_data.py +34 -0
  401. pyrogram/raw/base/code_settings.py +34 -0
  402. pyrogram/raw/base/config.py +44 -0
  403. pyrogram/raw/base/connected_bot.py +34 -0
  404. pyrogram/raw/base/contact.py +34 -0
  405. pyrogram/raw/base/contact_birthday.py +34 -0
  406. pyrogram/raw/base/contact_status.py +44 -0
  407. pyrogram/raw/base/contacts/__init__.py +13 -0
  408. pyrogram/raw/base/contacts/blocked.py +45 -0
  409. pyrogram/raw/base/contacts/contact_birthdays.py +44 -0
  410. pyrogram/raw/base/contacts/contacts.py +45 -0
  411. pyrogram/raw/base/contacts/found.py +44 -0
  412. pyrogram/raw/base/contacts/imported_contacts.py +44 -0
  413. pyrogram/raw/base/contacts/resolved_peer.py +45 -0
  414. pyrogram/raw/base/contacts/top_peers.py +46 -0
  415. pyrogram/raw/base/data_json.py +46 -0
  416. pyrogram/raw/base/dc_option.py +34 -0
  417. pyrogram/raw/base/default_history_ttl.py +44 -0
  418. pyrogram/raw/base/destroy_auth_key_res.py +46 -0
  419. pyrogram/raw/base/destroy_session_res.py +45 -0
  420. pyrogram/raw/base/dialog.py +35 -0
  421. pyrogram/raw/base/dialog_filter.py +36 -0
  422. pyrogram/raw/base/dialog_filter_suggested.py +44 -0
  423. pyrogram/raw/base/dialog_peer.py +45 -0
  424. pyrogram/raw/base/document.py +48 -0
  425. pyrogram/raw/base/document_attribute.py +41 -0
  426. pyrogram/raw/base/draft_message.py +35 -0
  427. pyrogram/raw/base/email_verification.py +36 -0
  428. pyrogram/raw/base/email_verify_purpose.py +36 -0
  429. pyrogram/raw/base/emoji_group.py +36 -0
  430. pyrogram/raw/base/emoji_keyword.py +35 -0
  431. pyrogram/raw/base/emoji_keywords_difference.py +45 -0
  432. pyrogram/raw/base/emoji_language.py +44 -0
  433. pyrogram/raw/base/emoji_list.py +49 -0
  434. pyrogram/raw/base/emoji_status.py +36 -0
  435. pyrogram/raw/base/emoji_url.py +44 -0
  436. pyrogram/raw/base/encrypted_chat.py +49 -0
  437. pyrogram/raw/base/encrypted_file.py +45 -0
  438. pyrogram/raw/base/encrypted_message.py +35 -0
  439. pyrogram/raw/base/exported_chat_invite.py +45 -0
  440. pyrogram/raw/base/exported_chatlist_invite.py +44 -0
  441. pyrogram/raw/base/exported_contact_token.py +44 -0
  442. pyrogram/raw/base/exported_message_link.py +44 -0
  443. pyrogram/raw/base/exported_story_link.py +44 -0
  444. pyrogram/raw/base/fact_check.py +44 -0
  445. pyrogram/raw/base/file_hash.py +46 -0
  446. pyrogram/raw/base/folder.py +34 -0
  447. pyrogram/raw/base/folder_peer.py +34 -0
  448. pyrogram/raw/base/forum_topic.py +35 -0
  449. pyrogram/raw/base/found_story.py +34 -0
  450. pyrogram/raw/base/fragment/__init__.py +7 -0
  451. pyrogram/raw/base/fragment/collectible_info.py +44 -0
  452. pyrogram/raw/base/game.py +34 -0
  453. pyrogram/raw/base/geo_point.py +35 -0
  454. pyrogram/raw/base/geo_point_address.py +34 -0
  455. pyrogram/raw/base/global_privacy_settings.py +45 -0
  456. pyrogram/raw/base/group_call.py +35 -0
  457. pyrogram/raw/base/group_call_participant.py +34 -0
  458. pyrogram/raw/base/group_call_participant_video.py +34 -0
  459. pyrogram/raw/base/group_call_participant_video_source_group.py +34 -0
  460. pyrogram/raw/base/group_call_stream_channel.py +34 -0
  461. pyrogram/raw/base/help/__init__.py +27 -0
  462. pyrogram/raw/base/help/app_config.py +45 -0
  463. pyrogram/raw/base/help/app_update.py +45 -0
  464. pyrogram/raw/base/help/config_simple.py +35 -0
  465. pyrogram/raw/base/help/countries_list.py +45 -0
  466. pyrogram/raw/base/help/country.py +34 -0
  467. pyrogram/raw/base/help/country_code.py +34 -0
  468. pyrogram/raw/base/help/deep_link_info.py +45 -0
  469. pyrogram/raw/base/help/invite_text.py +44 -0
  470. pyrogram/raw/base/help/passport_config.py +45 -0
  471. pyrogram/raw/base/help/peer_color_option.py +34 -0
  472. pyrogram/raw/base/help/peer_color_set.py +35 -0
  473. pyrogram/raw/base/help/peer_colors.py +46 -0
  474. pyrogram/raw/base/help/premium_promo.py +44 -0
  475. pyrogram/raw/base/help/promo_data.py +45 -0
  476. pyrogram/raw/base/help/recent_me_urls.py +44 -0
  477. pyrogram/raw/base/help/support.py +44 -0
  478. pyrogram/raw/base/help/support_name.py +44 -0
  479. pyrogram/raw/base/help/terms_of_service.py +34 -0
  480. pyrogram/raw/base/help/terms_of_service_update.py +45 -0
  481. pyrogram/raw/base/help/timezones_list.py +45 -0
  482. pyrogram/raw/base/help/user_info.py +46 -0
  483. pyrogram/raw/base/high_score.py +34 -0
  484. pyrogram/raw/base/http_wait.py +34 -0
  485. pyrogram/raw/base/imported_contact.py +34 -0
  486. pyrogram/raw/base/inline_bot_switch_pm.py +34 -0
  487. pyrogram/raw/base/inline_bot_web_view.py +34 -0
  488. pyrogram/raw/base/inline_query_peer_type.py +39 -0
  489. pyrogram/raw/base/input_app_event.py +34 -0
  490. pyrogram/raw/base/input_bot_app.py +35 -0
  491. pyrogram/raw/base/input_bot_inline_message.py +41 -0
  492. pyrogram/raw/base/input_bot_inline_message_id.py +35 -0
  493. pyrogram/raw/base/input_bot_inline_result.py +37 -0
  494. pyrogram/raw/base/input_business_away_message.py +34 -0
  495. pyrogram/raw/base/input_business_bot_recipients.py +34 -0
  496. pyrogram/raw/base/input_business_chat_link.py +34 -0
  497. pyrogram/raw/base/input_business_greeting_message.py +34 -0
  498. pyrogram/raw/base/input_business_intro.py +34 -0
  499. pyrogram/raw/base/input_business_recipients.py +34 -0
  500. pyrogram/raw/base/input_channel.py +36 -0
  501. pyrogram/raw/base/input_chat_photo.py +36 -0
  502. pyrogram/raw/base/input_chatlist.py +34 -0
  503. pyrogram/raw/base/input_check_password_srp.py +35 -0
  504. pyrogram/raw/base/input_client_proxy.py +34 -0
  505. pyrogram/raw/base/input_collectible.py +35 -0
  506. pyrogram/raw/base/input_contact.py +34 -0
  507. pyrogram/raw/base/input_dialog_peer.py +35 -0
  508. pyrogram/raw/base/input_document.py +35 -0
  509. pyrogram/raw/base/input_encrypted_chat.py +34 -0
  510. pyrogram/raw/base/input_encrypted_file.py +37 -0
  511. pyrogram/raw/base/input_file.py +35 -0
  512. pyrogram/raw/base/input_file_location.py +45 -0
  513. pyrogram/raw/base/input_folder_peer.py +34 -0
  514. pyrogram/raw/base/input_game.py +35 -0
  515. pyrogram/raw/base/input_geo_point.py +35 -0
  516. pyrogram/raw/base/input_group_call.py +34 -0
  517. pyrogram/raw/base/input_invoice.py +37 -0
  518. pyrogram/raw/base/input_media.py +51 -0
  519. pyrogram/raw/base/input_message.py +37 -0
  520. pyrogram/raw/base/input_notify_peer.py +38 -0
  521. pyrogram/raw/base/input_payment_credentials.py +37 -0
  522. pyrogram/raw/base/input_peer.py +40 -0
  523. pyrogram/raw/base/input_peer_notify_settings.py +34 -0
  524. pyrogram/raw/base/input_phone_call.py +34 -0
  525. pyrogram/raw/base/input_photo.py +35 -0
  526. pyrogram/raw/base/input_privacy_key.py +44 -0
  527. pyrogram/raw/base/input_privacy_rule.py +43 -0
  528. pyrogram/raw/base/input_quick_reply_shortcut.py +35 -0
  529. pyrogram/raw/base/input_reply_to.py +35 -0
  530. pyrogram/raw/base/input_secure_file.py +35 -0
  531. pyrogram/raw/base/input_secure_value.py +34 -0
  532. pyrogram/raw/base/input_single_media.py +34 -0
  533. pyrogram/raw/base/input_stars_transaction.py +34 -0
  534. pyrogram/raw/base/input_sticker_set.py +44 -0
  535. pyrogram/raw/base/input_sticker_set_item.py +34 -0
  536. pyrogram/raw/base/input_stickered_media.py +35 -0
  537. pyrogram/raw/base/input_store_payment_purpose.py +38 -0
  538. pyrogram/raw/base/input_theme.py +35 -0
  539. pyrogram/raw/base/input_theme_settings.py +34 -0
  540. pyrogram/raw/base/input_user.py +37 -0
  541. pyrogram/raw/base/input_wall_paper.py +36 -0
  542. pyrogram/raw/base/input_web_document.py +34 -0
  543. pyrogram/raw/base/input_web_file_location.py +36 -0
  544. pyrogram/raw/base/invoice.py +34 -0
  545. pyrogram/raw/base/ip_port.py +37 -0
  546. pyrogram/raw/base/json_object_value.py +34 -0
  547. pyrogram/raw/base/json_value.py +39 -0
  548. pyrogram/raw/base/keyboard_button.py +50 -0
  549. pyrogram/raw/base/keyboard_button_row.py +34 -0
  550. pyrogram/raw/base/labeled_price.py +34 -0
  551. pyrogram/raw/base/lang_pack_difference.py +45 -0
  552. pyrogram/raw/base/lang_pack_language.py +45 -0
  553. pyrogram/raw/base/lang_pack_string.py +46 -0
  554. pyrogram/raw/base/mask_coords.py +34 -0
  555. pyrogram/raw/base/media_area.py +40 -0
  556. pyrogram/raw/base/media_area_coordinates.py +34 -0
  557. pyrogram/raw/base/message.py +36 -0
  558. pyrogram/raw/base/message_action.py +77 -0
  559. pyrogram/raw/base/message_entity.py +54 -0
  560. pyrogram/raw/base/message_extended_media.py +35 -0
  561. pyrogram/raw/base/message_fwd_header.py +34 -0
  562. pyrogram/raw/base/message_media.py +62 -0
  563. pyrogram/raw/base/message_peer_reaction.py +34 -0
  564. pyrogram/raw/base/message_peer_vote.py +36 -0
  565. pyrogram/raw/base/message_range.py +44 -0
  566. pyrogram/raw/base/message_reactions.py +34 -0
  567. pyrogram/raw/base/message_replies.py +34 -0
  568. pyrogram/raw/base/message_reply_header.py +35 -0
  569. pyrogram/raw/base/message_views.py +34 -0
  570. pyrogram/raw/base/messages/__init__.py +62 -0
  571. pyrogram/raw/base/messages/affected_found_messages.py +44 -0
  572. pyrogram/raw/base/messages/affected_history.py +50 -0
  573. pyrogram/raw/base/messages/affected_messages.py +47 -0
  574. pyrogram/raw/base/messages/all_stickers.py +47 -0
  575. pyrogram/raw/base/messages/archived_stickers.py +44 -0
  576. pyrogram/raw/base/messages/available_effects.py +45 -0
  577. pyrogram/raw/base/messages/available_reactions.py +45 -0
  578. pyrogram/raw/base/messages/bot_app.py +44 -0
  579. pyrogram/raw/base/messages/bot_callback_answer.py +44 -0
  580. pyrogram/raw/base/messages/bot_results.py +44 -0
  581. pyrogram/raw/base/messages/chat_admins_with_invites.py +44 -0
  582. pyrogram/raw/base/messages/chat_full.py +45 -0
  583. pyrogram/raw/base/messages/chat_invite_importers.py +44 -0
  584. pyrogram/raw/base/messages/chats.py +52 -0
  585. pyrogram/raw/base/messages/checked_history_import_peer.py +44 -0
  586. pyrogram/raw/base/messages/dh_config.py +45 -0
  587. pyrogram/raw/base/messages/dialog_filters.py +44 -0
  588. pyrogram/raw/base/messages/dialogs.py +46 -0
  589. pyrogram/raw/base/messages/discussion_message.py +44 -0
  590. pyrogram/raw/base/messages/emoji_groups.py +48 -0
  591. pyrogram/raw/base/messages/exported_chat_invite.py +46 -0
  592. pyrogram/raw/base/messages/exported_chat_invites.py +44 -0
  593. pyrogram/raw/base/messages/faved_stickers.py +45 -0
  594. pyrogram/raw/base/messages/featured_stickers.py +47 -0
  595. pyrogram/raw/base/messages/forum_topics.py +45 -0
  596. pyrogram/raw/base/messages/found_sticker_sets.py +46 -0
  597. pyrogram/raw/base/messages/high_scores.py +45 -0
  598. pyrogram/raw/base/messages/history_import.py +44 -0
  599. pyrogram/raw/base/messages/history_import_parsed.py +44 -0
  600. pyrogram/raw/base/messages/inactive_chats.py +44 -0
  601. pyrogram/raw/base/messages/invited_users.py +46 -0
  602. pyrogram/raw/base/messages/message_edit_data.py +44 -0
  603. pyrogram/raw/base/messages/message_reactions_list.py +44 -0
  604. pyrogram/raw/base/messages/message_views.py +44 -0
  605. pyrogram/raw/base/messages/messages.py +61 -0
  606. pyrogram/raw/base/messages/my_stickers.py +44 -0
  607. pyrogram/raw/base/messages/peer_dialogs.py +45 -0
  608. pyrogram/raw/base/messages/peer_settings.py +44 -0
  609. pyrogram/raw/base/messages/quick_replies.py +45 -0
  610. pyrogram/raw/base/messages/reactions.py +47 -0
  611. pyrogram/raw/base/messages/recent_stickers.py +45 -0
  612. pyrogram/raw/base/messages/saved_dialogs.py +47 -0
  613. pyrogram/raw/base/messages/saved_gifs.py +45 -0
  614. pyrogram/raw/base/messages/saved_reaction_tags.py +45 -0
  615. pyrogram/raw/base/messages/search_counter.py +44 -0
  616. pyrogram/raw/base/messages/search_results_calendar.py +44 -0
  617. pyrogram/raw/base/messages/search_results_positions.py +44 -0
  618. pyrogram/raw/base/messages/sent_encrypted_message.py +47 -0
  619. pyrogram/raw/base/messages/sponsored_messages.py +45 -0
  620. pyrogram/raw/base/messages/sticker_set.py +53 -0
  621. pyrogram/raw/base/messages/sticker_set_install_result.py +45 -0
  622. pyrogram/raw/base/messages/stickers.py +45 -0
  623. pyrogram/raw/base/messages/transcribed_audio.py +44 -0
  624. pyrogram/raw/base/messages/translated_text.py +44 -0
  625. pyrogram/raw/base/messages/votes_list.py +44 -0
  626. pyrogram/raw/base/messages/web_page.py +44 -0
  627. pyrogram/raw/base/messages_filter.py +50 -0
  628. pyrogram/raw/base/missing_invitee.py +34 -0
  629. pyrogram/raw/base/msg_detailed_info.py +35 -0
  630. pyrogram/raw/base/msg_resend_req.py +35 -0
  631. pyrogram/raw/base/msgs_ack.py +34 -0
  632. pyrogram/raw/base/msgs_all_info.py +34 -0
  633. pyrogram/raw/base/msgs_state_info.py +34 -0
  634. pyrogram/raw/base/msgs_state_req.py +34 -0
  635. pyrogram/raw/base/my_boost.py +34 -0
  636. pyrogram/raw/base/nearest_dc.py +44 -0
  637. pyrogram/raw/base/new_session.py +34 -0
  638. pyrogram/raw/base/notification_sound.py +37 -0
  639. pyrogram/raw/base/notify_peer.py +38 -0
  640. pyrogram/raw/base/outbox_read_date.py +44 -0
  641. pyrogram/raw/base/page.py +34 -0
  642. pyrogram/raw/base/page_block.py +62 -0
  643. pyrogram/raw/base/page_caption.py +34 -0
  644. pyrogram/raw/base/page_list_item.py +35 -0
  645. pyrogram/raw/base/page_list_ordered_item.py +35 -0
  646. pyrogram/raw/base/page_related_article.py +34 -0
  647. pyrogram/raw/base/page_table_cell.py +34 -0
  648. pyrogram/raw/base/page_table_row.py +34 -0
  649. pyrogram/raw/base/password_kdf_algo.py +35 -0
  650. pyrogram/raw/base/payment_charge.py +34 -0
  651. pyrogram/raw/base/payment_form_method.py +34 -0
  652. pyrogram/raw/base/payment_requested_info.py +34 -0
  653. pyrogram/raw/base/payment_saved_credentials.py +34 -0
  654. pyrogram/raw/base/payments/__init__.py +19 -0
  655. pyrogram/raw/base/payments/bank_card_data.py +44 -0
  656. pyrogram/raw/base/payments/checked_gift_code.py +44 -0
  657. pyrogram/raw/base/payments/exported_invoice.py +44 -0
  658. pyrogram/raw/base/payments/giveaway_info.py +45 -0
  659. pyrogram/raw/base/payments/payment_form.py +45 -0
  660. pyrogram/raw/base/payments/payment_receipt.py +45 -0
  661. pyrogram/raw/base/payments/payment_result.py +46 -0
  662. pyrogram/raw/base/payments/saved_info.py +44 -0
  663. pyrogram/raw/base/payments/stars_revenue_ads_account_url.py +44 -0
  664. pyrogram/raw/base/payments/stars_revenue_stats.py +44 -0
  665. pyrogram/raw/base/payments/stars_revenue_withdrawal_url.py +44 -0
  666. pyrogram/raw/base/payments/stars_status.py +46 -0
  667. pyrogram/raw/base/payments/validated_requested_info.py +44 -0
  668. pyrogram/raw/base/peer.py +46 -0
  669. pyrogram/raw/base/peer_blocked.py +34 -0
  670. pyrogram/raw/base/peer_color.py +34 -0
  671. pyrogram/raw/base/peer_located.py +35 -0
  672. pyrogram/raw/base/peer_notify_settings.py +44 -0
  673. pyrogram/raw/base/peer_settings.py +34 -0
  674. pyrogram/raw/base/peer_stories.py +34 -0
  675. pyrogram/raw/base/phone/__init__.py +13 -0
  676. pyrogram/raw/base/phone/exported_group_call_invite.py +44 -0
  677. pyrogram/raw/base/phone/group_call.py +44 -0
  678. pyrogram/raw/base/phone/group_call_stream_channels.py +44 -0
  679. pyrogram/raw/base/phone/group_call_stream_rtmp_url.py +44 -0
  680. pyrogram/raw/base/phone/group_participants.py +44 -0
  681. pyrogram/raw/base/phone/join_as_peers.py +44 -0
  682. pyrogram/raw/base/phone/phone_call.py +46 -0
  683. pyrogram/raw/base/phone_call.py +39 -0
  684. pyrogram/raw/base/phone_call_discard_reason.py +37 -0
  685. pyrogram/raw/base/phone_call_protocol.py +34 -0
  686. pyrogram/raw/base/phone_connection.py +35 -0
  687. pyrogram/raw/base/photo.py +35 -0
  688. pyrogram/raw/base/photo_size.py +39 -0
  689. pyrogram/raw/base/photos/__init__.py +8 -0
  690. pyrogram/raw/base/photos/photo.py +46 -0
  691. pyrogram/raw/base/photos/photos.py +45 -0
  692. pyrogram/raw/base/poll.py +34 -0
  693. pyrogram/raw/base/poll_answer.py +34 -0
  694. pyrogram/raw/base/poll_answer_voters.py +34 -0
  695. pyrogram/raw/base/poll_results.py +34 -0
  696. pyrogram/raw/base/pong.py +45 -0
  697. pyrogram/raw/base/popular_contact.py +34 -0
  698. pyrogram/raw/base/post_address.py +34 -0
  699. pyrogram/raw/base/post_interaction_counters.py +35 -0
  700. pyrogram/raw/base/pq_inner_data.py +37 -0
  701. pyrogram/raw/base/premium/__init__.py +9 -0
  702. pyrogram/raw/base/premium/boosts_list.py +45 -0
  703. pyrogram/raw/base/premium/boosts_status.py +44 -0
  704. pyrogram/raw/base/premium/my_boosts.py +45 -0
  705. pyrogram/raw/base/premium_gift_code_option.py +44 -0
  706. pyrogram/raw/base/premium_gift_option.py +34 -0
  707. pyrogram/raw/base/premium_subscription_option.py +34 -0
  708. pyrogram/raw/base/prepaid_giveaway.py +34 -0
  709. pyrogram/raw/base/privacy_key.py +44 -0
  710. pyrogram/raw/base/privacy_rule.py +43 -0
  711. pyrogram/raw/base/public_forward.py +35 -0
  712. pyrogram/raw/base/quick_reply.py +34 -0
  713. pyrogram/raw/base/reaction.py +36 -0
  714. pyrogram/raw/base/reaction_count.py +34 -0
  715. pyrogram/raw/base/reaction_notifications_from.py +35 -0
  716. pyrogram/raw/base/reactions_notify_settings.py +45 -0
  717. pyrogram/raw/base/read_participant_date.py +44 -0
  718. pyrogram/raw/base/received_notify_message.py +44 -0
  719. pyrogram/raw/base/recent_me_url.py +38 -0
  720. pyrogram/raw/base/reply_markup.py +37 -0
  721. pyrogram/raw/base/report_reason.py +43 -0
  722. pyrogram/raw/base/request_peer_type.py +36 -0
  723. pyrogram/raw/base/requested_peer.py +36 -0
  724. pyrogram/raw/base/res_pq.py +45 -0
  725. pyrogram/raw/base/restriction_reason.py +34 -0
  726. pyrogram/raw/base/rich_text.py +49 -0
  727. pyrogram/raw/base/rpc_drop_answer.py +46 -0
  728. pyrogram/raw/base/rpc_error.py +34 -0
  729. pyrogram/raw/base/rpc_result.py +34 -0
  730. pyrogram/raw/base/saved_contact.py +44 -0
  731. pyrogram/raw/base/saved_dialog.py +34 -0
  732. pyrogram/raw/base/saved_reaction_tag.py +34 -0
  733. pyrogram/raw/base/search_results_calendar_period.py +34 -0
  734. pyrogram/raw/base/search_results_position.py +34 -0
  735. pyrogram/raw/base/secure_credentials_encrypted.py +34 -0
  736. pyrogram/raw/base/secure_data.py +34 -0
  737. pyrogram/raw/base/secure_file.py +35 -0
  738. pyrogram/raw/base/secure_password_kdf_algo.py +36 -0
  739. pyrogram/raw/base/secure_plain_data.py +35 -0
  740. pyrogram/raw/base/secure_required_type.py +35 -0
  741. pyrogram/raw/base/secure_secret_settings.py +34 -0
  742. pyrogram/raw/base/secure_value.py +46 -0
  743. pyrogram/raw/base/secure_value_error.py +42 -0
  744. pyrogram/raw/base/secure_value_hash.py +34 -0
  745. pyrogram/raw/base/secure_value_type.py +46 -0
  746. pyrogram/raw/base/send_as_peer.py +34 -0
  747. pyrogram/raw/base/send_message_action.py +51 -0
  748. pyrogram/raw/base/server_dh_inner_data.py +34 -0
  749. pyrogram/raw/base/server_dh_params.py +45 -0
  750. pyrogram/raw/base/set_client_dh_params_answer.py +46 -0
  751. pyrogram/raw/base/shipping_option.py +34 -0
  752. pyrogram/raw/base/sms_job.py +44 -0
  753. pyrogram/raw/base/smsjobs/__init__.py +8 -0
  754. pyrogram/raw/base/smsjobs/eligibility_to_join.py +44 -0
  755. pyrogram/raw/base/smsjobs/status.py +44 -0
  756. pyrogram/raw/base/sponsored_message.py +34 -0
  757. pyrogram/raw/base/sponsored_message_report_option.py +34 -0
  758. pyrogram/raw/base/stars_revenue_status.py +34 -0
  759. pyrogram/raw/base/stars_topup_option.py +44 -0
  760. pyrogram/raw/base/stars_transaction.py +34 -0
  761. pyrogram/raw/base/stars_transaction_peer.py +40 -0
  762. pyrogram/raw/base/stats/__init__.py +14 -0
  763. pyrogram/raw/base/stats/broadcast_revenue_stats.py +44 -0
  764. pyrogram/raw/base/stats/broadcast_revenue_transactions.py +44 -0
  765. pyrogram/raw/base/stats/broadcast_revenue_withdrawal_url.py +44 -0
  766. pyrogram/raw/base/stats/broadcast_stats.py +44 -0
  767. pyrogram/raw/base/stats/megagroup_stats.py +44 -0
  768. pyrogram/raw/base/stats/message_stats.py +44 -0
  769. pyrogram/raw/base/stats/public_forwards.py +45 -0
  770. pyrogram/raw/base/stats/story_stats.py +44 -0
  771. pyrogram/raw/base/stats_abs_value_and_prev.py +34 -0
  772. pyrogram/raw/base/stats_date_range_days.py +34 -0
  773. pyrogram/raw/base/stats_graph.py +46 -0
  774. pyrogram/raw/base/stats_group_top_admin.py +34 -0
  775. pyrogram/raw/base/stats_group_top_inviter.py +34 -0
  776. pyrogram/raw/base/stats_group_top_poster.py +34 -0
  777. pyrogram/raw/base/stats_percent_value.py +34 -0
  778. pyrogram/raw/base/stats_url.py +34 -0
  779. pyrogram/raw/base/sticker_keyword.py +34 -0
  780. pyrogram/raw/base/sticker_pack.py +34 -0
  781. pyrogram/raw/base/sticker_set.py +34 -0
  782. pyrogram/raw/base/sticker_set_covered.py +47 -0
  783. pyrogram/raw/base/stickers/__init__.py +7 -0
  784. pyrogram/raw/base/stickers/suggested_short_name.py +44 -0
  785. pyrogram/raw/base/storage/__init__.py +7 -0
  786. pyrogram/raw/base/storage/file_type.py +43 -0
  787. pyrogram/raw/base/stories/__init__.py +13 -0
  788. pyrogram/raw/base/stories/all_stories.py +45 -0
  789. pyrogram/raw/base/stories/found_stories.py +44 -0
  790. pyrogram/raw/base/stories/peer_stories.py +44 -0
  791. pyrogram/raw/base/stories/stories.py +46 -0
  792. pyrogram/raw/base/stories/story_reactions_list.py +44 -0
  793. pyrogram/raw/base/stories/story_views.py +44 -0
  794. pyrogram/raw/base/stories/story_views_list.py +44 -0
  795. pyrogram/raw/base/stories_stealth_mode.py +34 -0
  796. pyrogram/raw/base/story_fwd_header.py +34 -0
  797. pyrogram/raw/base/story_item.py +36 -0
  798. pyrogram/raw/base/story_reaction.py +36 -0
  799. pyrogram/raw/base/story_view.py +36 -0
  800. pyrogram/raw/base/story_views.py +34 -0
  801. pyrogram/raw/base/text_with_entities.py +34 -0
  802. pyrogram/raw/base/theme.py +46 -0
  803. pyrogram/raw/base/theme_settings.py +34 -0
  804. pyrogram/raw/base/timezone.py +34 -0
  805. pyrogram/raw/base/top_peer.py +34 -0
  806. pyrogram/raw/base/top_peer_category.py +41 -0
  807. pyrogram/raw/base/top_peer_category_peers.py +34 -0
  808. pyrogram/raw/base/update.py +172 -0
  809. pyrogram/raw/base/updates/__init__.py +9 -0
  810. pyrogram/raw/base/updates/channel_difference.py +46 -0
  811. pyrogram/raw/base/updates/difference.py +47 -0
  812. pyrogram/raw/base/updates/state.py +44 -0
  813. pyrogram/raw/base/updates_t.py +152 -0
  814. pyrogram/raw/base/upload/__init__.py +9 -0
  815. pyrogram/raw/base/upload/cdn_file.py +45 -0
  816. pyrogram/raw/base/upload/file.py +45 -0
  817. pyrogram/raw/base/upload/web_file.py +44 -0
  818. pyrogram/raw/base/url_auth_result.py +47 -0
  819. pyrogram/raw/base/user.py +49 -0
  820. pyrogram/raw/base/user_full.py +34 -0
  821. pyrogram/raw/base/user_profile_photo.py +35 -0
  822. pyrogram/raw/base/user_status.py +39 -0
  823. pyrogram/raw/base/username.py +34 -0
  824. pyrogram/raw/base/users/__init__.py +7 -0
  825. pyrogram/raw/base/users/user_full.py +44 -0
  826. pyrogram/raw/base/video_size.py +36 -0
  827. pyrogram/raw/base/wall_paper.py +47 -0
  828. pyrogram/raw/base/wall_paper_settings.py +34 -0
  829. pyrogram/raw/base/web_authorization.py +34 -0
  830. pyrogram/raw/base/web_document.py +35 -0
  831. pyrogram/raw/base/web_page.py +37 -0
  832. pyrogram/raw/base/web_page_attribute.py +36 -0
  833. pyrogram/raw/base/web_view_message_sent.py +44 -0
  834. pyrogram/raw/base/web_view_result.py +46 -0
  835. pyrogram/raw/core/__init__.py +13 -0
  836. pyrogram/raw/core/future_salt.py +35 -0
  837. pyrogram/raw/core/future_salts.py +45 -0
  838. pyrogram/raw/core/gzip_packed.py +43 -0
  839. pyrogram/raw/core/list.py +8 -0
  840. pyrogram/raw/core/message.py +38 -0
  841. pyrogram/raw/core/msg_container.py +35 -0
  842. pyrogram/raw/core/primitives/__init__.py +6 -0
  843. pyrogram/raw/core/primitives/bool.py +30 -0
  844. pyrogram/raw/core/primitives/bytes.py +37 -0
  845. pyrogram/raw/core/primitives/double.py +14 -0
  846. pyrogram/raw/core/primitives/int.py +27 -0
  847. pyrogram/raw/core/primitives/string.py +13 -0
  848. pyrogram/raw/core/primitives/vector.py +51 -0
  849. pyrogram/raw/core/tl_object.py +64 -0
  850. pyrogram/raw/functions/__init__.py +27 -0
  851. pyrogram/raw/functions/account/__init__.py +118 -0
  852. pyrogram/raw/functions/account/accept_authorization.py +86 -0
  853. pyrogram/raw/functions/account/cancel_password_email.py +49 -0
  854. pyrogram/raw/functions/account/change_authorization_settings.py +80 -0
  855. pyrogram/raw/functions/account/change_phone.py +70 -0
  856. pyrogram/raw/functions/account/check_username.py +54 -0
  857. pyrogram/raw/functions/account/clear_recent_emoji_statuses.py +49 -0
  858. pyrogram/raw/functions/account/confirm_password_email.py +54 -0
  859. pyrogram/raw/functions/account/confirm_phone.py +62 -0
  860. pyrogram/raw/functions/account/create_business_chat_link.py +54 -0
  861. pyrogram/raw/functions/account/create_theme.py +84 -0
  862. pyrogram/raw/functions/account/decline_password_reset.py +49 -0
  863. pyrogram/raw/functions/account/delete_account.py +66 -0
  864. pyrogram/raw/functions/account/delete_auto_save_exceptions.py +49 -0
  865. pyrogram/raw/functions/account/delete_business_chat_link.py +54 -0
  866. pyrogram/raw/functions/account/delete_secure_value.py +54 -0
  867. pyrogram/raw/functions/account/disable_peer_connected_bot.py +54 -0
  868. pyrogram/raw/functions/account/edit_business_chat_link.py +62 -0
  869. pyrogram/raw/functions/account/finish_takeout_session.py +54 -0
  870. pyrogram/raw/functions/account/get_account_ttl.py +49 -0
  871. pyrogram/raw/functions/account/get_all_secure_values.py +49 -0
  872. pyrogram/raw/functions/account/get_authorization_form.py +70 -0
  873. pyrogram/raw/functions/account/get_authorizations.py +49 -0
  874. pyrogram/raw/functions/account/get_auto_download_settings.py +49 -0
  875. pyrogram/raw/functions/account/get_auto_save_settings.py +49 -0
  876. pyrogram/raw/functions/account/get_bot_business_connection.py +54 -0
  877. pyrogram/raw/functions/account/get_business_chat_links.py +49 -0
  878. pyrogram/raw/functions/account/get_channel_default_emoji_statuses.py +54 -0
  879. pyrogram/raw/functions/account/get_channel_restricted_status_emojis.py +54 -0
  880. pyrogram/raw/functions/account/get_chat_themes.py +54 -0
  881. pyrogram/raw/functions/account/get_connected_bots.py +49 -0
  882. pyrogram/raw/functions/account/get_contact_sign_up_notification.py +49 -0
  883. pyrogram/raw/functions/account/get_content_settings.py +49 -0
  884. pyrogram/raw/functions/account/get_default_background_emojis.py +54 -0
  885. pyrogram/raw/functions/account/get_default_emoji_statuses.py +54 -0
  886. pyrogram/raw/functions/account/get_default_group_photo_emojis.py +54 -0
  887. pyrogram/raw/functions/account/get_default_profile_photo_emojis.py +54 -0
  888. pyrogram/raw/functions/account/get_global_privacy_settings.py +49 -0
  889. pyrogram/raw/functions/account/get_multi_wall_papers.py +54 -0
  890. pyrogram/raw/functions/account/get_notify_exceptions.py +70 -0
  891. pyrogram/raw/functions/account/get_notify_settings.py +54 -0
  892. pyrogram/raw/functions/account/get_password.py +49 -0
  893. pyrogram/raw/functions/account/get_password_settings.py +54 -0
  894. pyrogram/raw/functions/account/get_privacy.py +54 -0
  895. pyrogram/raw/functions/account/get_reactions_notify_settings.py +49 -0
  896. pyrogram/raw/functions/account/get_recent_emoji_statuses.py +54 -0
  897. pyrogram/raw/functions/account/get_saved_ringtones.py +54 -0
  898. pyrogram/raw/functions/account/get_secure_value.py +54 -0
  899. pyrogram/raw/functions/account/get_theme.py +62 -0
  900. pyrogram/raw/functions/account/get_themes.py +62 -0
  901. pyrogram/raw/functions/account/get_tmp_password.py +62 -0
  902. pyrogram/raw/functions/account/get_wall_paper.py +54 -0
  903. pyrogram/raw/functions/account/get_wall_papers.py +54 -0
  904. pyrogram/raw/functions/account/get_web_authorizations.py +49 -0
  905. pyrogram/raw/functions/account/init_takeout_session.py +93 -0
  906. pyrogram/raw/functions/account/install_theme.py +83 -0
  907. pyrogram/raw/functions/account/install_wall_paper.py +62 -0
  908. pyrogram/raw/functions/account/invalidate_sign_in_codes.py +54 -0
  909. pyrogram/raw/functions/account/register_device.py +94 -0
  910. pyrogram/raw/functions/account/reorder_usernames.py +54 -0
  911. pyrogram/raw/functions/account/report_peer.py +70 -0
  912. pyrogram/raw/functions/account/report_profile_photo.py +78 -0
  913. pyrogram/raw/functions/account/resend_password_email.py +49 -0
  914. pyrogram/raw/functions/account/reset_authorization.py +54 -0
  915. pyrogram/raw/functions/account/reset_notify_settings.py +49 -0
  916. pyrogram/raw/functions/account/reset_password.py +49 -0
  917. pyrogram/raw/functions/account/reset_wall_papers.py +49 -0
  918. pyrogram/raw/functions/account/reset_web_authorization.py +54 -0
  919. pyrogram/raw/functions/account/reset_web_authorizations.py +49 -0
  920. pyrogram/raw/functions/account/resolve_business_chat_link.py +54 -0
  921. pyrogram/raw/functions/account/save_auto_download_settings.py +68 -0
  922. pyrogram/raw/functions/account/save_auto_save_settings.py +84 -0
  923. pyrogram/raw/functions/account/save_ringtone.py +62 -0
  924. pyrogram/raw/functions/account/save_secure_value.py +62 -0
  925. pyrogram/raw/functions/account/save_theme.py +62 -0
  926. pyrogram/raw/functions/account/save_wall_paper.py +70 -0
  927. pyrogram/raw/functions/account/send_change_phone_code.py +62 -0
  928. pyrogram/raw/functions/account/send_confirm_phone_code.py +62 -0
  929. pyrogram/raw/functions/account/send_verify_email_code.py +62 -0
  930. pyrogram/raw/functions/account/send_verify_phone_code.py +62 -0
  931. pyrogram/raw/functions/account/set_account_ttl.py +54 -0
  932. pyrogram/raw/functions/account/set_authorization_ttl.py +54 -0
  933. pyrogram/raw/functions/account/set_contact_sign_up_notification.py +54 -0
  934. pyrogram/raw/functions/account/set_content_settings.py +54 -0
  935. pyrogram/raw/functions/account/set_global_privacy_settings.py +54 -0
  936. pyrogram/raw/functions/account/set_privacy.py +62 -0
  937. pyrogram/raw/functions/account/set_reactions_notify_settings.py +54 -0
  938. pyrogram/raw/functions/account/toggle_connected_bot_paused.py +62 -0
  939. pyrogram/raw/functions/account/toggle_sponsored_messages.py +54 -0
  940. pyrogram/raw/functions/account/toggle_username.py +62 -0
  941. pyrogram/raw/functions/account/unregister_device.py +70 -0
  942. pyrogram/raw/functions/account/update_birthday.py +58 -0
  943. pyrogram/raw/functions/account/update_business_away_message.py +58 -0
  944. pyrogram/raw/functions/account/update_business_greeting_message.py +58 -0
  945. pyrogram/raw/functions/account/update_business_intro.py +58 -0
  946. pyrogram/raw/functions/account/update_business_location.py +67 -0
  947. pyrogram/raw/functions/account/update_business_work_hours.py +58 -0
  948. pyrogram/raw/functions/account/update_color.py +72 -0
  949. pyrogram/raw/functions/account/update_connected_bot.py +76 -0
  950. pyrogram/raw/functions/account/update_device_locked.py +54 -0
  951. pyrogram/raw/functions/account/update_emoji_status.py +54 -0
  952. pyrogram/raw/functions/account/update_notify_settings.py +62 -0
  953. pyrogram/raw/functions/account/update_password_settings.py +62 -0
  954. pyrogram/raw/functions/account/update_personal_channel.py +54 -0
  955. pyrogram/raw/functions/account/update_profile.py +75 -0
  956. pyrogram/raw/functions/account/update_status.py +54 -0
  957. pyrogram/raw/functions/account/update_theme.py +102 -0
  958. pyrogram/raw/functions/account/update_username.py +54 -0
  959. pyrogram/raw/functions/account/upload_ringtone.py +70 -0
  960. pyrogram/raw/functions/account/upload_theme.py +82 -0
  961. pyrogram/raw/functions/account/upload_wall_paper.py +78 -0
  962. pyrogram/raw/functions/account/verify_email.py +62 -0
  963. pyrogram/raw/functions/account/verify_phone.py +70 -0
  964. pyrogram/raw/functions/auth/__init__.py +29 -0
  965. pyrogram/raw/functions/auth/accept_login_token.py +54 -0
  966. pyrogram/raw/functions/auth/bind_temp_auth_key.py +78 -0
  967. pyrogram/raw/functions/auth/cancel_code.py +62 -0
  968. pyrogram/raw/functions/auth/check_password.py +54 -0
  969. pyrogram/raw/functions/auth/check_recovery_password.py +54 -0
  970. pyrogram/raw/functions/auth/drop_temp_auth_keys.py +54 -0
  971. pyrogram/raw/functions/auth/export_authorization.py +54 -0
  972. pyrogram/raw/functions/auth/export_login_token.py +70 -0
  973. pyrogram/raw/functions/auth/import_authorization.py +62 -0
  974. pyrogram/raw/functions/auth/import_bot_authorization.py +78 -0
  975. pyrogram/raw/functions/auth/import_login_token.py +54 -0
  976. pyrogram/raw/functions/auth/import_web_token_authorization.py +70 -0
  977. pyrogram/raw/functions/auth/log_out.py +49 -0
  978. pyrogram/raw/functions/auth/recover_password.py +66 -0
  979. pyrogram/raw/functions/auth/report_missing_code.py +70 -0
  980. pyrogram/raw/functions/auth/request_firebase_sms.py +91 -0
  981. pyrogram/raw/functions/auth/request_password_recovery.py +49 -0
  982. pyrogram/raw/functions/auth/resend_code.py +73 -0
  983. pyrogram/raw/functions/auth/reset_authorizations.py +49 -0
  984. pyrogram/raw/functions/auth/reset_login_email.py +62 -0
  985. pyrogram/raw/functions/auth/send_code.py +78 -0
  986. pyrogram/raw/functions/auth/sign_in.py +83 -0
  987. pyrogram/raw/functions/auth/sign_up.py +86 -0
  988. pyrogram/raw/functions/bots/__init__.py +22 -0
  989. pyrogram/raw/functions/bots/allow_send_message.py +54 -0
  990. pyrogram/raw/functions/bots/answer_webhook_json_query.py +62 -0
  991. pyrogram/raw/functions/bots/can_send_message.py +54 -0
  992. pyrogram/raw/functions/bots/get_bot_commands.py +62 -0
  993. pyrogram/raw/functions/bots/get_bot_info.py +66 -0
  994. pyrogram/raw/functions/bots/get_bot_menu_button.py +54 -0
  995. pyrogram/raw/functions/bots/invoke_web_view_custom_method.py +70 -0
  996. pyrogram/raw/functions/bots/reorder_usernames.py +62 -0
  997. pyrogram/raw/functions/bots/reset_bot_commands.py +62 -0
  998. pyrogram/raw/functions/bots/send_custom_request.py +62 -0
  999. pyrogram/raw/functions/bots/set_bot_broadcast_default_admin_rights.py +54 -0
  1000. pyrogram/raw/functions/bots/set_bot_commands.py +70 -0
  1001. pyrogram/raw/functions/bots/set_bot_group_default_admin_rights.py +54 -0
  1002. pyrogram/raw/functions/bots/set_bot_info.py +93 -0
  1003. pyrogram/raw/functions/bots/set_bot_menu_button.py +62 -0
  1004. pyrogram/raw/functions/bots/toggle_username.py +70 -0
  1005. pyrogram/raw/functions/channels/__init__.py +71 -0
  1006. pyrogram/raw/functions/channels/check_username.py +62 -0
  1007. pyrogram/raw/functions/channels/click_sponsored_message.py +62 -0
  1008. pyrogram/raw/functions/channels/convert_to_gigagroup.py +54 -0
  1009. pyrogram/raw/functions/channels/create_channel.py +116 -0
  1010. pyrogram/raw/functions/channels/create_forum_topic.py +100 -0
  1011. pyrogram/raw/functions/channels/deactivate_all_usernames.py +54 -0
  1012. pyrogram/raw/functions/channels/delete_channel.py +54 -0
  1013. pyrogram/raw/functions/channels/delete_history.py +70 -0
  1014. pyrogram/raw/functions/channels/delete_messages.py +62 -0
  1015. pyrogram/raw/functions/channels/delete_participant_history.py +62 -0
  1016. pyrogram/raw/functions/channels/delete_topic_history.py +62 -0
  1017. pyrogram/raw/functions/channels/edit_admin.py +78 -0
  1018. pyrogram/raw/functions/channels/edit_banned.py +70 -0
  1019. pyrogram/raw/functions/channels/edit_creator.py +70 -0
  1020. pyrogram/raw/functions/channels/edit_forum_topic.py +100 -0
  1021. pyrogram/raw/functions/channels/edit_location.py +70 -0
  1022. pyrogram/raw/functions/channels/edit_photo.py +62 -0
  1023. pyrogram/raw/functions/channels/edit_title.py +62 -0
  1024. pyrogram/raw/functions/channels/export_message_link.py +76 -0
  1025. pyrogram/raw/functions/channels/get_admin_log.py +108 -0
  1026. pyrogram/raw/functions/channels/get_admined_public_channels.py +66 -0
  1027. pyrogram/raw/functions/channels/get_channel_recommendations.py +58 -0
  1028. pyrogram/raw/functions/channels/get_channels.py +54 -0
  1029. pyrogram/raw/functions/channels/get_forum_topics.py +97 -0
  1030. pyrogram/raw/functions/channels/get_forum_topics_by_id.py +62 -0
  1031. pyrogram/raw/functions/channels/get_full_channel.py +54 -0
  1032. pyrogram/raw/functions/channels/get_groups_for_discussion.py +49 -0
  1033. pyrogram/raw/functions/channels/get_inactive_channels.py +49 -0
  1034. pyrogram/raw/functions/channels/get_left_channels.py +54 -0
  1035. pyrogram/raw/functions/channels/get_messages.py +62 -0
  1036. pyrogram/raw/functions/channels/get_participant.py +62 -0
  1037. pyrogram/raw/functions/channels/get_participants.py +86 -0
  1038. pyrogram/raw/functions/channels/get_send_as.py +54 -0
  1039. pyrogram/raw/functions/channels/get_sponsored_messages.py +54 -0
  1040. pyrogram/raw/functions/channels/invite_to_channel.py +62 -0
  1041. pyrogram/raw/functions/channels/join_channel.py +54 -0
  1042. pyrogram/raw/functions/channels/leave_channel.py +54 -0
  1043. pyrogram/raw/functions/channels/read_history.py +62 -0
  1044. pyrogram/raw/functions/channels/read_message_contents.py +62 -0
  1045. pyrogram/raw/functions/channels/reorder_pinned_forum_topics.py +70 -0
  1046. pyrogram/raw/functions/channels/reorder_usernames.py +62 -0
  1047. pyrogram/raw/functions/channels/report_anti_spam_false_positive.py +62 -0
  1048. pyrogram/raw/functions/channels/report_spam.py +70 -0
  1049. pyrogram/raw/functions/channels/report_sponsored_message.py +70 -0
  1050. pyrogram/raw/functions/channels/restrict_sponsored_messages.py +62 -0
  1051. pyrogram/raw/functions/channels/search_posts.py +86 -0
  1052. pyrogram/raw/functions/channels/set_boosts_to_unblock_restrictions.py +62 -0
  1053. pyrogram/raw/functions/channels/set_discussion_group.py +62 -0
  1054. pyrogram/raw/functions/channels/set_emoji_stickers.py +62 -0
  1055. pyrogram/raw/functions/channels/set_stickers.py +62 -0
  1056. pyrogram/raw/functions/channels/toggle_anti_spam.py +62 -0
  1057. pyrogram/raw/functions/channels/toggle_forum.py +62 -0
  1058. pyrogram/raw/functions/channels/toggle_join_request.py +62 -0
  1059. pyrogram/raw/functions/channels/toggle_join_to_send.py +62 -0
  1060. pyrogram/raw/functions/channels/toggle_participants_hidden.py +62 -0
  1061. pyrogram/raw/functions/channels/toggle_pre_history_hidden.py +62 -0
  1062. pyrogram/raw/functions/channels/toggle_signatures.py +62 -0
  1063. pyrogram/raw/functions/channels/toggle_slow_mode.py +62 -0
  1064. pyrogram/raw/functions/channels/toggle_username.py +70 -0
  1065. pyrogram/raw/functions/channels/toggle_view_forum_as_messages.py +62 -0
  1066. pyrogram/raw/functions/channels/update_color.py +80 -0
  1067. pyrogram/raw/functions/channels/update_emoji_status.py +62 -0
  1068. pyrogram/raw/functions/channels/update_pinned_forum_topic.py +70 -0
  1069. pyrogram/raw/functions/channels/update_username.py +62 -0
  1070. pyrogram/raw/functions/channels/view_sponsored_message.py +62 -0
  1071. pyrogram/raw/functions/chatlists/__init__.py +17 -0
  1072. pyrogram/raw/functions/chatlists/check_chatlist_invite.py +54 -0
  1073. pyrogram/raw/functions/chatlists/delete_exported_invite.py +62 -0
  1074. pyrogram/raw/functions/chatlists/edit_exported_invite.py +83 -0
  1075. pyrogram/raw/functions/chatlists/export_chatlist_invite.py +70 -0
  1076. pyrogram/raw/functions/chatlists/get_chatlist_updates.py +54 -0
  1077. pyrogram/raw/functions/chatlists/get_exported_invites.py +54 -0
  1078. pyrogram/raw/functions/chatlists/get_leave_chatlist_suggestions.py +54 -0
  1079. pyrogram/raw/functions/chatlists/hide_chatlist_updates.py +54 -0
  1080. pyrogram/raw/functions/chatlists/join_chatlist_invite.py +62 -0
  1081. pyrogram/raw/functions/chatlists/join_chatlist_updates.py +62 -0
  1082. pyrogram/raw/functions/chatlists/leave_chatlist.py +62 -0
  1083. pyrogram/raw/functions/contacts/__init__.py +32 -0
  1084. pyrogram/raw/functions/contacts/accept_contact.py +54 -0
  1085. pyrogram/raw/functions/contacts/add_contact.py +86 -0
  1086. pyrogram/raw/functions/contacts/block.py +62 -0
  1087. pyrogram/raw/functions/contacts/block_from_replies.py +74 -0
  1088. pyrogram/raw/functions/contacts/delete_by_phones.py +54 -0
  1089. pyrogram/raw/functions/contacts/delete_contacts.py +54 -0
  1090. pyrogram/raw/functions/contacts/edit_close_friends.py +54 -0
  1091. pyrogram/raw/functions/contacts/export_contact_token.py +49 -0
  1092. pyrogram/raw/functions/contacts/get_birthdays.py +49 -0
  1093. pyrogram/raw/functions/contacts/get_blocked.py +70 -0
  1094. pyrogram/raw/functions/contacts/get_contact_i_ds.py +54 -0
  1095. pyrogram/raw/functions/contacts/get_contacts.py +54 -0
  1096. pyrogram/raw/functions/contacts/get_located.py +71 -0
  1097. pyrogram/raw/functions/contacts/get_saved.py +49 -0
  1098. pyrogram/raw/functions/contacts/get_statuses.py +49 -0
  1099. pyrogram/raw/functions/contacts/get_top_peers.py +120 -0
  1100. pyrogram/raw/functions/contacts/import_contact_token.py +54 -0
  1101. pyrogram/raw/functions/contacts/import_contacts.py +54 -0
  1102. pyrogram/raw/functions/contacts/reset_saved.py +49 -0
  1103. pyrogram/raw/functions/contacts/reset_top_peer_rating.py +62 -0
  1104. pyrogram/raw/functions/contacts/resolve_phone.py +54 -0
  1105. pyrogram/raw/functions/contacts/resolve_username.py +54 -0
  1106. pyrogram/raw/functions/contacts/search.py +62 -0
  1107. pyrogram/raw/functions/contacts/set_blocked.py +70 -0
  1108. pyrogram/raw/functions/contacts/toggle_top_peers.py +54 -0
  1109. pyrogram/raw/functions/contacts/unblock.py +62 -0
  1110. pyrogram/raw/functions/contest/__init__.py +7 -0
  1111. pyrogram/raw/functions/contest/save_developer_info.py +86 -0
  1112. pyrogram/raw/functions/destroy_auth_key.py +49 -0
  1113. pyrogram/raw/functions/destroy_session.py +54 -0
  1114. pyrogram/raw/functions/folders/__init__.py +7 -0
  1115. pyrogram/raw/functions/folders/edit_peer_folders.py +54 -0
  1116. pyrogram/raw/functions/fragment/__init__.py +7 -0
  1117. pyrogram/raw/functions/fragment/get_collectible_info.py +54 -0
  1118. pyrogram/raw/functions/get_future_salts.py +54 -0
  1119. pyrogram/raw/functions/help/__init__.py +31 -0
  1120. pyrogram/raw/functions/help/accept_terms_of_service.py +54 -0
  1121. pyrogram/raw/functions/help/dismiss_suggestion.py +62 -0
  1122. pyrogram/raw/functions/help/edit_user_info.py +70 -0
  1123. pyrogram/raw/functions/help/get_app_config.py +54 -0
  1124. pyrogram/raw/functions/help/get_app_update.py +54 -0
  1125. pyrogram/raw/functions/help/get_cdn_config.py +49 -0
  1126. pyrogram/raw/functions/help/get_config.py +49 -0
  1127. pyrogram/raw/functions/help/get_countries_list.py +62 -0
  1128. pyrogram/raw/functions/help/get_deep_link_info.py +54 -0
  1129. pyrogram/raw/functions/help/get_invite_text.py +49 -0
  1130. pyrogram/raw/functions/help/get_nearest_dc.py +49 -0
  1131. pyrogram/raw/functions/help/get_passport_config.py +54 -0
  1132. pyrogram/raw/functions/help/get_peer_colors.py +54 -0
  1133. pyrogram/raw/functions/help/get_peer_profile_colors.py +54 -0
  1134. pyrogram/raw/functions/help/get_premium_promo.py +49 -0
  1135. pyrogram/raw/functions/help/get_promo_data.py +49 -0
  1136. pyrogram/raw/functions/help/get_recent_me_urls.py +54 -0
  1137. pyrogram/raw/functions/help/get_support.py +49 -0
  1138. pyrogram/raw/functions/help/get_support_name.py +49 -0
  1139. pyrogram/raw/functions/help/get_terms_of_service_update.py +49 -0
  1140. pyrogram/raw/functions/help/get_timezones_list.py +54 -0
  1141. pyrogram/raw/functions/help/get_user_info.py +54 -0
  1142. pyrogram/raw/functions/help/hide_promo_data.py +54 -0
  1143. pyrogram/raw/functions/help/save_app_log.py +54 -0
  1144. pyrogram/raw/functions/help/set_bot_updates_status.py +62 -0
  1145. pyrogram/raw/functions/init_connection.py +132 -0
  1146. pyrogram/raw/functions/invoke_after_msg.py +62 -0
  1147. pyrogram/raw/functions/invoke_after_msgs.py +62 -0
  1148. pyrogram/raw/functions/invoke_with_apns_secret.py +70 -0
  1149. pyrogram/raw/functions/invoke_with_business_connection.py +62 -0
  1150. pyrogram/raw/functions/invoke_with_google_play_integrity.py +70 -0
  1151. pyrogram/raw/functions/invoke_with_layer.py +62 -0
  1152. pyrogram/raw/functions/invoke_with_messages_range.py +62 -0
  1153. pyrogram/raw/functions/invoke_with_takeout.py +62 -0
  1154. pyrogram/raw/functions/invoke_without_updates.py +54 -0
  1155. pyrogram/raw/functions/langpack/__init__.py +11 -0
  1156. pyrogram/raw/functions/langpack/get_difference.py +70 -0
  1157. pyrogram/raw/functions/langpack/get_lang_pack.py +62 -0
  1158. pyrogram/raw/functions/langpack/get_language.py +62 -0
  1159. pyrogram/raw/functions/langpack/get_languages.py +54 -0
  1160. pyrogram/raw/functions/langpack/get_strings.py +70 -0
  1161. pyrogram/raw/functions/messages/__init__.py +219 -0
  1162. pyrogram/raw/functions/messages/accept_encryption.py +70 -0
  1163. pyrogram/raw/functions/messages/accept_url_auth.py +91 -0
  1164. pyrogram/raw/functions/messages/add_chat_user.py +70 -0
  1165. pyrogram/raw/functions/messages/check_chat_invite.py +54 -0
  1166. pyrogram/raw/functions/messages/check_history_import.py +54 -0
  1167. pyrogram/raw/functions/messages/check_history_import_peer.py +54 -0
  1168. pyrogram/raw/functions/messages/check_quick_reply_shortcut.py +54 -0
  1169. pyrogram/raw/functions/messages/clear_all_drafts.py +49 -0
  1170. pyrogram/raw/functions/messages/clear_recent_reactions.py +49 -0
  1171. pyrogram/raw/functions/messages/clear_recent_stickers.py +54 -0
  1172. pyrogram/raw/functions/messages/create_chat.py +73 -0
  1173. pyrogram/raw/functions/messages/delete_chat.py +54 -0
  1174. pyrogram/raw/functions/messages/delete_chat_user.py +70 -0
  1175. pyrogram/raw/functions/messages/delete_exported_chat_invite.py +62 -0
  1176. pyrogram/raw/functions/messages/delete_fact_check.py +62 -0
  1177. pyrogram/raw/functions/messages/delete_history.py +94 -0
  1178. pyrogram/raw/functions/messages/delete_messages.py +62 -0
  1179. pyrogram/raw/functions/messages/delete_phone_call_history.py +54 -0
  1180. pyrogram/raw/functions/messages/delete_quick_reply_messages.py +62 -0
  1181. pyrogram/raw/functions/messages/delete_quick_reply_shortcut.py +54 -0
  1182. pyrogram/raw/functions/messages/delete_revoked_exported_chat_invites.py +62 -0
  1183. pyrogram/raw/functions/messages/delete_saved_history.py +82 -0
  1184. pyrogram/raw/functions/messages/delete_scheduled_messages.py +62 -0
  1185. pyrogram/raw/functions/messages/discard_encryption.py +62 -0
  1186. pyrogram/raw/functions/messages/edit_chat_about.py +62 -0
  1187. pyrogram/raw/functions/messages/edit_chat_admin.py +70 -0
  1188. pyrogram/raw/functions/messages/edit_chat_default_banned_rights.py +62 -0
  1189. pyrogram/raw/functions/messages/edit_chat_photo.py +62 -0
  1190. pyrogram/raw/functions/messages/edit_chat_title.py +62 -0
  1191. pyrogram/raw/functions/messages/edit_exported_chat_invite.py +106 -0
  1192. pyrogram/raw/functions/messages/edit_fact_check.py +70 -0
  1193. pyrogram/raw/functions/messages/edit_inline_bot_message.py +107 -0
  1194. pyrogram/raw/functions/messages/edit_message.py +133 -0
  1195. pyrogram/raw/functions/messages/edit_quick_reply_shortcut.py +62 -0
  1196. pyrogram/raw/functions/messages/export_chat_invite.py +95 -0
  1197. pyrogram/raw/functions/messages/fave_sticker.py +62 -0
  1198. pyrogram/raw/functions/messages/forward_messages.py +154 -0
  1199. pyrogram/raw/functions/messages/get_admins_with_invites.py +54 -0
  1200. pyrogram/raw/functions/messages/get_all_drafts.py +49 -0
  1201. pyrogram/raw/functions/messages/get_all_stickers.py +54 -0
  1202. pyrogram/raw/functions/messages/get_archived_stickers.py +76 -0
  1203. pyrogram/raw/functions/messages/get_attach_menu_bot.py +54 -0
  1204. pyrogram/raw/functions/messages/get_attach_menu_bots.py +54 -0
  1205. pyrogram/raw/functions/messages/get_attached_stickers.py +54 -0
  1206. pyrogram/raw/functions/messages/get_available_effects.py +54 -0
  1207. pyrogram/raw/functions/messages/get_available_reactions.py +54 -0
  1208. pyrogram/raw/functions/messages/get_bot_app.py +62 -0
  1209. pyrogram/raw/functions/messages/get_bot_callback_answer.py +89 -0
  1210. pyrogram/raw/functions/messages/get_chat_invite_importers.py +104 -0
  1211. pyrogram/raw/functions/messages/get_chats.py +54 -0
  1212. pyrogram/raw/functions/messages/get_common_chats.py +70 -0
  1213. pyrogram/raw/functions/messages/get_custom_emoji_documents.py +54 -0
  1214. pyrogram/raw/functions/messages/get_default_history_ttl.py +49 -0
  1215. pyrogram/raw/functions/messages/get_default_tag_reactions.py +54 -0
  1216. pyrogram/raw/functions/messages/get_dh_config.py +62 -0
  1217. pyrogram/raw/functions/messages/get_dialog_filters.py +49 -0
  1218. pyrogram/raw/functions/messages/get_dialog_unread_marks.py +49 -0
  1219. pyrogram/raw/functions/messages/get_dialogs.py +103 -0
  1220. pyrogram/raw/functions/messages/get_discussion_message.py +62 -0
  1221. pyrogram/raw/functions/messages/get_document_by_hash.py +70 -0
  1222. pyrogram/raw/functions/messages/get_emoji_groups.py +54 -0
  1223. pyrogram/raw/functions/messages/get_emoji_keywords.py +54 -0
  1224. pyrogram/raw/functions/messages/get_emoji_keywords_difference.py +62 -0
  1225. pyrogram/raw/functions/messages/get_emoji_keywords_languages.py +54 -0
  1226. pyrogram/raw/functions/messages/get_emoji_profile_photo_groups.py +54 -0
  1227. pyrogram/raw/functions/messages/get_emoji_status_groups.py +54 -0
  1228. pyrogram/raw/functions/messages/get_emoji_sticker_groups.py +54 -0
  1229. pyrogram/raw/functions/messages/get_emoji_stickers.py +54 -0
  1230. pyrogram/raw/functions/messages/get_emoji_url.py +54 -0
  1231. pyrogram/raw/functions/messages/get_exported_chat_invite.py +62 -0
  1232. pyrogram/raw/functions/messages/get_exported_chat_invites.py +96 -0
  1233. pyrogram/raw/functions/messages/get_extended_media.py +62 -0
  1234. pyrogram/raw/functions/messages/get_fact_check.py +62 -0
  1235. pyrogram/raw/functions/messages/get_faved_stickers.py +54 -0
  1236. pyrogram/raw/functions/messages/get_featured_emoji_stickers.py +54 -0
  1237. pyrogram/raw/functions/messages/get_featured_stickers.py +54 -0
  1238. pyrogram/raw/functions/messages/get_full_chat.py +54 -0
  1239. pyrogram/raw/functions/messages/get_game_high_scores.py +70 -0
  1240. pyrogram/raw/functions/messages/get_history.py +110 -0
  1241. pyrogram/raw/functions/messages/get_inline_bot_results.py +90 -0
  1242. pyrogram/raw/functions/messages/get_inline_game_high_scores.py +62 -0
  1243. pyrogram/raw/functions/messages/get_mask_stickers.py +54 -0
  1244. pyrogram/raw/functions/messages/get_message_edit_data.py +62 -0
  1245. pyrogram/raw/functions/messages/get_message_reactions_list.py +91 -0
  1246. pyrogram/raw/functions/messages/get_message_read_participants.py +62 -0
  1247. pyrogram/raw/functions/messages/get_messages.py +54 -0
  1248. pyrogram/raw/functions/messages/get_messages_reactions.py +62 -0
  1249. pyrogram/raw/functions/messages/get_messages_views.py +70 -0
  1250. pyrogram/raw/functions/messages/get_my_stickers.py +62 -0
  1251. pyrogram/raw/functions/messages/get_old_featured_stickers.py +70 -0
  1252. pyrogram/raw/functions/messages/get_onlines.py +54 -0
  1253. pyrogram/raw/functions/messages/get_outbox_read_date.py +62 -0
  1254. pyrogram/raw/functions/messages/get_peer_dialogs.py +54 -0
  1255. pyrogram/raw/functions/messages/get_peer_settings.py +54 -0
  1256. pyrogram/raw/functions/messages/get_pinned_dialogs.py +54 -0
  1257. pyrogram/raw/functions/messages/get_pinned_saved_dialogs.py +49 -0
  1258. pyrogram/raw/functions/messages/get_poll_results.py +62 -0
  1259. pyrogram/raw/functions/messages/get_poll_votes.py +90 -0
  1260. pyrogram/raw/functions/messages/get_quick_replies.py +54 -0
  1261. pyrogram/raw/functions/messages/get_quick_reply_messages.py +74 -0
  1262. pyrogram/raw/functions/messages/get_recent_locations.py +70 -0
  1263. pyrogram/raw/functions/messages/get_recent_reactions.py +62 -0
  1264. pyrogram/raw/functions/messages/get_recent_stickers.py +62 -0
  1265. pyrogram/raw/functions/messages/get_replies.py +118 -0
  1266. pyrogram/raw/functions/messages/get_saved_dialogs.py +94 -0
  1267. pyrogram/raw/functions/messages/get_saved_gifs.py +54 -0
  1268. pyrogram/raw/functions/messages/get_saved_history.py +110 -0
  1269. pyrogram/raw/functions/messages/get_saved_reaction_tags.py +66 -0
  1270. pyrogram/raw/functions/messages/get_scheduled_history.py +62 -0
  1271. pyrogram/raw/functions/messages/get_scheduled_messages.py +62 -0
  1272. pyrogram/raw/functions/messages/get_search_counters.py +83 -0
  1273. pyrogram/raw/functions/messages/get_search_results_calendar.py +90 -0
  1274. pyrogram/raw/functions/messages/get_search_results_positions.py +90 -0
  1275. pyrogram/raw/functions/messages/get_split_ranges.py +49 -0
  1276. pyrogram/raw/functions/messages/get_sticker_set.py +62 -0
  1277. pyrogram/raw/functions/messages/get_stickers.py +62 -0
  1278. pyrogram/raw/functions/messages/get_suggested_dialog_filters.py +49 -0
  1279. pyrogram/raw/functions/messages/get_top_reactions.py +62 -0
  1280. pyrogram/raw/functions/messages/get_unread_mentions.py +105 -0
  1281. pyrogram/raw/functions/messages/get_unread_reactions.py +105 -0
  1282. pyrogram/raw/functions/messages/get_web_page.py +62 -0
  1283. pyrogram/raw/functions/messages/get_web_page_preview.py +66 -0
  1284. pyrogram/raw/functions/messages/hide_all_chat_join_requests.py +71 -0
  1285. pyrogram/raw/functions/messages/hide_chat_join_request.py +70 -0
  1286. pyrogram/raw/functions/messages/hide_peer_settings_bar.py +54 -0
  1287. pyrogram/raw/functions/messages/import_chat_invite.py +54 -0
  1288. pyrogram/raw/functions/messages/init_history_import.py +70 -0
  1289. pyrogram/raw/functions/messages/install_sticker_set.py +62 -0
  1290. pyrogram/raw/functions/messages/mark_dialog_unread.py +62 -0
  1291. pyrogram/raw/functions/messages/migrate_chat.py +54 -0
  1292. pyrogram/raw/functions/messages/prolong_web_view.py +98 -0
  1293. pyrogram/raw/functions/messages/rate_transcribed_audio.py +78 -0
  1294. pyrogram/raw/functions/messages/read_discussion.py +70 -0
  1295. pyrogram/raw/functions/messages/read_encrypted_history.py +62 -0
  1296. pyrogram/raw/functions/messages/read_featured_stickers.py +54 -0
  1297. pyrogram/raw/functions/messages/read_history.py +62 -0
  1298. pyrogram/raw/functions/messages/read_mentions.py +65 -0
  1299. pyrogram/raw/functions/messages/read_message_contents.py +54 -0
  1300. pyrogram/raw/functions/messages/read_reactions.py +65 -0
  1301. pyrogram/raw/functions/messages/received_messages.py +54 -0
  1302. pyrogram/raw/functions/messages/received_queue.py +54 -0
  1303. pyrogram/raw/functions/messages/reorder_pinned_dialogs.py +70 -0
  1304. pyrogram/raw/functions/messages/reorder_pinned_saved_dialogs.py +62 -0
  1305. pyrogram/raw/functions/messages/reorder_quick_replies.py +54 -0
  1306. pyrogram/raw/functions/messages/reorder_sticker_sets.py +68 -0
  1307. pyrogram/raw/functions/messages/report.py +78 -0
  1308. pyrogram/raw/functions/messages/report_encrypted_spam.py +54 -0
  1309. pyrogram/raw/functions/messages/report_reaction.py +70 -0
  1310. pyrogram/raw/functions/messages/report_spam.py +54 -0
  1311. pyrogram/raw/functions/messages/request_app_web_view.py +103 -0
  1312. pyrogram/raw/functions/messages/request_encryption.py +70 -0
  1313. pyrogram/raw/functions/messages/request_simple_web_view.py +110 -0
  1314. pyrogram/raw/functions/messages/request_url_auth.py +85 -0
  1315. pyrogram/raw/functions/messages/request_web_view.py +138 -0
  1316. pyrogram/raw/functions/messages/save_default_send_as.py +62 -0
  1317. pyrogram/raw/functions/messages/save_draft.py +115 -0
  1318. pyrogram/raw/functions/messages/save_gif.py +62 -0
  1319. pyrogram/raw/functions/messages/save_recent_sticker.py +70 -0
  1320. pyrogram/raw/functions/messages/search.py +175 -0
  1321. pyrogram/raw/functions/messages/search_custom_emoji.py +62 -0
  1322. pyrogram/raw/functions/messages/search_emoji_sticker_sets.py +70 -0
  1323. pyrogram/raw/functions/messages/search_global.py +127 -0
  1324. pyrogram/raw/functions/messages/search_sent_media.py +70 -0
  1325. pyrogram/raw/functions/messages/search_sticker_sets.py +70 -0
  1326. pyrogram/raw/functions/messages/send_bot_requested_peer.py +78 -0
  1327. pyrogram/raw/functions/messages/send_encrypted.py +78 -0
  1328. pyrogram/raw/functions/messages/send_encrypted_file.py +86 -0
  1329. pyrogram/raw/functions/messages/send_encrypted_service.py +70 -0
  1330. pyrogram/raw/functions/messages/send_inline_bot_result.py +143 -0
  1331. pyrogram/raw/functions/messages/send_media.py +184 -0
  1332. pyrogram/raw/functions/messages/send_message.py +182 -0
  1333. pyrogram/raw/functions/messages/send_multi_media.py +148 -0
  1334. pyrogram/raw/functions/messages/send_quick_reply_messages.py +78 -0
  1335. pyrogram/raw/functions/messages/send_reaction.py +86 -0
  1336. pyrogram/raw/functions/messages/send_scheduled_messages.py +62 -0
  1337. pyrogram/raw/functions/messages/send_screenshot_notification.py +70 -0
  1338. pyrogram/raw/functions/messages/send_vote.py +70 -0
  1339. pyrogram/raw/functions/messages/send_web_view_data.py +78 -0
  1340. pyrogram/raw/functions/messages/send_web_view_result_message.py +62 -0
  1341. pyrogram/raw/functions/messages/set_bot_callback_answer.py +88 -0
  1342. pyrogram/raw/functions/messages/set_bot_precheckout_results.py +71 -0
  1343. pyrogram/raw/functions/messages/set_bot_shipping_results.py +75 -0
  1344. pyrogram/raw/functions/messages/set_chat_available_reactions.py +73 -0
  1345. pyrogram/raw/functions/messages/set_chat_theme.py +62 -0
  1346. pyrogram/raw/functions/messages/set_chat_wall_paper.py +97 -0
  1347. pyrogram/raw/functions/messages/set_default_history_ttl.py +54 -0
  1348. pyrogram/raw/functions/messages/set_default_reaction.py +54 -0
  1349. pyrogram/raw/functions/messages/set_encrypted_typing.py +62 -0
  1350. pyrogram/raw/functions/messages/set_game_score.py +92 -0
  1351. pyrogram/raw/functions/messages/set_history_ttl.py +62 -0
  1352. pyrogram/raw/functions/messages/set_inline_bot_results.py +113 -0
  1353. pyrogram/raw/functions/messages/set_inline_game_score.py +84 -0
  1354. pyrogram/raw/functions/messages/set_typing.py +73 -0
  1355. pyrogram/raw/functions/messages/start_bot.py +78 -0
  1356. pyrogram/raw/functions/messages/start_history_import.py +62 -0
  1357. pyrogram/raw/functions/messages/toggle_bot_in_attach_menu.py +70 -0
  1358. pyrogram/raw/functions/messages/toggle_dialog_filter_tags.py +54 -0
  1359. pyrogram/raw/functions/messages/toggle_dialog_pin.py +62 -0
  1360. pyrogram/raw/functions/messages/toggle_no_forwards.py +62 -0
  1361. pyrogram/raw/functions/messages/toggle_peer_translations.py +62 -0
  1362. pyrogram/raw/functions/messages/toggle_saved_dialog_pin.py +62 -0
  1363. pyrogram/raw/functions/messages/toggle_sticker_sets.py +74 -0
  1364. pyrogram/raw/functions/messages/transcribe_audio.py +62 -0
  1365. pyrogram/raw/functions/messages/translate_text.py +86 -0
  1366. pyrogram/raw/functions/messages/uninstall_sticker_set.py +54 -0
  1367. pyrogram/raw/functions/messages/unpin_all_messages.py +65 -0
  1368. pyrogram/raw/functions/messages/update_dialog_filter.py +66 -0
  1369. pyrogram/raw/functions/messages/update_dialog_filters_order.py +54 -0
  1370. pyrogram/raw/functions/messages/update_pinned_message.py +82 -0
  1371. pyrogram/raw/functions/messages/update_saved_reaction_tag.py +65 -0
  1372. pyrogram/raw/functions/messages/upload_encrypted_file.py +62 -0
  1373. pyrogram/raw/functions/messages/upload_imported_media.py +78 -0
  1374. pyrogram/raw/functions/messages/upload_media.py +73 -0
  1375. pyrogram/raw/functions/payments/__init__.py +31 -0
  1376. pyrogram/raw/functions/payments/apply_gift_code.py +54 -0
  1377. pyrogram/raw/functions/payments/assign_app_store_transaction.py +62 -0
  1378. pyrogram/raw/functions/payments/assign_play_market_transaction.py +62 -0
  1379. pyrogram/raw/functions/payments/can_purchase_premium.py +54 -0
  1380. pyrogram/raw/functions/payments/check_gift_code.py +54 -0
  1381. pyrogram/raw/functions/payments/clear_saved_info.py +60 -0
  1382. pyrogram/raw/functions/payments/export_invoice.py +54 -0
  1383. pyrogram/raw/functions/payments/get_bank_card_data.py +54 -0
  1384. pyrogram/raw/functions/payments/get_giveaway_info.py +62 -0
  1385. pyrogram/raw/functions/payments/get_payment_form.py +66 -0
  1386. pyrogram/raw/functions/payments/get_payment_receipt.py +62 -0
  1387. pyrogram/raw/functions/payments/get_premium_gift_code_options.py +58 -0
  1388. pyrogram/raw/functions/payments/get_saved_info.py +49 -0
  1389. pyrogram/raw/functions/payments/get_stars_revenue_ads_account_url.py +54 -0
  1390. pyrogram/raw/functions/payments/get_stars_revenue_stats.py +62 -0
  1391. pyrogram/raw/functions/payments/get_stars_revenue_withdrawal_url.py +70 -0
  1392. pyrogram/raw/functions/payments/get_stars_status.py +54 -0
  1393. pyrogram/raw/functions/payments/get_stars_topup_options.py +49 -0
  1394. pyrogram/raw/functions/payments/get_stars_transactions.py +90 -0
  1395. pyrogram/raw/functions/payments/get_stars_transactions_by_id.py +62 -0
  1396. pyrogram/raw/functions/payments/launch_prepaid_giveaway.py +70 -0
  1397. pyrogram/raw/functions/payments/refund_stars_charge.py +62 -0
  1398. pyrogram/raw/functions/payments/send_payment_form.py +99 -0
  1399. pyrogram/raw/functions/payments/send_stars_form.py +65 -0
  1400. pyrogram/raw/functions/payments/validate_requested_info.py +70 -0
  1401. pyrogram/raw/functions/phone/__init__.py +37 -0
  1402. pyrogram/raw/functions/phone/accept_call.py +70 -0
  1403. pyrogram/raw/functions/phone/check_group_call.py +62 -0
  1404. pyrogram/raw/functions/phone/confirm_call.py +78 -0
  1405. pyrogram/raw/functions/phone/create_group_call.py +88 -0
  1406. pyrogram/raw/functions/phone/discard_call.py +86 -0
  1407. pyrogram/raw/functions/phone/discard_group_call.py +54 -0
  1408. pyrogram/raw/functions/phone/edit_group_call_participant.py +118 -0
  1409. pyrogram/raw/functions/phone/edit_group_call_title.py +62 -0
  1410. pyrogram/raw/functions/phone/export_group_call_invite.py +62 -0
  1411. pyrogram/raw/functions/phone/get_call_config.py +49 -0
  1412. pyrogram/raw/functions/phone/get_group_call.py +62 -0
  1413. pyrogram/raw/functions/phone/get_group_call_join_as.py +54 -0
  1414. pyrogram/raw/functions/phone/get_group_call_stream_channels.py +54 -0
  1415. pyrogram/raw/functions/phone/get_group_call_stream_rtmp_url.py +62 -0
  1416. pyrogram/raw/functions/phone/get_group_participants.py +86 -0
  1417. pyrogram/raw/functions/phone/invite_to_group_call.py +62 -0
  1418. pyrogram/raw/functions/phone/join_group_call.py +93 -0
  1419. pyrogram/raw/functions/phone/join_group_call_presentation.py +62 -0
  1420. pyrogram/raw/functions/phone/leave_group_call.py +62 -0
  1421. pyrogram/raw/functions/phone/leave_group_call_presentation.py +54 -0
  1422. pyrogram/raw/functions/phone/received_call.py +54 -0
  1423. pyrogram/raw/functions/phone/request_call.py +86 -0
  1424. pyrogram/raw/functions/phone/save_call_debug.py +62 -0
  1425. pyrogram/raw/functions/phone/save_call_log.py +62 -0
  1426. pyrogram/raw/functions/phone/save_default_group_call_join_as.py +62 -0
  1427. pyrogram/raw/functions/phone/send_signaling_data.py +62 -0
  1428. pyrogram/raw/functions/phone/set_call_rating.py +78 -0
  1429. pyrogram/raw/functions/phone/start_scheduled_group_call.py +54 -0
  1430. pyrogram/raw/functions/phone/toggle_group_call_record.py +86 -0
  1431. pyrogram/raw/functions/phone/toggle_group_call_settings.py +71 -0
  1432. pyrogram/raw/functions/phone/toggle_group_call_start_subscription.py +62 -0
  1433. pyrogram/raw/functions/photos/__init__.py +11 -0
  1434. pyrogram/raw/functions/photos/delete_photos.py +54 -0
  1435. pyrogram/raw/functions/photos/get_user_photos.py +78 -0
  1436. pyrogram/raw/functions/photos/update_profile_photo.py +72 -0
  1437. pyrogram/raw/functions/photos/upload_contact_profile_photo.py +107 -0
  1438. pyrogram/raw/functions/photos/upload_profile_photo.py +103 -0
  1439. pyrogram/raw/functions/ping.py +54 -0
  1440. pyrogram/raw/functions/ping_delay_disconnect.py +62 -0
  1441. pyrogram/raw/functions/premium/__init__.py +11 -0
  1442. pyrogram/raw/functions/premium/apply_boost.py +66 -0
  1443. pyrogram/raw/functions/premium/get_boosts_list.py +78 -0
  1444. pyrogram/raw/functions/premium/get_boosts_status.py +54 -0
  1445. pyrogram/raw/functions/premium/get_my_boosts.py +49 -0
  1446. pyrogram/raw/functions/premium/get_user_boosts.py +62 -0
  1447. pyrogram/raw/functions/req_dh_params.py +94 -0
  1448. pyrogram/raw/functions/req_pq.py +54 -0
  1449. pyrogram/raw/functions/req_pq_multi.py +54 -0
  1450. pyrogram/raw/functions/rpc_drop_answer.py +54 -0
  1451. pyrogram/raw/functions/set_client_dh_params.py +70 -0
  1452. pyrogram/raw/functions/smsjobs/__init__.py +13 -0
  1453. pyrogram/raw/functions/smsjobs/finish_job.py +65 -0
  1454. pyrogram/raw/functions/smsjobs/get_sms_job.py +54 -0
  1455. pyrogram/raw/functions/smsjobs/get_status.py +49 -0
  1456. pyrogram/raw/functions/smsjobs/is_eligible_to_join.py +49 -0
  1457. pyrogram/raw/functions/smsjobs/join.py +49 -0
  1458. pyrogram/raw/functions/smsjobs/leave.py +49 -0
  1459. pyrogram/raw/functions/smsjobs/update_settings.py +54 -0
  1460. pyrogram/raw/functions/stats/__init__.py +16 -0
  1461. pyrogram/raw/functions/stats/get_broadcast_revenue_stats.py +62 -0
  1462. pyrogram/raw/functions/stats/get_broadcast_revenue_transactions.py +70 -0
  1463. pyrogram/raw/functions/stats/get_broadcast_revenue_withdrawal_url.py +62 -0
  1464. pyrogram/raw/functions/stats/get_broadcast_stats.py +62 -0
  1465. pyrogram/raw/functions/stats/get_megagroup_stats.py +62 -0
  1466. pyrogram/raw/functions/stats/get_message_public_forwards.py +78 -0
  1467. pyrogram/raw/functions/stats/get_message_stats.py +70 -0
  1468. pyrogram/raw/functions/stats/get_story_public_forwards.py +78 -0
  1469. pyrogram/raw/functions/stats/get_story_stats.py +70 -0
  1470. pyrogram/raw/functions/stats/load_async_graph.py +65 -0
  1471. pyrogram/raw/functions/stickers/__init__.py +17 -0
  1472. pyrogram/raw/functions/stickers/add_sticker_to_set.py +62 -0
  1473. pyrogram/raw/functions/stickers/change_sticker.py +84 -0
  1474. pyrogram/raw/functions/stickers/change_sticker_position.py +62 -0
  1475. pyrogram/raw/functions/stickers/check_short_name.py +54 -0
  1476. pyrogram/raw/functions/stickers/create_sticker_set.py +117 -0
  1477. pyrogram/raw/functions/stickers/delete_sticker_set.py +54 -0
  1478. pyrogram/raw/functions/stickers/remove_sticker_from_set.py +54 -0
  1479. pyrogram/raw/functions/stickers/rename_sticker_set.py +62 -0
  1480. pyrogram/raw/functions/stickers/replace_sticker.py +62 -0
  1481. pyrogram/raw/functions/stickers/set_sticker_set_thumb.py +75 -0
  1482. pyrogram/raw/functions/stickers/suggest_short_name.py +54 -0
  1483. pyrogram/raw/functions/stories/__init__.py +32 -0
  1484. pyrogram/raw/functions/stories/activate_stealth_mode.py +60 -0
  1485. pyrogram/raw/functions/stories/can_send_story.py +54 -0
  1486. pyrogram/raw/functions/stories/delete_stories.py +62 -0
  1487. pyrogram/raw/functions/stories/edit_story.py +113 -0
  1488. pyrogram/raw/functions/stories/export_story_link.py +62 -0
  1489. pyrogram/raw/functions/stories/get_all_read_peer_stories.py +49 -0
  1490. pyrogram/raw/functions/stories/get_all_stories.py +69 -0
  1491. pyrogram/raw/functions/stories/get_chats_to_send.py +49 -0
  1492. pyrogram/raw/functions/stories/get_peer_max_i_ds.py +54 -0
  1493. pyrogram/raw/functions/stories/get_peer_stories.py +54 -0
  1494. pyrogram/raw/functions/stories/get_pinned_stories.py +70 -0
  1495. pyrogram/raw/functions/stories/get_stories_archive.py +70 -0
  1496. pyrogram/raw/functions/stories/get_stories_by_id.py +62 -0
  1497. pyrogram/raw/functions/stories/get_stories_views.py +62 -0
  1498. pyrogram/raw/functions/stories/get_story_reactions_list.py +97 -0
  1499. pyrogram/raw/functions/stories/get_story_views_list.py +107 -0
  1500. pyrogram/raw/functions/stories/increment_story_views.py +62 -0
  1501. pyrogram/raw/functions/stories/read_stories.py +62 -0
  1502. pyrogram/raw/functions/stories/report.py +78 -0
  1503. pyrogram/raw/functions/stories/search_posts.py +83 -0
  1504. pyrogram/raw/functions/stories/send_reaction.py +78 -0
  1505. pyrogram/raw/functions/stories/send_story.py +155 -0
  1506. pyrogram/raw/functions/stories/toggle_all_stories_hidden.py +54 -0
  1507. pyrogram/raw/functions/stories/toggle_peer_stories_hidden.py +62 -0
  1508. pyrogram/raw/functions/stories/toggle_pinned.py +70 -0
  1509. pyrogram/raw/functions/stories/toggle_pinned_to_top.py +62 -0
  1510. pyrogram/raw/functions/updates/__init__.py +9 -0
  1511. pyrogram/raw/functions/updates/get_channel_difference.py +86 -0
  1512. pyrogram/raw/functions/updates/get_difference.py +99 -0
  1513. pyrogram/raw/functions/updates/get_state.py +49 -0
  1514. pyrogram/raw/functions/upload/__init__.py +14 -0
  1515. pyrogram/raw/functions/upload/get_cdn_file.py +70 -0
  1516. pyrogram/raw/functions/upload/get_cdn_file_hashes.py +62 -0
  1517. pyrogram/raw/functions/upload/get_file.py +84 -0
  1518. pyrogram/raw/functions/upload/get_file_hashes.py +62 -0
  1519. pyrogram/raw/functions/upload/get_web_file.py +70 -0
  1520. pyrogram/raw/functions/upload/reupload_cdn_file.py +62 -0
  1521. pyrogram/raw/functions/upload/save_big_file_part.py +78 -0
  1522. pyrogram/raw/functions/upload/save_file_part.py +70 -0
  1523. pyrogram/raw/functions/users/__init__.py +10 -0
  1524. pyrogram/raw/functions/users/get_full_user.py +54 -0
  1525. pyrogram/raw/functions/users/get_is_premium_required_to_contact.py +54 -0
  1526. pyrogram/raw/functions/users/get_users.py +54 -0
  1527. pyrogram/raw/functions/users/set_secure_value_errors.py +62 -0
  1528. pyrogram/raw/types/__init__.py +1102 -0
  1529. pyrogram/raw/types/access_point_rule.py +70 -0
  1530. pyrogram/raw/types/account/__init__.py +37 -0
  1531. pyrogram/raw/types/account/authorization_form.py +98 -0
  1532. pyrogram/raw/types/account/authorizations.py +71 -0
  1533. pyrogram/raw/types/account/auto_download_settings.py +79 -0
  1534. pyrogram/raw/types/account/auto_save_settings.py +103 -0
  1535. pyrogram/raw/types/account/business_chat_links.py +79 -0
  1536. pyrogram/raw/types/account/connected_bots.py +71 -0
  1537. pyrogram/raw/types/account/content_settings.py +69 -0
  1538. pyrogram/raw/types/account/email_verified.py +63 -0
  1539. pyrogram/raw/types/account/email_verified_login.py +71 -0
  1540. pyrogram/raw/types/account/emoji_statuses.py +73 -0
  1541. pyrogram/raw/types/account/emoji_statuses_not_modified.py +60 -0
  1542. pyrogram/raw/types/account/password.py +163 -0
  1543. pyrogram/raw/types/account/password_input_settings.py +95 -0
  1544. pyrogram/raw/types/account/password_settings.py +76 -0
  1545. pyrogram/raw/types/account/privacy_rules.py +80 -0
  1546. pyrogram/raw/types/account/reset_password_failed_wait.py +63 -0
  1547. pyrogram/raw/types/account/reset_password_ok.py +58 -0
  1548. pyrogram/raw/types/account/reset_password_requested_wait.py +63 -0
  1549. pyrogram/raw/types/account/resolved_business_chat_links.py +99 -0
  1550. pyrogram/raw/types/account/saved_ringtone.py +58 -0
  1551. pyrogram/raw/types/account/saved_ringtone_converted.py +63 -0
  1552. pyrogram/raw/types/account/saved_ringtones.py +71 -0
  1553. pyrogram/raw/types/account/saved_ringtones_not_modified.py +58 -0
  1554. pyrogram/raw/types/account/sent_email_code.py +71 -0
  1555. pyrogram/raw/types/account/takeout.py +63 -0
  1556. pyrogram/raw/types/account/themes.py +72 -0
  1557. pyrogram/raw/types/account/themes_not_modified.py +59 -0
  1558. pyrogram/raw/types/account/tmp_password.py +71 -0
  1559. pyrogram/raw/types/account/wall_papers.py +71 -0
  1560. pyrogram/raw/types/account/wall_papers_not_modified.py +58 -0
  1561. pyrogram/raw/types/account/web_authorizations.py +71 -0
  1562. pyrogram/raw/types/account_days_ttl.py +63 -0
  1563. pyrogram/raw/types/attach_menu_bot.py +118 -0
  1564. pyrogram/raw/types/attach_menu_bot_icon.py +74 -0
  1565. pyrogram/raw/types/attach_menu_bot_icon_color.py +62 -0
  1566. pyrogram/raw/types/attach_menu_bots.py +79 -0
  1567. pyrogram/raw/types/attach_menu_bots_bot.py +71 -0
  1568. pyrogram/raw/types/attach_menu_bots_not_modified.py +58 -0
  1569. pyrogram/raw/types/attach_menu_peer_type_bot_pm.py +49 -0
  1570. pyrogram/raw/types/attach_menu_peer_type_broadcast.py +49 -0
  1571. pyrogram/raw/types/attach_menu_peer_type_chat.py +49 -0
  1572. pyrogram/raw/types/attach_menu_peer_type_pm.py +49 -0
  1573. pyrogram/raw/types/attach_menu_peer_type_same_bot_pm.py +49 -0
  1574. pyrogram/raw/types/auth/__init__.py +32 -0
  1575. pyrogram/raw/types/auth/authorization.py +104 -0
  1576. pyrogram/raw/types/auth/authorization_sign_up_required.py +73 -0
  1577. pyrogram/raw/types/auth/code_type_call.py +49 -0
  1578. pyrogram/raw/types/auth/code_type_flash_call.py +49 -0
  1579. pyrogram/raw/types/auth/code_type_fragment_sms.py +49 -0
  1580. pyrogram/raw/types/auth/code_type_missed_call.py +49 -0
  1581. pyrogram/raw/types/auth/code_type_sms.py +49 -0
  1582. pyrogram/raw/types/auth/exported_authorization.py +71 -0
  1583. pyrogram/raw/types/auth/logged_out.py +66 -0
  1584. pyrogram/raw/types/auth/login_token.py +72 -0
  1585. pyrogram/raw/types/auth/login_token_migrate_to.py +72 -0
  1586. pyrogram/raw/types/auth/login_token_success.py +64 -0
  1587. pyrogram/raw/types/auth/password_recovery.py +63 -0
  1588. pyrogram/raw/types/auth/sent_code.py +97 -0
  1589. pyrogram/raw/types/auth/sent_code_success.py +68 -0
  1590. pyrogram/raw/types/auth/sent_code_type_app.py +54 -0
  1591. pyrogram/raw/types/auth/sent_code_type_call.py +54 -0
  1592. pyrogram/raw/types/auth/sent_code_type_email_code.py +94 -0
  1593. pyrogram/raw/types/auth/sent_code_type_firebase_sms.py +101 -0
  1594. pyrogram/raw/types/auth/sent_code_type_flash_call.py +54 -0
  1595. pyrogram/raw/types/auth/sent_code_type_fragment_sms.py +62 -0
  1596. pyrogram/raw/types/auth/sent_code_type_missed_call.py +62 -0
  1597. pyrogram/raw/types/auth/sent_code_type_set_up_email_required.py +60 -0
  1598. pyrogram/raw/types/auth/sent_code_type_sms.py +54 -0
  1599. pyrogram/raw/types/auth/sent_code_type_sms_phrase.py +57 -0
  1600. pyrogram/raw/types/auth/sent_code_type_sms_word.py +57 -0
  1601. pyrogram/raw/types/authorization.py +189 -0
  1602. pyrogram/raw/types/auto_download_settings.py +126 -0
  1603. pyrogram/raw/types/auto_save_exception.py +62 -0
  1604. pyrogram/raw/types/auto_save_settings.py +69 -0
  1605. pyrogram/raw/types/available_effect.py +96 -0
  1606. pyrogram/raw/types/available_reaction.py +136 -0
  1607. pyrogram/raw/types/bad_msg_notification.py +70 -0
  1608. pyrogram/raw/types/bad_server_salt.py +78 -0
  1609. pyrogram/raw/types/bank_card_open_url.py +62 -0
  1610. pyrogram/raw/types/base_theme_arctic.py +49 -0
  1611. pyrogram/raw/types/base_theme_classic.py +49 -0
  1612. pyrogram/raw/types/base_theme_day.py +49 -0
  1613. pyrogram/raw/types/base_theme_night.py +49 -0
  1614. pyrogram/raw/types/base_theme_tinted.py +49 -0
  1615. pyrogram/raw/types/bind_auth_key_inner.py +86 -0
  1616. pyrogram/raw/types/birthday.py +73 -0
  1617. pyrogram/raw/types/boost.py +126 -0
  1618. pyrogram/raw/types/bot_app.py +114 -0
  1619. pyrogram/raw/types/bot_app_not_modified.py +49 -0
  1620. pyrogram/raw/types/bot_business_connection.py +92 -0
  1621. pyrogram/raw/types/bot_command.py +71 -0
  1622. pyrogram/raw/types/bot_command_scope_chat_admins.py +49 -0
  1623. pyrogram/raw/types/bot_command_scope_chats.py +49 -0
  1624. pyrogram/raw/types/bot_command_scope_default.py +49 -0
  1625. pyrogram/raw/types/bot_command_scope_peer.py +54 -0
  1626. pyrogram/raw/types/bot_command_scope_peer_admins.py +54 -0
  1627. pyrogram/raw/types/bot_command_scope_peer_user.py +62 -0
  1628. pyrogram/raw/types/bot_command_scope_users.py +49 -0
  1629. pyrogram/raw/types/bot_info.py +106 -0
  1630. pyrogram/raw/types/bot_inline_media_result.py +110 -0
  1631. pyrogram/raw/types/bot_inline_message_media_auto.py +82 -0
  1632. pyrogram/raw/types/bot_inline_message_media_contact.py +90 -0
  1633. pyrogram/raw/types/bot_inline_message_media_geo.py +93 -0
  1634. pyrogram/raw/types/bot_inline_message_media_invoice.py +112 -0
  1635. pyrogram/raw/types/bot_inline_message_media_venue.py +106 -0
  1636. pyrogram/raw/types/bot_inline_message_media_web_page.py +114 -0
  1637. pyrogram/raw/types/bot_inline_message_text.py +88 -0
  1638. pyrogram/raw/types/bot_inline_result.py +119 -0
  1639. pyrogram/raw/types/bot_menu_button.py +71 -0
  1640. pyrogram/raw/types/bot_menu_button_commands.py +58 -0
  1641. pyrogram/raw/types/bot_menu_button_default.py +58 -0
  1642. pyrogram/raw/types/bots/__init__.py +7 -0
  1643. pyrogram/raw/types/bots/bot_info.py +79 -0
  1644. pyrogram/raw/types/broadcast_revenue_balances.py +70 -0
  1645. pyrogram/raw/types/broadcast_revenue_transaction_proceeds.py +70 -0
  1646. pyrogram/raw/types/broadcast_revenue_transaction_refund.py +70 -0
  1647. pyrogram/raw/types/broadcast_revenue_transaction_withdrawal.py +102 -0
  1648. pyrogram/raw/types/business_away_message.py +78 -0
  1649. pyrogram/raw/types/business_away_message_schedule_always.py +49 -0
  1650. pyrogram/raw/types/business_away_message_schedule_custom.py +62 -0
  1651. pyrogram/raw/types/business_away_message_schedule_outside_work_hours.py +49 -0
  1652. pyrogram/raw/types/business_bot_recipients.py +98 -0
  1653. pyrogram/raw/types/business_chat_link.py +101 -0
  1654. pyrogram/raw/types/business_greeting_message.py +70 -0
  1655. pyrogram/raw/types/business_intro.py +74 -0
  1656. pyrogram/raw/types/business_location.py +66 -0
  1657. pyrogram/raw/types/business_recipients.py +88 -0
  1658. pyrogram/raw/types/business_weekly_open.py +62 -0
  1659. pyrogram/raw/types/business_work_hours.py +70 -0
  1660. pyrogram/raw/types/cdn_config.py +63 -0
  1661. pyrogram/raw/types/cdn_public_key.py +62 -0
  1662. pyrogram/raw/types/channel.py +347 -0
  1663. pyrogram/raw/types/channel_admin_log_event.py +78 -0
  1664. pyrogram/raw/types/channel_admin_log_event_action_change_about.py +62 -0
  1665. pyrogram/raw/types/channel_admin_log_event_action_change_available_reactions.py +62 -0
  1666. pyrogram/raw/types/channel_admin_log_event_action_change_emoji_status.py +62 -0
  1667. pyrogram/raw/types/channel_admin_log_event_action_change_emoji_sticker_set.py +62 -0
  1668. pyrogram/raw/types/channel_admin_log_event_action_change_history_ttl.py +62 -0
  1669. pyrogram/raw/types/channel_admin_log_event_action_change_linked_chat.py +62 -0
  1670. pyrogram/raw/types/channel_admin_log_event_action_change_location.py +62 -0
  1671. pyrogram/raw/types/channel_admin_log_event_action_change_peer_color.py +62 -0
  1672. pyrogram/raw/types/channel_admin_log_event_action_change_photo.py +62 -0
  1673. pyrogram/raw/types/channel_admin_log_event_action_change_profile_peer_color.py +62 -0
  1674. pyrogram/raw/types/channel_admin_log_event_action_change_sticker_set.py +62 -0
  1675. pyrogram/raw/types/channel_admin_log_event_action_change_title.py +62 -0
  1676. pyrogram/raw/types/channel_admin_log_event_action_change_username.py +62 -0
  1677. pyrogram/raw/types/channel_admin_log_event_action_change_usernames.py +62 -0
  1678. pyrogram/raw/types/channel_admin_log_event_action_change_wallpaper.py +62 -0
  1679. pyrogram/raw/types/channel_admin_log_event_action_create_topic.py +54 -0
  1680. pyrogram/raw/types/channel_admin_log_event_action_default_banned_rights.py +62 -0
  1681. pyrogram/raw/types/channel_admin_log_event_action_delete_message.py +54 -0
  1682. pyrogram/raw/types/channel_admin_log_event_action_delete_topic.py +54 -0
  1683. pyrogram/raw/types/channel_admin_log_event_action_discard_group_call.py +54 -0
  1684. pyrogram/raw/types/channel_admin_log_event_action_edit_message.py +62 -0
  1685. pyrogram/raw/types/channel_admin_log_event_action_edit_topic.py +62 -0
  1686. pyrogram/raw/types/channel_admin_log_event_action_exported_invite_delete.py +54 -0
  1687. pyrogram/raw/types/channel_admin_log_event_action_exported_invite_edit.py +62 -0
  1688. pyrogram/raw/types/channel_admin_log_event_action_exported_invite_revoke.py +54 -0
  1689. pyrogram/raw/types/channel_admin_log_event_action_participant_invite.py +54 -0
  1690. pyrogram/raw/types/channel_admin_log_event_action_participant_join.py +49 -0
  1691. pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_invite.py +62 -0
  1692. pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_request.py +62 -0
  1693. pyrogram/raw/types/channel_admin_log_event_action_participant_leave.py +49 -0
  1694. pyrogram/raw/types/channel_admin_log_event_action_participant_mute.py +54 -0
  1695. pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_admin.py +62 -0
  1696. pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_ban.py +62 -0
  1697. pyrogram/raw/types/channel_admin_log_event_action_participant_unmute.py +54 -0
  1698. pyrogram/raw/types/channel_admin_log_event_action_participant_volume.py +54 -0
  1699. pyrogram/raw/types/channel_admin_log_event_action_pin_topic.py +68 -0
  1700. pyrogram/raw/types/channel_admin_log_event_action_send_message.py +54 -0
  1701. pyrogram/raw/types/channel_admin_log_event_action_start_group_call.py +54 -0
  1702. pyrogram/raw/types/channel_admin_log_event_action_stop_poll.py +54 -0
  1703. pyrogram/raw/types/channel_admin_log_event_action_toggle_anti_spam.py +54 -0
  1704. pyrogram/raw/types/channel_admin_log_event_action_toggle_forum.py +54 -0
  1705. pyrogram/raw/types/channel_admin_log_event_action_toggle_group_call_setting.py +54 -0
  1706. pyrogram/raw/types/channel_admin_log_event_action_toggle_invites.py +54 -0
  1707. pyrogram/raw/types/channel_admin_log_event_action_toggle_no_forwards.py +54 -0
  1708. pyrogram/raw/types/channel_admin_log_event_action_toggle_pre_history_hidden.py +54 -0
  1709. pyrogram/raw/types/channel_admin_log_event_action_toggle_signatures.py +54 -0
  1710. pyrogram/raw/types/channel_admin_log_event_action_toggle_slow_mode.py +62 -0
  1711. pyrogram/raw/types/channel_admin_log_event_action_update_pinned.py +54 -0
  1712. pyrogram/raw/types/channel_admin_log_events_filter.py +156 -0
  1713. pyrogram/raw/types/channel_forbidden.py +93 -0
  1714. pyrogram/raw/types/channel_full.py +532 -0
  1715. pyrogram/raw/types/channel_location.py +62 -0
  1716. pyrogram/raw/types/channel_location_empty.py +49 -0
  1717. pyrogram/raw/types/channel_messages_filter.py +62 -0
  1718. pyrogram/raw/types/channel_messages_filter_empty.py +49 -0
  1719. pyrogram/raw/types/channel_participant.py +62 -0
  1720. pyrogram/raw/types/channel_participant_admin.py +110 -0
  1721. pyrogram/raw/types/channel_participant_banned.py +86 -0
  1722. pyrogram/raw/types/channel_participant_creator.py +73 -0
  1723. pyrogram/raw/types/channel_participant_left.py +54 -0
  1724. pyrogram/raw/types/channel_participant_self.py +78 -0
  1725. pyrogram/raw/types/channel_participants_admins.py +49 -0
  1726. pyrogram/raw/types/channel_participants_banned.py +54 -0
  1727. pyrogram/raw/types/channel_participants_bots.py +49 -0
  1728. pyrogram/raw/types/channel_participants_contacts.py +54 -0
  1729. pyrogram/raw/types/channel_participants_kicked.py +54 -0
  1730. pyrogram/raw/types/channel_participants_mentions.py +66 -0
  1731. pyrogram/raw/types/channel_participants_recent.py +49 -0
  1732. pyrogram/raw/types/channel_participants_search.py +54 -0
  1733. pyrogram/raw/types/channels/__init__.py +14 -0
  1734. pyrogram/raw/types/channels/admin_log_results.py +79 -0
  1735. pyrogram/raw/types/channels/channel_participant.py +79 -0
  1736. pyrogram/raw/types/channels/channel_participants.py +87 -0
  1737. pyrogram/raw/types/channels/channel_participants_not_modified.py +58 -0
  1738. pyrogram/raw/types/channels/send_as_peers.py +79 -0
  1739. pyrogram/raw/types/channels/sponsored_message_report_result_ads_hidden.py +58 -0
  1740. pyrogram/raw/types/channels/sponsored_message_report_result_choose_option.py +71 -0
  1741. pyrogram/raw/types/channels/sponsored_message_report_result_reported.py +58 -0
  1742. pyrogram/raw/types/chat.py +162 -0
  1743. pyrogram/raw/types/chat_admin_rights.py +138 -0
  1744. pyrogram/raw/types/chat_admin_with_invites.py +70 -0
  1745. pyrogram/raw/types/chat_banned_rights.py +176 -0
  1746. pyrogram/raw/types/chat_empty.py +54 -0
  1747. pyrogram/raw/types/chat_forbidden.py +62 -0
  1748. pyrogram/raw/types/chat_full.py +222 -0
  1749. pyrogram/raw/types/chat_invite.py +156 -0
  1750. pyrogram/raw/types/chat_invite_already.py +63 -0
  1751. pyrogram/raw/types/chat_invite_exported.py +153 -0
  1752. pyrogram/raw/types/chat_invite_importer.py +94 -0
  1753. pyrogram/raw/types/chat_invite_peek.py +71 -0
  1754. pyrogram/raw/types/chat_invite_public_join_requests.py +58 -0
  1755. pyrogram/raw/types/chat_onlines.py +63 -0
  1756. pyrogram/raw/types/chat_participant.py +70 -0
  1757. pyrogram/raw/types/chat_participant_admin.py +70 -0
  1758. pyrogram/raw/types/chat_participant_creator.py +54 -0
  1759. pyrogram/raw/types/chat_participants.py +70 -0
  1760. pyrogram/raw/types/chat_participants_forbidden.py +66 -0
  1761. pyrogram/raw/types/chat_photo.py +79 -0
  1762. pyrogram/raw/types/chat_photo_empty.py +49 -0
  1763. pyrogram/raw/types/chat_reactions_all.py +54 -0
  1764. pyrogram/raw/types/chat_reactions_none.py +49 -0
  1765. pyrogram/raw/types/chat_reactions_some.py +54 -0
  1766. pyrogram/raw/types/chatlists/__init__.py +11 -0
  1767. pyrogram/raw/types/chatlists/chatlist_invite.py +98 -0
  1768. pyrogram/raw/types/chatlists/chatlist_invite_already.py +95 -0
  1769. pyrogram/raw/types/chatlists/chatlist_updates.py +79 -0
  1770. pyrogram/raw/types/chatlists/exported_chatlist_invite.py +71 -0
  1771. pyrogram/raw/types/chatlists/exported_invites.py +79 -0
  1772. pyrogram/raw/types/client_dh_inner_data.py +78 -0
  1773. pyrogram/raw/types/code_settings.py +112 -0
  1774. pyrogram/raw/types/config.py +435 -0
  1775. pyrogram/raw/types/connected_bot.py +70 -0
  1776. pyrogram/raw/types/contact.py +62 -0
  1777. pyrogram/raw/types/contact_birthday.py +62 -0
  1778. pyrogram/raw/types/contact_status.py +71 -0
  1779. pyrogram/raw/types/contacts/__init__.py +17 -0
  1780. pyrogram/raw/types/contacts/blocked.py +79 -0
  1781. pyrogram/raw/types/contacts/blocked_slice.py +87 -0
  1782. pyrogram/raw/types/contacts/contact_birthdays.py +71 -0
  1783. pyrogram/raw/types/contacts/contacts.py +79 -0
  1784. pyrogram/raw/types/contacts/contacts_not_modified.py +58 -0
  1785. pyrogram/raw/types/contacts/found.py +87 -0
  1786. pyrogram/raw/types/contacts/imported_contacts.py +87 -0
  1787. pyrogram/raw/types/contacts/resolved_peer.py +80 -0
  1788. pyrogram/raw/types/contacts/top_peers.py +79 -0
  1789. pyrogram/raw/types/contacts/top_peers_disabled.py +58 -0
  1790. pyrogram/raw/types/contacts/top_peers_not_modified.py +58 -0
  1791. pyrogram/raw/types/data_json.py +65 -0
  1792. pyrogram/raw/types/dc_option.py +117 -0
  1793. pyrogram/raw/types/default_history_ttl.py +63 -0
  1794. pyrogram/raw/types/destroy_auth_key_fail.py +58 -0
  1795. pyrogram/raw/types/destroy_auth_key_none.py +58 -0
  1796. pyrogram/raw/types/destroy_auth_key_ok.py +58 -0
  1797. pyrogram/raw/types/destroy_session_none.py +63 -0
  1798. pyrogram/raw/types/destroy_session_ok.py +63 -0
  1799. pyrogram/raw/types/dh_gen_fail.py +79 -0
  1800. pyrogram/raw/types/dh_gen_ok.py +79 -0
  1801. pyrogram/raw/types/dh_gen_retry.py +79 -0
  1802. pyrogram/raw/types/dialog.py +167 -0
  1803. pyrogram/raw/types/dialog_filter.py +154 -0
  1804. pyrogram/raw/types/dialog_filter_chatlist.py +104 -0
  1805. pyrogram/raw/types/dialog_filter_default.py +49 -0
  1806. pyrogram/raw/types/dialog_filter_suggested.py +71 -0
  1807. pyrogram/raw/types/dialog_folder.py +110 -0
  1808. pyrogram/raw/types/dialog_peer.py +63 -0
  1809. pyrogram/raw/types/dialog_peer_folder.py +63 -0
  1810. pyrogram/raw/types/document.py +144 -0
  1811. pyrogram/raw/types/document_attribute_animated.py +49 -0
  1812. pyrogram/raw/types/document_attribute_audio.py +89 -0
  1813. pyrogram/raw/types/document_attribute_custom_emoji.py +76 -0
  1814. pyrogram/raw/types/document_attribute_filename.py +54 -0
  1815. pyrogram/raw/types/document_attribute_has_stickers.py +49 -0
  1816. pyrogram/raw/types/document_attribute_image_size.py +62 -0
  1817. pyrogram/raw/types/document_attribute_sticker.py +80 -0
  1818. pyrogram/raw/types/document_attribute_video.py +99 -0
  1819. pyrogram/raw/types/document_empty.py +66 -0
  1820. pyrogram/raw/types/draft_message.py +115 -0
  1821. pyrogram/raw/types/draft_message_empty.py +57 -0
  1822. pyrogram/raw/types/email_verification_apple.py +54 -0
  1823. pyrogram/raw/types/email_verification_code.py +54 -0
  1824. pyrogram/raw/types/email_verification_google.py +54 -0
  1825. pyrogram/raw/types/email_verify_purpose_login_change.py +49 -0
  1826. pyrogram/raw/types/email_verify_purpose_login_setup.py +62 -0
  1827. pyrogram/raw/types/email_verify_purpose_passport.py +49 -0
  1828. pyrogram/raw/types/emoji_group.py +70 -0
  1829. pyrogram/raw/types/emoji_group_greeting.py +70 -0
  1830. pyrogram/raw/types/emoji_group_premium.py +62 -0
  1831. pyrogram/raw/types/emoji_keyword.py +62 -0
  1832. pyrogram/raw/types/emoji_keyword_deleted.py +62 -0
  1833. pyrogram/raw/types/emoji_keywords_difference.py +88 -0
  1834. pyrogram/raw/types/emoji_language.py +63 -0
  1835. pyrogram/raw/types/emoji_list.py +75 -0
  1836. pyrogram/raw/types/emoji_list_not_modified.py +62 -0
  1837. pyrogram/raw/types/emoji_status.py +54 -0
  1838. pyrogram/raw/types/emoji_status_empty.py +49 -0
  1839. pyrogram/raw/types/emoji_status_until.py +62 -0
  1840. pyrogram/raw/types/emoji_url.py +63 -0
  1841. pyrogram/raw/types/encrypted_chat.py +112 -0
  1842. pyrogram/raw/types/encrypted_chat_discarded.py +72 -0
  1843. pyrogram/raw/types/encrypted_chat_empty.py +64 -0
  1844. pyrogram/raw/types/encrypted_chat_requested.py +115 -0
  1845. pyrogram/raw/types/encrypted_chat_waiting.py +96 -0
  1846. pyrogram/raw/types/encrypted_file.py +95 -0
  1847. pyrogram/raw/types/encrypted_file_empty.py +58 -0
  1848. pyrogram/raw/types/encrypted_message.py +86 -0
  1849. pyrogram/raw/types/encrypted_message_service.py +78 -0
  1850. pyrogram/raw/types/exported_chatlist_invite.py +82 -0
  1851. pyrogram/raw/types/exported_contact_token.py +71 -0
  1852. pyrogram/raw/types/exported_message_link.py +71 -0
  1853. pyrogram/raw/types/exported_story_link.py +63 -0
  1854. pyrogram/raw/types/fact_check.py +90 -0
  1855. pyrogram/raw/types/file_hash.py +81 -0
  1856. pyrogram/raw/types/folder.py +92 -0
  1857. pyrogram/raw/types/folder_peer.py +62 -0
  1858. pyrogram/raw/types/forum_topic.py +193 -0
  1859. pyrogram/raw/types/forum_topic_deleted.py +54 -0
  1860. pyrogram/raw/types/found_story.py +62 -0
  1861. pyrogram/raw/types/fragment/__init__.py +7 -0
  1862. pyrogram/raw/types/fragment/collectible_info.py +103 -0
  1863. pyrogram/raw/types/game.py +106 -0
  1864. pyrogram/raw/types/geo_point.py +81 -0
  1865. pyrogram/raw/types/geo_point_address.py +83 -0
  1866. pyrogram/raw/types/geo_point_empty.py +49 -0
  1867. pyrogram/raw/types/global_privacy_settings.py +88 -0
  1868. pyrogram/raw/types/group_call.py +181 -0
  1869. pyrogram/raw/types/group_call_discarded.py +70 -0
  1870. pyrogram/raw/types/group_call_participant.py +188 -0
  1871. pyrogram/raw/types/group_call_participant_video.py +79 -0
  1872. pyrogram/raw/types/group_call_participant_video_source_group.py +62 -0
  1873. pyrogram/raw/types/group_call_stream_channel.py +70 -0
  1874. pyrogram/raw/types/help/__init__.py +39 -0
  1875. pyrogram/raw/types/help/app_config.py +71 -0
  1876. pyrogram/raw/types/help/app_config_not_modified.py +58 -0
  1877. pyrogram/raw/types/help/app_update.py +124 -0
  1878. pyrogram/raw/types/help/config_simple.py +70 -0
  1879. pyrogram/raw/types/help/countries_list.py +71 -0
  1880. pyrogram/raw/types/help/countries_list_not_modified.py +58 -0
  1881. pyrogram/raw/types/help/country.py +87 -0
  1882. pyrogram/raw/types/help/country_code.py +76 -0
  1883. pyrogram/raw/types/help/deep_link_info.py +81 -0
  1884. pyrogram/raw/types/help/deep_link_info_empty.py +58 -0
  1885. pyrogram/raw/types/help/invite_text.py +63 -0
  1886. pyrogram/raw/types/help/no_app_update.py +58 -0
  1887. pyrogram/raw/types/help/passport_config.py +71 -0
  1888. pyrogram/raw/types/help/passport_config_not_modified.py +58 -0
  1889. pyrogram/raw/types/help/peer_color_option.py +100 -0
  1890. pyrogram/raw/types/help/peer_color_profile_set.py +70 -0
  1891. pyrogram/raw/types/help/peer_color_set.py +54 -0
  1892. pyrogram/raw/types/help/peer_colors.py +72 -0
  1893. pyrogram/raw/types/help/peer_colors_not_modified.py +59 -0
  1894. pyrogram/raw/types/help/premium_promo.py +103 -0
  1895. pyrogram/raw/types/help/promo_data.py +113 -0
  1896. pyrogram/raw/types/help/promo_data_empty.py +63 -0
  1897. pyrogram/raw/types/help/recent_me_urls.py +79 -0
  1898. pyrogram/raw/types/help/support.py +71 -0
  1899. pyrogram/raw/types/help/support_name.py +63 -0
  1900. pyrogram/raw/types/help/terms_of_service.py +87 -0
  1901. pyrogram/raw/types/help/terms_of_service_update.py +71 -0
  1902. pyrogram/raw/types/help/terms_of_service_update_empty.py +63 -0
  1903. pyrogram/raw/types/help/timezones_list.py +71 -0
  1904. pyrogram/raw/types/help/timezones_list_not_modified.py +58 -0
  1905. pyrogram/raw/types/help/user_info.py +88 -0
  1906. pyrogram/raw/types/help/user_info_empty.py +59 -0
  1907. pyrogram/raw/types/high_score.py +70 -0
  1908. pyrogram/raw/types/http_wait.py +70 -0
  1909. pyrogram/raw/types/imported_contact.py +62 -0
  1910. pyrogram/raw/types/inline_bot_switch_pm.py +62 -0
  1911. pyrogram/raw/types/inline_bot_web_view.py +62 -0
  1912. pyrogram/raw/types/inline_query_peer_type_bot_pm.py +49 -0
  1913. pyrogram/raw/types/inline_query_peer_type_broadcast.py +49 -0
  1914. pyrogram/raw/types/inline_query_peer_type_chat.py +49 -0
  1915. pyrogram/raw/types/inline_query_peer_type_megagroup.py +49 -0
  1916. pyrogram/raw/types/inline_query_peer_type_pm.py +49 -0
  1917. pyrogram/raw/types/inline_query_peer_type_same_bot_pm.py +49 -0
  1918. pyrogram/raw/types/input_app_event.py +78 -0
  1919. pyrogram/raw/types/input_bot_app_id.py +62 -0
  1920. pyrogram/raw/types/input_bot_app_short_name.py +62 -0
  1921. pyrogram/raw/types/input_bot_inline_message_game.py +58 -0
  1922. pyrogram/raw/types/input_bot_inline_message_id.py +70 -0
  1923. pyrogram/raw/types/input_bot_inline_message_id64.py +78 -0
  1924. pyrogram/raw/types/input_bot_inline_message_media_auto.py +82 -0
  1925. pyrogram/raw/types/input_bot_inline_message_media_contact.py +90 -0
  1926. pyrogram/raw/types/input_bot_inline_message_media_geo.py +93 -0
  1927. pyrogram/raw/types/input_bot_inline_message_media_invoice.py +116 -0
  1928. pyrogram/raw/types/input_bot_inline_message_media_venue.py +106 -0
  1929. pyrogram/raw/types/input_bot_inline_message_media_web_page.py +108 -0
  1930. pyrogram/raw/types/input_bot_inline_message_text.py +88 -0
  1931. pyrogram/raw/types/input_bot_inline_result.py +119 -0
  1932. pyrogram/raw/types/input_bot_inline_result_document.py +98 -0
  1933. pyrogram/raw/types/input_bot_inline_result_game.py +70 -0
  1934. pyrogram/raw/types/input_bot_inline_result_photo.py +78 -0
  1935. pyrogram/raw/types/input_business_away_message.py +78 -0
  1936. pyrogram/raw/types/input_business_bot_recipients.py +98 -0
  1937. pyrogram/raw/types/input_business_chat_link.py +75 -0
  1938. pyrogram/raw/types/input_business_greeting_message.py +70 -0
  1939. pyrogram/raw/types/input_business_intro.py +74 -0
  1940. pyrogram/raw/types/input_business_recipients.py +88 -0
  1941. pyrogram/raw/types/input_channel.py +62 -0
  1942. pyrogram/raw/types/input_channel_empty.py +49 -0
  1943. pyrogram/raw/types/input_channel_from_message.py +70 -0
  1944. pyrogram/raw/types/input_chat_photo.py +54 -0
  1945. pyrogram/raw/types/input_chat_photo_empty.py +49 -0
  1946. pyrogram/raw/types/input_chat_uploaded_photo.py +87 -0
  1947. pyrogram/raw/types/input_chatlist_dialog_filter.py +54 -0
  1948. pyrogram/raw/types/input_check_password_empty.py +49 -0
  1949. pyrogram/raw/types/input_check_password_srp.py +70 -0
  1950. pyrogram/raw/types/input_client_proxy.py +62 -0
  1951. pyrogram/raw/types/input_collectible_phone.py +54 -0
  1952. pyrogram/raw/types/input_collectible_username.py +54 -0
  1953. pyrogram/raw/types/input_dialog_peer.py +54 -0
  1954. pyrogram/raw/types/input_dialog_peer_folder.py +54 -0
  1955. pyrogram/raw/types/input_document.py +70 -0
  1956. pyrogram/raw/types/input_document_empty.py +49 -0
  1957. pyrogram/raw/types/input_document_file_location.py +78 -0
  1958. pyrogram/raw/types/input_encrypted_chat.py +62 -0
  1959. pyrogram/raw/types/input_encrypted_file.py +62 -0
  1960. pyrogram/raw/types/input_encrypted_file_big_uploaded.py +70 -0
  1961. pyrogram/raw/types/input_encrypted_file_empty.py +49 -0
  1962. pyrogram/raw/types/input_encrypted_file_location.py +62 -0
  1963. pyrogram/raw/types/input_encrypted_file_uploaded.py +78 -0
  1964. pyrogram/raw/types/input_file.py +78 -0
  1965. pyrogram/raw/types/input_file_big.py +70 -0
  1966. pyrogram/raw/types/input_file_location.py +78 -0
  1967. pyrogram/raw/types/input_folder_peer.py +62 -0
  1968. pyrogram/raw/types/input_game_id.py +62 -0
  1969. pyrogram/raw/types/input_game_short_name.py +62 -0
  1970. pyrogram/raw/types/input_geo_point.py +73 -0
  1971. pyrogram/raw/types/input_geo_point_empty.py +49 -0
  1972. pyrogram/raw/types/input_group_call.py +62 -0
  1973. pyrogram/raw/types/input_group_call_stream.py +90 -0
  1974. pyrogram/raw/types/input_invoice_message.py +62 -0
  1975. pyrogram/raw/types/input_invoice_premium_gift_code.py +62 -0
  1976. pyrogram/raw/types/input_invoice_slug.py +54 -0
  1977. pyrogram/raw/types/input_invoice_stars.py +54 -0
  1978. pyrogram/raw/types/input_keyboard_button_request_peer.py +98 -0
  1979. pyrogram/raw/types/input_keyboard_button_url_auth.py +87 -0
  1980. pyrogram/raw/types/input_keyboard_button_user_profile.py +62 -0
  1981. pyrogram/raw/types/input_media_area_channel_post.py +70 -0
  1982. pyrogram/raw/types/input_media_area_venue.py +70 -0
  1983. pyrogram/raw/types/input_media_contact.py +78 -0
  1984. pyrogram/raw/types/input_media_dice.py +54 -0
  1985. pyrogram/raw/types/input_media_document.py +80 -0
  1986. pyrogram/raw/types/input_media_document_external.py +71 -0
  1987. pyrogram/raw/types/input_media_empty.py +49 -0
  1988. pyrogram/raw/types/input_media_game.py +54 -0
  1989. pyrogram/raw/types/input_media_geo_live.py +89 -0
  1990. pyrogram/raw/types/input_media_geo_point.py +54 -0
  1991. pyrogram/raw/types/input_media_invoice.py +126 -0
  1992. pyrogram/raw/types/input_media_paid_media.py +62 -0
  1993. pyrogram/raw/types/input_media_photo.py +71 -0
  1994. pyrogram/raw/types/input_media_photo_external.py +71 -0
  1995. pyrogram/raw/types/input_media_poll.py +85 -0
  1996. pyrogram/raw/types/input_media_story.py +62 -0
  1997. pyrogram/raw/types/input_media_uploaded_document.py +119 -0
  1998. pyrogram/raw/types/input_media_uploaded_photo.py +81 -0
  1999. pyrogram/raw/types/input_media_venue.py +94 -0
  2000. pyrogram/raw/types/input_media_web_page.py +74 -0
  2001. pyrogram/raw/types/input_message_callback_query.py +62 -0
  2002. pyrogram/raw/types/input_message_entity_mention_name.py +70 -0
  2003. pyrogram/raw/types/input_message_id.py +54 -0
  2004. pyrogram/raw/types/input_message_pinned.py +49 -0
  2005. pyrogram/raw/types/input_message_reply_to.py +54 -0
  2006. pyrogram/raw/types/input_messages_filter_chat_photos.py +49 -0
  2007. pyrogram/raw/types/input_messages_filter_contacts.py +49 -0
  2008. pyrogram/raw/types/input_messages_filter_document.py +49 -0
  2009. pyrogram/raw/types/input_messages_filter_empty.py +49 -0
  2010. pyrogram/raw/types/input_messages_filter_geo.py +49 -0
  2011. pyrogram/raw/types/input_messages_filter_gif.py +49 -0
  2012. pyrogram/raw/types/input_messages_filter_music.py +49 -0
  2013. pyrogram/raw/types/input_messages_filter_my_mentions.py +49 -0
  2014. pyrogram/raw/types/input_messages_filter_phone_calls.py +54 -0
  2015. pyrogram/raw/types/input_messages_filter_photo_video.py +49 -0
  2016. pyrogram/raw/types/input_messages_filter_photos.py +49 -0
  2017. pyrogram/raw/types/input_messages_filter_pinned.py +49 -0
  2018. pyrogram/raw/types/input_messages_filter_round_video.py +49 -0
  2019. pyrogram/raw/types/input_messages_filter_round_voice.py +49 -0
  2020. pyrogram/raw/types/input_messages_filter_url.py +49 -0
  2021. pyrogram/raw/types/input_messages_filter_video.py +49 -0
  2022. pyrogram/raw/types/input_messages_filter_voice.py +49 -0
  2023. pyrogram/raw/types/input_notify_broadcasts.py +49 -0
  2024. pyrogram/raw/types/input_notify_chats.py +49 -0
  2025. pyrogram/raw/types/input_notify_forum_topic.py +62 -0
  2026. pyrogram/raw/types/input_notify_peer.py +54 -0
  2027. pyrogram/raw/types/input_notify_users.py +49 -0
  2028. pyrogram/raw/types/input_payment_credentials.py +62 -0
  2029. pyrogram/raw/types/input_payment_credentials_apple_pay.py +54 -0
  2030. pyrogram/raw/types/input_payment_credentials_google_pay.py +54 -0
  2031. pyrogram/raw/types/input_payment_credentials_saved.py +62 -0
  2032. pyrogram/raw/types/input_peer_channel.py +62 -0
  2033. pyrogram/raw/types/input_peer_channel_from_message.py +70 -0
  2034. pyrogram/raw/types/input_peer_chat.py +54 -0
  2035. pyrogram/raw/types/input_peer_empty.py +49 -0
  2036. pyrogram/raw/types/input_peer_notify_settings.py +113 -0
  2037. pyrogram/raw/types/input_peer_photo_file_location.py +70 -0
  2038. pyrogram/raw/types/input_peer_photo_file_location_legacy.py +78 -0
  2039. pyrogram/raw/types/input_peer_self.py +49 -0
  2040. pyrogram/raw/types/input_peer_user.py +62 -0
  2041. pyrogram/raw/types/input_peer_user_from_message.py +70 -0
  2042. pyrogram/raw/types/input_phone_call.py +62 -0
  2043. pyrogram/raw/types/input_phone_contact.py +78 -0
  2044. pyrogram/raw/types/input_photo.py +70 -0
  2045. pyrogram/raw/types/input_photo_empty.py +49 -0
  2046. pyrogram/raw/types/input_photo_file_location.py +78 -0
  2047. pyrogram/raw/types/input_photo_legacy_file_location.py +94 -0
  2048. pyrogram/raw/types/input_privacy_key_about.py +49 -0
  2049. pyrogram/raw/types/input_privacy_key_added_by_phone.py +49 -0
  2050. pyrogram/raw/types/input_privacy_key_birthday.py +49 -0
  2051. pyrogram/raw/types/input_privacy_key_chat_invite.py +49 -0
  2052. pyrogram/raw/types/input_privacy_key_forwards.py +49 -0
  2053. pyrogram/raw/types/input_privacy_key_phone_call.py +49 -0
  2054. pyrogram/raw/types/input_privacy_key_phone_number.py +49 -0
  2055. pyrogram/raw/types/input_privacy_key_phone_p2_p.py +49 -0
  2056. pyrogram/raw/types/input_privacy_key_profile_photo.py +49 -0
  2057. pyrogram/raw/types/input_privacy_key_status_timestamp.py +49 -0
  2058. pyrogram/raw/types/input_privacy_key_voice_messages.py +49 -0
  2059. pyrogram/raw/types/input_privacy_value_allow_all.py +49 -0
  2060. pyrogram/raw/types/input_privacy_value_allow_chat_participants.py +54 -0
  2061. pyrogram/raw/types/input_privacy_value_allow_close_friends.py +49 -0
  2062. pyrogram/raw/types/input_privacy_value_allow_contacts.py +49 -0
  2063. pyrogram/raw/types/input_privacy_value_allow_premium.py +49 -0
  2064. pyrogram/raw/types/input_privacy_value_allow_users.py +54 -0
  2065. pyrogram/raw/types/input_privacy_value_disallow_all.py +49 -0
  2066. pyrogram/raw/types/input_privacy_value_disallow_chat_participants.py +54 -0
  2067. pyrogram/raw/types/input_privacy_value_disallow_contacts.py +49 -0
  2068. pyrogram/raw/types/input_privacy_value_disallow_users.py +54 -0
  2069. pyrogram/raw/types/input_quick_reply_shortcut.py +54 -0
  2070. pyrogram/raw/types/input_quick_reply_shortcut_id.py +54 -0
  2071. pyrogram/raw/types/input_reply_to_message.py +103 -0
  2072. pyrogram/raw/types/input_reply_to_story.py +62 -0
  2073. pyrogram/raw/types/input_report_reason_child_abuse.py +49 -0
  2074. pyrogram/raw/types/input_report_reason_copyright.py +49 -0
  2075. pyrogram/raw/types/input_report_reason_fake.py +49 -0
  2076. pyrogram/raw/types/input_report_reason_geo_irrelevant.py +49 -0
  2077. pyrogram/raw/types/input_report_reason_illegal_drugs.py +49 -0
  2078. pyrogram/raw/types/input_report_reason_other.py +49 -0
  2079. pyrogram/raw/types/input_report_reason_personal_details.py +49 -0
  2080. pyrogram/raw/types/input_report_reason_pornography.py +49 -0
  2081. pyrogram/raw/types/input_report_reason_spam.py +49 -0
  2082. pyrogram/raw/types/input_report_reason_violence.py +49 -0
  2083. pyrogram/raw/types/input_secure_file.py +62 -0
  2084. pyrogram/raw/types/input_secure_file_location.py +62 -0
  2085. pyrogram/raw/types/input_secure_file_uploaded.py +86 -0
  2086. pyrogram/raw/types/input_secure_value.py +126 -0
  2087. pyrogram/raw/types/input_single_media.py +82 -0
  2088. pyrogram/raw/types/input_stars_transaction.py +62 -0
  2089. pyrogram/raw/types/input_sticker_set_animated_emoji.py +49 -0
  2090. pyrogram/raw/types/input_sticker_set_animated_emoji_animations.py +49 -0
  2091. pyrogram/raw/types/input_sticker_set_dice.py +54 -0
  2092. pyrogram/raw/types/input_sticker_set_emoji_channel_default_statuses.py +49 -0
  2093. pyrogram/raw/types/input_sticker_set_emoji_default_statuses.py +49 -0
  2094. pyrogram/raw/types/input_sticker_set_emoji_default_topic_icons.py +49 -0
  2095. pyrogram/raw/types/input_sticker_set_emoji_generic_animations.py +49 -0
  2096. pyrogram/raw/types/input_sticker_set_empty.py +49 -0
  2097. pyrogram/raw/types/input_sticker_set_id.py +62 -0
  2098. pyrogram/raw/types/input_sticker_set_item.py +83 -0
  2099. pyrogram/raw/types/input_sticker_set_premium_gifts.py +49 -0
  2100. pyrogram/raw/types/input_sticker_set_short_name.py +54 -0
  2101. pyrogram/raw/types/input_sticker_set_thumb.py +62 -0
  2102. pyrogram/raw/types/input_sticker_set_thumb_legacy.py +70 -0
  2103. pyrogram/raw/types/input_stickered_media_document.py +54 -0
  2104. pyrogram/raw/types/input_stickered_media_photo.py +54 -0
  2105. pyrogram/raw/types/input_store_payment_gift_premium.py +70 -0
  2106. pyrogram/raw/types/input_store_payment_premium_gift_code.py +82 -0
  2107. pyrogram/raw/types/input_store_payment_premium_giveaway.py +129 -0
  2108. pyrogram/raw/types/input_store_payment_premium_subscription.py +60 -0
  2109. pyrogram/raw/types/input_store_payment_stars.py +73 -0
  2110. pyrogram/raw/types/input_takeout_file_location.py +49 -0
  2111. pyrogram/raw/types/input_theme.py +62 -0
  2112. pyrogram/raw/types/input_theme_settings.py +109 -0
  2113. pyrogram/raw/types/input_theme_slug.py +54 -0
  2114. pyrogram/raw/types/input_user.py +62 -0
  2115. pyrogram/raw/types/input_user_empty.py +49 -0
  2116. pyrogram/raw/types/input_user_from_message.py +70 -0
  2117. pyrogram/raw/types/input_user_self.py +49 -0
  2118. pyrogram/raw/types/input_wall_paper.py +62 -0
  2119. pyrogram/raw/types/input_wall_paper_no_file.py +54 -0
  2120. pyrogram/raw/types/input_wall_paper_slug.py +54 -0
  2121. pyrogram/raw/types/input_web_document.py +78 -0
  2122. pyrogram/raw/types/input_web_file_audio_album_thumb_location.py +82 -0
  2123. pyrogram/raw/types/input_web_file_geo_point_location.py +94 -0
  2124. pyrogram/raw/types/input_web_file_location.py +62 -0
  2125. pyrogram/raw/types/invoice.py +146 -0
  2126. pyrogram/raw/types/ip_port.py +62 -0
  2127. pyrogram/raw/types/ip_port_secret.py +70 -0
  2128. pyrogram/raw/types/json_array.py +54 -0
  2129. pyrogram/raw/types/json_bool.py +54 -0
  2130. pyrogram/raw/types/json_null.py +49 -0
  2131. pyrogram/raw/types/json_number.py +54 -0
  2132. pyrogram/raw/types/json_object.py +54 -0
  2133. pyrogram/raw/types/json_object_value.py +62 -0
  2134. pyrogram/raw/types/json_string.py +54 -0
  2135. pyrogram/raw/types/keyboard_button.py +54 -0
  2136. pyrogram/raw/types/keyboard_button_buy.py +54 -0
  2137. pyrogram/raw/types/keyboard_button_callback.py +70 -0
  2138. pyrogram/raw/types/keyboard_button_game.py +54 -0
  2139. pyrogram/raw/types/keyboard_button_request_geo_location.py +54 -0
  2140. pyrogram/raw/types/keyboard_button_request_peer.py +78 -0
  2141. pyrogram/raw/types/keyboard_button_request_phone.py +54 -0
  2142. pyrogram/raw/types/keyboard_button_request_poll.py +65 -0
  2143. pyrogram/raw/types/keyboard_button_row.py +54 -0
  2144. pyrogram/raw/types/keyboard_button_simple_web_view.py +62 -0
  2145. pyrogram/raw/types/keyboard_button_switch_inline.py +80 -0
  2146. pyrogram/raw/types/keyboard_button_url.py +62 -0
  2147. pyrogram/raw/types/keyboard_button_url_auth.py +81 -0
  2148. pyrogram/raw/types/keyboard_button_user_profile.py +62 -0
  2149. pyrogram/raw/types/keyboard_button_web_view.py +62 -0
  2150. pyrogram/raw/types/labeled_price.py +62 -0
  2151. pyrogram/raw/types/lang_pack_difference.py +88 -0
  2152. pyrogram/raw/types/lang_pack_language.py +141 -0
  2153. pyrogram/raw/types/lang_pack_string.py +71 -0
  2154. pyrogram/raw/types/lang_pack_string_deleted.py +63 -0
  2155. pyrogram/raw/types/lang_pack_string_pluralized.py +118 -0
  2156. pyrogram/raw/types/mask_coords.py +78 -0
  2157. pyrogram/raw/types/media_area_channel_post.py +70 -0
  2158. pyrogram/raw/types/media_area_coordinates.py +97 -0
  2159. pyrogram/raw/types/media_area_geo_point.py +74 -0
  2160. pyrogram/raw/types/media_area_suggested_reaction.py +76 -0
  2161. pyrogram/raw/types/media_area_url.py +62 -0
  2162. pyrogram/raw/types/media_area_venue.py +102 -0
  2163. pyrogram/raw/types/message.py +365 -0
  2164. pyrogram/raw/types/message_action_boost_apply.py +54 -0
  2165. pyrogram/raw/types/message_action_bot_allowed.py +79 -0
  2166. pyrogram/raw/types/message_action_channel_create.py +54 -0
  2167. pyrogram/raw/types/message_action_channel_migrate_from.py +62 -0
  2168. pyrogram/raw/types/message_action_chat_add_user.py +54 -0
  2169. pyrogram/raw/types/message_action_chat_create.py +62 -0
  2170. pyrogram/raw/types/message_action_chat_delete_photo.py +49 -0
  2171. pyrogram/raw/types/message_action_chat_delete_user.py +54 -0
  2172. pyrogram/raw/types/message_action_chat_edit_photo.py +54 -0
  2173. pyrogram/raw/types/message_action_chat_edit_title.py +54 -0
  2174. pyrogram/raw/types/message_action_chat_joined_by_link.py +54 -0
  2175. pyrogram/raw/types/message_action_chat_joined_by_request.py +49 -0
  2176. pyrogram/raw/types/message_action_chat_migrate_to.py +54 -0
  2177. pyrogram/raw/types/message_action_contact_sign_up.py +49 -0
  2178. pyrogram/raw/types/message_action_custom_action.py +54 -0
  2179. pyrogram/raw/types/message_action_empty.py +49 -0
  2180. pyrogram/raw/types/message_action_game_score.py +62 -0
  2181. pyrogram/raw/types/message_action_geo_proximity_reached.py +70 -0
  2182. pyrogram/raw/types/message_action_gift_code.py +122 -0
  2183. pyrogram/raw/types/message_action_gift_premium.py +90 -0
  2184. pyrogram/raw/types/message_action_giveaway_launch.py +49 -0
  2185. pyrogram/raw/types/message_action_giveaway_results.py +62 -0
  2186. pyrogram/raw/types/message_action_group_call.py +65 -0
  2187. pyrogram/raw/types/message_action_group_call_scheduled.py +62 -0
  2188. pyrogram/raw/types/message_action_history_clear.py +49 -0
  2189. pyrogram/raw/types/message_action_invite_to_group_call.py +62 -0
  2190. pyrogram/raw/types/message_action_payment_refunded.py +89 -0
  2191. pyrogram/raw/types/message_action_payment_sent.py +85 -0
  2192. pyrogram/raw/types/message_action_payment_sent_me.py +111 -0
  2193. pyrogram/raw/types/message_action_phone_call.py +81 -0
  2194. pyrogram/raw/types/message_action_pin_message.py +49 -0
  2195. pyrogram/raw/types/message_action_requested_peer.py +62 -0
  2196. pyrogram/raw/types/message_action_requested_peer_sent_me.py +62 -0
  2197. pyrogram/raw/types/message_action_screenshot_taken.py +49 -0
  2198. pyrogram/raw/types/message_action_secure_values_sent.py +54 -0
  2199. pyrogram/raw/types/message_action_secure_values_sent_me.py +62 -0
  2200. pyrogram/raw/types/message_action_set_chat_theme.py +54 -0
  2201. pyrogram/raw/types/message_action_set_chat_wall_paper.py +68 -0
  2202. pyrogram/raw/types/message_action_set_messages_ttl.py +65 -0
  2203. pyrogram/raw/types/message_action_suggest_profile_photo.py +54 -0
  2204. pyrogram/raw/types/message_action_topic_create.py +73 -0
  2205. pyrogram/raw/types/message_action_topic_edit.py +84 -0
  2206. pyrogram/raw/types/message_action_web_view_data_sent.py +54 -0
  2207. pyrogram/raw/types/message_action_web_view_data_sent_me.py +62 -0
  2208. pyrogram/raw/types/message_empty.py +66 -0
  2209. pyrogram/raw/types/message_entity_bank_card.py +62 -0
  2210. pyrogram/raw/types/message_entity_blockquote.py +70 -0
  2211. pyrogram/raw/types/message_entity_bold.py +62 -0
  2212. pyrogram/raw/types/message_entity_bot_command.py +62 -0
  2213. pyrogram/raw/types/message_entity_cashtag.py +62 -0
  2214. pyrogram/raw/types/message_entity_code.py +62 -0
  2215. pyrogram/raw/types/message_entity_custom_emoji.py +70 -0
  2216. pyrogram/raw/types/message_entity_email.py +62 -0
  2217. pyrogram/raw/types/message_entity_hashtag.py +62 -0
  2218. pyrogram/raw/types/message_entity_italic.py +62 -0
  2219. pyrogram/raw/types/message_entity_mention.py +62 -0
  2220. pyrogram/raw/types/message_entity_mention_name.py +70 -0
  2221. pyrogram/raw/types/message_entity_phone.py +62 -0
  2222. pyrogram/raw/types/message_entity_pre.py +70 -0
  2223. pyrogram/raw/types/message_entity_spoiler.py +62 -0
  2224. pyrogram/raw/types/message_entity_strike.py +62 -0
  2225. pyrogram/raw/types/message_entity_text_url.py +70 -0
  2226. pyrogram/raw/types/message_entity_underline.py +62 -0
  2227. pyrogram/raw/types/message_entity_unknown.py +62 -0
  2228. pyrogram/raw/types/message_entity_url.py +62 -0
  2229. pyrogram/raw/types/message_extended_media.py +54 -0
  2230. pyrogram/raw/types/message_extended_media_preview.py +85 -0
  2231. pyrogram/raw/types/message_fwd_header.py +161 -0
  2232. pyrogram/raw/types/message_media_contact.py +97 -0
  2233. pyrogram/raw/types/message_media_dice.py +73 -0
  2234. pyrogram/raw/types/message_media_document.py +118 -0
  2235. pyrogram/raw/types/message_media_empty.py +60 -0
  2236. pyrogram/raw/types/message_media_game.py +65 -0
  2237. pyrogram/raw/types/message_media_geo.py +65 -0
  2238. pyrogram/raw/types/message_media_geo_live.py +93 -0
  2239. pyrogram/raw/types/message_media_giveaway.py +122 -0
  2240. pyrogram/raw/types/message_media_giveaway_results.py +145 -0
  2241. pyrogram/raw/types/message_media_invoice.py +140 -0
  2242. pyrogram/raw/types/message_media_paid_media.py +73 -0
  2243. pyrogram/raw/types/message_media_photo.py +84 -0
  2244. pyrogram/raw/types/message_media_poll.py +73 -0
  2245. pyrogram/raw/types/message_media_story.py +91 -0
  2246. pyrogram/raw/types/message_media_unsupported.py +60 -0
  2247. pyrogram/raw/types/message_media_venue.py +105 -0
  2248. pyrogram/raw/types/message_media_web_page.py +91 -0
  2249. pyrogram/raw/types/message_peer_reaction.py +90 -0
  2250. pyrogram/raw/types/message_peer_vote.py +70 -0
  2251. pyrogram/raw/types/message_peer_vote_input_option.py +62 -0
  2252. pyrogram/raw/types/message_peer_vote_multiple.py +70 -0
  2253. pyrogram/raw/types/message_range.py +71 -0
  2254. pyrogram/raw/types/message_reactions.py +84 -0
  2255. pyrogram/raw/types/message_replies.py +107 -0
  2256. pyrogram/raw/types/message_reply_header.py +142 -0
  2257. pyrogram/raw/types/message_reply_story_header.py +62 -0
  2258. pyrogram/raw/types/message_service.py +145 -0
  2259. pyrogram/raw/types/message_views.py +76 -0
  2260. pyrogram/raw/types/messages/__init__.py +89 -0
  2261. pyrogram/raw/types/messages/affected_found_messages.py +87 -0
  2262. pyrogram/raw/types/messages/affected_history.py +85 -0
  2263. pyrogram/raw/types/messages/affected_messages.py +74 -0
  2264. pyrogram/raw/types/messages/all_stickers.py +73 -0
  2265. pyrogram/raw/types/messages/all_stickers_not_modified.py +60 -0
  2266. pyrogram/raw/types/messages/archived_stickers.py +71 -0
  2267. pyrogram/raw/types/messages/available_effects.py +79 -0
  2268. pyrogram/raw/types/messages/available_effects_not_modified.py +58 -0
  2269. pyrogram/raw/types/messages/available_reactions.py +71 -0
  2270. pyrogram/raw/types/messages/available_reactions_not_modified.py +58 -0
  2271. pyrogram/raw/types/messages/bot_app.py +83 -0
  2272. pyrogram/raw/types/messages/bot_callback_answer.py +101 -0
  2273. pyrogram/raw/types/messages/bot_results.py +124 -0
  2274. pyrogram/raw/types/messages/channel_messages.py +134 -0
  2275. pyrogram/raw/types/messages/chat_admins_with_invites.py +71 -0
  2276. pyrogram/raw/types/messages/chat_full.py +80 -0
  2277. pyrogram/raw/types/messages/chat_invite_importers.py +79 -0
  2278. pyrogram/raw/types/messages/chats.py +70 -0
  2279. pyrogram/raw/types/messages/chats_slice.py +78 -0
  2280. pyrogram/raw/types/messages/checked_history_import_peer.py +63 -0
  2281. pyrogram/raw/types/messages/dh_config.py +87 -0
  2282. pyrogram/raw/types/messages/dh_config_not_modified.py +63 -0
  2283. pyrogram/raw/types/messages/dialog_filters.py +71 -0
  2284. pyrogram/raw/types/messages/dialogs.py +87 -0
  2285. pyrogram/raw/types/messages/dialogs_not_modified.py +63 -0
  2286. pyrogram/raw/types/messages/dialogs_slice.py +95 -0
  2287. pyrogram/raw/types/messages/discussion_message.py +116 -0
  2288. pyrogram/raw/types/messages/emoji_groups.py +74 -0
  2289. pyrogram/raw/types/messages/emoji_groups_not_modified.py +61 -0
  2290. pyrogram/raw/types/messages/exported_chat_invite.py +72 -0
  2291. pyrogram/raw/types/messages/exported_chat_invite_replaced.py +80 -0
  2292. pyrogram/raw/types/messages/exported_chat_invites.py +79 -0
  2293. pyrogram/raw/types/messages/faved_stickers.py +79 -0
  2294. pyrogram/raw/types/messages/faved_stickers_not_modified.py +58 -0
  2295. pyrogram/raw/types/messages/featured_stickers.py +97 -0
  2296. pyrogram/raw/types/messages/featured_stickers_not_modified.py +65 -0
  2297. pyrogram/raw/types/messages/forum_topics.py +112 -0
  2298. pyrogram/raw/types/messages/found_sticker_sets.py +72 -0
  2299. pyrogram/raw/types/messages/found_sticker_sets_not_modified.py +59 -0
  2300. pyrogram/raw/types/messages/high_scores.py +72 -0
  2301. pyrogram/raw/types/messages/history_import.py +63 -0
  2302. pyrogram/raw/types/messages/history_import_parsed.py +78 -0
  2303. pyrogram/raw/types/messages/inactive_chats.py +79 -0
  2304. pyrogram/raw/types/messages/invited_users.py +73 -0
  2305. pyrogram/raw/types/messages/message_edit_data.py +63 -0
  2306. pyrogram/raw/types/messages/message_reactions_list.py +98 -0
  2307. pyrogram/raw/types/messages/message_views.py +79 -0
  2308. pyrogram/raw/types/messages/messages.py +93 -0
  2309. pyrogram/raw/types/messages/messages_not_modified.py +77 -0
  2310. pyrogram/raw/types/messages/messages_slice.py +127 -0
  2311. pyrogram/raw/types/messages/my_stickers.py +71 -0
  2312. pyrogram/raw/types/messages/peer_dialogs.py +96 -0
  2313. pyrogram/raw/types/messages/peer_settings.py +79 -0
  2314. pyrogram/raw/types/messages/quick_replies.py +87 -0
  2315. pyrogram/raw/types/messages/quick_replies_not_modified.py +58 -0
  2316. pyrogram/raw/types/messages/reactions.py +73 -0
  2317. pyrogram/raw/types/messages/reactions_not_modified.py +60 -0
  2318. pyrogram/raw/types/messages/recent_stickers.py +87 -0
  2319. pyrogram/raw/types/messages/recent_stickers_not_modified.py +58 -0
  2320. pyrogram/raw/types/messages/saved_dialogs.py +88 -0
  2321. pyrogram/raw/types/messages/saved_dialogs_not_modified.py +64 -0
  2322. pyrogram/raw/types/messages/saved_dialogs_slice.py +96 -0
  2323. pyrogram/raw/types/messages/saved_gifs.py +71 -0
  2324. pyrogram/raw/types/messages/saved_gifs_not_modified.py +58 -0
  2325. pyrogram/raw/types/messages/saved_reaction_tags.py +71 -0
  2326. pyrogram/raw/types/messages/saved_reaction_tags_not_modified.py +58 -0
  2327. pyrogram/raw/types/messages/search_counter.py +79 -0
  2328. pyrogram/raw/types/messages/search_results_calendar.py +128 -0
  2329. pyrogram/raw/types/messages/search_results_positions.py +71 -0
  2330. pyrogram/raw/types/messages/sent_encrypted_file.py +73 -0
  2331. pyrogram/raw/types/messages/sent_encrypted_message.py +65 -0
  2332. pyrogram/raw/types/messages/sponsored_messages.py +90 -0
  2333. pyrogram/raw/types/messages/sponsored_messages_empty.py +58 -0
  2334. pyrogram/raw/types/messages/sticker_set.py +95 -0
  2335. pyrogram/raw/types/messages/sticker_set_install_result_archive.py +63 -0
  2336. pyrogram/raw/types/messages/sticker_set_install_result_success.py +58 -0
  2337. pyrogram/raw/types/messages/sticker_set_not_modified.py +66 -0
  2338. pyrogram/raw/types/messages/stickers.py +71 -0
  2339. pyrogram/raw/types/messages/stickers_not_modified.py +58 -0
  2340. pyrogram/raw/types/messages/transcribed_audio.py +97 -0
  2341. pyrogram/raw/types/messages/translate_result.py +63 -0
  2342. pyrogram/raw/types/messages/votes_list.py +98 -0
  2343. pyrogram/raw/types/messages/web_page.py +79 -0
  2344. pyrogram/raw/types/missing_invitee.py +68 -0
  2345. pyrogram/raw/types/msg_detailed_info.py +78 -0
  2346. pyrogram/raw/types/msg_new_detailed_info.py +70 -0
  2347. pyrogram/raw/types/msg_resend_ans_req.py +54 -0
  2348. pyrogram/raw/types/msg_resend_req.py +54 -0
  2349. pyrogram/raw/types/msgs_ack.py +54 -0
  2350. pyrogram/raw/types/msgs_all_info.py +62 -0
  2351. pyrogram/raw/types/msgs_state_info.py +62 -0
  2352. pyrogram/raw/types/msgs_state_req.py +54 -0
  2353. pyrogram/raw/types/my_boost.py +91 -0
  2354. pyrogram/raw/types/nearest_dc.py +79 -0
  2355. pyrogram/raw/types/new_session_created.py +70 -0
  2356. pyrogram/raw/types/notification_sound_default.py +49 -0
  2357. pyrogram/raw/types/notification_sound_local.py +62 -0
  2358. pyrogram/raw/types/notification_sound_none.py +49 -0
  2359. pyrogram/raw/types/notification_sound_ringtone.py +54 -0
  2360. pyrogram/raw/types/notify_broadcasts.py +49 -0
  2361. pyrogram/raw/types/notify_chats.py +49 -0
  2362. pyrogram/raw/types/notify_forum_topic.py +62 -0
  2363. pyrogram/raw/types/notify_peer.py +54 -0
  2364. pyrogram/raw/types/notify_users.py +49 -0
  2365. pyrogram/raw/types/outbox_read_date.py +63 -0
  2366. pyrogram/raw/types/page.py +107 -0
  2367. pyrogram/raw/types/page_block_anchor.py +54 -0
  2368. pyrogram/raw/types/page_block_audio.py +62 -0
  2369. pyrogram/raw/types/page_block_author_date.py +62 -0
  2370. pyrogram/raw/types/page_block_blockquote.py +62 -0
  2371. pyrogram/raw/types/page_block_channel.py +54 -0
  2372. pyrogram/raw/types/page_block_collage.py +62 -0
  2373. pyrogram/raw/types/page_block_cover.py +54 -0
  2374. pyrogram/raw/types/page_block_details.py +70 -0
  2375. pyrogram/raw/types/page_block_divider.py +49 -0
  2376. pyrogram/raw/types/page_block_embed.py +113 -0
  2377. pyrogram/raw/types/page_block_embed_post.py +102 -0
  2378. pyrogram/raw/types/page_block_footer.py +54 -0
  2379. pyrogram/raw/types/page_block_header.py +54 -0
  2380. pyrogram/raw/types/page_block_kicker.py +54 -0
  2381. pyrogram/raw/types/page_block_list.py +54 -0
  2382. pyrogram/raw/types/page_block_map.py +86 -0
  2383. pyrogram/raw/types/page_block_ordered_list.py +54 -0
  2384. pyrogram/raw/types/page_block_paragraph.py +54 -0
  2385. pyrogram/raw/types/page_block_photo.py +82 -0
  2386. pyrogram/raw/types/page_block_preformatted.py +62 -0
  2387. pyrogram/raw/types/page_block_pullquote.py +62 -0
  2388. pyrogram/raw/types/page_block_related_articles.py +62 -0
  2389. pyrogram/raw/types/page_block_slideshow.py +62 -0
  2390. pyrogram/raw/types/page_block_subheader.py +54 -0
  2391. pyrogram/raw/types/page_block_subtitle.py +54 -0
  2392. pyrogram/raw/types/page_block_table.py +76 -0
  2393. pyrogram/raw/types/page_block_title.py +54 -0
  2394. pyrogram/raw/types/page_block_unsupported.py +49 -0
  2395. pyrogram/raw/types/page_block_video.py +76 -0
  2396. pyrogram/raw/types/page_caption.py +62 -0
  2397. pyrogram/raw/types/page_list_item_blocks.py +54 -0
  2398. pyrogram/raw/types/page_list_item_text.py +54 -0
  2399. pyrogram/raw/types/page_list_ordered_item_blocks.py +62 -0
  2400. pyrogram/raw/types/page_list_ordered_item_text.py +62 -0
  2401. pyrogram/raw/types/page_related_article.py +109 -0
  2402. pyrogram/raw/types/page_table_cell.py +106 -0
  2403. pyrogram/raw/types/page_table_row.py +54 -0
  2404. pyrogram/raw/types/password_kdf_algo_sha256_sha256_pbkdf2_hmacsha512iter100000_sha256_mod_pow.py +78 -0
  2405. pyrogram/raw/types/password_kdf_algo_unknown.py +49 -0
  2406. pyrogram/raw/types/payment_charge.py +62 -0
  2407. pyrogram/raw/types/payment_form_method.py +62 -0
  2408. pyrogram/raw/types/payment_requested_info.py +85 -0
  2409. pyrogram/raw/types/payment_saved_credentials_card.py +62 -0
  2410. pyrogram/raw/types/payments/__init__.py +23 -0
  2411. pyrogram/raw/types/payments/bank_card_data.py +71 -0
  2412. pyrogram/raw/types/payments/checked_gift_code.py +132 -0
  2413. pyrogram/raw/types/payments/exported_invoice.py +63 -0
  2414. pyrogram/raw/types/payments/giveaway_info.py +104 -0
  2415. pyrogram/raw/types/payments/giveaway_info_results.py +110 -0
  2416. pyrogram/raw/types/payments/payment_form.py +192 -0
  2417. pyrogram/raw/types/payments/payment_form_stars.py +115 -0
  2418. pyrogram/raw/types/payments/payment_receipt.py +176 -0
  2419. pyrogram/raw/types/payments/payment_receipt_stars.py +139 -0
  2420. pyrogram/raw/types/payments/payment_result.py +64 -0
  2421. pyrogram/raw/types/payments/payment_verification_needed.py +64 -0
  2422. pyrogram/raw/types/payments/saved_info.py +73 -0
  2423. pyrogram/raw/types/payments/stars_revenue_ads_account_url.py +63 -0
  2424. pyrogram/raw/types/payments/stars_revenue_stats.py +79 -0
  2425. pyrogram/raw/types/payments/stars_revenue_withdrawal_url.py +63 -0
  2426. pyrogram/raw/types/payments/stars_status.py +100 -0
  2427. pyrogram/raw/types/payments/validated_requested_info.py +76 -0
  2428. pyrogram/raw/types/peer_blocked.py +62 -0
  2429. pyrogram/raw/types/peer_channel.py +63 -0
  2430. pyrogram/raw/types/peer_chat.py +63 -0
  2431. pyrogram/raw/types/peer_color.py +66 -0
  2432. pyrogram/raw/types/peer_located.py +70 -0
  2433. pyrogram/raw/types/peer_notify_settings.py +162 -0
  2434. pyrogram/raw/types/peer_self_located.py +54 -0
  2435. pyrogram/raw/types/peer_settings.py +159 -0
  2436. pyrogram/raw/types/peer_stories.py +73 -0
  2437. pyrogram/raw/types/peer_user.py +63 -0
  2438. pyrogram/raw/types/phone/__init__.py +13 -0
  2439. pyrogram/raw/types/phone/exported_group_call_invite.py +63 -0
  2440. pyrogram/raw/types/phone/group_call.py +95 -0
  2441. pyrogram/raw/types/phone/group_call_stream_channels.py +63 -0
  2442. pyrogram/raw/types/phone/group_call_stream_rtmp_url.py +71 -0
  2443. pyrogram/raw/types/phone/group_participants.py +103 -0
  2444. pyrogram/raw/types/phone/join_as_peers.py +79 -0
  2445. pyrogram/raw/types/phone/phone_call.py +73 -0
  2446. pyrogram/raw/types/phone_call.py +150 -0
  2447. pyrogram/raw/types/phone_call_accepted.py +110 -0
  2448. pyrogram/raw/types/phone_call_discard_reason_busy.py +49 -0
  2449. pyrogram/raw/types/phone_call_discard_reason_disconnect.py +49 -0
  2450. pyrogram/raw/types/phone_call_discard_reason_hangup.py +49 -0
  2451. pyrogram/raw/types/phone_call_discard_reason_missed.py +49 -0
  2452. pyrogram/raw/types/phone_call_discarded.py +93 -0
  2453. pyrogram/raw/types/phone_call_empty.py +54 -0
  2454. pyrogram/raw/types/phone_call_protocol.py +84 -0
  2455. pyrogram/raw/types/phone_call_requested.py +110 -0
  2456. pyrogram/raw/types/phone_call_waiting.py +111 -0
  2457. pyrogram/raw/types/phone_connection.py +94 -0
  2458. pyrogram/raw/types/phone_connection_webrtc.py +108 -0
  2459. pyrogram/raw/types/photo.py +112 -0
  2460. pyrogram/raw/types/photo_cached_size.py +78 -0
  2461. pyrogram/raw/types/photo_empty.py +54 -0
  2462. pyrogram/raw/types/photo_path_size.py +62 -0
  2463. pyrogram/raw/types/photo_size.py +78 -0
  2464. pyrogram/raw/types/photo_size_empty.py +54 -0
  2465. pyrogram/raw/types/photo_size_progressive.py +78 -0
  2466. pyrogram/raw/types/photo_stripped_size.py +62 -0
  2467. pyrogram/raw/types/photos/__init__.py +9 -0
  2468. pyrogram/raw/types/photos/photo.py +73 -0
  2469. pyrogram/raw/types/photos/photos.py +71 -0
  2470. pyrogram/raw/types/photos/photos_slice.py +79 -0
  2471. pyrogram/raw/types/poll.py +114 -0
  2472. pyrogram/raw/types/poll_answer.py +62 -0
  2473. pyrogram/raw/types/poll_answer_voters.py +76 -0
  2474. pyrogram/raw/types/poll_results.py +102 -0
  2475. pyrogram/raw/types/pong.py +72 -0
  2476. pyrogram/raw/types/popular_contact.py +62 -0
  2477. pyrogram/raw/types/post_address.py +94 -0
  2478. pyrogram/raw/types/post_interaction_counters_message.py +78 -0
  2479. pyrogram/raw/types/post_interaction_counters_story.py +78 -0
  2480. pyrogram/raw/types/pq_inner_data.py +94 -0
  2481. pyrogram/raw/types/pq_inner_data_dc.py +102 -0
  2482. pyrogram/raw/types/pq_inner_data_temp.py +102 -0
  2483. pyrogram/raw/types/pq_inner_data_temp_dc.py +110 -0
  2484. pyrogram/raw/types/premium/__init__.py +9 -0
  2485. pyrogram/raw/types/premium/boosts_list.py +91 -0
  2486. pyrogram/raw/types/premium/boosts_status.py +143 -0
  2487. pyrogram/raw/types/premium/my_boosts.py +80 -0
  2488. pyrogram/raw/types/premium_gift_code_option.py +107 -0
  2489. pyrogram/raw/types/premium_gift_option.py +89 -0
  2490. pyrogram/raw/types/premium_subscription_option.py +110 -0
  2491. pyrogram/raw/types/prepaid_giveaway.py +78 -0
  2492. pyrogram/raw/types/privacy_key_about.py +49 -0
  2493. pyrogram/raw/types/privacy_key_added_by_phone.py +49 -0
  2494. pyrogram/raw/types/privacy_key_birthday.py +49 -0
  2495. pyrogram/raw/types/privacy_key_chat_invite.py +49 -0
  2496. pyrogram/raw/types/privacy_key_forwards.py +49 -0
  2497. pyrogram/raw/types/privacy_key_phone_call.py +49 -0
  2498. pyrogram/raw/types/privacy_key_phone_number.py +49 -0
  2499. pyrogram/raw/types/privacy_key_phone_p2_p.py +49 -0
  2500. pyrogram/raw/types/privacy_key_profile_photo.py +49 -0
  2501. pyrogram/raw/types/privacy_key_status_timestamp.py +49 -0
  2502. pyrogram/raw/types/privacy_key_voice_messages.py +49 -0
  2503. pyrogram/raw/types/privacy_value_allow_all.py +49 -0
  2504. pyrogram/raw/types/privacy_value_allow_chat_participants.py +54 -0
  2505. pyrogram/raw/types/privacy_value_allow_close_friends.py +49 -0
  2506. pyrogram/raw/types/privacy_value_allow_contacts.py +49 -0
  2507. pyrogram/raw/types/privacy_value_allow_premium.py +49 -0
  2508. pyrogram/raw/types/privacy_value_allow_users.py +54 -0
  2509. pyrogram/raw/types/privacy_value_disallow_all.py +49 -0
  2510. pyrogram/raw/types/privacy_value_disallow_chat_participants.py +54 -0
  2511. pyrogram/raw/types/privacy_value_disallow_contacts.py +49 -0
  2512. pyrogram/raw/types/privacy_value_disallow_users.py +54 -0
  2513. pyrogram/raw/types/public_forward_message.py +54 -0
  2514. pyrogram/raw/types/public_forward_story.py +62 -0
  2515. pyrogram/raw/types/quick_reply.py +78 -0
  2516. pyrogram/raw/types/reaction_count.py +73 -0
  2517. pyrogram/raw/types/reaction_custom_emoji.py +54 -0
  2518. pyrogram/raw/types/reaction_emoji.py +54 -0
  2519. pyrogram/raw/types/reaction_empty.py +49 -0
  2520. pyrogram/raw/types/reaction_notifications_from_all.py +49 -0
  2521. pyrogram/raw/types/reaction_notifications_from_contacts.py +49 -0
  2522. pyrogram/raw/types/reactions_notify_settings.py +94 -0
  2523. pyrogram/raw/types/read_participant_date.py +71 -0
  2524. pyrogram/raw/types/received_notify_message.py +71 -0
  2525. pyrogram/raw/types/recent_me_url_chat.py +62 -0
  2526. pyrogram/raw/types/recent_me_url_chat_invite.py +62 -0
  2527. pyrogram/raw/types/recent_me_url_sticker_set.py +62 -0
  2528. pyrogram/raw/types/recent_me_url_unknown.py +54 -0
  2529. pyrogram/raw/types/recent_me_url_user.py +62 -0
  2530. pyrogram/raw/types/reply_inline_markup.py +54 -0
  2531. pyrogram/raw/types/reply_keyboard_force_reply.py +69 -0
  2532. pyrogram/raw/types/reply_keyboard_hide.py +54 -0
  2533. pyrogram/raw/types/reply_keyboard_markup.py +89 -0
  2534. pyrogram/raw/types/request_peer_type_broadcast.py +83 -0
  2535. pyrogram/raw/types/request_peer_type_chat.py +98 -0
  2536. pyrogram/raw/types/request_peer_type_user.py +66 -0
  2537. pyrogram/raw/types/requested_peer_channel.py +84 -0
  2538. pyrogram/raw/types/requested_peer_chat.py +75 -0
  2539. pyrogram/raw/types/requested_peer_user.py +93 -0
  2540. pyrogram/raw/types/res_pq.py +88 -0
  2541. pyrogram/raw/types/restriction_reason.py +70 -0
  2542. pyrogram/raw/types/rpc_answer_dropped.py +79 -0
  2543. pyrogram/raw/types/rpc_answer_dropped_running.py +58 -0
  2544. pyrogram/raw/types/rpc_answer_unknown.py +58 -0
  2545. pyrogram/raw/types/rpc_error.py +62 -0
  2546. pyrogram/raw/types/rpc_result.py +62 -0
  2547. pyrogram/raw/types/saved_dialog.py +70 -0
  2548. pyrogram/raw/types/saved_phone_contact.py +87 -0
  2549. pyrogram/raw/types/saved_reaction_tag.py +73 -0
  2550. pyrogram/raw/types/search_result_position.py +70 -0
  2551. pyrogram/raw/types/search_results_calendar_period.py +78 -0
  2552. pyrogram/raw/types/secure_credentials_encrypted.py +70 -0
  2553. pyrogram/raw/types/secure_data.py +70 -0
  2554. pyrogram/raw/types/secure_file.py +102 -0
  2555. pyrogram/raw/types/secure_file_empty.py +49 -0
  2556. pyrogram/raw/types/secure_password_kdf_algo_pbkdf2_hmacsha512iter100000.py +54 -0
  2557. pyrogram/raw/types/secure_password_kdf_algo_sha512.py +54 -0
  2558. pyrogram/raw/types/secure_password_kdf_algo_unknown.py +49 -0
  2559. pyrogram/raw/types/secure_plain_email.py +54 -0
  2560. pyrogram/raw/types/secure_plain_phone.py +54 -0
  2561. pyrogram/raw/types/secure_required_type.py +74 -0
  2562. pyrogram/raw/types/secure_required_type_one_of.py +54 -0
  2563. pyrogram/raw/types/secure_secret_settings.py +70 -0
  2564. pyrogram/raw/types/secure_value.py +145 -0
  2565. pyrogram/raw/types/secure_value_error.py +70 -0
  2566. pyrogram/raw/types/secure_value_error_data.py +78 -0
  2567. pyrogram/raw/types/secure_value_error_file.py +70 -0
  2568. pyrogram/raw/types/secure_value_error_files.py +70 -0
  2569. pyrogram/raw/types/secure_value_error_front_side.py +70 -0
  2570. pyrogram/raw/types/secure_value_error_reverse_side.py +70 -0
  2571. pyrogram/raw/types/secure_value_error_selfie.py +70 -0
  2572. pyrogram/raw/types/secure_value_error_translation_file.py +70 -0
  2573. pyrogram/raw/types/secure_value_error_translation_files.py +70 -0
  2574. pyrogram/raw/types/secure_value_hash.py +62 -0
  2575. pyrogram/raw/types/secure_value_type_address.py +49 -0
  2576. pyrogram/raw/types/secure_value_type_bank_statement.py +49 -0
  2577. pyrogram/raw/types/secure_value_type_driver_license.py +49 -0
  2578. pyrogram/raw/types/secure_value_type_email.py +49 -0
  2579. pyrogram/raw/types/secure_value_type_identity_card.py +49 -0
  2580. pyrogram/raw/types/secure_value_type_internal_passport.py +49 -0
  2581. pyrogram/raw/types/secure_value_type_passport.py +49 -0
  2582. pyrogram/raw/types/secure_value_type_passport_registration.py +49 -0
  2583. pyrogram/raw/types/secure_value_type_personal_details.py +49 -0
  2584. pyrogram/raw/types/secure_value_type_phone.py +49 -0
  2585. pyrogram/raw/types/secure_value_type_rental_agreement.py +49 -0
  2586. pyrogram/raw/types/secure_value_type_temporary_registration.py +49 -0
  2587. pyrogram/raw/types/secure_value_type_utility_bill.py +49 -0
  2588. pyrogram/raw/types/send_as_peer.py +62 -0
  2589. pyrogram/raw/types/send_message_cancel_action.py +49 -0
  2590. pyrogram/raw/types/send_message_choose_contact_action.py +49 -0
  2591. pyrogram/raw/types/send_message_choose_sticker_action.py +49 -0
  2592. pyrogram/raw/types/send_message_emoji_interaction.py +70 -0
  2593. pyrogram/raw/types/send_message_emoji_interaction_seen.py +54 -0
  2594. pyrogram/raw/types/send_message_game_play_action.py +49 -0
  2595. pyrogram/raw/types/send_message_geo_location_action.py +49 -0
  2596. pyrogram/raw/types/send_message_history_import_action.py +54 -0
  2597. pyrogram/raw/types/send_message_record_audio_action.py +49 -0
  2598. pyrogram/raw/types/send_message_record_round_action.py +49 -0
  2599. pyrogram/raw/types/send_message_record_video_action.py +49 -0
  2600. pyrogram/raw/types/send_message_typing_action.py +49 -0
  2601. pyrogram/raw/types/send_message_upload_audio_action.py +54 -0
  2602. pyrogram/raw/types/send_message_upload_document_action.py +54 -0
  2603. pyrogram/raw/types/send_message_upload_photo_action.py +54 -0
  2604. pyrogram/raw/types/send_message_upload_round_action.py +54 -0
  2605. pyrogram/raw/types/send_message_upload_video_action.py +54 -0
  2606. pyrogram/raw/types/server_dh_inner_data.py +94 -0
  2607. pyrogram/raw/types/server_dh_params_fail.py +79 -0
  2608. pyrogram/raw/types/server_dh_params_ok.py +79 -0
  2609. pyrogram/raw/types/shipping_option.py +70 -0
  2610. pyrogram/raw/types/sms_job.py +79 -0
  2611. pyrogram/raw/types/smsjobs/__init__.py +8 -0
  2612. pyrogram/raw/types/smsjobs/eligible_to_join.py +71 -0
  2613. pyrogram/raw/types/smsjobs/status.py +120 -0
  2614. pyrogram/raw/types/speaking_in_group_call_action.py +49 -0
  2615. pyrogram/raw/types/sponsored_message.py +148 -0
  2616. pyrogram/raw/types/sponsored_message_report_option.py +62 -0
  2617. pyrogram/raw/types/stars_revenue_status.py +87 -0
  2618. pyrogram/raw/types/stars_topup_option.py +96 -0
  2619. pyrogram/raw/types/stars_transaction.py +172 -0
  2620. pyrogram/raw/types/stars_transaction_peer.py +54 -0
  2621. pyrogram/raw/types/stars_transaction_peer_ads.py +49 -0
  2622. pyrogram/raw/types/stars_transaction_peer_app_store.py +49 -0
  2623. pyrogram/raw/types/stars_transaction_peer_fragment.py +49 -0
  2624. pyrogram/raw/types/stars_transaction_peer_play_market.py +49 -0
  2625. pyrogram/raw/types/stars_transaction_peer_premium_bot.py +49 -0
  2626. pyrogram/raw/types/stars_transaction_peer_unsupported.py +49 -0
  2627. pyrogram/raw/types/stats/__init__.py +14 -0
  2628. pyrogram/raw/types/stats/broadcast_revenue_stats.py +87 -0
  2629. pyrogram/raw/types/stats/broadcast_revenue_transactions.py +71 -0
  2630. pyrogram/raw/types/stats/broadcast_revenue_withdrawal_url.py +63 -0
  2631. pyrogram/raw/types/stats/broadcast_stats.py +231 -0
  2632. pyrogram/raw/types/stats/megagroup_stats.py +191 -0
  2633. pyrogram/raw/types/stats/message_stats.py +71 -0
  2634. pyrogram/raw/types/stats/public_forwards.py +99 -0
  2635. pyrogram/raw/types/stats/story_stats.py +71 -0
  2636. pyrogram/raw/types/stats_abs_value_and_prev.py +62 -0
  2637. pyrogram/raw/types/stats_date_range_days.py +62 -0
  2638. pyrogram/raw/types/stats_graph.py +74 -0
  2639. pyrogram/raw/types/stats_graph_async.py +63 -0
  2640. pyrogram/raw/types/stats_graph_error.py +63 -0
  2641. pyrogram/raw/types/stats_group_top_admin.py +78 -0
  2642. pyrogram/raw/types/stats_group_top_inviter.py +62 -0
  2643. pyrogram/raw/types/stats_group_top_poster.py +70 -0
  2644. pyrogram/raw/types/stats_percent_value.py +62 -0
  2645. pyrogram/raw/types/stats_url.py +54 -0
  2646. pyrogram/raw/types/sticker_keyword.py +62 -0
  2647. pyrogram/raw/types/sticker_pack.py +62 -0
  2648. pyrogram/raw/types/sticker_set.py +184 -0
  2649. pyrogram/raw/types/sticker_set_covered.py +71 -0
  2650. pyrogram/raw/types/sticker_set_full_covered.py +87 -0
  2651. pyrogram/raw/types/sticker_set_multi_covered.py +71 -0
  2652. pyrogram/raw/types/sticker_set_no_covered.py +63 -0
  2653. pyrogram/raw/types/stickers/__init__.py +7 -0
  2654. pyrogram/raw/types/stickers/suggested_short_name.py +63 -0
  2655. pyrogram/raw/types/storage/__init__.py +16 -0
  2656. pyrogram/raw/types/storage/file_gif.py +49 -0
  2657. pyrogram/raw/types/storage/file_jpeg.py +49 -0
  2658. pyrogram/raw/types/storage/file_mov.py +49 -0
  2659. pyrogram/raw/types/storage/file_mp3.py +49 -0
  2660. pyrogram/raw/types/storage/file_mp4.py +49 -0
  2661. pyrogram/raw/types/storage/file_partial.py +49 -0
  2662. pyrogram/raw/types/storage/file_pdf.py +49 -0
  2663. pyrogram/raw/types/storage/file_png.py +49 -0
  2664. pyrogram/raw/types/storage/file_unknown.py +49 -0
  2665. pyrogram/raw/types/storage/file_webp.py +49 -0
  2666. pyrogram/raw/types/stories/__init__.py +14 -0
  2667. pyrogram/raw/types/stories/all_stories.py +111 -0
  2668. pyrogram/raw/types/stories/all_stories_not_modified.py +74 -0
  2669. pyrogram/raw/types/stories/found_stories.py +98 -0
  2670. pyrogram/raw/types/stories/peer_stories.py +79 -0
  2671. pyrogram/raw/types/stories/stories.py +101 -0
  2672. pyrogram/raw/types/stories/story_reactions_list.py +98 -0
  2673. pyrogram/raw/types/stories/story_views.py +71 -0
  2674. pyrogram/raw/types/stories/story_views_list.py +122 -0
  2675. pyrogram/raw/types/stories_stealth_mode.py +66 -0
  2676. pyrogram/raw/types/story_fwd_header.py +82 -0
  2677. pyrogram/raw/types/story_item.py +213 -0
  2678. pyrogram/raw/types/story_item_deleted.py +54 -0
  2679. pyrogram/raw/types/story_item_skipped.py +78 -0
  2680. pyrogram/raw/types/story_reaction.py +70 -0
  2681. pyrogram/raw/types/story_reaction_public_forward.py +54 -0
  2682. pyrogram/raw/types/story_reaction_public_repost.py +62 -0
  2683. pyrogram/raw/types/story_view.py +86 -0
  2684. pyrogram/raw/types/story_view_public_forward.py +68 -0
  2685. pyrogram/raw/types/story_view_public_repost.py +76 -0
  2686. pyrogram/raw/types/story_views.py +100 -0
  2687. pyrogram/raw/types/text_anchor.py +62 -0
  2688. pyrogram/raw/types/text_bold.py +54 -0
  2689. pyrogram/raw/types/text_concat.py +54 -0
  2690. pyrogram/raw/types/text_email.py +62 -0
  2691. pyrogram/raw/types/text_empty.py +49 -0
  2692. pyrogram/raw/types/text_fixed.py +54 -0
  2693. pyrogram/raw/types/text_image.py +70 -0
  2694. pyrogram/raw/types/text_italic.py +54 -0
  2695. pyrogram/raw/types/text_marked.py +54 -0
  2696. pyrogram/raw/types/text_phone.py +62 -0
  2697. pyrogram/raw/types/text_plain.py +54 -0
  2698. pyrogram/raw/types/text_strike.py +54 -0
  2699. pyrogram/raw/types/text_subscript.py +54 -0
  2700. pyrogram/raw/types/text_superscript.py +54 -0
  2701. pyrogram/raw/types/text_underline.py +54 -0
  2702. pyrogram/raw/types/text_url.py +70 -0
  2703. pyrogram/raw/types/text_with_entities.py +62 -0
  2704. pyrogram/raw/types/theme.py +147 -0
  2705. pyrogram/raw/types/theme_settings.py +99 -0
  2706. pyrogram/raw/types/timezone.py +70 -0
  2707. pyrogram/raw/types/top_peer.py +62 -0
  2708. pyrogram/raw/types/top_peer_category_bots_inline.py +49 -0
  2709. pyrogram/raw/types/top_peer_category_bots_pm.py +49 -0
  2710. pyrogram/raw/types/top_peer_category_channels.py +49 -0
  2711. pyrogram/raw/types/top_peer_category_correspondents.py +49 -0
  2712. pyrogram/raw/types/top_peer_category_forward_chats.py +49 -0
  2713. pyrogram/raw/types/top_peer_category_forward_users.py +49 -0
  2714. pyrogram/raw/types/top_peer_category_groups.py +49 -0
  2715. pyrogram/raw/types/top_peer_category_peers.py +70 -0
  2716. pyrogram/raw/types/top_peer_category_phone_calls.py +49 -0
  2717. pyrogram/raw/types/update_attach_menu_bots.py +49 -0
  2718. pyrogram/raw/types/update_auto_save_settings.py +49 -0
  2719. pyrogram/raw/types/update_bot_business_connect.py +62 -0
  2720. pyrogram/raw/types/update_bot_callback_query.py +106 -0
  2721. pyrogram/raw/types/update_bot_chat_boost.py +70 -0
  2722. pyrogram/raw/types/update_bot_chat_invite_requester.py +94 -0
  2723. pyrogram/raw/types/update_bot_commands.py +70 -0
  2724. pyrogram/raw/types/update_bot_delete_business_message.py +78 -0
  2725. pyrogram/raw/types/update_bot_edit_business_message.py +82 -0
  2726. pyrogram/raw/types/update_bot_inline_query.py +100 -0
  2727. pyrogram/raw/types/update_bot_inline_send.py +92 -0
  2728. pyrogram/raw/types/update_bot_menu_button.py +62 -0
  2729. pyrogram/raw/types/update_bot_message_reaction.py +102 -0
  2730. pyrogram/raw/types/update_bot_message_reactions.py +86 -0
  2731. pyrogram/raw/types/update_bot_new_business_message.py +82 -0
  2732. pyrogram/raw/types/update_bot_precheckout_query.py +107 -0
  2733. pyrogram/raw/types/update_bot_shipping_query.py +78 -0
  2734. pyrogram/raw/types/update_bot_stopped.py +78 -0
  2735. pyrogram/raw/types/update_bot_webhook_json.py +54 -0
  2736. pyrogram/raw/types/update_bot_webhook_json_query.py +70 -0
  2737. pyrogram/raw/types/update_broadcast_revenue_transactions.py +62 -0
  2738. pyrogram/raw/types/update_business_bot_callback_query.py +107 -0
  2739. pyrogram/raw/types/update_channel.py +54 -0
  2740. pyrogram/raw/types/update_channel_available_messages.py +62 -0
  2741. pyrogram/raw/types/update_channel_message_forwards.py +70 -0
  2742. pyrogram/raw/types/update_channel_message_views.py +70 -0
  2743. pyrogram/raw/types/update_channel_participant.py +124 -0
  2744. pyrogram/raw/types/update_channel_pinned_topic.py +70 -0
  2745. pyrogram/raw/types/update_channel_pinned_topics.py +66 -0
  2746. pyrogram/raw/types/update_channel_read_messages_contents.py +73 -0
  2747. pyrogram/raw/types/update_channel_too_long.py +65 -0
  2748. pyrogram/raw/types/update_channel_user_typing.py +81 -0
  2749. pyrogram/raw/types/update_channel_view_forum_as_messages.py +62 -0
  2750. pyrogram/raw/types/update_channel_web_page.py +78 -0
  2751. pyrogram/raw/types/update_chat.py +54 -0
  2752. pyrogram/raw/types/update_chat_default_banned_rights.py +70 -0
  2753. pyrogram/raw/types/update_chat_participant.py +118 -0
  2754. pyrogram/raw/types/update_chat_participant_add.py +86 -0
  2755. pyrogram/raw/types/update_chat_participant_admin.py +78 -0
  2756. pyrogram/raw/types/update_chat_participant_delete.py +70 -0
  2757. pyrogram/raw/types/update_chat_participants.py +54 -0
  2758. pyrogram/raw/types/update_chat_user_typing.py +70 -0
  2759. pyrogram/raw/types/update_config.py +49 -0
  2760. pyrogram/raw/types/update_contacts_reset.py +49 -0
  2761. pyrogram/raw/types/update_dc_options.py +54 -0
  2762. pyrogram/raw/types/update_delete_channel_messages.py +78 -0
  2763. pyrogram/raw/types/update_delete_messages.py +70 -0
  2764. pyrogram/raw/types/update_delete_quick_reply.py +54 -0
  2765. pyrogram/raw/types/update_delete_quick_reply_messages.py +62 -0
  2766. pyrogram/raw/types/update_delete_scheduled_messages.py +62 -0
  2767. pyrogram/raw/types/update_dialog_filter.py +66 -0
  2768. pyrogram/raw/types/update_dialog_filter_order.py +54 -0
  2769. pyrogram/raw/types/update_dialog_filters.py +49 -0
  2770. pyrogram/raw/types/update_dialog_pinned.py +71 -0
  2771. pyrogram/raw/types/update_dialog_unread_mark.py +62 -0
  2772. pyrogram/raw/types/update_draft_message.py +73 -0
  2773. pyrogram/raw/types/update_edit_channel_message.py +70 -0
  2774. pyrogram/raw/types/update_edit_message.py +70 -0
  2775. pyrogram/raw/types/update_encrypted_chat_typing.py +54 -0
  2776. pyrogram/raw/types/update_encrypted_messages_read.py +70 -0
  2777. pyrogram/raw/types/update_encryption.py +62 -0
  2778. pyrogram/raw/types/update_faved_stickers.py +49 -0
  2779. pyrogram/raw/types/update_folder_peers.py +70 -0
  2780. pyrogram/raw/types/update_geo_live_viewed.py +62 -0
  2781. pyrogram/raw/types/update_group_call.py +62 -0
  2782. pyrogram/raw/types/update_group_call_connection.py +62 -0
  2783. pyrogram/raw/types/update_group_call_participants.py +70 -0
  2784. pyrogram/raw/types/update_inline_bot_callback_query.py +98 -0
  2785. pyrogram/raw/types/update_lang_pack.py +54 -0
  2786. pyrogram/raw/types/update_lang_pack_too_long.py +54 -0
  2787. pyrogram/raw/types/update_login_token.py +49 -0
  2788. pyrogram/raw/types/update_message_extended_media.py +70 -0
  2789. pyrogram/raw/types/update_message_id.py +62 -0
  2790. pyrogram/raw/types/update_message_poll.py +74 -0
  2791. pyrogram/raw/types/update_message_poll_vote.py +78 -0
  2792. pyrogram/raw/types/update_message_reactions.py +81 -0
  2793. pyrogram/raw/types/update_move_sticker_set_to_top.py +68 -0
  2794. pyrogram/raw/types/update_new_authorization.py +89 -0
  2795. pyrogram/raw/types/update_new_channel_message.py +70 -0
  2796. pyrogram/raw/types/update_new_encrypted_message.py +62 -0
  2797. pyrogram/raw/types/update_new_message.py +70 -0
  2798. pyrogram/raw/types/update_new_quick_reply.py +54 -0
  2799. pyrogram/raw/types/update_new_scheduled_message.py +54 -0
  2800. pyrogram/raw/types/update_new_sticker_set.py +54 -0
  2801. pyrogram/raw/types/update_new_story_reaction.py +70 -0
  2802. pyrogram/raw/types/update_notify_settings.py +62 -0
  2803. pyrogram/raw/types/update_peer_blocked.py +68 -0
  2804. pyrogram/raw/types/update_peer_history_ttl.py +65 -0
  2805. pyrogram/raw/types/update_peer_located.py +54 -0
  2806. pyrogram/raw/types/update_peer_settings.py +62 -0
  2807. pyrogram/raw/types/update_peer_wallpaper.py +72 -0
  2808. pyrogram/raw/types/update_pending_join_requests.py +70 -0
  2809. pyrogram/raw/types/update_phone_call.py +54 -0
  2810. pyrogram/raw/types/update_phone_call_signaling_data.py +62 -0
  2811. pyrogram/raw/types/update_pinned_channel_messages.py +86 -0
  2812. pyrogram/raw/types/update_pinned_dialogs.py +67 -0
  2813. pyrogram/raw/types/update_pinned_messages.py +86 -0
  2814. pyrogram/raw/types/update_pinned_saved_dialogs.py +58 -0
  2815. pyrogram/raw/types/update_privacy.py +62 -0
  2816. pyrogram/raw/types/update_pts_changed.py +49 -0
  2817. pyrogram/raw/types/update_quick_replies.py +54 -0
  2818. pyrogram/raw/types/update_quick_reply_message.py +54 -0
  2819. pyrogram/raw/types/update_read_channel_discussion_inbox.py +90 -0
  2820. pyrogram/raw/types/update_read_channel_discussion_outbox.py +70 -0
  2821. pyrogram/raw/types/update_read_channel_inbox.py +89 -0
  2822. pyrogram/raw/types/update_read_channel_outbox.py +62 -0
  2823. pyrogram/raw/types/update_read_featured_emoji_stickers.py +49 -0
  2824. pyrogram/raw/types/update_read_featured_stickers.py +49 -0
  2825. pyrogram/raw/types/update_read_history_inbox.py +97 -0
  2826. pyrogram/raw/types/update_read_history_outbox.py +78 -0
  2827. pyrogram/raw/types/update_read_messages_contents.py +81 -0
  2828. pyrogram/raw/types/update_read_stories.py +62 -0
  2829. pyrogram/raw/types/update_recent_emoji_statuses.py +49 -0
  2830. pyrogram/raw/types/update_recent_reactions.py +49 -0
  2831. pyrogram/raw/types/update_recent_stickers.py +49 -0
  2832. pyrogram/raw/types/update_saved_dialog_pinned.py +62 -0
  2833. pyrogram/raw/types/update_saved_gifs.py +49 -0
  2834. pyrogram/raw/types/update_saved_reaction_tags.py +49 -0
  2835. pyrogram/raw/types/update_saved_ringtones.py +49 -0
  2836. pyrogram/raw/types/update_sent_story_reaction.py +70 -0
  2837. pyrogram/raw/types/update_service_notification.py +101 -0
  2838. pyrogram/raw/types/update_short.py +173 -0
  2839. pyrogram/raw/types/update_short_chat_message.py +287 -0
  2840. pyrogram/raw/types/update_short_message.py +279 -0
  2841. pyrogram/raw/types/update_short_sent_message.py +226 -0
  2842. pyrogram/raw/types/update_sms_job.py +54 -0
  2843. pyrogram/raw/types/update_stars_balance.py +54 -0
  2844. pyrogram/raw/types/update_stars_revenue_status.py +62 -0
  2845. pyrogram/raw/types/update_sticker_sets.py +60 -0
  2846. pyrogram/raw/types/update_sticker_sets_order.py +68 -0
  2847. pyrogram/raw/types/update_stories_stealth_mode.py +54 -0
  2848. pyrogram/raw/types/update_story.py +62 -0
  2849. pyrogram/raw/types/update_story_id.py +62 -0
  2850. pyrogram/raw/types/update_theme.py +54 -0
  2851. pyrogram/raw/types/update_transcribed_audio.py +86 -0
  2852. pyrogram/raw/types/update_user.py +54 -0
  2853. pyrogram/raw/types/update_user_emoji_status.py +62 -0
  2854. pyrogram/raw/types/update_user_name.py +78 -0
  2855. pyrogram/raw/types/update_user_phone.py +62 -0
  2856. pyrogram/raw/types/update_user_status.py +62 -0
  2857. pyrogram/raw/types/update_user_typing.py +62 -0
  2858. pyrogram/raw/types/update_web_page.py +70 -0
  2859. pyrogram/raw/types/update_web_view_result_sent.py +54 -0
  2860. pyrogram/raw/types/updates/__init__.py +14 -0
  2861. pyrogram/raw/types/updates/channel_difference.py +112 -0
  2862. pyrogram/raw/types/updates/channel_difference_empty.py +80 -0
  2863. pyrogram/raw/types/updates/channel_difference_too_long.py +104 -0
  2864. pyrogram/raw/types/updates/difference.py +103 -0
  2865. pyrogram/raw/types/updates/difference_empty.py +71 -0
  2866. pyrogram/raw/types/updates/difference_slice.py +103 -0
  2867. pyrogram/raw/types/updates/difference_too_long.py +63 -0
  2868. pyrogram/raw/types/updates/state.py +95 -0
  2869. pyrogram/raw/types/updates_combined.py +205 -0
  2870. pyrogram/raw/types/updates_t.py +197 -0
  2871. pyrogram/raw/types/updates_too_long.py +160 -0
  2872. pyrogram/raw/types/upload/__init__.py +11 -0
  2873. pyrogram/raw/types/upload/cdn_file.py +63 -0
  2874. pyrogram/raw/types/upload/cdn_file_reupload_needed.py +63 -0
  2875. pyrogram/raw/types/upload/file.py +79 -0
  2876. pyrogram/raw/types/upload/file_cdn_redirect.py +95 -0
  2877. pyrogram/raw/types/upload/web_file.py +95 -0
  2878. pyrogram/raw/types/url_auth_result_accepted.py +64 -0
  2879. pyrogram/raw/types/url_auth_result_default.py +59 -0
  2880. pyrogram/raw/types/url_auth_result_request.py +80 -0
  2881. pyrogram/raw/types/user.py +368 -0
  2882. pyrogram/raw/types/user_empty.py +67 -0
  2883. pyrogram/raw/types/user_full.py +390 -0
  2884. pyrogram/raw/types/user_profile_photo.py +85 -0
  2885. pyrogram/raw/types/user_profile_photo_empty.py +49 -0
  2886. pyrogram/raw/types/user_status_empty.py +49 -0
  2887. pyrogram/raw/types/user_status_last_month.py +54 -0
  2888. pyrogram/raw/types/user_status_last_week.py +54 -0
  2889. pyrogram/raw/types/user_status_offline.py +54 -0
  2890. pyrogram/raw/types/user_status_online.py +54 -0
  2891. pyrogram/raw/types/user_status_recently.py +54 -0
  2892. pyrogram/raw/types/username.py +68 -0
  2893. pyrogram/raw/types/users/__init__.py +7 -0
  2894. pyrogram/raw/types/users/user_full.py +79 -0
  2895. pyrogram/raw/types/video_size.py +89 -0
  2896. pyrogram/raw/types/video_size_emoji_markup.py +62 -0
  2897. pyrogram/raw/types/video_size_sticker_markup.py +70 -0
  2898. pyrogram/raw/types/wall_paper.py +125 -0
  2899. pyrogram/raw/types/wall_paper_no_file.py +89 -0
  2900. pyrogram/raw/types/wall_paper_settings.py +123 -0
  2901. pyrogram/raw/types/web_authorization.py +118 -0
  2902. pyrogram/raw/types/web_document.py +86 -0
  2903. pyrogram/raw/types/web_document_no_proxy.py +78 -0
  2904. pyrogram/raw/types/web_page.py +216 -0
  2905. pyrogram/raw/types/web_page_attribute_sticker_set.py +68 -0
  2906. pyrogram/raw/types/web_page_attribute_story.py +74 -0
  2907. pyrogram/raw/types/web_page_attribute_theme.py +68 -0
  2908. pyrogram/raw/types/web_page_empty.py +65 -0
  2909. pyrogram/raw/types/web_page_not_modified.py +57 -0
  2910. pyrogram/raw/types/web_page_pending.py +73 -0
  2911. pyrogram/raw/types/web_view_message_sent.py +67 -0
  2912. pyrogram/raw/types/web_view_result_url.py +82 -0
  2913. pyrogram/session/__init__.py +2 -0
  2914. pyrogram/session/auth.py +253 -0
  2915. pyrogram/session/internals/__init__.py +3 -0
  2916. pyrogram/session/internals/data_center.py +64 -0
  2917. pyrogram/session/internals/msg_factory.py +20 -0
  2918. pyrogram/session/internals/msg_id.py +17 -0
  2919. pyrogram/session/internals/seq_no.py +11 -0
  2920. pyrogram/session/session.py +399 -0
  2921. pyrogram/storage/__init__.py +6 -0
  2922. pyrogram/storage/dummy_client.py +44 -0
  2923. pyrogram/storage/file_storage.py +69 -0
  2924. pyrogram/storage/memory_storage.py +54 -0
  2925. pyrogram/storage/mongo_storage.py +198 -0
  2926. pyrogram/storage/sqlite_storage.py +279 -0
  2927. pyrogram/storage/storage.py +81 -0
  2928. pyrogram/sync.py +92 -0
  2929. pyrogram/types/__init__.py +10 -0
  2930. pyrogram/types/authorization/__init__.py +7 -0
  2931. pyrogram/types/authorization/sent_code.py +27 -0
  2932. pyrogram/types/authorization/terms_of_service.py +25 -0
  2933. pyrogram/types/bots_and_keyboards/__init__.py +57 -0
  2934. pyrogram/types/bots_and_keyboards/bot_command.py +24 -0
  2935. pyrogram/types/bots_and_keyboards/bot_command_scope.py +13 -0
  2936. pyrogram/types/bots_and_keyboards/bot_command_scope_all_chat_administrators.py +11 -0
  2937. pyrogram/types/bots_and_keyboards/bot_command_scope_all_group_chats.py +11 -0
  2938. pyrogram/types/bots_and_keyboards/bot_command_scope_all_private_chats.py +11 -0
  2939. pyrogram/types/bots_and_keyboards/bot_command_scope_chat.py +17 -0
  2940. pyrogram/types/bots_and_keyboards/bot_command_scope_chat_administrators.py +17 -0
  2941. pyrogram/types/bots_and_keyboards/bot_command_scope_chat_member.py +19 -0
  2942. pyrogram/types/bots_and_keyboards/bot_command_scope_default.py +11 -0
  2943. pyrogram/types/bots_and_keyboards/bot_info.py +21 -0
  2944. pyrogram/types/bots_and_keyboards/callback_query.py +143 -0
  2945. pyrogram/types/bots_and_keyboards/force_reply.py +30 -0
  2946. pyrogram/types/bots_and_keyboards/inline_keyboard_button.py +142 -0
  2947. pyrogram/types/bots_and_keyboards/inline_keyboard_markup.py +42 -0
  2948. pyrogram/types/bots_and_keyboards/keyboard_button.py +121 -0
  2949. pyrogram/types/bots_and_keyboards/login_url.py +38 -0
  2950. pyrogram/types/bots_and_keyboards/menu_button.py +13 -0
  2951. pyrogram/types/bots_and_keyboards/menu_button_commands.py +11 -0
  2952. pyrogram/types/bots_and_keyboards/menu_button_default.py +11 -0
  2953. pyrogram/types/bots_and_keyboards/menu_button_web_app.py +21 -0
  2954. pyrogram/types/bots_and_keyboards/reply_keyboard_markup.py +63 -0
  2955. pyrogram/types/bots_and_keyboards/reply_keyboard_remove.py +24 -0
  2956. pyrogram/types/bots_and_keyboards/request_peer_type_channel.py +15 -0
  2957. pyrogram/types/bots_and_keyboards/request_peer_type_chat.py +19 -0
  2958. pyrogram/types/bots_and_keyboards/request_peer_type_user.py +15 -0
  2959. pyrogram/types/bots_and_keyboards/sent_web_app_message.py +16 -0
  2960. pyrogram/types/bots_and_keyboards/web_app_info.py +11 -0
  2961. pyrogram/types/inline_mode/__init__.py +43 -0
  2962. pyrogram/types/inline_mode/chosen_inline_result.py +55 -0
  2963. pyrogram/types/inline_mode/inline_query.py +82 -0
  2964. pyrogram/types/inline_mode/inline_query_result.py +24 -0
  2965. pyrogram/types/inline_mode/inline_query_result_animation.py +85 -0
  2966. pyrogram/types/inline_mode/inline_query_result_article.py +49 -0
  2967. pyrogram/types/inline_mode/inline_query_result_audio.py +73 -0
  2968. pyrogram/types/inline_mode/inline_query_result_cached_animation.py +56 -0
  2969. pyrogram/types/inline_mode/inline_query_result_cached_audio.py +53 -0
  2970. pyrogram/types/inline_mode/inline_query_result_cached_document.py +59 -0
  2971. pyrogram/types/inline_mode/inline_query_result_cached_photo.py +57 -0
  2972. pyrogram/types/inline_mode/inline_query_result_cached_sticker.py +40 -0
  2973. pyrogram/types/inline_mode/inline_query_result_cached_video.py +59 -0
  2974. pyrogram/types/inline_mode/inline_query_result_cached_voice.py +56 -0
  2975. pyrogram/types/inline_mode/inline_query_result_contact.py +57 -0
  2976. pyrogram/types/inline_mode/inline_query_result_document.py +78 -0
  2977. pyrogram/types/inline_mode/inline_query_result_location.py +55 -0
  2978. pyrogram/types/inline_mode/inline_query_result_photo.py +81 -0
  2979. pyrogram/types/inline_mode/inline_query_result_venue.py +63 -0
  2980. pyrogram/types/inline_mode/inline_query_result_video.py +79 -0
  2981. pyrogram/types/inline_mode/inline_query_result_voice.py +59 -0
  2982. pyrogram/types/input_media/__init__.py +21 -0
  2983. pyrogram/types/input_media/input_media.py +20 -0
  2984. pyrogram/types/input_media/input_media_animation.py +27 -0
  2985. pyrogram/types/input_media/input_media_area.py +13 -0
  2986. pyrogram/types/input_media/input_media_area_channel_post.py +27 -0
  2987. pyrogram/types/input_media/input_media_audio.py +25 -0
  2988. pyrogram/types/input_media/input_media_document.py +19 -0
  2989. pyrogram/types/input_media/input_media_photo.py +19 -0
  2990. pyrogram/types/input_media/input_media_video.py +29 -0
  2991. pyrogram/types/input_media/input_phone_contact.py +19 -0
  2992. pyrogram/types/input_message_content/__init__.py +9 -0
  2993. pyrogram/types/input_message_content/input_message_content.py +11 -0
  2994. pyrogram/types/input_message_content/input_reply_to_message.py +45 -0
  2995. pyrogram/types/input_message_content/input_text_message_content.py +33 -0
  2996. pyrogram/types/list.py +11 -0
  2997. pyrogram/types/messages_and_media/__init__.py +61 -0
  2998. pyrogram/types/messages_and_media/animation.py +109 -0
  2999. pyrogram/types/messages_and_media/audio.py +68 -0
  3000. pyrogram/types/messages_and_media/available_effect.py +45 -0
  3001. pyrogram/types/messages_and_media/contact.py +34 -0
  3002. pyrogram/types/messages_and_media/document.py +54 -0
  3003. pyrogram/types/messages_and_media/media_area.py +21 -0
  3004. pyrogram/types/messages_and_media/media_area_channel_post.py +39 -0
  3005. pyrogram/types/messages_and_media/media_area_coordinates.py +40 -0
  3006. pyrogram/types/messages_and_media/message.py +2101 -0
  3007. pyrogram/types/messages_and_media/message_entity.py +85 -0
  3008. pyrogram/types/messages_and_media/message_reaction_count_updated.py +53 -0
  3009. pyrogram/types/messages_and_media/message_reaction_updated.py +76 -0
  3010. pyrogram/types/messages_and_media/message_reactions.py +33 -0
  3011. pyrogram/types/messages_and_media/photo.py +83 -0
  3012. pyrogram/types/messages_and_media/reaction.py +51 -0
  3013. pyrogram/types/messages_and_media/reaction_count.py +30 -0
  3014. pyrogram/types/messages_and_media/reaction_type.py +44 -0
  3015. pyrogram/types/messages_and_media/sticker.py +148 -0
  3016. pyrogram/types/messages_and_media/stickerset.py +40 -0
  3017. pyrogram/types/messages_and_media/story.py +682 -0
  3018. pyrogram/types/messages_and_media/stripped_thumbnail.py +22 -0
  3019. pyrogram/types/messages_and_media/thumbnail.py +73 -0
  3020. pyrogram/types/messages_and_media/video.py +75 -0
  3021. pyrogram/types/messages_and_media/video_note.py +61 -0
  3022. pyrogram/types/messages_and_media/voice.py +52 -0
  3023. pyrogram/types/messages_and_media/web_app_data.py +22 -0
  3024. pyrogram/types/messages_and_media/web_page.py +108 -0
  3025. pyrogram/types/messages_and_media/web_page_empty.py +23 -0
  3026. pyrogram/types/messages_and_media/web_page_preview.py +41 -0
  3027. pyrogram/types/object.py +99 -0
  3028. pyrogram/types/update.py +11 -0
  3029. pyrogram/types/user_and_chats/__init__.py +75 -0
  3030. pyrogram/types/user_and_chats/birthday.py +31 -0
  3031. pyrogram/types/user_and_chats/chat.py +487 -0
  3032. pyrogram/types/user_and_chats/chat_admin_with_invite_links.py +31 -0
  3033. pyrogram/types/user_and_chats/chat_color.py +35 -0
  3034. pyrogram/types/user_and_chats/chat_event.py +396 -0
  3035. pyrogram/types/user_and_chats/chat_event_filter.py +107 -0
  3036. pyrogram/types/user_and_chats/chat_invite_link.py +69 -0
  3037. pyrogram/types/user_and_chats/chat_join_request.py +57 -0
  3038. pyrogram/types/user_and_chats/chat_joined_by_request.py +6 -0
  3039. pyrogram/types/user_and_chats/chat_joiner.py +45 -0
  3040. pyrogram/types/user_and_chats/chat_member.py +160 -0
  3041. pyrogram/types/user_and_chats/chat_member_updated.py +97 -0
  3042. pyrogram/types/user_and_chats/chat_permissions.py +145 -0
  3043. pyrogram/types/user_and_chats/chat_photo.py +79 -0
  3044. pyrogram/types/user_and_chats/chat_preview.py +38 -0
  3045. pyrogram/types/user_and_chats/chat_privileges.py +61 -0
  3046. pyrogram/types/user_and_chats/chat_reactions.py +43 -0
  3047. pyrogram/types/user_and_chats/dialog.py +38 -0
  3048. pyrogram/types/user_and_chats/emoji_status.py +49 -0
  3049. pyrogram/types/user_and_chats/forum_topic.py +71 -0
  3050. pyrogram/types/user_and_chats/forum_topic_closed.py +6 -0
  3051. pyrogram/types/user_and_chats/forum_topic_created.py +29 -0
  3052. pyrogram/types/user_and_chats/forum_topic_edited.py +26 -0
  3053. pyrogram/types/user_and_chats/forum_topic_reopened.py +6 -0
  3054. pyrogram/types/user_and_chats/general_forum_topic_hidden.py +6 -0
  3055. pyrogram/types/user_and_chats/general_forum_topic_unhidden.py +6 -0
  3056. pyrogram/types/user_and_chats/invite_link_importer.py +32 -0
  3057. pyrogram/types/user_and_chats/peer_channel.py +20 -0
  3058. pyrogram/types/user_and_chats/peer_user.py +20 -0
  3059. pyrogram/types/user_and_chats/restriction.py +19 -0
  3060. pyrogram/types/user_and_chats/user.py +230 -0
  3061. pyrogram/types/user_and_chats/username.py +26 -0
  3062. pyrogram/types/user_and_chats/video_chat_ended.py +16 -0
  3063. pyrogram/types/user_and_chats/video_chat_members_invited.py +24 -0
  3064. pyrogram/types/user_and_chats/video_chat_scheduled.py +18 -0
  3065. pyrogram/types/user_and_chats/video_chat_started.py +6 -0
  3066. pyrogram/utils.py +442 -0
@@ -0,0 +1,3273 @@
1
+ from ..rpc_error import RPCError
2
+
3
+
4
+ class BadRequest(RPCError):
5
+ """Bad Request"""
6
+ CODE = 400
7
+ """``int``: RPC Error Code"""
8
+ NAME = __doc__
9
+
10
+
11
+ class AboutTooLong(BadRequest):
12
+ """The provided about/bio text is too long"""
13
+ ID = "ABOUT_TOO_LONG"
14
+ """``str``: RPC Error ID"""
15
+ MESSAGE = __doc__
16
+
17
+
18
+ class AccessTokenExpired(BadRequest):
19
+ """The bot token has expired"""
20
+ ID = "ACCESS_TOKEN_EXPIRED"
21
+ """``str``: RPC Error ID"""
22
+ MESSAGE = __doc__
23
+
24
+
25
+ class AccessTokenInvalid(BadRequest):
26
+ """The bot access token is invalid"""
27
+ ID = "ACCESS_TOKEN_INVALID"
28
+ """``str``: RPC Error ID"""
29
+ MESSAGE = __doc__
30
+
31
+
32
+ class AdminsTooMuch(BadRequest):
33
+ """The chat has too many administrators"""
34
+ ID = "ADMINS_TOO_MUCH"
35
+ """``str``: RPC Error ID"""
36
+ MESSAGE = __doc__
37
+
38
+
39
+ class AdminIdInvalid(BadRequest):
40
+ """The specified admin ID is invalid"""
41
+ ID = "ADMIN_ID_INVALID"
42
+ """``str``: RPC Error ID"""
43
+ MESSAGE = __doc__
44
+
45
+
46
+ class AdminRankEmojiNotAllowed(BadRequest):
47
+ """Emoji are not allowed in custom administrator titles"""
48
+ ID = "ADMIN_RANK_EMOJI_NOT_ALLOWED"
49
+ """``str``: RPC Error ID"""
50
+ MESSAGE = __doc__
51
+
52
+
53
+ class AdminRankInvalid(BadRequest):
54
+ """The custom administrator title is invalid or too long"""
55
+ ID = "ADMIN_RANK_INVALID"
56
+ """``str``: RPC Error ID"""
57
+ MESSAGE = __doc__
58
+
59
+
60
+ class AlbumPhotosTooMany(BadRequest):
61
+ """Too many photos were included in the album"""
62
+ ID = "ALBUM_PHOTOS_TOO_MANY"
63
+ """``str``: RPC Error ID"""
64
+ MESSAGE = __doc__
65
+
66
+
67
+ class ApiIdInvalid(BadRequest):
68
+ """The api_id/api_hash combination is invalid"""
69
+ ID = "API_ID_INVALID"
70
+ """``str``: RPC Error ID"""
71
+ MESSAGE = __doc__
72
+
73
+
74
+ class ApiIdPublishedFlood(BadRequest):
75
+ """You are using an API key that is limited on the server side because it was published somewhere"""
76
+ ID = "API_ID_PUBLISHED_FLOOD"
77
+ """``str``: RPC Error ID"""
78
+ MESSAGE = __doc__
79
+
80
+
81
+ class ArticleTitleEmpty(BadRequest):
82
+ """The article title is empty"""
83
+ ID = "ARTICLE_TITLE_EMPTY"
84
+ """``str``: RPC Error ID"""
85
+ MESSAGE = __doc__
86
+
87
+
88
+ class AudioContentUrlEmpty(BadRequest):
89
+ """The remote URL specified in the content field is empty"""
90
+ ID = "AUDIO_CONTENT_URL_EMPTY"
91
+ """``str``: RPC Error ID"""
92
+ MESSAGE = __doc__
93
+
94
+
95
+ class AudioTitleEmpty(BadRequest):
96
+ """The title attribute of the audio is empty"""
97
+ ID = "AUDIO_TITLE_EMPTY"
98
+ """``str``: RPC Error ID"""
99
+ MESSAGE = __doc__
100
+
101
+
102
+ class AuthBytesInvalid(BadRequest):
103
+ """The authorization bytes are invalid"""
104
+ ID = "AUTH_BYTES_INVALID"
105
+ """``str``: RPC Error ID"""
106
+ MESSAGE = __doc__
107
+
108
+
109
+ class AuthTokenAlreadyAccepted(BadRequest):
110
+ """The authorization token was already used"""
111
+ ID = "AUTH_TOKEN_ALREADY_ACCEPTED"
112
+ """``str``: RPC Error ID"""
113
+ MESSAGE = __doc__
114
+
115
+
116
+ class AuthTokenException(BadRequest):
117
+ """An error occurred while importing the auth token"""
118
+ ID = "AUTH_TOKEN_EXCEPTION"
119
+ """``str``: RPC Error ID"""
120
+ MESSAGE = __doc__
121
+
122
+
123
+ class AuthTokenExpired(BadRequest):
124
+ """The provided authorization token has expired and the updated QR-code must be re-scanned"""
125
+ ID = "AUTH_TOKEN_EXPIRED"
126
+ """``str``: RPC Error ID"""
127
+ MESSAGE = __doc__
128
+
129
+
130
+ class AuthTokenInvalid(BadRequest):
131
+ """An invalid authorization token was provided"""
132
+ ID = "AUTH_TOKEN_INVALID"
133
+ """``str``: RPC Error ID"""
134
+ MESSAGE = __doc__
135
+
136
+
137
+ class AuthTokenInvalid2(BadRequest):
138
+ """An invalid authorization token was provided"""
139
+ ID = "AUTH_TOKEN_INVALID2"
140
+ """``str``: RPC Error ID"""
141
+ MESSAGE = __doc__
142
+
143
+
144
+ class AuthTokenInvalidx(BadRequest):
145
+ """The specified auth token is invalid"""
146
+ ID = "AUTH_TOKEN_INVALIDX"
147
+ """``str``: RPC Error ID"""
148
+ MESSAGE = __doc__
149
+
150
+
151
+ class AutoarchiveNotAvailable(BadRequest):
152
+ """This feature is not yet enabled for your account due to it not receiving too many private messages from strangers"""
153
+ ID = "AUTOARCHIVE_NOT_AVAILABLE"
154
+ """``str``: RPC Error ID"""
155
+ MESSAGE = __doc__
156
+
157
+
158
+ class BankCardNumberInvalid(BadRequest):
159
+ """The credit card number is invalid"""
160
+ ID = "BANK_CARD_NUMBER_INVALID"
161
+ """``str``: RPC Error ID"""
162
+ MESSAGE = __doc__
163
+
164
+
165
+ class BannedRightsInvalid(BadRequest):
166
+ """You provided a set of restrictions that is invalid"""
167
+ ID = "BANNED_RIGHTS_INVALID"
168
+ """``str``: RPC Error ID"""
169
+ MESSAGE = __doc__
170
+
171
+
172
+ class BasePortLocInvalid(BadRequest):
173
+ """The base port location is invalid"""
174
+ ID = "BASE_PORT_LOC_INVALID"
175
+ """``str``: RPC Error ID"""
176
+ MESSAGE = __doc__
177
+
178
+
179
+ class BotsTooMuch(BadRequest):
180
+ """The chat has too many bots"""
181
+ ID = "BOTS_TOO_MUCH"
182
+ """``str``: RPC Error ID"""
183
+ MESSAGE = __doc__
184
+
185
+
186
+ class BotChannelsNa(BadRequest):
187
+ """Bots can't edit admin privileges"""
188
+ ID = "BOT_CHANNELS_NA"
189
+ """``str``: RPC Error ID"""
190
+ MESSAGE = __doc__
191
+
192
+
193
+ class BotCommandDescriptionInvalid(BadRequest):
194
+ """The command description was empty, too long or had invalid characters"""
195
+ ID = "BOT_COMMAND_DESCRIPTION_INVALID"
196
+ """``str``: RPC Error ID"""
197
+ MESSAGE = __doc__
198
+
199
+
200
+ class BotCommandInvalid(BadRequest):
201
+ """The specified command is invalid"""
202
+ ID = "BOT_COMMAND_INVALID"
203
+ """``str``: RPC Error ID"""
204
+ MESSAGE = __doc__
205
+
206
+
207
+ class BotDomainInvalid(BadRequest):
208
+ """The domain used for the auth button does not match the one configured in @BotFather"""
209
+ ID = "BOT_DOMAIN_INVALID"
210
+ """``str``: RPC Error ID"""
211
+ MESSAGE = __doc__
212
+
213
+
214
+ class BotGamesDisabled(BadRequest):
215
+ """Bot games cannot be used in this type of chat"""
216
+ ID = "BOT_GAMES_DISABLED"
217
+ """``str``: RPC Error ID"""
218
+ MESSAGE = __doc__
219
+
220
+
221
+ class BotGroupsBlocked(BadRequest):
222
+ """This bot can't be added to groups"""
223
+ ID = "BOT_GROUPS_BLOCKED"
224
+ """``str``: RPC Error ID"""
225
+ MESSAGE = __doc__
226
+
227
+
228
+ class BotInlineDisabled(BadRequest):
229
+ """The inline feature of the bot is disabled"""
230
+ ID = "BOT_INLINE_DISABLED"
231
+ """``str``: RPC Error ID"""
232
+ MESSAGE = __doc__
233
+
234
+
235
+ class BotInvalid(BadRequest):
236
+ """This is not a valid bot"""
237
+ ID = "BOT_INVALID"
238
+ """``str``: RPC Error ID"""
239
+ MESSAGE = __doc__
240
+
241
+
242
+ class BotMethodInvalid(BadRequest):
243
+ """The method can't be used by bots"""
244
+ ID = "BOT_METHOD_INVALID"
245
+ """``str``: RPC Error ID"""
246
+ MESSAGE = __doc__
247
+
248
+
249
+ class BotMissing(BadRequest):
250
+ """This method can only be run by a bot"""
251
+ ID = "BOT_MISSING"
252
+ """``str``: RPC Error ID"""
253
+ MESSAGE = __doc__
254
+
255
+
256
+ class BotOnesideNotAvail(BadRequest):
257
+ """Bots can't pin messages for one side only in private chats"""
258
+ ID = "BOT_ONESIDE_NOT_AVAIL"
259
+ """``str``: RPC Error ID"""
260
+ MESSAGE = __doc__
261
+
262
+
263
+ class BotPaymentsDisabled(BadRequest):
264
+ """This method can only be run by a bot"""
265
+ ID = "BOT_PAYMENTS_DISABLED"
266
+ """``str``: RPC Error ID"""
267
+ MESSAGE = __doc__
268
+
269
+
270
+ class BotPollsDisabled(BadRequest):
271
+ """Sending polls by bots has been disabled"""
272
+ ID = "BOT_POLLS_DISABLED"
273
+ """``str``: RPC Error ID"""
274
+ MESSAGE = __doc__
275
+
276
+
277
+ class BotResponseTimeout(BadRequest):
278
+ """The bot did not answer to the callback query in time"""
279
+ ID = "BOT_RESPONSE_TIMEOUT"
280
+ """``str``: RPC Error ID"""
281
+ MESSAGE = __doc__
282
+
283
+
284
+ class BotScoreNotModified(BadRequest):
285
+ """The bot score was not modified"""
286
+ ID = "BOT_SCORE_NOT_MODIFIED"
287
+ """``str``: RPC Error ID"""
288
+ MESSAGE = __doc__
289
+
290
+
291
+ class BroadcastCallsDisabled(BadRequest):
292
+ """Broadcast calls disabled"""
293
+ ID = "BROADCAST_CALLS_DISABLED"
294
+ """``str``: RPC Error ID"""
295
+ MESSAGE = __doc__
296
+
297
+
298
+ class BroadcastIdInvalid(BadRequest):
299
+ """The channel is invalid"""
300
+ ID = "BROADCAST_ID_INVALID"
301
+ """``str``: RPC Error ID"""
302
+ MESSAGE = __doc__
303
+
304
+
305
+ class BroadcastPublicVotersForbidden(BadRequest):
306
+ """Polls with public voters cannot be sent in channels"""
307
+ ID = "BROADCAST_PUBLIC_VOTERS_FORBIDDEN"
308
+ """``str``: RPC Error ID"""
309
+ MESSAGE = __doc__
310
+
311
+
312
+ class BroadcastRequired(BadRequest):
313
+ """The request can only be used with a channel"""
314
+ ID = "BROADCAST_REQUIRED"
315
+ """``str``: RPC Error ID"""
316
+ MESSAGE = __doc__
317
+
318
+
319
+ class ButtonDataInvalid(BadRequest):
320
+ """The button callback data is invalid or too large"""
321
+ ID = "BUTTON_DATA_INVALID"
322
+ """``str``: RPC Error ID"""
323
+ MESSAGE = __doc__
324
+
325
+
326
+ class ButtonTextInvalid(BadRequest):
327
+ """The specified button text is invalid"""
328
+ ID = "BUTTON_TEXT_INVALID"
329
+ """``str``: RPC Error ID"""
330
+ MESSAGE = __doc__
331
+
332
+
333
+ class ButtonTypeInvalid(BadRequest):
334
+ """The type of one of the buttons you provided is invalid"""
335
+ ID = "BUTTON_TYPE_INVALID"
336
+ """``str``: RPC Error ID"""
337
+ MESSAGE = __doc__
338
+
339
+
340
+ class ButtonUrlInvalid(BadRequest):
341
+ """The button url is invalid"""
342
+ ID = "BUTTON_URL_INVALID"
343
+ """``str``: RPC Error ID"""
344
+ MESSAGE = __doc__
345
+
346
+
347
+ class ButtonUserPrivacyRestricted(BadRequest):
348
+ """The privacy settings of the user specified in a keyboard button do not allow creating such button"""
349
+ ID = "BUTTON_USER_PRIVACY_RESTRICTED"
350
+ """``str``: RPC Error ID"""
351
+ MESSAGE = __doc__
352
+
353
+
354
+ class CallAlreadyAccepted(BadRequest):
355
+ """The call is already accepted"""
356
+ ID = "CALL_ALREADY_ACCEPTED"
357
+ """``str``: RPC Error ID"""
358
+ MESSAGE = __doc__
359
+
360
+
361
+ class CallAlreadyDeclined(BadRequest):
362
+ """The call is already declined"""
363
+ ID = "CALL_ALREADY_DECLINED"
364
+ """``str``: RPC Error ID"""
365
+ MESSAGE = __doc__
366
+
367
+
368
+ class CallPeerInvalid(BadRequest):
369
+ """The provided call peer object is invalid"""
370
+ ID = "CALL_PEER_INVALID"
371
+ """``str``: RPC Error ID"""
372
+ MESSAGE = __doc__
373
+
374
+
375
+ class CallProtocolFlagsInvalid(BadRequest):
376
+ """Call protocol flags invalid"""
377
+ ID = "CALL_PROTOCOL_FLAGS_INVALID"
378
+ """``str``: RPC Error ID"""
379
+ MESSAGE = __doc__
380
+
381
+
382
+ class CdnMethodInvalid(BadRequest):
383
+ """The method can't be used on CDN DCs"""
384
+ ID = "CDN_METHOD_INVALID"
385
+ """``str``: RPC Error ID"""
386
+ MESSAGE = __doc__
387
+
388
+
389
+ class ChannelsAdminLocatedTooMuch(BadRequest):
390
+ """The user has reached the limit of public geogroups"""
391
+ ID = "CHANNELS_ADMIN_LOCATED_TOO_MUCH"
392
+ """``str``: RPC Error ID"""
393
+ MESSAGE = __doc__
394
+
395
+
396
+ class ChannelsAdminPublicTooMuch(BadRequest):
397
+ """You are an administrator of too many public channels"""
398
+ ID = "CHANNELS_ADMIN_PUBLIC_TOO_MUCH"
399
+ """``str``: RPC Error ID"""
400
+ MESSAGE = __doc__
401
+
402
+
403
+ class ChannelsTooMuch(BadRequest):
404
+ """You have joined too many channels or supergroups, leave some and try again"""
405
+ ID = "CHANNELS_TOO_MUCH"
406
+ """``str``: RPC Error ID"""
407
+ MESSAGE = __doc__
408
+
409
+
410
+ class ChannelAddInvalid(BadRequest):
411
+ """Internal error."""
412
+ ID = "CHANNEL_ADD_INVALID"
413
+ """``str``: RPC Error ID"""
414
+ MESSAGE = __doc__
415
+
416
+
417
+ class ChannelBanned(BadRequest):
418
+ """The channel is banned"""
419
+ ID = "CHANNEL_BANNED"
420
+ """``str``: RPC Error ID"""
421
+ MESSAGE = __doc__
422
+
423
+
424
+ class ChannelInvalid(BadRequest):
425
+ """The channel parameter is invalid"""
426
+ ID = "CHANNEL_INVALID"
427
+ """``str``: RPC Error ID"""
428
+ MESSAGE = __doc__
429
+
430
+
431
+ class ChannelParicipantMissing(BadRequest):
432
+ """The current user is not in the channel"""
433
+ ID = "CHANNEL_PARICIPANT_MISSING"
434
+ """``str``: RPC Error ID"""
435
+ MESSAGE = __doc__
436
+
437
+
438
+ class ChannelPrivate(BadRequest):
439
+ """The channel/supergroup is not accessible"""
440
+ ID = "CHANNEL_PRIVATE"
441
+ """``str``: RPC Error ID"""
442
+ MESSAGE = __doc__
443
+
444
+
445
+ class ChannelTooBig(BadRequest):
446
+ """The channel too big"""
447
+ ID = "CHANNEL_TOO_BIG"
448
+ """``str``: RPC Error ID"""
449
+ MESSAGE = __doc__
450
+
451
+
452
+ class ChannelTooLarge(BadRequest):
453
+ """The channel is too large"""
454
+ ID = "CHANNEL_TOO_LARGE"
455
+ """``str``: RPC Error ID"""
456
+ MESSAGE = __doc__
457
+
458
+
459
+ class ChargeAlreadyRefunded(BadRequest):
460
+ """The charge id was already used for a refund."""
461
+ ID = "CHARGE_ALREADY_REFUNDED"
462
+ """``str``: RPC Error ID"""
463
+ MESSAGE = __doc__
464
+
465
+
466
+ class ChargeNotFound(BadRequest):
467
+ """The charge id was not found."""
468
+ ID = "CHARGE_NOT_FOUND"
469
+ """``str``: RPC Error ID"""
470
+ MESSAGE = __doc__
471
+
472
+
473
+ class ChatAboutNotModified(BadRequest):
474
+ """The chat about text was not modified because you tried to edit it using the same content"""
475
+ ID = "CHAT_ABOUT_NOT_MODIFIED"
476
+ """``str``: RPC Error ID"""
477
+ MESSAGE = __doc__
478
+
479
+
480
+ class ChatAboutTooLong(BadRequest):
481
+ """The chat about text is too long"""
482
+ ID = "CHAT_ABOUT_TOO_LONG"
483
+ """``str``: RPC Error ID"""
484
+ MESSAGE = __doc__
485
+
486
+
487
+ class ChatAdminRequired(BadRequest):
488
+ """The method requires chat admin privileges"""
489
+ ID = "CHAT_ADMIN_REQUIRED"
490
+ """``str``: RPC Error ID"""
491
+ MESSAGE = __doc__
492
+
493
+
494
+ class ChatDiscussionUnallowed(BadRequest):
495
+ """The chat discussion is not allowed"""
496
+ ID = "CHAT_DISCUSSION_UNALLOWED"
497
+ """``str``: RPC Error ID"""
498
+ MESSAGE = __doc__
499
+
500
+
501
+ class ChatForwardsRestricted(BadRequest):
502
+ """The chat restricts forwarding content"""
503
+ ID = "CHAT_FORWARDS_RESTRICTED"
504
+ """``str``: RPC Error ID"""
505
+ MESSAGE = __doc__
506
+
507
+
508
+ class ChatIdEmpty(BadRequest):
509
+ """The provided chat id is empty"""
510
+ ID = "CHAT_ID_EMPTY"
511
+ """``str``: RPC Error ID"""
512
+ MESSAGE = __doc__
513
+
514
+
515
+ class ChatIdInvalid(BadRequest):
516
+ """The chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it"""
517
+ ID = "CHAT_ID_INVALID"
518
+ """``str``: RPC Error ID"""
519
+ MESSAGE = __doc__
520
+
521
+
522
+ class ChatInvalid(BadRequest):
523
+ """The chat is invalid"""
524
+ ID = "CHAT_INVALID"
525
+ """``str``: RPC Error ID"""
526
+ MESSAGE = __doc__
527
+
528
+
529
+ class ChatInvitePermanent(BadRequest):
530
+ """The chat invite link is primary"""
531
+ ID = "CHAT_INVITE_PERMANENT"
532
+ """``str``: RPC Error ID"""
533
+ MESSAGE = __doc__
534
+
535
+
536
+ class ChatLinkExists(BadRequest):
537
+ """The action failed because the supergroup is linked to a channel"""
538
+ ID = "CHAT_LINK_EXISTS"
539
+ """``str``: RPC Error ID"""
540
+ MESSAGE = __doc__
541
+
542
+
543
+ class ChatNotModified(BadRequest):
544
+ """The chat settings (title, permissions, photo, etc..) were not modified because you tried to edit them using the same content"""
545
+ ID = "CHAT_NOT_MODIFIED"
546
+ """``str``: RPC Error ID"""
547
+ MESSAGE = __doc__
548
+
549
+
550
+ class ChatRestricted(BadRequest):
551
+ """The chat is restricted and cannot be used"""
552
+ ID = "CHAT_RESTRICTED"
553
+ """``str``: RPC Error ID"""
554
+ MESSAGE = __doc__
555
+
556
+
557
+ class ChatRevokeDateUnsupported(BadRequest):
558
+ """`min_date` and `max_date` are not available for using with non-user peers"""
559
+ ID = "CHAT_REVOKE_DATE_UNSUPPORTED"
560
+ """``str``: RPC Error ID"""
561
+ MESSAGE = __doc__
562
+
563
+
564
+ class ChatSendInlineForbidden(BadRequest):
565
+ """You cannot use inline bots to send messages in this chat"""
566
+ ID = "CHAT_SEND_INLINE_FORBIDDEN"
567
+ """``str``: RPC Error ID"""
568
+ MESSAGE = __doc__
569
+
570
+
571
+ class ChatTitleEmpty(BadRequest):
572
+ """The chat title is empty"""
573
+ ID = "CHAT_TITLE_EMPTY"
574
+ """``str``: RPC Error ID"""
575
+ MESSAGE = __doc__
576
+
577
+
578
+ class ChatTooBig(BadRequest):
579
+ """The chat is too big for this action"""
580
+ ID = "CHAT_TOO_BIG"
581
+ """``str``: RPC Error ID"""
582
+ MESSAGE = __doc__
583
+
584
+
585
+ class CodeEmpty(BadRequest):
586
+ """The provided code is empty"""
587
+ ID = "CODE_EMPTY"
588
+ """``str``: RPC Error ID"""
589
+ MESSAGE = __doc__
590
+
591
+
592
+ class CodeHashInvalid(BadRequest):
593
+ """The provided code hash invalid"""
594
+ ID = "CODE_HASH_INVALID"
595
+ """``str``: RPC Error ID"""
596
+ MESSAGE = __doc__
597
+
598
+
599
+ class CodeInvalid(BadRequest):
600
+ """The provided code is invalid (i.e. from email)"""
601
+ ID = "CODE_INVALID"
602
+ """``str``: RPC Error ID"""
603
+ MESSAGE = __doc__
604
+
605
+
606
+ class ColorInvalid(BadRequest):
607
+ """The provided color is invalid"""
608
+ ID = "COLOR_INVALID"
609
+ """``str``: RPC Error ID"""
610
+ MESSAGE = __doc__
611
+
612
+
613
+ class ConnectionApiIdInvalid(BadRequest):
614
+ """The provided API id is invalid"""
615
+ ID = "CONNECTION_API_ID_INVALID"
616
+ """``str``: RPC Error ID"""
617
+ MESSAGE = __doc__
618
+
619
+
620
+ class ConnectionAppVersionEmpty(BadRequest):
621
+ """App version is empty"""
622
+ ID = "CONNECTION_APP_VERSION_EMPTY"
623
+ """``str``: RPC Error ID"""
624
+ MESSAGE = __doc__
625
+
626
+
627
+ class ConnectionDeviceModelEmpty(BadRequest):
628
+ """The device model is empty"""
629
+ ID = "CONNECTION_DEVICE_MODEL_EMPTY"
630
+ """``str``: RPC Error ID"""
631
+ MESSAGE = __doc__
632
+
633
+
634
+ class ConnectionLangPackInvalid(BadRequest):
635
+ """The specified language pack is not valid"""
636
+ ID = "CONNECTION_LANG_PACK_INVALID"
637
+ """``str``: RPC Error ID"""
638
+ MESSAGE = __doc__
639
+
640
+
641
+ class ConnectionLayerInvalid(BadRequest):
642
+ """The connection layer is invalid. Missing InvokeWithLayer-InitConnection call"""
643
+ ID = "CONNECTION_LAYER_INVALID"
644
+ """``str``: RPC Error ID"""
645
+ MESSAGE = __doc__
646
+
647
+
648
+ class ConnectionNotInited(BadRequest):
649
+ """The connection was not initialized"""
650
+ ID = "CONNECTION_NOT_INITED"
651
+ """``str``: RPC Error ID"""
652
+ MESSAGE = __doc__
653
+
654
+
655
+ class ConnectionSystemEmpty(BadRequest):
656
+ """The connection to the system is empty"""
657
+ ID = "CONNECTION_SYSTEM_EMPTY"
658
+ """``str``: RPC Error ID"""
659
+ MESSAGE = __doc__
660
+
661
+
662
+ class ConnectionSystemLangCodeEmpty(BadRequest):
663
+ """The system language code is empty"""
664
+ ID = "CONNECTION_SYSTEM_LANG_CODE_EMPTY"
665
+ """``str``: RPC Error ID"""
666
+ MESSAGE = __doc__
667
+
668
+
669
+ class ContactAddMissing(BadRequest):
670
+ """Contact to add is missing"""
671
+ ID = "CONTACT_ADD_MISSING"
672
+ """``str``: RPC Error ID"""
673
+ MESSAGE = __doc__
674
+
675
+
676
+ class ContactIdInvalid(BadRequest):
677
+ """The provided contact id is invalid"""
678
+ ID = "CONTACT_ID_INVALID"
679
+ """``str``: RPC Error ID"""
680
+ MESSAGE = __doc__
681
+
682
+
683
+ class ContactNameEmpty(BadRequest):
684
+ """The provided contact name is empty"""
685
+ ID = "CONTACT_NAME_EMPTY"
686
+ """``str``: RPC Error ID"""
687
+ MESSAGE = __doc__
688
+
689
+
690
+ class ContactReqMissing(BadRequest):
691
+ """Missing contact request"""
692
+ ID = "CONTACT_REQ_MISSING"
693
+ """``str``: RPC Error ID"""
694
+ MESSAGE = __doc__
695
+
696
+
697
+ class CreateCallFailed(BadRequest):
698
+ """An error occurred while creating the call"""
699
+ ID = "CREATE_CALL_FAILED"
700
+ """``str``: RPC Error ID"""
701
+ MESSAGE = __doc__
702
+
703
+
704
+ class CurrencyTotalAmountInvalid(BadRequest):
705
+ """The total amount of all prices is invalid"""
706
+ ID = "CURRENCY_TOTAL_AMOUNT_INVALID"
707
+ """``str``: RPC Error ID"""
708
+ MESSAGE = __doc__
709
+
710
+
711
+ class DataInvalid(BadRequest):
712
+ """The encrypted data is invalid"""
713
+ ID = "DATA_INVALID"
714
+ """``str``: RPC Error ID"""
715
+ MESSAGE = __doc__
716
+
717
+
718
+ class DataJsonInvalid(BadRequest):
719
+ """The provided JSON data is invalid"""
720
+ ID = "DATA_JSON_INVALID"
721
+ """``str``: RPC Error ID"""
722
+ MESSAGE = __doc__
723
+
724
+
725
+ class DataTooLong(BadRequest):
726
+ """Data too long"""
727
+ ID = "DATA_TOO_LONG"
728
+ """``str``: RPC Error ID"""
729
+ MESSAGE = __doc__
730
+
731
+
732
+ class DateEmpty(BadRequest):
733
+ """The date argument is empty"""
734
+ ID = "DATE_EMPTY"
735
+ """``str``: RPC Error ID"""
736
+ MESSAGE = __doc__
737
+
738
+
739
+ class DcIdInvalid(BadRequest):
740
+ """The dc_id parameter is invalid"""
741
+ ID = "DC_ID_INVALID"
742
+ """``str``: RPC Error ID"""
743
+ MESSAGE = __doc__
744
+
745
+
746
+ class DhGAInvalid(BadRequest):
747
+ """The g_a parameter invalid"""
748
+ ID = "DH_G_A_INVALID"
749
+ """``str``: RPC Error ID"""
750
+ MESSAGE = __doc__
751
+
752
+
753
+ class DocumentInvalid(BadRequest):
754
+ """The document is invalid"""
755
+ ID = "DOCUMENT_INVALID"
756
+ """``str``: RPC Error ID"""
757
+ MESSAGE = __doc__
758
+
759
+
760
+ class EmailHashExpired(BadRequest):
761
+ """The email hash expired and cannot be used to verify it"""
762
+ ID = "EMAIL_HASH_EXPIRED"
763
+ """``str``: RPC Error ID"""
764
+ MESSAGE = __doc__
765
+
766
+
767
+ class EmailInvalid(BadRequest):
768
+ """The email provided is invalid"""
769
+ ID = "EMAIL_INVALID"
770
+ """``str``: RPC Error ID"""
771
+ MESSAGE = __doc__
772
+
773
+
774
+ class EmailNotAllowed(BadRequest):
775
+ """This email is not allowed"""
776
+ ID = "EMAIL_NOT_ALLOWED"
777
+ """``str``: RPC Error ID"""
778
+ MESSAGE = __doc__
779
+
780
+
781
+ class EmailUnconfirmed(BadRequest):
782
+ """Email unconfirmed"""
783
+ ID = "EMAIL_UNCONFIRMED"
784
+ """``str``: RPC Error ID"""
785
+ MESSAGE = __doc__
786
+
787
+
788
+ class EmailUnconfirmed(BadRequest):
789
+ """The provided email isn't confirmed, {value} is the length of the verification code that was just sent to the email"""
790
+ ID = "EMAIL_UNCONFIRMED_X"
791
+ """``str``: RPC Error ID"""
792
+ MESSAGE = __doc__
793
+
794
+
795
+ class EmailVerifyExpired(BadRequest):
796
+ """The verification email has expired"""
797
+ ID = "EMAIL_VERIFY_EXPIRED"
798
+ """``str``: RPC Error ID"""
799
+ MESSAGE = __doc__
800
+
801
+
802
+ class EmojiInvalid(BadRequest):
803
+ """The specified theme emoji is valid"""
804
+ ID = "EMOJI_INVALID"
805
+ """``str``: RPC Error ID"""
806
+ MESSAGE = __doc__
807
+
808
+
809
+ class EmojiNotModified(BadRequest):
810
+ """The theme wasn't changed"""
811
+ ID = "EMOJI_NOT_MODIFIED"
812
+ """``str``: RPC Error ID"""
813
+ MESSAGE = __doc__
814
+
815
+
816
+ class EmoticonEmpty(BadRequest):
817
+ """The emoticon parameter is empty"""
818
+ ID = "EMOTICON_EMPTY"
819
+ """``str``: RPC Error ID"""
820
+ MESSAGE = __doc__
821
+
822
+
823
+ class EmoticonInvalid(BadRequest):
824
+ """The emoticon parameter is invalid"""
825
+ ID = "EMOTICON_INVALID"
826
+ """``str``: RPC Error ID"""
827
+ MESSAGE = __doc__
828
+
829
+
830
+ class EmoticonStickerpackMissing(BadRequest):
831
+ """The emoticon sticker pack you are trying to obtain is missing"""
832
+ ID = "EMOTICON_STICKERPACK_MISSING"
833
+ """``str``: RPC Error ID"""
834
+ MESSAGE = __doc__
835
+
836
+
837
+ class EncryptedMessageInvalid(BadRequest):
838
+ """The special binding message (bind_auth_key_inner) contains invalid data"""
839
+ ID = "ENCRYPTED_MESSAGE_INVALID"
840
+ """``str``: RPC Error ID"""
841
+ MESSAGE = __doc__
842
+
843
+
844
+ class EncryptionAlreadyAccepted(BadRequest):
845
+ """The secret chat is already accepted"""
846
+ ID = "ENCRYPTION_ALREADY_ACCEPTED"
847
+ """``str``: RPC Error ID"""
848
+ MESSAGE = __doc__
849
+
850
+
851
+ class EncryptionAlreadyDeclined(BadRequest):
852
+ """The secret chat is already declined"""
853
+ ID = "ENCRYPTION_ALREADY_DECLINED"
854
+ """``str``: RPC Error ID"""
855
+ MESSAGE = __doc__
856
+
857
+
858
+ class EncryptionDeclined(BadRequest):
859
+ """The secret chat was declined"""
860
+ ID = "ENCRYPTION_DECLINED"
861
+ """``str``: RPC Error ID"""
862
+ MESSAGE = __doc__
863
+
864
+
865
+ class EncryptionIdInvalid(BadRequest):
866
+ """The provided secret chat id is invalid"""
867
+ ID = "ENCRYPTION_ID_INVALID"
868
+ """``str``: RPC Error ID"""
869
+ MESSAGE = __doc__
870
+
871
+
872
+ class EntitiesTooLong(BadRequest):
873
+ """The entity provided contains data that is too long, or you passed too many entities to this message"""
874
+ ID = "ENTITIES_TOO_LONG"
875
+ """``str``: RPC Error ID"""
876
+ MESSAGE = __doc__
877
+
878
+
879
+ class EntityBoundsInvalid(BadRequest):
880
+ """The message entity bounds are invalid"""
881
+ ID = "ENTITY_BOUNDS_INVALID"
882
+ """``str``: RPC Error ID"""
883
+ MESSAGE = __doc__
884
+
885
+
886
+ class EntityMentionUserInvalid(BadRequest):
887
+ """The mentioned entity is not an user"""
888
+ ID = "ENTITY_MENTION_USER_INVALID"
889
+ """``str``: RPC Error ID"""
890
+ MESSAGE = __doc__
891
+
892
+
893
+ class ErrorTextEmpty(BadRequest):
894
+ """The provided error message is empty"""
895
+ ID = "ERROR_TEXT_EMPTY"
896
+ """``str``: RPC Error ID"""
897
+ MESSAGE = __doc__
898
+
899
+
900
+ class ExpireDateInvalid(BadRequest):
901
+ """The expiration date is invalid"""
902
+ ID = "EXPIRE_DATE_INVALID"
903
+ """``str``: RPC Error ID"""
904
+ MESSAGE = __doc__
905
+
906
+
907
+ class ExpireForbidden(BadRequest):
908
+ """Expire forbidden"""
909
+ ID = "EXPIRE_FORBIDDEN"
910
+ """``str``: RPC Error ID"""
911
+ MESSAGE = __doc__
912
+
913
+
914
+ class ExportCardInvalid(BadRequest):
915
+ """The provided card is invalid"""
916
+ ID = "EXPORT_CARD_INVALID"
917
+ """``str``: RPC Error ID"""
918
+ MESSAGE = __doc__
919
+
920
+
921
+ class ExternalUrlInvalid(BadRequest):
922
+ """The external media URL is invalid"""
923
+ ID = "EXTERNAL_URL_INVALID"
924
+ """``str``: RPC Error ID"""
925
+ MESSAGE = __doc__
926
+
927
+
928
+ class FieldNameEmpty(BadRequest):
929
+ """The field with the name FIELD_NAME is missing"""
930
+ ID = "FIELD_NAME_EMPTY"
931
+ """``str``: RPC Error ID"""
932
+ MESSAGE = __doc__
933
+
934
+
935
+ class FieldNameInvalid(BadRequest):
936
+ """The field with the name FIELD_NAME is invalid"""
937
+ ID = "FIELD_NAME_INVALID"
938
+ """``str``: RPC Error ID"""
939
+ MESSAGE = __doc__
940
+
941
+
942
+ class FileContentTypeInvalid(BadRequest):
943
+ """File content-type is invalid"""
944
+ ID = "FILE_CONTENT_TYPE_INVALID"
945
+ """``str``: RPC Error ID"""
946
+ MESSAGE = __doc__
947
+
948
+
949
+ class FileEmtpy(BadRequest):
950
+ """An empty file was provided"""
951
+ ID = "FILE_EMTPY"
952
+ """``str``: RPC Error ID"""
953
+ MESSAGE = __doc__
954
+
955
+
956
+ class FileIdInvalid(BadRequest):
957
+ """The file id is invalid"""
958
+ ID = "FILE_ID_INVALID"
959
+ """``str``: RPC Error ID"""
960
+ MESSAGE = __doc__
961
+
962
+
963
+ class FileMigrate(BadRequest):
964
+ """The file is in Data Center No. {value}"""
965
+ ID = "FILE_MIGRATE_X"
966
+ """``str``: RPC Error ID"""
967
+ MESSAGE = __doc__
968
+
969
+
970
+ class FilePartsInvalid(BadRequest):
971
+ """Invalid number of parts."""
972
+ ID = "FILE_PARTS_INVALID"
973
+ """``str``: RPC Error ID"""
974
+ MESSAGE = __doc__
975
+
976
+
977
+ class FilePart0Missing(BadRequest):
978
+ """File part 0 missing"""
979
+ ID = "FILE_PART_0_MISSING"
980
+ """``str``: RPC Error ID"""
981
+ MESSAGE = __doc__
982
+
983
+
984
+ class FilePartEmpty(BadRequest):
985
+ """The file part sent is empty"""
986
+ ID = "FILE_PART_EMPTY"
987
+ """``str``: RPC Error ID"""
988
+ MESSAGE = __doc__
989
+
990
+
991
+ class FilePartInvalid(BadRequest):
992
+ """The file part number is invalid."""
993
+ ID = "FILE_PART_INVALID"
994
+ """``str``: RPC Error ID"""
995
+ MESSAGE = __doc__
996
+
997
+
998
+ class FilePartLengthInvalid(BadRequest):
999
+ """The length of a file part is invalid"""
1000
+ ID = "FILE_PART_LENGTH_INVALID"
1001
+ """``str``: RPC Error ID"""
1002
+ MESSAGE = __doc__
1003
+
1004
+
1005
+ class FilePartSizeChanged(BadRequest):
1006
+ """The part size is different from the size of one of the previous parts in the same file"""
1007
+ ID = "FILE_PART_SIZE_CHANGED"
1008
+ """``str``: RPC Error ID"""
1009
+ MESSAGE = __doc__
1010
+
1011
+
1012
+ class FilePartSizeInvalid(BadRequest):
1013
+ """The file part size is invalid"""
1014
+ ID = "FILE_PART_SIZE_INVALID"
1015
+ """``str``: RPC Error ID"""
1016
+ MESSAGE = __doc__
1017
+
1018
+
1019
+ class FilePartTooBig(BadRequest):
1020
+ """The size limit for the content of the file part has been exceeded"""
1021
+ ID = "FILE_PART_TOO_BIG"
1022
+ """``str``: RPC Error ID"""
1023
+ MESSAGE = __doc__
1024
+
1025
+
1026
+ class FilePartMissing(BadRequest):
1027
+ """Part {value} of the file is missing from storage"""
1028
+ ID = "FILE_PART_X_MISSING"
1029
+ """``str``: RPC Error ID"""
1030
+ MESSAGE = __doc__
1031
+
1032
+
1033
+ class FileReferenceEmpty(BadRequest):
1034
+ """The file id contains an empty file reference, you must obtain a valid one by fetching the message from the origin context"""
1035
+ ID = "FILE_REFERENCE_EMPTY"
1036
+ """``str``: RPC Error ID"""
1037
+ MESSAGE = __doc__
1038
+
1039
+
1040
+ class FileReferenceExpired(BadRequest):
1041
+ """The file id contains an expired file reference, you must obtain a valid one by fetching the message from the origin context"""
1042
+ ID = "FILE_REFERENCE_EXPIRED"
1043
+ """``str``: RPC Error ID"""
1044
+ MESSAGE = __doc__
1045
+
1046
+
1047
+ class FileReferenceInvalid(BadRequest):
1048
+ """The file id contains an invalid file reference, you must obtain a valid one by fetching the message from the origin context"""
1049
+ ID = "FILE_REFERENCE_INVALID"
1050
+ """``str``: RPC Error ID"""
1051
+ MESSAGE = __doc__
1052
+
1053
+
1054
+ class FileTitleEmpty(BadRequest):
1055
+ """An empty file title was specified"""
1056
+ ID = "FILE_TITLE_EMPTY"
1057
+ """``str``: RPC Error ID"""
1058
+ MESSAGE = __doc__
1059
+
1060
+
1061
+ class FilterIdInvalid(BadRequest):
1062
+ """The specified filter ID is invalid"""
1063
+ ID = "FILTER_ID_INVALID"
1064
+ """``str``: RPC Error ID"""
1065
+ MESSAGE = __doc__
1066
+
1067
+
1068
+ class FilterIncludeEmpty(BadRequest):
1069
+ """The filter include is empty"""
1070
+ ID = "FILTER_INCLUDE_EMPTY"
1071
+ """``str``: RPC Error ID"""
1072
+ MESSAGE = __doc__
1073
+
1074
+
1075
+ class FilterNotSupported(BadRequest):
1076
+ """The specified filter cannot be used in this context"""
1077
+ ID = "FILTER_NOT_SUPPORTED"
1078
+ """``str``: RPC Error ID"""
1079
+ MESSAGE = __doc__
1080
+
1081
+
1082
+ class FilterTitleEmpty(BadRequest):
1083
+ """The title field of the filter is empty"""
1084
+ ID = "FILTER_TITLE_EMPTY"
1085
+ """``str``: RPC Error ID"""
1086
+ MESSAGE = __doc__
1087
+
1088
+
1089
+ class FirstnameInvalid(BadRequest):
1090
+ """The first name is invalid"""
1091
+ ID = "FIRSTNAME_INVALID"
1092
+ """``str``: RPC Error ID"""
1093
+ MESSAGE = __doc__
1094
+
1095
+
1096
+ class FolderIdEmpty(BadRequest):
1097
+ """The folder you tried to delete was already empty"""
1098
+ ID = "FOLDER_ID_EMPTY"
1099
+ """``str``: RPC Error ID"""
1100
+ MESSAGE = __doc__
1101
+
1102
+
1103
+ class FolderIdInvalid(BadRequest):
1104
+ """The folder id is invalid"""
1105
+ ID = "FOLDER_ID_INVALID"
1106
+ """``str``: RPC Error ID"""
1107
+ MESSAGE = __doc__
1108
+
1109
+
1110
+ class FormIdExpired(BadRequest):
1111
+ """The specified id has expired."""
1112
+ ID = "FORM_ID_EXPIRED"
1113
+ """``str``: RPC Error ID"""
1114
+ MESSAGE = __doc__
1115
+
1116
+
1117
+ class FreshChangeAdminsForbidden(BadRequest):
1118
+ """You can't change administrator settings in this chat because your session was logged-in recently"""
1119
+ ID = "FRESH_CHANGE_ADMINS_FORBIDDEN"
1120
+ """``str``: RPC Error ID"""
1121
+ MESSAGE = __doc__
1122
+
1123
+
1124
+ class FromMessageBotDisabled(BadRequest):
1125
+ """Bots can't use fromMessage min constructors"""
1126
+ ID = "FROM_MESSAGE_BOT_DISABLED"
1127
+ """``str``: RPC Error ID"""
1128
+ MESSAGE = __doc__
1129
+
1130
+
1131
+ class FromPeerInvalid(BadRequest):
1132
+ """The from peer value is invalid"""
1133
+ ID = "FROM_PEER_INVALID"
1134
+ """``str``: RPC Error ID"""
1135
+ MESSAGE = __doc__
1136
+
1137
+
1138
+ class GameBotInvalid(BadRequest):
1139
+ """You cannot send that game with the current bot"""
1140
+ ID = "GAME_BOT_INVALID"
1141
+ """``str``: RPC Error ID"""
1142
+ MESSAGE = __doc__
1143
+
1144
+
1145
+ class GeoPointInvalid(BadRequest):
1146
+ """Invalid geo point provided"""
1147
+ ID = "GEO_POINT_INVALID"
1148
+ """``str``: RPC Error ID"""
1149
+ MESSAGE = __doc__
1150
+
1151
+
1152
+ class GifContentTypeInvalid(BadRequest):
1153
+ """GIF content-type invalid"""
1154
+ ID = "GIF_CONTENT_TYPE_INVALID"
1155
+ """``str``: RPC Error ID"""
1156
+ MESSAGE = __doc__
1157
+
1158
+
1159
+ class GifIdInvalid(BadRequest):
1160
+ """The provided gif/animation id is invalid"""
1161
+ ID = "GIF_ID_INVALID"
1162
+ """``str``: RPC Error ID"""
1163
+ MESSAGE = __doc__
1164
+
1165
+
1166
+ class GiftSlugExpired(BadRequest):
1167
+ """The gift slug is expired"""
1168
+ ID = "GIFT_SLUG_EXPIRED"
1169
+ """``str``: RPC Error ID"""
1170
+ MESSAGE = __doc__
1171
+
1172
+
1173
+ class GraphExpiredReload(BadRequest):
1174
+ """This graph has expired, please obtain a new graph token"""
1175
+ ID = "GRAPH_EXPIRED_RELOAD"
1176
+ """``str``: RPC Error ID"""
1177
+ MESSAGE = __doc__
1178
+
1179
+
1180
+ class GraphInvalidReload(BadRequest):
1181
+ """Invalid graph token provided, please reload the stats and provide the updated token"""
1182
+ ID = "GRAPH_INVALID_RELOAD"
1183
+ """``str``: RPC Error ID"""
1184
+ MESSAGE = __doc__
1185
+
1186
+
1187
+ class GraphOutdatedReload(BadRequest):
1188
+ """The graph data is outdated"""
1189
+ ID = "GRAPH_OUTDATED_RELOAD"
1190
+ """``str``: RPC Error ID"""
1191
+ MESSAGE = __doc__
1192
+
1193
+
1194
+ class GroupcallAlreadyDiscarded(BadRequest):
1195
+ """The group call was already discarded"""
1196
+ ID = "GROUPCALL_ALREADY_DISCARDED"
1197
+ """``str``: RPC Error ID"""
1198
+ MESSAGE = __doc__
1199
+
1200
+
1201
+ class GroupcallInvalid(BadRequest):
1202
+ """The specified group call is invalid"""
1203
+ ID = "GROUPCALL_INVALID"
1204
+ """``str``: RPC Error ID"""
1205
+ MESSAGE = __doc__
1206
+
1207
+
1208
+ class GroupcallJoinMissing(BadRequest):
1209
+ """You haven't joined this group call"""
1210
+ ID = "GROUPCALL_JOIN_MISSING"
1211
+ """``str``: RPC Error ID"""
1212
+ MESSAGE = __doc__
1213
+
1214
+
1215
+ class GroupcallNotModified(BadRequest):
1216
+ """Group call settings weren't modified"""
1217
+ ID = "GROUPCALL_NOT_MODIFIED"
1218
+ """``str``: RPC Error ID"""
1219
+ MESSAGE = __doc__
1220
+
1221
+
1222
+ class GroupcallSsrcDuplicateMuch(BadRequest):
1223
+ """Too many group call synchronization source duplicates"""
1224
+ ID = "GROUPCALL_SSRC_DUPLICATE_MUCH"
1225
+ """``str``: RPC Error ID"""
1226
+ MESSAGE = __doc__
1227
+
1228
+
1229
+ class GroupedMediaInvalid(BadRequest):
1230
+ """The album contains invalid media"""
1231
+ ID = "GROUPED_MEDIA_INVALID"
1232
+ """``str``: RPC Error ID"""
1233
+ MESSAGE = __doc__
1234
+
1235
+
1236
+ class GroupCallInvalid(BadRequest):
1237
+ """The group call is invalid"""
1238
+ ID = "GROUP_CALL_INVALID"
1239
+ """``str``: RPC Error ID"""
1240
+ MESSAGE = __doc__
1241
+
1242
+
1243
+ class HashInvalid(BadRequest):
1244
+ """The provided hash is invalid"""
1245
+ ID = "HASH_INVALID"
1246
+ """``str``: RPC Error ID"""
1247
+ MESSAGE = __doc__
1248
+
1249
+
1250
+ class HideRequesterMissing(BadRequest):
1251
+ """The join request was missing or was already handled"""
1252
+ ID = "HIDE_REQUESTER_MISSING"
1253
+ """``str``: RPC Error ID"""
1254
+ MESSAGE = __doc__
1255
+
1256
+
1257
+ class ImageProcessFailed(BadRequest):
1258
+ """The server failed to process your image"""
1259
+ ID = "IMAGE_PROCESS_FAILED"
1260
+ """``str``: RPC Error ID"""
1261
+ MESSAGE = __doc__
1262
+
1263
+
1264
+ class ImportFileInvalid(BadRequest):
1265
+ """The imported file is invalid"""
1266
+ ID = "IMPORT_FILE_INVALID"
1267
+ """``str``: RPC Error ID"""
1268
+ MESSAGE = __doc__
1269
+
1270
+
1271
+ class ImportFormatUnrecognized(BadRequest):
1272
+ """The imported format is unrecognized"""
1273
+ ID = "IMPORT_FORMAT_UNRECOGNIZED"
1274
+ """``str``: RPC Error ID"""
1275
+ MESSAGE = __doc__
1276
+
1277
+
1278
+ class ImportIdInvalid(BadRequest):
1279
+ """The import id is invalid"""
1280
+ ID = "IMPORT_ID_INVALID"
1281
+ """``str``: RPC Error ID"""
1282
+ MESSAGE = __doc__
1283
+
1284
+
1285
+ class InlineResultExpired(BadRequest):
1286
+ """The inline bot query expired"""
1287
+ ID = "INLINE_RESULT_EXPIRED"
1288
+ """``str``: RPC Error ID"""
1289
+ MESSAGE = __doc__
1290
+
1291
+
1292
+ class InputConstructorInvalid(BadRequest):
1293
+ """The provided constructor is invalid"""
1294
+ ID = "INPUT_CONSTRUCTOR_INVALID"
1295
+ """``str``: RPC Error ID"""
1296
+ MESSAGE = __doc__
1297
+
1298
+
1299
+ class InputFetchError(BadRequest):
1300
+ """An error occurred while deserializing TL parameters"""
1301
+ ID = "INPUT_FETCH_ERROR"
1302
+ """``str``: RPC Error ID"""
1303
+ MESSAGE = __doc__
1304
+
1305
+
1306
+ class InputFetchFail(BadRequest):
1307
+ """Failed deserializing TL payload"""
1308
+ ID = "INPUT_FETCH_FAIL"
1309
+ """``str``: RPC Error ID"""
1310
+ MESSAGE = __doc__
1311
+
1312
+
1313
+ class InputFilterInvalid(BadRequest):
1314
+ """The filter is invalid for this query"""
1315
+ ID = "INPUT_FILTER_INVALID"
1316
+ """``str``: RPC Error ID"""
1317
+ MESSAGE = __doc__
1318
+
1319
+
1320
+ class InputLayerInvalid(BadRequest):
1321
+ """The provided layer is invalid"""
1322
+ ID = "INPUT_LAYER_INVALID"
1323
+ """``str``: RPC Error ID"""
1324
+ MESSAGE = __doc__
1325
+
1326
+
1327
+ class InputMethodInvalid(BadRequest):
1328
+ """The method invoked is invalid in the current schema"""
1329
+ ID = "INPUT_METHOD_INVALID"
1330
+ """``str``: RPC Error ID"""
1331
+ MESSAGE = __doc__
1332
+
1333
+
1334
+ class InputRequestTooLong(BadRequest):
1335
+ """The input request is too long"""
1336
+ ID = "INPUT_REQUEST_TOO_LONG"
1337
+ """``str``: RPC Error ID"""
1338
+ MESSAGE = __doc__
1339
+
1340
+
1341
+ class InputTextEmpty(BadRequest):
1342
+ """The specified text is empty"""
1343
+ ID = "INPUT_TEXT_EMPTY"
1344
+ """``str``: RPC Error ID"""
1345
+ MESSAGE = __doc__
1346
+
1347
+
1348
+ class InputUserDeactivated(BadRequest):
1349
+ """The target user has been deleted/deactivated"""
1350
+ ID = "INPUT_USER_DEACTIVATED"
1351
+ """``str``: RPC Error ID"""
1352
+ MESSAGE = __doc__
1353
+
1354
+
1355
+ class InviteForbiddenWithJoinas(BadRequest):
1356
+ """If the user has anonymously joined a group call as a channel, they can't invite other users to the group call because that would cause deanonymization, because the invite would be sent using the original user ID, not the anonymized channel ID"""
1357
+ ID = "INVITE_FORBIDDEN_WITH_JOINAS"
1358
+ """``str``: RPC Error ID"""
1359
+ MESSAGE = __doc__
1360
+
1361
+
1362
+ class InviteHashEmpty(BadRequest):
1363
+ """The invite hash is empty"""
1364
+ ID = "INVITE_HASH_EMPTY"
1365
+ """``str``: RPC Error ID"""
1366
+ MESSAGE = __doc__
1367
+
1368
+
1369
+ class InviteHashExpired(BadRequest):
1370
+ """The chat invite link is no longer valid"""
1371
+ ID = "INVITE_HASH_EXPIRED"
1372
+ """``str``: RPC Error ID"""
1373
+ MESSAGE = __doc__
1374
+
1375
+
1376
+ class InviteHashInvalid(BadRequest):
1377
+ """The invite link hash is invalid"""
1378
+ ID = "INVITE_HASH_INVALID"
1379
+ """``str``: RPC Error ID"""
1380
+ MESSAGE = __doc__
1381
+
1382
+
1383
+ class InviteRequestSent(BadRequest):
1384
+ """The request to join this chat or channel has been successfully sent"""
1385
+ ID = "INVITE_REQUEST_SENT"
1386
+ """``str``: RPC Error ID"""
1387
+ MESSAGE = __doc__
1388
+
1389
+
1390
+ class InviteRevokedMissing(BadRequest):
1391
+ """The action required a chat invite link to be revoked first"""
1392
+ ID = "INVITE_REVOKED_MISSING"
1393
+ """``str``: RPC Error ID"""
1394
+ MESSAGE = __doc__
1395
+
1396
+
1397
+ class InviteSlugEmpty(BadRequest):
1398
+ """The invite slug is empty"""
1399
+ ID = "INVITE_SLUG_EMPTY"
1400
+ """``str``: RPC Error ID"""
1401
+ MESSAGE = __doc__
1402
+
1403
+
1404
+ class InviteSlugExpired(BadRequest):
1405
+ """The invite slug is expired"""
1406
+ ID = "INVITE_SLUG_EXPIRED"
1407
+ """``str``: RPC Error ID"""
1408
+ MESSAGE = __doc__
1409
+
1410
+
1411
+ class InvoicePayloadInvalid(BadRequest):
1412
+ """The specified invoice payload is invalid"""
1413
+ ID = "INVOICE_PAYLOAD_INVALID"
1414
+ """``str``: RPC Error ID"""
1415
+ MESSAGE = __doc__
1416
+
1417
+
1418
+ class JoinAsPeerInvalid(BadRequest):
1419
+ """The specified peer cannot be used to join a group call"""
1420
+ ID = "JOIN_AS_PEER_INVALID"
1421
+ """``str``: RPC Error ID"""
1422
+ MESSAGE = __doc__
1423
+
1424
+
1425
+ class LangCodeInvalid(BadRequest):
1426
+ """The specified language code is invalid"""
1427
+ ID = "LANG_CODE_INVALID"
1428
+ """``str``: RPC Error ID"""
1429
+ MESSAGE = __doc__
1430
+
1431
+
1432
+ class LangCodeNotSupported(BadRequest):
1433
+ """The specified language code is not supported"""
1434
+ ID = "LANG_CODE_NOT_SUPPORTED"
1435
+ """``str``: RPC Error ID"""
1436
+ MESSAGE = __doc__
1437
+
1438
+
1439
+ class LangPackInvalid(BadRequest):
1440
+ """The provided language pack is invalid"""
1441
+ ID = "LANG_PACK_INVALID"
1442
+ """``str``: RPC Error ID"""
1443
+ MESSAGE = __doc__
1444
+
1445
+
1446
+ class LastnameInvalid(BadRequest):
1447
+ """The last name is invalid"""
1448
+ ID = "LASTNAME_INVALID"
1449
+ """``str``: RPC Error ID"""
1450
+ MESSAGE = __doc__
1451
+
1452
+
1453
+ class LimitInvalid(BadRequest):
1454
+ """The limit parameter is invalid"""
1455
+ ID = "LIMIT_INVALID"
1456
+ """``str``: RPC Error ID"""
1457
+ MESSAGE = __doc__
1458
+
1459
+
1460
+ class LinkNotModified(BadRequest):
1461
+ """The chat link was not modified because you tried to link to the same target"""
1462
+ ID = "LINK_NOT_MODIFIED"
1463
+ """``str``: RPC Error ID"""
1464
+ MESSAGE = __doc__
1465
+
1466
+
1467
+ class LocationInvalid(BadRequest):
1468
+ """The file location is invalid"""
1469
+ ID = "LOCATION_INVALID"
1470
+ """``str``: RPC Error ID"""
1471
+ MESSAGE = __doc__
1472
+
1473
+
1474
+ class MaxDateInvalid(BadRequest):
1475
+ """The specified maximum date is invalid"""
1476
+ ID = "MAX_DATE_INVALID"
1477
+ """``str``: RPC Error ID"""
1478
+ MESSAGE = __doc__
1479
+
1480
+
1481
+ class MaxIdInvalid(BadRequest):
1482
+ """The max_id parameter is invalid"""
1483
+ ID = "MAX_ID_INVALID"
1484
+ """``str``: RPC Error ID"""
1485
+ MESSAGE = __doc__
1486
+
1487
+
1488
+ class MaxQtsInvalid(BadRequest):
1489
+ """The provided QTS is invalid"""
1490
+ ID = "MAX_QTS_INVALID"
1491
+ """``str``: RPC Error ID"""
1492
+ MESSAGE = __doc__
1493
+
1494
+
1495
+ class Md5ChecksumInvalid(BadRequest):
1496
+ """The file's checksum did not match the md5_checksum parameter"""
1497
+ ID = "MD5_CHECKSUM_INVALID"
1498
+ """``str``: RPC Error ID"""
1499
+ MESSAGE = __doc__
1500
+
1501
+
1502
+ class MediaCaptionTooLong(BadRequest):
1503
+ """The media caption is too long"""
1504
+ ID = "MEDIA_CAPTION_TOO_LONG"
1505
+ """``str``: RPC Error ID"""
1506
+ MESSAGE = __doc__
1507
+
1508
+
1509
+ class MediaEmpty(BadRequest):
1510
+ """The media you tried to send is invalid"""
1511
+ ID = "MEDIA_EMPTY"
1512
+ """``str``: RPC Error ID"""
1513
+ MESSAGE = __doc__
1514
+
1515
+
1516
+ class MediaFileInvalid(BadRequest):
1517
+ """The provided media file is invalid"""
1518
+ ID = "MEDIA_FILE_INVALID"
1519
+ """``str``: RPC Error ID"""
1520
+ MESSAGE = __doc__
1521
+
1522
+
1523
+ class MediaGroupedInvalid(BadRequest):
1524
+ """You tried to send media of different types in an album"""
1525
+ ID = "MEDIA_GROUPED_INVALID"
1526
+ """``str``: RPC Error ID"""
1527
+ MESSAGE = __doc__
1528
+
1529
+
1530
+ class MediaInvalid(BadRequest):
1531
+ """The media is invalid"""
1532
+ ID = "MEDIA_INVALID"
1533
+ """``str``: RPC Error ID"""
1534
+ MESSAGE = __doc__
1535
+
1536
+
1537
+ class MediaNewInvalid(BadRequest):
1538
+ """The new media to edit the message with is invalid"""
1539
+ ID = "MEDIA_NEW_INVALID"
1540
+ """``str``: RPC Error ID"""
1541
+ MESSAGE = __doc__
1542
+
1543
+
1544
+ class MediaPrevInvalid(BadRequest):
1545
+ """The previous media cannot be edited with anything else"""
1546
+ ID = "MEDIA_PREV_INVALID"
1547
+ """``str``: RPC Error ID"""
1548
+ MESSAGE = __doc__
1549
+
1550
+
1551
+ class MediaTtlInvalid(BadRequest):
1552
+ """The media ttl is invalid"""
1553
+ ID = "MEDIA_TTL_INVALID"
1554
+ """``str``: RPC Error ID"""
1555
+ MESSAGE = __doc__
1556
+
1557
+
1558
+ class MediaVideoStoryMissing(BadRequest):
1559
+ """The media does not have a photo or a video"""
1560
+ ID = "MEDIA_VIDEO_STORY_MISSING"
1561
+ """``str``: RPC Error ID"""
1562
+ MESSAGE = __doc__
1563
+
1564
+
1565
+ class MegagroupIdInvalid(BadRequest):
1566
+ """The supergroup is invalid"""
1567
+ ID = "MEGAGROUP_ID_INVALID"
1568
+ """``str``: RPC Error ID"""
1569
+ MESSAGE = __doc__
1570
+
1571
+
1572
+ class MegagroupPrehistoryHidden(BadRequest):
1573
+ """The action failed because the supergroup has the pre-history hidden"""
1574
+ ID = "MEGAGROUP_PREHISTORY_HIDDEN"
1575
+ """``str``: RPC Error ID"""
1576
+ MESSAGE = __doc__
1577
+
1578
+
1579
+ class MegagroupRequired(BadRequest):
1580
+ """The request can only be used with a supergroup"""
1581
+ ID = "MEGAGROUP_REQUIRED"
1582
+ """``str``: RPC Error ID"""
1583
+ MESSAGE = __doc__
1584
+
1585
+
1586
+ class MessageEditTimeExpired(BadRequest):
1587
+ """You can no longer edit this message because too much time has passed"""
1588
+ ID = "MESSAGE_EDIT_TIME_EXPIRED"
1589
+ """``str``: RPC Error ID"""
1590
+ MESSAGE = __doc__
1591
+
1592
+
1593
+ class MessageEmpty(BadRequest):
1594
+ """The message sent is empty or contains invalid characters"""
1595
+ ID = "MESSAGE_EMPTY"
1596
+ """``str``: RPC Error ID"""
1597
+ MESSAGE = __doc__
1598
+
1599
+
1600
+ class MessageIdsEmpty(BadRequest):
1601
+ """The requested message doesn't exist or you provided no message id"""
1602
+ ID = "MESSAGE_IDS_EMPTY"
1603
+ """``str``: RPC Error ID"""
1604
+ MESSAGE = __doc__
1605
+
1606
+
1607
+ class MessageIdInvalid(BadRequest):
1608
+ """The message id is invalid"""
1609
+ ID = "MESSAGE_ID_INVALID"
1610
+ """``str``: RPC Error ID"""
1611
+ MESSAGE = __doc__
1612
+
1613
+
1614
+ class MessageNotModified(BadRequest):
1615
+ """The message was not modified because you tried to edit it using the same content"""
1616
+ ID = "MESSAGE_NOT_MODIFIED"
1617
+ """``str``: RPC Error ID"""
1618
+ MESSAGE = __doc__
1619
+
1620
+
1621
+ class MessagePollClosed(BadRequest):
1622
+ """You can't interact with a closed poll"""
1623
+ ID = "MESSAGE_POLL_CLOSED"
1624
+ """``str``: RPC Error ID"""
1625
+ MESSAGE = __doc__
1626
+
1627
+
1628
+ class MessageTooLong(BadRequest):
1629
+ """The message text is too long"""
1630
+ ID = "MESSAGE_TOO_LONG"
1631
+ """``str``: RPC Error ID"""
1632
+ MESSAGE = __doc__
1633
+
1634
+
1635
+ class MethodInvalid(BadRequest):
1636
+ """The API method is invalid and cannot be used"""
1637
+ ID = "METHOD_INVALID"
1638
+ """``str``: RPC Error ID"""
1639
+ MESSAGE = __doc__
1640
+
1641
+
1642
+ class MinDateInvalid(BadRequest):
1643
+ """The specified minimum date is invalid"""
1644
+ ID = "MIN_DATE_INVALID"
1645
+ """``str``: RPC Error ID"""
1646
+ MESSAGE = __doc__
1647
+
1648
+
1649
+ class MsgIdInvalid(BadRequest):
1650
+ """The message ID used in the peer was invalid"""
1651
+ ID = "MSG_ID_INVALID"
1652
+ """``str``: RPC Error ID"""
1653
+ MESSAGE = __doc__
1654
+
1655
+
1656
+ class MsgTooOld(BadRequest):
1657
+ """chat_read_mark_expire_period have passed since the message was sent, read receipts were deleted"""
1658
+ ID = "MSG_TOO_OLD"
1659
+ """``str``: RPC Error ID"""
1660
+ MESSAGE = __doc__
1661
+
1662
+
1663
+ class MsgVoiceMissing(BadRequest):
1664
+ """The message does not contain a voice message"""
1665
+ ID = "MSG_VOICE_MISSING"
1666
+ """``str``: RPC Error ID"""
1667
+ MESSAGE = __doc__
1668
+
1669
+
1670
+ class MsgWaitFailed(BadRequest):
1671
+ """A waiting call returned an error"""
1672
+ ID = "MSG_WAIT_FAILED"
1673
+ """``str``: RPC Error ID"""
1674
+ MESSAGE = __doc__
1675
+
1676
+
1677
+ class MultiMediaTooLong(BadRequest):
1678
+ """The album/media group contains too many items"""
1679
+ ID = "MULTI_MEDIA_TOO_LONG"
1680
+ """``str``: RPC Error ID"""
1681
+ MESSAGE = __doc__
1682
+
1683
+
1684
+ class NewSaltInvalid(BadRequest):
1685
+ """The new salt is invalid"""
1686
+ ID = "NEW_SALT_INVALID"
1687
+ """``str``: RPC Error ID"""
1688
+ MESSAGE = __doc__
1689
+
1690
+
1691
+ class NewSettingsEmpty(BadRequest):
1692
+ """No password is set on the current account, and no new password was specified in `new_settings`"""
1693
+ ID = "NEW_SETTINGS_EMPTY"
1694
+ """``str``: RPC Error ID"""
1695
+ MESSAGE = __doc__
1696
+
1697
+
1698
+ class NewSettingsInvalid(BadRequest):
1699
+ """The new settings are invalid"""
1700
+ ID = "NEW_SETTINGS_INVALID"
1701
+ """``str``: RPC Error ID"""
1702
+ MESSAGE = __doc__
1703
+
1704
+
1705
+ class NextOffsetInvalid(BadRequest):
1706
+ """The next offset value is invalid"""
1707
+ ID = "NEXT_OFFSET_INVALID"
1708
+ """``str``: RPC Error ID"""
1709
+ MESSAGE = __doc__
1710
+
1711
+
1712
+ class OffsetInvalid(BadRequest):
1713
+ """The offset parameter is invalid"""
1714
+ ID = "OFFSET_INVALID"
1715
+ """``str``: RPC Error ID"""
1716
+ MESSAGE = __doc__
1717
+
1718
+
1719
+ class OffsetPeerIdInvalid(BadRequest):
1720
+ """The provided offset peer is invalid"""
1721
+ ID = "OFFSET_PEER_ID_INVALID"
1722
+ """``str``: RPC Error ID"""
1723
+ MESSAGE = __doc__
1724
+
1725
+
1726
+ class OptionsTooMuch(BadRequest):
1727
+ """The poll options are too many"""
1728
+ ID = "OPTIONS_TOO_MUCH"
1729
+ """``str``: RPC Error ID"""
1730
+ MESSAGE = __doc__
1731
+
1732
+
1733
+ class OptionInvalid(BadRequest):
1734
+ """The option specified is invalid and does not exist in the target poll"""
1735
+ ID = "OPTION_INVALID"
1736
+ """``str``: RPC Error ID"""
1737
+ MESSAGE = __doc__
1738
+
1739
+
1740
+ class PackShortNameInvalid(BadRequest):
1741
+ """Invalid sticker pack name. It must begin with a letter, can't contain consecutive underscores and must end in '_by_<bot username>'."""
1742
+ ID = "PACK_SHORT_NAME_INVALID"
1743
+ """``str``: RPC Error ID"""
1744
+ MESSAGE = __doc__
1745
+
1746
+
1747
+ class PackShortNameOccupied(BadRequest):
1748
+ """A sticker pack with this name already exists"""
1749
+ ID = "PACK_SHORT_NAME_OCCUPIED"
1750
+ """``str``: RPC Error ID"""
1751
+ MESSAGE = __doc__
1752
+
1753
+
1754
+ class PackTitleInvalid(BadRequest):
1755
+ """The sticker pack title is invalid"""
1756
+ ID = "PACK_TITLE_INVALID"
1757
+ """``str``: RPC Error ID"""
1758
+ MESSAGE = __doc__
1759
+
1760
+
1761
+ class ParticipantsTooFew(BadRequest):
1762
+ """The chat doesn't have enough participants"""
1763
+ ID = "PARTICIPANTS_TOO_FEW"
1764
+ """``str``: RPC Error ID"""
1765
+ MESSAGE = __doc__
1766
+
1767
+
1768
+ class ParticipantIdInvalid(BadRequest):
1769
+ """The specified participant ID is invalid"""
1770
+ ID = "PARTICIPANT_ID_INVALID"
1771
+ """``str``: RPC Error ID"""
1772
+ MESSAGE = __doc__
1773
+
1774
+
1775
+ class ParticipantJoinMissing(BadRequest):
1776
+ """Trying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall"""
1777
+ ID = "PARTICIPANT_JOIN_MISSING"
1778
+ """``str``: RPC Error ID"""
1779
+ MESSAGE = __doc__
1780
+
1781
+
1782
+ class ParticipantVersionOutdated(BadRequest):
1783
+ """The other participant is using an outdated Telegram app version"""
1784
+ ID = "PARTICIPANT_VERSION_OUTDATED"
1785
+ """``str``: RPC Error ID"""
1786
+ MESSAGE = __doc__
1787
+
1788
+
1789
+ class PasswordEmpty(BadRequest):
1790
+ """The password provided is empty"""
1791
+ ID = "PASSWORD_EMPTY"
1792
+ """``str``: RPC Error ID"""
1793
+ MESSAGE = __doc__
1794
+
1795
+
1796
+ class PasswordHashInvalid(BadRequest):
1797
+ """The two-step verification password is invalid"""
1798
+ ID = "PASSWORD_HASH_INVALID"
1799
+ """``str``: RPC Error ID"""
1800
+ MESSAGE = __doc__
1801
+
1802
+
1803
+ class PasswordMissing(BadRequest):
1804
+ """The account is missing the two-step verification password"""
1805
+ ID = "PASSWORD_MISSING"
1806
+ """``str``: RPC Error ID"""
1807
+ MESSAGE = __doc__
1808
+
1809
+
1810
+ class PasswordRecoveryNa(BadRequest):
1811
+ """The password recovery e-mail is not available"""
1812
+ ID = "PASSWORD_RECOVERY_NA"
1813
+ """``str``: RPC Error ID"""
1814
+ MESSAGE = __doc__
1815
+
1816
+
1817
+ class PasswordRequired(BadRequest):
1818
+ """The two-step verification password is required for this method"""
1819
+ ID = "PASSWORD_REQUIRED"
1820
+ """``str``: RPC Error ID"""
1821
+ MESSAGE = __doc__
1822
+
1823
+
1824
+ class PasswordTooFresh(BadRequest):
1825
+ """The two-step verification password was added recently and you are required to wait {value} seconds"""
1826
+ ID = "PASSWORD_TOO_FRESH_X"
1827
+ """``str``: RPC Error ID"""
1828
+ MESSAGE = __doc__
1829
+
1830
+
1831
+ class PaymentProviderInvalid(BadRequest):
1832
+ """The payment provider was not recognised or its token was invalid"""
1833
+ ID = "PAYMENT_PROVIDER_INVALID"
1834
+ """``str``: RPC Error ID"""
1835
+ MESSAGE = __doc__
1836
+
1837
+
1838
+ class PeerFlood(BadRequest):
1839
+ """The method can't be used because your account is currently limited"""
1840
+ ID = "PEER_FLOOD"
1841
+ """``str``: RPC Error ID"""
1842
+ MESSAGE = __doc__
1843
+
1844
+
1845
+ class PeerHistoryEmpty(BadRequest):
1846
+ """Peer history empty"""
1847
+ ID = "PEER_HISTORY_EMPTY"
1848
+ """``str``: RPC Error ID"""
1849
+ MESSAGE = __doc__
1850
+
1851
+
1852
+ class PeerIdInvalid(BadRequest):
1853
+ """The peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it"""
1854
+ ID = "PEER_ID_INVALID"
1855
+ """``str``: RPC Error ID"""
1856
+ MESSAGE = __doc__
1857
+
1858
+
1859
+ class PeerIdNotSupported(BadRequest):
1860
+ """The provided peer id is not supported"""
1861
+ ID = "PEER_ID_NOT_SUPPORTED"
1862
+ """``str``: RPC Error ID"""
1863
+ MESSAGE = __doc__
1864
+
1865
+
1866
+ class PersistentTimestampEmpty(BadRequest):
1867
+ """The pts argument is empty"""
1868
+ ID = "PERSISTENT_TIMESTAMP_EMPTY"
1869
+ """``str``: RPC Error ID"""
1870
+ MESSAGE = __doc__
1871
+
1872
+
1873
+ class PersistentTimestampInvalid(BadRequest):
1874
+ """The persistent timestamp is invalid"""
1875
+ ID = "PERSISTENT_TIMESTAMP_INVALID"
1876
+ """``str``: RPC Error ID"""
1877
+ MESSAGE = __doc__
1878
+
1879
+
1880
+ class PhoneCodeEmpty(BadRequest):
1881
+ """The phone code is missing"""
1882
+ ID = "PHONE_CODE_EMPTY"
1883
+ """``str``: RPC Error ID"""
1884
+ MESSAGE = __doc__
1885
+
1886
+
1887
+ class PhoneCodeExpired(BadRequest):
1888
+ """The confirmation code has expired"""
1889
+ ID = "PHONE_CODE_EXPIRED"
1890
+ """``str``: RPC Error ID"""
1891
+ MESSAGE = __doc__
1892
+
1893
+
1894
+ class PhoneCodeHashEmpty(BadRequest):
1895
+ """The phone code hash is missing"""
1896
+ ID = "PHONE_CODE_HASH_EMPTY"
1897
+ """``str``: RPC Error ID"""
1898
+ MESSAGE = __doc__
1899
+
1900
+
1901
+ class PhoneCodeInvalid(BadRequest):
1902
+ """The confirmation code is invalid"""
1903
+ ID = "PHONE_CODE_INVALID"
1904
+ """``str``: RPC Error ID"""
1905
+ MESSAGE = __doc__
1906
+
1907
+
1908
+ class PhoneHashExpired(BadRequest):
1909
+ """An invalid or expired phone_code_hash was provided"""
1910
+ ID = "PHONE_HASH_EXPIRED"
1911
+ """``str``: RPC Error ID"""
1912
+ MESSAGE = __doc__
1913
+
1914
+
1915
+ class PhoneNotOccupied(BadRequest):
1916
+ """No user is associated to the specified phone number"""
1917
+ ID = "PHONE_NOT_OCCUPIED"
1918
+ """``str``: RPC Error ID"""
1919
+ MESSAGE = __doc__
1920
+
1921
+
1922
+ class PhoneNumberAppSignupForbidden(BadRequest):
1923
+ """You can't sign up using this app"""
1924
+ ID = "PHONE_NUMBER_APP_SIGNUP_FORBIDDEN"
1925
+ """``str``: RPC Error ID"""
1926
+ MESSAGE = __doc__
1927
+
1928
+
1929
+ class PhoneNumberBanned(BadRequest):
1930
+ """The phone number is banned from Telegram and cannot be used"""
1931
+ ID = "PHONE_NUMBER_BANNED"
1932
+ """``str``: RPC Error ID"""
1933
+ MESSAGE = __doc__
1934
+
1935
+
1936
+ class PhoneNumberFlood(BadRequest):
1937
+ """This number has tried to login too many times"""
1938
+ ID = "PHONE_NUMBER_FLOOD"
1939
+ """``str``: RPC Error ID"""
1940
+ MESSAGE = __doc__
1941
+
1942
+
1943
+ class PhoneNumberInvalid(BadRequest):
1944
+ """The phone number is invalid"""
1945
+ ID = "PHONE_NUMBER_INVALID"
1946
+ """``str``: RPC Error ID"""
1947
+ MESSAGE = __doc__
1948
+
1949
+
1950
+ class PhoneNumberOccupied(BadRequest):
1951
+ """The phone number is already in use"""
1952
+ ID = "PHONE_NUMBER_OCCUPIED"
1953
+ """``str``: RPC Error ID"""
1954
+ MESSAGE = __doc__
1955
+
1956
+
1957
+ class PhoneNumberUnoccupied(BadRequest):
1958
+ """The phone number is not yet being used"""
1959
+ ID = "PHONE_NUMBER_UNOCCUPIED"
1960
+ """``str``: RPC Error ID"""
1961
+ MESSAGE = __doc__
1962
+
1963
+
1964
+ class PhonePasswordProtected(BadRequest):
1965
+ """The phone is password protected"""
1966
+ ID = "PHONE_PASSWORD_PROTECTED"
1967
+ """``str``: RPC Error ID"""
1968
+ MESSAGE = __doc__
1969
+
1970
+
1971
+ class PhotoContentTypeInvalid(BadRequest):
1972
+ """The photo content type is invalid"""
1973
+ ID = "PHOTO_CONTENT_TYPE_INVALID"
1974
+ """``str``: RPC Error ID"""
1975
+ MESSAGE = __doc__
1976
+
1977
+
1978
+ class PhotoContentUrlEmpty(BadRequest):
1979
+ """The photo content URL is empty"""
1980
+ ID = "PHOTO_CONTENT_URL_EMPTY"
1981
+ """``str``: RPC Error ID"""
1982
+ MESSAGE = __doc__
1983
+
1984
+
1985
+ class PhotoCropFileMissing(BadRequest):
1986
+ """Photo crop file missing"""
1987
+ ID = "PHOTO_CROP_FILE_MISSING"
1988
+ """``str``: RPC Error ID"""
1989
+ MESSAGE = __doc__
1990
+
1991
+
1992
+ class PhotoCropSizeSmall(BadRequest):
1993
+ """The photo is too small"""
1994
+ ID = "PHOTO_CROP_SIZE_SMALL"
1995
+ """``str``: RPC Error ID"""
1996
+ MESSAGE = __doc__
1997
+
1998
+
1999
+ class PhotoExtInvalid(BadRequest):
2000
+ """The photo extension is invalid"""
2001
+ ID = "PHOTO_EXT_INVALID"
2002
+ """``str``: RPC Error ID"""
2003
+ MESSAGE = __doc__
2004
+
2005
+
2006
+ class PhotoFileMissing(BadRequest):
2007
+ """Profile photo file missing"""
2008
+ ID = "PHOTO_FILE_MISSING"
2009
+ """``str``: RPC Error ID"""
2010
+ MESSAGE = __doc__
2011
+
2012
+
2013
+ class PhotoIdInvalid(BadRequest):
2014
+ """The photo id is invalid"""
2015
+ ID = "PHOTO_ID_INVALID"
2016
+ """``str``: RPC Error ID"""
2017
+ MESSAGE = __doc__
2018
+
2019
+
2020
+ class PhotoInvalid(BadRequest):
2021
+ """The photo is invalid"""
2022
+ ID = "PHOTO_INVALID"
2023
+ """``str``: RPC Error ID"""
2024
+ MESSAGE = __doc__
2025
+
2026
+
2027
+ class PhotoInvalidDimensions(BadRequest):
2028
+ """The photo dimensions are invalid"""
2029
+ ID = "PHOTO_INVALID_DIMENSIONS"
2030
+ """``str``: RPC Error ID"""
2031
+ MESSAGE = __doc__
2032
+
2033
+
2034
+ class PhotoSaveFileInvalid(BadRequest):
2035
+ """The photo you tried to send cannot be saved by Telegram"""
2036
+ ID = "PHOTO_SAVE_FILE_INVALID"
2037
+ """``str``: RPC Error ID"""
2038
+ MESSAGE = __doc__
2039
+
2040
+
2041
+ class PhotoThumbUrlEmpty(BadRequest):
2042
+ """The photo thumb URL is empty"""
2043
+ ID = "PHOTO_THUMB_URL_EMPTY"
2044
+ """``str``: RPC Error ID"""
2045
+ MESSAGE = __doc__
2046
+
2047
+
2048
+ class PhotoThumbUrlInvalid(BadRequest):
2049
+ """The photo thumb URL is invalid"""
2050
+ ID = "PHOTO_THUMB_URL_INVALID"
2051
+ """``str``: RPC Error ID"""
2052
+ MESSAGE = __doc__
2053
+
2054
+
2055
+ class PinnedDialogsTooMuch(BadRequest):
2056
+ """Too many pinned dialogs"""
2057
+ ID = "PINNED_DIALOGS_TOO_MUCH"
2058
+ """``str``: RPC Error ID"""
2059
+ MESSAGE = __doc__
2060
+
2061
+
2062
+ class PinRestricted(BadRequest):
2063
+ """You can't pin messages in private chats with other people"""
2064
+ ID = "PIN_RESTRICTED"
2065
+ """``str``: RPC Error ID"""
2066
+ MESSAGE = __doc__
2067
+
2068
+
2069
+ class PollAnswersInvalid(BadRequest):
2070
+ """The poll answers are invalid"""
2071
+ ID = "POLL_ANSWERS_INVALID"
2072
+ """``str``: RPC Error ID"""
2073
+ MESSAGE = __doc__
2074
+
2075
+
2076
+ class PollAnswerInvalid(BadRequest):
2077
+ """One of the poll answers is not acceptable"""
2078
+ ID = "POLL_ANSWER_INVALID"
2079
+ """``str``: RPC Error ID"""
2080
+ MESSAGE = __doc__
2081
+
2082
+
2083
+ class PollOptionDuplicate(BadRequest):
2084
+ """A duplicate option was sent in the same poll"""
2085
+ ID = "POLL_OPTION_DUPLICATE"
2086
+ """``str``: RPC Error ID"""
2087
+ MESSAGE = __doc__
2088
+
2089
+
2090
+ class PollOptionInvalid(BadRequest):
2091
+ """A poll option used invalid data (the data may be too long)"""
2092
+ ID = "POLL_OPTION_INVALID"
2093
+ """``str``: RPC Error ID"""
2094
+ MESSAGE = __doc__
2095
+
2096
+
2097
+ class PollQuestionInvalid(BadRequest):
2098
+ """The poll question is invalid"""
2099
+ ID = "POLL_QUESTION_INVALID"
2100
+ """``str``: RPC Error ID"""
2101
+ MESSAGE = __doc__
2102
+
2103
+
2104
+ class PollUnsupported(BadRequest):
2105
+ """This layer does not support polls in the invoked method"""
2106
+ ID = "POLL_UNSUPPORTED"
2107
+ """``str``: RPC Error ID"""
2108
+ MESSAGE = __doc__
2109
+
2110
+
2111
+ class PollVoteRequired(BadRequest):
2112
+ """Cast a vote in the poll before calling this method"""
2113
+ ID = "POLL_VOTE_REQUIRED"
2114
+ """``str``: RPC Error ID"""
2115
+ MESSAGE = __doc__
2116
+
2117
+
2118
+ class PremiumAccountRequired(BadRequest):
2119
+ """The method requires a premium user account"""
2120
+ ID = "PREMIUM_ACCOUNT_REQUIRED"
2121
+ """``str``: RPC Error ID"""
2122
+ MESSAGE = __doc__
2123
+
2124
+
2125
+ class PrivacyKeyInvalid(BadRequest):
2126
+ """The privacy key is invalid"""
2127
+ ID = "PRIVACY_KEY_INVALID"
2128
+ """``str``: RPC Error ID"""
2129
+ MESSAGE = __doc__
2130
+
2131
+
2132
+ class PrivacyTooLong(BadRequest):
2133
+ """Your privacy exception list has exceeded the maximum capacity"""
2134
+ ID = "PRIVACY_TOO_LONG"
2135
+ """``str``: RPC Error ID"""
2136
+ MESSAGE = __doc__
2137
+
2138
+
2139
+ class PrivacyValueInvalid(BadRequest):
2140
+ """The privacy value is invalid"""
2141
+ ID = "PRIVACY_VALUE_INVALID"
2142
+ """``str``: RPC Error ID"""
2143
+ MESSAGE = __doc__
2144
+
2145
+
2146
+ class PublicKeyRequired(BadRequest):
2147
+ """A public key is required"""
2148
+ ID = "PUBLIC_KEY_REQUIRED"
2149
+ """``str``: RPC Error ID"""
2150
+ MESSAGE = __doc__
2151
+
2152
+
2153
+ class QueryIdEmpty(BadRequest):
2154
+ """The query ID is empty"""
2155
+ ID = "QUERY_ID_EMPTY"
2156
+ """``str``: RPC Error ID"""
2157
+ MESSAGE = __doc__
2158
+
2159
+
2160
+ class QueryIdInvalid(BadRequest):
2161
+ """The callback query id is invalid"""
2162
+ ID = "QUERY_ID_INVALID"
2163
+ """``str``: RPC Error ID"""
2164
+ MESSAGE = __doc__
2165
+
2166
+
2167
+ class QueryTooShort(BadRequest):
2168
+ """The query is too short"""
2169
+ ID = "QUERY_TOO_SHORT"
2170
+ """``str``: RPC Error ID"""
2171
+ MESSAGE = __doc__
2172
+
2173
+
2174
+ class QuizAnswerMissing(BadRequest):
2175
+ """You can forward a quiz while hiding the original author only after choosing an option in the quiz"""
2176
+ ID = "QUIZ_ANSWER_MISSING"
2177
+ """``str``: RPC Error ID"""
2178
+ MESSAGE = __doc__
2179
+
2180
+
2181
+ class QuizCorrectAnswersEmpty(BadRequest):
2182
+ """The correct answers of the quiz are empty"""
2183
+ ID = "QUIZ_CORRECT_ANSWERS_EMPTY"
2184
+ """``str``: RPC Error ID"""
2185
+ MESSAGE = __doc__
2186
+
2187
+
2188
+ class QuizCorrectAnswersTooMuch(BadRequest):
2189
+ """The quiz contains too many correct answers"""
2190
+ ID = "QUIZ_CORRECT_ANSWERS_TOO_MUCH"
2191
+ """``str``: RPC Error ID"""
2192
+ MESSAGE = __doc__
2193
+
2194
+
2195
+ class QuizCorrectAnswerInvalid(BadRequest):
2196
+ """The correct answers of the quiz are invalid"""
2197
+ ID = "QUIZ_CORRECT_ANSWER_INVALID"
2198
+ """``str``: RPC Error ID"""
2199
+ MESSAGE = __doc__
2200
+
2201
+
2202
+ class QuizMultipleInvalid(BadRequest):
2203
+ """A quiz can't have multiple answers"""
2204
+ ID = "QUIZ_MULTIPLE_INVALID"
2205
+ """``str``: RPC Error ID"""
2206
+ MESSAGE = __doc__
2207
+
2208
+
2209
+ class RandomIdEmpty(BadRequest):
2210
+ """The random ID is empty"""
2211
+ ID = "RANDOM_ID_EMPTY"
2212
+ """``str``: RPC Error ID"""
2213
+ MESSAGE = __doc__
2214
+
2215
+
2216
+ class RandomIdInvalid(BadRequest):
2217
+ """The provided random ID is invalid"""
2218
+ ID = "RANDOM_ID_INVALID"
2219
+ """``str``: RPC Error ID"""
2220
+ MESSAGE = __doc__
2221
+
2222
+
2223
+ class RandomLengthInvalid(BadRequest):
2224
+ """The random length is invalid"""
2225
+ ID = "RANDOM_LENGTH_INVALID"
2226
+ """``str``: RPC Error ID"""
2227
+ MESSAGE = __doc__
2228
+
2229
+
2230
+ class RangesInvalid(BadRequest):
2231
+ """Invalid range provided"""
2232
+ ID = "RANGES_INVALID"
2233
+ """``str``: RPC Error ID"""
2234
+ MESSAGE = __doc__
2235
+
2236
+
2237
+ class ReactionEmpty(BadRequest):
2238
+ """The reaction provided is empty"""
2239
+ ID = "REACTION_EMPTY"
2240
+ """``str``: RPC Error ID"""
2241
+ MESSAGE = __doc__
2242
+
2243
+
2244
+ class ReactionInvalid(BadRequest):
2245
+ """Invalid reaction provided (only valid emoji are allowed)"""
2246
+ ID = "REACTION_INVALID"
2247
+ """``str``: RPC Error ID"""
2248
+ MESSAGE = __doc__
2249
+
2250
+
2251
+ class ReflectorNotAvailable(BadRequest):
2252
+ """The call reflector is not available"""
2253
+ ID = "REFLECTOR_NOT_AVAILABLE"
2254
+ """``str``: RPC Error ID"""
2255
+ MESSAGE = __doc__
2256
+
2257
+
2258
+ class ReplyMarkupBuyEmpty(BadRequest):
2259
+ """Reply markup for buy button empty"""
2260
+ ID = "REPLY_MARKUP_BUY_EMPTY"
2261
+ """``str``: RPC Error ID"""
2262
+ MESSAGE = __doc__
2263
+
2264
+
2265
+ class ReplyMarkupGameEmpty(BadRequest):
2266
+ """The provided reply markup for the game is empty"""
2267
+ ID = "REPLY_MARKUP_GAME_EMPTY"
2268
+ """``str``: RPC Error ID"""
2269
+ MESSAGE = __doc__
2270
+
2271
+
2272
+ class ReplyMarkupInvalid(BadRequest):
2273
+ """The provided reply markup is invalid"""
2274
+ ID = "REPLY_MARKUP_INVALID"
2275
+ """``str``: RPC Error ID"""
2276
+ MESSAGE = __doc__
2277
+
2278
+
2279
+ class ReplyMarkupTooLong(BadRequest):
2280
+ """The reply markup is too long"""
2281
+ ID = "REPLY_MARKUP_TOO_LONG"
2282
+ """``str``: RPC Error ID"""
2283
+ MESSAGE = __doc__
2284
+
2285
+
2286
+ class ReplyMessageIdInvalid(BadRequest):
2287
+ """The reply message id is invalid"""
2288
+ ID = "REPLY_MESSAGE_ID_INVALID"
2289
+ """``str``: RPC Error ID"""
2290
+ MESSAGE = __doc__
2291
+
2292
+
2293
+ class ResetRequestMissing(BadRequest):
2294
+ """No password reset is in progress"""
2295
+ ID = "RESET_REQUEST_MISSING"
2296
+ """``str``: RPC Error ID"""
2297
+ MESSAGE = __doc__
2298
+
2299
+
2300
+ class ResultsTooMuch(BadRequest):
2301
+ """The result contains too many items"""
2302
+ ID = "RESULTS_TOO_MUCH"
2303
+ """``str``: RPC Error ID"""
2304
+ MESSAGE = __doc__
2305
+
2306
+
2307
+ class ResultIdDuplicate(BadRequest):
2308
+ """The result contains items with duplicated identifiers"""
2309
+ ID = "RESULT_ID_DUPLICATE"
2310
+ """``str``: RPC Error ID"""
2311
+ MESSAGE = __doc__
2312
+
2313
+
2314
+ class ResultIdEmpty(BadRequest):
2315
+ """Result ID empty"""
2316
+ ID = "RESULT_ID_EMPTY"
2317
+ """``str``: RPC Error ID"""
2318
+ MESSAGE = __doc__
2319
+
2320
+
2321
+ class ResultIdInvalid(BadRequest):
2322
+ """The given result cannot be used to send the selection to the bot"""
2323
+ ID = "RESULT_ID_INVALID"
2324
+ """``str``: RPC Error ID"""
2325
+ MESSAGE = __doc__
2326
+
2327
+
2328
+ class ReactionsTooMany(BadRequest):
2329
+ """Currently, non-premium users, can set up to one reaction per message"""
2330
+ ID = "REACTIONS_TOO_MANY"
2331
+ """``str``: RPC Error ID"""
2332
+ MESSAGE = __doc__
2333
+
2334
+
2335
+ class ResultTypeInvalid(BadRequest):
2336
+ """The result type is invalid"""
2337
+ ID = "RESULT_TYPE_INVALID"
2338
+ """``str``: RPC Error ID"""
2339
+ MESSAGE = __doc__
2340
+
2341
+
2342
+ class RevoteNotAllowed(BadRequest):
2343
+ """You cannot change your vote"""
2344
+ ID = "REVOTE_NOT_ALLOWED"
2345
+ """``str``: RPC Error ID"""
2346
+ MESSAGE = __doc__
2347
+
2348
+
2349
+ class RightsNotModified(BadRequest):
2350
+ """The new admin rights are equal to the old rights, no change was made"""
2351
+ ID = "RIGHTS_NOT_MODIFIED"
2352
+ """``str``: RPC Error ID"""
2353
+ MESSAGE = __doc__
2354
+
2355
+
2356
+ class RsaDecryptFailed(BadRequest):
2357
+ """Internal RSA decryption failed"""
2358
+ ID = "RSA_DECRYPT_FAILED"
2359
+ """``str``: RPC Error ID"""
2360
+ MESSAGE = __doc__
2361
+
2362
+
2363
+ class ScheduleBotNotAllowed(BadRequest):
2364
+ """Bots are not allowed to schedule messages"""
2365
+ ID = "SCHEDULE_BOT_NOT_ALLOWED"
2366
+ """``str``: RPC Error ID"""
2367
+ MESSAGE = __doc__
2368
+
2369
+
2370
+ class ScheduleDateInvalid(BadRequest):
2371
+ """Invalid schedule date provided"""
2372
+ ID = "SCHEDULE_DATE_INVALID"
2373
+ """``str``: RPC Error ID"""
2374
+ MESSAGE = __doc__
2375
+
2376
+
2377
+ class ScheduleDateTooLate(BadRequest):
2378
+ """The date you tried to schedule is too far in the future (more than one year)"""
2379
+ ID = "SCHEDULE_DATE_TOO_LATE"
2380
+ """``str``: RPC Error ID"""
2381
+ MESSAGE = __doc__
2382
+
2383
+
2384
+ class ScheduleStatusPrivate(BadRequest):
2385
+ """You cannot schedule a message until the person comes online if their privacy does not show this information"""
2386
+ ID = "SCHEDULE_STATUS_PRIVATE"
2387
+ """``str``: RPC Error ID"""
2388
+ MESSAGE = __doc__
2389
+
2390
+
2391
+ class ScheduleTooMuch(BadRequest):
2392
+ """You tried to schedule too many messages in this chat"""
2393
+ ID = "SCHEDULE_TOO_MUCH"
2394
+ """``str``: RPC Error ID"""
2395
+ MESSAGE = __doc__
2396
+
2397
+
2398
+ class ScoreInvalid(BadRequest):
2399
+ """The specified game score is invalid"""
2400
+ ID = "SCORE_INVALID"
2401
+ """``str``: RPC Error ID"""
2402
+ MESSAGE = __doc__
2403
+
2404
+
2405
+ class SearchQueryEmpty(BadRequest):
2406
+ """The search query is empty"""
2407
+ ID = "SEARCH_QUERY_EMPTY"
2408
+ """``str``: RPC Error ID"""
2409
+ MESSAGE = __doc__
2410
+
2411
+
2412
+ class SearchWithLinkNotSupported(BadRequest):
2413
+ """You cannot provide a search query and an invite link at the same time"""
2414
+ ID = "SEARCH_WITH_LINK_NOT_SUPPORTED"
2415
+ """``str``: RPC Error ID"""
2416
+ MESSAGE = __doc__
2417
+
2418
+
2419
+ class SecondsInvalid(BadRequest):
2420
+ """The seconds interval is invalid"""
2421
+ ID = "SECONDS_INVALID"
2422
+ """``str``: RPC Error ID"""
2423
+ MESSAGE = __doc__
2424
+
2425
+
2426
+ class SendAsPeerInvalid(BadRequest):
2427
+ """You can't send messages as the specified peer"""
2428
+ ID = "SEND_AS_PEER_INVALID"
2429
+ """``str``: RPC Error ID"""
2430
+ MESSAGE = __doc__
2431
+
2432
+
2433
+ class SendMessageMediaInvalid(BadRequest):
2434
+ """The message media is invalid"""
2435
+ ID = "SEND_MESSAGE_MEDIA_INVALID"
2436
+ """``str``: RPC Error ID"""
2437
+ MESSAGE = __doc__
2438
+
2439
+
2440
+ class SendMessageTypeInvalid(BadRequest):
2441
+ """The message type is invalid"""
2442
+ ID = "SEND_MESSAGE_TYPE_INVALID"
2443
+ """``str``: RPC Error ID"""
2444
+ MESSAGE = __doc__
2445
+
2446
+
2447
+ class SessionTooFresh(BadRequest):
2448
+ """You can't do this action because the current session was logged-in recently"""
2449
+ ID = "SESSION_TOO_FRESH_X"
2450
+ """``str``: RPC Error ID"""
2451
+ MESSAGE = __doc__
2452
+
2453
+
2454
+ class SettingsInvalid(BadRequest):
2455
+ """Invalid settings were provided"""
2456
+ ID = "SETTINGS_INVALID"
2457
+ """``str``: RPC Error ID"""
2458
+ MESSAGE = __doc__
2459
+
2460
+
2461
+ class Sha256HashInvalid(BadRequest):
2462
+ """The provided SHA256 hash is invalid"""
2463
+ ID = "SHA256_HASH_INVALID"
2464
+ """``str``: RPC Error ID"""
2465
+ MESSAGE = __doc__
2466
+
2467
+
2468
+ class ShortnameOccupyFailed(BadRequest):
2469
+ """An error occurred when trying to register the short-name used for the sticker pack. Try a different name"""
2470
+ ID = "SHORTNAME_OCCUPY_FAILED"
2471
+ """``str``: RPC Error ID"""
2472
+ MESSAGE = __doc__
2473
+
2474
+
2475
+ class ShortNameInvalid(BadRequest):
2476
+ """The specified short name is invalid"""
2477
+ ID = "SHORT_NAME_INVALID"
2478
+ """``str``: RPC Error ID"""
2479
+ MESSAGE = __doc__
2480
+
2481
+
2482
+ class ShortNameOccupied(BadRequest):
2483
+ """The specified short name is already in use"""
2484
+ ID = "SHORT_NAME_OCCUPIED"
2485
+ """``str``: RPC Error ID"""
2486
+ MESSAGE = __doc__
2487
+
2488
+
2489
+ class SlowmodeMultiMsgsDisabled(BadRequest):
2490
+ """Slowmode is enabled, you cannot forward multiple messages to this group"""
2491
+ ID = "SLOWMODE_MULTI_MSGS_DISABLED"
2492
+ """``str``: RPC Error ID"""
2493
+ MESSAGE = __doc__
2494
+
2495
+
2496
+ class SmsCodeCreateFailed(BadRequest):
2497
+ """An error occurred while creating the SMS code"""
2498
+ ID = "SMS_CODE_CREATE_FAILED"
2499
+ """``str``: RPC Error ID"""
2500
+ MESSAGE = __doc__
2501
+
2502
+
2503
+ class SrpIdInvalid(BadRequest):
2504
+ """Invalid SRP ID provided"""
2505
+ ID = "SRP_ID_INVALID"
2506
+ """``str``: RPC Error ID"""
2507
+ MESSAGE = __doc__
2508
+
2509
+
2510
+ class SrpPasswordChanged(BadRequest):
2511
+ """The password has changed"""
2512
+ ID = "SRP_PASSWORD_CHANGED"
2513
+ """``str``: RPC Error ID"""
2514
+ MESSAGE = __doc__
2515
+
2516
+
2517
+ class StartParamEmpty(BadRequest):
2518
+ """The start parameter is empty"""
2519
+ ID = "START_PARAM_EMPTY"
2520
+ """``str``: RPC Error ID"""
2521
+ MESSAGE = __doc__
2522
+
2523
+
2524
+ class StartParamInvalid(BadRequest):
2525
+ """The start parameter is invalid"""
2526
+ ID = "START_PARAM_INVALID"
2527
+ """``str``: RPC Error ID"""
2528
+ MESSAGE = __doc__
2529
+
2530
+
2531
+ class StartParamTooLong(BadRequest):
2532
+ """The start parameter is too long"""
2533
+ ID = "START_PARAM_TOO_LONG"
2534
+ """``str``: RPC Error ID"""
2535
+ MESSAGE = __doc__
2536
+
2537
+
2538
+ class StickerpackStickersTooMuch(BadRequest):
2539
+ """There are too many stickers in this stickerpack, you can't add any more"""
2540
+ ID = "STICKERPACK_STICKERS_TOO_MUCH"
2541
+ """``str``: RPC Error ID"""
2542
+ MESSAGE = __doc__
2543
+
2544
+
2545
+ class StickersetInvalid(BadRequest):
2546
+ """The requested sticker set is invalid"""
2547
+ ID = "STICKERSET_INVALID"
2548
+ """``str``: RPC Error ID"""
2549
+ MESSAGE = __doc__
2550
+
2551
+
2552
+ class StickersetNotModified(BadRequest):
2553
+ """The sticker set is not modified"""
2554
+ ID = "STICKERSET_NOT_MODIFIED"
2555
+ """``str``: RPC Error ID"""
2556
+ MESSAGE = __doc__
2557
+
2558
+
2559
+ class StickersEmpty(BadRequest):
2560
+ """The sticker provided is empty"""
2561
+ ID = "STICKERS_EMPTY"
2562
+ """``str``: RPC Error ID"""
2563
+ MESSAGE = __doc__
2564
+
2565
+
2566
+ class StickersTooMuch(BadRequest):
2567
+ """Too many stickers in the set"""
2568
+ ID = "STICKERS_TOO_MUCH"
2569
+ """``str``: RPC Error ID"""
2570
+ MESSAGE = __doc__
2571
+
2572
+
2573
+ class StickerDocumentInvalid(BadRequest):
2574
+ """The sticker document is invalid"""
2575
+ ID = "STICKER_DOCUMENT_INVALID"
2576
+ """``str``: RPC Error ID"""
2577
+ MESSAGE = __doc__
2578
+
2579
+
2580
+ class StickerEmojiInvalid(BadRequest):
2581
+ """The sticker emoji is invalid"""
2582
+ ID = "STICKER_EMOJI_INVALID"
2583
+ """``str``: RPC Error ID"""
2584
+ MESSAGE = __doc__
2585
+
2586
+
2587
+ class StickerFileInvalid(BadRequest):
2588
+ """The sticker file is invalid"""
2589
+ ID = "STICKER_FILE_INVALID"
2590
+ """``str``: RPC Error ID"""
2591
+ MESSAGE = __doc__
2592
+
2593
+
2594
+ class StickerGifDimensions(BadRequest):
2595
+ """The specified video sticker has invalid dimensions"""
2596
+ ID = "STICKER_GIF_DIMENSIONS"
2597
+ """``str``: RPC Error ID"""
2598
+ MESSAGE = __doc__
2599
+
2600
+
2601
+ class StickerIdInvalid(BadRequest):
2602
+ """The provided sticker id is invalid"""
2603
+ ID = "STICKER_ID_INVALID"
2604
+ """``str``: RPC Error ID"""
2605
+ MESSAGE = __doc__
2606
+
2607
+
2608
+ class StickerInvalid(BadRequest):
2609
+ """The provided sticker is invalid"""
2610
+ ID = "STICKER_INVALID"
2611
+ """``str``: RPC Error ID"""
2612
+ MESSAGE = __doc__
2613
+
2614
+
2615
+ class StickerMimeInvalid(BadRequest):
2616
+ """Make sure to pass a valid image file for the right InputFile parameter"""
2617
+ ID = "STICKER_MIME_INVALID"
2618
+ """``str``: RPC Error ID"""
2619
+ MESSAGE = __doc__
2620
+
2621
+
2622
+ class StickerPngDimensions(BadRequest):
2623
+ """The sticker png dimensions are invalid"""
2624
+ ID = "STICKER_PNG_DIMENSIONS"
2625
+ """``str``: RPC Error ID"""
2626
+ MESSAGE = __doc__
2627
+
2628
+
2629
+ class StickerPngNopng(BadRequest):
2630
+ """Stickers must be png files but the provided image was not a png"""
2631
+ ID = "STICKER_PNG_NOPNG"
2632
+ """``str``: RPC Error ID"""
2633
+ MESSAGE = __doc__
2634
+
2635
+
2636
+ class StickerTgsNodoc(BadRequest):
2637
+ """You must send the animated sticker as a document"""
2638
+ ID = "STICKER_TGS_NODOC"
2639
+ """``str``: RPC Error ID"""
2640
+ MESSAGE = __doc__
2641
+
2642
+
2643
+ class StickerTgsNotgs(BadRequest):
2644
+ """A tgs sticker file was expected, but something else was provided"""
2645
+ ID = "STICKER_TGS_NOTGS"
2646
+ """``str``: RPC Error ID"""
2647
+ MESSAGE = __doc__
2648
+
2649
+
2650
+ class StickerThumbPngNopng(BadRequest):
2651
+ """A png sticker thumbnail file was expected, but something else was provided"""
2652
+ ID = "STICKER_THUMB_PNG_NOPNG"
2653
+ """``str``: RPC Error ID"""
2654
+ MESSAGE = __doc__
2655
+
2656
+
2657
+ class StickerVideoBig(BadRequest):
2658
+ """The specified video sticker is too big"""
2659
+ ID = "STICKER_VIDEO_BIG"
2660
+ """``str``: RPC Error ID"""
2661
+ MESSAGE = __doc__
2662
+
2663
+
2664
+ class StickerVideoNodoc(BadRequest):
2665
+ """You must send the video sticker as a document"""
2666
+ ID = "STICKER_VIDEO_NODOC"
2667
+ """``str``: RPC Error ID"""
2668
+ MESSAGE = __doc__
2669
+
2670
+
2671
+ class StickerVideoNowebm(BadRequest):
2672
+ """A webm video file was expected, but something else was provided"""
2673
+ ID = "STICKER_VIDEO_NOWEBM"
2674
+ """``str``: RPC Error ID"""
2675
+ MESSAGE = __doc__
2676
+
2677
+
2678
+ class StoriesTooMuch(BadRequest):
2679
+ """Too many stories in the current account"""
2680
+ ID = "STORIES_TOO_MUCH"
2681
+ """``str``: RPC Error ID"""
2682
+ MESSAGE = __doc__
2683
+
2684
+
2685
+ class StoryPeriodInvalid(BadRequest):
2686
+ """The story period is invalid"""
2687
+ ID = "STORY_PERIOD_INVALID"
2688
+ """``str``: RPC Error ID"""
2689
+ MESSAGE = __doc__
2690
+
2691
+
2692
+ class SwitchPmTextEmpty(BadRequest):
2693
+ """The switch_pm.text field was empty"""
2694
+ ID = "SWITCH_PM_TEXT_EMPTY"
2695
+ """``str``: RPC Error ID"""
2696
+ MESSAGE = __doc__
2697
+
2698
+
2699
+ class TakeoutInvalid(BadRequest):
2700
+ """The takeout id is invalid"""
2701
+ ID = "TAKEOUT_INVALID"
2702
+ """``str``: RPC Error ID"""
2703
+ MESSAGE = __doc__
2704
+
2705
+
2706
+ class TakeoutRequired(BadRequest):
2707
+ """The method must be invoked inside a takeout session"""
2708
+ ID = "TAKEOUT_REQUIRED"
2709
+ """``str``: RPC Error ID"""
2710
+ MESSAGE = __doc__
2711
+
2712
+
2713
+ class TempAuthKeyAlreadyBound(BadRequest):
2714
+ """The passed temporary key is already bound to another perm_auth_key_id"""
2715
+ ID = "TEMP_AUTH_KEY_ALREADY_BOUND"
2716
+ """``str``: RPC Error ID"""
2717
+ MESSAGE = __doc__
2718
+
2719
+
2720
+ class TempAuthKeyEmpty(BadRequest):
2721
+ """The temporary auth key provided is empty"""
2722
+ ID = "TEMP_AUTH_KEY_EMPTY"
2723
+ """``str``: RPC Error ID"""
2724
+ MESSAGE = __doc__
2725
+
2726
+
2727
+ class ThemeFileInvalid(BadRequest):
2728
+ """Invalid theme file provided"""
2729
+ ID = "THEME_FILE_INVALID"
2730
+ """``str``: RPC Error ID"""
2731
+ MESSAGE = __doc__
2732
+
2733
+
2734
+ class ThemeFormatInvalid(BadRequest):
2735
+ """Invalid theme format provided"""
2736
+ ID = "THEME_FORMAT_INVALID"
2737
+ """``str``: RPC Error ID"""
2738
+ MESSAGE = __doc__
2739
+
2740
+
2741
+ class ThemeInvalid(BadRequest):
2742
+ """Invalid theme provided"""
2743
+ ID = "THEME_INVALID"
2744
+ """``str``: RPC Error ID"""
2745
+ MESSAGE = __doc__
2746
+
2747
+
2748
+ class ThemeMimeInvalid(BadRequest):
2749
+ """You cannot create this theme because the mime-type is invalid"""
2750
+ ID = "THEME_MIME_INVALID"
2751
+ """``str``: RPC Error ID"""
2752
+ MESSAGE = __doc__
2753
+
2754
+
2755
+ class ThemeTitleInvalid(BadRequest):
2756
+ """The specified theme title is invalid"""
2757
+ ID = "THEME_TITLE_INVALID"
2758
+ """``str``: RPC Error ID"""
2759
+ MESSAGE = __doc__
2760
+
2761
+
2762
+ class TitleInvalid(BadRequest):
2763
+ """The specified stickerpack title is invalid"""
2764
+ ID = "TITLE_INVALID"
2765
+ """``str``: RPC Error ID"""
2766
+ MESSAGE = __doc__
2767
+
2768
+
2769
+ class TmpPasswordDisabled(BadRequest):
2770
+ """The temporary password is disabled"""
2771
+ ID = "TMP_PASSWORD_DISABLED"
2772
+ """``str``: RPC Error ID"""
2773
+ MESSAGE = __doc__
2774
+
2775
+
2776
+ class TmpPasswordInvalid(BadRequest):
2777
+ """The temporary password is invalid"""
2778
+ ID = "TMP_PASSWORD_INVALID"
2779
+ """``str``: RPC Error ID"""
2780
+ MESSAGE = __doc__
2781
+
2782
+
2783
+ class TokenInvalid(BadRequest):
2784
+ """The provided token is invalid"""
2785
+ ID = "TOKEN_INVALID"
2786
+ """``str``: RPC Error ID"""
2787
+ MESSAGE = __doc__
2788
+
2789
+
2790
+ class TopicClosed(BadRequest):
2791
+ """The topic was closed"""
2792
+ ID = "TOPIC_CLOSED"
2793
+ """``str``: RPC Error ID"""
2794
+ MESSAGE = __doc__
2795
+
2796
+
2797
+ class TopicDeleted(BadRequest):
2798
+ """The topic was deleted"""
2799
+ ID = "TOPIC_DELETED"
2800
+ """``str``: RPC Error ID"""
2801
+ MESSAGE = __doc__
2802
+
2803
+
2804
+ class TopicIdInvalid(BadRequest):
2805
+ """The provided topic ID is invalid"""
2806
+ ID = "TOPIC_ID_INVALID"
2807
+ """``str``: RPC Error ID"""
2808
+ MESSAGE = __doc__
2809
+
2810
+
2811
+ class TopicNotModified(BadRequest):
2812
+ """The topic was not modified"""
2813
+ ID = "TOPIC_NOT_MODIFIED"
2814
+ """``str``: RPC Error ID"""
2815
+ MESSAGE = __doc__
2816
+
2817
+
2818
+ class ToLangInvalid(BadRequest):
2819
+ """The specified destination language is invalid"""
2820
+ ID = "TO_LANG_INVALID"
2821
+ """``str``: RPC Error ID"""
2822
+ MESSAGE = __doc__
2823
+
2824
+
2825
+ class TranscriptionFailed(BadRequest):
2826
+ """Telegram is having internal problems. Please try again later to transcribe the audio."""
2827
+ ID = "TRANSCRIPTION_FAILED"
2828
+ """``str``: RPC Error ID"""
2829
+ MESSAGE = __doc__
2830
+
2831
+
2832
+ class TtlDaysInvalid(BadRequest):
2833
+ """The provided TTL days is invalid"""
2834
+ ID = "TTL_DAYS_INVALID"
2835
+ """``str``: RPC Error ID"""
2836
+ MESSAGE = __doc__
2837
+
2838
+
2839
+ class TtlMediaInvalid(BadRequest):
2840
+ """The media does not support self-destruction"""
2841
+ ID = "TTL_MEDIA_INVALID"
2842
+ """``str``: RPC Error ID"""
2843
+ MESSAGE = __doc__
2844
+
2845
+
2846
+ class TypesEmpty(BadRequest):
2847
+ """The types parameter is empty"""
2848
+ ID = "TYPES_EMPTY"
2849
+ """``str``: RPC Error ID"""
2850
+ MESSAGE = __doc__
2851
+
2852
+
2853
+ class TypeConstructorInvalid(BadRequest):
2854
+ """The type constructor is invalid"""
2855
+ ID = "TYPE_CONSTRUCTOR_INVALID"
2856
+ """``str``: RPC Error ID"""
2857
+ MESSAGE = __doc__
2858
+
2859
+
2860
+ class UnknownError(BadRequest):
2861
+ """Unknown error"""
2862
+ ID = "UNKNOWN_ERROR"
2863
+ """``str``: RPC Error ID"""
2864
+ MESSAGE = __doc__
2865
+
2866
+
2867
+ class UntilDateInvalid(BadRequest):
2868
+ """That date parameter is invalid"""
2869
+ ID = "UNTIL_DATE_INVALID"
2870
+ """``str``: RPC Error ID"""
2871
+ MESSAGE = __doc__
2872
+
2873
+
2874
+ class UrlInvalid(BadRequest):
2875
+ """The URL provided is invalid"""
2876
+ ID = "URL_INVALID"
2877
+ """``str``: RPC Error ID"""
2878
+ MESSAGE = __doc__
2879
+
2880
+
2881
+ class UsageLimitInvalid(BadRequest):
2882
+ """The usage limit is invalid"""
2883
+ ID = "USAGE_LIMIT_INVALID"
2884
+ """``str``: RPC Error ID"""
2885
+ MESSAGE = __doc__
2886
+
2887
+
2888
+ class UsernameInvalid(BadRequest):
2889
+ """The username is invalid"""
2890
+ ID = "USERNAME_INVALID"
2891
+ """``str``: RPC Error ID"""
2892
+ MESSAGE = __doc__
2893
+
2894
+
2895
+ class UsernameNotModified(BadRequest):
2896
+ """The username was not modified because you tried to edit it using the same one"""
2897
+ ID = "USERNAME_NOT_MODIFIED"
2898
+ """``str``: RPC Error ID"""
2899
+ MESSAGE = __doc__
2900
+
2901
+
2902
+ class UsernameNotOccupied(BadRequest):
2903
+ """The username is not occupied by anyone"""
2904
+ ID = "USERNAME_NOT_OCCUPIED"
2905
+ """``str``: RPC Error ID"""
2906
+ MESSAGE = __doc__
2907
+
2908
+
2909
+ class UsernameOccupied(BadRequest):
2910
+ """The username is already in use by someone else"""
2911
+ ID = "USERNAME_OCCUPIED"
2912
+ """``str``: RPC Error ID"""
2913
+ MESSAGE = __doc__
2914
+
2915
+
2916
+ class UsernamePurchaseAvailable(BadRequest):
2917
+ """The username is available for purchase on fragment.com"""
2918
+ ID = "USERNAME_PURCHASE_AVAILABLE"
2919
+ """``str``: RPC Error ID"""
2920
+ MESSAGE = __doc__
2921
+
2922
+
2923
+ class UserpicUploadRequired(BadRequest):
2924
+ """You are required to upload a profile picture for this action"""
2925
+ ID = "USERPIC_UPLOAD_REQUIRED"
2926
+ """``str``: RPC Error ID"""
2927
+ MESSAGE = __doc__
2928
+
2929
+
2930
+ class UsersTooFew(BadRequest):
2931
+ """Not enough users (to create a chat, for example)"""
2932
+ ID = "USERS_TOO_FEW"
2933
+ """``str``: RPC Error ID"""
2934
+ MESSAGE = __doc__
2935
+
2936
+
2937
+ class UsersTooMuch(BadRequest):
2938
+ """The maximum number of users has been exceeded (to create a chat, for example)"""
2939
+ ID = "USERS_TOO_MUCH"
2940
+ """``str``: RPC Error ID"""
2941
+ MESSAGE = __doc__
2942
+
2943
+
2944
+ class UserAdminInvalid(BadRequest):
2945
+ """The action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to"""
2946
+ ID = "USER_ADMIN_INVALID"
2947
+ """``str``: RPC Error ID"""
2948
+ MESSAGE = __doc__
2949
+
2950
+
2951
+ class UserAlreadyInvited(BadRequest):
2952
+ """You have already invited this user"""
2953
+ ID = "USER_ALREADY_INVITED"
2954
+ """``str``: RPC Error ID"""
2955
+ MESSAGE = __doc__
2956
+
2957
+
2958
+ class UserAlreadyParticipant(BadRequest):
2959
+ """The user is already a participant of this chat"""
2960
+ ID = "USER_ALREADY_PARTICIPANT"
2961
+ """``str``: RPC Error ID"""
2962
+ MESSAGE = __doc__
2963
+
2964
+
2965
+ class UserBannedInChannel(BadRequest):
2966
+ """You are limited from sending messages in supergroups/channels, check @SpamBot for details"""
2967
+ ID = "USER_BANNED_IN_CHANNEL"
2968
+ """``str``: RPC Error ID"""
2969
+ MESSAGE = __doc__
2970
+
2971
+
2972
+ class UserBlocked(BadRequest):
2973
+ """The user is blocked"""
2974
+ ID = "USER_BLOCKED"
2975
+ """``str``: RPC Error ID"""
2976
+ MESSAGE = __doc__
2977
+
2978
+
2979
+ class UserBot(BadRequest):
2980
+ """Bots in channels can only be administrators, not members."""
2981
+ ID = "USER_BOT"
2982
+ """``str``: RPC Error ID"""
2983
+ MESSAGE = __doc__
2984
+
2985
+
2986
+ class UserBotInvalid(BadRequest):
2987
+ """This method can only be used by a bot"""
2988
+ ID = "USER_BOT_INVALID"
2989
+ """``str``: RPC Error ID"""
2990
+ MESSAGE = __doc__
2991
+
2992
+
2993
+ class UserBotRequired(BadRequest):
2994
+ """The method can be used by bots only"""
2995
+ ID = "USER_BOT_REQUIRED"
2996
+ """``str``: RPC Error ID"""
2997
+ MESSAGE = __doc__
2998
+
2999
+
3000
+ class UserChannelsTooMuch(BadRequest):
3001
+ """The user is already in too many channels or supergroups"""
3002
+ ID = "USER_CHANNELS_TOO_MUCH"
3003
+ """``str``: RPC Error ID"""
3004
+ MESSAGE = __doc__
3005
+
3006
+
3007
+ class UserCreator(BadRequest):
3008
+ """You can't leave this channel because you're its creator"""
3009
+ ID = "USER_CREATOR"
3010
+ """``str``: RPC Error ID"""
3011
+ MESSAGE = __doc__
3012
+
3013
+
3014
+ class UserIdInvalid(BadRequest):
3015
+ """The user id being used is invalid or not known yet. Make sure you meet the user before interacting with it"""
3016
+ ID = "USER_ID_INVALID"
3017
+ """``str``: RPC Error ID"""
3018
+ MESSAGE = __doc__
3019
+
3020
+
3021
+ class UserInvalid(BadRequest):
3022
+ """The provided user is invalid"""
3023
+ ID = "USER_INVALID"
3024
+ """``str``: RPC Error ID"""
3025
+ MESSAGE = __doc__
3026
+
3027
+
3028
+ class UserIsBlocked(BadRequest):
3029
+ """The user blocked you"""
3030
+ ID = "USER_IS_BLOCKED"
3031
+ """``str``: RPC Error ID"""
3032
+ MESSAGE = __doc__
3033
+
3034
+
3035
+ class UserIsBot(BadRequest):
3036
+ """A bot cannot send messages to other bots or to itself"""
3037
+ ID = "USER_IS_BOT"
3038
+ """``str``: RPC Error ID"""
3039
+ MESSAGE = __doc__
3040
+
3041
+
3042
+ class UserKicked(BadRequest):
3043
+ """This user was kicked from this chat"""
3044
+ ID = "USER_KICKED"
3045
+ """``str``: RPC Error ID"""
3046
+ MESSAGE = __doc__
3047
+
3048
+
3049
+ class UserNotMutualContact(BadRequest):
3050
+ """The user is not a mutual contact"""
3051
+ ID = "USER_NOT_MUTUAL_CONTACT"
3052
+ """``str``: RPC Error ID"""
3053
+ MESSAGE = __doc__
3054
+
3055
+
3056
+ class UserNotParticipant(BadRequest):
3057
+ """The user is not a member of this chat"""
3058
+ ID = "USER_NOT_PARTICIPANT"
3059
+ """``str``: RPC Error ID"""
3060
+ MESSAGE = __doc__
3061
+
3062
+
3063
+ class UserPublicMissing(BadRequest):
3064
+ """The accounts username is missing"""
3065
+ ID = "USER_PUBLIC_MISSING"
3066
+ """``str``: RPC Error ID"""
3067
+ MESSAGE = __doc__
3068
+
3069
+
3070
+ class UserVolumeInvalid(BadRequest):
3071
+ """The specified user volume is invalid"""
3072
+ ID = "USER_VOLUME_INVALID"
3073
+ """``str``: RPC Error ID"""
3074
+ MESSAGE = __doc__
3075
+
3076
+
3077
+ class VideoContentTypeInvalid(BadRequest):
3078
+ """The video content type is invalid (i.e.: not streamable)"""
3079
+ ID = "VIDEO_CONTENT_TYPE_INVALID"
3080
+ """``str``: RPC Error ID"""
3081
+ MESSAGE = __doc__
3082
+
3083
+
3084
+ class VideoFileInvalid(BadRequest):
3085
+ """The video file is invalid"""
3086
+ ID = "VIDEO_FILE_INVALID"
3087
+ """``str``: RPC Error ID"""
3088
+ MESSAGE = __doc__
3089
+
3090
+
3091
+ class VideoTitleEmpty(BadRequest):
3092
+ """The specified video title is empty"""
3093
+ ID = "VIDEO_TITLE_EMPTY"
3094
+ """``str``: RPC Error ID"""
3095
+ MESSAGE = __doc__
3096
+
3097
+
3098
+ class VoiceMessagesForbidden(BadRequest):
3099
+ """Voice messages are restricted"""
3100
+ ID = "VOICE_MESSAGES_FORBIDDEN"
3101
+ """``str``: RPC Error ID"""
3102
+ MESSAGE = __doc__
3103
+
3104
+
3105
+ class VolumeLocNotFound(BadRequest):
3106
+ """The volume location can't be found"""
3107
+ ID = "VOLUME_LOC_NOT_FOUND"
3108
+ """``str``: RPC Error ID"""
3109
+ MESSAGE = __doc__
3110
+
3111
+
3112
+ class WallpaperFileInvalid(BadRequest):
3113
+ """The provided file cannot be used as a wallpaper"""
3114
+ ID = "WALLPAPER_FILE_INVALID"
3115
+ """``str``: RPC Error ID"""
3116
+ MESSAGE = __doc__
3117
+
3118
+
3119
+ class WallpaperInvalid(BadRequest):
3120
+ """The input wallpaper was not valid"""
3121
+ ID = "WALLPAPER_INVALID"
3122
+ """``str``: RPC Error ID"""
3123
+ MESSAGE = __doc__
3124
+
3125
+
3126
+ class WallpaperMimeInvalid(BadRequest):
3127
+ """The wallpaper mime type is invalid"""
3128
+ ID = "WALLPAPER_MIME_INVALID"
3129
+ """``str``: RPC Error ID"""
3130
+ MESSAGE = __doc__
3131
+
3132
+
3133
+ class WcConvertUrlInvalid(BadRequest):
3134
+ """WC convert URL invalid"""
3135
+ ID = "WC_CONVERT_URL_INVALID"
3136
+ """``str``: RPC Error ID"""
3137
+ MESSAGE = __doc__
3138
+
3139
+
3140
+ class WebdocumentInvalid(BadRequest):
3141
+ """The web document is invalid"""
3142
+ ID = "WEBDOCUMENT_INVALID"
3143
+ """``str``: RPC Error ID"""
3144
+ MESSAGE = __doc__
3145
+
3146
+
3147
+ class WebdocumentMimeInvalid(BadRequest):
3148
+ """The web document mime type is invalid"""
3149
+ ID = "WEBDOCUMENT_MIME_INVALID"
3150
+ """``str``: RPC Error ID"""
3151
+ MESSAGE = __doc__
3152
+
3153
+
3154
+ class WebdocumentSizeTooBig(BadRequest):
3155
+ """The web document is too big"""
3156
+ ID = "WEBDOCUMENT_SIZE_TOO_BIG"
3157
+ """``str``: RPC Error ID"""
3158
+ MESSAGE = __doc__
3159
+
3160
+
3161
+ class WebdocumentUrlEmpty(BadRequest):
3162
+ """The web document URL is empty"""
3163
+ ID = "WEBDOCUMENT_URL_EMPTY"
3164
+ """``str``: RPC Error ID"""
3165
+ MESSAGE = __doc__
3166
+
3167
+
3168
+ class WebdocumentUrlInvalid(BadRequest):
3169
+ """The web document URL is invalid"""
3170
+ ID = "WEBDOCUMENT_URL_INVALID"
3171
+ """``str``: RPC Error ID"""
3172
+ MESSAGE = __doc__
3173
+
3174
+
3175
+ class WebpageCurlFailed(BadRequest):
3176
+ """Telegram server could not fetch the provided URL"""
3177
+ ID = "WEBPAGE_CURL_FAILED"
3178
+ """``str``: RPC Error ID"""
3179
+ MESSAGE = __doc__
3180
+
3181
+
3182
+ class WebpageMediaEmpty(BadRequest):
3183
+ """The URL doesn't contain any valid media"""
3184
+ ID = "WEBPAGE_MEDIA_EMPTY"
3185
+ """``str``: RPC Error ID"""
3186
+ MESSAGE = __doc__
3187
+
3188
+
3189
+ class WebpageNotFound(BadRequest):
3190
+ """Webpage not found"""
3191
+ ID = "WEBPAGE_NOT_FOUND"
3192
+ """``str``: RPC Error ID"""
3193
+ MESSAGE = __doc__
3194
+
3195
+
3196
+ class WebpageUrlInvalid(BadRequest):
3197
+ """Webpage url invalid"""
3198
+ ID = "WEBPAGE_URL_INVALID"
3199
+ """``str``: RPC Error ID"""
3200
+ MESSAGE = __doc__
3201
+
3202
+
3203
+ class WebpushAuthInvalid(BadRequest):
3204
+ """The specified web push authentication secret is invalid"""
3205
+ ID = "WEBPUSH_AUTH_INVALID"
3206
+ """``str``: RPC Error ID"""
3207
+ MESSAGE = __doc__
3208
+
3209
+
3210
+ class WebpushKeyInvalid(BadRequest):
3211
+ """The specified web push elliptic curve Diffie-Hellman public key is invalid"""
3212
+ ID = "WEBPUSH_KEY_INVALID"
3213
+ """``str``: RPC Error ID"""
3214
+ MESSAGE = __doc__
3215
+
3216
+
3217
+ class WebpushTokenInvalid(BadRequest):
3218
+ """The specified web push token is invalid"""
3219
+ ID = "WEBPUSH_TOKEN_INVALID"
3220
+ """``str``: RPC Error ID"""
3221
+ MESSAGE = __doc__
3222
+
3223
+
3224
+ class YouBlockedUser(BadRequest):
3225
+ """You blocked this user"""
3226
+ ID = "YOU_BLOCKED_USER"
3227
+ """``str``: RPC Error ID"""
3228
+ MESSAGE = __doc__
3229
+
3230
+
3231
+ class StoriesNeverCreated(BadRequest):
3232
+ """You have never created any stories"""
3233
+ ID = "STORIES_NEVER_CREATED"
3234
+ """``str``: RPC Error ID"""
3235
+ MESSAGE = __doc__
3236
+
3237
+
3238
+ class MediaFileInvalid(BadRequest):
3239
+ """The provided media file is invalid"""
3240
+ ID = "MEDIA_FILE_INVALID"
3241
+ """``str``: RPC Error ID"""
3242
+ MESSAGE = __doc__
3243
+
3244
+
3245
+ class ChannelForumMissing(BadRequest):
3246
+ """The channel forum is missing"""
3247
+ ID = "CHANNEL_FORUM_MISSING"
3248
+ """``str``: RPC Error ID"""
3249
+ MESSAGE = __doc__
3250
+
3251
+
3252
+ class TtlPeriodInvalid(BadRequest):
3253
+ """The provided TTL period is invalid"""
3254
+ ID = "TTL_PERIOD_INVALID"
3255
+ """``str``: RPC Error ID"""
3256
+ MESSAGE = __doc__
3257
+
3258
+
3259
+ class BoostsRequired(BadRequest):
3260
+ """Channel required more boost to upload a story"""
3261
+ ID = "BOOSTS_REQUIRED"
3262
+ """``str``: RPC Error ID"""
3263
+ MESSAGE = __doc__
3264
+
3265
+
3266
+ class BoostsEmpty(BadRequest):
3267
+ """Boosts empty"""
3268
+ ID = "BOOSTS_EMPTY"
3269
+ """``str``: RPC Error ID"""
3270
+ MESSAGE = __doc__
3271
+
3272
+
3273
+