stefano-Pyrogram 2.0.107__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 (2563) hide show
  1. pyrogram/__init__.py +42 -0
  2. pyrogram/client.py +1048 -0
  3. pyrogram/connection/__init__.py +19 -0
  4. pyrogram/connection/connection.py +72 -0
  5. pyrogram/connection/transport/__init__.py +19 -0
  6. pyrogram/connection/transport/tcp/__init__.py +24 -0
  7. pyrogram/connection/transport/tcp/tcp.py +123 -0
  8. pyrogram/connection/transport/tcp/tcp_abridged.py +57 -0
  9. pyrogram/connection/transport/tcp/tcp_abridged_o.py +86 -0
  10. pyrogram/connection/transport/tcp/tcp_full.py +64 -0
  11. pyrogram/connection/transport/tcp/tcp_intermediate.py +45 -0
  12. pyrogram/connection/transport/tcp/tcp_intermediate_o.py +79 -0
  13. pyrogram/crypto/__init__.py +17 -0
  14. pyrogram/crypto/aes.py +130 -0
  15. pyrogram/crypto/mtproto.py +100 -0
  16. pyrogram/crypto/prime.py +82 -0
  17. pyrogram/crypto/rsa.py +259 -0
  18. pyrogram/dispatcher.py +259 -0
  19. pyrogram/emoji.py +4019 -0
  20. pyrogram/enums/__init__.py +49 -0
  21. pyrogram/enums/auto_name.py +27 -0
  22. pyrogram/enums/chat_action.py +72 -0
  23. pyrogram/enums/chat_event_action.py +127 -0
  24. pyrogram/enums/chat_member_status.py +43 -0
  25. pyrogram/enums/chat_members_filter.py +42 -0
  26. pyrogram/enums/chat_type.py +40 -0
  27. pyrogram/enums/message_entity_type.py +84 -0
  28. pyrogram/enums/message_media_type.py +70 -0
  29. pyrogram/enums/message_service_type.py +73 -0
  30. pyrogram/enums/messages_filter.py +75 -0
  31. pyrogram/enums/next_code_type.py +39 -0
  32. pyrogram/enums/parse_mode.py +37 -0
  33. pyrogram/enums/poll_type.py +31 -0
  34. pyrogram/enums/sent_code_type.py +45 -0
  35. pyrogram/enums/user_status.py +43 -0
  36. pyrogram/errors/__init__.py +65 -0
  37. pyrogram/errors/exceptions/__init__.py +26 -0
  38. pyrogram/errors/exceptions/all.py +509 -0
  39. pyrogram/errors/exceptions/bad_request_400.py +2541 -0
  40. pyrogram/errors/exceptions/flood_420.py +63 -0
  41. pyrogram/errors/exceptions/forbidden_403.py +217 -0
  42. pyrogram/errors/exceptions/internal_server_error_500.py +336 -0
  43. pyrogram/errors/exceptions/not_acceptable_406.py +112 -0
  44. pyrogram/errors/exceptions/see_other_303.py +63 -0
  45. pyrogram/errors/exceptions/service_unavailable_503.py +42 -0
  46. pyrogram/errors/exceptions/unauthorized_401.py +91 -0
  47. pyrogram/errors/rpc_error.py +103 -0
  48. pyrogram/file_id.py +481 -0
  49. pyrogram/filters.py +929 -0
  50. pyrogram/handlers/__init__.py +30 -0
  51. pyrogram/handlers/callback_query_handler.py +49 -0
  52. pyrogram/handlers/chat_join_request_handler.py +49 -0
  53. pyrogram/handlers/chat_member_updated_handler.py +49 -0
  54. pyrogram/handlers/chosen_inline_result_handler.py +50 -0
  55. pyrogram/handlers/deleted_messages_handler.py +61 -0
  56. pyrogram/handlers/disconnect_handler.py +43 -0
  57. pyrogram/handlers/edited_message_handler.py +49 -0
  58. pyrogram/handlers/handler.py +43 -0
  59. pyrogram/handlers/inline_query_handler.py +49 -0
  60. pyrogram/handlers/message_handler.py +49 -0
  61. pyrogram/handlers/poll_handler.py +50 -0
  62. pyrogram/handlers/raw_update_handler.py +67 -0
  63. pyrogram/handlers/user_status_handler.py +47 -0
  64. pyrogram/methods/__init__.py +45 -0
  65. pyrogram/methods/advanced/__init__.py +29 -0
  66. pyrogram/methods/advanced/invoke.py +89 -0
  67. pyrogram/methods/advanced/resolve_peer.py +125 -0
  68. pyrogram/methods/advanced/save_file.py +242 -0
  69. pyrogram/methods/auth/__init__.py +53 -0
  70. pyrogram/methods/auth/accept_terms_of_service.py +44 -0
  71. pyrogram/methods/auth/check_password.py +60 -0
  72. pyrogram/methods/auth/connect.py +51 -0
  73. pyrogram/methods/auth/disconnect.py +40 -0
  74. pyrogram/methods/auth/get_password_hint.py +38 -0
  75. pyrogram/methods/auth/initialize.py +52 -0
  76. pyrogram/methods/auth/log_out.py +51 -0
  77. pyrogram/methods/auth/recover_password.py +57 -0
  78. pyrogram/methods/auth/resend_code.py +64 -0
  79. pyrogram/methods/auth/send_code.py +79 -0
  80. pyrogram/methods/auth/send_recovery_code.py +43 -0
  81. pyrogram/methods/auth/sign_in.py +80 -0
  82. pyrogram/methods/auth/sign_in_bot.py +79 -0
  83. pyrogram/methods/auth/sign_up.py +73 -0
  84. pyrogram/methods/auth/terminate.py +61 -0
  85. pyrogram/methods/bots/__init__.py +55 -0
  86. pyrogram/methods/bots/answer_callback_query.py +81 -0
  87. pyrogram/methods/bots/answer_inline_query.py +112 -0
  88. pyrogram/methods/bots/answer_web_app_query.py +53 -0
  89. pyrogram/methods/bots/delete_bot_commands.py +62 -0
  90. pyrogram/methods/bots/get_bot_commands.py +67 -0
  91. pyrogram/methods/bots/get_bot_default_privileges.py +59 -0
  92. pyrogram/methods/bots/get_chat_menu_button.py +66 -0
  93. pyrogram/methods/bots/get_game_high_scores.py +72 -0
  94. pyrogram/methods/bots/get_inline_bot_results.py +92 -0
  95. pyrogram/methods/bots/request_callback_answer.py +77 -0
  96. pyrogram/methods/bots/send_game.py +100 -0
  97. pyrogram/methods/bots/send_inline_bot_result.py +75 -0
  98. pyrogram/methods/bots/set_bot_commands.py +73 -0
  99. pyrogram/methods/bots/set_bot_default_privileges.py +81 -0
  100. pyrogram/methods/bots/set_chat_menu_button.py +56 -0
  101. pyrogram/methods/bots/set_game_score.py +100 -0
  102. pyrogram/methods/chats/__init__.py +101 -0
  103. pyrogram/methods/chats/add_chat_members.py +90 -0
  104. pyrogram/methods/chats/archive_chats.py +71 -0
  105. pyrogram/methods/chats/ban_chat_member.py +111 -0
  106. pyrogram/methods/chats/create_channel.py +56 -0
  107. pyrogram/methods/chats/create_group.py +67 -0
  108. pyrogram/methods/chats/create_supergroup.py +60 -0
  109. pyrogram/methods/chats/delete_channel.py +52 -0
  110. pyrogram/methods/chats/delete_chat_photo.py +70 -0
  111. pyrogram/methods/chats/delete_supergroup.py +52 -0
  112. pyrogram/methods/chats/delete_user_history.py +55 -0
  113. pyrogram/methods/chats/get_chat.py +87 -0
  114. pyrogram/methods/chats/get_chat_event_log.py +109 -0
  115. pyrogram/methods/chats/get_chat_member.py +92 -0
  116. pyrogram/methods/chats/get_chat_members.py +158 -0
  117. pyrogram/methods/chats/get_chat_members_count.py +69 -0
  118. pyrogram/methods/chats/get_chat_online_count.py +51 -0
  119. pyrogram/methods/chats/get_dialogs.py +104 -0
  120. pyrogram/methods/chats/get_dialogs_count.py +63 -0
  121. pyrogram/methods/chats/get_nearby_chats.py +78 -0
  122. pyrogram/methods/chats/get_send_as_chats.py +65 -0
  123. pyrogram/methods/chats/join_chat.py +74 -0
  124. pyrogram/methods/chats/leave_chat.py +77 -0
  125. pyrogram/methods/chats/mark_chat_unread.py +47 -0
  126. pyrogram/methods/chats/pin_chat_message.py +81 -0
  127. pyrogram/methods/chats/promote_chat_member.py +101 -0
  128. pyrogram/methods/chats/restrict_chat_member.py +99 -0
  129. pyrogram/methods/chats/set_administrator_title.py +85 -0
  130. pyrogram/methods/chats/set_chat_description.py +66 -0
  131. pyrogram/methods/chats/set_chat_permissions.py +87 -0
  132. pyrogram/methods/chats/set_chat_photo.py +121 -0
  133. pyrogram/methods/chats/set_chat_protected_content.py +53 -0
  134. pyrogram/methods/chats/set_chat_title.py +78 -0
  135. pyrogram/methods/chats/set_chat_username.py +68 -0
  136. pyrogram/methods/chats/set_send_as_chat.py +57 -0
  137. pyrogram/methods/chats/set_slow_mode.py +63 -0
  138. pyrogram/methods/chats/unarchive_chats.py +71 -0
  139. pyrogram/methods/chats/unban_chat_member.py +64 -0
  140. pyrogram/methods/chats/unpin_all_chat_messages.py +55 -0
  141. pyrogram/methods/chats/unpin_chat_message.py +61 -0
  142. pyrogram/methods/contacts/__init__.py +33 -0
  143. pyrogram/methods/contacts/add_contact.py +78 -0
  144. pyrogram/methods/contacts/delete_contacts.py +66 -0
  145. pyrogram/methods/contacts/get_contacts.py +47 -0
  146. pyrogram/methods/contacts/get_contacts_count.py +41 -0
  147. pyrogram/methods/contacts/import_contacts.py +58 -0
  148. pyrogram/methods/decorators/__init__.py +47 -0
  149. pyrogram/methods/decorators/on_callback_query.py +61 -0
  150. pyrogram/methods/decorators/on_chat_join_request.py +60 -0
  151. pyrogram/methods/decorators/on_chat_member_updated.py +60 -0
  152. pyrogram/methods/decorators/on_chosen_inline_result.py +61 -0
  153. pyrogram/methods/decorators/on_deleted_messages.py +61 -0
  154. pyrogram/methods/decorators/on_disconnect.py +43 -0
  155. pyrogram/methods/decorators/on_edited_message.py +61 -0
  156. pyrogram/methods/decorators/on_inline_query.py +61 -0
  157. pyrogram/methods/decorators/on_message.py +61 -0
  158. pyrogram/methods/decorators/on_poll.py +61 -0
  159. pyrogram/methods/decorators/on_raw_update.py +55 -0
  160. pyrogram/methods/decorators/on_user_status.py +59 -0
  161. pyrogram/methods/invite_links/__init__.py +58 -0
  162. pyrogram/methods/invite_links/approve_all_chat_join_requests.py +55 -0
  163. pyrogram/methods/invite_links/approve_chat_join_request.py +57 -0
  164. pyrogram/methods/invite_links/create_chat_invite_link.py +87 -0
  165. pyrogram/methods/invite_links/decline_all_chat_join_requests.py +55 -0
  166. pyrogram/methods/invite_links/decline_chat_join_request.py +57 -0
  167. pyrogram/methods/invite_links/delete_chat_admin_invite_links.py +54 -0
  168. pyrogram/methods/invite_links/delete_chat_invite_link.py +52 -0
  169. pyrogram/methods/invite_links/edit_chat_invite_link.py +92 -0
  170. pyrogram/methods/invite_links/export_chat_invite_link.py +65 -0
  171. pyrogram/methods/invite_links/get_chat_admin_invite_links.py +100 -0
  172. pyrogram/methods/invite_links/get_chat_admin_invite_links_count.py +62 -0
  173. pyrogram/methods/invite_links/get_chat_admins_with_invite_links.py +56 -0
  174. pyrogram/methods/invite_links/get_chat_invite_link.py +56 -0
  175. pyrogram/methods/invite_links/get_chat_invite_link_joiners.py +87 -0
  176. pyrogram/methods/invite_links/get_chat_invite_link_joiners_count.py +56 -0
  177. pyrogram/methods/invite_links/get_chat_join_requests.py +88 -0
  178. pyrogram/methods/invite_links/revoke_chat_invite_link.py +68 -0
  179. pyrogram/methods/messages/__init__.py +119 -0
  180. pyrogram/methods/messages/copy_media_group.py +140 -0
  181. pyrogram/methods/messages/copy_message.py +121 -0
  182. pyrogram/methods/messages/delete_messages.py +84 -0
  183. pyrogram/methods/messages/download_media.py +187 -0
  184. pyrogram/methods/messages/edit_inline_caption.py +65 -0
  185. pyrogram/methods/messages/edit_inline_media.py +244 -0
  186. pyrogram/methods/messages/edit_inline_reply_markup.py +69 -0
  187. pyrogram/methods/messages/edit_inline_text.py +88 -0
  188. pyrogram/methods/messages/edit_message_caption.py +76 -0
  189. pyrogram/methods/messages/edit_message_media.py +287 -0
  190. pyrogram/methods/messages/edit_message_reply_markup.py +77 -0
  191. pyrogram/methods/messages/edit_message_text.py +98 -0
  192. pyrogram/methods/messages/forward_messages.py +110 -0
  193. pyrogram/methods/messages/get_chat_history.py +121 -0
  194. pyrogram/methods/messages/get_chat_history_count.py +72 -0
  195. pyrogram/methods/messages/get_custom_emoji_stickers.py +55 -0
  196. pyrogram/methods/messages/get_discussion_message.py +65 -0
  197. pyrogram/methods/messages/get_discussion_replies.py +86 -0
  198. pyrogram/methods/messages/get_discussion_replies_count.py +62 -0
  199. pyrogram/methods/messages/get_media_group.py +73 -0
  200. pyrogram/methods/messages/get_messages.py +119 -0
  201. pyrogram/methods/messages/inline_session.py +64 -0
  202. pyrogram/methods/messages/read_chat_history.py +73 -0
  203. pyrogram/methods/messages/retract_vote.py +61 -0
  204. pyrogram/methods/messages/search_global.py +117 -0
  205. pyrogram/methods/messages/search_global_count.py +62 -0
  206. pyrogram/methods/messages/search_messages.py +151 -0
  207. pyrogram/methods/messages/search_messages_count.py +84 -0
  208. pyrogram/methods/messages/send_animation.py +271 -0
  209. pyrogram/methods/messages/send_audio.py +242 -0
  210. pyrogram/methods/messages/send_cached_media.py +124 -0
  211. pyrogram/methods/messages/send_chat_action.py +80 -0
  212. pyrogram/methods/messages/send_contact.py +121 -0
  213. pyrogram/methods/messages/send_dice.py +116 -0
  214. pyrogram/methods/messages/send_document.py +220 -0
  215. pyrogram/methods/messages/send_location.py +113 -0
  216. pyrogram/methods/messages/send_media_group.py +417 -0
  217. pyrogram/methods/messages/send_message.py +177 -0
  218. pyrogram/methods/messages/send_photo.py +204 -0
  219. pyrogram/methods/messages/send_poll.py +181 -0
  220. pyrogram/methods/messages/send_reaction.py +73 -0
  221. pyrogram/methods/messages/send_sticker.py +179 -0
  222. pyrogram/methods/messages/send_venue.py +137 -0
  223. pyrogram/methods/messages/send_video.py +261 -0
  224. pyrogram/methods/messages/send_video_note.py +203 -0
  225. pyrogram/methods/messages/send_voice.py +204 -0
  226. pyrogram/methods/messages/stop_poll.py +77 -0
  227. pyrogram/methods/messages/stream_media.py +106 -0
  228. pyrogram/methods/messages/vote_poll.py +69 -0
  229. pyrogram/methods/password/__init__.py +29 -0
  230. pyrogram/methods/password/change_cloud_password.py +82 -0
  231. pyrogram/methods/password/enable_cloud_password.py +88 -0
  232. pyrogram/methods/password/remove_cloud_password.py +64 -0
  233. pyrogram/methods/users/__init__.py +49 -0
  234. pyrogram/methods/users/block_user.py +54 -0
  235. pyrogram/methods/users/delete_profile_photos.py +63 -0
  236. pyrogram/methods/users/get_chat_photos.py +135 -0
  237. pyrogram/methods/users/get_chat_photos_count.py +74 -0
  238. pyrogram/methods/users/get_common_chats.py +67 -0
  239. pyrogram/methods/users/get_default_emoji_statuses.py +47 -0
  240. pyrogram/methods/users/get_me.py +49 -0
  241. pyrogram/methods/users/get_users.py +71 -0
  242. pyrogram/methods/users/set_emoji_status.py +58 -0
  243. pyrogram/methods/users/set_profile_photo.py +75 -0
  244. pyrogram/methods/users/set_username.py +57 -0
  245. pyrogram/methods/users/unblock_user.py +54 -0
  246. pyrogram/methods/users/update_profile.py +72 -0
  247. pyrogram/methods/utilities/__init__.py +39 -0
  248. pyrogram/methods/utilities/add_handler.py +67 -0
  249. pyrogram/methods/utilities/compose.py +78 -0
  250. pyrogram/methods/utilities/export_session_string.py +40 -0
  251. pyrogram/methods/utilities/idle.py +87 -0
  252. pyrogram/methods/utilities/remove_handler.py +63 -0
  253. pyrogram/methods/utilities/restart.py +72 -0
  254. pyrogram/methods/utilities/run.py +86 -0
  255. pyrogram/methods/utilities/start.py +76 -0
  256. pyrogram/methods/utilities/stop.py +69 -0
  257. pyrogram/methods/utilities/stop_transmission.py +43 -0
  258. pyrogram/mime_types.py +1881 -0
  259. pyrogram/parser/__init__.py +19 -0
  260. pyrogram/parser/html.py +243 -0
  261. pyrogram/parser/markdown.py +173 -0
  262. pyrogram/parser/parser.py +61 -0
  263. pyrogram/parser/utils.py +41 -0
  264. pyrogram/py.typed +0 -0
  265. pyrogram/raw/__init__.py +26 -0
  266. pyrogram/raw/all.py +1706 -0
  267. pyrogram/raw/base/__init__.py +310 -0
  268. pyrogram/raw/base/access_point_rule.py +53 -0
  269. pyrogram/raw/base/account/__init__.py +44 -0
  270. pyrogram/raw/base/account/authorization_form.py +63 -0
  271. pyrogram/raw/base/account/authorizations.py +63 -0
  272. pyrogram/raw/base/account/auto_download_settings.py +63 -0
  273. pyrogram/raw/base/account/auto_save_settings.py +63 -0
  274. pyrogram/raw/base/account/content_settings.py +63 -0
  275. pyrogram/raw/base/account/email_verified.py +64 -0
  276. pyrogram/raw/base/account/emoji_statuses.py +65 -0
  277. pyrogram/raw/base/account/password.py +63 -0
  278. pyrogram/raw/base/account/password_input_settings.py +53 -0
  279. pyrogram/raw/base/account/password_settings.py +63 -0
  280. pyrogram/raw/base/account/privacy_rules.py +64 -0
  281. pyrogram/raw/base/account/reset_password_result.py +65 -0
  282. pyrogram/raw/base/account/saved_ringtone.py +64 -0
  283. pyrogram/raw/base/account/saved_ringtones.py +64 -0
  284. pyrogram/raw/base/account/sent_email_code.py +63 -0
  285. pyrogram/raw/base/account/takeout.py +63 -0
  286. pyrogram/raw/base/account/themes.py +65 -0
  287. pyrogram/raw/base/account/tmp_password.py +63 -0
  288. pyrogram/raw/base/account/wall_papers.py +64 -0
  289. pyrogram/raw/base/account/web_authorizations.py +63 -0
  290. pyrogram/raw/base/account_days_ttl.py +63 -0
  291. pyrogram/raw/base/app_web_view_result.py +63 -0
  292. pyrogram/raw/base/attach_menu_bot.py +53 -0
  293. pyrogram/raw/base/attach_menu_bot_icon.py +53 -0
  294. pyrogram/raw/base/attach_menu_bot_icon_color.py +53 -0
  295. pyrogram/raw/base/attach_menu_bots.py +64 -0
  296. pyrogram/raw/base/attach_menu_bots_bot.py +63 -0
  297. pyrogram/raw/base/attach_menu_peer_type.py +57 -0
  298. pyrogram/raw/base/auth/__init__.py +32 -0
  299. pyrogram/raw/base/auth/authorization.py +70 -0
  300. pyrogram/raw/base/auth/code_type.py +57 -0
  301. pyrogram/raw/base/auth/exported_authorization.py +63 -0
  302. pyrogram/raw/base/auth/logged_out.py +63 -0
  303. pyrogram/raw/base/auth/login_token.py +66 -0
  304. pyrogram/raw/base/auth/password_recovery.py +63 -0
  305. pyrogram/raw/base/auth/sent_code.py +69 -0
  306. pyrogram/raw/base/auth/sent_code_type.py +61 -0
  307. pyrogram/raw/base/authorization.py +63 -0
  308. pyrogram/raw/base/auto_download_settings.py +53 -0
  309. pyrogram/raw/base/auto_save_exception.py +53 -0
  310. pyrogram/raw/base/auto_save_settings.py +53 -0
  311. pyrogram/raw/base/available_reaction.py +53 -0
  312. pyrogram/raw/base/bad_msg_notification.py +54 -0
  313. pyrogram/raw/base/bank_card_open_url.py +53 -0
  314. pyrogram/raw/base/base_theme.py +57 -0
  315. pyrogram/raw/base/bind_auth_key_inner.py +53 -0
  316. pyrogram/raw/base/bot_app.py +54 -0
  317. pyrogram/raw/base/bot_command.py +63 -0
  318. pyrogram/raw/base/bot_command_scope.py +59 -0
  319. pyrogram/raw/base/bot_info.py +53 -0
  320. pyrogram/raw/base/bot_inline_message.py +58 -0
  321. pyrogram/raw/base/bot_inline_result.py +54 -0
  322. pyrogram/raw/base/bot_menu_button.py +65 -0
  323. pyrogram/raw/base/bots/__init__.py +25 -0
  324. pyrogram/raw/base/bots/bot_info.py +63 -0
  325. pyrogram/raw/base/cdn_config.py +63 -0
  326. pyrogram/raw/base/cdn_public_key.py +53 -0
  327. pyrogram/raw/base/channel_admin_log_event.py +53 -0
  328. pyrogram/raw/base/channel_admin_log_event_action.py +95 -0
  329. pyrogram/raw/base/channel_admin_log_events_filter.py +53 -0
  330. pyrogram/raw/base/channel_location.py +54 -0
  331. pyrogram/raw/base/channel_messages_filter.py +54 -0
  332. pyrogram/raw/base/channel_participant.py +58 -0
  333. pyrogram/raw/base/channel_participants_filter.py +60 -0
  334. pyrogram/raw/base/channels/__init__.py +28 -0
  335. pyrogram/raw/base/channels/admin_log_results.py +63 -0
  336. pyrogram/raw/base/channels/channel_participant.py +63 -0
  337. pyrogram/raw/base/channels/channel_participants.py +64 -0
  338. pyrogram/raw/base/channels/send_as_peers.py +63 -0
  339. pyrogram/raw/base/chat.py +57 -0
  340. pyrogram/raw/base/chat_admin_rights.py +53 -0
  341. pyrogram/raw/base/chat_admin_with_invites.py +53 -0
  342. pyrogram/raw/base/chat_banned_rights.py +53 -0
  343. pyrogram/raw/base/chat_full.py +54 -0
  344. pyrogram/raw/base/chat_invite.py +65 -0
  345. pyrogram/raw/base/chat_invite_importer.py +53 -0
  346. pyrogram/raw/base/chat_onlines.py +63 -0
  347. pyrogram/raw/base/chat_participant.py +55 -0
  348. pyrogram/raw/base/chat_participants.py +54 -0
  349. pyrogram/raw/base/chat_photo.py +54 -0
  350. pyrogram/raw/base/chat_reactions.py +55 -0
  351. pyrogram/raw/base/chatlists/__init__.py +28 -0
  352. pyrogram/raw/base/chatlists/chatlist_invite.py +64 -0
  353. pyrogram/raw/base/chatlists/chatlist_updates.py +63 -0
  354. pyrogram/raw/base/chatlists/exported_chatlist_invite.py +63 -0
  355. pyrogram/raw/base/chatlists/exported_invites.py +63 -0
  356. pyrogram/raw/base/client_dh_inner_data.py +53 -0
  357. pyrogram/raw/base/code_settings.py +53 -0
  358. pyrogram/raw/base/config.py +63 -0
  359. pyrogram/raw/base/contact.py +53 -0
  360. pyrogram/raw/base/contact_status.py +63 -0
  361. pyrogram/raw/base/contacts/__init__.py +30 -0
  362. pyrogram/raw/base/contacts/blocked.py +64 -0
  363. pyrogram/raw/base/contacts/contacts.py +64 -0
  364. pyrogram/raw/base/contacts/found.py +63 -0
  365. pyrogram/raw/base/contacts/imported_contacts.py +63 -0
  366. pyrogram/raw/base/contacts/resolved_peer.py +64 -0
  367. pyrogram/raw/base/contacts/top_peers.py +65 -0
  368. pyrogram/raw/base/data_json.py +64 -0
  369. pyrogram/raw/base/dc_option.py +53 -0
  370. pyrogram/raw/base/default_history_ttl.py +63 -0
  371. pyrogram/raw/base/destroy_auth_key_res.py +65 -0
  372. pyrogram/raw/base/destroy_session_res.py +64 -0
  373. pyrogram/raw/base/dialog.py +54 -0
  374. pyrogram/raw/base/dialog_filter.py +65 -0
  375. pyrogram/raw/base/dialog_filter_suggested.py +63 -0
  376. pyrogram/raw/base/dialog_peer.py +64 -0
  377. pyrogram/raw/base/document.py +67 -0
  378. pyrogram/raw/base/document_attribute.py +60 -0
  379. pyrogram/raw/base/draft_message.py +54 -0
  380. pyrogram/raw/base/email_verification.py +55 -0
  381. pyrogram/raw/base/email_verify_purpose.py +55 -0
  382. pyrogram/raw/base/emoji_group.py +53 -0
  383. pyrogram/raw/base/emoji_keyword.py +54 -0
  384. pyrogram/raw/base/emoji_keywords_difference.py +64 -0
  385. pyrogram/raw/base/emoji_language.py +63 -0
  386. pyrogram/raw/base/emoji_list.py +66 -0
  387. pyrogram/raw/base/emoji_status.py +55 -0
  388. pyrogram/raw/base/emoji_url.py +63 -0
  389. pyrogram/raw/base/encrypted_chat.py +68 -0
  390. pyrogram/raw/base/encrypted_file.py +64 -0
  391. pyrogram/raw/base/encrypted_message.py +54 -0
  392. pyrogram/raw/base/exported_chat_invite.py +64 -0
  393. pyrogram/raw/base/exported_chatlist_invite.py +63 -0
  394. pyrogram/raw/base/exported_contact_token.py +63 -0
  395. pyrogram/raw/base/exported_message_link.py +63 -0
  396. pyrogram/raw/base/file_hash.py +65 -0
  397. pyrogram/raw/base/folder.py +53 -0
  398. pyrogram/raw/base/folder_peer.py +53 -0
  399. pyrogram/raw/base/forum_topic.py +54 -0
  400. pyrogram/raw/base/game.py +53 -0
  401. pyrogram/raw/base/geo_point.py +54 -0
  402. pyrogram/raw/base/global_privacy_settings.py +64 -0
  403. pyrogram/raw/base/group_call.py +54 -0
  404. pyrogram/raw/base/group_call_participant.py +53 -0
  405. pyrogram/raw/base/group_call_participant_video.py +53 -0
  406. pyrogram/raw/base/group_call_participant_video_source_group.py +53 -0
  407. pyrogram/raw/base/group_call_stream_channel.py +53 -0
  408. pyrogram/raw/base/help/__init__.py +41 -0
  409. pyrogram/raw/base/help/app_config.py +64 -0
  410. pyrogram/raw/base/help/app_update.py +64 -0
  411. pyrogram/raw/base/help/config_simple.py +53 -0
  412. pyrogram/raw/base/help/countries_list.py +64 -0
  413. pyrogram/raw/base/help/country.py +53 -0
  414. pyrogram/raw/base/help/country_code.py +53 -0
  415. pyrogram/raw/base/help/deep_link_info.py +64 -0
  416. pyrogram/raw/base/help/invite_text.py +63 -0
  417. pyrogram/raw/base/help/passport_config.py +64 -0
  418. pyrogram/raw/base/help/premium_promo.py +63 -0
  419. pyrogram/raw/base/help/promo_data.py +64 -0
  420. pyrogram/raw/base/help/recent_me_urls.py +63 -0
  421. pyrogram/raw/base/help/support.py +63 -0
  422. pyrogram/raw/base/help/support_name.py +63 -0
  423. pyrogram/raw/base/help/terms_of_service.py +53 -0
  424. pyrogram/raw/base/help/terms_of_service_update.py +64 -0
  425. pyrogram/raw/base/help/user_info.py +65 -0
  426. pyrogram/raw/base/high_score.py +53 -0
  427. pyrogram/raw/base/http_wait.py +53 -0
  428. pyrogram/raw/base/imported_contact.py +53 -0
  429. pyrogram/raw/base/inline_bot_switch_pm.py +53 -0
  430. pyrogram/raw/base/inline_bot_web_view.py +53 -0
  431. pyrogram/raw/base/inline_query_peer_type.py +58 -0
  432. pyrogram/raw/base/input_app_event.py +53 -0
  433. pyrogram/raw/base/input_bot_app.py +54 -0
  434. pyrogram/raw/base/input_bot_inline_message.py +59 -0
  435. pyrogram/raw/base/input_bot_inline_message_id.py +54 -0
  436. pyrogram/raw/base/input_bot_inline_result.py +56 -0
  437. pyrogram/raw/base/input_channel.py +55 -0
  438. pyrogram/raw/base/input_chat_photo.py +55 -0
  439. pyrogram/raw/base/input_chatlist.py +53 -0
  440. pyrogram/raw/base/input_check_password_srp.py +54 -0
  441. pyrogram/raw/base/input_client_proxy.py +53 -0
  442. pyrogram/raw/base/input_contact.py +53 -0
  443. pyrogram/raw/base/input_dialog_peer.py +54 -0
  444. pyrogram/raw/base/input_document.py +54 -0
  445. pyrogram/raw/base/input_encrypted_chat.py +53 -0
  446. pyrogram/raw/base/input_encrypted_file.py +56 -0
  447. pyrogram/raw/base/input_file.py +54 -0
  448. pyrogram/raw/base/input_file_location.py +62 -0
  449. pyrogram/raw/base/input_folder_peer.py +53 -0
  450. pyrogram/raw/base/input_game.py +54 -0
  451. pyrogram/raw/base/input_geo_point.py +54 -0
  452. pyrogram/raw/base/input_group_call.py +53 -0
  453. pyrogram/raw/base/input_invoice.py +54 -0
  454. pyrogram/raw/base/input_media.py +67 -0
  455. pyrogram/raw/base/input_message.py +56 -0
  456. pyrogram/raw/base/input_notify_peer.py +57 -0
  457. pyrogram/raw/base/input_payment_credentials.py +56 -0
  458. pyrogram/raw/base/input_peer.py +59 -0
  459. pyrogram/raw/base/input_peer_notify_settings.py +53 -0
  460. pyrogram/raw/base/input_phone_call.py +53 -0
  461. pyrogram/raw/base/input_photo.py +54 -0
  462. pyrogram/raw/base/input_privacy_key.py +61 -0
  463. pyrogram/raw/base/input_privacy_rule.py +60 -0
  464. pyrogram/raw/base/input_secure_file.py +54 -0
  465. pyrogram/raw/base/input_secure_value.py +53 -0
  466. pyrogram/raw/base/input_single_media.py +53 -0
  467. pyrogram/raw/base/input_sticker_set.py +62 -0
  468. pyrogram/raw/base/input_sticker_set_item.py +53 -0
  469. pyrogram/raw/base/input_stickered_media.py +54 -0
  470. pyrogram/raw/base/input_store_payment_purpose.py +54 -0
  471. pyrogram/raw/base/input_theme.py +54 -0
  472. pyrogram/raw/base/input_theme_settings.py +53 -0
  473. pyrogram/raw/base/input_user.py +56 -0
  474. pyrogram/raw/base/input_wall_paper.py +55 -0
  475. pyrogram/raw/base/input_web_document.py +53 -0
  476. pyrogram/raw/base/input_web_file_location.py +55 -0
  477. pyrogram/raw/base/invoice.py +53 -0
  478. pyrogram/raw/base/ip_port.py +54 -0
  479. pyrogram/raw/base/json_object_value.py +53 -0
  480. pyrogram/raw/base/json_value.py +58 -0
  481. pyrogram/raw/base/keyboard_button.py +68 -0
  482. pyrogram/raw/base/keyboard_button_row.py +53 -0
  483. pyrogram/raw/base/labeled_price.py +53 -0
  484. pyrogram/raw/base/lang_pack_difference.py +64 -0
  485. pyrogram/raw/base/lang_pack_language.py +64 -0
  486. pyrogram/raw/base/lang_pack_string.py +65 -0
  487. pyrogram/raw/base/mask_coords.py +53 -0
  488. pyrogram/raw/base/message.py +55 -0
  489. pyrogram/raw/base/message_action.py +91 -0
  490. pyrogram/raw/base/message_entity.py +73 -0
  491. pyrogram/raw/base/message_extended_media.py +54 -0
  492. pyrogram/raw/base/message_fwd_header.py +53 -0
  493. pyrogram/raw/base/message_interaction_counters.py +53 -0
  494. pyrogram/raw/base/message_media.py +77 -0
  495. pyrogram/raw/base/message_peer_reaction.py +53 -0
  496. pyrogram/raw/base/message_range.py +63 -0
  497. pyrogram/raw/base/message_reactions.py +53 -0
  498. pyrogram/raw/base/message_replies.py +53 -0
  499. pyrogram/raw/base/message_reply_header.py +53 -0
  500. pyrogram/raw/base/message_user_vote.py +55 -0
  501. pyrogram/raw/base/message_views.py +53 -0
  502. pyrogram/raw/base/messages/__init__.py +72 -0
  503. pyrogram/raw/base/messages/affected_found_messages.py +63 -0
  504. pyrogram/raw/base/messages/affected_history.py +68 -0
  505. pyrogram/raw/base/messages/affected_messages.py +66 -0
  506. pyrogram/raw/base/messages/all_stickers.py +66 -0
  507. pyrogram/raw/base/messages/archived_stickers.py +63 -0
  508. pyrogram/raw/base/messages/available_reactions.py +64 -0
  509. pyrogram/raw/base/messages/bot_app.py +63 -0
  510. pyrogram/raw/base/messages/bot_callback_answer.py +63 -0
  511. pyrogram/raw/base/messages/bot_results.py +63 -0
  512. pyrogram/raw/base/messages/chat_admins_with_invites.py +63 -0
  513. pyrogram/raw/base/messages/chat_full.py +64 -0
  514. pyrogram/raw/base/messages/chat_invite_importers.py +63 -0
  515. pyrogram/raw/base/messages/chats.py +70 -0
  516. pyrogram/raw/base/messages/checked_history_import_peer.py +63 -0
  517. pyrogram/raw/base/messages/dh_config.py +64 -0
  518. pyrogram/raw/base/messages/dialogs.py +65 -0
  519. pyrogram/raw/base/messages/discussion_message.py +63 -0
  520. pyrogram/raw/base/messages/emoji_groups.py +66 -0
  521. pyrogram/raw/base/messages/exported_chat_invite.py +65 -0
  522. pyrogram/raw/base/messages/exported_chat_invites.py +63 -0
  523. pyrogram/raw/base/messages/faved_stickers.py +64 -0
  524. pyrogram/raw/base/messages/featured_stickers.py +66 -0
  525. pyrogram/raw/base/messages/forum_topics.py +64 -0
  526. pyrogram/raw/base/messages/found_sticker_sets.py +64 -0
  527. pyrogram/raw/base/messages/high_scores.py +64 -0
  528. pyrogram/raw/base/messages/history_import.py +63 -0
  529. pyrogram/raw/base/messages/history_import_parsed.py +63 -0
  530. pyrogram/raw/base/messages/inactive_chats.py +63 -0
  531. pyrogram/raw/base/messages/message_edit_data.py +63 -0
  532. pyrogram/raw/base/messages/message_reactions_list.py +63 -0
  533. pyrogram/raw/base/messages/message_views.py +63 -0
  534. pyrogram/raw/base/messages/messages.py +78 -0
  535. pyrogram/raw/base/messages/peer_dialogs.py +64 -0
  536. pyrogram/raw/base/messages/peer_settings.py +63 -0
  537. pyrogram/raw/base/messages/reactions.py +65 -0
  538. pyrogram/raw/base/messages/recent_stickers.py +64 -0
  539. pyrogram/raw/base/messages/saved_gifs.py +64 -0
  540. pyrogram/raw/base/messages/search_counter.py +63 -0
  541. pyrogram/raw/base/messages/search_results_calendar.py +63 -0
  542. pyrogram/raw/base/messages/search_results_positions.py +63 -0
  543. pyrogram/raw/base/messages/sent_encrypted_message.py +66 -0
  544. pyrogram/raw/base/messages/sponsored_messages.py +64 -0
  545. pyrogram/raw/base/messages/sticker_set.py +71 -0
  546. pyrogram/raw/base/messages/sticker_set_install_result.py +64 -0
  547. pyrogram/raw/base/messages/stickers.py +64 -0
  548. pyrogram/raw/base/messages/transcribed_audio.py +63 -0
  549. pyrogram/raw/base/messages/translated_text.py +63 -0
  550. pyrogram/raw/base/messages/votes_list.py +63 -0
  551. pyrogram/raw/base/messages_filter.py +69 -0
  552. pyrogram/raw/base/msg_detailed_info.py +54 -0
  553. pyrogram/raw/base/msg_resend_req.py +54 -0
  554. pyrogram/raw/base/msgs_ack.py +53 -0
  555. pyrogram/raw/base/msgs_all_info.py +53 -0
  556. pyrogram/raw/base/msgs_state_info.py +53 -0
  557. pyrogram/raw/base/msgs_state_req.py +53 -0
  558. pyrogram/raw/base/nearest_dc.py +63 -0
  559. pyrogram/raw/base/new_session.py +53 -0
  560. pyrogram/raw/base/notification_sound.py +56 -0
  561. pyrogram/raw/base/notify_peer.py +57 -0
  562. pyrogram/raw/base/page.py +53 -0
  563. pyrogram/raw/base/page_block.py +81 -0
  564. pyrogram/raw/base/page_caption.py +53 -0
  565. pyrogram/raw/base/page_list_item.py +54 -0
  566. pyrogram/raw/base/page_list_ordered_item.py +54 -0
  567. pyrogram/raw/base/page_related_article.py +53 -0
  568. pyrogram/raw/base/page_table_cell.py +53 -0
  569. pyrogram/raw/base/page_table_row.py +53 -0
  570. pyrogram/raw/base/password_kdf_algo.py +54 -0
  571. pyrogram/raw/base/payment_charge.py +53 -0
  572. pyrogram/raw/base/payment_form_method.py +53 -0
  573. pyrogram/raw/base/payment_requested_info.py +53 -0
  574. pyrogram/raw/base/payment_saved_credentials.py +53 -0
  575. pyrogram/raw/base/payments/__init__.py +31 -0
  576. pyrogram/raw/base/payments/bank_card_data.py +63 -0
  577. pyrogram/raw/base/payments/exported_invoice.py +63 -0
  578. pyrogram/raw/base/payments/payment_form.py +63 -0
  579. pyrogram/raw/base/payments/payment_receipt.py +63 -0
  580. pyrogram/raw/base/payments/payment_result.py +64 -0
  581. pyrogram/raw/base/payments/saved_info.py +63 -0
  582. pyrogram/raw/base/payments/validated_requested_info.py +63 -0
  583. pyrogram/raw/base/peer.py +65 -0
  584. pyrogram/raw/base/peer_blocked.py +53 -0
  585. pyrogram/raw/base/peer_located.py +54 -0
  586. pyrogram/raw/base/peer_notify_settings.py +63 -0
  587. pyrogram/raw/base/peer_settings.py +53 -0
  588. pyrogram/raw/base/phone/__init__.py +31 -0
  589. pyrogram/raw/base/phone/exported_group_call_invite.py +63 -0
  590. pyrogram/raw/base/phone/group_call.py +63 -0
  591. pyrogram/raw/base/phone/group_call_stream_channels.py +63 -0
  592. pyrogram/raw/base/phone/group_call_stream_rtmp_url.py +63 -0
  593. pyrogram/raw/base/phone/group_participants.py +63 -0
  594. pyrogram/raw/base/phone/join_as_peers.py +63 -0
  595. pyrogram/raw/base/phone/phone_call.py +65 -0
  596. pyrogram/raw/base/phone_call.py +58 -0
  597. pyrogram/raw/base/phone_call_discard_reason.py +56 -0
  598. pyrogram/raw/base/phone_call_protocol.py +53 -0
  599. pyrogram/raw/base/phone_connection.py +54 -0
  600. pyrogram/raw/base/photo.py +54 -0
  601. pyrogram/raw/base/photo_size.py +58 -0
  602. pyrogram/raw/base/photos/__init__.py +26 -0
  603. pyrogram/raw/base/photos/photo.py +65 -0
  604. pyrogram/raw/base/photos/photos.py +64 -0
  605. pyrogram/raw/base/poll.py +53 -0
  606. pyrogram/raw/base/poll_answer.py +53 -0
  607. pyrogram/raw/base/poll_answer_voters.py +53 -0
  608. pyrogram/raw/base/poll_results.py +53 -0
  609. pyrogram/raw/base/pong.py +64 -0
  610. pyrogram/raw/base/popular_contact.py +53 -0
  611. pyrogram/raw/base/post_address.py +53 -0
  612. pyrogram/raw/base/pq_inner_data.py +56 -0
  613. pyrogram/raw/base/premium_gift_option.py +53 -0
  614. pyrogram/raw/base/premium_subscription_option.py +53 -0
  615. pyrogram/raw/base/privacy_key.py +61 -0
  616. pyrogram/raw/base/privacy_rule.py +60 -0
  617. pyrogram/raw/base/reaction.py +55 -0
  618. pyrogram/raw/base/reaction_count.py +53 -0
  619. pyrogram/raw/base/read_participant_date.py +63 -0
  620. pyrogram/raw/base/received_notify_message.py +63 -0
  621. pyrogram/raw/base/recent_me_url.py +57 -0
  622. pyrogram/raw/base/reply_markup.py +56 -0
  623. pyrogram/raw/base/report_reason.py +62 -0
  624. pyrogram/raw/base/request_peer_type.py +55 -0
  625. pyrogram/raw/base/res_pq.py +64 -0
  626. pyrogram/raw/base/restriction_reason.py +53 -0
  627. pyrogram/raw/base/rich_text.py +68 -0
  628. pyrogram/raw/base/rpc_drop_answer.py +65 -0
  629. pyrogram/raw/base/rpc_error.py +53 -0
  630. pyrogram/raw/base/rpc_result.py +53 -0
  631. pyrogram/raw/base/saved_contact.py +63 -0
  632. pyrogram/raw/base/search_results_calendar_period.py +53 -0
  633. pyrogram/raw/base/search_results_position.py +53 -0
  634. pyrogram/raw/base/secure_credentials_encrypted.py +53 -0
  635. pyrogram/raw/base/secure_data.py +53 -0
  636. pyrogram/raw/base/secure_file.py +54 -0
  637. pyrogram/raw/base/secure_password_kdf_algo.py +55 -0
  638. pyrogram/raw/base/secure_plain_data.py +54 -0
  639. pyrogram/raw/base/secure_required_type.py +54 -0
  640. pyrogram/raw/base/secure_secret_settings.py +53 -0
  641. pyrogram/raw/base/secure_value.py +65 -0
  642. pyrogram/raw/base/secure_value_error.py +61 -0
  643. pyrogram/raw/base/secure_value_hash.py +53 -0
  644. pyrogram/raw/base/secure_value_type.py +65 -0
  645. pyrogram/raw/base/send_as_peer.py +53 -0
  646. pyrogram/raw/base/send_message_action.py +70 -0
  647. pyrogram/raw/base/server_dh_inner_data.py +53 -0
  648. pyrogram/raw/base/server_dh_params.py +64 -0
  649. pyrogram/raw/base/set_client_dh_params_answer.py +65 -0
  650. pyrogram/raw/base/shipping_option.py +53 -0
  651. pyrogram/raw/base/simple_web_view_result.py +63 -0
  652. pyrogram/raw/base/sponsored_message.py +53 -0
  653. pyrogram/raw/base/stats/__init__.py +27 -0
  654. pyrogram/raw/base/stats/broadcast_stats.py +63 -0
  655. pyrogram/raw/base/stats/megagroup_stats.py +63 -0
  656. pyrogram/raw/base/stats/message_stats.py +63 -0
  657. pyrogram/raw/base/stats_abs_value_and_prev.py +53 -0
  658. pyrogram/raw/base/stats_date_range_days.py +53 -0
  659. pyrogram/raw/base/stats_graph.py +65 -0
  660. pyrogram/raw/base/stats_group_top_admin.py +53 -0
  661. pyrogram/raw/base/stats_group_top_inviter.py +53 -0
  662. pyrogram/raw/base/stats_group_top_poster.py +53 -0
  663. pyrogram/raw/base/stats_percent_value.py +53 -0
  664. pyrogram/raw/base/stats_url.py +53 -0
  665. pyrogram/raw/base/sticker_keyword.py +53 -0
  666. pyrogram/raw/base/sticker_pack.py +53 -0
  667. pyrogram/raw/base/sticker_set.py +53 -0
  668. pyrogram/raw/base/sticker_set_covered.py +66 -0
  669. pyrogram/raw/base/stickers/__init__.py +25 -0
  670. pyrogram/raw/base/stickers/suggested_short_name.py +63 -0
  671. pyrogram/raw/base/storage/__init__.py +25 -0
  672. pyrogram/raw/base/storage/file_type.py +62 -0
  673. pyrogram/raw/base/text_with_entities.py +53 -0
  674. pyrogram/raw/base/theme.py +65 -0
  675. pyrogram/raw/base/theme_settings.py +53 -0
  676. pyrogram/raw/base/top_peer.py +53 -0
  677. pyrogram/raw/base/top_peer_category.py +60 -0
  678. pyrogram/raw/base/top_peer_category_peers.py +53 -0
  679. pyrogram/raw/base/update.py +163 -0
  680. pyrogram/raw/base/updates/__init__.py +27 -0
  681. pyrogram/raw/base/updates/channel_difference.py +65 -0
  682. pyrogram/raw/base/updates/difference.py +66 -0
  683. pyrogram/raw/base/updates/state.py +63 -0
  684. pyrogram/raw/base/updates_t.py +155 -0
  685. pyrogram/raw/base/upload/__init__.py +27 -0
  686. pyrogram/raw/base/upload/cdn_file.py +64 -0
  687. pyrogram/raw/base/upload/file.py +64 -0
  688. pyrogram/raw/base/upload/web_file.py +63 -0
  689. pyrogram/raw/base/url_auth_result.py +66 -0
  690. pyrogram/raw/base/user.py +68 -0
  691. pyrogram/raw/base/user_full.py +53 -0
  692. pyrogram/raw/base/user_profile_photo.py +54 -0
  693. pyrogram/raw/base/user_status.py +58 -0
  694. pyrogram/raw/base/username.py +53 -0
  695. pyrogram/raw/base/users/__init__.py +25 -0
  696. pyrogram/raw/base/users/user_full.py +63 -0
  697. pyrogram/raw/base/video_size.py +55 -0
  698. pyrogram/raw/base/wall_paper.py +66 -0
  699. pyrogram/raw/base/wall_paper_settings.py +53 -0
  700. pyrogram/raw/base/web_authorization.py +53 -0
  701. pyrogram/raw/base/web_document.py +54 -0
  702. pyrogram/raw/base/web_page.py +66 -0
  703. pyrogram/raw/base/web_page_attribute.py +53 -0
  704. pyrogram/raw/base/web_view_message_sent.py +63 -0
  705. pyrogram/raw/base/web_view_result.py +63 -0
  706. pyrogram/raw/core/__init__.py +31 -0
  707. pyrogram/raw/core/future_salt.py +53 -0
  708. pyrogram/raw/core/future_salts.py +63 -0
  709. pyrogram/raw/core/gzip_packed.py +62 -0
  710. pyrogram/raw/core/list.py +26 -0
  711. pyrogram/raw/core/message.py +56 -0
  712. pyrogram/raw/core/msg_container.py +53 -0
  713. pyrogram/raw/core/primitives/__init__.py +24 -0
  714. pyrogram/raw/core/primitives/bool.py +48 -0
  715. pyrogram/raw/core/primitives/bytes.py +55 -0
  716. pyrogram/raw/core/primitives/double.py +32 -0
  717. pyrogram/raw/core/primitives/int.py +45 -0
  718. pyrogram/raw/core/primitives/string.py +31 -0
  719. pyrogram/raw/core/primitives/vector.py +59 -0
  720. pyrogram/raw/core/tl_object.py +82 -0
  721. pyrogram/raw/functions/__init__.py +42 -0
  722. pyrogram/raw/functions/account/__init__.py +111 -0
  723. pyrogram/raw/functions/account/accept_authorization.py +104 -0
  724. pyrogram/raw/functions/account/cancel_password_email.py +67 -0
  725. pyrogram/raw/functions/account/change_authorization_settings.py +92 -0
  726. pyrogram/raw/functions/account/change_phone.py +88 -0
  727. pyrogram/raw/functions/account/check_username.py +72 -0
  728. pyrogram/raw/functions/account/clear_recent_emoji_statuses.py +67 -0
  729. pyrogram/raw/functions/account/confirm_password_email.py +72 -0
  730. pyrogram/raw/functions/account/confirm_phone.py +80 -0
  731. pyrogram/raw/functions/account/create_theme.py +102 -0
  732. pyrogram/raw/functions/account/decline_password_reset.py +67 -0
  733. pyrogram/raw/functions/account/delete_account.py +84 -0
  734. pyrogram/raw/functions/account/delete_auto_save_exceptions.py +67 -0
  735. pyrogram/raw/functions/account/delete_secure_value.py +72 -0
  736. pyrogram/raw/functions/account/finish_takeout_session.py +72 -0
  737. pyrogram/raw/functions/account/get_account_ttl.py +67 -0
  738. pyrogram/raw/functions/account/get_all_secure_values.py +67 -0
  739. pyrogram/raw/functions/account/get_authorization_form.py +88 -0
  740. pyrogram/raw/functions/account/get_authorizations.py +67 -0
  741. pyrogram/raw/functions/account/get_auto_download_settings.py +67 -0
  742. pyrogram/raw/functions/account/get_auto_save_settings.py +67 -0
  743. pyrogram/raw/functions/account/get_chat_themes.py +72 -0
  744. pyrogram/raw/functions/account/get_contact_sign_up_notification.py +67 -0
  745. pyrogram/raw/functions/account/get_content_settings.py +67 -0
  746. pyrogram/raw/functions/account/get_default_emoji_statuses.py +72 -0
  747. pyrogram/raw/functions/account/get_default_group_photo_emojis.py +72 -0
  748. pyrogram/raw/functions/account/get_default_profile_photo_emojis.py +72 -0
  749. pyrogram/raw/functions/account/get_global_privacy_settings.py +67 -0
  750. pyrogram/raw/functions/account/get_multi_wall_papers.py +72 -0
  751. pyrogram/raw/functions/account/get_notify_exceptions.py +82 -0
  752. pyrogram/raw/functions/account/get_notify_settings.py +72 -0
  753. pyrogram/raw/functions/account/get_password.py +67 -0
  754. pyrogram/raw/functions/account/get_password_settings.py +72 -0
  755. pyrogram/raw/functions/account/get_privacy.py +72 -0
  756. pyrogram/raw/functions/account/get_recent_emoji_statuses.py +72 -0
  757. pyrogram/raw/functions/account/get_saved_ringtones.py +72 -0
  758. pyrogram/raw/functions/account/get_secure_value.py +72 -0
  759. pyrogram/raw/functions/account/get_theme.py +80 -0
  760. pyrogram/raw/functions/account/get_themes.py +80 -0
  761. pyrogram/raw/functions/account/get_tmp_password.py +80 -0
  762. pyrogram/raw/functions/account/get_wall_paper.py +72 -0
  763. pyrogram/raw/functions/account/get_wall_papers.py +72 -0
  764. pyrogram/raw/functions/account/get_web_authorizations.py +67 -0
  765. pyrogram/raw/functions/account/init_takeout_session.py +111 -0
  766. pyrogram/raw/functions/account/install_theme.py +101 -0
  767. pyrogram/raw/functions/account/install_wall_paper.py +80 -0
  768. pyrogram/raw/functions/account/register_device.py +112 -0
  769. pyrogram/raw/functions/account/reorder_usernames.py +72 -0
  770. pyrogram/raw/functions/account/report_peer.py +88 -0
  771. pyrogram/raw/functions/account/report_profile_photo.py +96 -0
  772. pyrogram/raw/functions/account/resend_password_email.py +67 -0
  773. pyrogram/raw/functions/account/reset_authorization.py +72 -0
  774. pyrogram/raw/functions/account/reset_notify_settings.py +67 -0
  775. pyrogram/raw/functions/account/reset_password.py +67 -0
  776. pyrogram/raw/functions/account/reset_wall_papers.py +67 -0
  777. pyrogram/raw/functions/account/reset_web_authorization.py +72 -0
  778. pyrogram/raw/functions/account/reset_web_authorizations.py +67 -0
  779. pyrogram/raw/functions/account/save_auto_download_settings.py +86 -0
  780. pyrogram/raw/functions/account/save_auto_save_settings.py +102 -0
  781. pyrogram/raw/functions/account/save_ringtone.py +80 -0
  782. pyrogram/raw/functions/account/save_secure_value.py +80 -0
  783. pyrogram/raw/functions/account/save_theme.py +80 -0
  784. pyrogram/raw/functions/account/save_wall_paper.py +88 -0
  785. pyrogram/raw/functions/account/send_change_phone_code.py +80 -0
  786. pyrogram/raw/functions/account/send_confirm_phone_code.py +80 -0
  787. pyrogram/raw/functions/account/send_verify_email_code.py +80 -0
  788. pyrogram/raw/functions/account/send_verify_phone_code.py +80 -0
  789. pyrogram/raw/functions/account/set_account_ttl.py +72 -0
  790. pyrogram/raw/functions/account/set_authorization_ttl.py +72 -0
  791. pyrogram/raw/functions/account/set_contact_sign_up_notification.py +72 -0
  792. pyrogram/raw/functions/account/set_content_settings.py +72 -0
  793. pyrogram/raw/functions/account/set_global_privacy_settings.py +72 -0
  794. pyrogram/raw/functions/account/set_privacy.py +80 -0
  795. pyrogram/raw/functions/account/toggle_username.py +80 -0
  796. pyrogram/raw/functions/account/unregister_device.py +88 -0
  797. pyrogram/raw/functions/account/update_device_locked.py +72 -0
  798. pyrogram/raw/functions/account/update_emoji_status.py +72 -0
  799. pyrogram/raw/functions/account/update_notify_settings.py +80 -0
  800. pyrogram/raw/functions/account/update_password_settings.py +80 -0
  801. pyrogram/raw/functions/account/update_profile.py +93 -0
  802. pyrogram/raw/functions/account/update_status.py +72 -0
  803. pyrogram/raw/functions/account/update_theme.py +120 -0
  804. pyrogram/raw/functions/account/update_username.py +72 -0
  805. pyrogram/raw/functions/account/upload_ringtone.py +88 -0
  806. pyrogram/raw/functions/account/upload_theme.py +100 -0
  807. pyrogram/raw/functions/account/upload_wall_paper.py +96 -0
  808. pyrogram/raw/functions/account/verify_email.py +80 -0
  809. pyrogram/raw/functions/account/verify_phone.py +88 -0
  810. pyrogram/raw/functions/auth/__init__.py +46 -0
  811. pyrogram/raw/functions/auth/accept_login_token.py +72 -0
  812. pyrogram/raw/functions/auth/bind_temp_auth_key.py +96 -0
  813. pyrogram/raw/functions/auth/cancel_code.py +80 -0
  814. pyrogram/raw/functions/auth/check_password.py +72 -0
  815. pyrogram/raw/functions/auth/check_recovery_password.py +72 -0
  816. pyrogram/raw/functions/auth/drop_temp_auth_keys.py +72 -0
  817. pyrogram/raw/functions/auth/export_authorization.py +72 -0
  818. pyrogram/raw/functions/auth/export_login_token.py +88 -0
  819. pyrogram/raw/functions/auth/import_authorization.py +80 -0
  820. pyrogram/raw/functions/auth/import_bot_authorization.py +96 -0
  821. pyrogram/raw/functions/auth/import_login_token.py +72 -0
  822. pyrogram/raw/functions/auth/import_web_token_authorization.py +88 -0
  823. pyrogram/raw/functions/auth/log_out.py +67 -0
  824. pyrogram/raw/functions/auth/recover_password.py +84 -0
  825. pyrogram/raw/functions/auth/request_firebase_sms.py +100 -0
  826. pyrogram/raw/functions/auth/request_password_recovery.py +67 -0
  827. pyrogram/raw/functions/auth/resend_code.py +80 -0
  828. pyrogram/raw/functions/auth/reset_authorizations.py +67 -0
  829. pyrogram/raw/functions/auth/reset_login_email.py +80 -0
  830. pyrogram/raw/functions/auth/send_code.py +96 -0
  831. pyrogram/raw/functions/auth/sign_in.py +101 -0
  832. pyrogram/raw/functions/auth/sign_up.py +96 -0
  833. pyrogram/raw/functions/bots/__init__.py +37 -0
  834. pyrogram/raw/functions/bots/answer_webhook_json_query.py +80 -0
  835. pyrogram/raw/functions/bots/get_bot_commands.py +80 -0
  836. pyrogram/raw/functions/bots/get_bot_info.py +84 -0
  837. pyrogram/raw/functions/bots/get_bot_menu_button.py +72 -0
  838. pyrogram/raw/functions/bots/reorder_usernames.py +80 -0
  839. pyrogram/raw/functions/bots/reset_bot_commands.py +80 -0
  840. pyrogram/raw/functions/bots/send_custom_request.py +80 -0
  841. pyrogram/raw/functions/bots/set_bot_broadcast_default_admin_rights.py +72 -0
  842. pyrogram/raw/functions/bots/set_bot_commands.py +88 -0
  843. pyrogram/raw/functions/bots/set_bot_group_default_admin_rights.py +72 -0
  844. pyrogram/raw/functions/bots/set_bot_info.py +111 -0
  845. pyrogram/raw/functions/bots/set_bot_menu_button.py +80 -0
  846. pyrogram/raw/functions/bots/toggle_username.py +88 -0
  847. pyrogram/raw/functions/channels/__init__.py +79 -0
  848. pyrogram/raw/functions/channels/check_username.py +80 -0
  849. pyrogram/raw/functions/channels/convert_to_gigagroup.py +72 -0
  850. pyrogram/raw/functions/channels/create_channel.py +134 -0
  851. pyrogram/raw/functions/channels/create_forum_topic.py +118 -0
  852. pyrogram/raw/functions/channels/deactivate_all_usernames.py +72 -0
  853. pyrogram/raw/functions/channels/delete_channel.py +72 -0
  854. pyrogram/raw/functions/channels/delete_history.py +88 -0
  855. pyrogram/raw/functions/channels/delete_messages.py +80 -0
  856. pyrogram/raw/functions/channels/delete_participant_history.py +80 -0
  857. pyrogram/raw/functions/channels/delete_topic_history.py +80 -0
  858. pyrogram/raw/functions/channels/edit_admin.py +96 -0
  859. pyrogram/raw/functions/channels/edit_banned.py +88 -0
  860. pyrogram/raw/functions/channels/edit_creator.py +88 -0
  861. pyrogram/raw/functions/channels/edit_forum_topic.py +118 -0
  862. pyrogram/raw/functions/channels/edit_location.py +88 -0
  863. pyrogram/raw/functions/channels/edit_photo.py +80 -0
  864. pyrogram/raw/functions/channels/edit_title.py +80 -0
  865. pyrogram/raw/functions/channels/export_message_link.py +94 -0
  866. pyrogram/raw/functions/channels/get_admin_log.py +126 -0
  867. pyrogram/raw/functions/channels/get_admined_public_channels.py +78 -0
  868. pyrogram/raw/functions/channels/get_channels.py +72 -0
  869. pyrogram/raw/functions/channels/get_forum_topics.py +115 -0
  870. pyrogram/raw/functions/channels/get_forum_topics_by_id.py +80 -0
  871. pyrogram/raw/functions/channels/get_full_channel.py +72 -0
  872. pyrogram/raw/functions/channels/get_groups_for_discussion.py +67 -0
  873. pyrogram/raw/functions/channels/get_inactive_channels.py +67 -0
  874. pyrogram/raw/functions/channels/get_left_channels.py +72 -0
  875. pyrogram/raw/functions/channels/get_messages.py +80 -0
  876. pyrogram/raw/functions/channels/get_participant.py +80 -0
  877. pyrogram/raw/functions/channels/get_participants.py +104 -0
  878. pyrogram/raw/functions/channels/get_send_as.py +72 -0
  879. pyrogram/raw/functions/channels/get_sponsored_messages.py +72 -0
  880. pyrogram/raw/functions/channels/invite_to_channel.py +80 -0
  881. pyrogram/raw/functions/channels/join_channel.py +72 -0
  882. pyrogram/raw/functions/channels/leave_channel.py +72 -0
  883. pyrogram/raw/functions/channels/read_history.py +80 -0
  884. pyrogram/raw/functions/channels/read_message_contents.py +80 -0
  885. pyrogram/raw/functions/channels/reorder_pinned_forum_topics.py +88 -0
  886. pyrogram/raw/functions/channels/reorder_usernames.py +80 -0
  887. pyrogram/raw/functions/channels/report_anti_spam_false_positive.py +80 -0
  888. pyrogram/raw/functions/channels/report_spam.py +88 -0
  889. pyrogram/raw/functions/channels/set_discussion_group.py +80 -0
  890. pyrogram/raw/functions/channels/set_stickers.py +80 -0
  891. pyrogram/raw/functions/channels/toggle_anti_spam.py +80 -0
  892. pyrogram/raw/functions/channels/toggle_forum.py +80 -0
  893. pyrogram/raw/functions/channels/toggle_join_request.py +80 -0
  894. pyrogram/raw/functions/channels/toggle_join_to_send.py +80 -0
  895. pyrogram/raw/functions/channels/toggle_participants_hidden.py +80 -0
  896. pyrogram/raw/functions/channels/toggle_pre_history_hidden.py +80 -0
  897. pyrogram/raw/functions/channels/toggle_signatures.py +80 -0
  898. pyrogram/raw/functions/channels/toggle_slow_mode.py +80 -0
  899. pyrogram/raw/functions/channels/toggle_username.py +88 -0
  900. pyrogram/raw/functions/channels/update_pinned_forum_topic.py +88 -0
  901. pyrogram/raw/functions/channels/update_username.py +80 -0
  902. pyrogram/raw/functions/channels/view_sponsored_message.py +80 -0
  903. pyrogram/raw/functions/chatlists/__init__.py +35 -0
  904. pyrogram/raw/functions/chatlists/check_chatlist_invite.py +72 -0
  905. pyrogram/raw/functions/chatlists/delete_exported_invite.py +80 -0
  906. pyrogram/raw/functions/chatlists/edit_exported_invite.py +101 -0
  907. pyrogram/raw/functions/chatlists/export_chatlist_invite.py +88 -0
  908. pyrogram/raw/functions/chatlists/get_chatlist_updates.py +72 -0
  909. pyrogram/raw/functions/chatlists/get_exported_invites.py +72 -0
  910. pyrogram/raw/functions/chatlists/get_leave_chatlist_suggestions.py +72 -0
  911. pyrogram/raw/functions/chatlists/hide_chatlist_updates.py +72 -0
  912. pyrogram/raw/functions/chatlists/join_chatlist_invite.py +80 -0
  913. pyrogram/raw/functions/chatlists/join_chatlist_updates.py +80 -0
  914. pyrogram/raw/functions/chatlists/leave_chatlist.py +80 -0
  915. pyrogram/raw/functions/contacts/__init__.py +47 -0
  916. pyrogram/raw/functions/contacts/accept_contact.py +72 -0
  917. pyrogram/raw/functions/contacts/add_contact.py +104 -0
  918. pyrogram/raw/functions/contacts/block.py +72 -0
  919. pyrogram/raw/functions/contacts/block_from_replies.py +92 -0
  920. pyrogram/raw/functions/contacts/delete_by_phones.py +72 -0
  921. pyrogram/raw/functions/contacts/delete_contacts.py +72 -0
  922. pyrogram/raw/functions/contacts/export_contact_token.py +67 -0
  923. pyrogram/raw/functions/contacts/get_blocked.py +80 -0
  924. pyrogram/raw/functions/contacts/get_contact_i_ds.py +72 -0
  925. pyrogram/raw/functions/contacts/get_contacts.py +72 -0
  926. pyrogram/raw/functions/contacts/get_located.py +89 -0
  927. pyrogram/raw/functions/contacts/get_saved.py +67 -0
  928. pyrogram/raw/functions/contacts/get_statuses.py +67 -0
  929. pyrogram/raw/functions/contacts/get_top_peers.py +138 -0
  930. pyrogram/raw/functions/contacts/import_contact_token.py +72 -0
  931. pyrogram/raw/functions/contacts/import_contacts.py +72 -0
  932. pyrogram/raw/functions/contacts/reset_saved.py +67 -0
  933. pyrogram/raw/functions/contacts/reset_top_peer_rating.py +80 -0
  934. pyrogram/raw/functions/contacts/resolve_phone.py +72 -0
  935. pyrogram/raw/functions/contacts/resolve_username.py +72 -0
  936. pyrogram/raw/functions/contacts/search.py +80 -0
  937. pyrogram/raw/functions/contacts/toggle_top_peers.py +72 -0
  938. pyrogram/raw/functions/contacts/unblock.py +72 -0
  939. pyrogram/raw/functions/contest/__init__.py +25 -0
  940. pyrogram/raw/functions/contest/save_developer_info.py +104 -0
  941. pyrogram/raw/functions/destroy_auth_key.py +67 -0
  942. pyrogram/raw/functions/destroy_session.py +72 -0
  943. pyrogram/raw/functions/folders/__init__.py +25 -0
  944. pyrogram/raw/functions/folders/edit_peer_folders.py +72 -0
  945. pyrogram/raw/functions/get_future_salts.py +72 -0
  946. pyrogram/raw/functions/help/__init__.py +47 -0
  947. pyrogram/raw/functions/help/accept_terms_of_service.py +72 -0
  948. pyrogram/raw/functions/help/dismiss_suggestion.py +80 -0
  949. pyrogram/raw/functions/help/edit_user_info.py +88 -0
  950. pyrogram/raw/functions/help/get_app_changelog.py +72 -0
  951. pyrogram/raw/functions/help/get_app_config.py +72 -0
  952. pyrogram/raw/functions/help/get_app_update.py +72 -0
  953. pyrogram/raw/functions/help/get_cdn_config.py +67 -0
  954. pyrogram/raw/functions/help/get_config.py +67 -0
  955. pyrogram/raw/functions/help/get_countries_list.py +80 -0
  956. pyrogram/raw/functions/help/get_deep_link_info.py +72 -0
  957. pyrogram/raw/functions/help/get_invite_text.py +67 -0
  958. pyrogram/raw/functions/help/get_nearest_dc.py +67 -0
  959. pyrogram/raw/functions/help/get_passport_config.py +72 -0
  960. pyrogram/raw/functions/help/get_premium_promo.py +67 -0
  961. pyrogram/raw/functions/help/get_promo_data.py +67 -0
  962. pyrogram/raw/functions/help/get_recent_me_urls.py +72 -0
  963. pyrogram/raw/functions/help/get_support.py +67 -0
  964. pyrogram/raw/functions/help/get_support_name.py +67 -0
  965. pyrogram/raw/functions/help/get_terms_of_service_update.py +67 -0
  966. pyrogram/raw/functions/help/get_user_info.py +72 -0
  967. pyrogram/raw/functions/help/hide_promo_data.py +72 -0
  968. pyrogram/raw/functions/help/save_app_log.py +72 -0
  969. pyrogram/raw/functions/help/set_bot_updates_status.py +80 -0
  970. pyrogram/raw/functions/init_connection.py +150 -0
  971. pyrogram/raw/functions/invoke_after_msg.py +80 -0
  972. pyrogram/raw/functions/invoke_after_msgs.py +80 -0
  973. pyrogram/raw/functions/invoke_with_layer.py +80 -0
  974. pyrogram/raw/functions/invoke_with_messages_range.py +80 -0
  975. pyrogram/raw/functions/invoke_with_takeout.py +80 -0
  976. pyrogram/raw/functions/invoke_without_updates.py +72 -0
  977. pyrogram/raw/functions/langpack/__init__.py +29 -0
  978. pyrogram/raw/functions/langpack/get_difference.py +88 -0
  979. pyrogram/raw/functions/langpack/get_lang_pack.py +80 -0
  980. pyrogram/raw/functions/langpack/get_language.py +80 -0
  981. pyrogram/raw/functions/langpack/get_languages.py +72 -0
  982. pyrogram/raw/functions/langpack/get_strings.py +88 -0
  983. pyrogram/raw/functions/messages/__init__.py +212 -0
  984. pyrogram/raw/functions/messages/accept_encryption.py +88 -0
  985. pyrogram/raw/functions/messages/accept_url_auth.py +109 -0
  986. pyrogram/raw/functions/messages/add_chat_user.py +88 -0
  987. pyrogram/raw/functions/messages/check_chat_invite.py +72 -0
  988. pyrogram/raw/functions/messages/check_history_import.py +72 -0
  989. pyrogram/raw/functions/messages/check_history_import_peer.py +72 -0
  990. pyrogram/raw/functions/messages/clear_all_drafts.py +67 -0
  991. pyrogram/raw/functions/messages/clear_recent_reactions.py +67 -0
  992. pyrogram/raw/functions/messages/clear_recent_stickers.py +72 -0
  993. pyrogram/raw/functions/messages/create_chat.py +91 -0
  994. pyrogram/raw/functions/messages/delete_chat.py +72 -0
  995. pyrogram/raw/functions/messages/delete_chat_user.py +88 -0
  996. pyrogram/raw/functions/messages/delete_exported_chat_invite.py +80 -0
  997. pyrogram/raw/functions/messages/delete_history.py +112 -0
  998. pyrogram/raw/functions/messages/delete_messages.py +80 -0
  999. pyrogram/raw/functions/messages/delete_phone_call_history.py +72 -0
  1000. pyrogram/raw/functions/messages/delete_revoked_exported_chat_invites.py +80 -0
  1001. pyrogram/raw/functions/messages/delete_scheduled_messages.py +80 -0
  1002. pyrogram/raw/functions/messages/discard_encryption.py +80 -0
  1003. pyrogram/raw/functions/messages/edit_chat_about.py +80 -0
  1004. pyrogram/raw/functions/messages/edit_chat_admin.py +88 -0
  1005. pyrogram/raw/functions/messages/edit_chat_default_banned_rights.py +80 -0
  1006. pyrogram/raw/functions/messages/edit_chat_photo.py +80 -0
  1007. pyrogram/raw/functions/messages/edit_chat_title.py +80 -0
  1008. pyrogram/raw/functions/messages/edit_exported_chat_invite.py +124 -0
  1009. pyrogram/raw/functions/messages/edit_inline_bot_message.py +119 -0
  1010. pyrogram/raw/functions/messages/edit_message.py +136 -0
  1011. pyrogram/raw/functions/messages/export_chat_invite.py +113 -0
  1012. pyrogram/raw/functions/messages/fave_sticker.py +80 -0
  1013. pyrogram/raw/functions/messages/forward_messages.py +162 -0
  1014. pyrogram/raw/functions/messages/get_admins_with_invites.py +72 -0
  1015. pyrogram/raw/functions/messages/get_all_chats.py +72 -0
  1016. pyrogram/raw/functions/messages/get_all_drafts.py +67 -0
  1017. pyrogram/raw/functions/messages/get_all_stickers.py +72 -0
  1018. pyrogram/raw/functions/messages/get_archived_stickers.py +94 -0
  1019. pyrogram/raw/functions/messages/get_attach_menu_bot.py +72 -0
  1020. pyrogram/raw/functions/messages/get_attach_menu_bots.py +72 -0
  1021. pyrogram/raw/functions/messages/get_attached_stickers.py +72 -0
  1022. pyrogram/raw/functions/messages/get_available_reactions.py +72 -0
  1023. pyrogram/raw/functions/messages/get_bot_app.py +80 -0
  1024. pyrogram/raw/functions/messages/get_bot_callback_answer.py +107 -0
  1025. pyrogram/raw/functions/messages/get_chat_invite_importers.py +122 -0
  1026. pyrogram/raw/functions/messages/get_chats.py +72 -0
  1027. pyrogram/raw/functions/messages/get_common_chats.py +88 -0
  1028. pyrogram/raw/functions/messages/get_custom_emoji_documents.py +72 -0
  1029. pyrogram/raw/functions/messages/get_default_history_ttl.py +67 -0
  1030. pyrogram/raw/functions/messages/get_dh_config.py +80 -0
  1031. pyrogram/raw/functions/messages/get_dialog_filters.py +67 -0
  1032. pyrogram/raw/functions/messages/get_dialog_unread_marks.py +67 -0
  1033. pyrogram/raw/functions/messages/get_dialogs.py +121 -0
  1034. pyrogram/raw/functions/messages/get_discussion_message.py +80 -0
  1035. pyrogram/raw/functions/messages/get_document_by_hash.py +88 -0
  1036. pyrogram/raw/functions/messages/get_emoji_groups.py +72 -0
  1037. pyrogram/raw/functions/messages/get_emoji_keywords.py +72 -0
  1038. pyrogram/raw/functions/messages/get_emoji_keywords_difference.py +80 -0
  1039. pyrogram/raw/functions/messages/get_emoji_keywords_languages.py +72 -0
  1040. pyrogram/raw/functions/messages/get_emoji_profile_photo_groups.py +72 -0
  1041. pyrogram/raw/functions/messages/get_emoji_status_groups.py +72 -0
  1042. pyrogram/raw/functions/messages/get_emoji_stickers.py +72 -0
  1043. pyrogram/raw/functions/messages/get_emoji_url.py +72 -0
  1044. pyrogram/raw/functions/messages/get_exported_chat_invite.py +80 -0
  1045. pyrogram/raw/functions/messages/get_exported_chat_invites.py +114 -0
  1046. pyrogram/raw/functions/messages/get_extended_media.py +80 -0
  1047. pyrogram/raw/functions/messages/get_faved_stickers.py +72 -0
  1048. pyrogram/raw/functions/messages/get_featured_emoji_stickers.py +72 -0
  1049. pyrogram/raw/functions/messages/get_featured_stickers.py +72 -0
  1050. pyrogram/raw/functions/messages/get_full_chat.py +72 -0
  1051. pyrogram/raw/functions/messages/get_game_high_scores.py +88 -0
  1052. pyrogram/raw/functions/messages/get_history.py +128 -0
  1053. pyrogram/raw/functions/messages/get_inline_bot_results.py +108 -0
  1054. pyrogram/raw/functions/messages/get_inline_game_high_scores.py +80 -0
  1055. pyrogram/raw/functions/messages/get_mask_stickers.py +72 -0
  1056. pyrogram/raw/functions/messages/get_message_edit_data.py +80 -0
  1057. pyrogram/raw/functions/messages/get_message_reactions_list.py +109 -0
  1058. pyrogram/raw/functions/messages/get_message_read_participants.py +80 -0
  1059. pyrogram/raw/functions/messages/get_messages.py +72 -0
  1060. pyrogram/raw/functions/messages/get_messages_reactions.py +80 -0
  1061. pyrogram/raw/functions/messages/get_messages_views.py +88 -0
  1062. pyrogram/raw/functions/messages/get_old_featured_stickers.py +88 -0
  1063. pyrogram/raw/functions/messages/get_onlines.py +72 -0
  1064. pyrogram/raw/functions/messages/get_peer_dialogs.py +72 -0
  1065. pyrogram/raw/functions/messages/get_peer_settings.py +72 -0
  1066. pyrogram/raw/functions/messages/get_pinned_dialogs.py +72 -0
  1067. pyrogram/raw/functions/messages/get_poll_results.py +80 -0
  1068. pyrogram/raw/functions/messages/get_poll_votes.py +108 -0
  1069. pyrogram/raw/functions/messages/get_recent_locations.py +88 -0
  1070. pyrogram/raw/functions/messages/get_recent_reactions.py +80 -0
  1071. pyrogram/raw/functions/messages/get_recent_stickers.py +80 -0
  1072. pyrogram/raw/functions/messages/get_replies.py +136 -0
  1073. pyrogram/raw/functions/messages/get_saved_gifs.py +72 -0
  1074. pyrogram/raw/functions/messages/get_scheduled_history.py +80 -0
  1075. pyrogram/raw/functions/messages/get_scheduled_messages.py +80 -0
  1076. pyrogram/raw/functions/messages/get_search_counters.py +91 -0
  1077. pyrogram/raw/functions/messages/get_search_results_calendar.py +96 -0
  1078. pyrogram/raw/functions/messages/get_search_results_positions.py +96 -0
  1079. pyrogram/raw/functions/messages/get_split_ranges.py +67 -0
  1080. pyrogram/raw/functions/messages/get_sticker_set.py +80 -0
  1081. pyrogram/raw/functions/messages/get_stickers.py +80 -0
  1082. pyrogram/raw/functions/messages/get_suggested_dialog_filters.py +67 -0
  1083. pyrogram/raw/functions/messages/get_top_reactions.py +80 -0
  1084. pyrogram/raw/functions/messages/get_unread_mentions.py +123 -0
  1085. pyrogram/raw/functions/messages/get_unread_reactions.py +123 -0
  1086. pyrogram/raw/functions/messages/get_web_page.py +80 -0
  1087. pyrogram/raw/functions/messages/get_web_page_preview.py +84 -0
  1088. pyrogram/raw/functions/messages/hide_all_chat_join_requests.py +89 -0
  1089. pyrogram/raw/functions/messages/hide_chat_join_request.py +88 -0
  1090. pyrogram/raw/functions/messages/hide_peer_settings_bar.py +72 -0
  1091. pyrogram/raw/functions/messages/import_chat_invite.py +72 -0
  1092. pyrogram/raw/functions/messages/init_history_import.py +88 -0
  1093. pyrogram/raw/functions/messages/install_sticker_set.py +80 -0
  1094. pyrogram/raw/functions/messages/mark_dialog_unread.py +80 -0
  1095. pyrogram/raw/functions/messages/migrate_chat.py +72 -0
  1096. pyrogram/raw/functions/messages/prolong_web_view.py +124 -0
  1097. pyrogram/raw/functions/messages/rate_transcribed_audio.py +96 -0
  1098. pyrogram/raw/functions/messages/read_discussion.py +88 -0
  1099. pyrogram/raw/functions/messages/read_encrypted_history.py +80 -0
  1100. pyrogram/raw/functions/messages/read_featured_stickers.py +72 -0
  1101. pyrogram/raw/functions/messages/read_history.py +80 -0
  1102. pyrogram/raw/functions/messages/read_mentions.py +83 -0
  1103. pyrogram/raw/functions/messages/read_message_contents.py +72 -0
  1104. pyrogram/raw/functions/messages/read_reactions.py +83 -0
  1105. pyrogram/raw/functions/messages/received_messages.py +72 -0
  1106. pyrogram/raw/functions/messages/received_queue.py +72 -0
  1107. pyrogram/raw/functions/messages/reorder_pinned_dialogs.py +88 -0
  1108. pyrogram/raw/functions/messages/reorder_sticker_sets.py +86 -0
  1109. pyrogram/raw/functions/messages/report.py +96 -0
  1110. pyrogram/raw/functions/messages/report_encrypted_spam.py +72 -0
  1111. pyrogram/raw/functions/messages/report_reaction.py +88 -0
  1112. pyrogram/raw/functions/messages/report_spam.py +72 -0
  1113. pyrogram/raw/functions/messages/request_app_web_view.py +115 -0
  1114. pyrogram/raw/functions/messages/request_encryption.py +88 -0
  1115. pyrogram/raw/functions/messages/request_simple_web_view.py +106 -0
  1116. pyrogram/raw/functions/messages/request_url_auth.py +103 -0
  1117. pyrogram/raw/functions/messages/request_web_view.py +158 -0
  1118. pyrogram/raw/functions/messages/save_default_send_as.py +80 -0
  1119. pyrogram/raw/functions/messages/save_draft.py +116 -0
  1120. pyrogram/raw/functions/messages/save_gif.py +80 -0
  1121. pyrogram/raw/functions/messages/save_recent_sticker.py +88 -0
  1122. pyrogram/raw/functions/messages/search.py +173 -0
  1123. pyrogram/raw/functions/messages/search_custom_emoji.py +80 -0
  1124. pyrogram/raw/functions/messages/search_global.py +139 -0
  1125. pyrogram/raw/functions/messages/search_sent_media.py +88 -0
  1126. pyrogram/raw/functions/messages/search_sticker_sets.py +88 -0
  1127. pyrogram/raw/functions/messages/send_bot_requested_peer.py +96 -0
  1128. pyrogram/raw/functions/messages/send_encrypted.py +96 -0
  1129. pyrogram/raw/functions/messages/send_encrypted_file.py +104 -0
  1130. pyrogram/raw/functions/messages/send_encrypted_service.py +88 -0
  1131. pyrogram/raw/functions/messages/send_inline_bot_result.py +159 -0
  1132. pyrogram/raw/functions/messages/send_media.py +185 -0
  1133. pyrogram/raw/functions/messages/send_message.py +183 -0
  1134. pyrogram/raw/functions/messages/send_multi_media.py +149 -0
  1135. pyrogram/raw/functions/messages/send_reaction.py +104 -0
  1136. pyrogram/raw/functions/messages/send_scheduled_messages.py +80 -0
  1137. pyrogram/raw/functions/messages/send_screenshot_notification.py +88 -0
  1138. pyrogram/raw/functions/messages/send_vote.py +88 -0
  1139. pyrogram/raw/functions/messages/send_web_view_data.py +96 -0
  1140. pyrogram/raw/functions/messages/send_web_view_result_message.py +80 -0
  1141. pyrogram/raw/functions/messages/set_bot_callback_answer.py +106 -0
  1142. pyrogram/raw/functions/messages/set_bot_precheckout_results.py +89 -0
  1143. pyrogram/raw/functions/messages/set_bot_shipping_results.py +93 -0
  1144. pyrogram/raw/functions/messages/set_chat_available_reactions.py +80 -0
  1145. pyrogram/raw/functions/messages/set_chat_theme.py +80 -0
  1146. pyrogram/raw/functions/messages/set_chat_wall_paper.py +103 -0
  1147. pyrogram/raw/functions/messages/set_default_history_ttl.py +72 -0
  1148. pyrogram/raw/functions/messages/set_default_reaction.py +72 -0
  1149. pyrogram/raw/functions/messages/set_encrypted_typing.py +80 -0
  1150. pyrogram/raw/functions/messages/set_game_score.py +110 -0
  1151. pyrogram/raw/functions/messages/set_history_ttl.py +80 -0
  1152. pyrogram/raw/functions/messages/set_inline_bot_results.py +131 -0
  1153. pyrogram/raw/functions/messages/set_inline_game_score.py +102 -0
  1154. pyrogram/raw/functions/messages/set_typing.py +91 -0
  1155. pyrogram/raw/functions/messages/start_bot.py +96 -0
  1156. pyrogram/raw/functions/messages/start_history_import.py +80 -0
  1157. pyrogram/raw/functions/messages/toggle_bot_in_attach_menu.py +88 -0
  1158. pyrogram/raw/functions/messages/toggle_dialog_pin.py +80 -0
  1159. pyrogram/raw/functions/messages/toggle_no_forwards.py +80 -0
  1160. pyrogram/raw/functions/messages/toggle_peer_translations.py +80 -0
  1161. pyrogram/raw/functions/messages/toggle_sticker_sets.py +92 -0
  1162. pyrogram/raw/functions/messages/transcribe_audio.py +80 -0
  1163. pyrogram/raw/functions/messages/translate_text.py +104 -0
  1164. pyrogram/raw/functions/messages/uninstall_sticker_set.py +72 -0
  1165. pyrogram/raw/functions/messages/unpin_all_messages.py +83 -0
  1166. pyrogram/raw/functions/messages/update_dialog_filter.py +84 -0
  1167. pyrogram/raw/functions/messages/update_dialog_filters_order.py +72 -0
  1168. pyrogram/raw/functions/messages/update_pinned_message.py +100 -0
  1169. pyrogram/raw/functions/messages/upload_encrypted_file.py +80 -0
  1170. pyrogram/raw/functions/messages/upload_imported_media.py +96 -0
  1171. pyrogram/raw/functions/messages/upload_media.py +80 -0
  1172. pyrogram/raw/functions/payments/__init__.py +35 -0
  1173. pyrogram/raw/functions/payments/assign_app_store_transaction.py +80 -0
  1174. pyrogram/raw/functions/payments/assign_play_market_transaction.py +80 -0
  1175. pyrogram/raw/functions/payments/can_purchase_premium.py +72 -0
  1176. pyrogram/raw/functions/payments/clear_saved_info.py +78 -0
  1177. pyrogram/raw/functions/payments/export_invoice.py +72 -0
  1178. pyrogram/raw/functions/payments/get_bank_card_data.py +72 -0
  1179. pyrogram/raw/functions/payments/get_payment_form.py +84 -0
  1180. pyrogram/raw/functions/payments/get_payment_receipt.py +80 -0
  1181. pyrogram/raw/functions/payments/get_saved_info.py +67 -0
  1182. pyrogram/raw/functions/payments/send_payment_form.py +117 -0
  1183. pyrogram/raw/functions/payments/validate_requested_info.py +88 -0
  1184. pyrogram/raw/functions/phone/__init__.py +55 -0
  1185. pyrogram/raw/functions/phone/accept_call.py +88 -0
  1186. pyrogram/raw/functions/phone/check_group_call.py +80 -0
  1187. pyrogram/raw/functions/phone/confirm_call.py +96 -0
  1188. pyrogram/raw/functions/phone/create_group_call.py +106 -0
  1189. pyrogram/raw/functions/phone/discard_call.py +104 -0
  1190. pyrogram/raw/functions/phone/discard_group_call.py +72 -0
  1191. pyrogram/raw/functions/phone/edit_group_call_participant.py +136 -0
  1192. pyrogram/raw/functions/phone/edit_group_call_title.py +80 -0
  1193. pyrogram/raw/functions/phone/export_group_call_invite.py +80 -0
  1194. pyrogram/raw/functions/phone/get_call_config.py +67 -0
  1195. pyrogram/raw/functions/phone/get_group_call.py +80 -0
  1196. pyrogram/raw/functions/phone/get_group_call_join_as.py +72 -0
  1197. pyrogram/raw/functions/phone/get_group_call_stream_channels.py +72 -0
  1198. pyrogram/raw/functions/phone/get_group_call_stream_rtmp_url.py +80 -0
  1199. pyrogram/raw/functions/phone/get_group_participants.py +104 -0
  1200. pyrogram/raw/functions/phone/invite_to_group_call.py +80 -0
  1201. pyrogram/raw/functions/phone/join_group_call.py +111 -0
  1202. pyrogram/raw/functions/phone/join_group_call_presentation.py +80 -0
  1203. pyrogram/raw/functions/phone/leave_group_call.py +80 -0
  1204. pyrogram/raw/functions/phone/leave_group_call_presentation.py +72 -0
  1205. pyrogram/raw/functions/phone/received_call.py +72 -0
  1206. pyrogram/raw/functions/phone/request_call.py +104 -0
  1207. pyrogram/raw/functions/phone/save_call_debug.py +80 -0
  1208. pyrogram/raw/functions/phone/save_call_log.py +80 -0
  1209. pyrogram/raw/functions/phone/save_default_group_call_join_as.py +80 -0
  1210. pyrogram/raw/functions/phone/send_signaling_data.py +80 -0
  1211. pyrogram/raw/functions/phone/set_call_rating.py +96 -0
  1212. pyrogram/raw/functions/phone/start_scheduled_group_call.py +72 -0
  1213. pyrogram/raw/functions/phone/toggle_group_call_record.py +104 -0
  1214. pyrogram/raw/functions/phone/toggle_group_call_settings.py +89 -0
  1215. pyrogram/raw/functions/phone/toggle_group_call_start_subscription.py +80 -0
  1216. pyrogram/raw/functions/photos/__init__.py +29 -0
  1217. pyrogram/raw/functions/photos/delete_photos.py +72 -0
  1218. pyrogram/raw/functions/photos/get_user_photos.py +96 -0
  1219. pyrogram/raw/functions/photos/update_profile_photo.py +90 -0
  1220. pyrogram/raw/functions/photos/upload_contact_profile_photo.py +125 -0
  1221. pyrogram/raw/functions/photos/upload_profile_photo.py +121 -0
  1222. pyrogram/raw/functions/ping.py +72 -0
  1223. pyrogram/raw/functions/ping_delay_disconnect.py +80 -0
  1224. pyrogram/raw/functions/req_dh_params.py +112 -0
  1225. pyrogram/raw/functions/req_pq.py +72 -0
  1226. pyrogram/raw/functions/req_pq_multi.py +72 -0
  1227. pyrogram/raw/functions/rpc_drop_answer.py +72 -0
  1228. pyrogram/raw/functions/set_client_dh_params.py +88 -0
  1229. pyrogram/raw/functions/stats/__init__.py +29 -0
  1230. pyrogram/raw/functions/stats/get_broadcast_stats.py +80 -0
  1231. pyrogram/raw/functions/stats/get_megagroup_stats.py +80 -0
  1232. pyrogram/raw/functions/stats/get_message_public_forwards.py +112 -0
  1233. pyrogram/raw/functions/stats/get_message_stats.py +88 -0
  1234. pyrogram/raw/functions/stats/load_async_graph.py +83 -0
  1235. pyrogram/raw/functions/stickers/__init__.py +34 -0
  1236. pyrogram/raw/functions/stickers/add_sticker_to_set.py +80 -0
  1237. pyrogram/raw/functions/stickers/change_sticker.py +102 -0
  1238. pyrogram/raw/functions/stickers/change_sticker_position.py +80 -0
  1239. pyrogram/raw/functions/stickers/check_short_name.py +72 -0
  1240. pyrogram/raw/functions/stickers/create_sticker_set.py +147 -0
  1241. pyrogram/raw/functions/stickers/delete_sticker_set.py +72 -0
  1242. pyrogram/raw/functions/stickers/remove_sticker_from_set.py +72 -0
  1243. pyrogram/raw/functions/stickers/rename_sticker_set.py +80 -0
  1244. pyrogram/raw/functions/stickers/set_sticker_set_thumb.py +93 -0
  1245. pyrogram/raw/functions/stickers/suggest_short_name.py +72 -0
  1246. pyrogram/raw/functions/updates/__init__.py +27 -0
  1247. pyrogram/raw/functions/updates/get_channel_difference.py +104 -0
  1248. pyrogram/raw/functions/updates/get_difference.py +99 -0
  1249. pyrogram/raw/functions/updates/get_state.py +67 -0
  1250. pyrogram/raw/functions/upload/__init__.py +32 -0
  1251. pyrogram/raw/functions/upload/get_cdn_file.py +88 -0
  1252. pyrogram/raw/functions/upload/get_cdn_file_hashes.py +80 -0
  1253. pyrogram/raw/functions/upload/get_file.py +102 -0
  1254. pyrogram/raw/functions/upload/get_file_hashes.py +80 -0
  1255. pyrogram/raw/functions/upload/get_web_file.py +88 -0
  1256. pyrogram/raw/functions/upload/reupload_cdn_file.py +80 -0
  1257. pyrogram/raw/functions/upload/save_big_file_part.py +96 -0
  1258. pyrogram/raw/functions/upload/save_file_part.py +88 -0
  1259. pyrogram/raw/functions/users/__init__.py +27 -0
  1260. pyrogram/raw/functions/users/get_full_user.py +72 -0
  1261. pyrogram/raw/functions/users/get_users.py +72 -0
  1262. pyrogram/raw/functions/users/set_secure_value_errors.py +80 -0
  1263. pyrogram/raw/types/__init__.py +959 -0
  1264. pyrogram/raw/types/access_point_rule.py +88 -0
  1265. pyrogram/raw/types/account/__init__.py +52 -0
  1266. pyrogram/raw/types/account/authorization_form.py +116 -0
  1267. pyrogram/raw/types/account/authorizations.py +89 -0
  1268. pyrogram/raw/types/account/auto_download_settings.py +97 -0
  1269. pyrogram/raw/types/account/auto_save_settings.py +121 -0
  1270. pyrogram/raw/types/account/content_settings.py +87 -0
  1271. pyrogram/raw/types/account/email_verified.py +81 -0
  1272. pyrogram/raw/types/account/email_verified_login.py +89 -0
  1273. pyrogram/raw/types/account/emoji_statuses.py +90 -0
  1274. pyrogram/raw/types/account/emoji_statuses_not_modified.py +77 -0
  1275. pyrogram/raw/types/account/password.py +181 -0
  1276. pyrogram/raw/types/account/password_input_settings.py +113 -0
  1277. pyrogram/raw/types/account/password_settings.py +94 -0
  1278. pyrogram/raw/types/account/privacy_rules.py +98 -0
  1279. pyrogram/raw/types/account/reset_password_failed_wait.py +81 -0
  1280. pyrogram/raw/types/account/reset_password_ok.py +76 -0
  1281. pyrogram/raw/types/account/reset_password_requested_wait.py +81 -0
  1282. pyrogram/raw/types/account/saved_ringtone.py +76 -0
  1283. pyrogram/raw/types/account/saved_ringtone_converted.py +81 -0
  1284. pyrogram/raw/types/account/saved_ringtones.py +89 -0
  1285. pyrogram/raw/types/account/saved_ringtones_not_modified.py +76 -0
  1286. pyrogram/raw/types/account/sent_email_code.py +89 -0
  1287. pyrogram/raw/types/account/takeout.py +81 -0
  1288. pyrogram/raw/types/account/themes.py +90 -0
  1289. pyrogram/raw/types/account/themes_not_modified.py +77 -0
  1290. pyrogram/raw/types/account/tmp_password.py +89 -0
  1291. pyrogram/raw/types/account/wall_papers.py +89 -0
  1292. pyrogram/raw/types/account/wall_papers_not_modified.py +76 -0
  1293. pyrogram/raw/types/account/web_authorizations.py +89 -0
  1294. pyrogram/raw/types/account_days_ttl.py +81 -0
  1295. pyrogram/raw/types/app_web_view_result_url.py +81 -0
  1296. pyrogram/raw/types/attach_menu_bot.py +116 -0
  1297. pyrogram/raw/types/attach_menu_bot_icon.py +92 -0
  1298. pyrogram/raw/types/attach_menu_bot_icon_color.py +80 -0
  1299. pyrogram/raw/types/attach_menu_bots.py +97 -0
  1300. pyrogram/raw/types/attach_menu_bots_bot.py +89 -0
  1301. pyrogram/raw/types/attach_menu_bots_not_modified.py +76 -0
  1302. pyrogram/raw/types/attach_menu_peer_type_bot_pm.py +67 -0
  1303. pyrogram/raw/types/attach_menu_peer_type_broadcast.py +67 -0
  1304. pyrogram/raw/types/attach_menu_peer_type_chat.py +67 -0
  1305. pyrogram/raw/types/attach_menu_peer_type_pm.py +67 -0
  1306. pyrogram/raw/types/attach_menu_peer_type_same_bot_pm.py +67 -0
  1307. pyrogram/raw/types/auth/__init__.py +48 -0
  1308. pyrogram/raw/types/auth/authorization.py +122 -0
  1309. pyrogram/raw/types/auth/authorization_sign_up_required.py +91 -0
  1310. pyrogram/raw/types/auth/code_type_call.py +67 -0
  1311. pyrogram/raw/types/auth/code_type_flash_call.py +67 -0
  1312. pyrogram/raw/types/auth/code_type_fragment_sms.py +67 -0
  1313. pyrogram/raw/types/auth/code_type_missed_call.py +67 -0
  1314. pyrogram/raw/types/auth/code_type_sms.py +67 -0
  1315. pyrogram/raw/types/auth/exported_authorization.py +89 -0
  1316. pyrogram/raw/types/auth/logged_out.py +84 -0
  1317. pyrogram/raw/types/auth/login_token.py +90 -0
  1318. pyrogram/raw/types/auth/login_token_migrate_to.py +90 -0
  1319. pyrogram/raw/types/auth/login_token_success.py +82 -0
  1320. pyrogram/raw/types/auth/password_recovery.py +81 -0
  1321. pyrogram/raw/types/auth/sent_code.py +115 -0
  1322. pyrogram/raw/types/auth/sent_code_success.py +86 -0
  1323. pyrogram/raw/types/auth/sent_code_type_app.py +72 -0
  1324. pyrogram/raw/types/auth/sent_code_type_call.py +72 -0
  1325. pyrogram/raw/types/auth/sent_code_type_email_code.py +112 -0
  1326. pyrogram/raw/types/auth/sent_code_type_firebase_sms.py +101 -0
  1327. pyrogram/raw/types/auth/sent_code_type_flash_call.py +72 -0
  1328. pyrogram/raw/types/auth/sent_code_type_fragment_sms.py +80 -0
  1329. pyrogram/raw/types/auth/sent_code_type_missed_call.py +80 -0
  1330. pyrogram/raw/types/auth/sent_code_type_set_up_email_required.py +78 -0
  1331. pyrogram/raw/types/auth/sent_code_type_sms.py +72 -0
  1332. pyrogram/raw/types/authorization.py +201 -0
  1333. pyrogram/raw/types/auto_download_settings.py +122 -0
  1334. pyrogram/raw/types/auto_save_exception.py +80 -0
  1335. pyrogram/raw/types/auto_save_settings.py +87 -0
  1336. pyrogram/raw/types/available_reaction.py +154 -0
  1337. pyrogram/raw/types/bad_msg_notification.py +88 -0
  1338. pyrogram/raw/types/bad_server_salt.py +96 -0
  1339. pyrogram/raw/types/bank_card_open_url.py +80 -0
  1340. pyrogram/raw/types/base_theme_arctic.py +67 -0
  1341. pyrogram/raw/types/base_theme_classic.py +67 -0
  1342. pyrogram/raw/types/base_theme_day.py +67 -0
  1343. pyrogram/raw/types/base_theme_night.py +67 -0
  1344. pyrogram/raw/types/base_theme_tinted.py +67 -0
  1345. pyrogram/raw/types/bind_auth_key_inner.py +104 -0
  1346. pyrogram/raw/types/bot_app.py +132 -0
  1347. pyrogram/raw/types/bot_app_not_modified.py +67 -0
  1348. pyrogram/raw/types/bot_command.py +89 -0
  1349. pyrogram/raw/types/bot_command_scope_chat_admins.py +67 -0
  1350. pyrogram/raw/types/bot_command_scope_chats.py +67 -0
  1351. pyrogram/raw/types/bot_command_scope_default.py +67 -0
  1352. pyrogram/raw/types/bot_command_scope_peer.py +72 -0
  1353. pyrogram/raw/types/bot_command_scope_peer_admins.py +72 -0
  1354. pyrogram/raw/types/bot_command_scope_peer_user.py +80 -0
  1355. pyrogram/raw/types/bot_command_scope_users.py +67 -0
  1356. pyrogram/raw/types/bot_info.py +124 -0
  1357. pyrogram/raw/types/bot_inline_media_result.py +128 -0
  1358. pyrogram/raw/types/bot_inline_message_media_auto.py +94 -0
  1359. pyrogram/raw/types/bot_inline_message_media_contact.py +108 -0
  1360. pyrogram/raw/types/bot_inline_message_media_geo.py +111 -0
  1361. pyrogram/raw/types/bot_inline_message_media_invoice.py +130 -0
  1362. pyrogram/raw/types/bot_inline_message_media_venue.py +124 -0
  1363. pyrogram/raw/types/bot_inline_message_text.py +100 -0
  1364. pyrogram/raw/types/bot_inline_result.py +137 -0
  1365. pyrogram/raw/types/bot_menu_button.py +89 -0
  1366. pyrogram/raw/types/bot_menu_button_commands.py +76 -0
  1367. pyrogram/raw/types/bot_menu_button_default.py +76 -0
  1368. pyrogram/raw/types/bots/__init__.py +25 -0
  1369. pyrogram/raw/types/bots/bot_info.py +97 -0
  1370. pyrogram/raw/types/cdn_config.py +81 -0
  1371. pyrogram/raw/types/cdn_public_key.py +80 -0
  1372. pyrogram/raw/types/channel.py +299 -0
  1373. pyrogram/raw/types/channel_admin_log_event.py +96 -0
  1374. pyrogram/raw/types/channel_admin_log_event_action_change_about.py +80 -0
  1375. pyrogram/raw/types/channel_admin_log_event_action_change_available_reactions.py +80 -0
  1376. pyrogram/raw/types/channel_admin_log_event_action_change_history_ttl.py +80 -0
  1377. pyrogram/raw/types/channel_admin_log_event_action_change_linked_chat.py +80 -0
  1378. pyrogram/raw/types/channel_admin_log_event_action_change_location.py +80 -0
  1379. pyrogram/raw/types/channel_admin_log_event_action_change_photo.py +80 -0
  1380. pyrogram/raw/types/channel_admin_log_event_action_change_sticker_set.py +80 -0
  1381. pyrogram/raw/types/channel_admin_log_event_action_change_title.py +80 -0
  1382. pyrogram/raw/types/channel_admin_log_event_action_change_username.py +80 -0
  1383. pyrogram/raw/types/channel_admin_log_event_action_change_usernames.py +80 -0
  1384. pyrogram/raw/types/channel_admin_log_event_action_create_topic.py +72 -0
  1385. pyrogram/raw/types/channel_admin_log_event_action_default_banned_rights.py +80 -0
  1386. pyrogram/raw/types/channel_admin_log_event_action_delete_message.py +72 -0
  1387. pyrogram/raw/types/channel_admin_log_event_action_delete_topic.py +72 -0
  1388. pyrogram/raw/types/channel_admin_log_event_action_discard_group_call.py +72 -0
  1389. pyrogram/raw/types/channel_admin_log_event_action_edit_message.py +80 -0
  1390. pyrogram/raw/types/channel_admin_log_event_action_edit_topic.py +80 -0
  1391. pyrogram/raw/types/channel_admin_log_event_action_exported_invite_delete.py +72 -0
  1392. pyrogram/raw/types/channel_admin_log_event_action_exported_invite_edit.py +80 -0
  1393. pyrogram/raw/types/channel_admin_log_event_action_exported_invite_revoke.py +72 -0
  1394. pyrogram/raw/types/channel_admin_log_event_action_participant_invite.py +72 -0
  1395. pyrogram/raw/types/channel_admin_log_event_action_participant_join.py +67 -0
  1396. pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_invite.py +80 -0
  1397. pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_request.py +80 -0
  1398. pyrogram/raw/types/channel_admin_log_event_action_participant_leave.py +67 -0
  1399. pyrogram/raw/types/channel_admin_log_event_action_participant_mute.py +72 -0
  1400. pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_admin.py +80 -0
  1401. pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_ban.py +80 -0
  1402. pyrogram/raw/types/channel_admin_log_event_action_participant_unmute.py +72 -0
  1403. pyrogram/raw/types/channel_admin_log_event_action_participant_volume.py +72 -0
  1404. pyrogram/raw/types/channel_admin_log_event_action_pin_topic.py +86 -0
  1405. pyrogram/raw/types/channel_admin_log_event_action_send_message.py +72 -0
  1406. pyrogram/raw/types/channel_admin_log_event_action_start_group_call.py +72 -0
  1407. pyrogram/raw/types/channel_admin_log_event_action_stop_poll.py +72 -0
  1408. pyrogram/raw/types/channel_admin_log_event_action_toggle_anti_spam.py +72 -0
  1409. pyrogram/raw/types/channel_admin_log_event_action_toggle_forum.py +72 -0
  1410. pyrogram/raw/types/channel_admin_log_event_action_toggle_group_call_setting.py +72 -0
  1411. pyrogram/raw/types/channel_admin_log_event_action_toggle_invites.py +72 -0
  1412. pyrogram/raw/types/channel_admin_log_event_action_toggle_no_forwards.py +72 -0
  1413. pyrogram/raw/types/channel_admin_log_event_action_toggle_pre_history_hidden.py +72 -0
  1414. pyrogram/raw/types/channel_admin_log_event_action_toggle_signatures.py +72 -0
  1415. pyrogram/raw/types/channel_admin_log_event_action_toggle_slow_mode.py +80 -0
  1416. pyrogram/raw/types/channel_admin_log_event_action_update_pinned.py +72 -0
  1417. pyrogram/raw/types/channel_admin_log_events_filter.py +174 -0
  1418. pyrogram/raw/types/channel_forbidden.py +111 -0
  1419. pyrogram/raw/types/channel_full.py +457 -0
  1420. pyrogram/raw/types/channel_location.py +80 -0
  1421. pyrogram/raw/types/channel_location_empty.py +67 -0
  1422. pyrogram/raw/types/channel_messages_filter.py +80 -0
  1423. pyrogram/raw/types/channel_messages_filter_empty.py +67 -0
  1424. pyrogram/raw/types/channel_participant.py +80 -0
  1425. pyrogram/raw/types/channel_participant_admin.py +128 -0
  1426. pyrogram/raw/types/channel_participant_banned.py +104 -0
  1427. pyrogram/raw/types/channel_participant_creator.py +91 -0
  1428. pyrogram/raw/types/channel_participant_left.py +72 -0
  1429. pyrogram/raw/types/channel_participant_self.py +96 -0
  1430. pyrogram/raw/types/channel_participants_admins.py +67 -0
  1431. pyrogram/raw/types/channel_participants_banned.py +72 -0
  1432. pyrogram/raw/types/channel_participants_bots.py +67 -0
  1433. pyrogram/raw/types/channel_participants_contacts.py +72 -0
  1434. pyrogram/raw/types/channel_participants_kicked.py +72 -0
  1435. pyrogram/raw/types/channel_participants_mentions.py +84 -0
  1436. pyrogram/raw/types/channel_participants_recent.py +67 -0
  1437. pyrogram/raw/types/channel_participants_search.py +72 -0
  1438. pyrogram/raw/types/channels/__init__.py +29 -0
  1439. pyrogram/raw/types/channels/admin_log_results.py +97 -0
  1440. pyrogram/raw/types/channels/channel_participant.py +97 -0
  1441. pyrogram/raw/types/channels/channel_participants.py +105 -0
  1442. pyrogram/raw/types/channels/channel_participants_not_modified.py +76 -0
  1443. pyrogram/raw/types/channels/send_as_peers.py +97 -0
  1444. pyrogram/raw/types/chat.py +180 -0
  1445. pyrogram/raw/types/chat_admin_rights.py +138 -0
  1446. pyrogram/raw/types/chat_admin_with_invites.py +88 -0
  1447. pyrogram/raw/types/chat_banned_rights.py +194 -0
  1448. pyrogram/raw/types/chat_empty.py +72 -0
  1449. pyrogram/raw/types/chat_forbidden.py +80 -0
  1450. pyrogram/raw/types/chat_full.py +231 -0
  1451. pyrogram/raw/types/chat_invite.py +148 -0
  1452. pyrogram/raw/types/chat_invite_already.py +81 -0
  1453. pyrogram/raw/types/chat_invite_exported.py +171 -0
  1454. pyrogram/raw/types/chat_invite_importer.py +112 -0
  1455. pyrogram/raw/types/chat_invite_peek.py +89 -0
  1456. pyrogram/raw/types/chat_invite_public_join_requests.py +76 -0
  1457. pyrogram/raw/types/chat_onlines.py +81 -0
  1458. pyrogram/raw/types/chat_participant.py +88 -0
  1459. pyrogram/raw/types/chat_participant_admin.py +88 -0
  1460. pyrogram/raw/types/chat_participant_creator.py +72 -0
  1461. pyrogram/raw/types/chat_participants.py +88 -0
  1462. pyrogram/raw/types/chat_participants_forbidden.py +84 -0
  1463. pyrogram/raw/types/chat_photo.py +97 -0
  1464. pyrogram/raw/types/chat_photo_empty.py +67 -0
  1465. pyrogram/raw/types/chat_reactions_all.py +72 -0
  1466. pyrogram/raw/types/chat_reactions_none.py +67 -0
  1467. pyrogram/raw/types/chat_reactions_some.py +72 -0
  1468. pyrogram/raw/types/chatlists/__init__.py +29 -0
  1469. pyrogram/raw/types/chatlists/chatlist_invite.py +116 -0
  1470. pyrogram/raw/types/chatlists/chatlist_invite_already.py +113 -0
  1471. pyrogram/raw/types/chatlists/chatlist_updates.py +97 -0
  1472. pyrogram/raw/types/chatlists/exported_chatlist_invite.py +89 -0
  1473. pyrogram/raw/types/chatlists/exported_invites.py +97 -0
  1474. pyrogram/raw/types/client_dh_inner_data.py +96 -0
  1475. pyrogram/raw/types/code_settings.py +124 -0
  1476. pyrogram/raw/types/config.py +453 -0
  1477. pyrogram/raw/types/contact.py +80 -0
  1478. pyrogram/raw/types/contact_status.py +89 -0
  1479. pyrogram/raw/types/contacts/__init__.py +34 -0
  1480. pyrogram/raw/types/contacts/blocked.py +97 -0
  1481. pyrogram/raw/types/contacts/blocked_slice.py +105 -0
  1482. pyrogram/raw/types/contacts/contacts.py +97 -0
  1483. pyrogram/raw/types/contacts/contacts_not_modified.py +76 -0
  1484. pyrogram/raw/types/contacts/found.py +105 -0
  1485. pyrogram/raw/types/contacts/imported_contacts.py +105 -0
  1486. pyrogram/raw/types/contacts/resolved_peer.py +98 -0
  1487. pyrogram/raw/types/contacts/top_peers.py +97 -0
  1488. pyrogram/raw/types/contacts/top_peers_disabled.py +76 -0
  1489. pyrogram/raw/types/contacts/top_peers_not_modified.py +76 -0
  1490. pyrogram/raw/types/data_json.py +82 -0
  1491. pyrogram/raw/types/dc_option.py +135 -0
  1492. pyrogram/raw/types/default_history_ttl.py +81 -0
  1493. pyrogram/raw/types/destroy_auth_key_fail.py +76 -0
  1494. pyrogram/raw/types/destroy_auth_key_none.py +76 -0
  1495. pyrogram/raw/types/destroy_auth_key_ok.py +76 -0
  1496. pyrogram/raw/types/destroy_session_none.py +81 -0
  1497. pyrogram/raw/types/destroy_session_ok.py +81 -0
  1498. pyrogram/raw/types/dh_gen_fail.py +97 -0
  1499. pyrogram/raw/types/dh_gen_ok.py +97 -0
  1500. pyrogram/raw/types/dh_gen_retry.py +97 -0
  1501. pyrogram/raw/types/dialog.py +179 -0
  1502. pyrogram/raw/types/dialog_filter.py +172 -0
  1503. pyrogram/raw/types/dialog_filter_chatlist.py +122 -0
  1504. pyrogram/raw/types/dialog_filter_default.py +76 -0
  1505. pyrogram/raw/types/dialog_filter_suggested.py +89 -0
  1506. pyrogram/raw/types/dialog_folder.py +128 -0
  1507. pyrogram/raw/types/dialog_peer.py +81 -0
  1508. pyrogram/raw/types/dialog_peer_folder.py +81 -0
  1509. pyrogram/raw/types/document.py +162 -0
  1510. pyrogram/raw/types/document_attribute_animated.py +67 -0
  1511. pyrogram/raw/types/document_attribute_audio.py +107 -0
  1512. pyrogram/raw/types/document_attribute_custom_emoji.py +94 -0
  1513. pyrogram/raw/types/document_attribute_filename.py +72 -0
  1514. pyrogram/raw/types/document_attribute_has_stickers.py +67 -0
  1515. pyrogram/raw/types/document_attribute_image_size.py +80 -0
  1516. pyrogram/raw/types/document_attribute_sticker.py +98 -0
  1517. pyrogram/raw/types/document_attribute_video.py +102 -0
  1518. pyrogram/raw/types/document_empty.py +84 -0
  1519. pyrogram/raw/types/draft_message.py +107 -0
  1520. pyrogram/raw/types/draft_message_empty.py +75 -0
  1521. pyrogram/raw/types/email_verification_apple.py +72 -0
  1522. pyrogram/raw/types/email_verification_code.py +72 -0
  1523. pyrogram/raw/types/email_verification_google.py +72 -0
  1524. pyrogram/raw/types/email_verify_purpose_login_change.py +67 -0
  1525. pyrogram/raw/types/email_verify_purpose_login_setup.py +80 -0
  1526. pyrogram/raw/types/email_verify_purpose_passport.py +67 -0
  1527. pyrogram/raw/types/emoji_group.py +88 -0
  1528. pyrogram/raw/types/emoji_keyword.py +80 -0
  1529. pyrogram/raw/types/emoji_keyword_deleted.py +80 -0
  1530. pyrogram/raw/types/emoji_keywords_difference.py +106 -0
  1531. pyrogram/raw/types/emoji_language.py +81 -0
  1532. pyrogram/raw/types/emoji_list.py +91 -0
  1533. pyrogram/raw/types/emoji_list_not_modified.py +78 -0
  1534. pyrogram/raw/types/emoji_status.py +72 -0
  1535. pyrogram/raw/types/emoji_status_empty.py +67 -0
  1536. pyrogram/raw/types/emoji_status_until.py +80 -0
  1537. pyrogram/raw/types/emoji_url.py +81 -0
  1538. pyrogram/raw/types/encrypted_chat.py +130 -0
  1539. pyrogram/raw/types/encrypted_chat_discarded.py +90 -0
  1540. pyrogram/raw/types/encrypted_chat_empty.py +82 -0
  1541. pyrogram/raw/types/encrypted_chat_requested.py +133 -0
  1542. pyrogram/raw/types/encrypted_chat_waiting.py +114 -0
  1543. pyrogram/raw/types/encrypted_file.py +113 -0
  1544. pyrogram/raw/types/encrypted_file_empty.py +76 -0
  1545. pyrogram/raw/types/encrypted_message.py +104 -0
  1546. pyrogram/raw/types/encrypted_message_service.py +96 -0
  1547. pyrogram/raw/types/exported_chatlist_invite.py +100 -0
  1548. pyrogram/raw/types/exported_contact_token.py +89 -0
  1549. pyrogram/raw/types/exported_message_link.py +89 -0
  1550. pyrogram/raw/types/file_hash.py +99 -0
  1551. pyrogram/raw/types/folder.py +110 -0
  1552. pyrogram/raw/types/folder_peer.py +80 -0
  1553. pyrogram/raw/types/forum_topic.py +211 -0
  1554. pyrogram/raw/types/forum_topic_deleted.py +72 -0
  1555. pyrogram/raw/types/game.py +124 -0
  1556. pyrogram/raw/types/geo_point.py +99 -0
  1557. pyrogram/raw/types/geo_point_empty.py +67 -0
  1558. pyrogram/raw/types/global_privacy_settings.py +85 -0
  1559. pyrogram/raw/types/group_call.py +199 -0
  1560. pyrogram/raw/types/group_call_discarded.py +88 -0
  1561. pyrogram/raw/types/group_call_participant.py +206 -0
  1562. pyrogram/raw/types/group_call_participant_video.py +97 -0
  1563. pyrogram/raw/types/group_call_participant_video_source_group.py +80 -0
  1564. pyrogram/raw/types/group_call_stream_channel.py +88 -0
  1565. pyrogram/raw/types/help/__init__.py +49 -0
  1566. pyrogram/raw/types/help/app_config.py +89 -0
  1567. pyrogram/raw/types/help/app_config_not_modified.py +76 -0
  1568. pyrogram/raw/types/help/app_update.py +142 -0
  1569. pyrogram/raw/types/help/config_simple.py +88 -0
  1570. pyrogram/raw/types/help/countries_list.py +89 -0
  1571. pyrogram/raw/types/help/countries_list_not_modified.py +76 -0
  1572. pyrogram/raw/types/help/country.py +105 -0
  1573. pyrogram/raw/types/help/country_code.py +94 -0
  1574. pyrogram/raw/types/help/deep_link_info.py +99 -0
  1575. pyrogram/raw/types/help/deep_link_info_empty.py +76 -0
  1576. pyrogram/raw/types/help/invite_text.py +81 -0
  1577. pyrogram/raw/types/help/no_app_update.py +76 -0
  1578. pyrogram/raw/types/help/passport_config.py +89 -0
  1579. pyrogram/raw/types/help/passport_config_not_modified.py +76 -0
  1580. pyrogram/raw/types/help/premium_promo.py +121 -0
  1581. pyrogram/raw/types/help/promo_data.py +131 -0
  1582. pyrogram/raw/types/help/promo_data_empty.py +81 -0
  1583. pyrogram/raw/types/help/recent_me_urls.py +97 -0
  1584. pyrogram/raw/types/help/support.py +89 -0
  1585. pyrogram/raw/types/help/support_name.py +81 -0
  1586. pyrogram/raw/types/help/terms_of_service.py +105 -0
  1587. pyrogram/raw/types/help/terms_of_service_update.py +89 -0
  1588. pyrogram/raw/types/help/terms_of_service_update_empty.py +81 -0
  1589. pyrogram/raw/types/help/user_info.py +106 -0
  1590. pyrogram/raw/types/help/user_info_empty.py +77 -0
  1591. pyrogram/raw/types/high_score.py +88 -0
  1592. pyrogram/raw/types/http_wait.py +88 -0
  1593. pyrogram/raw/types/imported_contact.py +80 -0
  1594. pyrogram/raw/types/inline_bot_switch_pm.py +80 -0
  1595. pyrogram/raw/types/inline_bot_web_view.py +80 -0
  1596. pyrogram/raw/types/inline_query_peer_type_bot_pm.py +67 -0
  1597. pyrogram/raw/types/inline_query_peer_type_broadcast.py +67 -0
  1598. pyrogram/raw/types/inline_query_peer_type_chat.py +67 -0
  1599. pyrogram/raw/types/inline_query_peer_type_megagroup.py +67 -0
  1600. pyrogram/raw/types/inline_query_peer_type_pm.py +67 -0
  1601. pyrogram/raw/types/inline_query_peer_type_same_bot_pm.py +67 -0
  1602. pyrogram/raw/types/input_app_event.py +96 -0
  1603. pyrogram/raw/types/input_bot_app_id.py +80 -0
  1604. pyrogram/raw/types/input_bot_app_short_name.py +80 -0
  1605. pyrogram/raw/types/input_bot_inline_message_game.py +76 -0
  1606. pyrogram/raw/types/input_bot_inline_message_id.py +88 -0
  1607. pyrogram/raw/types/input_bot_inline_message_id64.py +96 -0
  1608. pyrogram/raw/types/input_bot_inline_message_media_auto.py +94 -0
  1609. pyrogram/raw/types/input_bot_inline_message_media_contact.py +108 -0
  1610. pyrogram/raw/types/input_bot_inline_message_media_geo.py +111 -0
  1611. pyrogram/raw/types/input_bot_inline_message_media_invoice.py +134 -0
  1612. pyrogram/raw/types/input_bot_inline_message_media_venue.py +124 -0
  1613. pyrogram/raw/types/input_bot_inline_message_text.py +100 -0
  1614. pyrogram/raw/types/input_bot_inline_result.py +137 -0
  1615. pyrogram/raw/types/input_bot_inline_result_document.py +116 -0
  1616. pyrogram/raw/types/input_bot_inline_result_game.py +88 -0
  1617. pyrogram/raw/types/input_bot_inline_result_photo.py +96 -0
  1618. pyrogram/raw/types/input_channel.py +80 -0
  1619. pyrogram/raw/types/input_channel_empty.py +67 -0
  1620. pyrogram/raw/types/input_channel_from_message.py +88 -0
  1621. pyrogram/raw/types/input_chat_photo.py +72 -0
  1622. pyrogram/raw/types/input_chat_photo_empty.py +67 -0
  1623. pyrogram/raw/types/input_chat_uploaded_photo.py +105 -0
  1624. pyrogram/raw/types/input_chatlist_dialog_filter.py +72 -0
  1625. pyrogram/raw/types/input_check_password_empty.py +67 -0
  1626. pyrogram/raw/types/input_check_password_srp.py +88 -0
  1627. pyrogram/raw/types/input_client_proxy.py +80 -0
  1628. pyrogram/raw/types/input_dialog_peer.py +72 -0
  1629. pyrogram/raw/types/input_dialog_peer_folder.py +72 -0
  1630. pyrogram/raw/types/input_document.py +88 -0
  1631. pyrogram/raw/types/input_document_empty.py +67 -0
  1632. pyrogram/raw/types/input_document_file_location.py +96 -0
  1633. pyrogram/raw/types/input_encrypted_chat.py +80 -0
  1634. pyrogram/raw/types/input_encrypted_file.py +80 -0
  1635. pyrogram/raw/types/input_encrypted_file_big_uploaded.py +88 -0
  1636. pyrogram/raw/types/input_encrypted_file_empty.py +67 -0
  1637. pyrogram/raw/types/input_encrypted_file_location.py +80 -0
  1638. pyrogram/raw/types/input_encrypted_file_uploaded.py +96 -0
  1639. pyrogram/raw/types/input_file.py +96 -0
  1640. pyrogram/raw/types/input_file_big.py +88 -0
  1641. pyrogram/raw/types/input_file_location.py +96 -0
  1642. pyrogram/raw/types/input_folder_peer.py +80 -0
  1643. pyrogram/raw/types/input_game_id.py +80 -0
  1644. pyrogram/raw/types/input_game_short_name.py +80 -0
  1645. pyrogram/raw/types/input_geo_point.py +91 -0
  1646. pyrogram/raw/types/input_geo_point_empty.py +67 -0
  1647. pyrogram/raw/types/input_group_call.py +80 -0
  1648. pyrogram/raw/types/input_group_call_stream.py +108 -0
  1649. pyrogram/raw/types/input_invoice_message.py +80 -0
  1650. pyrogram/raw/types/input_invoice_slug.py +72 -0
  1651. pyrogram/raw/types/input_keyboard_button_url_auth.py +105 -0
  1652. pyrogram/raw/types/input_keyboard_button_user_profile.py +80 -0
  1653. pyrogram/raw/types/input_media_contact.py +96 -0
  1654. pyrogram/raw/types/input_media_dice.py +72 -0
  1655. pyrogram/raw/types/input_media_document.py +98 -0
  1656. pyrogram/raw/types/input_media_document_external.py +89 -0
  1657. pyrogram/raw/types/input_media_empty.py +67 -0
  1658. pyrogram/raw/types/input_media_game.py +72 -0
  1659. pyrogram/raw/types/input_media_geo_live.py +107 -0
  1660. pyrogram/raw/types/input_media_geo_point.py +72 -0
  1661. pyrogram/raw/types/input_media_invoice.py +143 -0
  1662. pyrogram/raw/types/input_media_photo.py +89 -0
  1663. pyrogram/raw/types/input_media_photo_external.py +89 -0
  1664. pyrogram/raw/types/input_media_poll.py +103 -0
  1665. pyrogram/raw/types/input_media_uploaded_document.py +137 -0
  1666. pyrogram/raw/types/input_media_uploaded_photo.py +99 -0
  1667. pyrogram/raw/types/input_media_venue.py +112 -0
  1668. pyrogram/raw/types/input_message_callback_query.py +80 -0
  1669. pyrogram/raw/types/input_message_entity_mention_name.py +88 -0
  1670. pyrogram/raw/types/input_message_id.py +72 -0
  1671. pyrogram/raw/types/input_message_pinned.py +67 -0
  1672. pyrogram/raw/types/input_message_reply_to.py +72 -0
  1673. pyrogram/raw/types/input_messages_filter_chat_photos.py +67 -0
  1674. pyrogram/raw/types/input_messages_filter_contacts.py +67 -0
  1675. pyrogram/raw/types/input_messages_filter_document.py +67 -0
  1676. pyrogram/raw/types/input_messages_filter_empty.py +67 -0
  1677. pyrogram/raw/types/input_messages_filter_geo.py +67 -0
  1678. pyrogram/raw/types/input_messages_filter_gif.py +67 -0
  1679. pyrogram/raw/types/input_messages_filter_music.py +67 -0
  1680. pyrogram/raw/types/input_messages_filter_my_mentions.py +67 -0
  1681. pyrogram/raw/types/input_messages_filter_phone_calls.py +72 -0
  1682. pyrogram/raw/types/input_messages_filter_photo_video.py +67 -0
  1683. pyrogram/raw/types/input_messages_filter_photos.py +67 -0
  1684. pyrogram/raw/types/input_messages_filter_pinned.py +67 -0
  1685. pyrogram/raw/types/input_messages_filter_round_video.py +67 -0
  1686. pyrogram/raw/types/input_messages_filter_round_voice.py +67 -0
  1687. pyrogram/raw/types/input_messages_filter_url.py +67 -0
  1688. pyrogram/raw/types/input_messages_filter_video.py +67 -0
  1689. pyrogram/raw/types/input_messages_filter_voice.py +67 -0
  1690. pyrogram/raw/types/input_notify_broadcasts.py +67 -0
  1691. pyrogram/raw/types/input_notify_chats.py +67 -0
  1692. pyrogram/raw/types/input_notify_forum_topic.py +80 -0
  1693. pyrogram/raw/types/input_notify_peer.py +72 -0
  1694. pyrogram/raw/types/input_notify_users.py +67 -0
  1695. pyrogram/raw/types/input_payment_credentials.py +80 -0
  1696. pyrogram/raw/types/input_payment_credentials_apple_pay.py +72 -0
  1697. pyrogram/raw/types/input_payment_credentials_google_pay.py +72 -0
  1698. pyrogram/raw/types/input_payment_credentials_saved.py +80 -0
  1699. pyrogram/raw/types/input_peer_channel.py +80 -0
  1700. pyrogram/raw/types/input_peer_channel_from_message.py +88 -0
  1701. pyrogram/raw/types/input_peer_chat.py +72 -0
  1702. pyrogram/raw/types/input_peer_empty.py +67 -0
  1703. pyrogram/raw/types/input_peer_notify_settings.py +103 -0
  1704. pyrogram/raw/types/input_peer_photo_file_location.py +88 -0
  1705. pyrogram/raw/types/input_peer_self.py +67 -0
  1706. pyrogram/raw/types/input_peer_user.py +80 -0
  1707. pyrogram/raw/types/input_peer_user_from_message.py +88 -0
  1708. pyrogram/raw/types/input_phone_call.py +80 -0
  1709. pyrogram/raw/types/input_phone_contact.py +96 -0
  1710. pyrogram/raw/types/input_photo.py +88 -0
  1711. pyrogram/raw/types/input_photo_empty.py +67 -0
  1712. pyrogram/raw/types/input_photo_file_location.py +96 -0
  1713. pyrogram/raw/types/input_photo_legacy_file_location.py +112 -0
  1714. pyrogram/raw/types/input_privacy_key_added_by_phone.py +67 -0
  1715. pyrogram/raw/types/input_privacy_key_chat_invite.py +67 -0
  1716. pyrogram/raw/types/input_privacy_key_forwards.py +67 -0
  1717. pyrogram/raw/types/input_privacy_key_phone_call.py +67 -0
  1718. pyrogram/raw/types/input_privacy_key_phone_number.py +67 -0
  1719. pyrogram/raw/types/input_privacy_key_phone_p2_p.py +67 -0
  1720. pyrogram/raw/types/input_privacy_key_profile_photo.py +67 -0
  1721. pyrogram/raw/types/input_privacy_key_status_timestamp.py +67 -0
  1722. pyrogram/raw/types/input_privacy_key_voice_messages.py +67 -0
  1723. pyrogram/raw/types/input_privacy_value_allow_all.py +67 -0
  1724. pyrogram/raw/types/input_privacy_value_allow_chat_participants.py +72 -0
  1725. pyrogram/raw/types/input_privacy_value_allow_contacts.py +67 -0
  1726. pyrogram/raw/types/input_privacy_value_allow_users.py +72 -0
  1727. pyrogram/raw/types/input_privacy_value_disallow_all.py +67 -0
  1728. pyrogram/raw/types/input_privacy_value_disallow_chat_participants.py +72 -0
  1729. pyrogram/raw/types/input_privacy_value_disallow_contacts.py +67 -0
  1730. pyrogram/raw/types/input_privacy_value_disallow_users.py +72 -0
  1731. pyrogram/raw/types/input_report_reason_child_abuse.py +67 -0
  1732. pyrogram/raw/types/input_report_reason_copyright.py +67 -0
  1733. pyrogram/raw/types/input_report_reason_fake.py +67 -0
  1734. pyrogram/raw/types/input_report_reason_geo_irrelevant.py +67 -0
  1735. pyrogram/raw/types/input_report_reason_illegal_drugs.py +67 -0
  1736. pyrogram/raw/types/input_report_reason_other.py +67 -0
  1737. pyrogram/raw/types/input_report_reason_personal_details.py +67 -0
  1738. pyrogram/raw/types/input_report_reason_pornography.py +67 -0
  1739. pyrogram/raw/types/input_report_reason_spam.py +67 -0
  1740. pyrogram/raw/types/input_report_reason_violence.py +67 -0
  1741. pyrogram/raw/types/input_secure_file.py +80 -0
  1742. pyrogram/raw/types/input_secure_file_location.py +80 -0
  1743. pyrogram/raw/types/input_secure_file_uploaded.py +104 -0
  1744. pyrogram/raw/types/input_secure_value.py +144 -0
  1745. pyrogram/raw/types/input_single_media.py +100 -0
  1746. pyrogram/raw/types/input_sticker_set_animated_emoji.py +67 -0
  1747. pyrogram/raw/types/input_sticker_set_animated_emoji_animations.py +67 -0
  1748. pyrogram/raw/types/input_sticker_set_dice.py +72 -0
  1749. pyrogram/raw/types/input_sticker_set_emoji_default_statuses.py +67 -0
  1750. pyrogram/raw/types/input_sticker_set_emoji_default_topic_icons.py +67 -0
  1751. pyrogram/raw/types/input_sticker_set_emoji_generic_animations.py +67 -0
  1752. pyrogram/raw/types/input_sticker_set_empty.py +67 -0
  1753. pyrogram/raw/types/input_sticker_set_id.py +80 -0
  1754. pyrogram/raw/types/input_sticker_set_item.py +101 -0
  1755. pyrogram/raw/types/input_sticker_set_premium_gifts.py +67 -0
  1756. pyrogram/raw/types/input_sticker_set_short_name.py +72 -0
  1757. pyrogram/raw/types/input_sticker_set_thumb.py +80 -0
  1758. pyrogram/raw/types/input_stickered_media_document.py +72 -0
  1759. pyrogram/raw/types/input_stickered_media_photo.py +72 -0
  1760. pyrogram/raw/types/input_store_payment_gift_premium.py +88 -0
  1761. pyrogram/raw/types/input_store_payment_premium_subscription.py +78 -0
  1762. pyrogram/raw/types/input_takeout_file_location.py +67 -0
  1763. pyrogram/raw/types/input_theme.py +80 -0
  1764. pyrogram/raw/types/input_theme_settings.py +127 -0
  1765. pyrogram/raw/types/input_theme_slug.py +72 -0
  1766. pyrogram/raw/types/input_user.py +80 -0
  1767. pyrogram/raw/types/input_user_empty.py +67 -0
  1768. pyrogram/raw/types/input_user_from_message.py +88 -0
  1769. pyrogram/raw/types/input_user_self.py +67 -0
  1770. pyrogram/raw/types/input_wall_paper.py +80 -0
  1771. pyrogram/raw/types/input_wall_paper_no_file.py +72 -0
  1772. pyrogram/raw/types/input_wall_paper_slug.py +72 -0
  1773. pyrogram/raw/types/input_web_document.py +96 -0
  1774. pyrogram/raw/types/input_web_file_audio_album_thumb_location.py +100 -0
  1775. pyrogram/raw/types/input_web_file_geo_point_location.py +112 -0
  1776. pyrogram/raw/types/input_web_file_location.py +80 -0
  1777. pyrogram/raw/types/invoice.py +164 -0
  1778. pyrogram/raw/types/ip_port.py +80 -0
  1779. pyrogram/raw/types/ip_port_secret.py +88 -0
  1780. pyrogram/raw/types/json_array.py +72 -0
  1781. pyrogram/raw/types/json_bool.py +72 -0
  1782. pyrogram/raw/types/json_null.py +67 -0
  1783. pyrogram/raw/types/json_number.py +72 -0
  1784. pyrogram/raw/types/json_object.py +72 -0
  1785. pyrogram/raw/types/json_object_value.py +80 -0
  1786. pyrogram/raw/types/json_string.py +72 -0
  1787. pyrogram/raw/types/keyboard_button.py +72 -0
  1788. pyrogram/raw/types/keyboard_button_buy.py +72 -0
  1789. pyrogram/raw/types/keyboard_button_callback.py +88 -0
  1790. pyrogram/raw/types/keyboard_button_game.py +72 -0
  1791. pyrogram/raw/types/keyboard_button_request_geo_location.py +72 -0
  1792. pyrogram/raw/types/keyboard_button_request_peer.py +88 -0
  1793. pyrogram/raw/types/keyboard_button_request_phone.py +72 -0
  1794. pyrogram/raw/types/keyboard_button_request_poll.py +83 -0
  1795. pyrogram/raw/types/keyboard_button_row.py +72 -0
  1796. pyrogram/raw/types/keyboard_button_simple_web_view.py +80 -0
  1797. pyrogram/raw/types/keyboard_button_switch_inline.py +98 -0
  1798. pyrogram/raw/types/keyboard_button_url.py +80 -0
  1799. pyrogram/raw/types/keyboard_button_url_auth.py +99 -0
  1800. pyrogram/raw/types/keyboard_button_user_profile.py +80 -0
  1801. pyrogram/raw/types/keyboard_button_web_view.py +80 -0
  1802. pyrogram/raw/types/labeled_price.py +80 -0
  1803. pyrogram/raw/types/lang_pack_difference.py +106 -0
  1804. pyrogram/raw/types/lang_pack_language.py +159 -0
  1805. pyrogram/raw/types/lang_pack_string.py +89 -0
  1806. pyrogram/raw/types/lang_pack_string_deleted.py +81 -0
  1807. pyrogram/raw/types/lang_pack_string_pluralized.py +136 -0
  1808. pyrogram/raw/types/mask_coords.py +96 -0
  1809. pyrogram/raw/types/message.py +311 -0
  1810. pyrogram/raw/types/message_action_bot_allowed.py +91 -0
  1811. pyrogram/raw/types/message_action_channel_create.py +72 -0
  1812. pyrogram/raw/types/message_action_channel_migrate_from.py +80 -0
  1813. pyrogram/raw/types/message_action_chat_add_user.py +72 -0
  1814. pyrogram/raw/types/message_action_chat_create.py +80 -0
  1815. pyrogram/raw/types/message_action_chat_delete_photo.py +67 -0
  1816. pyrogram/raw/types/message_action_chat_delete_user.py +72 -0
  1817. pyrogram/raw/types/message_action_chat_edit_photo.py +72 -0
  1818. pyrogram/raw/types/message_action_chat_edit_title.py +72 -0
  1819. pyrogram/raw/types/message_action_chat_joined_by_link.py +72 -0
  1820. pyrogram/raw/types/message_action_chat_joined_by_request.py +67 -0
  1821. pyrogram/raw/types/message_action_chat_migrate_to.py +72 -0
  1822. pyrogram/raw/types/message_action_contact_sign_up.py +67 -0
  1823. pyrogram/raw/types/message_action_custom_action.py +72 -0
  1824. pyrogram/raw/types/message_action_empty.py +67 -0
  1825. pyrogram/raw/types/message_action_game_score.py +80 -0
  1826. pyrogram/raw/types/message_action_geo_proximity_reached.py +88 -0
  1827. pyrogram/raw/types/message_action_gift_premium.py +108 -0
  1828. pyrogram/raw/types/message_action_group_call.py +83 -0
  1829. pyrogram/raw/types/message_action_group_call_scheduled.py +80 -0
  1830. pyrogram/raw/types/message_action_history_clear.py +67 -0
  1831. pyrogram/raw/types/message_action_invite_to_group_call.py +80 -0
  1832. pyrogram/raw/types/message_action_payment_sent.py +103 -0
  1833. pyrogram/raw/types/message_action_payment_sent_me.py +129 -0
  1834. pyrogram/raw/types/message_action_phone_call.py +99 -0
  1835. pyrogram/raw/types/message_action_pin_message.py +67 -0
  1836. pyrogram/raw/types/message_action_requested_peer.py +80 -0
  1837. pyrogram/raw/types/message_action_screenshot_taken.py +67 -0
  1838. pyrogram/raw/types/message_action_secure_values_sent.py +72 -0
  1839. pyrogram/raw/types/message_action_secure_values_sent_me.py +80 -0
  1840. pyrogram/raw/types/message_action_set_chat_theme.py +72 -0
  1841. pyrogram/raw/types/message_action_set_chat_wall_paper.py +72 -0
  1842. pyrogram/raw/types/message_action_set_messages_ttl.py +83 -0
  1843. pyrogram/raw/types/message_action_set_same_chat_wall_paper.py +72 -0
  1844. pyrogram/raw/types/message_action_suggest_profile_photo.py +72 -0
  1845. pyrogram/raw/types/message_action_topic_create.py +91 -0
  1846. pyrogram/raw/types/message_action_topic_edit.py +102 -0
  1847. pyrogram/raw/types/message_action_web_view_data_sent.py +72 -0
  1848. pyrogram/raw/types/message_action_web_view_data_sent_me.py +80 -0
  1849. pyrogram/raw/types/message_empty.py +84 -0
  1850. pyrogram/raw/types/message_entity_bank_card.py +80 -0
  1851. pyrogram/raw/types/message_entity_blockquote.py +80 -0
  1852. pyrogram/raw/types/message_entity_bold.py +80 -0
  1853. pyrogram/raw/types/message_entity_bot_command.py +80 -0
  1854. pyrogram/raw/types/message_entity_cashtag.py +80 -0
  1855. pyrogram/raw/types/message_entity_code.py +80 -0
  1856. pyrogram/raw/types/message_entity_custom_emoji.py +88 -0
  1857. pyrogram/raw/types/message_entity_email.py +80 -0
  1858. pyrogram/raw/types/message_entity_hashtag.py +80 -0
  1859. pyrogram/raw/types/message_entity_italic.py +80 -0
  1860. pyrogram/raw/types/message_entity_mention.py +80 -0
  1861. pyrogram/raw/types/message_entity_mention_name.py +88 -0
  1862. pyrogram/raw/types/message_entity_phone.py +80 -0
  1863. pyrogram/raw/types/message_entity_pre.py +88 -0
  1864. pyrogram/raw/types/message_entity_spoiler.py +80 -0
  1865. pyrogram/raw/types/message_entity_strike.py +80 -0
  1866. pyrogram/raw/types/message_entity_text_url.py +88 -0
  1867. pyrogram/raw/types/message_entity_underline.py +80 -0
  1868. pyrogram/raw/types/message_entity_unknown.py +80 -0
  1869. pyrogram/raw/types/message_entity_url.py +80 -0
  1870. pyrogram/raw/types/message_extended_media.py +72 -0
  1871. pyrogram/raw/types/message_extended_media_preview.py +103 -0
  1872. pyrogram/raw/types/message_fwd_header.py +145 -0
  1873. pyrogram/raw/types/message_interaction_counters.py +88 -0
  1874. pyrogram/raw/types/message_media_contact.py +115 -0
  1875. pyrogram/raw/types/message_media_dice.py +91 -0
  1876. pyrogram/raw/types/message_media_document.py +108 -0
  1877. pyrogram/raw/types/message_media_empty.py +78 -0
  1878. pyrogram/raw/types/message_media_game.py +83 -0
  1879. pyrogram/raw/types/message_media_geo.py +83 -0
  1880. pyrogram/raw/types/message_media_geo_live.py +111 -0
  1881. pyrogram/raw/types/message_media_invoice.py +158 -0
  1882. pyrogram/raw/types/message_media_photo.py +102 -0
  1883. pyrogram/raw/types/message_media_poll.py +91 -0
  1884. pyrogram/raw/types/message_media_unsupported.py +78 -0
  1885. pyrogram/raw/types/message_media_venue.py +123 -0
  1886. pyrogram/raw/types/message_media_web_page.py +83 -0
  1887. pyrogram/raw/types/message_peer_reaction.py +102 -0
  1888. pyrogram/raw/types/message_range.py +89 -0
  1889. pyrogram/raw/types/message_reactions.py +96 -0
  1890. pyrogram/raw/types/message_replies.py +125 -0
  1891. pyrogram/raw/types/message_reply_header.py +105 -0
  1892. pyrogram/raw/types/message_service.py +163 -0
  1893. pyrogram/raw/types/message_user_vote.py +88 -0
  1894. pyrogram/raw/types/message_user_vote_input_option.py +80 -0
  1895. pyrogram/raw/types/message_user_vote_multiple.py +88 -0
  1896. pyrogram/raw/types/message_views.py +94 -0
  1897. pyrogram/raw/types/messages/__init__.py +94 -0
  1898. pyrogram/raw/types/messages/affected_found_messages.py +105 -0
  1899. pyrogram/raw/types/messages/affected_history.py +102 -0
  1900. pyrogram/raw/types/messages/affected_messages.py +92 -0
  1901. pyrogram/raw/types/messages/all_stickers.py +91 -0
  1902. pyrogram/raw/types/messages/all_stickers_not_modified.py +78 -0
  1903. pyrogram/raw/types/messages/archived_stickers.py +89 -0
  1904. pyrogram/raw/types/messages/available_reactions.py +89 -0
  1905. pyrogram/raw/types/messages/available_reactions_not_modified.py +76 -0
  1906. pyrogram/raw/types/messages/bot_app.py +95 -0
  1907. pyrogram/raw/types/messages/bot_callback_answer.py +119 -0
  1908. pyrogram/raw/types/messages/bot_results.py +142 -0
  1909. pyrogram/raw/types/messages/channel_messages.py +150 -0
  1910. pyrogram/raw/types/messages/chat_admins_with_invites.py +89 -0
  1911. pyrogram/raw/types/messages/chat_full.py +98 -0
  1912. pyrogram/raw/types/messages/chat_invite_importers.py +97 -0
  1913. pyrogram/raw/types/messages/chats.py +87 -0
  1914. pyrogram/raw/types/messages/chats_slice.py +95 -0
  1915. pyrogram/raw/types/messages/checked_history_import_peer.py +81 -0
  1916. pyrogram/raw/types/messages/dh_config.py +105 -0
  1917. pyrogram/raw/types/messages/dh_config_not_modified.py +81 -0
  1918. pyrogram/raw/types/messages/dialogs.py +105 -0
  1919. pyrogram/raw/types/messages/dialogs_not_modified.py +81 -0
  1920. pyrogram/raw/types/messages/dialogs_slice.py +113 -0
  1921. pyrogram/raw/types/messages/discussion_message.py +134 -0
  1922. pyrogram/raw/types/messages/emoji_groups.py +91 -0
  1923. pyrogram/raw/types/messages/emoji_groups_not_modified.py +78 -0
  1924. pyrogram/raw/types/messages/exported_chat_invite.py +90 -0
  1925. pyrogram/raw/types/messages/exported_chat_invite_replaced.py +98 -0
  1926. pyrogram/raw/types/messages/exported_chat_invites.py +97 -0
  1927. pyrogram/raw/types/messages/faved_stickers.py +97 -0
  1928. pyrogram/raw/types/messages/faved_stickers_not_modified.py +76 -0
  1929. pyrogram/raw/types/messages/featured_stickers.py +115 -0
  1930. pyrogram/raw/types/messages/featured_stickers_not_modified.py +83 -0
  1931. pyrogram/raw/types/messages/forum_topics.py +130 -0
  1932. pyrogram/raw/types/messages/found_sticker_sets.py +89 -0
  1933. pyrogram/raw/types/messages/found_sticker_sets_not_modified.py +76 -0
  1934. pyrogram/raw/types/messages/high_scores.py +90 -0
  1935. pyrogram/raw/types/messages/history_import.py +81 -0
  1936. pyrogram/raw/types/messages/history_import_parsed.py +96 -0
  1937. pyrogram/raw/types/messages/inactive_chats.py +97 -0
  1938. pyrogram/raw/types/messages/message_edit_data.py +81 -0
  1939. pyrogram/raw/types/messages/message_reactions_list.py +116 -0
  1940. pyrogram/raw/types/messages/message_views.py +97 -0
  1941. pyrogram/raw/types/messages/messages.py +109 -0
  1942. pyrogram/raw/types/messages/messages_not_modified.py +93 -0
  1943. pyrogram/raw/types/messages/messages_slice.py +143 -0
  1944. pyrogram/raw/types/messages/peer_dialogs.py +114 -0
  1945. pyrogram/raw/types/messages/peer_settings.py +97 -0
  1946. pyrogram/raw/types/messages/reactions.py +90 -0
  1947. pyrogram/raw/types/messages/reactions_not_modified.py +77 -0
  1948. pyrogram/raw/types/messages/recent_stickers.py +105 -0
  1949. pyrogram/raw/types/messages/recent_stickers_not_modified.py +76 -0
  1950. pyrogram/raw/types/messages/saved_gifs.py +89 -0
  1951. pyrogram/raw/types/messages/saved_gifs_not_modified.py +76 -0
  1952. pyrogram/raw/types/messages/search_counter.py +97 -0
  1953. pyrogram/raw/types/messages/search_results_calendar.py +146 -0
  1954. pyrogram/raw/types/messages/search_results_positions.py +89 -0
  1955. pyrogram/raw/types/messages/sent_encrypted_file.py +91 -0
  1956. pyrogram/raw/types/messages/sent_encrypted_message.py +83 -0
  1957. pyrogram/raw/types/messages/sponsored_messages.py +108 -0
  1958. pyrogram/raw/types/messages/sponsored_messages_empty.py +76 -0
  1959. pyrogram/raw/types/messages/sticker_set.py +112 -0
  1960. pyrogram/raw/types/messages/sticker_set_install_result_archive.py +81 -0
  1961. pyrogram/raw/types/messages/sticker_set_install_result_success.py +76 -0
  1962. pyrogram/raw/types/messages/sticker_set_not_modified.py +83 -0
  1963. pyrogram/raw/types/messages/stickers.py +89 -0
  1964. pyrogram/raw/types/messages/stickers_not_modified.py +76 -0
  1965. pyrogram/raw/types/messages/transcribed_audio.py +97 -0
  1966. pyrogram/raw/types/messages/translate_result.py +81 -0
  1967. pyrogram/raw/types/messages/votes_list.py +108 -0
  1968. pyrogram/raw/types/msg_detailed_info.py +96 -0
  1969. pyrogram/raw/types/msg_new_detailed_info.py +88 -0
  1970. pyrogram/raw/types/msg_resend_ans_req.py +72 -0
  1971. pyrogram/raw/types/msg_resend_req.py +72 -0
  1972. pyrogram/raw/types/msgs_ack.py +72 -0
  1973. pyrogram/raw/types/msgs_all_info.py +80 -0
  1974. pyrogram/raw/types/msgs_state_info.py +80 -0
  1975. pyrogram/raw/types/msgs_state_req.py +72 -0
  1976. pyrogram/raw/types/nearest_dc.py +97 -0
  1977. pyrogram/raw/types/new_session_created.py +88 -0
  1978. pyrogram/raw/types/notification_sound_default.py +67 -0
  1979. pyrogram/raw/types/notification_sound_local.py +80 -0
  1980. pyrogram/raw/types/notification_sound_none.py +67 -0
  1981. pyrogram/raw/types/notification_sound_ringtone.py +72 -0
  1982. pyrogram/raw/types/notify_broadcasts.py +67 -0
  1983. pyrogram/raw/types/notify_chats.py +67 -0
  1984. pyrogram/raw/types/notify_forum_topic.py +80 -0
  1985. pyrogram/raw/types/notify_peer.py +72 -0
  1986. pyrogram/raw/types/notify_users.py +67 -0
  1987. pyrogram/raw/types/page.py +125 -0
  1988. pyrogram/raw/types/page_block_anchor.py +72 -0
  1989. pyrogram/raw/types/page_block_audio.py +80 -0
  1990. pyrogram/raw/types/page_block_author_date.py +80 -0
  1991. pyrogram/raw/types/page_block_blockquote.py +80 -0
  1992. pyrogram/raw/types/page_block_channel.py +72 -0
  1993. pyrogram/raw/types/page_block_collage.py +80 -0
  1994. pyrogram/raw/types/page_block_cover.py +72 -0
  1995. pyrogram/raw/types/page_block_details.py +88 -0
  1996. pyrogram/raw/types/page_block_divider.py +67 -0
  1997. pyrogram/raw/types/page_block_embed.py +131 -0
  1998. pyrogram/raw/types/page_block_embed_post.py +120 -0
  1999. pyrogram/raw/types/page_block_footer.py +72 -0
  2000. pyrogram/raw/types/page_block_header.py +72 -0
  2001. pyrogram/raw/types/page_block_kicker.py +72 -0
  2002. pyrogram/raw/types/page_block_list.py +72 -0
  2003. pyrogram/raw/types/page_block_map.py +104 -0
  2004. pyrogram/raw/types/page_block_ordered_list.py +72 -0
  2005. pyrogram/raw/types/page_block_paragraph.py +72 -0
  2006. pyrogram/raw/types/page_block_photo.py +100 -0
  2007. pyrogram/raw/types/page_block_preformatted.py +80 -0
  2008. pyrogram/raw/types/page_block_pullquote.py +80 -0
  2009. pyrogram/raw/types/page_block_related_articles.py +80 -0
  2010. pyrogram/raw/types/page_block_slideshow.py +80 -0
  2011. pyrogram/raw/types/page_block_subheader.py +72 -0
  2012. pyrogram/raw/types/page_block_subtitle.py +72 -0
  2013. pyrogram/raw/types/page_block_table.py +94 -0
  2014. pyrogram/raw/types/page_block_title.py +72 -0
  2015. pyrogram/raw/types/page_block_unsupported.py +67 -0
  2016. pyrogram/raw/types/page_block_video.py +94 -0
  2017. pyrogram/raw/types/page_caption.py +80 -0
  2018. pyrogram/raw/types/page_list_item_blocks.py +72 -0
  2019. pyrogram/raw/types/page_list_item_text.py +72 -0
  2020. pyrogram/raw/types/page_list_ordered_item_blocks.py +80 -0
  2021. pyrogram/raw/types/page_list_ordered_item_text.py +80 -0
  2022. pyrogram/raw/types/page_related_article.py +127 -0
  2023. pyrogram/raw/types/page_table_cell.py +124 -0
  2024. pyrogram/raw/types/page_table_row.py +72 -0
  2025. pyrogram/raw/types/password_kdf_algo_sha256_sha256_pbkdf2_hmacsha512iter100000_sha256_mod_pow.py +96 -0
  2026. pyrogram/raw/types/password_kdf_algo_unknown.py +67 -0
  2027. pyrogram/raw/types/payment_charge.py +80 -0
  2028. pyrogram/raw/types/payment_form_method.py +80 -0
  2029. pyrogram/raw/types/payment_requested_info.py +103 -0
  2030. pyrogram/raw/types/payment_saved_credentials_card.py +80 -0
  2031. pyrogram/raw/types/payments/__init__.py +32 -0
  2032. pyrogram/raw/types/payments/bank_card_data.py +89 -0
  2033. pyrogram/raw/types/payments/exported_invoice.py +81 -0
  2034. pyrogram/raw/types/payments/payment_form.py +210 -0
  2035. pyrogram/raw/types/payments/payment_receipt.py +194 -0
  2036. pyrogram/raw/types/payments/payment_result.py +81 -0
  2037. pyrogram/raw/types/payments/payment_verification_needed.py +81 -0
  2038. pyrogram/raw/types/payments/saved_info.py +91 -0
  2039. pyrogram/raw/types/payments/validated_requested_info.py +94 -0
  2040. pyrogram/raw/types/peer_blocked.py +80 -0
  2041. pyrogram/raw/types/peer_channel.py +81 -0
  2042. pyrogram/raw/types/peer_chat.py +81 -0
  2043. pyrogram/raw/types/peer_located.py +88 -0
  2044. pyrogram/raw/types/peer_notify_settings.py +132 -0
  2045. pyrogram/raw/types/peer_self_located.py +72 -0
  2046. pyrogram/raw/types/peer_settings.py +147 -0
  2047. pyrogram/raw/types/peer_user.py +81 -0
  2048. pyrogram/raw/types/phone/__init__.py +31 -0
  2049. pyrogram/raw/types/phone/exported_group_call_invite.py +81 -0
  2050. pyrogram/raw/types/phone/group_call.py +113 -0
  2051. pyrogram/raw/types/phone/group_call_stream_channels.py +81 -0
  2052. pyrogram/raw/types/phone/group_call_stream_rtmp_url.py +89 -0
  2053. pyrogram/raw/types/phone/group_participants.py +121 -0
  2054. pyrogram/raw/types/phone/join_as_peers.py +97 -0
  2055. pyrogram/raw/types/phone/phone_call.py +91 -0
  2056. pyrogram/raw/types/phone_call.py +158 -0
  2057. pyrogram/raw/types/phone_call_accepted.py +128 -0
  2058. pyrogram/raw/types/phone_call_discard_reason_busy.py +67 -0
  2059. pyrogram/raw/types/phone_call_discard_reason_disconnect.py +67 -0
  2060. pyrogram/raw/types/phone_call_discard_reason_hangup.py +67 -0
  2061. pyrogram/raw/types/phone_call_discard_reason_missed.py +67 -0
  2062. pyrogram/raw/types/phone_call_discarded.py +111 -0
  2063. pyrogram/raw/types/phone_call_empty.py +72 -0
  2064. pyrogram/raw/types/phone_call_protocol.py +102 -0
  2065. pyrogram/raw/types/phone_call_requested.py +128 -0
  2066. pyrogram/raw/types/phone_call_waiting.py +129 -0
  2067. pyrogram/raw/types/phone_connection.py +112 -0
  2068. pyrogram/raw/types/phone_connection_webrtc.py +126 -0
  2069. pyrogram/raw/types/photo.py +130 -0
  2070. pyrogram/raw/types/photo_cached_size.py +96 -0
  2071. pyrogram/raw/types/photo_empty.py +72 -0
  2072. pyrogram/raw/types/photo_path_size.py +80 -0
  2073. pyrogram/raw/types/photo_size.py +96 -0
  2074. pyrogram/raw/types/photo_size_empty.py +72 -0
  2075. pyrogram/raw/types/photo_size_progressive.py +96 -0
  2076. pyrogram/raw/types/photo_stripped_size.py +80 -0
  2077. pyrogram/raw/types/photos/__init__.py +27 -0
  2078. pyrogram/raw/types/photos/photo.py +91 -0
  2079. pyrogram/raw/types/photos/photos.py +89 -0
  2080. pyrogram/raw/types/photos/photos_slice.py +97 -0
  2081. pyrogram/raw/types/poll.py +132 -0
  2082. pyrogram/raw/types/poll_answer.py +80 -0
  2083. pyrogram/raw/types/poll_answer_voters.py +94 -0
  2084. pyrogram/raw/types/poll_results.py +120 -0
  2085. pyrogram/raw/types/pong.py +90 -0
  2086. pyrogram/raw/types/popular_contact.py +80 -0
  2087. pyrogram/raw/types/post_address.py +112 -0
  2088. pyrogram/raw/types/pq_inner_data.py +112 -0
  2089. pyrogram/raw/types/pq_inner_data_dc.py +120 -0
  2090. pyrogram/raw/types/pq_inner_data_temp.py +120 -0
  2091. pyrogram/raw/types/pq_inner_data_temp_dc.py +128 -0
  2092. pyrogram/raw/types/premium_gift_option.py +107 -0
  2093. pyrogram/raw/types/premium_subscription_option.py +128 -0
  2094. pyrogram/raw/types/privacy_key_added_by_phone.py +67 -0
  2095. pyrogram/raw/types/privacy_key_chat_invite.py +67 -0
  2096. pyrogram/raw/types/privacy_key_forwards.py +67 -0
  2097. pyrogram/raw/types/privacy_key_phone_call.py +67 -0
  2098. pyrogram/raw/types/privacy_key_phone_number.py +67 -0
  2099. pyrogram/raw/types/privacy_key_phone_p2_p.py +67 -0
  2100. pyrogram/raw/types/privacy_key_profile_photo.py +67 -0
  2101. pyrogram/raw/types/privacy_key_status_timestamp.py +67 -0
  2102. pyrogram/raw/types/privacy_key_voice_messages.py +67 -0
  2103. pyrogram/raw/types/privacy_value_allow_all.py +67 -0
  2104. pyrogram/raw/types/privacy_value_allow_chat_participants.py +72 -0
  2105. pyrogram/raw/types/privacy_value_allow_contacts.py +67 -0
  2106. pyrogram/raw/types/privacy_value_allow_users.py +72 -0
  2107. pyrogram/raw/types/privacy_value_disallow_all.py +67 -0
  2108. pyrogram/raw/types/privacy_value_disallow_chat_participants.py +72 -0
  2109. pyrogram/raw/types/privacy_value_disallow_contacts.py +67 -0
  2110. pyrogram/raw/types/privacy_value_disallow_users.py +72 -0
  2111. pyrogram/raw/types/reaction_count.py +91 -0
  2112. pyrogram/raw/types/reaction_custom_emoji.py +72 -0
  2113. pyrogram/raw/types/reaction_emoji.py +72 -0
  2114. pyrogram/raw/types/reaction_empty.py +67 -0
  2115. pyrogram/raw/types/read_participant_date.py +89 -0
  2116. pyrogram/raw/types/received_notify_message.py +89 -0
  2117. pyrogram/raw/types/recent_me_url_chat.py +80 -0
  2118. pyrogram/raw/types/recent_me_url_chat_invite.py +80 -0
  2119. pyrogram/raw/types/recent_me_url_sticker_set.py +80 -0
  2120. pyrogram/raw/types/recent_me_url_unknown.py +72 -0
  2121. pyrogram/raw/types/recent_me_url_user.py +80 -0
  2122. pyrogram/raw/types/reply_inline_markup.py +72 -0
  2123. pyrogram/raw/types/reply_keyboard_force_reply.py +87 -0
  2124. pyrogram/raw/types/reply_keyboard_hide.py +72 -0
  2125. pyrogram/raw/types/reply_keyboard_markup.py +107 -0
  2126. pyrogram/raw/types/request_peer_type_broadcast.py +101 -0
  2127. pyrogram/raw/types/request_peer_type_chat.py +116 -0
  2128. pyrogram/raw/types/request_peer_type_user.py +84 -0
  2129. pyrogram/raw/types/res_pq.py +106 -0
  2130. pyrogram/raw/types/restriction_reason.py +88 -0
  2131. pyrogram/raw/types/rpc_answer_dropped.py +97 -0
  2132. pyrogram/raw/types/rpc_answer_dropped_running.py +76 -0
  2133. pyrogram/raw/types/rpc_answer_unknown.py +76 -0
  2134. pyrogram/raw/types/rpc_error.py +80 -0
  2135. pyrogram/raw/types/rpc_result.py +80 -0
  2136. pyrogram/raw/types/saved_phone_contact.py +105 -0
  2137. pyrogram/raw/types/search_result_position.py +88 -0
  2138. pyrogram/raw/types/search_results_calendar_period.py +96 -0
  2139. pyrogram/raw/types/secure_credentials_encrypted.py +88 -0
  2140. pyrogram/raw/types/secure_data.py +88 -0
  2141. pyrogram/raw/types/secure_file.py +120 -0
  2142. pyrogram/raw/types/secure_file_empty.py +67 -0
  2143. pyrogram/raw/types/secure_password_kdf_algo_pbkdf2_hmacsha512iter100000.py +72 -0
  2144. pyrogram/raw/types/secure_password_kdf_algo_sha512.py +72 -0
  2145. pyrogram/raw/types/secure_password_kdf_algo_unknown.py +67 -0
  2146. pyrogram/raw/types/secure_plain_email.py +72 -0
  2147. pyrogram/raw/types/secure_plain_phone.py +72 -0
  2148. pyrogram/raw/types/secure_required_type.py +92 -0
  2149. pyrogram/raw/types/secure_required_type_one_of.py +72 -0
  2150. pyrogram/raw/types/secure_secret_settings.py +88 -0
  2151. pyrogram/raw/types/secure_value.py +163 -0
  2152. pyrogram/raw/types/secure_value_error.py +88 -0
  2153. pyrogram/raw/types/secure_value_error_data.py +96 -0
  2154. pyrogram/raw/types/secure_value_error_file.py +88 -0
  2155. pyrogram/raw/types/secure_value_error_files.py +88 -0
  2156. pyrogram/raw/types/secure_value_error_front_side.py +88 -0
  2157. pyrogram/raw/types/secure_value_error_reverse_side.py +88 -0
  2158. pyrogram/raw/types/secure_value_error_selfie.py +88 -0
  2159. pyrogram/raw/types/secure_value_error_translation_file.py +88 -0
  2160. pyrogram/raw/types/secure_value_error_translation_files.py +88 -0
  2161. pyrogram/raw/types/secure_value_hash.py +80 -0
  2162. pyrogram/raw/types/secure_value_type_address.py +67 -0
  2163. pyrogram/raw/types/secure_value_type_bank_statement.py +67 -0
  2164. pyrogram/raw/types/secure_value_type_driver_license.py +67 -0
  2165. pyrogram/raw/types/secure_value_type_email.py +67 -0
  2166. pyrogram/raw/types/secure_value_type_identity_card.py +67 -0
  2167. pyrogram/raw/types/secure_value_type_internal_passport.py +67 -0
  2168. pyrogram/raw/types/secure_value_type_passport.py +67 -0
  2169. pyrogram/raw/types/secure_value_type_passport_registration.py +67 -0
  2170. pyrogram/raw/types/secure_value_type_personal_details.py +67 -0
  2171. pyrogram/raw/types/secure_value_type_phone.py +67 -0
  2172. pyrogram/raw/types/secure_value_type_rental_agreement.py +67 -0
  2173. pyrogram/raw/types/secure_value_type_temporary_registration.py +67 -0
  2174. pyrogram/raw/types/secure_value_type_utility_bill.py +67 -0
  2175. pyrogram/raw/types/send_as_peer.py +80 -0
  2176. pyrogram/raw/types/send_message_cancel_action.py +67 -0
  2177. pyrogram/raw/types/send_message_choose_contact_action.py +67 -0
  2178. pyrogram/raw/types/send_message_choose_sticker_action.py +67 -0
  2179. pyrogram/raw/types/send_message_emoji_interaction.py +88 -0
  2180. pyrogram/raw/types/send_message_emoji_interaction_seen.py +72 -0
  2181. pyrogram/raw/types/send_message_game_play_action.py +67 -0
  2182. pyrogram/raw/types/send_message_geo_location_action.py +67 -0
  2183. pyrogram/raw/types/send_message_history_import_action.py +72 -0
  2184. pyrogram/raw/types/send_message_record_audio_action.py +67 -0
  2185. pyrogram/raw/types/send_message_record_round_action.py +67 -0
  2186. pyrogram/raw/types/send_message_record_video_action.py +67 -0
  2187. pyrogram/raw/types/send_message_typing_action.py +67 -0
  2188. pyrogram/raw/types/send_message_upload_audio_action.py +72 -0
  2189. pyrogram/raw/types/send_message_upload_document_action.py +72 -0
  2190. pyrogram/raw/types/send_message_upload_photo_action.py +72 -0
  2191. pyrogram/raw/types/send_message_upload_round_action.py +72 -0
  2192. pyrogram/raw/types/send_message_upload_video_action.py +72 -0
  2193. pyrogram/raw/types/server_dh_inner_data.py +112 -0
  2194. pyrogram/raw/types/server_dh_params_fail.py +97 -0
  2195. pyrogram/raw/types/server_dh_params_ok.py +97 -0
  2196. pyrogram/raw/types/shipping_option.py +88 -0
  2197. pyrogram/raw/types/simple_web_view_result_url.py +81 -0
  2198. pyrogram/raw/types/speaking_in_group_call_action.py +67 -0
  2199. pyrogram/raw/types/sponsored_message.py +169 -0
  2200. pyrogram/raw/types/stats/__init__.py +27 -0
  2201. pyrogram/raw/types/stats/broadcast_stats.py +193 -0
  2202. pyrogram/raw/types/stats/megagroup_stats.py +209 -0
  2203. pyrogram/raw/types/stats/message_stats.py +81 -0
  2204. pyrogram/raw/types/stats_abs_value_and_prev.py +80 -0
  2205. pyrogram/raw/types/stats_date_range_days.py +80 -0
  2206. pyrogram/raw/types/stats_graph.py +92 -0
  2207. pyrogram/raw/types/stats_graph_async.py +81 -0
  2208. pyrogram/raw/types/stats_graph_error.py +81 -0
  2209. pyrogram/raw/types/stats_group_top_admin.py +96 -0
  2210. pyrogram/raw/types/stats_group_top_inviter.py +80 -0
  2211. pyrogram/raw/types/stats_group_top_poster.py +88 -0
  2212. pyrogram/raw/types/stats_percent_value.py +80 -0
  2213. pyrogram/raw/types/stats_url.py +72 -0
  2214. pyrogram/raw/types/sticker_keyword.py +80 -0
  2215. pyrogram/raw/types/sticker_pack.py +80 -0
  2216. pyrogram/raw/types/sticker_set.py +196 -0
  2217. pyrogram/raw/types/sticker_set_covered.py +89 -0
  2218. pyrogram/raw/types/sticker_set_full_covered.py +105 -0
  2219. pyrogram/raw/types/sticker_set_multi_covered.py +89 -0
  2220. pyrogram/raw/types/sticker_set_no_covered.py +81 -0
  2221. pyrogram/raw/types/stickers/__init__.py +25 -0
  2222. pyrogram/raw/types/stickers/suggested_short_name.py +81 -0
  2223. pyrogram/raw/types/storage/__init__.py +34 -0
  2224. pyrogram/raw/types/storage/file_gif.py +67 -0
  2225. pyrogram/raw/types/storage/file_jpeg.py +67 -0
  2226. pyrogram/raw/types/storage/file_mov.py +67 -0
  2227. pyrogram/raw/types/storage/file_mp3.py +67 -0
  2228. pyrogram/raw/types/storage/file_mp4.py +67 -0
  2229. pyrogram/raw/types/storage/file_partial.py +67 -0
  2230. pyrogram/raw/types/storage/file_pdf.py +67 -0
  2231. pyrogram/raw/types/storage/file_png.py +67 -0
  2232. pyrogram/raw/types/storage/file_unknown.py +67 -0
  2233. pyrogram/raw/types/storage/file_webp.py +67 -0
  2234. pyrogram/raw/types/text_anchor.py +80 -0
  2235. pyrogram/raw/types/text_bold.py +72 -0
  2236. pyrogram/raw/types/text_concat.py +72 -0
  2237. pyrogram/raw/types/text_email.py +80 -0
  2238. pyrogram/raw/types/text_empty.py +67 -0
  2239. pyrogram/raw/types/text_fixed.py +72 -0
  2240. pyrogram/raw/types/text_image.py +88 -0
  2241. pyrogram/raw/types/text_italic.py +72 -0
  2242. pyrogram/raw/types/text_marked.py +72 -0
  2243. pyrogram/raw/types/text_phone.py +80 -0
  2244. pyrogram/raw/types/text_plain.py +72 -0
  2245. pyrogram/raw/types/text_strike.py +72 -0
  2246. pyrogram/raw/types/text_subscript.py +72 -0
  2247. pyrogram/raw/types/text_superscript.py +72 -0
  2248. pyrogram/raw/types/text_underline.py +72 -0
  2249. pyrogram/raw/types/text_url.py +88 -0
  2250. pyrogram/raw/types/text_with_entities.py +80 -0
  2251. pyrogram/raw/types/theme.py +165 -0
  2252. pyrogram/raw/types/theme_settings.py +117 -0
  2253. pyrogram/raw/types/top_peer.py +80 -0
  2254. pyrogram/raw/types/top_peer_category_bots_inline.py +67 -0
  2255. pyrogram/raw/types/top_peer_category_bots_pm.py +67 -0
  2256. pyrogram/raw/types/top_peer_category_channels.py +67 -0
  2257. pyrogram/raw/types/top_peer_category_correspondents.py +67 -0
  2258. pyrogram/raw/types/top_peer_category_forward_chats.py +67 -0
  2259. pyrogram/raw/types/top_peer_category_forward_users.py +67 -0
  2260. pyrogram/raw/types/top_peer_category_groups.py +67 -0
  2261. pyrogram/raw/types/top_peer_category_peers.py +88 -0
  2262. pyrogram/raw/types/top_peer_category_phone_calls.py +67 -0
  2263. pyrogram/raw/types/update_attach_menu_bots.py +67 -0
  2264. pyrogram/raw/types/update_auto_save_settings.py +67 -0
  2265. pyrogram/raw/types/update_bot_callback_query.py +124 -0
  2266. pyrogram/raw/types/update_bot_chat_invite_requester.py +112 -0
  2267. pyrogram/raw/types/update_bot_commands.py +88 -0
  2268. pyrogram/raw/types/update_bot_inline_query.py +118 -0
  2269. pyrogram/raw/types/update_bot_inline_send.py +110 -0
  2270. pyrogram/raw/types/update_bot_menu_button.py +80 -0
  2271. pyrogram/raw/types/update_bot_precheckout_query.py +125 -0
  2272. pyrogram/raw/types/update_bot_shipping_query.py +96 -0
  2273. pyrogram/raw/types/update_bot_stopped.py +96 -0
  2274. pyrogram/raw/types/update_bot_webhook_json.py +72 -0
  2275. pyrogram/raw/types/update_bot_webhook_json_query.py +88 -0
  2276. pyrogram/raw/types/update_channel.py +72 -0
  2277. pyrogram/raw/types/update_channel_available_messages.py +80 -0
  2278. pyrogram/raw/types/update_channel_message_forwards.py +88 -0
  2279. pyrogram/raw/types/update_channel_message_views.py +88 -0
  2280. pyrogram/raw/types/update_channel_participant.py +142 -0
  2281. pyrogram/raw/types/update_channel_pinned_topic.py +88 -0
  2282. pyrogram/raw/types/update_channel_pinned_topics.py +84 -0
  2283. pyrogram/raw/types/update_channel_read_messages_contents.py +91 -0
  2284. pyrogram/raw/types/update_channel_too_long.py +83 -0
  2285. pyrogram/raw/types/update_channel_user_typing.py +99 -0
  2286. pyrogram/raw/types/update_channel_web_page.py +96 -0
  2287. pyrogram/raw/types/update_chat.py +72 -0
  2288. pyrogram/raw/types/update_chat_default_banned_rights.py +88 -0
  2289. pyrogram/raw/types/update_chat_participant.py +136 -0
  2290. pyrogram/raw/types/update_chat_participant_add.py +104 -0
  2291. pyrogram/raw/types/update_chat_participant_admin.py +96 -0
  2292. pyrogram/raw/types/update_chat_participant_delete.py +88 -0
  2293. pyrogram/raw/types/update_chat_participants.py +72 -0
  2294. pyrogram/raw/types/update_chat_user_typing.py +88 -0
  2295. pyrogram/raw/types/update_config.py +67 -0
  2296. pyrogram/raw/types/update_contacts_reset.py +67 -0
  2297. pyrogram/raw/types/update_dc_options.py +72 -0
  2298. pyrogram/raw/types/update_delete_channel_messages.py +96 -0
  2299. pyrogram/raw/types/update_delete_messages.py +88 -0
  2300. pyrogram/raw/types/update_delete_scheduled_messages.py +80 -0
  2301. pyrogram/raw/types/update_dialog_filter.py +84 -0
  2302. pyrogram/raw/types/update_dialog_filter_order.py +72 -0
  2303. pyrogram/raw/types/update_dialog_filters.py +67 -0
  2304. pyrogram/raw/types/update_dialog_pinned.py +89 -0
  2305. pyrogram/raw/types/update_dialog_unread_mark.py +80 -0
  2306. pyrogram/raw/types/update_draft_message.py +91 -0
  2307. pyrogram/raw/types/update_edit_channel_message.py +88 -0
  2308. pyrogram/raw/types/update_edit_message.py +88 -0
  2309. pyrogram/raw/types/update_encrypted_chat_typing.py +72 -0
  2310. pyrogram/raw/types/update_encrypted_messages_read.py +88 -0
  2311. pyrogram/raw/types/update_encryption.py +80 -0
  2312. pyrogram/raw/types/update_faved_stickers.py +67 -0
  2313. pyrogram/raw/types/update_folder_peers.py +88 -0
  2314. pyrogram/raw/types/update_geo_live_viewed.py +80 -0
  2315. pyrogram/raw/types/update_group_call.py +80 -0
  2316. pyrogram/raw/types/update_group_call_connection.py +80 -0
  2317. pyrogram/raw/types/update_group_call_participants.py +88 -0
  2318. pyrogram/raw/types/update_group_invite_privacy_forbidden.py +72 -0
  2319. pyrogram/raw/types/update_inline_bot_callback_query.py +116 -0
  2320. pyrogram/raw/types/update_lang_pack.py +72 -0
  2321. pyrogram/raw/types/update_lang_pack_too_long.py +72 -0
  2322. pyrogram/raw/types/update_login_token.py +67 -0
  2323. pyrogram/raw/types/update_message_extended_media.py +88 -0
  2324. pyrogram/raw/types/update_message_id.py +80 -0
  2325. pyrogram/raw/types/update_message_poll.py +92 -0
  2326. pyrogram/raw/types/update_message_poll_vote.py +96 -0
  2327. pyrogram/raw/types/update_message_reactions.py +99 -0
  2328. pyrogram/raw/types/update_move_sticker_set_to_top.py +86 -0
  2329. pyrogram/raw/types/update_new_channel_message.py +88 -0
  2330. pyrogram/raw/types/update_new_encrypted_message.py +80 -0
  2331. pyrogram/raw/types/update_new_message.py +88 -0
  2332. pyrogram/raw/types/update_new_scheduled_message.py +72 -0
  2333. pyrogram/raw/types/update_new_sticker_set.py +72 -0
  2334. pyrogram/raw/types/update_notify_settings.py +80 -0
  2335. pyrogram/raw/types/update_peer_blocked.py +80 -0
  2336. pyrogram/raw/types/update_peer_history_ttl.py +83 -0
  2337. pyrogram/raw/types/update_peer_located.py +72 -0
  2338. pyrogram/raw/types/update_peer_settings.py +80 -0
  2339. pyrogram/raw/types/update_pending_join_requests.py +88 -0
  2340. pyrogram/raw/types/update_phone_call.py +72 -0
  2341. pyrogram/raw/types/update_phone_call_signaling_data.py +80 -0
  2342. pyrogram/raw/types/update_pinned_channel_messages.py +104 -0
  2343. pyrogram/raw/types/update_pinned_dialogs.py +85 -0
  2344. pyrogram/raw/types/update_pinned_messages.py +104 -0
  2345. pyrogram/raw/types/update_privacy.py +80 -0
  2346. pyrogram/raw/types/update_pts_changed.py +67 -0
  2347. pyrogram/raw/types/update_read_channel_discussion_inbox.py +108 -0
  2348. pyrogram/raw/types/update_read_channel_discussion_outbox.py +88 -0
  2349. pyrogram/raw/types/update_read_channel_inbox.py +107 -0
  2350. pyrogram/raw/types/update_read_channel_outbox.py +80 -0
  2351. pyrogram/raw/types/update_read_featured_emoji_stickers.py +67 -0
  2352. pyrogram/raw/types/update_read_featured_stickers.py +67 -0
  2353. pyrogram/raw/types/update_read_history_inbox.py +115 -0
  2354. pyrogram/raw/types/update_read_history_outbox.py +96 -0
  2355. pyrogram/raw/types/update_read_messages_contents.py +88 -0
  2356. pyrogram/raw/types/update_recent_emoji_statuses.py +67 -0
  2357. pyrogram/raw/types/update_recent_reactions.py +67 -0
  2358. pyrogram/raw/types/update_recent_stickers.py +67 -0
  2359. pyrogram/raw/types/update_saved_gifs.py +67 -0
  2360. pyrogram/raw/types/update_saved_ringtones.py +67 -0
  2361. pyrogram/raw/types/update_service_notification.py +113 -0
  2362. pyrogram/raw/types/update_short.py +175 -0
  2363. pyrogram/raw/types/update_short_chat_message.py +289 -0
  2364. pyrogram/raw/types/update_short_message.py +281 -0
  2365. pyrogram/raw/types/update_short_sent_message.py +228 -0
  2366. pyrogram/raw/types/update_sticker_sets.py +78 -0
  2367. pyrogram/raw/types/update_sticker_sets_order.py +86 -0
  2368. pyrogram/raw/types/update_theme.py +72 -0
  2369. pyrogram/raw/types/update_transcribed_audio.py +104 -0
  2370. pyrogram/raw/types/update_user.py +72 -0
  2371. pyrogram/raw/types/update_user_emoji_status.py +80 -0
  2372. pyrogram/raw/types/update_user_name.py +96 -0
  2373. pyrogram/raw/types/update_user_phone.py +80 -0
  2374. pyrogram/raw/types/update_user_status.py +80 -0
  2375. pyrogram/raw/types/update_user_typing.py +80 -0
  2376. pyrogram/raw/types/update_web_page.py +88 -0
  2377. pyrogram/raw/types/update_web_view_result_sent.py +72 -0
  2378. pyrogram/raw/types/updates/__init__.py +32 -0
  2379. pyrogram/raw/types/updates/channel_difference.py +130 -0
  2380. pyrogram/raw/types/updates/channel_difference_empty.py +98 -0
  2381. pyrogram/raw/types/updates/channel_difference_too_long.py +122 -0
  2382. pyrogram/raw/types/updates/difference.py +121 -0
  2383. pyrogram/raw/types/updates/difference_empty.py +89 -0
  2384. pyrogram/raw/types/updates/difference_slice.py +121 -0
  2385. pyrogram/raw/types/updates/difference_too_long.py +81 -0
  2386. pyrogram/raw/types/updates/state.py +113 -0
  2387. pyrogram/raw/types/updates_combined.py +207 -0
  2388. pyrogram/raw/types/updates_t.py +199 -0
  2389. pyrogram/raw/types/updates_too_long.py +162 -0
  2390. pyrogram/raw/types/upload/__init__.py +29 -0
  2391. pyrogram/raw/types/upload/cdn_file.py +81 -0
  2392. pyrogram/raw/types/upload/cdn_file_reupload_needed.py +81 -0
  2393. pyrogram/raw/types/upload/file.py +97 -0
  2394. pyrogram/raw/types/upload/file_cdn_redirect.py +113 -0
  2395. pyrogram/raw/types/upload/web_file.py +113 -0
  2396. pyrogram/raw/types/url_auth_result_accepted.py +82 -0
  2397. pyrogram/raw/types/url_auth_result_default.py +77 -0
  2398. pyrogram/raw/types/url_auth_result_request.py +98 -0
  2399. pyrogram/raw/types/user.py +327 -0
  2400. pyrogram/raw/types/user_empty.py +85 -0
  2401. pyrogram/raw/types/user_full.py +280 -0
  2402. pyrogram/raw/types/user_profile_photo.py +103 -0
  2403. pyrogram/raw/types/user_profile_photo_empty.py +67 -0
  2404. pyrogram/raw/types/user_status_empty.py +67 -0
  2405. pyrogram/raw/types/user_status_last_month.py +67 -0
  2406. pyrogram/raw/types/user_status_last_week.py +67 -0
  2407. pyrogram/raw/types/user_status_offline.py +72 -0
  2408. pyrogram/raw/types/user_status_online.py +72 -0
  2409. pyrogram/raw/types/user_status_recently.py +67 -0
  2410. pyrogram/raw/types/username.py +86 -0
  2411. pyrogram/raw/types/users/__init__.py +25 -0
  2412. pyrogram/raw/types/users/user_full.py +97 -0
  2413. pyrogram/raw/types/video_size.py +107 -0
  2414. pyrogram/raw/types/video_size_emoji_markup.py +80 -0
  2415. pyrogram/raw/types/video_size_sticker_markup.py +88 -0
  2416. pyrogram/raw/types/wall_paper.py +143 -0
  2417. pyrogram/raw/types/wall_paper_no_file.py +107 -0
  2418. pyrogram/raw/types/wall_paper_settings.py +132 -0
  2419. pyrogram/raw/types/web_authorization.py +136 -0
  2420. pyrogram/raw/types/web_document.py +104 -0
  2421. pyrogram/raw/types/web_document_no_proxy.py +96 -0
  2422. pyrogram/raw/types/web_page.py +237 -0
  2423. pyrogram/raw/types/web_page_attribute_theme.py +86 -0
  2424. pyrogram/raw/types/web_page_empty.py +81 -0
  2425. pyrogram/raw/types/web_page_not_modified.py +84 -0
  2426. pyrogram/raw/types/web_page_pending.py +89 -0
  2427. pyrogram/raw/types/web_view_message_sent.py +85 -0
  2428. pyrogram/raw/types/web_view_result_url.py +89 -0
  2429. pyrogram/session/__init__.py +20 -0
  2430. pyrogram/session/auth.py +281 -0
  2431. pyrogram/session/internals/__init__.py +21 -0
  2432. pyrogram/session/internals/data_center.py +83 -0
  2433. pyrogram/session/internals/msg_factory.py +38 -0
  2434. pyrogram/session/internals/msg_id.py +35 -0
  2435. pyrogram/session/internals/seq_no.py +30 -0
  2436. pyrogram/session/session.py +412 -0
  2437. pyrogram/storage/__init__.py +21 -0
  2438. pyrogram/storage/file_storage.py +69 -0
  2439. pyrogram/storage/memory_storage.py +73 -0
  2440. pyrogram/storage/sqlite_storage.py +222 -0
  2441. pyrogram/storage/storage.py +91 -0
  2442. pyrogram/sync.py +113 -0
  2443. pyrogram/types/__init__.py +28 -0
  2444. pyrogram/types/authorization/__init__.py +22 -0
  2445. pyrogram/types/authorization/sent_code.py +62 -0
  2446. pyrogram/types/authorization/terms_of_service.py +56 -0
  2447. pyrogram/types/bots_and_keyboards/__init__.py +71 -0
  2448. pyrogram/types/bots_and_keyboards/bot_command.py +53 -0
  2449. pyrogram/types/bots_and_keyboards/bot_command_scope.py +73 -0
  2450. pyrogram/types/bots_and_keyboards/bot_command_scope_all_chat_administrators.py +32 -0
  2451. pyrogram/types/bots_and_keyboards/bot_command_scope_all_group_chats.py +32 -0
  2452. pyrogram/types/bots_and_keyboards/bot_command_scope_all_private_chats.py +32 -0
  2453. pyrogram/types/bots_and_keyboards/bot_command_scope_chat.py +43 -0
  2454. pyrogram/types/bots_and_keyboards/bot_command_scope_chat_administrators.py +43 -0
  2455. pyrogram/types/bots_and_keyboards/bot_command_scope_chat_member.py +48 -0
  2456. pyrogram/types/bots_and_keyboards/bot_command_scope_default.py +33 -0
  2457. pyrogram/types/bots_and_keyboards/callback_game.py +29 -0
  2458. pyrogram/types/bots_and_keyboards/callback_query.py +313 -0
  2459. pyrogram/types/bots_and_keyboards/force_reply.py +66 -0
  2460. pyrogram/types/bots_and_keyboards/game_high_score.py +70 -0
  2461. pyrogram/types/bots_and_keyboards/inline_keyboard_button.py +208 -0
  2462. pyrogram/types/bots_and_keyboards/inline_keyboard_markup.py +76 -0
  2463. pyrogram/types/bots_and_keyboards/keyboard_button.py +95 -0
  2464. pyrogram/types/bots_and_keyboards/login_url.py +90 -0
  2465. pyrogram/types/bots_and_keyboards/menu_button.py +44 -0
  2466. pyrogram/types/bots_and_keyboards/menu_button_commands.py +32 -0
  2467. pyrogram/types/bots_and_keyboards/menu_button_default.py +32 -0
  2468. pyrogram/types/bots_and_keyboards/menu_button_web_app.py +51 -0
  2469. pyrogram/types/bots_and_keyboards/reply_keyboard_markup.py +112 -0
  2470. pyrogram/types/bots_and_keyboards/reply_keyboard_remove.py +58 -0
  2471. pyrogram/types/bots_and_keyboards/sent_web_app_message.py +42 -0
  2472. pyrogram/types/bots_and_keyboards/web_app_info.py +37 -0
  2473. pyrogram/types/inline_mode/__init__.py +47 -0
  2474. pyrogram/types/inline_mode/chosen_inline_result.py +99 -0
  2475. pyrogram/types/inline_mode/inline_query.py +181 -0
  2476. pyrogram/types/inline_mode/inline_query_result.py +63 -0
  2477. pyrogram/types/inline_mode/inline_query_result_animation.py +155 -0
  2478. pyrogram/types/inline_mode/inline_query_result_article.py +99 -0
  2479. pyrogram/types/inline_mode/inline_query_result_audio.py +120 -0
  2480. pyrogram/types/inline_mode/inline_query_result_cached_animation.py +108 -0
  2481. pyrogram/types/inline_mode/inline_query_result_cached_audio.py +101 -0
  2482. pyrogram/types/inline_mode/inline_query_result_cached_document.py +113 -0
  2483. pyrogram/types/inline_mode/inline_query_result_cached_photo.py +111 -0
  2484. pyrogram/types/inline_mode/inline_query_result_cached_sticker.py +78 -0
  2485. pyrogram/types/inline_mode/inline_query_result_cached_video.py +114 -0
  2486. pyrogram/types/inline_mode/inline_query_result_cached_voice.py +108 -0
  2487. pyrogram/types/inline_mode/inline_query_result_contact.py +114 -0
  2488. pyrogram/types/inline_mode/inline_query_result_document.py +145 -0
  2489. pyrogram/types/inline_mode/inline_query_result_location.py +122 -0
  2490. pyrogram/types/inline_mode/inline_query_result_photo.py +147 -0
  2491. pyrogram/types/inline_mode/inline_query_result_venue.py +131 -0
  2492. pyrogram/types/inline_mode/inline_query_result_video.py +151 -0
  2493. pyrogram/types/inline_mode/inline_query_result_voice.py +114 -0
  2494. pyrogram/types/input_media/__init__.py +30 -0
  2495. pyrogram/types/input_media/input_media.py +49 -0
  2496. pyrogram/types/input_media/input_media_animation.py +85 -0
  2497. pyrogram/types/input_media/input_media_audio.py +82 -0
  2498. pyrogram/types/input_media/input_media_document.py +65 -0
  2499. pyrogram/types/input_media/input_media_photo.py +63 -0
  2500. pyrogram/types/input_media/input_media_video.py +91 -0
  2501. pyrogram/types/input_media/input_phone_contact.py +51 -0
  2502. pyrogram/types/input_message_content/__init__.py +24 -0
  2503. pyrogram/types/input_message_content/input_message_content.py +40 -0
  2504. pyrogram/types/input_message_content/input_text_message_content.py +68 -0
  2505. pyrogram/types/list.py +30 -0
  2506. pyrogram/types/messages_and_media/__init__.py +47 -0
  2507. pyrogram/types/messages_and_media/animation.py +121 -0
  2508. pyrogram/types/messages_and_media/audio.py +121 -0
  2509. pyrogram/types/messages_and_media/contact.py +71 -0
  2510. pyrogram/types/messages_and_media/dice.py +47 -0
  2511. pyrogram/types/messages_and_media/document.py +98 -0
  2512. pyrogram/types/messages_and_media/game.py +99 -0
  2513. pyrogram/types/messages_and_media/location.py +55 -0
  2514. pyrogram/types/messages_and_media/message.py +3590 -0
  2515. pyrogram/types/messages_and_media/message_entity.py +124 -0
  2516. pyrogram/types/messages_and_media/message_reactions.py +56 -0
  2517. pyrogram/types/messages_and_media/photo.py +130 -0
  2518. pyrogram/types/messages_and_media/poll.py +203 -0
  2519. pyrogram/types/messages_and_media/poll_option.py +50 -0
  2520. pyrogram/types/messages_and_media/reaction.py +86 -0
  2521. pyrogram/types/messages_and_media/sticker.py +206 -0
  2522. pyrogram/types/messages_and_media/stripped_thumbnail.py +47 -0
  2523. pyrogram/types/messages_and_media/thumbnail.py +111 -0
  2524. pyrogram/types/messages_and_media/venue.py +74 -0
  2525. pyrogram/types/messages_and_media/video.py +134 -0
  2526. pyrogram/types/messages_and_media/video_note.py +108 -0
  2527. pyrogram/types/messages_and_media/voice.py +96 -0
  2528. pyrogram/types/messages_and_media/web_app_data.py +51 -0
  2529. pyrogram/types/messages_and_media/web_page.py +187 -0
  2530. pyrogram/types/object.py +121 -0
  2531. pyrogram/types/update.py +27 -0
  2532. pyrogram/types/user_and_chats/__init__.py +67 -0
  2533. pyrogram/types/user_and_chats/chat.py +963 -0
  2534. pyrogram/types/user_and_chats/chat_admin_with_invite_links.py +63 -0
  2535. pyrogram/types/user_and_chats/chat_event.py +489 -0
  2536. pyrogram/types/user_and_chats/chat_event_filter.py +175 -0
  2537. pyrogram/types/user_and_chats/chat_invite_link.py +130 -0
  2538. pyrogram/types/user_and_chats/chat_join_request.py +139 -0
  2539. pyrogram/types/user_and_chats/chat_joiner.py +82 -0
  2540. pyrogram/types/user_and_chats/chat_member.py +227 -0
  2541. pyrogram/types/user_and_chats/chat_member_updated.py +102 -0
  2542. pyrogram/types/user_and_chats/chat_permissions.py +98 -0
  2543. pyrogram/types/user_and_chats/chat_photo.py +107 -0
  2544. pyrogram/types/user_and_chats/chat_preview.py +79 -0
  2545. pyrogram/types/user_and_chats/chat_privileges.py +112 -0
  2546. pyrogram/types/user_and_chats/chat_reactions.py +69 -0
  2547. pyrogram/types/user_and_chats/dialog.py +79 -0
  2548. pyrogram/types/user_and_chats/emoji_status.py +77 -0
  2549. pyrogram/types/user_and_chats/invite_link_importer.py +61 -0
  2550. pyrogram/types/user_and_chats/restriction.py +50 -0
  2551. pyrogram/types/user_and_chats/user.py +399 -0
  2552. pyrogram/types/user_and_chats/video_chat_ended.py +41 -0
  2553. pyrogram/types/user_and_chats/video_chat_members_invited.py +50 -0
  2554. pyrogram/types/user_and_chats/video_chat_scheduled.py +43 -0
  2555. pyrogram/types/user_and_chats/video_chat_started.py +29 -0
  2556. pyrogram/utils.py +371 -0
  2557. stefano_pyrogram-2.0.107.dist-info/METADATA +128 -0
  2558. stefano_pyrogram-2.0.107.dist-info/RECORD +2563 -0
  2559. stefano_pyrogram-2.0.107.dist-info/WHEEL +5 -0
  2560. stefano_pyrogram-2.0.107.dist-info/licenses/COPYING +674 -0
  2561. stefano_pyrogram-2.0.107.dist-info/licenses/COPYING.lesser +165 -0
  2562. stefano_pyrogram-2.0.107.dist-info/licenses/NOTICE +17 -0
  2563. stefano_pyrogram-2.0.107.dist-info/top_level.txt +1 -0
