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