@@ -0,0 +1,2541 @@
1
+ # Pyrogram - Telegram MTProto API Client Library for Python
2
+ # Copyright (C) 2017-present Dan <https://github.com/delivrance>
3
+ #
4
+ # This file is part of Pyrogram.
5
+ #
6
+ # Pyrogram is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU Lesser General Public License as published
8
+ # by the Free Software Foundation, either version 3 of the License, or
9
+ # (at your option) any later version.
10
+ #
11
+ # Pyrogram is distributed in the hope that it will be useful,
12
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ # GNU Lesser General Public License for more details.
15
+ #
16
+ # You should have received a copy of the GNU Lesser General Public License
17
+ # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
18
+
19
+ from ..rpc_error import RPCError
20
+
21
+
22
+ class BadRequest(RPCError):
23
+ """Bad Request"""
24
+ CODE = 400
25
+ """``int``: RPC Error Code"""
26
+ NAME = __doc__
27
+
28
+
29
+ class AboutTooLong(BadRequest):
30
+ """The provided about/bio text is too long"""
31
+ ID = "ABOUT_TOO_LONG"
32
+ """``str``: RPC Error ID"""
33
+ MESSAGE = __doc__
34
+
35
+
36
+ class AccessTokenExpired(BadRequest):
37
+ """The bot token has expired"""
38
+ ID = "ACCESS_TOKEN_EXPIRED"
39
+ """``str``: RPC Error ID"""
40
+ MESSAGE = __doc__
41
+
42
+
43
+ class AccessTokenInvalid(BadRequest):
44
+ """The bot access token is invalid"""
45
+ ID = "ACCESS_TOKEN_INVALID"
46
+ """``str``: RPC Error ID"""
47
+ MESSAGE = __doc__
48
+
49
+
50
+ class AdminsTooMuch(BadRequest):
51
+ """The chat has too many administrators"""
52
+ ID = "ADMINS_TOO_MUCH"
53
+ """``str``: RPC Error ID"""
54
+ MESSAGE = __doc__
55
+
56
+
57
+ class AdminRankEmojiNotAllowed(BadRequest):
58
+ """Emoji are not allowed in custom administrator titles"""
59
+ ID = "ADMIN_RANK_EMOJI_NOT_ALLOWED"
60
+ """``str``: RPC Error ID"""
61
+ MESSAGE = __doc__
62
+
63
+
64
+ class AdminRankInvalid(BadRequest):
65
+ """The custom administrator title is invalid or too long"""
66
+ ID = "ADMIN_RANK_INVALID"
67
+ """``str``: RPC Error ID"""
68
+ MESSAGE = __doc__
69
+
70
+
71
+ class AlbumPhotosTooMany(BadRequest):
72
+ """Too many photos were included in the album"""
73
+ ID = "ALBUM_PHOTOS_TOO_MANY"
74
+ """``str``: RPC Error ID"""
75
+ MESSAGE = __doc__
76
+
77
+
78
+ class ApiIdInvalid(BadRequest):
79
+ """The api_id/api_hash combination is invalid"""
80
+ ID = "API_ID_INVALID"
81
+ """``str``: RPC Error ID"""
82
+ MESSAGE = __doc__
83
+
84
+
85
+ class ApiIdPublishedFlood(BadRequest):
86
+ """You are using an API key that is limited on the server side because it was published somewhere"""
87
+ ID = "API_ID_PUBLISHED_FLOOD"
88
+ """``str``: RPC Error ID"""
89
+ MESSAGE = __doc__
90
+
91
+
92
+ class ArticleTitleEmpty(BadRequest):
93
+ """The article title is empty"""
94
+ ID = "ARTICLE_TITLE_EMPTY"
95
+ """``str``: RPC Error ID"""
96
+ MESSAGE = __doc__
97
+
98
+
99
+ class AudioTitleEmpty(BadRequest):
100
+ """The title attribute of the audio is empty"""
101
+ ID = "AUDIO_TITLE_EMPTY"
102
+ """``str``: RPC Error ID"""
103
+ MESSAGE = __doc__
104
+
105
+
106
+ class AuthBytesInvalid(BadRequest):
107
+ """The authorization bytes are invalid"""
108
+ ID = "AUTH_BYTES_INVALID"
109
+ """``str``: RPC Error ID"""
110
+ MESSAGE = __doc__
111
+
112
+
113
+ class AuthTokenAlreadyAccepted(BadRequest):
114
+ """The authorization token was already used"""
115
+ ID = "AUTH_TOKEN_ALREADY_ACCEPTED"
116
+ """``str``: RPC Error ID"""
117
+ MESSAGE = __doc__
118
+
119
+
120
+ class AuthTokenExpired(BadRequest):
121
+ """The provided authorization token has expired and the updated QR-code must be re-scanned"""
122
+ ID = "AUTH_TOKEN_EXPIRED"
123
+ """``str``: RPC Error ID"""
124
+ MESSAGE = __doc__
125
+
126
+
127
+ class AuthTokenInvalid(BadRequest):
128
+ """An invalid authorization token was provided"""
129
+ ID = "AUTH_TOKEN_INVALID"
130
+ """``str``: RPC Error ID"""
131
+ MESSAGE = __doc__
132
+
133
+
134
+ class AutoarchiveNotAvailable(BadRequest):
135
+ """This feature is not yet enabled for your account due to it not receiving too many private messages from strangers"""
136
+ ID = "AUTOARCHIVE_NOT_AVAILABLE"
137
+ """``str``: RPC Error ID"""
138
+ MESSAGE = __doc__
139
+
140
+
141
+ class BankCardNumberInvalid(BadRequest):
142
+ """The credit card number is invalid"""
143
+ ID = "BANK_CARD_NUMBER_INVALID"
144
+ """``str``: RPC Error ID"""
145
+ MESSAGE = __doc__
146
+
147
+
148
+ class BannedRightsInvalid(BadRequest):
149
+ """You provided a set of restrictions that is invalid"""
150
+ ID = "BANNED_RIGHTS_INVALID"
151
+ """``str``: RPC Error ID"""
152
+ MESSAGE = __doc__
153
+
154
+
155
+ class BasePortLocInvalid(BadRequest):
156
+ """The base port location is invalid"""
157
+ ID = "BASE_PORT_LOC_INVALID"
158
+ """``str``: RPC Error ID"""
159
+ MESSAGE = __doc__
160
+
161
+
162
+ class BotsTooMuch(BadRequest):
163
+ """The chat has too many bots"""
164
+ ID = "BOTS_TOO_MUCH"
165
+ """``str``: RPC Error ID"""
166
+ MESSAGE = __doc__
167
+
168
+
169
+ class BotChannelsNa(BadRequest):
170
+ """Bots can't edit admin privileges"""
171
+ ID = "BOT_CHANNELS_NA"
172
+ """``str``: RPC Error ID"""
173
+ MESSAGE = __doc__
174
+
175
+
176
+ class BotCommandDescriptionInvalid(BadRequest):
177
+ """The command description was empty, too long or had invalid characters"""
178
+ ID = "BOT_COMMAND_DESCRIPTION_INVALID"
179
+ """``str``: RPC Error ID"""
180
+ MESSAGE = __doc__
181
+
182
+
183
+ class BotDomainInvalid(BadRequest):
184
+ """The domain used for the auth button does not match the one configured in @BotFather"""
185
+ ID = "BOT_DOMAIN_INVALID"
186
+ """``str``: RPC Error ID"""
187
+ MESSAGE = __doc__
188
+
189
+
190
+ class BotGamesDisabled(BadRequest):
191
+ """Bot games cannot be used in this type of chat"""
192
+ ID = "BOT_GAMES_DISABLED"
193
+ """``str``: RPC Error ID"""
194
+ MESSAGE = __doc__
195
+
196
+
197
+ class BotGroupsBlocked(BadRequest):
198
+ """This bot can't be added to groups"""
199
+ ID = "BOT_GROUPS_BLOCKED"
200
+ """``str``: RPC Error ID"""
201
+ MESSAGE = __doc__
202
+
203
+
204
+ class BotInlineDisabled(BadRequest):
205
+ """The inline feature of the bot is disabled"""
206
+ ID = "BOT_INLINE_DISABLED"
207
+ """``str``: RPC Error ID"""
208
+ MESSAGE = __doc__
209
+
210
+
211
+ class BotInvalid(BadRequest):
212
+ """This is not a valid bot"""
213
+ ID = "BOT_INVALID"
214
+ """``str``: RPC Error ID"""
215
+ MESSAGE = __doc__
216
+
217
+
218
+ class BotMethodInvalid(BadRequest):
219
+ """The method can't be used by bots"""
220
+ ID = "BOT_METHOD_INVALID"
221
+ """``str``: RPC Error ID"""
222
+ MESSAGE = __doc__
223
+
224
+
225
+ class BotMissing(BadRequest):
226
+ """This method can only be run by a bot"""
227
+ ID = "BOT_MISSING"
228
+ """``str``: RPC Error ID"""
229
+ MESSAGE = __doc__
230
+
231
+
232
+ class BotOnesideNotAvail(BadRequest):
233
+ """Bots can't pin messages for one side only in private chats"""
234
+ ID = "BOT_ONESIDE_NOT_AVAIL"
235
+ """``str``: RPC Error ID"""
236
+ MESSAGE = __doc__
237
+
238
+
239
+ class BotPaymentsDisabled(BadRequest):
240
+ """This method can only be run by a bot"""
241
+ ID = "BOT_PAYMENTS_DISABLED"
242
+ """``str``: RPC Error ID"""
243
+ MESSAGE = __doc__
244
+
245
+
246
+ class BotPollsDisabled(BadRequest):
247
+ """Sending polls by bots has been disabled"""
248
+ ID = "BOT_POLLS_DISABLED"
249
+ """``str``: RPC Error ID"""
250
+ MESSAGE = __doc__
251
+
252
+
253
+ class BotResponseTimeout(BadRequest):
254
+ """The bot did not answer to the callback query in time"""
255
+ ID = "BOT_RESPONSE_TIMEOUT"
256
+ """``str``: RPC Error ID"""
257
+ MESSAGE = __doc__
258
+
259
+
260
+ class BotScoreNotModified(BadRequest):
261
+ """The bot score was not modified"""
262
+ ID = "BOT_SCORE_NOT_MODIFIED"
263
+ """``str``: RPC Error ID"""
264
+ MESSAGE = __doc__
265
+
266
+
267
+ class BroadcastIdInvalid(BadRequest):
268
+ """The channel is invalid"""
269
+ ID = "BROADCAST_ID_INVALID"
270
+ """``str``: RPC Error ID"""
271
+ MESSAGE = __doc__
272
+
273
+
274
+ class BroadcastPublicVotersForbidden(BadRequest):
275
+ """Polls with public voters cannot be sent in channels"""
276
+ ID = "BROADCAST_PUBLIC_VOTERS_FORBIDDEN"
277
+ """``str``: RPC Error ID"""
278
+ MESSAGE = __doc__
279
+
280
+
281
+ class BroadcastRequired(BadRequest):
282
+ """The request can only be used with a channel"""
283
+ ID = "BROADCAST_REQUIRED"
284
+ """``str``: RPC Error ID"""
285
+ MESSAGE = __doc__
286
+
287
+
288
+ class ButtonDataInvalid(BadRequest):
289
+ """The button callback data is invalid or too large"""
290
+ ID = "BUTTON_DATA_INVALID"
291
+ """``str``: RPC Error ID"""
292
+ MESSAGE = __doc__
293
+
294
+
295
+ class ButtonTypeInvalid(BadRequest):
296
+ """The type of one of the buttons you provided is invalid"""
297
+ ID = "BUTTON_TYPE_INVALID"
298
+ """``str``: RPC Error ID"""
299
+ MESSAGE = __doc__
300
+
301
+
302
+ class ButtonUrlInvalid(BadRequest):
303
+ """The button url is invalid"""
304
+ ID = "BUTTON_URL_INVALID"
305
+ """``str``: RPC Error ID"""
306
+ MESSAGE = __doc__
307
+
308
+
309
+ class ButtonUserPrivacyRestricted(BadRequest):
310
+ """The privacy settings of the user specified in a keyboard button do not allow creating such button"""
311
+ ID = "BUTTON_USER_PRIVACY_RESTRICTED"
312
+ """``str``: RPC Error ID"""
313
+ MESSAGE = __doc__
314
+
315
+
316
+ class CallAlreadyAccepted(BadRequest):
317
+ """The call is already accepted"""
318
+ ID = "CALL_ALREADY_ACCEPTED"
319
+ """``str``: RPC Error ID"""
320
+ MESSAGE = __doc__
321
+
322
+
323
+ class CallAlreadyDeclined(BadRequest):
324
+ """The call is already declined"""
325
+ ID = "CALL_ALREADY_DECLINED"
326
+ """``str``: RPC Error ID"""
327
+ MESSAGE = __doc__
328
+
329
+
330
+ class CallPeerInvalid(BadRequest):
331
+ """The provided call peer object is invalid"""
332
+ ID = "CALL_PEER_INVALID"
333
+ """``str``: RPC Error ID"""
334
+ MESSAGE = __doc__
335
+
336
+
337
+ class CallProtocolFlagsInvalid(BadRequest):
338
+ """Call protocol flags invalid"""
339
+ ID = "CALL_PROTOCOL_FLAGS_INVALID"
340
+ """``str``: RPC Error ID"""
341
+ MESSAGE = __doc__
342
+
343
+
344
+ class CdnMethodInvalid(BadRequest):
345
+ """The method can't be used on CDN DCs"""
346
+ ID = "CDN_METHOD_INVALID"
347
+ """``str``: RPC Error ID"""
348
+ MESSAGE = __doc__
349
+
350
+
351
+ class ChannelsAdminPublicTooMuch(BadRequest):
352
+ """You are an administrator of too many public channels"""
353
+ ID = "CHANNELS_ADMIN_PUBLIC_TOO_MUCH"
354
+ """``str``: RPC Error ID"""
355
+ MESSAGE = __doc__
356
+
357
+
358
+ class ChannelsTooMuch(BadRequest):
359
+ """You have joined too many channels or supergroups, leave some and try again"""
360
+ ID = "CHANNELS_TOO_MUCH"
361
+ """``str``: RPC Error ID"""
362
+ MESSAGE = __doc__
363
+
364
+
365
+ class ChannelAddInvalid(BadRequest):
366
+ """Internal error."""
367
+ ID = "CHANNEL_ADD_INVALID"
368
+ """``str``: RPC Error ID"""
369
+ MESSAGE = __doc__
370
+
371
+
372
+ class ChannelBanned(BadRequest):
373
+ """The channel is banned"""
374
+ ID = "CHANNEL_BANNED"
375
+ """``str``: RPC Error ID"""
376
+ MESSAGE = __doc__
377
+
378
+
379
+ class ChannelInvalid(BadRequest):
380
+ """The channel parameter is invalid"""
381
+ ID = "CHANNEL_INVALID"
382
+ """``str``: RPC Error ID"""
383
+ MESSAGE = __doc__
384
+
385
+
386
+ class ChannelPrivate(BadRequest):
387
+ """The channel/supergroup is not accessible"""
388
+ ID = "CHANNEL_PRIVATE"
389
+ """``str``: RPC Error ID"""
390
+ MESSAGE = __doc__
391
+
392
+
393
+ class ChannelTooLarge(BadRequest):
394
+ """The channel is too large"""
395
+ ID = "CHANNEL_TOO_LARGE"
396
+ """``str``: RPC Error ID"""
397
+ MESSAGE = __doc__
398
+
399
+
400
+ class ChatAboutNotModified(BadRequest):
401
+ """The chat about text was not modified because you tried to edit it using the same content"""
402
+ ID = "CHAT_ABOUT_NOT_MODIFIED"
403
+ """``str``: RPC Error ID"""
404
+ MESSAGE = __doc__
405
+
406
+
407
+ class ChatAboutTooLong(BadRequest):
408
+ """The chat about text is too long"""
409
+ ID = "CHAT_ABOUT_TOO_LONG"
410
+ """``str``: RPC Error ID"""
411
+ MESSAGE = __doc__
412
+
413
+
414
+ class ChatAdminRequired(BadRequest):
415
+ """The method requires chat admin privileges"""
416
+ ID = "CHAT_ADMIN_REQUIRED"
417
+ """``str``: RPC Error ID"""
418
+ MESSAGE = __doc__
419
+
420
+
421
+ class ChatForwardsRestricted(BadRequest):
422
+ """The chat restricts forwarding content"""
423
+ ID = "CHAT_FORWARDS_RESTRICTED"
424
+ """``str``: RPC Error ID"""
425
+ MESSAGE = __doc__
426
+
427
+
428
+ class ChatIdEmpty(BadRequest):
429
+ """The provided chat id is empty"""
430
+ ID = "CHAT_ID_EMPTY"
431
+ """``str``: RPC Error ID"""
432
+ MESSAGE = __doc__
433
+
434
+
435
+ class ChatIdInvalid(BadRequest):
436
+ """The chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it"""
437
+ ID = "CHAT_ID_INVALID"
438
+ """``str``: RPC Error ID"""
439
+ MESSAGE = __doc__
440
+
441
+
442
+ class ChatInvalid(BadRequest):
443
+ """The chat is invalid"""
444
+ ID = "CHAT_INVALID"
445
+ """``str``: RPC Error ID"""
446
+ MESSAGE = __doc__
447
+
448
+
449
+ class ChatInvitePermanent(BadRequest):
450
+ """The chat invite link is primary"""
451
+ ID = "CHAT_INVITE_PERMANENT"
452
+ """``str``: RPC Error ID"""
453
+ MESSAGE = __doc__
454
+
455
+
456
+ class ChatLinkExists(BadRequest):
457
+ """The action failed because the supergroup is linked to a channel"""
458
+ ID = "CHAT_LINK_EXISTS"
459
+ """``str``: RPC Error ID"""
460
+ MESSAGE = __doc__
461
+
462
+
463
+ class ChatNotModified(BadRequest):
464
+ """The chat settings (title, permissions, photo, etc..) were not modified because you tried to edit them using the same content"""
465
+ ID = "CHAT_NOT_MODIFIED"
466
+ """``str``: RPC Error ID"""
467
+ MESSAGE = __doc__
468
+
469
+
470
+ class ChatRestricted(BadRequest):
471
+ """The chat is restricted and cannot be used"""
472
+ ID = "CHAT_RESTRICTED"
473
+ """``str``: RPC Error ID"""
474
+ MESSAGE = __doc__
475
+
476
+
477
+ class ChatSendInlineForbidden(BadRequest):
478
+ """You cannot use inline bots to send messages in this chat"""
479
+ ID = "CHAT_SEND_INLINE_FORBIDDEN"
480
+ """``str``: RPC Error ID"""
481
+ MESSAGE = __doc__
482
+
483
+
484
+ class ChatTitleEmpty(BadRequest):
485
+ """The chat title is empty"""
486
+ ID = "CHAT_TITLE_EMPTY"
487
+ """``str``: RPC Error ID"""
488
+ MESSAGE = __doc__
489
+
490
+
491
+ class ChatTooBig(BadRequest):
492
+ """The chat is too big for this action"""
493
+ ID = "CHAT_TOO_BIG"
494
+ """``str``: RPC Error ID"""
495
+ MESSAGE = __doc__
496
+
497
+
498
+ class CodeEmpty(BadRequest):
499
+ """The provided code is empty"""
500
+ ID = "CODE_EMPTY"
501
+ """``str``: RPC Error ID"""
502
+ MESSAGE = __doc__
503
+
504
+
505
+ class CodeHashInvalid(BadRequest):
506
+ """The provided code hash invalid"""
507
+ ID = "CODE_HASH_INVALID"
508
+ """``str``: RPC Error ID"""
509
+ MESSAGE = __doc__
510
+
511
+
512
+ class CodeInvalid(BadRequest):
513
+ """The provided code is invalid (i.e. from email)"""
514
+ ID = "CODE_INVALID"
515
+ """``str``: RPC Error ID"""
516
+ MESSAGE = __doc__
517
+
518
+
519
+ class ConnectionApiIdInvalid(BadRequest):
520
+ """The provided API id is invalid"""
521
+ ID = "CONNECTION_API_ID_INVALID"
522
+ """``str``: RPC Error ID"""
523
+ MESSAGE = __doc__
524
+
525
+
526
+ class ConnectionAppVersionEmpty(BadRequest):
527
+ """App version is empty"""
528
+ ID = "CONNECTION_APP_VERSION_EMPTY"
529
+ """``str``: RPC Error ID"""
530
+ MESSAGE = __doc__
531
+
532
+
533
+ class ConnectionDeviceModelEmpty(BadRequest):
534
+ """The device model is empty"""
535
+ ID = "CONNECTION_DEVICE_MODEL_EMPTY"
536
+ """``str``: RPC Error ID"""
537
+ MESSAGE = __doc__
538
+
539
+
540
+ class ConnectionLangPackInvalid(BadRequest):
541
+ """The specified language pack is not valid"""
542
+ ID = "CONNECTION_LANG_PACK_INVALID"
543
+ """``str``: RPC Error ID"""
544
+ MESSAGE = __doc__
545
+
546
+
547
+ class ConnectionLayerInvalid(BadRequest):
548
+ """The connection layer is invalid. Missing InvokeWithLayer-InitConnection call"""
549
+ ID = "CONNECTION_LAYER_INVALID"
550
+ """``str``: RPC Error ID"""
551
+ MESSAGE = __doc__
552
+
553
+
554
+ class ConnectionNotInited(BadRequest):
555
+ """The connection was not initialized"""
556
+ ID = "CONNECTION_NOT_INITED"
557
+ """``str``: RPC Error ID"""
558
+ MESSAGE = __doc__
559
+
560
+
561
+ class ConnectionSystemEmpty(BadRequest):
562
+ """The connection to the system is empty"""
563
+ ID = "CONNECTION_SYSTEM_EMPTY"
564
+ """``str``: RPC Error ID"""
565
+ MESSAGE = __doc__
566
+
567
+
568
+ class ConnectionSystemLangCodeEmpty(BadRequest):
569
+ """The system language code is empty"""
570
+ ID = "CONNECTION_SYSTEM_LANG_CODE_EMPTY"
571
+ """``str``: RPC Error ID"""
572
+ MESSAGE = __doc__
573
+
574
+
575
+ class ContactAddMissing(BadRequest):
576
+ """Contact to add is missing"""
577
+ ID = "CONTACT_ADD_MISSING"
578
+ """``str``: RPC Error ID"""
579
+ MESSAGE = __doc__
580
+
581
+
582
+ class ContactIdInvalid(BadRequest):
583
+ """The provided contact id is invalid"""
584
+ ID = "CONTACT_ID_INVALID"
585
+ """``str``: RPC Error ID"""
586
+ MESSAGE = __doc__
587
+
588
+
589
+ class ContactNameEmpty(BadRequest):
590
+ """The provided contact name is empty"""
591
+ ID = "CONTACT_NAME_EMPTY"
592
+ """``str``: RPC Error ID"""
593
+ MESSAGE = __doc__
594
+
595
+
596
+ class ContactReqMissing(BadRequest):
597
+ """Missing contact request"""
598
+ ID = "CONTACT_REQ_MISSING"
599
+ """``str``: RPC Error ID"""
600
+ MESSAGE = __doc__
601
+
602
+
603
+ class DataInvalid(BadRequest):
604
+ """The encrypted data is invalid"""
605
+ ID = "DATA_INVALID"
606
+ """``str``: RPC Error ID"""
607
+ MESSAGE = __doc__
608
+
609
+
610
+ class DataJsonInvalid(BadRequest):
611
+ """The provided JSON data is invalid"""
612
+ ID = "DATA_JSON_INVALID"
613
+ """``str``: RPC Error ID"""
614
+ MESSAGE = __doc__
615
+
616
+
617
+ class DataTooLong(BadRequest):
618
+ """Data too long"""
619
+ ID = "DATA_TOO_LONG"
620
+ """``str``: RPC Error ID"""
621
+ MESSAGE = __doc__
622
+
623
+
624
+ class DateEmpty(BadRequest):
625
+ """The date argument is empty"""
626
+ ID = "DATE_EMPTY"
627
+ """``str``: RPC Error ID"""
628
+ MESSAGE = __doc__
629
+
630
+
631
+ class DcIdInvalid(BadRequest):
632
+ """The dc_id parameter is invalid"""
633
+ ID = "DC_ID_INVALID"
634
+ """``str``: RPC Error ID"""
635
+ MESSAGE = __doc__
636
+
637
+
638
+ class DhGAInvalid(BadRequest):
639
+ """The g_a parameter invalid"""
640
+ ID = "DH_G_A_INVALID"
641
+ """``str``: RPC Error ID"""
642
+ MESSAGE = __doc__
643
+
644
+
645
+ class DocumentInvalid(BadRequest):
646
+ """The document is invalid"""
647
+ ID = "DOCUMENT_INVALID"
648
+ """``str``: RPC Error ID"""
649
+ MESSAGE = __doc__
650
+
651
+
652
+ class EmailHashExpired(BadRequest):
653
+ """The email hash expired and cannot be used to verify it"""
654
+ ID = "EMAIL_HASH_EXPIRED"
655
+ """``str``: RPC Error ID"""
656
+ MESSAGE = __doc__
657
+
658
+
659
+ class EmailInvalid(BadRequest):
660
+ """The email provided is invalid"""
661
+ ID = "EMAIL_INVALID"
662
+ """``str``: RPC Error ID"""
663
+ MESSAGE = __doc__
664
+
665
+
666
+ class EmailUnconfirmed(BadRequest):
667
+ """Email unconfirmed"""
668
+ ID = "EMAIL_UNCONFIRMED"
669
+ """``str``: RPC Error ID"""
670
+ MESSAGE = __doc__
671
+
672
+
673
+ class EmailUnconfirmed(BadRequest):
674
+ """The provided email isn't confirmed, {value} is the length of the verification code that was just sent to the email"""
675
+ ID = "EMAIL_UNCONFIRMED_X"
676
+ """``str``: RPC Error ID"""
677
+ MESSAGE = __doc__
678
+
679
+
680
+ class EmailVerifyExpired(BadRequest):
681
+ """The verification email has expired"""
682
+ ID = "EMAIL_VERIFY_EXPIRED"
683
+ """``str``: RPC Error ID"""
684
+ MESSAGE = __doc__
685
+
686
+
687
+ class EmoticonEmpty(BadRequest):
688
+ """The emoticon parameter is empty"""
689
+ ID = "EMOTICON_EMPTY"
690
+ """``str``: RPC Error ID"""
691
+ MESSAGE = __doc__
692
+
693
+
694
+ class EmoticonInvalid(BadRequest):
695
+ """The emoticon parameter is invalid"""
696
+ ID = "EMOTICON_INVALID"
697
+ """``str``: RPC Error ID"""
698
+ MESSAGE = __doc__
699
+
700
+
701
+ class EmoticonStickerpackMissing(BadRequest):
702
+ """The emoticon sticker pack you are trying to obtain is missing"""
703
+ ID = "EMOTICON_STICKERPACK_MISSING"
704
+ """``str``: RPC Error ID"""
705
+ MESSAGE = __doc__
706
+
707
+
708
+ class EncryptedMessageInvalid(BadRequest):
709
+ """The special binding message (bind_auth_key_inner) contains invalid data"""
710
+ ID = "ENCRYPTED_MESSAGE_INVALID"
711
+ """``str``: RPC Error ID"""
712
+ MESSAGE = __doc__
713
+
714
+
715
+ class EncryptionAlreadyAccepted(BadRequest):
716
+ """The secret chat is already accepted"""
717
+ ID = "ENCRYPTION_ALREADY_ACCEPTED"
718
+ """``str``: RPC Error ID"""
719
+ MESSAGE = __doc__
720
+
721
+
722
+ class EncryptionAlreadyDeclined(BadRequest):
723
+ """The secret chat is already declined"""
724
+ ID = "ENCRYPTION_ALREADY_DECLINED"
725
+ """``str``: RPC Error ID"""
726
+ MESSAGE = __doc__
727
+
728
+
729
+ class EncryptionDeclined(BadRequest):
730
+ """The secret chat was declined"""
731
+ ID = "ENCRYPTION_DECLINED"
732
+ """``str``: RPC Error ID"""
733
+ MESSAGE = __doc__
734
+
735
+
736
+ class EncryptionIdInvalid(BadRequest):
737
+ """The provided secret chat id is invalid"""
738
+ ID = "ENCRYPTION_ID_INVALID"
739
+ """``str``: RPC Error ID"""
740
+ MESSAGE = __doc__
741
+
742
+
743
+ class EntitiesTooLong(BadRequest):
744
+ """The entity provided contains data that is too long, or you passed too many entities to this message"""
745
+ ID = "ENTITIES_TOO_LONG"
746
+ """``str``: RPC Error ID"""
747
+ MESSAGE = __doc__
748
+
749
+
750
+ class EntityBoundsInvalid(BadRequest):
751
+ """The message entity bounds are invalid"""
752
+ ID = "ENTITY_BOUNDS_INVALID"
753
+ """``str``: RPC Error ID"""
754
+ MESSAGE = __doc__
755
+
756
+
757
+ class EntityMentionUserInvalid(BadRequest):
758
+ """The mentioned entity is not an user"""
759
+ ID = "ENTITY_MENTION_USER_INVALID"
760
+ """``str``: RPC Error ID"""
761
+ MESSAGE = __doc__
762
+
763
+
764
+ class ErrorTextEmpty(BadRequest):
765
+ """The provided error message is empty"""
766
+ ID = "ERROR_TEXT_EMPTY"
767
+ """``str``: RPC Error ID"""
768
+ MESSAGE = __doc__
769
+
770
+
771
+ class ExpireDateInvalid(BadRequest):
772
+ """The expiration date is invalid"""
773
+ ID = "EXPIRE_DATE_INVALID"
774
+ """``str``: RPC Error ID"""
775
+ MESSAGE = __doc__
776
+
777
+
778
+ class ExportCardInvalid(BadRequest):
779
+ """The provided card is invalid"""
780
+ ID = "EXPORT_CARD_INVALID"
781
+ """``str``: RPC Error ID"""
782
+ MESSAGE = __doc__
783
+
784
+
785
+ class ExternalUrlInvalid(BadRequest):
786
+ """The external media URL is invalid"""
787
+ ID = "EXTERNAL_URL_INVALID"
788
+ """``str``: RPC Error ID"""
789
+ MESSAGE = __doc__
790
+
791
+
792
+ class FieldNameEmpty(BadRequest):
793
+ """The field with the name FIELD_NAME is missing"""
794
+ ID = "FIELD_NAME_EMPTY"
795
+ """``str``: RPC Error ID"""
796
+ MESSAGE = __doc__
797
+
798
+
799
+ class FieldNameInvalid(BadRequest):
800
+ """The field with the name FIELD_NAME is invalid"""
801
+ ID = "FIELD_NAME_INVALID"
802
+ """``str``: RPC Error ID"""
803
+ MESSAGE = __doc__
804
+
805
+
806
+ class FileIdInvalid(BadRequest):
807
+ """The file id is invalid"""
808
+ ID = "FILE_ID_INVALID"
809
+ """``str``: RPC Error ID"""
810
+ MESSAGE = __doc__
811
+
812
+
813
+ class FileMigrate(BadRequest):
814
+ """The file is in Data Center No. {value}"""
815
+ ID = "FILE_MIGRATE_X"
816
+ """``str``: RPC Error ID"""
817
+ MESSAGE = __doc__
818
+
819
+
820
+ class FilePartsInvalid(BadRequest):
821
+ """Invalid number of parts."""
822
+ ID = "FILE_PARTS_INVALID"
823
+ """``str``: RPC Error ID"""
824
+ MESSAGE = __doc__
825
+
826
+
827
+ class FilePartEmpty(BadRequest):
828
+ """The file part sent is empty"""
829
+ ID = "FILE_PART_EMPTY"
830
+ """``str``: RPC Error ID"""
831
+ MESSAGE = __doc__
832
+
833
+
834
+ class FilePartInvalid(BadRequest):
835
+ """The file part number is invalid."""
836
+ ID = "FILE_PART_INVALID"
837
+ """``str``: RPC Error ID"""
838
+ MESSAGE = __doc__
839
+
840
+
841
+ class FilePartLengthInvalid(BadRequest):
842
+ """The length of a file part is invalid"""
843
+ ID = "FILE_PART_LENGTH_INVALID"
844
+ """``str``: RPC Error ID"""
845
+ MESSAGE = __doc__
846
+
847
+
848
+ class FilePartSizeChanged(BadRequest):
849
+ """The part size is different from the size of one of the previous parts in the same file"""
850
+ ID = "FILE_PART_SIZE_CHANGED"
851
+ """``str``: RPC Error ID"""
852
+ MESSAGE = __doc__
853
+
854
+
855
+ class FilePartSizeInvalid(BadRequest):
856
+ """The file part size is invalid"""
857
+ ID = "FILE_PART_SIZE_INVALID"
858
+ """``str``: RPC Error ID"""
859
+ MESSAGE = __doc__
860
+
861
+
862
+ class FilePartTooBig(BadRequest):
863
+ """The size limit for the content of the file part has been exceeded"""
864
+ ID = "FILE_PART_TOO_BIG"
865
+ """``str``: RPC Error ID"""
866
+ MESSAGE = __doc__
867
+
868
+
869
+ class FilePartMissing(BadRequest):
870
+ """Part {value} of the file is missing from storage"""
871
+ ID = "FILE_PART_X_MISSING"
872
+ """``str``: RPC Error ID"""
873
+ MESSAGE = __doc__
874
+
875
+
876
+ class FileReferenceEmpty(BadRequest):
877
+ """The file id contains an empty file reference, you must obtain a valid one by fetching the message from the origin context"""
878
+ ID = "FILE_REFERENCE_EMPTY"
879
+ """``str``: RPC Error ID"""
880
+ MESSAGE = __doc__
881
+
882
+
883
+ class FileReferenceExpired(BadRequest):
884
+ """The file id contains an expired file reference, you must obtain a valid one by fetching the message from the origin context"""
885
+ ID = "FILE_REFERENCE_EXPIRED"
886
+ """``str``: RPC Error ID"""
887
+ MESSAGE = __doc__
888
+
889
+
890
+ class FileReferenceInvalid(BadRequest):
891
+ """The file id contains an invalid file reference, you must obtain a valid one by fetching the message from the origin context"""
892
+ ID = "FILE_REFERENCE_INVALID"
893
+ """``str``: RPC Error ID"""
894
+ MESSAGE = __doc__
895
+
896
+
897
+ class FilterIdInvalid(BadRequest):
898
+ """The specified filter ID is invalid"""
899
+ ID = "FILTER_ID_INVALID"
900
+ """``str``: RPC Error ID"""
901
+ MESSAGE = __doc__
902
+
903
+
904
+ class FirstnameInvalid(BadRequest):
905
+ """The first name is invalid"""
906
+ ID = "FIRSTNAME_INVALID"
907
+ """``str``: RPC Error ID"""
908
+ MESSAGE = __doc__
909
+
910
+
911
+ class FolderIdEmpty(BadRequest):
912
+ """The folder you tried to delete was already empty"""
913
+ ID = "FOLDER_ID_EMPTY"
914
+ """``str``: RPC Error ID"""
915
+ MESSAGE = __doc__
916
+
917
+
918
+ class FolderIdInvalid(BadRequest):
919
+ """The folder id is invalid"""
920
+ ID = "FOLDER_ID_INVALID"
921
+ """``str``: RPC Error ID"""
922
+ MESSAGE = __doc__
923
+
924
+
925
+ class FreshChangeAdminsForbidden(BadRequest):
926
+ """You can't change administrator settings in this chat because your session was logged-in recently"""
927
+ ID = "FRESH_CHANGE_ADMINS_FORBIDDEN"
928
+ """``str``: RPC Error ID"""
929
+ MESSAGE = __doc__
930
+
931
+
932
+ class FromMessageBotDisabled(BadRequest):
933
+ """Bots can't use fromMessage min constructors"""
934
+ ID = "FROM_MESSAGE_BOT_DISABLED"
935
+ """``str``: RPC Error ID"""
936
+ MESSAGE = __doc__
937
+
938
+
939
+ class FromPeerInvalid(BadRequest):
940
+ """The from peer value is invalid"""
941
+ ID = "FROM_PEER_INVALID"
942
+ """``str``: RPC Error ID"""
943
+ MESSAGE = __doc__
944
+
945
+
946
+ class GameBotInvalid(BadRequest):
947
+ """You cannot send that game with the current bot"""
948
+ ID = "GAME_BOT_INVALID"
949
+ """``str``: RPC Error ID"""
950
+ MESSAGE = __doc__
951
+
952
+
953
+ class GeoPointInvalid(BadRequest):
954
+ """Invalid geo point provided"""
955
+ ID = "GEO_POINT_INVALID"
956
+ """``str``: RPC Error ID"""
957
+ MESSAGE = __doc__
958
+
959
+
960
+ class GifContentTypeInvalid(BadRequest):
961
+ """GIF content-type invalid"""
962
+ ID = "GIF_CONTENT_TYPE_INVALID"
963
+ """``str``: RPC Error ID"""
964
+ MESSAGE = __doc__
965
+
966
+
967
+ class GifIdInvalid(BadRequest):
968
+ """The provided gif/animation id is invalid"""
969
+ ID = "GIF_ID_INVALID"
970
+ """``str``: RPC Error ID"""
971
+ MESSAGE = __doc__
972
+
973
+
974
+ class GraphInvalidReload(BadRequest):
975
+ """Invalid graph token provided, please reload the stats and provide the updated token"""
976
+ ID = "GRAPH_INVALID_RELOAD"
977
+ """``str``: RPC Error ID"""
978
+ MESSAGE = __doc__
979
+
980
+
981
+ class GraphOutdatedReload(BadRequest):
982
+ """The graph data is outdated"""
983
+ ID = "GRAPH_OUTDATED_RELOAD"
984
+ """``str``: RPC Error ID"""
985
+ MESSAGE = __doc__
986
+
987
+
988
+ class GroupcallSsrcDuplicateMuch(BadRequest):
989
+ """Too many group call synchronization source duplicates"""
990
+ ID = "GROUPCALL_SSRC_DUPLICATE_MUCH"
991
+ """``str``: RPC Error ID"""
992
+ MESSAGE = __doc__
993
+
994
+
995
+ class GroupedMediaInvalid(BadRequest):
996
+ """The album contains invalid media"""
997
+ ID = "GROUPED_MEDIA_INVALID"
998
+ """``str``: RPC Error ID"""
999
+ MESSAGE = __doc__
1000
+
1001
+
1002
+ class GroupCallInvalid(BadRequest):
1003
+ """The group call is invalid"""
1004
+ ID = "GROUP_CALL_INVALID"
1005
+ """``str``: RPC Error ID"""
1006
+ MESSAGE = __doc__
1007
+
1008
+
1009
+ class HashInvalid(BadRequest):
1010
+ """The provided hash is invalid"""
1011
+ ID = "HASH_INVALID"
1012
+ """``str``: RPC Error ID"""
1013
+ MESSAGE = __doc__
1014
+
1015
+
1016
+ class ImageProcessFailed(BadRequest):
1017
+ """The server failed to process your image"""
1018
+ ID = "IMAGE_PROCESS_FAILED"
1019
+ """``str``: RPC Error ID"""
1020
+ MESSAGE = __doc__
1021
+
1022
+
1023
+ class ImportFileInvalid(BadRequest):
1024
+ """The imported file is invalid"""
1025
+ ID = "IMPORT_FILE_INVALID"
1026
+ """``str``: RPC Error ID"""
1027
+ MESSAGE = __doc__
1028
+
1029
+
1030
+ class ImportFormatUnrecognized(BadRequest):
1031
+ """The imported format is unrecognized"""
1032
+ ID = "IMPORT_FORMAT_UNRECOGNIZED"
1033
+ """``str``: RPC Error ID"""
1034
+ MESSAGE = __doc__
1035
+
1036
+
1037
+ class ImportIdInvalid(BadRequest):
1038
+ """The import id is invalid"""
1039
+ ID = "IMPORT_ID_INVALID"
1040
+ """``str``: RPC Error ID"""
1041
+ MESSAGE = __doc__
1042
+
1043
+
1044
+ class InlineResultExpired(BadRequest):
1045
+ """The inline bot query expired"""
1046
+ ID = "INLINE_RESULT_EXPIRED"
1047
+ """``str``: RPC Error ID"""
1048
+ MESSAGE = __doc__
1049
+
1050
+
1051
+ class InputConstructorInvalid(BadRequest):
1052
+ """The provided constructor is invalid"""
1053
+ ID = "INPUT_CONSTRUCTOR_INVALID"
1054
+ """``str``: RPC Error ID"""
1055
+ MESSAGE = __doc__
1056
+
1057
+
1058
+ class InputFetchError(BadRequest):
1059
+ """An error occurred while deserializing TL parameters"""
1060
+ ID = "INPUT_FETCH_ERROR"
1061
+ """``str``: RPC Error ID"""
1062
+ MESSAGE = __doc__
1063
+
1064
+
1065
+ class InputFetchFail(BadRequest):
1066
+ """Failed deserializing TL payload"""
1067
+ ID = "INPUT_FETCH_FAIL"
1068
+ """``str``: RPC Error ID"""
1069
+ MESSAGE = __doc__
1070
+
1071
+
1072
+ class InputFilterInvalid(BadRequest):
1073
+ """The filter is invalid for this query"""
1074
+ ID = "INPUT_FILTER_INVALID"
1075
+ """``str``: RPC Error ID"""
1076
+ MESSAGE = __doc__
1077
+
1078
+
1079
+ class InputLayerInvalid(BadRequest):
1080
+ """The provided layer is invalid"""
1081
+ ID = "INPUT_LAYER_INVALID"
1082
+ """``str``: RPC Error ID"""
1083
+ MESSAGE = __doc__
1084
+
1085
+
1086
+ class InputMethodInvalid(BadRequest):
1087
+ """The method invoked is invalid in the current schema"""
1088
+ ID = "INPUT_METHOD_INVALID"
1089
+ """``str``: RPC Error ID"""
1090
+ MESSAGE = __doc__
1091
+
1092
+
1093
+ class InputRequestTooLong(BadRequest):
1094
+ """The input request is too long"""
1095
+ ID = "INPUT_REQUEST_TOO_LONG"
1096
+ """``str``: RPC Error ID"""
1097
+ MESSAGE = __doc__
1098
+
1099
+
1100
+ class InputUserDeactivated(BadRequest):
1101
+ """The target user has been deleted/deactivated"""
1102
+ ID = "INPUT_USER_DEACTIVATED"
1103
+ """``str``: RPC Error ID"""
1104
+ MESSAGE = __doc__
1105
+
1106
+
1107
+ class InviteHashEmpty(BadRequest):
1108
+ """The invite hash is empty"""
1109
+ ID = "INVITE_HASH_EMPTY"
1110
+ """``str``: RPC Error ID"""
1111
+ MESSAGE = __doc__
1112
+
1113
+
1114
+ class InviteHashExpired(BadRequest):
1115
+ """The chat invite link is no longer valid"""
1116
+ ID = "INVITE_HASH_EXPIRED"
1117
+ """``str``: RPC Error ID"""
1118
+ MESSAGE = __doc__
1119
+
1120
+
1121
+ class InviteHashInvalid(BadRequest):
1122
+ """The invite link hash is invalid"""
1123
+ ID = "INVITE_HASH_INVALID"
1124
+ """``str``: RPC Error ID"""
1125
+ MESSAGE = __doc__
1126
+
1127
+
1128
+ class InviteRequestSent(BadRequest):
1129
+ """The request to join this chat or channel has been successfully sent"""
1130
+ ID = "INVITE_REQUEST_SENT"
1131
+ """``str``: RPC Error ID"""
1132
+ MESSAGE = __doc__
1133
+
1134
+
1135
+ class InviteRevokedMissing(BadRequest):
1136
+ """The action required a chat invite link to be revoked first"""
1137
+ ID = "INVITE_REVOKED_MISSING"
1138
+ """``str``: RPC Error ID"""
1139
+ MESSAGE = __doc__
1140
+
1141
+
1142
+ class LangPackInvalid(BadRequest):
1143
+ """The provided language pack is invalid"""
1144
+ ID = "LANG_PACK_INVALID"
1145
+ """``str``: RPC Error ID"""
1146
+ MESSAGE = __doc__
1147
+
1148
+
1149
+ class LastnameInvalid(BadRequest):
1150
+ """The last name is invalid"""
1151
+ ID = "LASTNAME_INVALID"
1152
+ """``str``: RPC Error ID"""
1153
+ MESSAGE = __doc__
1154
+
1155
+
1156
+ class LimitInvalid(BadRequest):
1157
+ """The limit parameter is invalid"""
1158
+ ID = "LIMIT_INVALID"
1159
+ """``str``: RPC Error ID"""
1160
+ MESSAGE = __doc__
1161
+
1162
+
1163
+ class LinkNotModified(BadRequest):
1164
+ """The chat link was not modified because you tried to link to the same target"""
1165
+ ID = "LINK_NOT_MODIFIED"
1166
+ """``str``: RPC Error ID"""
1167
+ MESSAGE = __doc__
1168
+
1169
+
1170
+ class LocationInvalid(BadRequest):
1171
+ """The file location is invalid"""
1172
+ ID = "LOCATION_INVALID"
1173
+ """``str``: RPC Error ID"""
1174
+ MESSAGE = __doc__
1175
+
1176
+
1177
+ class MaxIdInvalid(BadRequest):
1178
+ """The max_id parameter is invalid"""
1179
+ ID = "MAX_ID_INVALID"
1180
+ """``str``: RPC Error ID"""
1181
+ MESSAGE = __doc__
1182
+
1183
+
1184
+ class MaxQtsInvalid(BadRequest):
1185
+ """The provided QTS is invalid"""
1186
+ ID = "MAX_QTS_INVALID"
1187
+ """``str``: RPC Error ID"""
1188
+ MESSAGE = __doc__
1189
+
1190
+
1191
+ class Md5ChecksumInvalid(BadRequest):
1192
+ """The file's checksum did not match the md5_checksum parameter"""
1193
+ ID = "MD5_CHECKSUM_INVALID"
1194
+ """``str``: RPC Error ID"""
1195
+ MESSAGE = __doc__
1196
+
1197
+
1198
+ class MediaCaptionTooLong(BadRequest):
1199
+ """The media caption is too long"""
1200
+ ID = "MEDIA_CAPTION_TOO_LONG"
1201
+ """``str``: RPC Error ID"""
1202
+ MESSAGE = __doc__
1203
+
1204
+
1205
+ class MediaEmpty(BadRequest):
1206
+ """The media you tried to send is invalid"""
1207
+ ID = "MEDIA_EMPTY"
1208
+ """``str``: RPC Error ID"""
1209
+ MESSAGE = __doc__
1210
+
1211
+
1212
+ class MediaInvalid(BadRequest):
1213
+ """The media is invalid"""
1214
+ ID = "MEDIA_INVALID"
1215
+ """``str``: RPC Error ID"""
1216
+ MESSAGE = __doc__
1217
+
1218
+
1219
+ class MediaNewInvalid(BadRequest):
1220
+ """The new media to edit the message with is invalid"""
1221
+ ID = "MEDIA_NEW_INVALID"
1222
+ """``str``: RPC Error ID"""
1223
+ MESSAGE = __doc__
1224
+
1225
+
1226
+ class MediaPrevInvalid(BadRequest):
1227
+ """The previous media cannot be edited with anything else"""
1228
+ ID = "MEDIA_PREV_INVALID"
1229
+ """``str``: RPC Error ID"""
1230
+ MESSAGE = __doc__
1231
+
1232
+
1233
+ class MegagroupIdInvalid(BadRequest):
1234
+ """The supergroup is invalid"""
1235
+ ID = "MEGAGROUP_ID_INVALID"
1236
+ """``str``: RPC Error ID"""
1237
+ MESSAGE = __doc__
1238
+
1239
+
1240
+ class MegagroupPrehistoryHidden(BadRequest):
1241
+ """The action failed because the supergroup has the pre-history hidden"""
1242
+ ID = "MEGAGROUP_PREHISTORY_HIDDEN"
1243
+ """``str``: RPC Error ID"""
1244
+ MESSAGE = __doc__
1245
+
1246
+
1247
+ class MegagroupRequired(BadRequest):
1248
+ """The request can only be used with a supergroup"""
1249
+ ID = "MEGAGROUP_REQUIRED"
1250
+ """``str``: RPC Error ID"""
1251
+ MESSAGE = __doc__
1252
+
1253
+
1254
+ class MessageEditTimeExpired(BadRequest):
1255
+ """You can no longer edit this message because too much time has passed"""
1256
+ ID = "MESSAGE_EDIT_TIME_EXPIRED"
1257
+ """``str``: RPC Error ID"""
1258
+ MESSAGE = __doc__
1259
+
1260
+
1261
+ class MessageEmpty(BadRequest):
1262
+ """The message sent is empty or contains invalid characters"""
1263
+ ID = "MESSAGE_EMPTY"
1264
+ """``str``: RPC Error ID"""
1265
+ MESSAGE = __doc__
1266
+
1267
+
1268
+ class MessageIdsEmpty(BadRequest):
1269
+ """The requested message doesn't exist or you provided no message id"""
1270
+ ID = "MESSAGE_IDS_EMPTY"
1271
+ """``str``: RPC Error ID"""
1272
+ MESSAGE = __doc__
1273
+
1274
+
1275
+ class MessageIdInvalid(BadRequest):
1276
+ """The message id is invalid"""
1277
+ ID = "MESSAGE_ID_INVALID"
1278
+ """``str``: RPC Error ID"""
1279
+ MESSAGE = __doc__
1280
+
1281
+
1282
+ class MessageNotModified(BadRequest):
1283
+ """The message was not modified because you tried to edit it using the same content"""
1284
+ ID = "MESSAGE_NOT_MODIFIED"
1285
+ """``str``: RPC Error ID"""
1286
+ MESSAGE = __doc__
1287
+
1288
+
1289
+ class MessagePollClosed(BadRequest):
1290
+ """You can't interact with a closed poll"""
1291
+ ID = "MESSAGE_POLL_CLOSED"
1292
+ """``str``: RPC Error ID"""
1293
+ MESSAGE = __doc__
1294
+
1295
+
1296
+ class MessageTooLong(BadRequest):
1297
+ """The message text is too long"""
1298
+ ID = "MESSAGE_TOO_LONG"
1299
+ """``str``: RPC Error ID"""
1300
+ MESSAGE = __doc__
1301
+
1302
+
1303
+ class MethodInvalid(BadRequest):
1304
+ """The API method is invalid and cannot be used"""
1305
+ ID = "METHOD_INVALID"
1306
+ """``str``: RPC Error ID"""
1307
+ MESSAGE = __doc__
1308
+
1309
+
1310
+ class MsgIdInvalid(BadRequest):
1311
+ """The message ID used in the peer was invalid"""
1312
+ ID = "MSG_ID_INVALID"
1313
+ """``str``: RPC Error ID"""
1314
+ MESSAGE = __doc__
1315
+
1316
+
1317
+ class MsgWaitFailed(BadRequest):
1318
+ """A waiting call returned an error"""
1319
+ ID = "MSG_WAIT_FAILED"
1320
+ """``str``: RPC Error ID"""
1321
+ MESSAGE = __doc__
1322
+
1323
+
1324
+ class MultiMediaTooLong(BadRequest):
1325
+ """The album/media group contains too many items"""
1326
+ ID = "MULTI_MEDIA_TOO_LONG"
1327
+ """``str``: RPC Error ID"""
1328
+ MESSAGE = __doc__
1329
+
1330
+
1331
+ class NewSaltInvalid(BadRequest):
1332
+ """The new salt is invalid"""
1333
+ ID = "NEW_SALT_INVALID"
1334
+ """``str``: RPC Error ID"""
1335
+ MESSAGE = __doc__
1336
+
1337
+
1338
+ class NewSettingsInvalid(BadRequest):
1339
+ """The new settings are invalid"""
1340
+ ID = "NEW_SETTINGS_INVALID"
1341
+ """``str``: RPC Error ID"""
1342
+ MESSAGE = __doc__
1343
+
1344
+
1345
+ class NextOffsetInvalid(BadRequest):
1346
+ """The next offset value is invalid"""
1347
+ ID = "NEXT_OFFSET_INVALID"
1348
+ """``str``: RPC Error ID"""
1349
+ MESSAGE = __doc__
1350
+
1351
+
1352
+ class OffsetInvalid(BadRequest):
1353
+ """The offset parameter is invalid"""
1354
+ ID = "OFFSET_INVALID"
1355
+ """``str``: RPC Error ID"""
1356
+ MESSAGE = __doc__
1357
+
1358
+
1359
+ class OffsetPeerIdInvalid(BadRequest):
1360
+ """The provided offset peer is invalid"""
1361
+ ID = "OFFSET_PEER_ID_INVALID"
1362
+ """``str``: RPC Error ID"""
1363
+ MESSAGE = __doc__
1364
+
1365
+
1366
+ class OptionsTooMuch(BadRequest):
1367
+ """The poll options are too many"""
1368
+ ID = "OPTIONS_TOO_MUCH"
1369
+ """``str``: RPC Error ID"""
1370
+ MESSAGE = __doc__
1371
+
1372
+
1373
+ class OptionInvalid(BadRequest):
1374
+ """The option specified is invalid and does not exist in the target poll"""
1375
+ ID = "OPTION_INVALID"
1376
+ """``str``: RPC Error ID"""
1377
+ MESSAGE = __doc__
1378
+
1379
+
1380
+ class PackShortNameInvalid(BadRequest):
1381
+ """Invalid sticker pack name. It must begin with a letter, can't contain consecutive underscores and must end in '_by_<bot username>'."""
1382
+ ID = "PACK_SHORT_NAME_INVALID"
1383
+ """``str``: RPC Error ID"""
1384
+ MESSAGE = __doc__
1385
+
1386
+
1387
+ class PackShortNameOccupied(BadRequest):
1388
+ """A sticker pack with this name already exists"""
1389
+ ID = "PACK_SHORT_NAME_OCCUPIED"
1390
+ """``str``: RPC Error ID"""
1391
+ MESSAGE = __doc__
1392
+
1393
+
1394
+ class PackTitleInvalid(BadRequest):
1395
+ """The sticker pack title is invalid"""
1396
+ ID = "PACK_TITLE_INVALID"
1397
+ """``str``: RPC Error ID"""
1398
+ MESSAGE = __doc__
1399
+
1400
+
1401
+ class ParticipantsTooFew(BadRequest):
1402
+ """The chat doesn't have enough participants"""
1403
+ ID = "PARTICIPANTS_TOO_FEW"
1404
+ """``str``: RPC Error ID"""
1405
+ MESSAGE = __doc__
1406
+
1407
+
1408
+ class ParticipantVersionOutdated(BadRequest):
1409
+ """The other participant is using an outdated Telegram app version"""
1410
+ ID = "PARTICIPANT_VERSION_OUTDATED"
1411
+ """``str``: RPC Error ID"""
1412
+ MESSAGE = __doc__
1413
+
1414
+
1415
+ class PasswordEmpty(BadRequest):
1416
+ """The password provided is empty"""
1417
+ ID = "PASSWORD_EMPTY"
1418
+ """``str``: RPC Error ID"""
1419
+ MESSAGE = __doc__
1420
+
1421
+
1422
+ class PasswordHashInvalid(BadRequest):
1423
+ """The two-step verification password is invalid"""
1424
+ ID = "PASSWORD_HASH_INVALID"
1425
+ """``str``: RPC Error ID"""
1426
+ MESSAGE = __doc__
1427
+
1428
+
1429
+ class PasswordMissing(BadRequest):
1430
+ """The account is missing the two-step verification password"""
1431
+ ID = "PASSWORD_MISSING"
1432
+ """``str``: RPC Error ID"""
1433
+ MESSAGE = __doc__
1434
+
1435
+
1436
+ class PasswordRecoveryNa(BadRequest):
1437
+ """The password recovery e-mail is not available"""
1438
+ ID = "PASSWORD_RECOVERY_NA"
1439
+ """``str``: RPC Error ID"""
1440
+ MESSAGE = __doc__
1441
+
1442
+
1443
+ class PasswordRequired(BadRequest):
1444
+ """The two-step verification password is required for this method"""
1445
+ ID = "PASSWORD_REQUIRED"
1446
+ """``str``: RPC Error ID"""
1447
+ MESSAGE = __doc__
1448
+
1449
+
1450
+ class PasswordTooFresh(BadRequest):
1451
+ """The two-step verification password was added recently and you are required to wait {value} seconds"""
1452
+ ID = "PASSWORD_TOO_FRESH_X"
1453
+ """``str``: RPC Error ID"""
1454
+ MESSAGE = __doc__
1455
+
1456
+
1457
+ class PaymentProviderInvalid(BadRequest):
1458
+ """The payment provider was not recognised or its token was invalid"""
1459
+ ID = "PAYMENT_PROVIDER_INVALID"
1460
+ """``str``: RPC Error ID"""
1461
+ MESSAGE = __doc__
1462
+
1463
+
1464
+ class PeerFlood(BadRequest):
1465
+ """The method can't be used because your account is currently limited"""
1466
+ ID = "PEER_FLOOD"
1467
+ """``str``: RPC Error ID"""
1468
+ MESSAGE = __doc__
1469
+
1470
+
1471
+ class PeerIdInvalid(BadRequest):
1472
+ """The peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it"""
1473
+ ID = "PEER_ID_INVALID"
1474
+ """``str``: RPC Error ID"""
1475
+ MESSAGE = __doc__
1476
+
1477
+
1478
+ class PeerIdNotSupported(BadRequest):
1479
+ """The provided peer id is not supported"""
1480
+ ID = "PEER_ID_NOT_SUPPORTED"
1481
+ """``str``: RPC Error ID"""
1482
+ MESSAGE = __doc__
1483
+
1484
+
1485
+ class PersistentTimestampEmpty(BadRequest):
1486
+ """The pts argument is empty"""
1487
+ ID = "PERSISTENT_TIMESTAMP_EMPTY"
1488
+ """``str``: RPC Error ID"""
1489
+ MESSAGE = __doc__
1490
+
1491
+
1492
+ class PersistentTimestampInvalid(BadRequest):
1493
+ """The persistent timestamp is invalid"""
1494
+ ID = "PERSISTENT_TIMESTAMP_INVALID"
1495
+ """``str``: RPC Error ID"""
1496
+ MESSAGE = __doc__
1497
+
1498
+
1499
+ class PhoneCodeEmpty(BadRequest):
1500
+ """The phone code is missing"""
1501
+ ID = "PHONE_CODE_EMPTY"
1502
+ """``str``: RPC Error ID"""
1503
+ MESSAGE = __doc__
1504
+
1505
+
1506
+ class PhoneCodeExpired(BadRequest):
1507
+ """The confirmation code has expired"""
1508
+ ID = "PHONE_CODE_EXPIRED"
1509
+ """``str``: RPC Error ID"""
1510
+ MESSAGE = __doc__
1511
+
1512
+
1513
+ class PhoneCodeHashEmpty(BadRequest):
1514
+ """The phone code hash is missing"""
1515
+ ID = "PHONE_CODE_HASH_EMPTY"
1516
+ """``str``: RPC Error ID"""
1517
+ MESSAGE = __doc__
1518
+
1519
+
1520
+ class PhoneCodeInvalid(BadRequest):
1521
+ """The confirmation code is invalid"""
1522
+ ID = "PHONE_CODE_INVALID"
1523
+ """``str``: RPC Error ID"""
1524
+ MESSAGE = __doc__
1525
+
1526
+
1527
+ class PhoneNumberAppSignupForbidden(BadRequest):
1528
+ """You can't sign up using this app"""
1529
+ ID = "PHONE_NUMBER_APP_SIGNUP_FORBIDDEN"
1530
+ """``str``: RPC Error ID"""
1531
+ MESSAGE = __doc__
1532
+
1533
+
1534
+ class PhoneNumberBanned(BadRequest):
1535
+ """The phone number is banned from Telegram and cannot be used"""
1536
+ ID = "PHONE_NUMBER_BANNED"
1537
+ """``str``: RPC Error ID"""
1538
+ MESSAGE = __doc__
1539
+
1540
+
1541
+ class PhoneNumberFlood(BadRequest):
1542
+ """This number has tried to login too many times"""
1543
+ ID = "PHONE_NUMBER_FLOOD"
1544
+ """``str``: RPC Error ID"""
1545
+ MESSAGE = __doc__
1546
+
1547
+
1548
+ class PhoneNumberInvalid(BadRequest):
1549
+ """The phone number is invalid"""
1550
+ ID = "PHONE_NUMBER_INVALID"
1551
+ """``str``: RPC Error ID"""
1552
+ MESSAGE = __doc__
1553
+
1554
+
1555
+ class PhoneNumberOccupied(BadRequest):
1556
+ """The phone number is already in use"""
1557
+ ID = "PHONE_NUMBER_OCCUPIED"
1558
+ """``str``: RPC Error ID"""
1559
+ MESSAGE = __doc__
1560
+
1561
+
1562
+ class PhoneNumberUnoccupied(BadRequest):
1563
+ """The phone number is not yet being used"""
1564
+ ID = "PHONE_NUMBER_UNOCCUPIED"
1565
+ """``str``: RPC Error ID"""
1566
+ MESSAGE = __doc__
1567
+
1568
+
1569
+ class PhonePasswordProtected(BadRequest):
1570
+ """The phone is password protected"""
1571
+ ID = "PHONE_PASSWORD_PROTECTED"
1572
+ """``str``: RPC Error ID"""
1573
+ MESSAGE = __doc__
1574
+
1575
+
1576
+ class PhotoContentTypeInvalid(BadRequest):
1577
+ """The photo content type is invalid"""
1578
+ ID = "PHOTO_CONTENT_TYPE_INVALID"
1579
+ """``str``: RPC Error ID"""
1580
+ MESSAGE = __doc__
1581
+
1582
+
1583
+ class PhotoContentUrlEmpty(BadRequest):
1584
+ """The photo content URL is empty"""
1585
+ ID = "PHOTO_CONTENT_URL_EMPTY"
1586
+ """``str``: RPC Error ID"""
1587
+ MESSAGE = __doc__
1588
+
1589
+
1590
+ class PhotoCropFileMissing(BadRequest):
1591
+ """Photo crop file missing"""
1592
+ ID = "PHOTO_CROP_FILE_MISSING"
1593
+ """``str``: RPC Error ID"""
1594
+ MESSAGE = __doc__
1595
+
1596
+
1597
+ class PhotoCropSizeSmall(BadRequest):
1598
+ """The photo is too small"""
1599
+ ID = "PHOTO_CROP_SIZE_SMALL"
1600
+ """``str``: RPC Error ID"""
1601
+ MESSAGE = __doc__
1602
+
1603
+
1604
+ class PhotoExtInvalid(BadRequest):
1605
+ """The photo extension is invalid"""
1606
+ ID = "PHOTO_EXT_INVALID"
1607
+ """``str``: RPC Error ID"""
1608
+ MESSAGE = __doc__
1609
+
1610
+
1611
+ class PhotoFileMissing(BadRequest):
1612
+ """Profile photo file missing"""
1613
+ ID = "PHOTO_FILE_MISSING"
1614
+ """``str``: RPC Error ID"""
1615
+ MESSAGE = __doc__
1616
+
1617
+
1618
+ class PhotoIdInvalid(BadRequest):
1619
+ """The photo id is invalid"""
1620
+ ID = "PHOTO_ID_INVALID"
1621
+ """``str``: RPC Error ID"""
1622
+ MESSAGE = __doc__
1623
+
1624
+
1625
+ class PhotoInvalid(BadRequest):
1626
+ """The photo is invalid"""
1627
+ ID = "PHOTO_INVALID"
1628
+ """``str``: RPC Error ID"""
1629
+ MESSAGE = __doc__
1630
+
1631
+
1632
+ class PhotoInvalidDimensions(BadRequest):
1633
+ """The photo dimensions are invalid"""
1634
+ ID = "PHOTO_INVALID_DIMENSIONS"
1635
+ """``str``: RPC Error ID"""
1636
+ MESSAGE = __doc__
1637
+
1638
+
1639
+ class PhotoSaveFileInvalid(BadRequest):
1640
+ """The photo you tried to send cannot be saved by Telegram"""
1641
+ ID = "PHOTO_SAVE_FILE_INVALID"
1642
+ """``str``: RPC Error ID"""
1643
+ MESSAGE = __doc__
1644
+
1645
+
1646
+ class PhotoThumbUrlEmpty(BadRequest):
1647
+ """The photo thumb URL is empty"""
1648
+ ID = "PHOTO_THUMB_URL_EMPTY"
1649
+ """``str``: RPC Error ID"""
1650
+ MESSAGE = __doc__
1651
+
1652
+
1653
+ class PhotoThumbUrlInvalid(BadRequest):
1654
+ """The photo thumb URL is invalid"""
1655
+ ID = "PHOTO_THUMB_URL_INVALID"
1656
+ """``str``: RPC Error ID"""
1657
+ MESSAGE = __doc__
1658
+
1659
+
1660
+ class PinnedDialogsTooMuch(BadRequest):
1661
+ """Too many pinned dialogs"""
1662
+ ID = "PINNED_DIALOGS_TOO_MUCH"
1663
+ """``str``: RPC Error ID"""
1664
+ MESSAGE = __doc__
1665
+
1666
+
1667
+ class PinRestricted(BadRequest):
1668
+ """You can't pin messages in private chats with other people"""
1669
+ ID = "PIN_RESTRICTED"
1670
+ """``str``: RPC Error ID"""
1671
+ MESSAGE = __doc__
1672
+
1673
+
1674
+ class PollAnswersInvalid(BadRequest):
1675
+ """The poll answers are invalid"""
1676
+ ID = "POLL_ANSWERS_INVALID"
1677
+ """``str``: RPC Error ID"""
1678
+ MESSAGE = __doc__
1679
+
1680
+
1681
+ class PollOptionDuplicate(BadRequest):
1682
+ """A duplicate option was sent in the same poll"""
1683
+ ID = "POLL_OPTION_DUPLICATE"
1684
+ """``str``: RPC Error ID"""
1685
+ MESSAGE = __doc__
1686
+
1687
+
1688
+ class PollOptionInvalid(BadRequest):
1689
+ """A poll option used invalid data (the data may be too long)"""
1690
+ ID = "POLL_OPTION_INVALID"
1691
+ """``str``: RPC Error ID"""
1692
+ MESSAGE = __doc__
1693
+
1694
+
1695
+ class PollQuestionInvalid(BadRequest):
1696
+ """The poll question is invalid"""
1697
+ ID = "POLL_QUESTION_INVALID"
1698
+ """``str``: RPC Error ID"""
1699
+ MESSAGE = __doc__
1700
+
1701
+
1702
+ class PollUnsupported(BadRequest):
1703
+ """This layer does not support polls in the invoked method"""
1704
+ ID = "POLL_UNSUPPORTED"
1705
+ """``str``: RPC Error ID"""
1706
+ MESSAGE = __doc__
1707
+
1708
+
1709
+ class PollVoteRequired(BadRequest):
1710
+ """Cast a vote in the poll before calling this method"""
1711
+ ID = "POLL_VOTE_REQUIRED"
1712
+ """``str``: RPC Error ID"""
1713
+ MESSAGE = __doc__
1714
+
1715
+
1716
+ class PrivacyKeyInvalid(BadRequest):
1717
+ """The privacy key is invalid"""
1718
+ ID = "PRIVACY_KEY_INVALID"
1719
+ """``str``: RPC Error ID"""
1720
+ MESSAGE = __doc__
1721
+
1722
+
1723
+ class PrivacyTooLong(BadRequest):
1724
+ """Your privacy exception list has exceeded the maximum capacity"""
1725
+ ID = "PRIVACY_TOO_LONG"
1726
+ """``str``: RPC Error ID"""
1727
+ MESSAGE = __doc__
1728
+
1729
+
1730
+ class PrivacyValueInvalid(BadRequest):
1731
+ """The privacy value is invalid"""
1732
+ ID = "PRIVACY_VALUE_INVALID"
1733
+ """``str``: RPC Error ID"""
1734
+ MESSAGE = __doc__
1735
+
1736
+
1737
+ class QueryIdEmpty(BadRequest):
1738
+ """The query ID is empty"""
1739
+ ID = "QUERY_ID_EMPTY"
1740
+ """``str``: RPC Error ID"""
1741
+ MESSAGE = __doc__
1742
+
1743
+
1744
+ class QueryIdInvalid(BadRequest):
1745
+ """The callback query id is invalid"""
1746
+ ID = "QUERY_ID_INVALID"
1747
+ """``str``: RPC Error ID"""
1748
+ MESSAGE = __doc__
1749
+
1750
+
1751
+ class QueryTooShort(BadRequest):
1752
+ """The query is too short"""
1753
+ ID = "QUERY_TOO_SHORT"
1754
+ """``str``: RPC Error ID"""
1755
+ MESSAGE = __doc__
1756
+
1757
+
1758
+ class QuizCorrectAnswersEmpty(BadRequest):
1759
+ """The correct answers of the quiz are empty"""
1760
+ ID = "QUIZ_CORRECT_ANSWERS_EMPTY"
1761
+ """``str``: RPC Error ID"""
1762
+ MESSAGE = __doc__
1763
+
1764
+
1765
+ class QuizCorrectAnswersTooMuch(BadRequest):
1766
+ """The quiz contains too many correct answers"""
1767
+ ID = "QUIZ_CORRECT_ANSWERS_TOO_MUCH"
1768
+ """``str``: RPC Error ID"""
1769
+ MESSAGE = __doc__
1770
+
1771
+
1772
+ class QuizCorrectAnswerInvalid(BadRequest):
1773
+ """The correct answers of the quiz are invalid"""
1774
+ ID = "QUIZ_CORRECT_ANSWER_INVALID"
1775
+ """``str``: RPC Error ID"""
1776
+ MESSAGE = __doc__
1777
+
1778
+
1779
+ class QuizMultipleInvalid(BadRequest):
1780
+ """A quiz can't have multiple answers"""
1781
+ ID = "QUIZ_MULTIPLE_INVALID"
1782
+ """``str``: RPC Error ID"""
1783
+ MESSAGE = __doc__
1784
+
1785
+
1786
+ class RandomIdEmpty(BadRequest):
1787
+ """The random ID is empty"""
1788
+ ID = "RANDOM_ID_EMPTY"
1789
+ """``str``: RPC Error ID"""
1790
+ MESSAGE = __doc__
1791
+
1792
+
1793
+ class RandomIdInvalid(BadRequest):
1794
+ """The provided random ID is invalid"""
1795
+ ID = "RANDOM_ID_INVALID"
1796
+ """``str``: RPC Error ID"""
1797
+ MESSAGE = __doc__
1798
+
1799
+
1800
+ class RandomLengthInvalid(BadRequest):
1801
+ """The random length is invalid"""
1802
+ ID = "RANDOM_LENGTH_INVALID"
1803
+ """``str``: RPC Error ID"""
1804
+ MESSAGE = __doc__
1805
+
1806
+
1807
+ class RangesInvalid(BadRequest):
1808
+ """Invalid range provided"""
1809
+ ID = "RANGES_INVALID"
1810
+ """``str``: RPC Error ID"""
1811
+ MESSAGE = __doc__
1812
+
1813
+
1814
+ class ReactionEmpty(BadRequest):
1815
+ """The reaction provided is empty"""
1816
+ ID = "REACTION_EMPTY"
1817
+ """``str``: RPC Error ID"""
1818
+ MESSAGE = __doc__
1819
+
1820
+
1821
+ class ReactionInvalid(BadRequest):
1822
+ """Invalid reaction provided (only valid emoji are allowed)"""
1823
+ ID = "REACTION_INVALID"
1824
+ """``str``: RPC Error ID"""
1825
+ MESSAGE = __doc__
1826
+
1827
+
1828
+ class ReflectorNotAvailable(BadRequest):
1829
+ """The call reflector is not available"""
1830
+ ID = "REFLECTOR_NOT_AVAILABLE"
1831
+ """``str``: RPC Error ID"""
1832
+ MESSAGE = __doc__
1833
+
1834
+
1835
+ class ReplyMarkupBuyEmpty(BadRequest):
1836
+ """Reply markup for buy button empty"""
1837
+ ID = "REPLY_MARKUP_BUY_EMPTY"
1838
+ """``str``: RPC Error ID"""
1839
+ MESSAGE = __doc__
1840
+
1841
+
1842
+ class ReplyMarkupGameEmpty(BadRequest):
1843
+ """The provided reply markup for the game is empty"""
1844
+ ID = "REPLY_MARKUP_GAME_EMPTY"
1845
+ """``str``: RPC Error ID"""
1846
+ MESSAGE = __doc__
1847
+
1848
+
1849
+ class ReplyMarkupInvalid(BadRequest):
1850
+ """The provided reply markup is invalid"""
1851
+ ID = "REPLY_MARKUP_INVALID"
1852
+ """``str``: RPC Error ID"""
1853
+ MESSAGE = __doc__
1854
+
1855
+
1856
+ class ReplyMarkupTooLong(BadRequest):
1857
+ """The reply markup is too long"""
1858
+ ID = "REPLY_MARKUP_TOO_LONG"
1859
+ """``str``: RPC Error ID"""
1860
+ MESSAGE = __doc__
1861
+
1862
+
1863
+ class ResultsTooMuch(BadRequest):
1864
+ """The result contains too many items"""
1865
+ ID = "RESULTS_TOO_MUCH"
1866
+ """``str``: RPC Error ID"""
1867
+ MESSAGE = __doc__
1868
+
1869
+
1870
+ class ResultIdDuplicate(BadRequest):
1871
+ """The result contains items with duplicated identifiers"""
1872
+ ID = "RESULT_ID_DUPLICATE"
1873
+ """``str``: RPC Error ID"""
1874
+ MESSAGE = __doc__
1875
+
1876
+
1877
+ class ResultIdEmpty(BadRequest):
1878
+ """Result ID empty"""
1879
+ ID = "RESULT_ID_EMPTY"
1880
+ """``str``: RPC Error ID"""
1881
+ MESSAGE = __doc__
1882
+
1883
+
1884
+ class ResultIdInvalid(BadRequest):
1885
+ """The given result cannot be used to send the selection to the bot"""
1886
+ ID = "RESULT_ID_INVALID"
1887
+ """``str``: RPC Error ID"""
1888
+ MESSAGE = __doc__
1889
+
1890
+
1891
+ class ResultTypeInvalid(BadRequest):
1892
+ """The result type is invalid"""
1893
+ ID = "RESULT_TYPE_INVALID"
1894
+ """``str``: RPC Error ID"""
1895
+ MESSAGE = __doc__
1896
+
1897
+
1898
+ class RevoteNotAllowed(BadRequest):
1899
+ """You cannot change your vote"""
1900
+ ID = "REVOTE_NOT_ALLOWED"
1901
+ """``str``: RPC Error ID"""
1902
+ MESSAGE = __doc__
1903
+
1904
+
1905
+ class RsaDecryptFailed(BadRequest):
1906
+ """Internal RSA decryption failed"""
1907
+ ID = "RSA_DECRYPT_FAILED"
1908
+ """``str``: RPC Error ID"""
1909
+ MESSAGE = __doc__
1910
+
1911
+
1912
+ class ScheduleBotNotAllowed(BadRequest):
1913
+ """Bots are not allowed to schedule messages"""
1914
+ ID = "SCHEDULE_BOT_NOT_ALLOWED"
1915
+ """``str``: RPC Error ID"""
1916
+ MESSAGE = __doc__
1917
+
1918
+
1919
+ class ScheduleDateInvalid(BadRequest):
1920
+ """Invalid schedule date provided"""
1921
+ ID = "SCHEDULE_DATE_INVALID"
1922
+ """``str``: RPC Error ID"""
1923
+ MESSAGE = __doc__
1924
+
1925
+
1926
+ class ScheduleDateTooLate(BadRequest):
1927
+ """The date you tried to schedule is too far in the future (more than one year)"""
1928
+ ID = "SCHEDULE_DATE_TOO_LATE"
1929
+ """``str``: RPC Error ID"""
1930
+ MESSAGE = __doc__
1931
+
1932
+
1933
+ class ScheduleStatusPrivate(BadRequest):
1934
+ """You cannot schedule a message until the person comes online if their privacy does not show this information"""
1935
+ ID = "SCHEDULE_STATUS_PRIVATE"
1936
+ """``str``: RPC Error ID"""
1937
+ MESSAGE = __doc__
1938
+
1939
+
1940
+ class ScheduleTooMuch(BadRequest):
1941
+ """You tried to schedule too many messages in this chat"""
1942
+ ID = "SCHEDULE_TOO_MUCH"
1943
+ """``str``: RPC Error ID"""
1944
+ MESSAGE = __doc__
1945
+
1946
+
1947
+ class SearchQueryEmpty(BadRequest):
1948
+ """The search query is empty"""
1949
+ ID = "SEARCH_QUERY_EMPTY"
1950
+ """``str``: RPC Error ID"""
1951
+ MESSAGE = __doc__
1952
+
1953
+
1954
+ class SecondsInvalid(BadRequest):
1955
+ """The seconds interval is invalid"""
1956
+ ID = "SECONDS_INVALID"
1957
+ """``str``: RPC Error ID"""
1958
+ MESSAGE = __doc__
1959
+
1960
+
1961
+ class SendMessageMediaInvalid(BadRequest):
1962
+ """The message media is invalid"""
1963
+ ID = "SEND_MESSAGE_MEDIA_INVALID"
1964
+ """``str``: RPC Error ID"""
1965
+ MESSAGE = __doc__
1966
+
1967
+
1968
+ class SendMessageTypeInvalid(BadRequest):
1969
+ """The message type is invalid"""
1970
+ ID = "SEND_MESSAGE_TYPE_INVALID"
1971
+ """``str``: RPC Error ID"""
1972
+ MESSAGE = __doc__
1973
+
1974
+
1975
+ class SessionTooFresh(BadRequest):
1976
+ """You can't do this action because the current session was logged-in recently"""
1977
+ ID = "SESSION_TOO_FRESH_X"
1978
+ """``str``: RPC Error ID"""
1979
+ MESSAGE = __doc__
1980
+
1981
+
1982
+ class SettingsInvalid(BadRequest):
1983
+ """Invalid settings were provided"""
1984
+ ID = "SETTINGS_INVALID"
1985
+ """``str``: RPC Error ID"""
1986
+ MESSAGE = __doc__
1987
+
1988
+
1989
+ class Sha256HashInvalid(BadRequest):
1990
+ """The provided SHA256 hash is invalid"""
1991
+ ID = "SHA256_HASH_INVALID"
1992
+ """``str``: RPC Error ID"""
1993
+ MESSAGE = __doc__
1994
+
1995
+
1996
+ class ShortnameOccupyFailed(BadRequest):
1997
+ """An error occurred when trying to register the short-name used for the sticker pack. Try a different name"""
1998
+ ID = "SHORTNAME_OCCUPY_FAILED"
1999
+ """``str``: RPC Error ID"""
2000
+ MESSAGE = __doc__
2001
+
2002
+
2003
+ class SlowmodeMultiMsgsDisabled(BadRequest):
2004
+ """Slowmode is enabled, you cannot forward multiple messages to this group"""
2005
+ ID = "SLOWMODE_MULTI_MSGS_DISABLED"
2006
+ """``str``: RPC Error ID"""
2007
+ MESSAGE = __doc__
2008
+
2009
+
2010
+ class SmsCodeCreateFailed(BadRequest):
2011
+ """An error occurred while creating the SMS code"""
2012
+ ID = "SMS_CODE_CREATE_FAILED"
2013
+ """``str``: RPC Error ID"""
2014
+ MESSAGE = __doc__
2015
+
2016
+
2017
+ class SrpIdInvalid(BadRequest):
2018
+ """Invalid SRP ID provided"""
2019
+ ID = "SRP_ID_INVALID"
2020
+ """``str``: RPC Error ID"""
2021
+ MESSAGE = __doc__
2022
+
2023
+
2024
+ class SrpPasswordChanged(BadRequest):
2025
+ """The password has changed"""
2026
+ ID = "SRP_PASSWORD_CHANGED"
2027
+ """``str``: RPC Error ID"""
2028
+ MESSAGE = __doc__
2029
+
2030
+
2031
+ class StartParamEmpty(BadRequest):
2032
+ """The start parameter is empty"""
2033
+ ID = "START_PARAM_EMPTY"
2034
+ """``str``: RPC Error ID"""
2035
+ MESSAGE = __doc__
2036
+
2037
+
2038
+ class StartParamInvalid(BadRequest):
2039
+ """The start parameter is invalid"""
2040
+ ID = "START_PARAM_INVALID"
2041
+ """``str``: RPC Error ID"""
2042
+ MESSAGE = __doc__
2043
+
2044
+
2045
+ class StartParamTooLong(BadRequest):
2046
+ """The start parameter is too long"""
2047
+ ID = "START_PARAM_TOO_LONG"
2048
+ """``str``: RPC Error ID"""
2049
+ MESSAGE = __doc__
2050
+
2051
+
2052
+ class StickersetInvalid(BadRequest):
2053
+ """The requested sticker set is invalid"""
2054
+ ID = "STICKERSET_INVALID"
2055
+ """``str``: RPC Error ID"""
2056
+ MESSAGE = __doc__
2057
+
2058
+
2059
+ class StickersetNotModified(BadRequest):
2060
+ """The sticker set is not modified"""
2061
+ ID = "STICKERSET_NOT_MODIFIED"
2062
+ """``str``: RPC Error ID"""
2063
+ MESSAGE = __doc__
2064
+
2065
+
2066
+ class StickersEmpty(BadRequest):
2067
+ """The sticker provided is empty"""
2068
+ ID = "STICKERS_EMPTY"
2069
+ """``str``: RPC Error ID"""
2070
+ MESSAGE = __doc__
2071
+
2072
+
2073
+ class StickersTooMuch(BadRequest):
2074
+ """Too many stickers in the set"""
2075
+ ID = "STICKERS_TOO_MUCH"
2076
+ """``str``: RPC Error ID"""
2077
+ MESSAGE = __doc__
2078
+
2079
+
2080
+ class StickerDocumentInvalid(BadRequest):
2081
+ """The sticker document is invalid"""
2082
+ ID = "STICKER_DOCUMENT_INVALID"
2083
+ """``str``: RPC Error ID"""
2084
+ MESSAGE = __doc__
2085
+
2086
+
2087
+ class StickerEmojiInvalid(BadRequest):
2088
+ """The sticker emoji is invalid"""
2089
+ ID = "STICKER_EMOJI_INVALID"
2090
+ """``str``: RPC Error ID"""
2091
+ MESSAGE = __doc__
2092
+
2093
+
2094
+ class StickerFileInvalid(BadRequest):
2095
+ """The sticker file is invalid"""
2096
+ ID = "STICKER_FILE_INVALID"
2097
+ """``str``: RPC Error ID"""
2098
+ MESSAGE = __doc__
2099
+
2100
+
2101
+ class StickerIdInvalid(BadRequest):
2102
+ """The provided sticker id is invalid"""
2103
+ ID = "STICKER_ID_INVALID"
2104
+ """``str``: RPC Error ID"""
2105
+ MESSAGE = __doc__
2106
+
2107
+
2108
+ class StickerInvalid(BadRequest):
2109
+ """The provided sticker is invalid"""
2110
+ ID = "STICKER_INVALID"
2111
+ """``str``: RPC Error ID"""
2112
+ MESSAGE = __doc__
2113
+
2114
+
2115
+ class StickerPngDimensions(BadRequest):
2116
+ """The sticker png dimensions are invalid"""
2117
+ ID = "STICKER_PNG_DIMENSIONS"
2118
+ """``str``: RPC Error ID"""
2119
+ MESSAGE = __doc__
2120
+
2121
+
2122
+ class StickerPngNopng(BadRequest):
2123
+ """Stickers must be png files but the provided image was not a png"""
2124
+ ID = "STICKER_PNG_NOPNG"
2125
+ """``str``: RPC Error ID"""
2126
+ MESSAGE = __doc__
2127
+
2128
+
2129
+ class StickerTgsNotgs(BadRequest):
2130
+ """A tgs sticker file was expected, but something else was provided"""
2131
+ ID = "STICKER_TGS_NOTGS"
2132
+ """``str``: RPC Error ID"""
2133
+ MESSAGE = __doc__
2134
+
2135
+
2136
+ class StickerThumbPngNopng(BadRequest):
2137
+ """A png sticker thumbnail file was expected, but something else was provided"""
2138
+ ID = "STICKER_THUMB_PNG_NOPNG"
2139
+ """``str``: RPC Error ID"""
2140
+ MESSAGE = __doc__
2141
+
2142
+
2143
+ class StickerVideoNowebm(BadRequest):
2144
+ """A webm video file was expected, but something else was provided"""
2145
+ ID = "STICKER_VIDEO_NOWEBM"
2146
+ """``str``: RPC Error ID"""
2147
+ MESSAGE = __doc__
2148
+
2149
+
2150
+ class TakeoutInvalid(BadRequest):
2151
+ """The takeout id is invalid"""
2152
+ ID = "TAKEOUT_INVALID"
2153
+ """``str``: RPC Error ID"""
2154
+ MESSAGE = __doc__
2155
+
2156
+
2157
+ class TakeoutRequired(BadRequest):
2158
+ """The method must be invoked inside a takeout session"""
2159
+ ID = "TAKEOUT_REQUIRED"
2160
+ """``str``: RPC Error ID"""
2161
+ MESSAGE = __doc__
2162
+
2163
+
2164
+ class TempAuthKeyEmpty(BadRequest):
2165
+ """The temporary auth key provided is empty"""
2166
+ ID = "TEMP_AUTH_KEY_EMPTY"
2167
+ """``str``: RPC Error ID"""
2168
+ MESSAGE = __doc__
2169
+
2170
+
2171
+ class ThemeFileInvalid(BadRequest):
2172
+ """Invalid theme file provided"""
2173
+ ID = "THEME_FILE_INVALID"
2174
+ """``str``: RPC Error ID"""
2175
+ MESSAGE = __doc__
2176
+
2177
+
2178
+ class ThemeFormatInvalid(BadRequest):
2179
+ """Invalid theme format provided"""
2180
+ ID = "THEME_FORMAT_INVALID"
2181
+ """``str``: RPC Error ID"""
2182
+ MESSAGE = __doc__
2183
+
2184
+
2185
+ class ThemeInvalid(BadRequest):
2186
+ """Invalid theme provided"""
2187
+ ID = "THEME_INVALID"
2188
+ """``str``: RPC Error ID"""
2189
+ MESSAGE = __doc__
2190
+
2191
+
2192
+ class ThemeMimeInvalid(BadRequest):
2193
+ """You cannot create this theme because the mime-type is invalid"""
2194
+ ID = "THEME_MIME_INVALID"
2195
+ """``str``: RPC Error ID"""
2196
+ MESSAGE = __doc__
2197
+
2198
+
2199
+ class TmpPasswordDisabled(BadRequest):
2200
+ """The temporary password is disabled"""
2201
+ ID = "TMP_PASSWORD_DISABLED"
2202
+ """``str``: RPC Error ID"""
2203
+ MESSAGE = __doc__
2204
+
2205
+
2206
+ class TmpPasswordInvalid(BadRequest):
2207
+ """The temporary password is invalid"""
2208
+ ID = "TMP_PASSWORD_INVALID"
2209
+ """``str``: RPC Error ID"""
2210
+ MESSAGE = __doc__
2211
+
2212
+
2213
+ class TokenInvalid(BadRequest):
2214
+ """The provided token is invalid"""
2215
+ ID = "TOKEN_INVALID"
2216
+ """``str``: RPC Error ID"""
2217
+ MESSAGE = __doc__
2218
+
2219
+
2220
+ class TtlDaysInvalid(BadRequest):
2221
+ """The provided TTL days is invalid"""
2222
+ ID = "TTL_DAYS_INVALID"
2223
+ """``str``: RPC Error ID"""
2224
+ MESSAGE = __doc__
2225
+
2226
+
2227
+ class TtlMediaInvalid(BadRequest):
2228
+ """The media does not support self-destruction"""
2229
+ ID = "TTL_MEDIA_INVALID"
2230
+ """``str``: RPC Error ID"""
2231
+ MESSAGE = __doc__
2232
+
2233
+
2234
+ class TypesEmpty(BadRequest):
2235
+ """The types parameter is empty"""
2236
+ ID = "TYPES_EMPTY"
2237
+ """``str``: RPC Error ID"""
2238
+ MESSAGE = __doc__
2239
+
2240
+
2241
+ class TypeConstructorInvalid(BadRequest):
2242
+ """The type constructor is invalid"""
2243
+ ID = "TYPE_CONSTRUCTOR_INVALID"
2244
+ """``str``: RPC Error ID"""
2245
+ MESSAGE = __doc__
2246
+
2247
+
2248
+ class UntilDateInvalid(BadRequest):
2249
+ """That date parameter is invalid"""
2250
+ ID = "UNTIL_DATE_INVALID"
2251
+ """``str``: RPC Error ID"""
2252
+ MESSAGE = __doc__
2253
+
2254
+
2255
+ class UrlInvalid(BadRequest):
2256
+ """The URL provided is invalid"""
2257
+ ID = "URL_INVALID"
2258
+ """``str``: RPC Error ID"""
2259
+ MESSAGE = __doc__
2260
+
2261
+
2262
+ class UsageLimitInvalid(BadRequest):
2263
+ """The usage limit is invalid"""
2264
+ ID = "USAGE_LIMIT_INVALID"
2265
+ """``str``: RPC Error ID"""
2266
+ MESSAGE = __doc__
2267
+
2268
+
2269
+ class UsernameInvalid(BadRequest):
2270
+ """The username is invalid"""
2271
+ ID = "USERNAME_INVALID"
2272
+ """``str``: RPC Error ID"""
2273
+ MESSAGE = __doc__
2274
+
2275
+
2276
+ class UsernameNotModified(BadRequest):
2277
+ """The username was not modified because you tried to edit it using the same one"""
2278
+ ID = "USERNAME_NOT_MODIFIED"
2279
+ """``str``: RPC Error ID"""
2280
+ MESSAGE = __doc__
2281
+
2282
+
2283
+ class UsernameNotOccupied(BadRequest):
2284
+ """The username is not occupied by anyone"""
2285
+ ID = "USERNAME_NOT_OCCUPIED"
2286
+ """``str``: RPC Error ID"""
2287
+ MESSAGE = __doc__
2288
+
2289
+
2290
+ class UsernameOccupied(BadRequest):
2291
+ """The username is already in use by someone else"""
2292
+ ID = "USERNAME_OCCUPIED"
2293
+ """``str``: RPC Error ID"""
2294
+ MESSAGE = __doc__
2295
+
2296
+
2297
+ class UserpicUploadRequired(BadRequest):
2298
+ """You are required to upload a profile picture for this action"""
2299
+ ID = "USERPIC_UPLOAD_REQUIRED"
2300
+ """``str``: RPC Error ID"""
2301
+ MESSAGE = __doc__
2302
+
2303
+
2304
+ class UsersTooFew(BadRequest):
2305
+ """Not enough users (to create a chat, for example)"""
2306
+ ID = "USERS_TOO_FEW"
2307
+ """``str``: RPC Error ID"""
2308
+ MESSAGE = __doc__
2309
+
2310
+
2311
+ class UsersTooMuch(BadRequest):
2312
+ """The maximum number of users has been exceeded (to create a chat, for example)"""
2313
+ ID = "USERS_TOO_MUCH"
2314
+ """``str``: RPC Error ID"""
2315
+ MESSAGE = __doc__
2316
+
2317
+
2318
+ class UserAdminInvalid(BadRequest):
2319
+ """The action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to"""
2320
+ ID = "USER_ADMIN_INVALID"
2321
+ """``str``: RPC Error ID"""
2322
+ MESSAGE = __doc__
2323
+
2324
+
2325
+ class UserAlreadyParticipant(BadRequest):
2326
+ """The user is already a participant of this chat"""
2327
+ ID = "USER_ALREADY_PARTICIPANT"
2328
+ """``str``: RPC Error ID"""
2329
+ MESSAGE = __doc__
2330
+
2331
+
2332
+ class UserBannedInChannel(BadRequest):
2333
+ """You are limited from sending messages in supergroups/channels, check @SpamBot for details"""
2334
+ ID = "USER_BANNED_IN_CHANNEL"
2335
+ """``str``: RPC Error ID"""
2336
+ MESSAGE = __doc__
2337
+
2338
+
2339
+ class UserBlocked(BadRequest):
2340
+ """The user is blocked"""
2341
+ ID = "USER_BLOCKED"
2342
+ """``str``: RPC Error ID"""
2343
+ MESSAGE = __doc__
2344
+
2345
+
2346
+ class UserBot(BadRequest):
2347
+ """Bots in channels can only be administrators, not members."""
2348
+ ID = "USER_BOT"
2349
+ """``str``: RPC Error ID"""
2350
+ MESSAGE = __doc__
2351
+
2352
+
2353
+ class UserBotInvalid(BadRequest):
2354
+ """This method can only be used by a bot"""
2355
+ ID = "USER_BOT_INVALID"
2356
+ """``str``: RPC Error ID"""
2357
+ MESSAGE = __doc__
2358
+
2359
+
2360
+ class UserBotRequired(BadRequest):
2361
+ """The method can be used by bots only"""
2362
+ ID = "USER_BOT_REQUIRED"
2363
+ """``str``: RPC Error ID"""
2364
+ MESSAGE = __doc__
2365
+
2366
+
2367
+ class UserChannelsTooMuch(BadRequest):
2368
+ """The user is already in too many channels or supergroups"""
2369
+ ID = "USER_CHANNELS_TOO_MUCH"
2370
+ """``str``: RPC Error ID"""
2371
+ MESSAGE = __doc__
2372
+
2373
+
2374
+ class UserCreator(BadRequest):
2375
+ """You can't leave this channel because you're its creator"""
2376
+ ID = "USER_CREATOR"
2377
+ """``str``: RPC Error ID"""
2378
+ MESSAGE = __doc__
2379
+
2380
+
2381
+ class UserIdInvalid(BadRequest):
2382
+ """The user id being used is invalid or not known yet. Make sure you meet the user before interacting with it"""
2383
+ ID = "USER_ID_INVALID"
2384
+ """``str``: RPC Error ID"""
2385
+ MESSAGE = __doc__
2386
+
2387
+
2388
+ class UserInvalid(BadRequest):
2389
+ """The provided user is invalid"""
2390
+ ID = "USER_INVALID"
2391
+ """``str``: RPC Error ID"""
2392
+ MESSAGE = __doc__
2393
+
2394
+
2395
+ class UserIsBlocked(BadRequest):
2396
+ """The user blocked you"""
2397
+ ID = "USER_IS_BLOCKED"
2398
+ """``str``: RPC Error ID"""
2399
+ MESSAGE = __doc__
2400
+
2401
+
2402
+ class UserIsBot(BadRequest):
2403
+ """A bot cannot send messages to other bots or to itself"""
2404
+ ID = "USER_IS_BOT"
2405
+ """``str``: RPC Error ID"""
2406
+ MESSAGE = __doc__
2407
+
2408
+
2409
+ class UserKicked(BadRequest):
2410
+ """This user was kicked from this chat"""
2411
+ ID = "USER_KICKED"
2412
+ """``str``: RPC Error ID"""
2413
+ MESSAGE = __doc__
2414
+
2415
+
2416
+ class UserNotMutualContact(BadRequest):
2417
+ """The user is not a mutual contact"""
2418
+ ID = "USER_NOT_MUTUAL_CONTACT"
2419
+ """``str``: RPC Error ID"""
2420
+ MESSAGE = __doc__
2421
+
2422
+
2423
+ class UserNotParticipant(BadRequest):
2424
+ """The user is not a member of this chat"""
2425
+ ID = "USER_NOT_PARTICIPANT"
2426
+ """``str``: RPC Error ID"""
2427
+ MESSAGE = __doc__
2428
+
2429
+
2430
+ class VideoContentTypeInvalid(BadRequest):
2431
+ """The video content type is invalid (i.e.: not streamable)"""
2432
+ ID = "VIDEO_CONTENT_TYPE_INVALID"
2433
+ """``str``: RPC Error ID"""
2434
+ MESSAGE = __doc__
2435
+
2436
+
2437
+ class VideoFileInvalid(BadRequest):
2438
+ """The video file is invalid"""
2439
+ ID = "VIDEO_FILE_INVALID"
2440
+ """``str``: RPC Error ID"""
2441
+ MESSAGE = __doc__
2442
+
2443
+
2444
+ class VoiceMessagesForbidden(BadRequest):
2445
+ """Voice messages are restricted"""
2446
+ ID = "VOICE_MESSAGES_FORBIDDEN"
2447
+ """``str``: RPC Error ID"""
2448
+ MESSAGE = __doc__
2449
+
2450
+
2451
+ class VolumeLocNotFound(BadRequest):
2452
+ """The volume location can't be found"""
2453
+ ID = "VOLUME_LOC_NOT_FOUND"
2454
+ """``str``: RPC Error ID"""
2455
+ MESSAGE = __doc__
2456
+
2457
+
2458
+ class WallpaperFileInvalid(BadRequest):
2459
+ """The provided file cannot be used as a wallpaper"""
2460
+ ID = "WALLPAPER_FILE_INVALID"
2461
+ """``str``: RPC Error ID"""
2462
+ MESSAGE = __doc__
2463
+
2464
+
2465
+ class WallpaperInvalid(BadRequest):
2466
+ """The input wallpaper was not valid"""
2467
+ ID = "WALLPAPER_INVALID"
2468
+ """``str``: RPC Error ID"""
2469
+ MESSAGE = __doc__
2470
+
2471
+
2472
+ class WallpaperMimeInvalid(BadRequest):
2473
+ """The wallpaper mime type is invalid"""
2474
+ ID = "WALLPAPER_MIME_INVALID"
2475
+ """``str``: RPC Error ID"""
2476
+ MESSAGE = __doc__
2477
+
2478
+
2479
+ class WcConvertUrlInvalid(BadRequest):
2480
+ """WC convert URL invalid"""
2481
+ ID = "WC_CONVERT_URL_INVALID"
2482
+ """``str``: RPC Error ID"""
2483
+ MESSAGE = __doc__
2484
+
2485
+
2486
+ class WebdocumentInvalid(BadRequest):
2487
+ """The web document is invalid"""
2488
+ ID = "WEBDOCUMENT_INVALID"
2489
+ """``str``: RPC Error ID"""
2490
+ MESSAGE = __doc__
2491
+
2492
+
2493
+ class WebdocumentMimeInvalid(BadRequest):
2494
+ """The web document mime type is invalid"""
2495
+ ID = "WEBDOCUMENT_MIME_INVALID"
2496
+ """``str``: RPC Error ID"""
2497
+ MESSAGE = __doc__
2498
+
2499
+
2500
+ class WebdocumentSizeTooBig(BadRequest):
2501
+ """The web document is too big"""
2502
+ ID = "WEBDOCUMENT_SIZE_TOO_BIG"
2503
+ """``str``: RPC Error ID"""
2504
+ MESSAGE = __doc__
2505
+
2506
+
2507
+ class WebdocumentUrlEmpty(BadRequest):
2508
+ """The web document URL is empty"""
2509
+ ID = "WEBDOCUMENT_URL_EMPTY"
2510
+ """``str``: RPC Error ID"""
2511
+ MESSAGE = __doc__
2512
+
2513
+
2514
+ class WebdocumentUrlInvalid(BadRequest):
2515
+ """The web document URL is invalid"""
2516
+ ID = "WEBDOCUMENT_URL_INVALID"
2517
+ """``str``: RPC Error ID"""
2518
+ MESSAGE = __doc__
2519
+
2520
+
2521
+ class WebpageCurlFailed(BadRequest):
2522
+ """Telegram server could not fetch the provided URL"""
2523
+ ID = "WEBPAGE_CURL_FAILED"
2524
+ """``str``: RPC Error ID"""
2525
+ MESSAGE = __doc__
2526
+
2527
+
2528
+ class WebpageMediaEmpty(BadRequest):
2529
+ """The URL doesn't contain any valid media"""
2530
+ ID = "WEBPAGE_MEDIA_EMPTY"
2531
+ """``str``: RPC Error ID"""
2532
+ MESSAGE = __doc__
2533
+
2534
+
2535
+ class YouBlockedUser(BadRequest):
2536
+ """You blocked this user"""
2537
+ ID = "YOU_BLOCKED_USER"
2538
+ """``str``: RPC Error ID"""
2539
+ MESSAGE = __doc__
2540
+
2541
+