xn-pyrogram 2.2.23__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 +38 -0
- pyrogram/client.py +1554 -0
- pyrogram/connection/__init__.py +19 -0
- pyrogram/connection/connection.py +92 -0
- pyrogram/connection/transport/__init__.py +19 -0
- pyrogram/connection/transport/tcp/__init__.py +24 -0
- pyrogram/connection/transport/tcp/tcp.py +248 -0
- pyrogram/connection/transport/tcp/tcp_abridged.py +66 -0
- pyrogram/connection/transport/tcp/tcp_abridged_o.py +106 -0
- pyrogram/connection/transport/tcp/tcp_full.py +73 -0
- pyrogram/connection/transport/tcp/tcp_intermediate.py +54 -0
- pyrogram/connection/transport/tcp/tcp_intermediate_o.py +88 -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 +514 -0
- pyrogram/enums/__init__.py +107 -0
- pyrogram/enums/auto_name.py +27 -0
- pyrogram/enums/block_list.py +31 -0
- pyrogram/enums/business_schedule.py +34 -0
- pyrogram/enums/button_style.py +37 -0
- pyrogram/enums/chat_action.py +72 -0
- pyrogram/enums/chat_event_action.py +140 -0
- pyrogram/enums/chat_join_request_query_result.py +34 -0
- pyrogram/enums/chat_join_type.py +34 -0
- pyrogram/enums/chat_member_status.py +43 -0
- pyrogram/enums/chat_members_filter.py +42 -0
- pyrogram/enums/chat_type.py +46 -0
- pyrogram/enums/client_platform.py +49 -0
- pyrogram/enums/folder_color.py +47 -0
- pyrogram/enums/gift_attribute_type.py +36 -0
- pyrogram/enums/gift_for_resale_order.py +34 -0
- pyrogram/enums/gift_purchase_offer_state.py +34 -0
- pyrogram/enums/gift_type.py +31 -0
- pyrogram/enums/mask_point_type.py +35 -0
- pyrogram/enums/media_area_type.py +46 -0
- pyrogram/enums/message_entity_type.py +87 -0
- pyrogram/enums/message_media_type.py +94 -0
- pyrogram/enums/message_origin_type.py +40 -0
- pyrogram/enums/message_service_type.py +235 -0
- pyrogram/enums/messages_filter.py +78 -0
- pyrogram/enums/next_code_type.py +39 -0
- pyrogram/enums/paid_reaction_privacy.py +35 -0
- pyrogram/enums/parse_mode.py +37 -0
- pyrogram/enums/payment_form_type.py +34 -0
- pyrogram/enums/phone_call_discard_reason.py +40 -0
- pyrogram/enums/phone_number_code_type.py +34 -0
- pyrogram/enums/poll_type.py +31 -0
- pyrogram/enums/privacy_key.py +66 -0
- pyrogram/enums/privacy_rule_type.py +61 -0
- pyrogram/enums/profile_color.py +71 -0
- pyrogram/enums/profile_tab.py +48 -0
- pyrogram/enums/reply_color.py +94 -0
- pyrogram/enums/sent_code_type.py +57 -0
- pyrogram/enums/sticker_type.py +34 -0
- pyrogram/enums/stories_privacy_rules.py +36 -0
- pyrogram/enums/suggested_post_refund_reason.py +31 -0
- pyrogram/enums/suggested_post_state.py +34 -0
- pyrogram/enums/top_chat_category.py +54 -0
- pyrogram/enums/upgraded_gift_origin.py +46 -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 +937 -0
- pyrogram/errors/exceptions/bad_request_400.py +4970 -0
- pyrogram/errors/exceptions/flood_420.py +98 -0
- pyrogram/errors/exceptions/forbidden_403.py +469 -0
- pyrogram/errors/exceptions/internal_server_error_500.py +420 -0
- pyrogram/errors/exceptions/not_acceptable_406.py +301 -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 +486 -0
- pyrogram/filters.py +1255 -0
- pyrogram/handlers/__init__.py +48 -0
- pyrogram/handlers/business_connection_handler.py +56 -0
- pyrogram/handlers/business_message_handler.py +56 -0
- pyrogram/handlers/callback_query_handler.py +55 -0
- pyrogram/handlers/chat_boost_handler.py +55 -0
- pyrogram/handlers/chat_join_request_handler.py +55 -0
- pyrogram/handlers/chat_member_updated_handler.py +55 -0
- pyrogram/handlers/chosen_inline_result_handler.py +58 -0
- pyrogram/handlers/connect_handler.py +50 -0
- pyrogram/handlers/deleted_business_messages_handler.py +69 -0
- pyrogram/handlers/deleted_messages_handler.py +68 -0
- pyrogram/handlers/disconnect_handler.py +50 -0
- pyrogram/handlers/edited_business_message_handler.py +56 -0
- pyrogram/handlers/edited_message_handler.py +55 -0
- pyrogram/handlers/error_handler.py +98 -0
- pyrogram/handlers/guest_message_handler.py +55 -0
- pyrogram/handlers/handler.py +41 -0
- pyrogram/handlers/inline_query_handler.py +55 -0
- pyrogram/handlers/managed_bot_updated_handler.py +53 -0
- pyrogram/handlers/message_handler.py +55 -0
- pyrogram/handlers/message_reaction_count_handler.py +59 -0
- pyrogram/handlers/message_reaction_handler.py +59 -0
- pyrogram/handlers/poll_handler.py +54 -0
- pyrogram/handlers/pre_checkout_query_handler.py +55 -0
- pyrogram/handlers/purchased_paid_media_handler.py +57 -0
- pyrogram/handlers/raw_update_handler.py +87 -0
- pyrogram/handlers/shipping_query_handler.py +56 -0
- pyrogram/handlers/start_handler.py +46 -0
- pyrogram/handlers/stop_handler.py +47 -0
- pyrogram/handlers/story_handler.py +53 -0
- pyrogram/handlers/user_status_handler.py +51 -0
- pyrogram/methods/__init__.py +59 -0
- pyrogram/methods/account/__init__.py +42 -0
- pyrogram/methods/account/add_profile_audio.py +151 -0
- pyrogram/methods/account/get_account_ttl.py +44 -0
- pyrogram/methods/account/get_global_privacy_settings.py +39 -0
- pyrogram/methods/account/get_privacy.py +55 -0
- pyrogram/methods/account/remove_profile_audio.py +50 -0
- pyrogram/methods/account/set_account_ttl.py +55 -0
- pyrogram/methods/account/set_global_privacy_settings.py +124 -0
- pyrogram/methods/account/set_inactive_session_ttl.py +51 -0
- pyrogram/methods/account/set_privacy.py +76 -0
- pyrogram/methods/account/set_profile_audio_position.py +63 -0
- pyrogram/methods/advanced/__init__.py +31 -0
- pyrogram/methods/advanced/invoke.py +118 -0
- pyrogram/methods/advanced/recover_gaps.py +184 -0
- pyrogram/methods/advanced/resolve_peer.py +153 -0
- pyrogram/methods/advanced/save_file.py +225 -0
- pyrogram/methods/auth/__init__.py +61 -0
- pyrogram/methods/auth/accept_terms_of_service.py +44 -0
- pyrogram/methods/auth/change_phone_number.py +59 -0
- pyrogram/methods/auth/check_password.py +60 -0
- pyrogram/methods/auth/connect.py +56 -0
- pyrogram/methods/auth/disconnect.py +41 -0
- pyrogram/methods/auth/get_active_sessions.py +39 -0
- pyrogram/methods/auth/get_password_hint.py +38 -0
- pyrogram/methods/auth/initialize.py +50 -0
- pyrogram/methods/auth/log_out.py +51 -0
- pyrogram/methods/auth/recover_password.py +57 -0
- pyrogram/methods/auth/resend_phone_number_code.py +63 -0
- pyrogram/methods/auth/reset_session.py +44 -0
- pyrogram/methods/auth/reset_sessions.py +39 -0
- pyrogram/methods/auth/send_phone_number_code.py +187 -0
- pyrogram/methods/auth/send_recovery_code.py +43 -0
- pyrogram/methods/auth/sign_in.py +81 -0
- pyrogram/methods/auth/sign_in_bot.py +78 -0
- pyrogram/methods/auth/sign_up.py +73 -0
- pyrogram/methods/auth/terminate.py +67 -0
- pyrogram/methods/bots/__init__.py +99 -0
- pyrogram/methods/bots/answer_callback_query.py +81 -0
- pyrogram/methods/bots/answer_chat_join_request_query.py +47 -0
- pyrogram/methods/bots/answer_guest_query.py +61 -0
- pyrogram/methods/bots/answer_inline_query.py +112 -0
- pyrogram/methods/bots/answer_pre_checkout_query.py +66 -0
- pyrogram/methods/bots/answer_shipping_query.py +81 -0
- pyrogram/methods/bots/answer_web_app_query.py +53 -0
- pyrogram/methods/bots/check_bot_username.py +39 -0
- pyrogram/methods/bots/create_bot.py +64 -0
- pyrogram/methods/bots/create_invoice_link.py +167 -0
- pyrogram/methods/bots/delete_bot_commands.py +62 -0
- pyrogram/methods/bots/edit_user_star_subscription.py +56 -0
- pyrogram/methods/bots/get_bot_commands.py +67 -0
- pyrogram/methods/bots/get_bot_default_privileges.py +59 -0
- pyrogram/methods/bots/get_bot_info_description.py +63 -0
- pyrogram/methods/bots/get_bot_info_short_description.py +63 -0
- pyrogram/methods/bots/get_bot_name.py +62 -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/get_managed_bot_access_settings.py +47 -0
- pyrogram/methods/bots/get_managed_bot_token.py +48 -0
- pyrogram/methods/bots/get_owned_bots.py +44 -0
- pyrogram/methods/bots/refund_star_payment.py +54 -0
- pyrogram/methods/bots/replace_managed_bot_token.py +48 -0
- pyrogram/methods/bots/request_callback_answer.py +91 -0
- pyrogram/methods/bots/send_chat_join_request_web_app.py +49 -0
- pyrogram/methods/bots/send_game.py +139 -0
- pyrogram/methods/bots/send_inline_bot_result.py +171 -0
- pyrogram/methods/bots/send_invoice.py +268 -0
- pyrogram/methods/bots/set_bot_commands.py +73 -0
- pyrogram/methods/bots/set_bot_default_privileges.py +81 -0
- pyrogram/methods/bots/set_bot_info_description.py +66 -0
- pyrogram/methods/bots/set_bot_info_short_description.py +66 -0
- pyrogram/methods/bots/set_bot_name.py +66 -0
- pyrogram/methods/bots/set_chat_menu_button.py +56 -0
- pyrogram/methods/bots/set_game_score.py +100 -0
- pyrogram/methods/bots/set_managed_bot_access_settings.py +60 -0
- pyrogram/methods/business/__init__.py +33 -0
- pyrogram/methods/business/delete_business_messages.py +70 -0
- pyrogram/methods/business/get_business_account_gifts.py +151 -0
- pyrogram/methods/business/get_business_account_star_balance.py +60 -0
- pyrogram/methods/business/get_business_connection.py +53 -0
- pyrogram/methods/business/transfer_business_account_stars.py +72 -0
- pyrogram/methods/chats/__init__.py +181 -0
- pyrogram/methods/chats/add_chat_members.py +97 -0
- pyrogram/methods/chats/archive_chats.py +71 -0
- pyrogram/methods/chats/ban_chat_member.py +124 -0
- pyrogram/methods/chats/close_forum_topic.py +58 -0
- pyrogram/methods/chats/create_channel.py +56 -0
- pyrogram/methods/chats/create_folder.py +179 -0
- pyrogram/methods/chats/create_folder_invite_link.py +67 -0
- pyrogram/methods/chats/create_forum_topic.py +68 -0
- pyrogram/methods/chats/create_group.py +67 -0
- pyrogram/methods/chats/create_supergroup.py +78 -0
- pyrogram/methods/chats/delete_all_message_reactions.py +74 -0
- pyrogram/methods/chats/delete_channel.py +52 -0
- pyrogram/methods/chats/delete_chat_photo.py +70 -0
- pyrogram/methods/chats/delete_folder.py +51 -0
- pyrogram/methods/chats/delete_folder_invite_link.py +70 -0
- pyrogram/methods/chats/delete_forum_topic.py +57 -0
- pyrogram/methods/chats/delete_message_reaction.py +81 -0
- pyrogram/methods/chats/delete_supergroup.py +52 -0
- pyrogram/methods/chats/delete_user_history.py +55 -0
- pyrogram/methods/chats/edit_folder.py +186 -0
- pyrogram/methods/chats/edit_folder_invite_link.py +85 -0
- pyrogram/methods/chats/edit_forum_topic.py +77 -0
- pyrogram/methods/chats/get_chat.py +105 -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_chat_settings.py +61 -0
- pyrogram/methods/chats/get_chats_for_folder_invite_link.py +78 -0
- pyrogram/methods/chats/get_dialogs.py +133 -0
- pyrogram/methods/chats/get_dialogs_count.py +76 -0
- pyrogram/methods/chats/get_direct_messages_topics.py +109 -0
- pyrogram/methods/chats/get_direct_messages_topics_by_id.py +77 -0
- pyrogram/methods/chats/get_folder_invite_links.py +52 -0
- pyrogram/methods/chats/get_folders.py +76 -0
- pyrogram/methods/chats/get_forum_topics.py +103 -0
- pyrogram/methods/chats/get_forum_topics_by_id.py +80 -0
- pyrogram/methods/chats/get_personal_channels.py +48 -0
- pyrogram/methods/chats/get_send_as_chats.py +69 -0
- pyrogram/methods/chats/get_similar_channels.py +59 -0
- pyrogram/methods/chats/get_suitable_discussion_chats.py +47 -0
- pyrogram/methods/chats/get_top_chats.py +104 -0
- pyrogram/methods/chats/join_chat.py +65 -0
- pyrogram/methods/chats/join_folder.py +79 -0
- pyrogram/methods/chats/leave_chat.py +77 -0
- pyrogram/methods/chats/leave_folder.py +83 -0
- pyrogram/methods/chats/mark_chat_unread.py +47 -0
- pyrogram/methods/chats/pin_chat_message.py +77 -0
- pyrogram/methods/chats/pin_forum_topic.py +57 -0
- pyrogram/methods/chats/process_chat_has_protected_content_disable_request.py +57 -0
- pyrogram/methods/chats/promote_chat_member.py +106 -0
- pyrogram/methods/chats/reorder_folders.py +61 -0
- pyrogram/methods/chats/restrict_chat_member.py +85 -0
- pyrogram/methods/chats/set_administrator_title.py +85 -0
- pyrogram/methods/chats/set_chat_description.py +66 -0
- pyrogram/methods/chats/set_chat_direct_messages_group.py +67 -0
- pyrogram/methods/chats/set_chat_discussion_group.py +91 -0
- pyrogram/methods/chats/set_chat_member_tag.py +68 -0
- pyrogram/methods/chats/set_chat_permissions.py +76 -0
- pyrogram/methods/chats/set_chat_photo.py +124 -0
- pyrogram/methods/chats/set_chat_protected_content.py +51 -0
- pyrogram/methods/chats/set_chat_title.py +69 -0
- pyrogram/methods/chats/set_chat_ttl.py +67 -0
- pyrogram/methods/chats/set_chat_username.py +68 -0
- pyrogram/methods/chats/set_main_profile_tab.py +71 -0
- pyrogram/methods/chats/set_send_as_chat.py +57 -0
- pyrogram/methods/chats/set_slow_mode.py +63 -0
- pyrogram/methods/chats/set_upgraded_gift_colors.py +47 -0
- pyrogram/methods/chats/toggle_folder_tags.py +51 -0
- pyrogram/methods/chats/toggle_forum_topics.py +72 -0
- pyrogram/methods/chats/toggle_join_to_send.py +65 -0
- pyrogram/methods/chats/transfer_chat_ownership.py +84 -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/chats/unpin_forum_topic.py +58 -0
- pyrogram/methods/chats/update_chat_notifications.py +92 -0
- pyrogram/methods/chats/update_color.py +78 -0
- pyrogram/methods/contacts/__init__.py +39 -0
- pyrogram/methods/contacts/add_contact.py +85 -0
- pyrogram/methods/contacts/delete_contacts.py +66 -0
- pyrogram/methods/contacts/get_blocked_message_senders.py +85 -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/contacts/search_contacts.py +59 -0
- pyrogram/methods/contacts/set_contact_note.py +62 -0
- pyrogram/methods/decorators/__init__.py +81 -0
- pyrogram/methods/decorators/on_business_connection.py +63 -0
- pyrogram/methods/decorators/on_business_message.py +63 -0
- pyrogram/methods/decorators/on_callback_query.py +63 -0
- pyrogram/methods/decorators/on_chat_boost.py +64 -0
- pyrogram/methods/decorators/on_chat_join_request.py +62 -0
- pyrogram/methods/decorators/on_chat_member_updated.py +62 -0
- pyrogram/methods/decorators/on_chosen_inline_result.py +63 -0
- pyrogram/methods/decorators/on_connect.py +45 -0
- pyrogram/methods/decorators/on_deleted_business_messages.py +63 -0
- pyrogram/methods/decorators/on_deleted_messages.py +63 -0
- pyrogram/methods/decorators/on_disconnect.py +45 -0
- pyrogram/methods/decorators/on_edited_business_message.py +63 -0
- pyrogram/methods/decorators/on_edited_message.py +63 -0
- pyrogram/methods/decorators/on_error.py +65 -0
- pyrogram/methods/decorators/on_guest_message.py +63 -0
- pyrogram/methods/decorators/on_inline_query.py +63 -0
- pyrogram/methods/decorators/on_managed_bot.py +63 -0
- pyrogram/methods/decorators/on_message.py +63 -0
- pyrogram/methods/decorators/on_message_reaction.py +62 -0
- pyrogram/methods/decorators/on_message_reaction_count.py +62 -0
- pyrogram/methods/decorators/on_poll.py +63 -0
- pyrogram/methods/decorators/on_pre_checkout_query.py +63 -0
- pyrogram/methods/decorators/on_purchased_paid_media.py +62 -0
- pyrogram/methods/decorators/on_raw_update.py +63 -0
- pyrogram/methods/decorators/on_shipping_query.py +64 -0
- pyrogram/methods/decorators/on_start.py +45 -0
- pyrogram/methods/decorators/on_stop.py +45 -0
- pyrogram/methods/decorators/on_story.py +63 -0
- pyrogram/methods/decorators/on_user_status.py +61 -0
- pyrogram/methods/folders/__init__.py +25 -0
- pyrogram/methods/folders/check_chat_folder_invite_link.py +55 -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 +66 -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 +54 -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 +199 -0
- pyrogram/methods/messages/add_checklist_tasks.py +73 -0
- pyrogram/methods/messages/add_poll_option.py +76 -0
- pyrogram/methods/messages/add_to_gifs.py +60 -0
- pyrogram/methods/messages/approve_suggested_post.py +66 -0
- pyrogram/methods/messages/compose_text_with_ai.py +80 -0
- pyrogram/methods/messages/copy_media_group.py +238 -0
- pyrogram/methods/messages/copy_message.py +168 -0
- pyrogram/methods/messages/decline_suggested_post.py +62 -0
- pyrogram/methods/messages/delete_chat_history.py +101 -0
- pyrogram/methods/messages/delete_direct_messages_chat_topic_history.py +74 -0
- pyrogram/methods/messages/delete_messages.py +110 -0
- pyrogram/methods/messages/delete_poll_option.py +69 -0
- pyrogram/methods/messages/download_media.py +371 -0
- pyrogram/methods/messages/edit_inline_caption.py +65 -0
- pyrogram/methods/messages/edit_inline_media.py +244 -0
- pyrogram/methods/messages/edit_inline_reply_markup.py +68 -0
- pyrogram/methods/messages/edit_inline_text.py +122 -0
- pyrogram/methods/messages/edit_message_caption.py +98 -0
- pyrogram/methods/messages/edit_message_checklist.py +106 -0
- pyrogram/methods/messages/edit_message_media.py +137 -0
- pyrogram/methods/messages/edit_message_reply_markup.py +84 -0
- pyrogram/methods/messages/edit_message_text.py +165 -0
- pyrogram/methods/messages/fix_text_with_ai.py +57 -0
- pyrogram/methods/messages/forward_media_group.py +124 -0
- pyrogram/methods/messages/forward_messages.py +142 -0
- pyrogram/methods/messages/get_available_effects.py +59 -0
- pyrogram/methods/messages/get_chat_history.py +175 -0
- pyrogram/methods/messages/get_chat_history_count.py +83 -0
- pyrogram/methods/messages/get_custom_emoji_stickers.py +54 -0
- pyrogram/methods/messages/get_direct_messages_chat_topic_history.py +151 -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_main_web_app.py +71 -0
- pyrogram/methods/messages/get_media_group.py +72 -0
- pyrogram/methods/messages/get_messages.py +236 -0
- pyrogram/methods/messages/get_scheduled_messages.py +61 -0
- pyrogram/methods/messages/get_stickers.py +66 -0
- pyrogram/methods/messages/get_user_personal_chat_messages.py +92 -0
- pyrogram/methods/messages/get_web_app_link_url.py +83 -0
- pyrogram/methods/messages/get_web_app_url.py +70 -0
- pyrogram/methods/messages/mark_checklist_tasks_as_done.py +74 -0
- pyrogram/methods/messages/open_web_app.py +92 -0
- pyrogram/methods/messages/read_chat_history.py +73 -0
- pyrogram/methods/messages/read_mentions.py +64 -0
- pyrogram/methods/messages/read_reactions.py +64 -0
- pyrogram/methods/messages/retract_vote.py +64 -0
- pyrogram/methods/messages/search_global.py +132 -0
- pyrogram/methods/messages/search_global_count.py +79 -0
- pyrogram/methods/messages/search_messages.py +190 -0
- pyrogram/methods/messages/search_messages_count.py +98 -0
- pyrogram/methods/messages/search_posts.py +96 -0
- pyrogram/methods/messages/search_posts_count.py +54 -0
- pyrogram/methods/messages/send_animation.py +379 -0
- pyrogram/methods/messages/send_audio.py +347 -0
- pyrogram/methods/messages/send_cached_media.py +226 -0
- pyrogram/methods/messages/send_chat_action.py +85 -0
- pyrogram/methods/messages/send_checklist.py +153 -0
- pyrogram/methods/messages/send_contact.py +216 -0
- pyrogram/methods/messages/send_dice.py +217 -0
- pyrogram/methods/messages/send_document.py +319 -0
- pyrogram/methods/messages/send_live_photo.py +244 -0
- pyrogram/methods/messages/send_location.py +242 -0
- pyrogram/methods/messages/send_media_group.py +525 -0
- pyrogram/methods/messages/send_message.py +352 -0
- pyrogram/methods/messages/send_message_draft.py +105 -0
- pyrogram/methods/messages/send_paid_media.py +385 -0
- pyrogram/methods/messages/send_paid_reaction.py +79 -0
- pyrogram/methods/messages/send_photo.py +317 -0
- pyrogram/methods/messages/send_poll.py +316 -0
- pyrogram/methods/messages/send_reaction.py +111 -0
- pyrogram/methods/messages/send_rich_message.py +156 -0
- pyrogram/methods/messages/send_rich_message_draft.py +93 -0
- pyrogram/methods/messages/send_screenshot_notification.py +57 -0
- pyrogram/methods/messages/send_sticker.py +303 -0
- pyrogram/methods/messages/send_venue.py +231 -0
- pyrogram/methods/messages/send_video.py +448 -0
- pyrogram/methods/messages/send_video_note.py +336 -0
- pyrogram/methods/messages/send_voice.py +325 -0
- pyrogram/methods/messages/send_web_page.py +195 -0
- pyrogram/methods/messages/set_direct_messages_chat_topic_is_marked_as_unread.py +66 -0
- pyrogram/methods/messages/start_bot.py +77 -0
- pyrogram/methods/messages/stop_poll.py +81 -0
- pyrogram/methods/messages/stream_media.py +106 -0
- pyrogram/methods/messages/summarize_message.py +81 -0
- pyrogram/methods/messages/translate_message_text.py +77 -0
- pyrogram/methods/messages/translate_text.py +73 -0
- pyrogram/methods/messages/view_messages.py +61 -0
- pyrogram/methods/messages/vote_poll.py +71 -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/payments/__init__.py +111 -0
- pyrogram/methods/payments/add_collection_gifts.py +71 -0
- pyrogram/methods/payments/apply_gift_code.py +64 -0
- pyrogram/methods/payments/buy_gift_upgrade.py +76 -0
- pyrogram/methods/payments/check_gift_code.py +67 -0
- pyrogram/methods/payments/convert_gift_to_stars.py +61 -0
- pyrogram/methods/payments/craft_gift.py +67 -0
- pyrogram/methods/payments/create_gift_collection.py +63 -0
- pyrogram/methods/payments/delete_gift_collection.py +58 -0
- pyrogram/methods/payments/drop_gift_original_details.py +74 -0
- pyrogram/methods/payments/edit_star_subscription.py +47 -0
- pyrogram/methods/payments/get_available_gifts.py +47 -0
- pyrogram/methods/payments/get_chat_gifts.py +150 -0
- pyrogram/methods/payments/get_chat_gifts_count.py +63 -0
- pyrogram/methods/payments/get_gift_auction_state.py +64 -0
- pyrogram/methods/payments/get_gift_collections.py +53 -0
- pyrogram/methods/payments/get_gift_upgrade_preview.py +50 -0
- pyrogram/methods/payments/get_gift_upgrade_variants.py +45 -0
- pyrogram/methods/payments/get_gifts_for_crafting.py +86 -0
- pyrogram/methods/payments/get_payment_form.py +66 -0
- pyrogram/methods/payments/get_stars_balance.py +64 -0
- pyrogram/methods/payments/get_ton_balance.py +54 -0
- pyrogram/methods/payments/get_upgraded_gift.py +66 -0
- pyrogram/methods/payments/get_upgraded_gift_value_info.py +63 -0
- pyrogram/methods/payments/gift_premium_with_stars.py +97 -0
- pyrogram/methods/payments/hide_gift.py +62 -0
- pyrogram/methods/payments/increase_gift_auction_bid.py +68 -0
- pyrogram/methods/payments/place_gift_auction_bid.py +111 -0
- pyrogram/methods/payments/process_gift_purchase_offer.py +51 -0
- pyrogram/methods/payments/remove_collection_gifts.py +68 -0
- pyrogram/methods/payments/reorder_collection_gifts.py +69 -0
- pyrogram/methods/payments/reorder_gift_collections.py +57 -0
- pyrogram/methods/payments/reuse_star_subscription.py +41 -0
- pyrogram/methods/payments/search_gifts_for_resale.py +119 -0
- pyrogram/methods/payments/send_gift.py +99 -0
- pyrogram/methods/payments/send_gift_purchase_offer.py +76 -0
- pyrogram/methods/payments/send_payment_form.py +96 -0
- pyrogram/methods/payments/send_resold_gift.py +123 -0
- pyrogram/methods/payments/set_gift_collection_name.py +62 -0
- pyrogram/methods/payments/set_gift_resale_price.py +72 -0
- pyrogram/methods/payments/set_pinned_gifts.py +67 -0
- pyrogram/methods/payments/show_gift.py +62 -0
- pyrogram/methods/payments/suggest_birthday.py +59 -0
- pyrogram/methods/payments/transfer_gift.py +103 -0
- pyrogram/methods/payments/upgrade_gift.py +114 -0
- pyrogram/methods/phone/__init__.py +25 -0
- pyrogram/methods/phone/get_call_members.py +103 -0
- pyrogram/methods/premium/__init__.py +28 -0
- pyrogram/methods/premium/apply_boost.py +59 -0
- pyrogram/methods/premium/get_boosts.py +57 -0
- pyrogram/methods/premium/get_boosts_status.py +45 -0
- pyrogram/methods/stories/__init__.py +64 -0
- pyrogram/methods/stories/can_post_stories.py +53 -0
- pyrogram/methods/stories/copy_story.py +116 -0
- pyrogram/methods/stories/delete_stories.py +66 -0
- pyrogram/methods/stories/edit_story_caption.py +83 -0
- pyrogram/methods/stories/edit_story_media.py +174 -0
- pyrogram/methods/stories/edit_story_privacy.py +130 -0
- pyrogram/methods/stories/enable_stealth_mode.py +67 -0
- pyrogram/methods/stories/forward_story.py +135 -0
- pyrogram/methods/stories/get_all_stories.py +81 -0
- pyrogram/methods/stories/get_archived_stories.py +95 -0
- pyrogram/methods/stories/get_chat_stories.py +72 -0
- pyrogram/methods/stories/get_pinned_stories.py +102 -0
- pyrogram/methods/stories/get_stories.py +104 -0
- pyrogram/methods/stories/get_story_views.py +120 -0
- pyrogram/methods/stories/hide_chat_stories.py +56 -0
- pyrogram/methods/stories/pin_chat_stories.py +65 -0
- pyrogram/methods/stories/read_chat_stories.py +64 -0
- pyrogram/methods/stories/send_story.py +274 -0
- pyrogram/methods/stories/show_chat_stories.py +56 -0
- pyrogram/methods/stories/unpin_chat_stories.py +65 -0
- pyrogram/methods/stories/view_stories.py +61 -0
- pyrogram/methods/users/__init__.py +61 -0
- pyrogram/methods/users/block_user.py +54 -0
- pyrogram/methods/users/check_username.py +66 -0
- pyrogram/methods/users/delete_profile_photos.py +63 -0
- pyrogram/methods/users/get_chat_audios.py +103 -0
- pyrogram/methods/users/get_chat_audios_count.py +61 -0
- pyrogram/methods/users/get_chat_photos.py +159 -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 +50 -0
- pyrogram/methods/users/get_users.py +71 -0
- pyrogram/methods/users/set_emoji_status.py +92 -0
- pyrogram/methods/users/set_personal_channel.py +67 -0
- pyrogram/methods/users/set_profile_photo.py +153 -0
- pyrogram/methods/users/set_username.py +57 -0
- pyrogram/methods/users/unblock_user.py +54 -0
- pyrogram/methods/users/update_birthday.py +67 -0
- pyrogram/methods/users/update_profile.py +72 -0
- pyrogram/methods/users/update_status.py +54 -0
- pyrogram/methods/utilities/__init__.py +39 -0
- pyrogram/methods/utilities/add_handler.py +73 -0
- pyrogram/methods/utilities/compose.py +78 -0
- pyrogram/methods/utilities/export_session_string.py +40 -0
- pyrogram/methods/utilities/idle.py +88 -0
- pyrogram/methods/utilities/remove_handler.py +69 -0
- pyrogram/methods/utilities/restart.py +78 -0
- pyrogram/methods/utilities/run.py +70 -0
- pyrogram/methods/utilities/start.py +103 -0
- pyrogram/methods/utilities/stop.py +76 -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 +293 -0
- pyrogram/parser/markdown.py +325 -0
- pyrogram/parser/parser.py +61 -0
- pyrogram/parser/utils.py +41 -0
- pyrogram/py.typed +0 -0
- pyrogram/qrlogin.py +111 -0
- pyrogram/raw/__init__.py +26 -0
- pyrogram/raw/all.py +2491 -0
- pyrogram/raw/base/__init__.py +430 -0
- pyrogram/raw/base/access_point_rule.py +56 -0
- pyrogram/raw/base/account/__init__.py +53 -0
- pyrogram/raw/base/account/authorization_form.py +66 -0
- pyrogram/raw/base/account/authorizations.py +66 -0
- pyrogram/raw/base/account/auto_download_settings.py +66 -0
- pyrogram/raw/base/account/auto_save_settings.py +66 -0
- pyrogram/raw/base/account/business_chat_links.py +66 -0
- pyrogram/raw/base/account/chat_themes.py +67 -0
- pyrogram/raw/base/account/connected_bots.py +66 -0
- pyrogram/raw/base/account/content_settings.py +66 -0
- pyrogram/raw/base/account/email_verified.py +67 -0
- pyrogram/raw/base/account/emoji_statuses.py +70 -0
- pyrogram/raw/base/account/paid_messages_revenue.py +66 -0
- pyrogram/raw/base/account/passkey_registration_options.py +66 -0
- pyrogram/raw/base/account/passkeys.py +66 -0
- pyrogram/raw/base/account/password.py +66 -0
- pyrogram/raw/base/account/password_input_settings.py +56 -0
- pyrogram/raw/base/account/password_settings.py +66 -0
- pyrogram/raw/base/account/privacy_rules.py +67 -0
- pyrogram/raw/base/account/reset_password_result.py +68 -0
- pyrogram/raw/base/account/resolved_business_chat_links.py +66 -0
- pyrogram/raw/base/account/saved_music_ids.py +67 -0
- pyrogram/raw/base/account/saved_ringtone.py +67 -0
- pyrogram/raw/base/account/saved_ringtones.py +67 -0
- pyrogram/raw/base/account/sent_email_code.py +66 -0
- pyrogram/raw/base/account/takeout.py +66 -0
- pyrogram/raw/base/account/themes.py +68 -0
- pyrogram/raw/base/account/tmp_password.py +66 -0
- pyrogram/raw/base/account/wall_papers.py +67 -0
- pyrogram/raw/base/account/web_authorizations.py +66 -0
- pyrogram/raw/base/account/web_browser_settings.py +69 -0
- pyrogram/raw/base/account_days_ttl.py +66 -0
- pyrogram/raw/base/ai_compose_tone.py +68 -0
- pyrogram/raw/base/ai_compose_tone_example.py +66 -0
- pyrogram/raw/base/aicompose/__init__.py +25 -0
- pyrogram/raw/base/aicompose/tones.py +68 -0
- pyrogram/raw/base/attach_menu_bot.py +56 -0
- pyrogram/raw/base/attach_menu_bot_icon.py +56 -0
- pyrogram/raw/base/attach_menu_bot_icon_color.py +56 -0
- pyrogram/raw/base/attach_menu_bots.py +67 -0
- pyrogram/raw/base/attach_menu_bots_bot.py +66 -0
- pyrogram/raw/base/attach_menu_peer_type.py +60 -0
- pyrogram/raw/base/auction_bid_level.py +56 -0
- pyrogram/raw/base/auth/__init__.py +33 -0
- pyrogram/raw/base/auth/authorization.py +74 -0
- pyrogram/raw/base/auth/code_type.py +60 -0
- pyrogram/raw/base/auth/exported_authorization.py +66 -0
- pyrogram/raw/base/auth/logged_out.py +66 -0
- pyrogram/raw/base/auth/login_token.py +69 -0
- pyrogram/raw/base/auth/passkey_login_options.py +66 -0
- pyrogram/raw/base/auth/password_recovery.py +66 -0
- pyrogram/raw/base/auth/sent_code.py +74 -0
- pyrogram/raw/base/auth/sent_code_type.py +66 -0
- pyrogram/raw/base/authorization.py +66 -0
- pyrogram/raw/base/auto_download_settings.py +56 -0
- pyrogram/raw/base/auto_save_exception.py +56 -0
- pyrogram/raw/base/auto_save_settings.py +56 -0
- pyrogram/raw/base/available_effect.py +56 -0
- pyrogram/raw/base/available_reaction.py +56 -0
- pyrogram/raw/base/bad_msg_notification.py +57 -0
- pyrogram/raw/base/bank_card_open_url.py +56 -0
- pyrogram/raw/base/base_theme.py +60 -0
- pyrogram/raw/base/bind_auth_key_inner.py +56 -0
- pyrogram/raw/base/birthday.py +56 -0
- pyrogram/raw/base/boost.py +56 -0
- pyrogram/raw/base/bot_app.py +57 -0
- pyrogram/raw/base/bot_app_settings.py +56 -0
- pyrogram/raw/base/bot_business_connection.py +56 -0
- pyrogram/raw/base/bot_command.py +66 -0
- pyrogram/raw/base/bot_command_scope.py +62 -0
- pyrogram/raw/base/bot_info.py +56 -0
- pyrogram/raw/base/bot_inline_message.py +63 -0
- pyrogram/raw/base/bot_inline_result.py +57 -0
- pyrogram/raw/base/bot_menu_button.py +68 -0
- pyrogram/raw/base/bot_preview_media.py +68 -0
- pyrogram/raw/base/bot_verification.py +56 -0
- pyrogram/raw/base/bot_verifier_settings.py +56 -0
- pyrogram/raw/base/bots/__init__.py +30 -0
- pyrogram/raw/base/bots/access_settings.py +66 -0
- pyrogram/raw/base/bots/bot_info.py +66 -0
- pyrogram/raw/base/bots/exported_bot_token.py +66 -0
- pyrogram/raw/base/bots/popular_app_bots.py +66 -0
- pyrogram/raw/base/bots/preview_info.py +66 -0
- pyrogram/raw/base/bots/requested_button.py +66 -0
- pyrogram/raw/base/business_away_message.py +56 -0
- pyrogram/raw/base/business_away_message_schedule.py +58 -0
- pyrogram/raw/base/business_bot_recipients.py +56 -0
- pyrogram/raw/base/business_bot_rights.py +56 -0
- pyrogram/raw/base/business_chat_link.py +67 -0
- pyrogram/raw/base/business_greeting_message.py +56 -0
- pyrogram/raw/base/business_intro.py +56 -0
- pyrogram/raw/base/business_location.py +56 -0
- pyrogram/raw/base/business_recipients.py +56 -0
- pyrogram/raw/base/business_weekly_open.py +56 -0
- pyrogram/raw/base/business_work_hours.py +56 -0
- pyrogram/raw/base/cdn_config.py +66 -0
- pyrogram/raw/base/cdn_public_key.py +56 -0
- pyrogram/raw/base/channel_admin_log_event.py +56 -0
- pyrogram/raw/base/channel_admin_log_event_action.py +107 -0
- pyrogram/raw/base/channel_admin_log_events_filter.py +56 -0
- pyrogram/raw/base/channel_location.py +57 -0
- pyrogram/raw/base/channel_messages_filter.py +57 -0
- pyrogram/raw/base/channel_participant.py +61 -0
- pyrogram/raw/base/channel_participants_filter.py +63 -0
- pyrogram/raw/base/channels/__init__.py +29 -0
- pyrogram/raw/base/channels/admin_log_results.py +66 -0
- pyrogram/raw/base/channels/channel_participant.py +66 -0
- pyrogram/raw/base/channels/channel_participants.py +67 -0
- pyrogram/raw/base/channels/send_as_peers.py +66 -0
- pyrogram/raw/base/channels/sponsored_message_report_result.py +68 -0
- pyrogram/raw/base/chat.py +60 -0
- pyrogram/raw/base/chat_admin_rights.py +56 -0
- pyrogram/raw/base/chat_admin_with_invites.py +56 -0
- pyrogram/raw/base/chat_banned_rights.py +56 -0
- pyrogram/raw/base/chat_full.py +57 -0
- pyrogram/raw/base/chat_invite.py +68 -0
- pyrogram/raw/base/chat_invite_importer.py +56 -0
- pyrogram/raw/base/chat_onlines.py +66 -0
- pyrogram/raw/base/chat_participant.py +58 -0
- pyrogram/raw/base/chat_participants.py +57 -0
- pyrogram/raw/base/chat_photo.py +57 -0
- pyrogram/raw/base/chat_reactions.py +58 -0
- pyrogram/raw/base/chat_theme.py +57 -0
- pyrogram/raw/base/chatlists/__init__.py +28 -0
- pyrogram/raw/base/chatlists/chatlist_invite.py +67 -0
- pyrogram/raw/base/chatlists/chatlist_updates.py +66 -0
- pyrogram/raw/base/chatlists/exported_chatlist_invite.py +66 -0
- pyrogram/raw/base/chatlists/exported_invites.py +66 -0
- pyrogram/raw/base/client_dh_inner_data.py +56 -0
- pyrogram/raw/base/code_settings.py +56 -0
- pyrogram/raw/base/config.py +66 -0
- pyrogram/raw/base/connected_bot.py +56 -0
- pyrogram/raw/base/connected_bot_star_ref.py +56 -0
- pyrogram/raw/base/contact.py +56 -0
- pyrogram/raw/base/contact_birthday.py +56 -0
- pyrogram/raw/base/contact_status.py +66 -0
- pyrogram/raw/base/contacts/__init__.py +32 -0
- pyrogram/raw/base/contacts/blocked.py +67 -0
- pyrogram/raw/base/contacts/contact_birthdays.py +66 -0
- pyrogram/raw/base/contacts/contacts.py +67 -0
- pyrogram/raw/base/contacts/found.py +66 -0
- pyrogram/raw/base/contacts/imported_contacts.py +66 -0
- pyrogram/raw/base/contacts/resolved_peer.py +67 -0
- pyrogram/raw/base/contacts/sponsored_peers.py +67 -0
- pyrogram/raw/base/contacts/top_peers.py +68 -0
- pyrogram/raw/base/data_json.py +68 -0
- pyrogram/raw/base/dc_option.py +56 -0
- pyrogram/raw/base/default_history_ttl.py +66 -0
- pyrogram/raw/base/destroy_auth_key_res.py +68 -0
- pyrogram/raw/base/destroy_session_res.py +67 -0
- pyrogram/raw/base/dialog.py +57 -0
- pyrogram/raw/base/dialog_filter.py +58 -0
- pyrogram/raw/base/dialog_filter_suggested.py +66 -0
- pyrogram/raw/base/dialog_peer.py +67 -0
- pyrogram/raw/base/disallowed_gifts_settings.py +56 -0
- pyrogram/raw/base/document.py +70 -0
- pyrogram/raw/base/document_attribute.py +63 -0
- pyrogram/raw/base/draft_message.py +57 -0
- pyrogram/raw/base/email_verification.py +58 -0
- pyrogram/raw/base/email_verify_purpose.py +58 -0
- pyrogram/raw/base/emoji_group.py +58 -0
- pyrogram/raw/base/emoji_keyword.py +57 -0
- pyrogram/raw/base/emoji_keywords_difference.py +67 -0
- pyrogram/raw/base/emoji_language.py +66 -0
- pyrogram/raw/base/emoji_list.py +71 -0
- pyrogram/raw/base/emoji_status.py +59 -0
- pyrogram/raw/base/emoji_url.py +66 -0
- pyrogram/raw/base/encrypted_chat.py +71 -0
- pyrogram/raw/base/encrypted_file.py +67 -0
- pyrogram/raw/base/encrypted_message.py +57 -0
- pyrogram/raw/base/exported_chat_invite.py +67 -0
- pyrogram/raw/base/exported_chatlist_invite.py +66 -0
- pyrogram/raw/base/exported_contact_token.py +66 -0
- pyrogram/raw/base/exported_message_link.py +66 -0
- pyrogram/raw/base/exported_story_link.py +66 -0
- pyrogram/raw/base/fact_check.py +66 -0
- pyrogram/raw/base/file_hash.py +68 -0
- pyrogram/raw/base/folder.py +56 -0
- pyrogram/raw/base/folder_peer.py +56 -0
- pyrogram/raw/base/forum_topic.py +57 -0
- pyrogram/raw/base/found_story.py +56 -0
- pyrogram/raw/base/fragment/__init__.py +25 -0
- pyrogram/raw/base/fragment/collectible_info.py +66 -0
- pyrogram/raw/base/game.py +56 -0
- pyrogram/raw/base/geo_point.py +57 -0
- pyrogram/raw/base/geo_point_address.py +56 -0
- pyrogram/raw/base/global_privacy_settings.py +67 -0
- pyrogram/raw/base/group_call.py +57 -0
- pyrogram/raw/base/group_call_donor.py +56 -0
- pyrogram/raw/base/group_call_message.py +56 -0
- pyrogram/raw/base/group_call_participant.py +56 -0
- pyrogram/raw/base/group_call_participant_video.py +56 -0
- pyrogram/raw/base/group_call_participant_video_source_group.py +56 -0
- pyrogram/raw/base/group_call_stream_channel.py +56 -0
- pyrogram/raw/base/help/__init__.py +45 -0
- pyrogram/raw/base/help/app_config.py +67 -0
- pyrogram/raw/base/help/app_update.py +67 -0
- pyrogram/raw/base/help/config_simple.py +56 -0
- pyrogram/raw/base/help/countries_list.py +67 -0
- pyrogram/raw/base/help/country.py +56 -0
- pyrogram/raw/base/help/country_code.py +56 -0
- pyrogram/raw/base/help/deep_link_info.py +67 -0
- pyrogram/raw/base/help/invite_text.py +66 -0
- pyrogram/raw/base/help/passport_config.py +67 -0
- pyrogram/raw/base/help/peer_color_option.py +56 -0
- pyrogram/raw/base/help/peer_color_set.py +57 -0
- pyrogram/raw/base/help/peer_colors.py +68 -0
- pyrogram/raw/base/help/premium_promo.py +66 -0
- pyrogram/raw/base/help/promo_data.py +67 -0
- pyrogram/raw/base/help/recent_me_urls.py +66 -0
- pyrogram/raw/base/help/support.py +66 -0
- pyrogram/raw/base/help/support_name.py +66 -0
- pyrogram/raw/base/help/terms_of_service.py +56 -0
- pyrogram/raw/base/help/terms_of_service_update.py +67 -0
- pyrogram/raw/base/help/timezones_list.py +67 -0
- pyrogram/raw/base/help/user_info.py +68 -0
- pyrogram/raw/base/high_score.py +56 -0
- pyrogram/raw/base/http_wait.py +56 -0
- pyrogram/raw/base/imported_contact.py +56 -0
- pyrogram/raw/base/inline_bot_switch_pm.py +56 -0
- pyrogram/raw/base/inline_bot_web_view.py +56 -0
- pyrogram/raw/base/inline_query_peer_type.py +61 -0
- pyrogram/raw/base/input_ai_compose_tone.py +58 -0
- pyrogram/raw/base/input_app_event.py +56 -0
- pyrogram/raw/base/input_bot_app.py +57 -0
- pyrogram/raw/base/input_bot_inline_message.py +64 -0
- pyrogram/raw/base/input_bot_inline_message_id.py +67 -0
- pyrogram/raw/base/input_bot_inline_result.py +59 -0
- pyrogram/raw/base/input_business_away_message.py +56 -0
- pyrogram/raw/base/input_business_bot_recipients.py +56 -0
- pyrogram/raw/base/input_business_chat_link.py +56 -0
- pyrogram/raw/base/input_business_greeting_message.py +56 -0
- pyrogram/raw/base/input_business_intro.py +56 -0
- pyrogram/raw/base/input_business_recipients.py +56 -0
- pyrogram/raw/base/input_channel.py +58 -0
- pyrogram/raw/base/input_chat_photo.py +58 -0
- pyrogram/raw/base/input_chat_theme.py +58 -0
- pyrogram/raw/base/input_chatlist.py +56 -0
- pyrogram/raw/base/input_check_password_srp.py +57 -0
- pyrogram/raw/base/input_client_proxy.py +56 -0
- pyrogram/raw/base/input_collectible.py +57 -0
- pyrogram/raw/base/input_contact.py +56 -0
- pyrogram/raw/base/input_dialog_peer.py +57 -0
- pyrogram/raw/base/input_document.py +57 -0
- pyrogram/raw/base/input_encrypted_chat.py +56 -0
- pyrogram/raw/base/input_encrypted_file.py +59 -0
- pyrogram/raw/base/input_file.py +58 -0
- pyrogram/raw/base/input_file_location.py +65 -0
- pyrogram/raw/base/input_folder_peer.py +56 -0
- pyrogram/raw/base/input_game.py +57 -0
- pyrogram/raw/base/input_geo_point.py +57 -0
- pyrogram/raw/base/input_group_call.py +58 -0
- pyrogram/raw/base/input_invoice.py +70 -0
- pyrogram/raw/base/input_media.py +75 -0
- pyrogram/raw/base/input_message.py +59 -0
- pyrogram/raw/base/input_message_read_metric.py +56 -0
- pyrogram/raw/base/input_notify_peer.py +60 -0
- pyrogram/raw/base/input_passkey_credential.py +57 -0
- pyrogram/raw/base/input_passkey_response.py +57 -0
- pyrogram/raw/base/input_payment_credentials.py +59 -0
- pyrogram/raw/base/input_peer.py +62 -0
- pyrogram/raw/base/input_peer_notify_settings.py +56 -0
- pyrogram/raw/base/input_phone_call.py +56 -0
- pyrogram/raw/base/input_photo.py +57 -0
- pyrogram/raw/base/input_privacy_key.py +69 -0
- pyrogram/raw/base/input_privacy_rule.py +67 -0
- pyrogram/raw/base/input_quick_reply_shortcut.py +57 -0
- pyrogram/raw/base/input_reply_to.py +58 -0
- pyrogram/raw/base/input_rich_file.py +57 -0
- pyrogram/raw/base/input_rich_message.py +58 -0
- pyrogram/raw/base/input_saved_star_gift.py +58 -0
- pyrogram/raw/base/input_secure_file.py +57 -0
- pyrogram/raw/base/input_secure_value.py +56 -0
- pyrogram/raw/base/input_single_media.py +56 -0
- pyrogram/raw/base/input_star_gift_auction.py +57 -0
- pyrogram/raw/base/input_stars_transaction.py +56 -0
- pyrogram/raw/base/input_sticker_set.py +67 -0
- pyrogram/raw/base/input_sticker_set_item.py +56 -0
- pyrogram/raw/base/input_stickered_media.py +57 -0
- pyrogram/raw/base/input_store_payment_purpose.py +63 -0
- pyrogram/raw/base/input_theme.py +57 -0
- pyrogram/raw/base/input_theme_settings.py +56 -0
- pyrogram/raw/base/input_user.py +59 -0
- pyrogram/raw/base/input_wall_paper.py +58 -0
- pyrogram/raw/base/input_web_document.py +56 -0
- pyrogram/raw/base/input_web_file_location.py +58 -0
- pyrogram/raw/base/invoice.py +56 -0
- pyrogram/raw/base/ip_port.py +57 -0
- pyrogram/raw/base/join_chat_bot_result.py +59 -0
- pyrogram/raw/base/json_object_value.py +56 -0
- pyrogram/raw/base/json_value.py +61 -0
- pyrogram/raw/base/keyboard_button.py +83 -0
- pyrogram/raw/base/keyboard_button_row.py +56 -0
- pyrogram/raw/base/keyboard_button_style.py +56 -0
- pyrogram/raw/base/labeled_price.py +56 -0
- pyrogram/raw/base/lang_pack_difference.py +67 -0
- pyrogram/raw/base/lang_pack_language.py +67 -0
- pyrogram/raw/base/lang_pack_string.py +68 -0
- pyrogram/raw/base/mask_coords.py +56 -0
- pyrogram/raw/base/media_area.py +64 -0
- pyrogram/raw/base/media_area_coordinates.py +56 -0
- pyrogram/raw/base/message.py +58 -0
- pyrogram/raw/base/message_action.py +122 -0
- pyrogram/raw/base/message_entity.py +80 -0
- pyrogram/raw/base/message_extended_media.py +57 -0
- pyrogram/raw/base/message_fwd_header.py +56 -0
- pyrogram/raw/base/message_media.py +85 -0
- pyrogram/raw/base/message_peer_reaction.py +56 -0
- pyrogram/raw/base/message_peer_vote.py +58 -0
- pyrogram/raw/base/message_range.py +66 -0
- pyrogram/raw/base/message_reactions.py +56 -0
- pyrogram/raw/base/message_reactor.py +56 -0
- pyrogram/raw/base/message_replies.py +56 -0
- pyrogram/raw/base/message_reply_header.py +57 -0
- pyrogram/raw/base/message_report_option.py +56 -0
- pyrogram/raw/base/message_views.py +56 -0
- pyrogram/raw/base/messages/__init__.py +88 -0
- pyrogram/raw/base/messages/affected_found_messages.py +66 -0
- pyrogram/raw/base/messages/affected_history.py +73 -0
- pyrogram/raw/base/messages/affected_messages.py +69 -0
- pyrogram/raw/base/messages/all_stickers.py +69 -0
- pyrogram/raw/base/messages/archived_stickers.py +66 -0
- pyrogram/raw/base/messages/available_effects.py +67 -0
- pyrogram/raw/base/messages/available_reactions.py +67 -0
- pyrogram/raw/base/messages/bot_app.py +66 -0
- pyrogram/raw/base/messages/bot_callback_answer.py +66 -0
- pyrogram/raw/base/messages/bot_prepared_inline_message.py +66 -0
- pyrogram/raw/base/messages/bot_results.py +66 -0
- pyrogram/raw/base/messages/chat_admins_with_invites.py +66 -0
- pyrogram/raw/base/messages/chat_full.py +67 -0
- pyrogram/raw/base/messages/chat_invite_importers.py +66 -0
- pyrogram/raw/base/messages/chat_invite_join_result.py +68 -0
- pyrogram/raw/base/messages/chats.py +74 -0
- pyrogram/raw/base/messages/checked_history_import_peer.py +66 -0
- pyrogram/raw/base/messages/composed_message_with_ai.py +66 -0
- pyrogram/raw/base/messages/dh_config.py +67 -0
- pyrogram/raw/base/messages/dialog_filters.py +66 -0
- pyrogram/raw/base/messages/dialogs.py +68 -0
- pyrogram/raw/base/messages/discussion_message.py +66 -0
- pyrogram/raw/base/messages/emoji_game_info.py +67 -0
- pyrogram/raw/base/messages/emoji_game_outcome.py +56 -0
- pyrogram/raw/base/messages/emoji_groups.py +70 -0
- pyrogram/raw/base/messages/exported_chat_invite.py +68 -0
- pyrogram/raw/base/messages/exported_chat_invites.py +66 -0
- pyrogram/raw/base/messages/faved_stickers.py +67 -0
- pyrogram/raw/base/messages/featured_stickers.py +69 -0
- pyrogram/raw/base/messages/forum_topics.py +67 -0
- pyrogram/raw/base/messages/found_sticker_sets.py +68 -0
- pyrogram/raw/base/messages/found_stickers.py +67 -0
- pyrogram/raw/base/messages/high_scores.py +67 -0
- pyrogram/raw/base/messages/history_import.py +66 -0
- pyrogram/raw/base/messages/history_import_parsed.py +66 -0
- pyrogram/raw/base/messages/inactive_chats.py +66 -0
- pyrogram/raw/base/messages/invited_users.py +68 -0
- pyrogram/raw/base/messages/message_edit_data.py +66 -0
- pyrogram/raw/base/messages/message_reactions_list.py +66 -0
- pyrogram/raw/base/messages/message_views.py +66 -0
- pyrogram/raw/base/messages/messages.py +86 -0
- pyrogram/raw/base/messages/my_stickers.py +66 -0
- pyrogram/raw/base/messages/peer_dialogs.py +67 -0
- pyrogram/raw/base/messages/peer_settings.py +66 -0
- pyrogram/raw/base/messages/prepared_inline_message.py +66 -0
- pyrogram/raw/base/messages/quick_replies.py +67 -0
- pyrogram/raw/base/messages/reactions.py +69 -0
- pyrogram/raw/base/messages/recent_stickers.py +67 -0
- pyrogram/raw/base/messages/saved_dialogs.py +70 -0
- pyrogram/raw/base/messages/saved_gifs.py +67 -0
- pyrogram/raw/base/messages/saved_reaction_tags.py +67 -0
- pyrogram/raw/base/messages/search_counter.py +66 -0
- pyrogram/raw/base/messages/search_results_calendar.py +66 -0
- pyrogram/raw/base/messages/search_results_positions.py +66 -0
- pyrogram/raw/base/messages/sent_encrypted_message.py +69 -0
- pyrogram/raw/base/messages/sponsored_messages.py +67 -0
- pyrogram/raw/base/messages/sticker_set.py +75 -0
- pyrogram/raw/base/messages/sticker_set_install_result.py +67 -0
- pyrogram/raw/base/messages/stickers.py +67 -0
- pyrogram/raw/base/messages/transcribed_audio.py +66 -0
- pyrogram/raw/base/messages/translated_text.py +66 -0
- pyrogram/raw/base/messages/votes_list.py +66 -0
- pyrogram/raw/base/messages/web_page.py +66 -0
- pyrogram/raw/base/messages/web_page_preview.py +66 -0
- pyrogram/raw/base/messages_filter.py +73 -0
- pyrogram/raw/base/missing_invitee.py +56 -0
- pyrogram/raw/base/msg_detailed_info.py +57 -0
- pyrogram/raw/base/msg_resend_req.py +57 -0
- pyrogram/raw/base/msgs_ack.py +56 -0
- pyrogram/raw/base/msgs_all_info.py +56 -0
- pyrogram/raw/base/msgs_state_info.py +56 -0
- pyrogram/raw/base/msgs_state_req.py +56 -0
- pyrogram/raw/base/my_boost.py +56 -0
- pyrogram/raw/base/nearest_dc.py +66 -0
- pyrogram/raw/base/new_session.py +56 -0
- pyrogram/raw/base/notification_sound.py +59 -0
- pyrogram/raw/base/notify_peer.py +60 -0
- pyrogram/raw/base/outbox_read_date.py +66 -0
- pyrogram/raw/base/page.py +56 -0
- pyrogram/raw/base/page_block.py +94 -0
- pyrogram/raw/base/page_caption.py +56 -0
- pyrogram/raw/base/page_list_item.py +57 -0
- pyrogram/raw/base/page_list_ordered_item.py +57 -0
- pyrogram/raw/base/page_related_article.py +56 -0
- pyrogram/raw/base/page_table_cell.py +56 -0
- pyrogram/raw/base/page_table_row.py +56 -0
- pyrogram/raw/base/paid_reaction_privacy.py +58 -0
- pyrogram/raw/base/passkey.py +66 -0
- pyrogram/raw/base/password_kdf_algo.py +57 -0
- pyrogram/raw/base/payment_charge.py +56 -0
- pyrogram/raw/base/payment_form_method.py +56 -0
- pyrogram/raw/base/payment_requested_info.py +56 -0
- pyrogram/raw/base/payment_saved_credentials.py +56 -0
- pyrogram/raw/base/payments/__init__.py +52 -0
- pyrogram/raw/base/payments/bank_card_data.py +66 -0
- pyrogram/raw/base/payments/check_can_send_gift_result.py +67 -0
- pyrogram/raw/base/payments/checked_gift_code.py +66 -0
- pyrogram/raw/base/payments/connected_star_ref_bots.py +69 -0
- pyrogram/raw/base/payments/exported_invoice.py +66 -0
- pyrogram/raw/base/payments/giveaway_info.py +67 -0
- pyrogram/raw/base/payments/payment_form.py +68 -0
- pyrogram/raw/base/payments/payment_receipt.py +67 -0
- pyrogram/raw/base/payments/payment_result.py +68 -0
- pyrogram/raw/base/payments/resale_star_gifts.py +66 -0
- pyrogram/raw/base/payments/saved_info.py +66 -0
- pyrogram/raw/base/payments/saved_star_gifts.py +68 -0
- pyrogram/raw/base/payments/star_gift_active_auctions.py +67 -0
- pyrogram/raw/base/payments/star_gift_auction_acquired_gifts.py +66 -0
- pyrogram/raw/base/payments/star_gift_auction_state.py +66 -0
- pyrogram/raw/base/payments/star_gift_collections.py +67 -0
- pyrogram/raw/base/payments/star_gift_upgrade_attributes.py +66 -0
- pyrogram/raw/base/payments/star_gift_upgrade_preview.py +66 -0
- pyrogram/raw/base/payments/star_gift_withdrawal_url.py +66 -0
- pyrogram/raw/base/payments/star_gifts.py +67 -0
- pyrogram/raw/base/payments/stars_revenue_ads_account_url.py +66 -0
- pyrogram/raw/base/payments/stars_revenue_stats.py +66 -0
- pyrogram/raw/base/payments/stars_revenue_withdrawal_url.py +66 -0
- pyrogram/raw/base/payments/stars_status.py +69 -0
- pyrogram/raw/base/payments/suggested_star_ref_bots.py +66 -0
- pyrogram/raw/base/payments/unique_star_gift.py +66 -0
- pyrogram/raw/base/payments/unique_star_gift_value_info.py +66 -0
- pyrogram/raw/base/payments/validated_requested_info.py +66 -0
- pyrogram/raw/base/peer.py +68 -0
- pyrogram/raw/base/peer_blocked.py +56 -0
- pyrogram/raw/base/peer_color.py +58 -0
- pyrogram/raw/base/peer_located.py +57 -0
- pyrogram/raw/base/peer_notify_settings.py +66 -0
- pyrogram/raw/base/peer_settings.py +56 -0
- pyrogram/raw/base/peer_stories.py +56 -0
- pyrogram/raw/base/pending_suggestion.py +56 -0
- pyrogram/raw/base/phone/__init__.py +32 -0
- pyrogram/raw/base/phone/exported_group_call_invite.py +66 -0
- pyrogram/raw/base/phone/group_call.py +66 -0
- pyrogram/raw/base/phone/group_call_stars.py +66 -0
- pyrogram/raw/base/phone/group_call_stream_channels.py +66 -0
- pyrogram/raw/base/phone/group_call_stream_rtmp_url.py +66 -0
- pyrogram/raw/base/phone/group_participants.py +66 -0
- pyrogram/raw/base/phone/join_as_peers.py +66 -0
- pyrogram/raw/base/phone/phone_call.py +68 -0
- pyrogram/raw/base/phone_call.py +61 -0
- pyrogram/raw/base/phone_call_discard_reason.py +60 -0
- pyrogram/raw/base/phone_call_protocol.py +56 -0
- pyrogram/raw/base/phone_connection.py +57 -0
- pyrogram/raw/base/photo.py +57 -0
- pyrogram/raw/base/photo_size.py +61 -0
- pyrogram/raw/base/photos/__init__.py +26 -0
- pyrogram/raw/base/photos/photo.py +68 -0
- pyrogram/raw/base/photos/photos.py +67 -0
- pyrogram/raw/base/poll.py +56 -0
- pyrogram/raw/base/poll_answer.py +57 -0
- pyrogram/raw/base/poll_answer_voters.py +56 -0
- pyrogram/raw/base/poll_results.py +56 -0
- pyrogram/raw/base/pong.py +67 -0
- pyrogram/raw/base/popular_contact.py +56 -0
- pyrogram/raw/base/post_address.py +56 -0
- pyrogram/raw/base/post_interaction_counters.py +57 -0
- pyrogram/raw/base/pq_inner_data.py +59 -0
- pyrogram/raw/base/premium/__init__.py +27 -0
- pyrogram/raw/base/premium/boosts_list.py +67 -0
- pyrogram/raw/base/premium/boosts_status.py +66 -0
- pyrogram/raw/base/premium/my_boosts.py +67 -0
- pyrogram/raw/base/premium_gift_code_option.py +66 -0
- pyrogram/raw/base/premium_subscription_option.py +56 -0
- pyrogram/raw/base/prepaid_giveaway.py +57 -0
- pyrogram/raw/base/privacy_key.py +69 -0
- pyrogram/raw/base/privacy_rule.py +67 -0
- pyrogram/raw/base/profile_tab.py +63 -0
- pyrogram/raw/base/public_forward.py +57 -0
- pyrogram/raw/base/quick_reply.py +56 -0
- pyrogram/raw/base/reaction.py +59 -0
- pyrogram/raw/base/reaction_count.py +56 -0
- pyrogram/raw/base/reaction_notifications_from.py +57 -0
- pyrogram/raw/base/reactions_notify_settings.py +67 -0
- pyrogram/raw/base/read_participant_date.py +66 -0
- pyrogram/raw/base/received_notify_message.py +66 -0
- pyrogram/raw/base/recent_me_url.py +60 -0
- pyrogram/raw/base/recent_story.py +66 -0
- pyrogram/raw/base/reply_markup.py +59 -0
- pyrogram/raw/base/report_reason.py +65 -0
- pyrogram/raw/base/report_result.py +69 -0
- pyrogram/raw/base/request_peer_type.py +59 -0
- pyrogram/raw/base/requested_peer.py +58 -0
- pyrogram/raw/base/requirement_to_contact.py +68 -0
- pyrogram/raw/base/res_pq.py +67 -0
- pyrogram/raw/base/restriction_reason.py +56 -0
- pyrogram/raw/base/rich_message.py +56 -0
- pyrogram/raw/base/rich_text.py +84 -0
- pyrogram/raw/base/rpc_drop_answer.py +68 -0
- pyrogram/raw/base/rpc_error.py +56 -0
- pyrogram/raw/base/rpc_result.py +56 -0
- pyrogram/raw/base/saved_contact.py +66 -0
- pyrogram/raw/base/saved_dialog.py +57 -0
- pyrogram/raw/base/saved_reaction_tag.py +56 -0
- pyrogram/raw/base/saved_star_gift.py +56 -0
- pyrogram/raw/base/search_posts_flood.py +66 -0
- pyrogram/raw/base/search_results_calendar_period.py +56 -0
- pyrogram/raw/base/search_results_position.py +56 -0
- pyrogram/raw/base/secure_credentials_encrypted.py +56 -0
- pyrogram/raw/base/secure_data.py +56 -0
- pyrogram/raw/base/secure_file.py +57 -0
- pyrogram/raw/base/secure_password_kdf_algo.py +58 -0
- pyrogram/raw/base/secure_plain_data.py +57 -0
- pyrogram/raw/base/secure_required_type.py +57 -0
- pyrogram/raw/base/secure_secret_settings.py +56 -0
- pyrogram/raw/base/secure_value.py +68 -0
- pyrogram/raw/base/secure_value_error.py +64 -0
- pyrogram/raw/base/secure_value_hash.py +56 -0
- pyrogram/raw/base/secure_value_type.py +68 -0
- pyrogram/raw/base/send_as_peer.py +56 -0
- pyrogram/raw/base/send_message_action.py +76 -0
- pyrogram/raw/base/server_dh_inner_data.py +56 -0
- pyrogram/raw/base/server_dh_params.py +67 -0
- pyrogram/raw/base/set_client_dh_params_answer.py +68 -0
- pyrogram/raw/base/shipping_option.py +56 -0
- pyrogram/raw/base/sms_job.py +66 -0
- pyrogram/raw/base/smsjobs/__init__.py +26 -0
- pyrogram/raw/base/smsjobs/eligibility_to_join.py +66 -0
- pyrogram/raw/base/smsjobs/status.py +66 -0
- pyrogram/raw/base/sponsored_message.py +56 -0
- pyrogram/raw/base/sponsored_message_report_option.py +56 -0
- pyrogram/raw/base/sponsored_peer.py +56 -0
- pyrogram/raw/base/star_gift.py +57 -0
- pyrogram/raw/base/star_gift_active_auction_state.py +56 -0
- pyrogram/raw/base/star_gift_attribute.py +59 -0
- pyrogram/raw/base/star_gift_attribute_counter.py +56 -0
- pyrogram/raw/base/star_gift_attribute_id.py +58 -0
- pyrogram/raw/base/star_gift_attribute_rarity.py +60 -0
- pyrogram/raw/base/star_gift_auction_acquired_gift.py +56 -0
- pyrogram/raw/base/star_gift_auction_round.py +57 -0
- pyrogram/raw/base/star_gift_auction_state.py +58 -0
- pyrogram/raw/base/star_gift_auction_user_state.py +56 -0
- pyrogram/raw/base/star_gift_background.py +56 -0
- pyrogram/raw/base/star_gift_collection.py +67 -0
- pyrogram/raw/base/star_gift_upgrade_price.py +56 -0
- pyrogram/raw/base/star_ref_program.py +66 -0
- pyrogram/raw/base/stars_amount.py +57 -0
- pyrogram/raw/base/stars_gift_option.py +66 -0
- pyrogram/raw/base/stars_giveaway_option.py +66 -0
- pyrogram/raw/base/stars_giveaway_winners_option.py +56 -0
- pyrogram/raw/base/stars_rating.py +56 -0
- pyrogram/raw/base/stars_revenue_status.py +56 -0
- pyrogram/raw/base/stars_subscription.py +56 -0
- pyrogram/raw/base/stars_subscription_pricing.py +56 -0
- pyrogram/raw/base/stars_topup_option.py +66 -0
- pyrogram/raw/base/stars_transaction.py +56 -0
- pyrogram/raw/base/stars_transaction_peer.py +63 -0
- pyrogram/raw/base/stats/__init__.py +30 -0
- pyrogram/raw/base/stats/broadcast_stats.py +66 -0
- pyrogram/raw/base/stats/megagroup_stats.py +66 -0
- pyrogram/raw/base/stats/message_stats.py +66 -0
- pyrogram/raw/base/stats/poll_stats.py +66 -0
- pyrogram/raw/base/stats/public_forwards.py +67 -0
- pyrogram/raw/base/stats/story_stats.py +66 -0
- pyrogram/raw/base/stats_abs_value_and_prev.py +56 -0
- pyrogram/raw/base/stats_date_range_days.py +56 -0
- pyrogram/raw/base/stats_graph.py +68 -0
- pyrogram/raw/base/stats_group_top_admin.py +56 -0
- pyrogram/raw/base/stats_group_top_inviter.py +56 -0
- pyrogram/raw/base/stats_group_top_poster.py +56 -0
- pyrogram/raw/base/stats_percent_value.py +56 -0
- pyrogram/raw/base/stats_url.py +56 -0
- pyrogram/raw/base/sticker_keyword.py +56 -0
- pyrogram/raw/base/sticker_pack.py +56 -0
- pyrogram/raw/base/sticker_set.py +56 -0
- pyrogram/raw/base/sticker_set_covered.py +69 -0
- pyrogram/raw/base/stickers/__init__.py +25 -0
- pyrogram/raw/base/stickers/suggested_short_name.py +66 -0
- pyrogram/raw/base/storage/__init__.py +25 -0
- pyrogram/raw/base/storage/file_type.py +65 -0
- pyrogram/raw/base/stories/__init__.py +33 -0
- pyrogram/raw/base/stories/albums.py +67 -0
- pyrogram/raw/base/stories/all_stories.py +67 -0
- pyrogram/raw/base/stories/can_send_story_count.py +66 -0
- pyrogram/raw/base/stories/found_stories.py +66 -0
- pyrogram/raw/base/stories/peer_stories.py +66 -0
- pyrogram/raw/base/stories/stories.py +69 -0
- pyrogram/raw/base/stories/story_reactions_list.py +66 -0
- pyrogram/raw/base/stories/story_views.py +66 -0
- pyrogram/raw/base/stories/story_views_list.py +66 -0
- pyrogram/raw/base/stories_stealth_mode.py +56 -0
- pyrogram/raw/base/story_album.py +67 -0
- pyrogram/raw/base/story_fwd_header.py +56 -0
- pyrogram/raw/base/story_item.py +58 -0
- pyrogram/raw/base/story_reaction.py +58 -0
- pyrogram/raw/base/story_view.py +58 -0
- pyrogram/raw/base/story_views.py +56 -0
- pyrogram/raw/base/suggested_post.py +56 -0
- pyrogram/raw/base/text_with_entities.py +66 -0
- pyrogram/raw/base/theme.py +68 -0
- pyrogram/raw/base/theme_settings.py +56 -0
- pyrogram/raw/base/timezone.py +56 -0
- pyrogram/raw/base/todo_completion.py +56 -0
- pyrogram/raw/base/todo_item.py +56 -0
- pyrogram/raw/base/todo_list.py +56 -0
- pyrogram/raw/base/top_peer.py +56 -0
- pyrogram/raw/base/top_peer_category.py +65 -0
- pyrogram/raw/base/top_peer_category_peers.py +56 -0
- pyrogram/raw/base/update.py +215 -0
- pyrogram/raw/base/updates/__init__.py +27 -0
- pyrogram/raw/base/updates/channel_difference.py +68 -0
- pyrogram/raw/base/updates/difference.py +69 -0
- pyrogram/raw/base/updates/state.py +66 -0
- pyrogram/raw/base/updates_t.py +201 -0
- pyrogram/raw/base/upload/__init__.py +27 -0
- pyrogram/raw/base/upload/cdn_file.py +67 -0
- pyrogram/raw/base/upload/file.py +67 -0
- pyrogram/raw/base/upload/web_file.py +66 -0
- pyrogram/raw/base/url_auth_result.py +69 -0
- pyrogram/raw/base/user.py +75 -0
- pyrogram/raw/base/user_full.py +56 -0
- pyrogram/raw/base/user_profile_photo.py +57 -0
- pyrogram/raw/base/user_status.py +61 -0
- pyrogram/raw/base/username.py +56 -0
- pyrogram/raw/base/users/__init__.py +27 -0
- pyrogram/raw/base/users/saved_music.py +68 -0
- pyrogram/raw/base/users/user_full.py +66 -0
- pyrogram/raw/base/users/users.py +67 -0
- pyrogram/raw/base/video_size.py +58 -0
- pyrogram/raw/base/wall_paper.py +69 -0
- pyrogram/raw/base/wall_paper_settings.py +56 -0
- pyrogram/raw/base/web_authorization.py +56 -0
- pyrogram/raw/base/web_document.py +57 -0
- pyrogram/raw/base/web_domain_exception.py +56 -0
- pyrogram/raw/base/web_page.py +59 -0
- pyrogram/raw/base/web_page_attribute.py +62 -0
- pyrogram/raw/base/web_view_message_sent.py +66 -0
- pyrogram/raw/base/web_view_result.py +69 -0
- pyrogram/raw/core/__init__.py +32 -0
- pyrogram/raw/core/base_type_meta.py +26 -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 +66 -0
- pyrogram/raw/core/tl_object.py +84 -0
- pyrogram/raw/functions/__init__.py +46 -0
- pyrogram/raw/functions/account/__init__.py +152 -0
- pyrogram/raw/functions/account/accept_authorization.py +106 -0
- pyrogram/raw/functions/account/cancel_password_email.py +69 -0
- pyrogram/raw/functions/account/change_authorization_settings.py +100 -0
- pyrogram/raw/functions/account/change_phone.py +90 -0
- pyrogram/raw/functions/account/check_username.py +74 -0
- pyrogram/raw/functions/account/clear_recent_emoji_statuses.py +69 -0
- pyrogram/raw/functions/account/confirm_bot_connection.py +74 -0
- pyrogram/raw/functions/account/confirm_password_email.py +74 -0
- pyrogram/raw/functions/account/confirm_phone.py +82 -0
- pyrogram/raw/functions/account/create_business_chat_link.py +74 -0
- pyrogram/raw/functions/account/create_theme.py +104 -0
- pyrogram/raw/functions/account/decline_password_reset.py +69 -0
- pyrogram/raw/functions/account/delete_account.py +86 -0
- pyrogram/raw/functions/account/delete_auto_save_exceptions.py +69 -0
- pyrogram/raw/functions/account/delete_business_chat_link.py +74 -0
- pyrogram/raw/functions/account/delete_passkey.py +74 -0
- pyrogram/raw/functions/account/delete_secure_value.py +74 -0
- pyrogram/raw/functions/account/delete_web_browser_settings_exceptions.py +69 -0
- pyrogram/raw/functions/account/disable_peer_connected_bot.py +74 -0
- pyrogram/raw/functions/account/edit_business_chat_link.py +82 -0
- pyrogram/raw/functions/account/finish_takeout_session.py +74 -0
- pyrogram/raw/functions/account/get_account_ttl.py +69 -0
- pyrogram/raw/functions/account/get_all_secure_values.py +69 -0
- pyrogram/raw/functions/account/get_authorization_form.py +90 -0
- pyrogram/raw/functions/account/get_authorizations.py +69 -0
- pyrogram/raw/functions/account/get_auto_download_settings.py +69 -0
- pyrogram/raw/functions/account/get_auto_save_settings.py +69 -0
- pyrogram/raw/functions/account/get_bot_business_connection.py +74 -0
- pyrogram/raw/functions/account/get_business_chat_links.py +69 -0
- pyrogram/raw/functions/account/get_channel_default_emoji_statuses.py +74 -0
- pyrogram/raw/functions/account/get_channel_restricted_status_emojis.py +74 -0
- pyrogram/raw/functions/account/get_chat_themes.py +74 -0
- pyrogram/raw/functions/account/get_collectible_emoji_statuses.py +74 -0
- pyrogram/raw/functions/account/get_connected_bots.py +69 -0
- pyrogram/raw/functions/account/get_contact_sign_up_notification.py +69 -0
- pyrogram/raw/functions/account/get_content_settings.py +69 -0
- pyrogram/raw/functions/account/get_default_background_emojis.py +74 -0
- pyrogram/raw/functions/account/get_default_emoji_statuses.py +74 -0
- pyrogram/raw/functions/account/get_default_group_photo_emojis.py +74 -0
- pyrogram/raw/functions/account/get_default_profile_photo_emojis.py +74 -0
- pyrogram/raw/functions/account/get_global_privacy_settings.py +69 -0
- pyrogram/raw/functions/account/get_multi_wall_papers.py +74 -0
- pyrogram/raw/functions/account/get_notify_exceptions.py +90 -0
- pyrogram/raw/functions/account/get_notify_settings.py +74 -0
- pyrogram/raw/functions/account/get_paid_messages_revenue.py +86 -0
- pyrogram/raw/functions/account/get_passkeys.py +69 -0
- pyrogram/raw/functions/account/get_password.py +69 -0
- pyrogram/raw/functions/account/get_password_settings.py +74 -0
- pyrogram/raw/functions/account/get_privacy.py +74 -0
- pyrogram/raw/functions/account/get_reactions_notify_settings.py +69 -0
- pyrogram/raw/functions/account/get_recent_emoji_statuses.py +74 -0
- pyrogram/raw/functions/account/get_saved_music_ids.py +74 -0
- pyrogram/raw/functions/account/get_saved_ringtones.py +74 -0
- pyrogram/raw/functions/account/get_secure_value.py +74 -0
- pyrogram/raw/functions/account/get_theme.py +82 -0
- pyrogram/raw/functions/account/get_themes.py +82 -0
- pyrogram/raw/functions/account/get_tmp_password.py +82 -0
- pyrogram/raw/functions/account/get_unique_gift_chat_themes.py +90 -0
- pyrogram/raw/functions/account/get_wall_paper.py +74 -0
- pyrogram/raw/functions/account/get_wall_papers.py +74 -0
- pyrogram/raw/functions/account/get_web_authorizations.py +69 -0
- pyrogram/raw/functions/account/get_web_browser_settings.py +74 -0
- pyrogram/raw/functions/account/init_passkey_registration.py +69 -0
- pyrogram/raw/functions/account/init_takeout_session.py +113 -0
- pyrogram/raw/functions/account/install_theme.py +103 -0
- pyrogram/raw/functions/account/install_wall_paper.py +82 -0
- pyrogram/raw/functions/account/invalidate_sign_in_codes.py +74 -0
- pyrogram/raw/functions/account/register_device.py +114 -0
- pyrogram/raw/functions/account/register_passkey.py +74 -0
- pyrogram/raw/functions/account/reorder_usernames.py +74 -0
- pyrogram/raw/functions/account/report_peer.py +90 -0
- pyrogram/raw/functions/account/report_profile_photo.py +98 -0
- pyrogram/raw/functions/account/resend_password_email.py +69 -0
- pyrogram/raw/functions/account/reset_authorization.py +74 -0
- pyrogram/raw/functions/account/reset_notify_settings.py +69 -0
- pyrogram/raw/functions/account/reset_password.py +69 -0
- pyrogram/raw/functions/account/reset_wall_papers.py +69 -0
- pyrogram/raw/functions/account/reset_web_authorization.py +74 -0
- pyrogram/raw/functions/account/reset_web_authorizations.py +69 -0
- pyrogram/raw/functions/account/resolve_business_chat_link.py +74 -0
- pyrogram/raw/functions/account/save_auto_download_settings.py +88 -0
- pyrogram/raw/functions/account/save_auto_save_settings.py +104 -0
- pyrogram/raw/functions/account/save_music.py +92 -0
- pyrogram/raw/functions/account/save_ringtone.py +82 -0
- pyrogram/raw/functions/account/save_secure_value.py +82 -0
- pyrogram/raw/functions/account/save_theme.py +82 -0
- pyrogram/raw/functions/account/save_wall_paper.py +90 -0
- pyrogram/raw/functions/account/send_change_phone_code.py +82 -0
- pyrogram/raw/functions/account/send_confirm_phone_code.py +82 -0
- pyrogram/raw/functions/account/send_verify_email_code.py +82 -0
- pyrogram/raw/functions/account/send_verify_phone_code.py +82 -0
- pyrogram/raw/functions/account/set_account_ttl.py +74 -0
- pyrogram/raw/functions/account/set_authorization_ttl.py +74 -0
- pyrogram/raw/functions/account/set_contact_sign_up_notification.py +74 -0
- pyrogram/raw/functions/account/set_content_settings.py +74 -0
- pyrogram/raw/functions/account/set_global_privacy_settings.py +74 -0
- pyrogram/raw/functions/account/set_main_profile_tab.py +74 -0
- pyrogram/raw/functions/account/set_privacy.py +82 -0
- pyrogram/raw/functions/account/set_reactions_notify_settings.py +74 -0
- pyrogram/raw/functions/account/toggle_connected_bot_paused.py +82 -0
- pyrogram/raw/functions/account/toggle_no_paid_messages_exception.py +98 -0
- pyrogram/raw/functions/account/toggle_sponsored_messages.py +74 -0
- pyrogram/raw/functions/account/toggle_username.py +82 -0
- pyrogram/raw/functions/account/toggle_web_browser_settings_exception.py +91 -0
- pyrogram/raw/functions/account/unregister_device.py +90 -0
- pyrogram/raw/functions/account/update_birthday.py +78 -0
- pyrogram/raw/functions/account/update_business_away_message.py +78 -0
- pyrogram/raw/functions/account/update_business_greeting_message.py +78 -0
- pyrogram/raw/functions/account/update_business_intro.py +78 -0
- pyrogram/raw/functions/account/update_business_location.py +87 -0
- pyrogram/raw/functions/account/update_business_work_hours.py +78 -0
- pyrogram/raw/functions/account/update_color.py +84 -0
- pyrogram/raw/functions/account/update_connected_bot.py +100 -0
- pyrogram/raw/functions/account/update_device_locked.py +74 -0
- pyrogram/raw/functions/account/update_emoji_status.py +74 -0
- pyrogram/raw/functions/account/update_notify_settings.py +82 -0
- pyrogram/raw/functions/account/update_password_settings.py +82 -0
- pyrogram/raw/functions/account/update_personal_channel.py +74 -0
- pyrogram/raw/functions/account/update_profile.py +95 -0
- pyrogram/raw/functions/account/update_status.py +74 -0
- pyrogram/raw/functions/account/update_theme.py +122 -0
- pyrogram/raw/functions/account/update_username.py +74 -0
- pyrogram/raw/functions/account/update_web_browser_settings.py +80 -0
- pyrogram/raw/functions/account/upload_ringtone.py +90 -0
- pyrogram/raw/functions/account/upload_theme.py +102 -0
- pyrogram/raw/functions/account/upload_wall_paper.py +98 -0
- pyrogram/raw/functions/account/verify_email.py +82 -0
- pyrogram/raw/functions/account/verify_phone.py +90 -0
- pyrogram/raw/functions/aicompose/__init__.py +31 -0
- pyrogram/raw/functions/aicompose/create_tone.py +98 -0
- pyrogram/raw/functions/aicompose/delete_tone.py +74 -0
- pyrogram/raw/functions/aicompose/get_tone.py +74 -0
- pyrogram/raw/functions/aicompose/get_tone_example.py +82 -0
- pyrogram/raw/functions/aicompose/get_tones.py +74 -0
- pyrogram/raw/functions/aicompose/save_tone.py +82 -0
- pyrogram/raw/functions/aicompose/update_tone.py +112 -0
- pyrogram/raw/functions/auth/__init__.py +50 -0
- pyrogram/raw/functions/auth/accept_login_token.py +74 -0
- pyrogram/raw/functions/auth/bind_temp_auth_key.py +98 -0
- pyrogram/raw/functions/auth/cancel_code.py +82 -0
- pyrogram/raw/functions/auth/check_paid_auth.py +90 -0
- pyrogram/raw/functions/auth/check_password.py +74 -0
- pyrogram/raw/functions/auth/check_recovery_password.py +74 -0
- pyrogram/raw/functions/auth/drop_temp_auth_keys.py +74 -0
- pyrogram/raw/functions/auth/export_authorization.py +74 -0
- pyrogram/raw/functions/auth/export_login_token.py +90 -0
- pyrogram/raw/functions/auth/finish_passkey_login.py +94 -0
- pyrogram/raw/functions/auth/import_authorization.py +82 -0
- pyrogram/raw/functions/auth/import_bot_authorization.py +98 -0
- pyrogram/raw/functions/auth/import_login_token.py +74 -0
- pyrogram/raw/functions/auth/import_web_token_authorization.py +90 -0
- pyrogram/raw/functions/auth/init_passkey_login.py +82 -0
- pyrogram/raw/functions/auth/log_out.py +69 -0
- pyrogram/raw/functions/auth/recover_password.py +86 -0
- pyrogram/raw/functions/auth/report_missing_code.py +90 -0
- pyrogram/raw/functions/auth/request_firebase_sms.py +111 -0
- pyrogram/raw/functions/auth/request_password_recovery.py +69 -0
- pyrogram/raw/functions/auth/resend_code.py +93 -0
- pyrogram/raw/functions/auth/reset_authorizations.py +69 -0
- pyrogram/raw/functions/auth/reset_login_email.py +82 -0
- pyrogram/raw/functions/auth/send_code.py +98 -0
- pyrogram/raw/functions/auth/sign_in.py +103 -0
- pyrogram/raw/functions/auth/sign_up.py +106 -0
- pyrogram/raw/functions/bots/__init__.py +62 -0
- pyrogram/raw/functions/bots/add_preview_media.py +90 -0
- pyrogram/raw/functions/bots/allow_send_message.py +74 -0
- pyrogram/raw/functions/bots/answer_webhook_json_query.py +82 -0
- pyrogram/raw/functions/bots/can_send_message.py +74 -0
- pyrogram/raw/functions/bots/check_download_file_params.py +90 -0
- pyrogram/raw/functions/bots/check_username.py +74 -0
- pyrogram/raw/functions/bots/create_bot.py +98 -0
- pyrogram/raw/functions/bots/delete_preview_media.py +90 -0
- pyrogram/raw/functions/bots/edit_access_settings.py +92 -0
- pyrogram/raw/functions/bots/edit_preview_media.py +98 -0
- pyrogram/raw/functions/bots/export_bot_token.py +82 -0
- pyrogram/raw/functions/bots/get_access_settings.py +74 -0
- pyrogram/raw/functions/bots/get_admined_bots.py +69 -0
- pyrogram/raw/functions/bots/get_bot_commands.py +82 -0
- pyrogram/raw/functions/bots/get_bot_info.py +86 -0
- pyrogram/raw/functions/bots/get_bot_menu_button.py +74 -0
- pyrogram/raw/functions/bots/get_bot_recommendations.py +74 -0
- pyrogram/raw/functions/bots/get_popular_app_bots.py +82 -0
- pyrogram/raw/functions/bots/get_preview_info.py +82 -0
- pyrogram/raw/functions/bots/get_preview_medias.py +74 -0
- pyrogram/raw/functions/bots/get_requested_web_view_button.py +82 -0
- pyrogram/raw/functions/bots/invoke_web_view_custom_method.py +90 -0
- pyrogram/raw/functions/bots/reorder_preview_medias.py +90 -0
- pyrogram/raw/functions/bots/reorder_usernames.py +82 -0
- pyrogram/raw/functions/bots/request_web_view_button.py +82 -0
- pyrogram/raw/functions/bots/reset_bot_commands.py +82 -0
- pyrogram/raw/functions/bots/send_custom_request.py +82 -0
- pyrogram/raw/functions/bots/set_bot_broadcast_default_admin_rights.py +74 -0
- pyrogram/raw/functions/bots/set_bot_commands.py +90 -0
- pyrogram/raw/functions/bots/set_bot_group_default_admin_rights.py +74 -0
- pyrogram/raw/functions/bots/set_bot_info.py +113 -0
- pyrogram/raw/functions/bots/set_bot_menu_button.py +82 -0
- pyrogram/raw/functions/bots/set_custom_verification.py +101 -0
- pyrogram/raw/functions/bots/set_join_chat_results.py +82 -0
- pyrogram/raw/functions/bots/toggle_user_emoji_status_permission.py +82 -0
- pyrogram/raw/functions/bots/toggle_username.py +90 -0
- pyrogram/raw/functions/bots/update_star_ref_program.py +93 -0
- pyrogram/raw/functions/bots/update_user_emoji_status.py +82 -0
- pyrogram/raw/functions/channels/__init__.py +82 -0
- pyrogram/raw/functions/channels/check_search_posts_flood.py +77 -0
- pyrogram/raw/functions/channels/check_username.py +82 -0
- pyrogram/raw/functions/channels/convert_to_gigagroup.py +74 -0
- pyrogram/raw/functions/channels/create_channel.py +136 -0
- pyrogram/raw/functions/channels/deactivate_all_usernames.py +74 -0
- pyrogram/raw/functions/channels/delete_channel.py +74 -0
- pyrogram/raw/functions/channels/delete_history.py +90 -0
- pyrogram/raw/functions/channels/delete_messages.py +82 -0
- pyrogram/raw/functions/channels/delete_participant_history.py +82 -0
- pyrogram/raw/functions/channels/edit_admin.py +101 -0
- pyrogram/raw/functions/channels/edit_banned.py +90 -0
- pyrogram/raw/functions/channels/edit_location.py +90 -0
- pyrogram/raw/functions/channels/edit_photo.py +82 -0
- pyrogram/raw/functions/channels/edit_title.py +82 -0
- pyrogram/raw/functions/channels/export_message_link.py +96 -0
- pyrogram/raw/functions/channels/get_admin_log.py +128 -0
- pyrogram/raw/functions/channels/get_admined_public_channels.py +86 -0
- pyrogram/raw/functions/channels/get_channel_recommendations.py +78 -0
- pyrogram/raw/functions/channels/get_channels.py +74 -0
- pyrogram/raw/functions/channels/get_full_channel.py +74 -0
- pyrogram/raw/functions/channels/get_groups_for_discussion.py +69 -0
- pyrogram/raw/functions/channels/get_inactive_channels.py +69 -0
- pyrogram/raw/functions/channels/get_left_channels.py +74 -0
- pyrogram/raw/functions/channels/get_message_author.py +82 -0
- pyrogram/raw/functions/channels/get_messages.py +82 -0
- pyrogram/raw/functions/channels/get_participant.py +82 -0
- pyrogram/raw/functions/channels/get_participants.py +106 -0
- pyrogram/raw/functions/channels/get_send_as.py +88 -0
- pyrogram/raw/functions/channels/invite_to_channel.py +82 -0
- pyrogram/raw/functions/channels/join_channel.py +74 -0
- pyrogram/raw/functions/channels/leave_channel.py +74 -0
- pyrogram/raw/functions/channels/read_history.py +82 -0
- pyrogram/raw/functions/channels/read_message_contents.py +82 -0
- pyrogram/raw/functions/channels/reorder_usernames.py +82 -0
- pyrogram/raw/functions/channels/report_anti_spam_false_positive.py +82 -0
- pyrogram/raw/functions/channels/report_spam.py +90 -0
- pyrogram/raw/functions/channels/restrict_sponsored_messages.py +82 -0
- pyrogram/raw/functions/channels/search_posts.py +127 -0
- pyrogram/raw/functions/channels/set_boosts_to_unblock_restrictions.py +82 -0
- pyrogram/raw/functions/channels/set_discussion_group.py +82 -0
- pyrogram/raw/functions/channels/set_emoji_stickers.py +82 -0
- pyrogram/raw/functions/channels/set_main_profile_tab.py +82 -0
- pyrogram/raw/functions/channels/set_stickers.py +82 -0
- pyrogram/raw/functions/channels/toggle_anti_spam.py +82 -0
- pyrogram/raw/functions/channels/toggle_autotranslation.py +82 -0
- pyrogram/raw/functions/channels/toggle_forum.py +90 -0
- pyrogram/raw/functions/channels/toggle_join_request.py +100 -0
- pyrogram/raw/functions/channels/toggle_join_to_send.py +82 -0
- pyrogram/raw/functions/channels/toggle_participants_hidden.py +82 -0
- pyrogram/raw/functions/channels/toggle_pre_history_hidden.py +82 -0
- pyrogram/raw/functions/channels/toggle_signatures.py +88 -0
- pyrogram/raw/functions/channels/toggle_slow_mode.py +82 -0
- pyrogram/raw/functions/channels/toggle_username.py +90 -0
- pyrogram/raw/functions/channels/toggle_view_forum_as_messages.py +82 -0
- pyrogram/raw/functions/channels/update_color.py +100 -0
- pyrogram/raw/functions/channels/update_emoji_status.py +82 -0
- pyrogram/raw/functions/channels/update_paid_messages_price.py +90 -0
- pyrogram/raw/functions/channels/update_username.py +82 -0
- pyrogram/raw/functions/chatlists/__init__.py +35 -0
- pyrogram/raw/functions/chatlists/check_chatlist_invite.py +74 -0
- pyrogram/raw/functions/chatlists/delete_exported_invite.py +82 -0
- pyrogram/raw/functions/chatlists/edit_exported_invite.py +103 -0
- pyrogram/raw/functions/chatlists/export_chatlist_invite.py +90 -0
- pyrogram/raw/functions/chatlists/get_chatlist_updates.py +74 -0
- pyrogram/raw/functions/chatlists/get_exported_invites.py +74 -0
- pyrogram/raw/functions/chatlists/get_leave_chatlist_suggestions.py +74 -0
- pyrogram/raw/functions/chatlists/hide_chatlist_updates.py +74 -0
- pyrogram/raw/functions/chatlists/join_chatlist_invite.py +82 -0
- pyrogram/raw/functions/chatlists/join_chatlist_updates.py +82 -0
- pyrogram/raw/functions/chatlists/leave_chatlist.py +82 -0
- pyrogram/raw/functions/contacts/__init__.py +52 -0
- pyrogram/raw/functions/contacts/accept_contact.py +74 -0
- pyrogram/raw/functions/contacts/add_contact.py +116 -0
- pyrogram/raw/functions/contacts/block.py +82 -0
- pyrogram/raw/functions/contacts/block_from_replies.py +94 -0
- pyrogram/raw/functions/contacts/delete_by_phones.py +74 -0
- pyrogram/raw/functions/contacts/delete_contacts.py +74 -0
- pyrogram/raw/functions/contacts/edit_close_friends.py +74 -0
- pyrogram/raw/functions/contacts/export_contact_token.py +69 -0
- pyrogram/raw/functions/contacts/get_birthdays.py +69 -0
- pyrogram/raw/functions/contacts/get_blocked.py +90 -0
- pyrogram/raw/functions/contacts/get_contact_i_ds.py +74 -0
- pyrogram/raw/functions/contacts/get_contacts.py +74 -0
- pyrogram/raw/functions/contacts/get_located.py +91 -0
- pyrogram/raw/functions/contacts/get_saved.py +69 -0
- pyrogram/raw/functions/contacts/get_sponsored_peers.py +74 -0
- pyrogram/raw/functions/contacts/get_statuses.py +69 -0
- pyrogram/raw/functions/contacts/get_top_peers.py +152 -0
- pyrogram/raw/functions/contacts/import_contact_token.py +74 -0
- pyrogram/raw/functions/contacts/import_contacts.py +74 -0
- pyrogram/raw/functions/contacts/reset_saved.py +69 -0
- pyrogram/raw/functions/contacts/reset_top_peer_rating.py +82 -0
- pyrogram/raw/functions/contacts/resolve_phone.py +74 -0
- pyrogram/raw/functions/contacts/resolve_username.py +85 -0
- pyrogram/raw/functions/contacts/search.py +96 -0
- pyrogram/raw/functions/contacts/set_blocked.py +90 -0
- pyrogram/raw/functions/contacts/toggle_top_peers.py +74 -0
- pyrogram/raw/functions/contacts/unblock.py +82 -0
- pyrogram/raw/functions/contacts/update_contact_note.py +82 -0
- pyrogram/raw/functions/contest/__init__.py +25 -0
- pyrogram/raw/functions/contest/save_developer_info.py +106 -0
- pyrogram/raw/functions/destroy_auth_key.py +69 -0
- pyrogram/raw/functions/destroy_session.py +74 -0
- pyrogram/raw/functions/folders/__init__.py +25 -0
- pyrogram/raw/functions/folders/edit_peer_folders.py +74 -0
- pyrogram/raw/functions/fragment/__init__.py +25 -0
- pyrogram/raw/functions/fragment/get_collectible_info.py +74 -0
- pyrogram/raw/functions/get_future_salts.py +74 -0
- pyrogram/raw/functions/help/__init__.py +49 -0
- pyrogram/raw/functions/help/accept_terms_of_service.py +74 -0
- pyrogram/raw/functions/help/dismiss_suggestion.py +82 -0
- pyrogram/raw/functions/help/edit_user_info.py +90 -0
- pyrogram/raw/functions/help/get_app_config.py +74 -0
- pyrogram/raw/functions/help/get_app_update.py +74 -0
- pyrogram/raw/functions/help/get_cdn_config.py +69 -0
- pyrogram/raw/functions/help/get_config.py +69 -0
- pyrogram/raw/functions/help/get_countries_list.py +82 -0
- pyrogram/raw/functions/help/get_deep_link_info.py +74 -0
- pyrogram/raw/functions/help/get_invite_text.py +69 -0
- pyrogram/raw/functions/help/get_nearest_dc.py +69 -0
- pyrogram/raw/functions/help/get_passport_config.py +74 -0
- pyrogram/raw/functions/help/get_peer_colors.py +74 -0
- pyrogram/raw/functions/help/get_peer_profile_colors.py +74 -0
- pyrogram/raw/functions/help/get_premium_promo.py +69 -0
- pyrogram/raw/functions/help/get_promo_data.py +69 -0
- pyrogram/raw/functions/help/get_recent_me_urls.py +74 -0
- pyrogram/raw/functions/help/get_support.py +69 -0
- pyrogram/raw/functions/help/get_support_name.py +69 -0
- pyrogram/raw/functions/help/get_terms_of_service_update.py +69 -0
- pyrogram/raw/functions/help/get_timezones_list.py +74 -0
- pyrogram/raw/functions/help/get_user_info.py +74 -0
- pyrogram/raw/functions/help/hide_promo_data.py +74 -0
- pyrogram/raw/functions/help/save_app_log.py +74 -0
- pyrogram/raw/functions/help/set_bot_updates_status.py +82 -0
- pyrogram/raw/functions/init_connection.py +152 -0
- pyrogram/raw/functions/invoke_after_msg.py +82 -0
- pyrogram/raw/functions/invoke_after_msgs.py +82 -0
- pyrogram/raw/functions/invoke_with_apns_secret.py +90 -0
- pyrogram/raw/functions/invoke_with_business_connection.py +82 -0
- pyrogram/raw/functions/invoke_with_google_play_integrity.py +90 -0
- pyrogram/raw/functions/invoke_with_layer.py +82 -0
- pyrogram/raw/functions/invoke_with_messages_range.py +82 -0
- pyrogram/raw/functions/invoke_with_re_captcha.py +82 -0
- pyrogram/raw/functions/invoke_with_takeout.py +82 -0
- pyrogram/raw/functions/invoke_without_updates.py +74 -0
- pyrogram/raw/functions/langpack/__init__.py +29 -0
- pyrogram/raw/functions/langpack/get_difference.py +90 -0
- pyrogram/raw/functions/langpack/get_lang_pack.py +82 -0
- pyrogram/raw/functions/langpack/get_language.py +82 -0
- pyrogram/raw/functions/langpack/get_languages.py +74 -0
- pyrogram/raw/functions/langpack/get_strings.py +90 -0
- pyrogram/raw/functions/messages/__init__.py +280 -0
- pyrogram/raw/functions/messages/accept_encryption.py +90 -0
- pyrogram/raw/functions/messages/accept_url_auth.py +126 -0
- pyrogram/raw/functions/messages/add_chat_user.py +90 -0
- pyrogram/raw/functions/messages/add_poll_answer.py +90 -0
- pyrogram/raw/functions/messages/append_todo_list.py +90 -0
- pyrogram/raw/functions/messages/check_chat_invite.py +74 -0
- pyrogram/raw/functions/messages/check_history_import.py +74 -0
- pyrogram/raw/functions/messages/check_history_import_peer.py +74 -0
- pyrogram/raw/functions/messages/check_quick_reply_shortcut.py +74 -0
- pyrogram/raw/functions/messages/check_url_auth_match_code.py +82 -0
- pyrogram/raw/functions/messages/clear_all_drafts.py +69 -0
- pyrogram/raw/functions/messages/clear_recent_reactions.py +69 -0
- pyrogram/raw/functions/messages/clear_recent_stickers.py +74 -0
- pyrogram/raw/functions/messages/click_sponsored_message.py +88 -0
- pyrogram/raw/functions/messages/compose_message_with_ai.py +107 -0
- pyrogram/raw/functions/messages/create_chat.py +93 -0
- pyrogram/raw/functions/messages/create_forum_topic.py +126 -0
- pyrogram/raw/functions/messages/decline_url_auth.py +74 -0
- pyrogram/raw/functions/messages/delete_chat.py +74 -0
- pyrogram/raw/functions/messages/delete_chat_user.py +90 -0
- pyrogram/raw/functions/messages/delete_exported_chat_invite.py +82 -0
- pyrogram/raw/functions/messages/delete_fact_check.py +82 -0
- pyrogram/raw/functions/messages/delete_history.py +114 -0
- pyrogram/raw/functions/messages/delete_messages.py +82 -0
- pyrogram/raw/functions/messages/delete_participant_reaction.py +90 -0
- pyrogram/raw/functions/messages/delete_participant_reactions.py +82 -0
- pyrogram/raw/functions/messages/delete_phone_call_history.py +74 -0
- pyrogram/raw/functions/messages/delete_poll_answer.py +90 -0
- pyrogram/raw/functions/messages/delete_quick_reply_messages.py +82 -0
- pyrogram/raw/functions/messages/delete_quick_reply_shortcut.py +74 -0
- pyrogram/raw/functions/messages/delete_revoked_exported_chat_invites.py +82 -0
- pyrogram/raw/functions/messages/delete_saved_history.py +112 -0
- pyrogram/raw/functions/messages/delete_scheduled_messages.py +82 -0
- pyrogram/raw/functions/messages/delete_topic_history.py +82 -0
- pyrogram/raw/functions/messages/discard_encryption.py +82 -0
- pyrogram/raw/functions/messages/edit_chat_about.py +82 -0
- pyrogram/raw/functions/messages/edit_chat_admin.py +90 -0
- pyrogram/raw/functions/messages/edit_chat_creator.py +90 -0
- pyrogram/raw/functions/messages/edit_chat_default_banned_rights.py +82 -0
- pyrogram/raw/functions/messages/edit_chat_participant_rank.py +90 -0
- pyrogram/raw/functions/messages/edit_chat_photo.py +82 -0
- pyrogram/raw/functions/messages/edit_chat_title.py +82 -0
- pyrogram/raw/functions/messages/edit_exported_chat_invite.py +126 -0
- pyrogram/raw/functions/messages/edit_fact_check.py +90 -0
- pyrogram/raw/functions/messages/edit_forum_topic.py +120 -0
- pyrogram/raw/functions/messages/edit_inline_bot_message.py +137 -0
- pyrogram/raw/functions/messages/edit_message.py +172 -0
- pyrogram/raw/functions/messages/edit_quick_reply_shortcut.py +82 -0
- pyrogram/raw/functions/messages/export_chat_invite.py +125 -0
- pyrogram/raw/functions/messages/fave_sticker.py +82 -0
- pyrogram/raw/functions/messages/forward_messages.py +236 -0
- pyrogram/raw/functions/messages/get_admins_with_invites.py +74 -0
- pyrogram/raw/functions/messages/get_all_drafts.py +69 -0
- pyrogram/raw/functions/messages/get_all_stickers.py +74 -0
- pyrogram/raw/functions/messages/get_archived_stickers.py +96 -0
- pyrogram/raw/functions/messages/get_attach_menu_bot.py +74 -0
- pyrogram/raw/functions/messages/get_attach_menu_bots.py +74 -0
- pyrogram/raw/functions/messages/get_attached_stickers.py +74 -0
- pyrogram/raw/functions/messages/get_available_effects.py +74 -0
- pyrogram/raw/functions/messages/get_available_reactions.py +74 -0
- pyrogram/raw/functions/messages/get_bot_app.py +82 -0
- pyrogram/raw/functions/messages/get_bot_callback_answer.py +109 -0
- pyrogram/raw/functions/messages/get_chat_invite_importers.py +130 -0
- pyrogram/raw/functions/messages/get_chats.py +74 -0
- pyrogram/raw/functions/messages/get_common_chats.py +90 -0
- pyrogram/raw/functions/messages/get_custom_emoji_documents.py +74 -0
- pyrogram/raw/functions/messages/get_default_history_ttl.py +69 -0
- pyrogram/raw/functions/messages/get_default_tag_reactions.py +74 -0
- pyrogram/raw/functions/messages/get_dh_config.py +82 -0
- pyrogram/raw/functions/messages/get_dialog_filters.py +69 -0
- pyrogram/raw/functions/messages/get_dialog_unread_marks.py +78 -0
- pyrogram/raw/functions/messages/get_dialogs.py +123 -0
- pyrogram/raw/functions/messages/get_discussion_message.py +82 -0
- pyrogram/raw/functions/messages/get_document_by_hash.py +90 -0
- pyrogram/raw/functions/messages/get_emoji_game_info.py +69 -0
- pyrogram/raw/functions/messages/get_emoji_groups.py +74 -0
- pyrogram/raw/functions/messages/get_emoji_keywords.py +74 -0
- pyrogram/raw/functions/messages/get_emoji_keywords_difference.py +82 -0
- pyrogram/raw/functions/messages/get_emoji_keywords_languages.py +74 -0
- pyrogram/raw/functions/messages/get_emoji_profile_photo_groups.py +74 -0
- pyrogram/raw/functions/messages/get_emoji_status_groups.py +74 -0
- pyrogram/raw/functions/messages/get_emoji_sticker_groups.py +74 -0
- pyrogram/raw/functions/messages/get_emoji_stickers.py +74 -0
- pyrogram/raw/functions/messages/get_emoji_url.py +74 -0
- pyrogram/raw/functions/messages/get_exported_chat_invite.py +82 -0
- pyrogram/raw/functions/messages/get_exported_chat_invites.py +116 -0
- pyrogram/raw/functions/messages/get_extended_media.py +82 -0
- pyrogram/raw/functions/messages/get_fact_check.py +82 -0
- pyrogram/raw/functions/messages/get_faved_stickers.py +74 -0
- pyrogram/raw/functions/messages/get_featured_emoji_stickers.py +74 -0
- pyrogram/raw/functions/messages/get_featured_stickers.py +74 -0
- pyrogram/raw/functions/messages/get_forum_topics.py +117 -0
- pyrogram/raw/functions/messages/get_forum_topics_by_id.py +82 -0
- pyrogram/raw/functions/messages/get_full_chat.py +74 -0
- pyrogram/raw/functions/messages/get_future_chat_creator_after_leave.py +74 -0
- pyrogram/raw/functions/messages/get_game_high_scores.py +90 -0
- pyrogram/raw/functions/messages/get_history.py +130 -0
- pyrogram/raw/functions/messages/get_inline_bot_results.py +110 -0
- pyrogram/raw/functions/messages/get_inline_game_high_scores.py +82 -0
- pyrogram/raw/functions/messages/get_mask_stickers.py +74 -0
- pyrogram/raw/functions/messages/get_message_edit_data.py +82 -0
- pyrogram/raw/functions/messages/get_message_reactions_list.py +111 -0
- pyrogram/raw/functions/messages/get_message_read_participants.py +82 -0
- pyrogram/raw/functions/messages/get_messages.py +74 -0
- pyrogram/raw/functions/messages/get_messages_reactions.py +82 -0
- pyrogram/raw/functions/messages/get_messages_views.py +90 -0
- pyrogram/raw/functions/messages/get_my_stickers.py +82 -0
- pyrogram/raw/functions/messages/get_old_featured_stickers.py +90 -0
- pyrogram/raw/functions/messages/get_onlines.py +74 -0
- pyrogram/raw/functions/messages/get_outbox_read_date.py +82 -0
- pyrogram/raw/functions/messages/get_paid_reaction_privacy.py +69 -0
- pyrogram/raw/functions/messages/get_peer_dialogs.py +74 -0
- pyrogram/raw/functions/messages/get_peer_settings.py +74 -0
- pyrogram/raw/functions/messages/get_personal_channel_history.py +106 -0
- pyrogram/raw/functions/messages/get_pinned_dialogs.py +74 -0
- pyrogram/raw/functions/messages/get_pinned_saved_dialogs.py +69 -0
- pyrogram/raw/functions/messages/get_poll_results.py +90 -0
- pyrogram/raw/functions/messages/get_poll_votes.py +110 -0
- pyrogram/raw/functions/messages/get_prepared_inline_message.py +82 -0
- pyrogram/raw/functions/messages/get_quick_replies.py +74 -0
- pyrogram/raw/functions/messages/get_quick_reply_messages.py +94 -0
- pyrogram/raw/functions/messages/get_recent_locations.py +90 -0
- pyrogram/raw/functions/messages/get_recent_reactions.py +82 -0
- pyrogram/raw/functions/messages/get_recent_stickers.py +82 -0
- pyrogram/raw/functions/messages/get_replies.py +138 -0
- pyrogram/raw/functions/messages/get_rich_message.py +82 -0
- pyrogram/raw/functions/messages/get_saved_dialogs.py +124 -0
- pyrogram/raw/functions/messages/get_saved_dialogs_by_id.py +86 -0
- pyrogram/raw/functions/messages/get_saved_gifs.py +74 -0
- pyrogram/raw/functions/messages/get_saved_history.py +142 -0
- pyrogram/raw/functions/messages/get_saved_reaction_tags.py +86 -0
- pyrogram/raw/functions/messages/get_scheduled_history.py +82 -0
- pyrogram/raw/functions/messages/get_scheduled_messages.py +82 -0
- pyrogram/raw/functions/messages/get_search_counters.py +103 -0
- pyrogram/raw/functions/messages/get_search_results_calendar.py +110 -0
- pyrogram/raw/functions/messages/get_search_results_positions.py +110 -0
- pyrogram/raw/functions/messages/get_split_ranges.py +69 -0
- pyrogram/raw/functions/messages/get_sponsored_messages.py +85 -0
- pyrogram/raw/functions/messages/get_sticker_set.py +82 -0
- pyrogram/raw/functions/messages/get_stickers.py +82 -0
- pyrogram/raw/functions/messages/get_suggested_dialog_filters.py +69 -0
- pyrogram/raw/functions/messages/get_top_reactions.py +82 -0
- pyrogram/raw/functions/messages/get_unread_mentions.py +125 -0
- pyrogram/raw/functions/messages/get_unread_poll_votes.py +125 -0
- pyrogram/raw/functions/messages/get_unread_reactions.py +135 -0
- pyrogram/raw/functions/messages/get_web_page.py +82 -0
- pyrogram/raw/functions/messages/get_web_page_preview.py +86 -0
- pyrogram/raw/functions/messages/hide_all_chat_join_requests.py +91 -0
- pyrogram/raw/functions/messages/hide_chat_join_request.py +90 -0
- pyrogram/raw/functions/messages/hide_peer_settings_bar.py +74 -0
- pyrogram/raw/functions/messages/import_chat_invite.py +74 -0
- pyrogram/raw/functions/messages/init_history_import.py +90 -0
- pyrogram/raw/functions/messages/install_sticker_set.py +82 -0
- pyrogram/raw/functions/messages/mark_dialog_unread.py +92 -0
- pyrogram/raw/functions/messages/migrate_chat.py +74 -0
- pyrogram/raw/functions/messages/prolong_web_view.py +118 -0
- pyrogram/raw/functions/messages/rate_transcribed_audio.py +98 -0
- pyrogram/raw/functions/messages/read_discussion.py +90 -0
- pyrogram/raw/functions/messages/read_encrypted_history.py +82 -0
- pyrogram/raw/functions/messages/read_featured_stickers.py +74 -0
- pyrogram/raw/functions/messages/read_history.py +82 -0
- pyrogram/raw/functions/messages/read_mentions.py +85 -0
- pyrogram/raw/functions/messages/read_message_contents.py +74 -0
- pyrogram/raw/functions/messages/read_poll_votes.py +85 -0
- pyrogram/raw/functions/messages/read_reactions.py +95 -0
- pyrogram/raw/functions/messages/read_saved_history.py +90 -0
- pyrogram/raw/functions/messages/received_messages.py +74 -0
- pyrogram/raw/functions/messages/received_queue.py +74 -0
- pyrogram/raw/functions/messages/reorder_pinned_dialogs.py +90 -0
- pyrogram/raw/functions/messages/reorder_pinned_forum_topics.py +90 -0
- pyrogram/raw/functions/messages/reorder_pinned_saved_dialogs.py +82 -0
- pyrogram/raw/functions/messages/reorder_quick_replies.py +74 -0
- pyrogram/raw/functions/messages/reorder_sticker_sets.py +88 -0
- pyrogram/raw/functions/messages/report.py +98 -0
- pyrogram/raw/functions/messages/report_encrypted_spam.py +74 -0
- pyrogram/raw/functions/messages/report_messages_delivery.py +90 -0
- pyrogram/raw/functions/messages/report_music_listen.py +82 -0
- pyrogram/raw/functions/messages/report_reaction.py +90 -0
- pyrogram/raw/functions/messages/report_read_metrics.py +82 -0
- pyrogram/raw/functions/messages/report_spam.py +74 -0
- pyrogram/raw/functions/messages/report_sponsored_message.py +82 -0
- pyrogram/raw/functions/messages/request_app_web_view.py +129 -0
- pyrogram/raw/functions/messages/request_encryption.py +90 -0
- pyrogram/raw/functions/messages/request_main_web_view.py +123 -0
- pyrogram/raw/functions/messages/request_simple_web_view.py +136 -0
- pyrogram/raw/functions/messages/request_url_auth.py +114 -0
- pyrogram/raw/functions/messages/request_web_view.py +164 -0
- pyrogram/raw/functions/messages/save_default_send_as.py +82 -0
- pyrogram/raw/functions/messages/save_draft.py +155 -0
- pyrogram/raw/functions/messages/save_gif.py +82 -0
- pyrogram/raw/functions/messages/save_prepared_inline_message.py +94 -0
- pyrogram/raw/functions/messages/save_recent_sticker.py +90 -0
- pyrogram/raw/functions/messages/search.py +195 -0
- pyrogram/raw/functions/messages/search_custom_emoji.py +82 -0
- pyrogram/raw/functions/messages/search_emoji_sticker_sets.py +90 -0
- pyrogram/raw/functions/messages/search_global.py +159 -0
- pyrogram/raw/functions/messages/search_sent_media.py +90 -0
- pyrogram/raw/functions/messages/search_sticker_sets.py +90 -0
- pyrogram/raw/functions/messages/search_stickers.py +122 -0
- pyrogram/raw/functions/messages/send_bot_requested_peer.py +110 -0
- pyrogram/raw/functions/messages/send_encrypted.py +98 -0
- pyrogram/raw/functions/messages/send_encrypted_file.py +106 -0
- pyrogram/raw/functions/messages/send_encrypted_service.py +90 -0
- pyrogram/raw/functions/messages/send_inline_bot_result.py +172 -0
- pyrogram/raw/functions/messages/send_media.py +238 -0
- pyrogram/raw/functions/messages/send_message.py +246 -0
- pyrogram/raw/functions/messages/send_multi_media.py +183 -0
- pyrogram/raw/functions/messages/send_paid_reaction.py +110 -0
- pyrogram/raw/functions/messages/send_quick_reply_messages.py +98 -0
- pyrogram/raw/functions/messages/send_reaction.py +106 -0
- pyrogram/raw/functions/messages/send_scheduled_messages.py +82 -0
- pyrogram/raw/functions/messages/send_screenshot_notification.py +90 -0
- pyrogram/raw/functions/messages/send_vote.py +90 -0
- pyrogram/raw/functions/messages/send_web_view_data.py +98 -0
- pyrogram/raw/functions/messages/send_web_view_result_message.py +82 -0
- pyrogram/raw/functions/messages/set_bot_callback_answer.py +108 -0
- pyrogram/raw/functions/messages/set_bot_guest_chat_result.py +82 -0
- pyrogram/raw/functions/messages/set_bot_precheckout_results.py +91 -0
- pyrogram/raw/functions/messages/set_bot_shipping_results.py +95 -0
- pyrogram/raw/functions/messages/set_chat_available_reactions.py +102 -0
- pyrogram/raw/functions/messages/set_chat_theme.py +82 -0
- pyrogram/raw/functions/messages/set_chat_wall_paper.py +117 -0
- pyrogram/raw/functions/messages/set_default_history_ttl.py +74 -0
- pyrogram/raw/functions/messages/set_default_reaction.py +74 -0
- pyrogram/raw/functions/messages/set_encrypted_typing.py +82 -0
- pyrogram/raw/functions/messages/set_game_score.py +112 -0
- pyrogram/raw/functions/messages/set_history_ttl.py +82 -0
- pyrogram/raw/functions/messages/set_inline_bot_results.py +133 -0
- pyrogram/raw/functions/messages/set_inline_game_score.py +104 -0
- pyrogram/raw/functions/messages/set_typing.py +93 -0
- pyrogram/raw/functions/messages/start_bot.py +98 -0
- pyrogram/raw/functions/messages/start_history_import.py +82 -0
- pyrogram/raw/functions/messages/summarize_text.py +102 -0
- pyrogram/raw/functions/messages/toggle_bot_in_attach_menu.py +90 -0
- pyrogram/raw/functions/messages/toggle_dialog_filter_tags.py +74 -0
- pyrogram/raw/functions/messages/toggle_dialog_pin.py +82 -0
- pyrogram/raw/functions/messages/toggle_no_forwards.py +93 -0
- pyrogram/raw/functions/messages/toggle_paid_reaction_privacy.py +90 -0
- pyrogram/raw/functions/messages/toggle_peer_translations.py +82 -0
- pyrogram/raw/functions/messages/toggle_saved_dialog_pin.py +82 -0
- pyrogram/raw/functions/messages/toggle_sticker_sets.py +94 -0
- pyrogram/raw/functions/messages/toggle_suggested_post_approval.py +108 -0
- pyrogram/raw/functions/messages/toggle_todo_completed.py +98 -0
- pyrogram/raw/functions/messages/transcribe_audio.py +82 -0
- pyrogram/raw/functions/messages/translate_text.py +115 -0
- pyrogram/raw/functions/messages/uninstall_sticker_set.py +74 -0
- pyrogram/raw/functions/messages/unpin_all_messages.py +95 -0
- pyrogram/raw/functions/messages/update_dialog_filter.py +86 -0
- pyrogram/raw/functions/messages/update_dialog_filters_order.py +74 -0
- pyrogram/raw/functions/messages/update_pinned_forum_topic.py +90 -0
- pyrogram/raw/functions/messages/update_pinned_message.py +102 -0
- pyrogram/raw/functions/messages/update_saved_reaction_tag.py +85 -0
- pyrogram/raw/functions/messages/upload_encrypted_file.py +82 -0
- pyrogram/raw/functions/messages/upload_imported_media.py +98 -0
- pyrogram/raw/functions/messages/upload_media.py +93 -0
- pyrogram/raw/functions/messages/view_sponsored_message.py +74 -0
- pyrogram/raw/functions/payments/__init__.py +89 -0
- pyrogram/raw/functions/payments/apply_gift_code.py +74 -0
- pyrogram/raw/functions/payments/assign_app_store_transaction.py +82 -0
- pyrogram/raw/functions/payments/assign_play_market_transaction.py +82 -0
- pyrogram/raw/functions/payments/bot_cancel_stars_subscription.py +90 -0
- pyrogram/raw/functions/payments/can_purchase_store.py +74 -0
- pyrogram/raw/functions/payments/change_stars_subscription.py +93 -0
- pyrogram/raw/functions/payments/check_can_send_gift.py +74 -0
- pyrogram/raw/functions/payments/check_gift_code.py +74 -0
- pyrogram/raw/functions/payments/clear_saved_info.py +80 -0
- pyrogram/raw/functions/payments/connect_star_ref_bot.py +82 -0
- pyrogram/raw/functions/payments/convert_star_gift.py +74 -0
- pyrogram/raw/functions/payments/craft_star_gift.py +74 -0
- pyrogram/raw/functions/payments/create_star_gift_collection.py +90 -0
- pyrogram/raw/functions/payments/delete_star_gift_collection.py +82 -0
- pyrogram/raw/functions/payments/edit_connected_star_ref_bot.py +90 -0
- pyrogram/raw/functions/payments/export_invoice.py +74 -0
- pyrogram/raw/functions/payments/fulfill_stars_subscription.py +82 -0
- pyrogram/raw/functions/payments/get_bank_card_data.py +74 -0
- pyrogram/raw/functions/payments/get_connected_star_ref_bot.py +82 -0
- pyrogram/raw/functions/payments/get_connected_star_ref_bots.py +102 -0
- pyrogram/raw/functions/payments/get_craft_star_gifts.py +90 -0
- pyrogram/raw/functions/payments/get_giveaway_info.py +82 -0
- pyrogram/raw/functions/payments/get_payment_form.py +86 -0
- pyrogram/raw/functions/payments/get_payment_receipt.py +82 -0
- pyrogram/raw/functions/payments/get_premium_gift_code_options.py +78 -0
- pyrogram/raw/functions/payments/get_resale_star_gifts.py +135 -0
- pyrogram/raw/functions/payments/get_saved_info.py +69 -0
- pyrogram/raw/functions/payments/get_saved_star_gift.py +74 -0
- pyrogram/raw/functions/payments/get_saved_star_gifts.py +155 -0
- pyrogram/raw/functions/payments/get_star_gift_active_auctions.py +74 -0
- pyrogram/raw/functions/payments/get_star_gift_auction_acquired_gifts.py +74 -0
- pyrogram/raw/functions/payments/get_star_gift_auction_state.py +82 -0
- pyrogram/raw/functions/payments/get_star_gift_collections.py +82 -0
- pyrogram/raw/functions/payments/get_star_gift_upgrade_attributes.py +74 -0
- pyrogram/raw/functions/payments/get_star_gift_upgrade_preview.py +74 -0
- pyrogram/raw/functions/payments/get_star_gift_withdrawal_url.py +82 -0
- pyrogram/raw/functions/payments/get_star_gifts.py +74 -0
- pyrogram/raw/functions/payments/get_stars_gift_options.py +78 -0
- pyrogram/raw/functions/payments/get_stars_giveaway_options.py +69 -0
- pyrogram/raw/functions/payments/get_stars_revenue_ads_account_url.py +74 -0
- pyrogram/raw/functions/payments/get_stars_revenue_stats.py +88 -0
- pyrogram/raw/functions/payments/get_stars_revenue_withdrawal_url.py +99 -0
- pyrogram/raw/functions/payments/get_stars_status.py +82 -0
- pyrogram/raw/functions/payments/get_stars_subscriptions.py +90 -0
- pyrogram/raw/functions/payments/get_stars_topup_options.py +69 -0
- pyrogram/raw/functions/payments/get_stars_transactions.py +125 -0
- pyrogram/raw/functions/payments/get_stars_transactions_by_id.py +90 -0
- pyrogram/raw/functions/payments/get_suggested_star_ref_bots.py +104 -0
- pyrogram/raw/functions/payments/get_unique_star_gift.py +74 -0
- pyrogram/raw/functions/payments/get_unique_star_gift_value_info.py +74 -0
- pyrogram/raw/functions/payments/launch_prepaid_giveaway.py +90 -0
- pyrogram/raw/functions/payments/refund_stars_charge.py +82 -0
- pyrogram/raw/functions/payments/reorder_star_gift_collections.py +82 -0
- pyrogram/raw/functions/payments/resolve_star_gift_offer.py +82 -0
- pyrogram/raw/functions/payments/save_star_gift.py +82 -0
- pyrogram/raw/functions/payments/send_payment_form.py +119 -0
- pyrogram/raw/functions/payments/send_star_gift_offer.py +117 -0
- pyrogram/raw/functions/payments/send_stars_form.py +82 -0
- pyrogram/raw/functions/payments/toggle_chat_star_gift_notifications.py +82 -0
- pyrogram/raw/functions/payments/toggle_star_gifts_pinned_to_top.py +82 -0
- pyrogram/raw/functions/payments/transfer_star_gift.py +82 -0
- pyrogram/raw/functions/payments/update_star_gift_collection.py +123 -0
- pyrogram/raw/functions/payments/update_star_gift_price.py +82 -0
- pyrogram/raw/functions/payments/upgrade_star_gift.py +82 -0
- pyrogram/raw/functions/payments/validate_requested_info.py +90 -0
- pyrogram/raw/functions/phone/__init__.py +67 -0
- pyrogram/raw/functions/phone/accept_call.py +90 -0
- pyrogram/raw/functions/phone/check_group_call.py +82 -0
- pyrogram/raw/functions/phone/confirm_call.py +98 -0
- pyrogram/raw/functions/phone/create_conference_call.py +122 -0
- pyrogram/raw/functions/phone/create_group_call.py +108 -0
- pyrogram/raw/functions/phone/decline_conference_call_invite.py +74 -0
- pyrogram/raw/functions/phone/delete_conference_call_participants.py +104 -0
- pyrogram/raw/functions/phone/delete_group_call_messages.py +90 -0
- pyrogram/raw/functions/phone/delete_group_call_participant_messages.py +90 -0
- pyrogram/raw/functions/phone/discard_call.py +106 -0
- pyrogram/raw/functions/phone/discard_group_call.py +74 -0
- pyrogram/raw/functions/phone/edit_group_call_participant.py +138 -0
- pyrogram/raw/functions/phone/edit_group_call_title.py +82 -0
- pyrogram/raw/functions/phone/export_group_call_invite.py +82 -0
- pyrogram/raw/functions/phone/get_call_config.py +69 -0
- pyrogram/raw/functions/phone/get_group_call.py +82 -0
- pyrogram/raw/functions/phone/get_group_call_chain_blocks.py +98 -0
- pyrogram/raw/functions/phone/get_group_call_join_as.py +74 -0
- pyrogram/raw/functions/phone/get_group_call_stars.py +74 -0
- pyrogram/raw/functions/phone/get_group_call_stream_channels.py +74 -0
- pyrogram/raw/functions/phone/get_group_call_stream_rtmp_url.py +90 -0
- pyrogram/raw/functions/phone/get_group_participants.py +106 -0
- pyrogram/raw/functions/phone/invite_conference_call_participant.py +90 -0
- pyrogram/raw/functions/phone/invite_to_group_call.py +82 -0
- pyrogram/raw/functions/phone/join_group_call.py +131 -0
- pyrogram/raw/functions/phone/join_group_call_presentation.py +82 -0
- pyrogram/raw/functions/phone/leave_group_call.py +82 -0
- pyrogram/raw/functions/phone/leave_group_call_presentation.py +74 -0
- pyrogram/raw/functions/phone/received_call.py +74 -0
- pyrogram/raw/functions/phone/request_call.py +106 -0
- pyrogram/raw/functions/phone/save_call_debug.py +82 -0
- pyrogram/raw/functions/phone/save_call_log.py +82 -0
- pyrogram/raw/functions/phone/save_default_group_call_join_as.py +82 -0
- pyrogram/raw/functions/phone/save_default_send_as.py +82 -0
- pyrogram/raw/functions/phone/send_conference_call_broadcast.py +82 -0
- pyrogram/raw/functions/phone/send_group_call_encrypted_message.py +82 -0
- pyrogram/raw/functions/phone/send_group_call_message.py +111 -0
- pyrogram/raw/functions/phone/send_signaling_data.py +82 -0
- pyrogram/raw/functions/phone/set_call_rating.py +98 -0
- pyrogram/raw/functions/phone/start_scheduled_group_call.py +74 -0
- pyrogram/raw/functions/phone/toggle_group_call_record.py +106 -0
- pyrogram/raw/functions/phone/toggle_group_call_settings.py +109 -0
- pyrogram/raw/functions/phone/toggle_group_call_start_subscription.py +82 -0
- pyrogram/raw/functions/photos/__init__.py +29 -0
- pyrogram/raw/functions/photos/delete_photos.py +74 -0
- pyrogram/raw/functions/photos/get_user_photos.py +98 -0
- pyrogram/raw/functions/photos/update_profile_photo.py +92 -0
- pyrogram/raw/functions/photos/upload_contact_profile_photo.py +127 -0
- pyrogram/raw/functions/photos/upload_profile_photo.py +123 -0
- pyrogram/raw/functions/ping.py +74 -0
- pyrogram/raw/functions/ping_delay_disconnect.py +82 -0
- pyrogram/raw/functions/premium/__init__.py +29 -0
- pyrogram/raw/functions/premium/apply_boost.py +86 -0
- pyrogram/raw/functions/premium/get_boosts_list.py +98 -0
- pyrogram/raw/functions/premium/get_boosts_status.py +74 -0
- pyrogram/raw/functions/premium/get_my_boosts.py +69 -0
- pyrogram/raw/functions/premium/get_user_boosts.py +82 -0
- pyrogram/raw/functions/req_dh_params.py +114 -0
- pyrogram/raw/functions/req_pq.py +74 -0
- pyrogram/raw/functions/req_pq_multi.py +74 -0
- pyrogram/raw/functions/rpc_drop_answer.py +74 -0
- pyrogram/raw/functions/set_client_dh_params.py +90 -0
- pyrogram/raw/functions/smsjobs/__init__.py +31 -0
- pyrogram/raw/functions/smsjobs/finish_job.py +85 -0
- pyrogram/raw/functions/smsjobs/get_sms_job.py +74 -0
- pyrogram/raw/functions/smsjobs/get_status.py +69 -0
- pyrogram/raw/functions/smsjobs/is_eligible_to_join.py +69 -0
- pyrogram/raw/functions/smsjobs/join.py +69 -0
- pyrogram/raw/functions/smsjobs/leave.py +69 -0
- pyrogram/raw/functions/smsjobs/update_settings.py +74 -0
- pyrogram/raw/functions/stats/__init__.py +32 -0
- pyrogram/raw/functions/stats/get_broadcast_stats.py +82 -0
- pyrogram/raw/functions/stats/get_megagroup_stats.py +82 -0
- pyrogram/raw/functions/stats/get_message_public_forwards.py +98 -0
- pyrogram/raw/functions/stats/get_message_stats.py +90 -0
- pyrogram/raw/functions/stats/get_poll_stats.py +90 -0
- pyrogram/raw/functions/stats/get_story_public_forwards.py +98 -0
- pyrogram/raw/functions/stats/get_story_stats.py +90 -0
- pyrogram/raw/functions/stats/load_async_graph.py +85 -0
- pyrogram/raw/functions/stickers/__init__.py +35 -0
- pyrogram/raw/functions/stickers/add_sticker_to_set.py +82 -0
- pyrogram/raw/functions/stickers/change_sticker.py +104 -0
- pyrogram/raw/functions/stickers/change_sticker_position.py +82 -0
- pyrogram/raw/functions/stickers/check_short_name.py +74 -0
- pyrogram/raw/functions/stickers/create_sticker_set.py +137 -0
- pyrogram/raw/functions/stickers/delete_sticker_set.py +74 -0
- pyrogram/raw/functions/stickers/remove_sticker_from_set.py +74 -0
- pyrogram/raw/functions/stickers/rename_sticker_set.py +82 -0
- pyrogram/raw/functions/stickers/replace_sticker.py +82 -0
- pyrogram/raw/functions/stickers/set_sticker_set_thumb.py +95 -0
- pyrogram/raw/functions/stickers/suggest_short_name.py +74 -0
- pyrogram/raw/functions/stories/__init__.py +57 -0
- pyrogram/raw/functions/stories/activate_stealth_mode.py +80 -0
- pyrogram/raw/functions/stories/can_send_story.py +74 -0
- pyrogram/raw/functions/stories/create_album.py +90 -0
- pyrogram/raw/functions/stories/delete_album.py +82 -0
- pyrogram/raw/functions/stories/delete_stories.py +82 -0
- pyrogram/raw/functions/stories/edit_story.py +143 -0
- pyrogram/raw/functions/stories/export_story_link.py +82 -0
- pyrogram/raw/functions/stories/get_album_stories.py +98 -0
- pyrogram/raw/functions/stories/get_albums.py +82 -0
- pyrogram/raw/functions/stories/get_all_read_peer_stories.py +69 -0
- pyrogram/raw/functions/stories/get_all_stories.py +89 -0
- pyrogram/raw/functions/stories/get_chats_to_send.py +69 -0
- pyrogram/raw/functions/stories/get_peer_max_i_ds.py +74 -0
- pyrogram/raw/functions/stories/get_peer_stories.py +74 -0
- pyrogram/raw/functions/stories/get_pinned_stories.py +90 -0
- pyrogram/raw/functions/stories/get_stories_archive.py +90 -0
- pyrogram/raw/functions/stories/get_stories_by_id.py +82 -0
- pyrogram/raw/functions/stories/get_stories_views.py +82 -0
- pyrogram/raw/functions/stories/get_story_reactions_list.py +117 -0
- pyrogram/raw/functions/stories/get_story_views_list.py +127 -0
- pyrogram/raw/functions/stories/increment_story_views.py +82 -0
- pyrogram/raw/functions/stories/read_stories.py +82 -0
- pyrogram/raw/functions/stories/reorder_albums.py +82 -0
- pyrogram/raw/functions/stories/report.py +98 -0
- pyrogram/raw/functions/stories/search_posts.py +113 -0
- pyrogram/raw/functions/stories/send_reaction.py +98 -0
- pyrogram/raw/functions/stories/send_story.py +195 -0
- pyrogram/raw/functions/stories/start_live.py +147 -0
- pyrogram/raw/functions/stories/toggle_all_stories_hidden.py +74 -0
- pyrogram/raw/functions/stories/toggle_peer_stories_hidden.py +82 -0
- pyrogram/raw/functions/stories/toggle_pinned.py +90 -0
- pyrogram/raw/functions/stories/toggle_pinned_to_top.py +82 -0
- pyrogram/raw/functions/stories/update_album.py +123 -0
- pyrogram/raw/functions/updates/__init__.py +27 -0
- pyrogram/raw/functions/updates/get_channel_difference.py +106 -0
- pyrogram/raw/functions/updates/get_difference.py +119 -0
- pyrogram/raw/functions/updates/get_state.py +69 -0
- pyrogram/raw/functions/upload/__init__.py +32 -0
- pyrogram/raw/functions/upload/get_cdn_file.py +90 -0
- pyrogram/raw/functions/upload/get_cdn_file_hashes.py +82 -0
- pyrogram/raw/functions/upload/get_file.py +104 -0
- pyrogram/raw/functions/upload/get_file_hashes.py +82 -0
- pyrogram/raw/functions/upload/get_web_file.py +90 -0
- pyrogram/raw/functions/upload/reupload_cdn_file.py +82 -0
- pyrogram/raw/functions/upload/save_big_file_part.py +98 -0
- pyrogram/raw/functions/upload/save_file_part.py +90 -0
- pyrogram/raw/functions/users/__init__.py +31 -0
- pyrogram/raw/functions/users/get_full_user.py +74 -0
- pyrogram/raw/functions/users/get_requirements_to_contact.py +74 -0
- pyrogram/raw/functions/users/get_saved_music.py +98 -0
- pyrogram/raw/functions/users/get_saved_music_by_id.py +82 -0
- pyrogram/raw/functions/users/get_users.py +74 -0
- pyrogram/raw/functions/users/set_secure_value_errors.py +82 -0
- pyrogram/raw/functions/users/suggest_birthday.py +82 -0
- pyrogram/raw/types/__init__.py +1351 -0
- pyrogram/raw/types/access_point_rule.py +90 -0
- pyrogram/raw/types/account/__init__.py +64 -0
- pyrogram/raw/types/account/authorization_form.py +118 -0
- pyrogram/raw/types/account/authorizations.py +91 -0
- pyrogram/raw/types/account/auto_download_settings.py +99 -0
- pyrogram/raw/types/account/auto_save_settings.py +123 -0
- pyrogram/raw/types/account/business_chat_links.py +99 -0
- pyrogram/raw/types/account/chat_themes.py +118 -0
- pyrogram/raw/types/account/chat_themes_not_modified.py +78 -0
- pyrogram/raw/types/account/connected_bots.py +91 -0
- pyrogram/raw/types/account/content_settings.py +89 -0
- pyrogram/raw/types/account/email_verified.py +83 -0
- pyrogram/raw/types/account/email_verified_login.py +91 -0
- pyrogram/raw/types/account/emoji_statuses.py +94 -0
- pyrogram/raw/types/account/emoji_statuses_not_modified.py +81 -0
- pyrogram/raw/types/account/paid_messages_revenue.py +83 -0
- pyrogram/raw/types/account/passkey_registration_options.py +83 -0
- pyrogram/raw/types/account/passkeys.py +83 -0
- pyrogram/raw/types/account/password.py +183 -0
- pyrogram/raw/types/account/password_input_settings.py +115 -0
- pyrogram/raw/types/account/password_settings.py +96 -0
- pyrogram/raw/types/account/privacy_rules.py +100 -0
- pyrogram/raw/types/account/reset_password_failed_wait.py +83 -0
- pyrogram/raw/types/account/reset_password_ok.py +78 -0
- pyrogram/raw/types/account/reset_password_requested_wait.py +83 -0
- pyrogram/raw/types/account/resolved_business_chat_links.py +119 -0
- pyrogram/raw/types/account/saved_music_ids.py +83 -0
- pyrogram/raw/types/account/saved_music_ids_not_modified.py +78 -0
- pyrogram/raw/types/account/saved_ringtone.py +78 -0
- pyrogram/raw/types/account/saved_ringtone_converted.py +83 -0
- pyrogram/raw/types/account/saved_ringtones.py +91 -0
- pyrogram/raw/types/account/saved_ringtones_not_modified.py +78 -0
- pyrogram/raw/types/account/sent_email_code.py +91 -0
- pyrogram/raw/types/account/takeout.py +83 -0
- pyrogram/raw/types/account/themes.py +92 -0
- pyrogram/raw/types/account/themes_not_modified.py +79 -0
- pyrogram/raw/types/account/tmp_password.py +91 -0
- pyrogram/raw/types/account/wall_papers.py +91 -0
- pyrogram/raw/types/account/wall_papers_not_modified.py +78 -0
- pyrogram/raw/types/account/web_authorizations.py +91 -0
- pyrogram/raw/types/account/web_browser_settings.py +115 -0
- pyrogram/raw/types/account/web_browser_settings_not_modified.py +80 -0
- pyrogram/raw/types/account_days_ttl.py +83 -0
- pyrogram/raw/types/ai_compose_tone.py +162 -0
- pyrogram/raw/types/ai_compose_tone_default.py +100 -0
- pyrogram/raw/types/ai_compose_tone_example.py +91 -0
- pyrogram/raw/types/aicompose/__init__.py +26 -0
- pyrogram/raw/types/aicompose/tones.py +100 -0
- pyrogram/raw/types/aicompose/tones_not_modified.py +79 -0
- pyrogram/raw/types/attach_menu_bot.py +138 -0
- pyrogram/raw/types/attach_menu_bot_icon.py +94 -0
- pyrogram/raw/types/attach_menu_bot_icon_color.py +82 -0
- pyrogram/raw/types/attach_menu_bots.py +99 -0
- pyrogram/raw/types/attach_menu_bots_bot.py +91 -0
- pyrogram/raw/types/attach_menu_bots_not_modified.py +78 -0
- pyrogram/raw/types/attach_menu_peer_type_bot_pm.py +69 -0
- pyrogram/raw/types/attach_menu_peer_type_broadcast.py +69 -0
- pyrogram/raw/types/attach_menu_peer_type_chat.py +69 -0
- pyrogram/raw/types/attach_menu_peer_type_pm.py +69 -0
- pyrogram/raw/types/attach_menu_peer_type_same_bot_pm.py +69 -0
- pyrogram/raw/types/auction_bid_level.py +90 -0
- pyrogram/raw/types/auth/__init__.py +52 -0
- pyrogram/raw/types/auth/authorization.py +125 -0
- pyrogram/raw/types/auth/authorization_sign_up_required.py +94 -0
- pyrogram/raw/types/auth/code_type_call.py +69 -0
- pyrogram/raw/types/auth/code_type_flash_call.py +69 -0
- pyrogram/raw/types/auth/code_type_fragment_sms.py +69 -0
- pyrogram/raw/types/auth/code_type_missed_call.py +69 -0
- pyrogram/raw/types/auth/code_type_sms.py +69 -0
- pyrogram/raw/types/auth/exported_authorization.py +91 -0
- pyrogram/raw/types/auth/logged_out.py +86 -0
- pyrogram/raw/types/auth/login_token.py +92 -0
- pyrogram/raw/types/auth/login_token_migrate_to.py +92 -0
- pyrogram/raw/types/auth/login_token_success.py +84 -0
- pyrogram/raw/types/auth/passkey_login_options.py +83 -0
- pyrogram/raw/types/auth/password_recovery.py +83 -0
- pyrogram/raw/types/auth/sent_code.py +118 -0
- pyrogram/raw/types/auth/sent_code_payment_required.py +137 -0
- pyrogram/raw/types/auth/sent_code_success.py +89 -0
- pyrogram/raw/types/auth/sent_code_type_app.py +74 -0
- pyrogram/raw/types/auth/sent_code_type_call.py +74 -0
- pyrogram/raw/types/auth/sent_code_type_email_code.py +114 -0
- pyrogram/raw/types/auth/sent_code_type_firebase_sms.py +121 -0
- pyrogram/raw/types/auth/sent_code_type_flash_call.py +74 -0
- pyrogram/raw/types/auth/sent_code_type_fragment_sms.py +82 -0
- pyrogram/raw/types/auth/sent_code_type_missed_call.py +82 -0
- pyrogram/raw/types/auth/sent_code_type_set_up_email_required.py +80 -0
- pyrogram/raw/types/auth/sent_code_type_sms.py +74 -0
- pyrogram/raw/types/auth/sent_code_type_sms_phrase.py +77 -0
- pyrogram/raw/types/auth/sent_code_type_sms_word.py +77 -0
- pyrogram/raw/types/authorization.py +209 -0
- pyrogram/raw/types/auto_download_settings.py +146 -0
- pyrogram/raw/types/auto_save_exception.py +82 -0
- pyrogram/raw/types/auto_save_settings.py +89 -0
- pyrogram/raw/types/available_effect.py +116 -0
- pyrogram/raw/types/available_reaction.py +156 -0
- pyrogram/raw/types/bad_msg_notification.py +90 -0
- pyrogram/raw/types/bad_server_salt.py +98 -0
- pyrogram/raw/types/bank_card_open_url.py +82 -0
- pyrogram/raw/types/base_theme_arctic.py +69 -0
- pyrogram/raw/types/base_theme_classic.py +69 -0
- pyrogram/raw/types/base_theme_day.py +69 -0
- pyrogram/raw/types/base_theme_night.py +69 -0
- pyrogram/raw/types/base_theme_tinted.py +69 -0
- pyrogram/raw/types/bind_auth_key_inner.py +106 -0
- pyrogram/raw/types/birthday.py +93 -0
- pyrogram/raw/types/boost.py +155 -0
- pyrogram/raw/types/bot_app.py +134 -0
- pyrogram/raw/types/bot_app_not_modified.py +69 -0
- pyrogram/raw/types/bot_app_settings.py +113 -0
- pyrogram/raw/types/bot_business_connection.py +116 -0
- pyrogram/raw/types/bot_command.py +91 -0
- pyrogram/raw/types/bot_command_scope_chat_admins.py +69 -0
- pyrogram/raw/types/bot_command_scope_chats.py +69 -0
- pyrogram/raw/types/bot_command_scope_default.py +69 -0
- pyrogram/raw/types/bot_command_scope_peer.py +74 -0
- pyrogram/raw/types/bot_command_scope_peer_admins.py +74 -0
- pyrogram/raw/types/bot_command_scope_peer_user.py +82 -0
- pyrogram/raw/types/bot_command_scope_users.py +69 -0
- pyrogram/raw/types/bot_info.py +161 -0
- pyrogram/raw/types/bot_inline_media_result.py +130 -0
- pyrogram/raw/types/bot_inline_message_media_auto.py +102 -0
- pyrogram/raw/types/bot_inline_message_media_contact.py +110 -0
- pyrogram/raw/types/bot_inline_message_media_geo.py +113 -0
- pyrogram/raw/types/bot_inline_message_media_invoice.py +132 -0
- pyrogram/raw/types/bot_inline_message_media_venue.py +126 -0
- pyrogram/raw/types/bot_inline_message_media_web_page.py +134 -0
- pyrogram/raw/types/bot_inline_message_rich_message.py +86 -0
- pyrogram/raw/types/bot_inline_message_text.py +108 -0
- pyrogram/raw/types/bot_inline_result.py +139 -0
- pyrogram/raw/types/bot_menu_button.py +91 -0
- pyrogram/raw/types/bot_menu_button_commands.py +78 -0
- pyrogram/raw/types/bot_menu_button_default.py +78 -0
- pyrogram/raw/types/bot_preview_media.py +93 -0
- pyrogram/raw/types/bot_verification.py +90 -0
- pyrogram/raw/types/bot_verifier_settings.py +99 -0
- pyrogram/raw/types/bots/__init__.py +30 -0
- pyrogram/raw/types/bots/access_settings.py +93 -0
- pyrogram/raw/types/bots/bot_info.py +99 -0
- pyrogram/raw/types/bots/exported_bot_token.py +83 -0
- pyrogram/raw/types/bots/popular_app_bots.py +94 -0
- pyrogram/raw/types/bots/preview_info.py +91 -0
- pyrogram/raw/types/bots/requested_button.py +83 -0
- pyrogram/raw/types/business_away_message.py +98 -0
- pyrogram/raw/types/business_away_message_schedule_always.py +69 -0
- pyrogram/raw/types/business_away_message_schedule_custom.py +82 -0
- pyrogram/raw/types/business_away_message_schedule_outside_work_hours.py +69 -0
- pyrogram/raw/types/business_bot_recipients.py +118 -0
- pyrogram/raw/types/business_bot_rights.py +152 -0
- pyrogram/raw/types/business_chat_link.py +121 -0
- pyrogram/raw/types/business_greeting_message.py +90 -0
- pyrogram/raw/types/business_intro.py +94 -0
- pyrogram/raw/types/business_location.py +86 -0
- pyrogram/raw/types/business_recipients.py +108 -0
- pyrogram/raw/types/business_weekly_open.py +82 -0
- pyrogram/raw/types/business_work_hours.py +90 -0
- pyrogram/raw/types/cdn_config.py +83 -0
- pyrogram/raw/types/cdn_public_key.py +82 -0
- pyrogram/raw/types/channel.py +434 -0
- pyrogram/raw/types/channel_admin_log_event.py +98 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_about.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_available_reactions.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_emoji_status.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_emoji_sticker_set.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_history_ttl.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_linked_chat.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_location.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_peer_color.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_photo.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_profile_peer_color.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_sticker_set.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_title.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_username.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_usernames.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_change_wallpaper.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_create_topic.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_default_banned_rights.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_delete_message.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_delete_topic.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_discard_group_call.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_edit_message.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_edit_topic.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_exported_invite_delete.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_exported_invite_edit.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_exported_invite_revoke.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_edit_rank.py +90 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_invite.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_join.py +69 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_invite.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_join_by_request.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_leave.py +69 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_mute.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_sub_extend.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_admin.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_toggle_ban.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_unmute.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_participant_volume.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_pin_topic.py +88 -0
- pyrogram/raw/types/channel_admin_log_event_action_send_message.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_start_group_call.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_stop_poll.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_anti_spam.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_autotranslation.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_forum.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_group_call_setting.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_invites.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_no_forwards.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_pre_history_hidden.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_signature_profiles.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_signatures.py +74 -0
- pyrogram/raw/types/channel_admin_log_event_action_toggle_slow_mode.py +82 -0
- pyrogram/raw/types/channel_admin_log_event_action_update_pinned.py +74 -0
- pyrogram/raw/types/channel_admin_log_events_filter.py +188 -0
- pyrogram/raw/types/channel_forbidden.py +119 -0
- pyrogram/raw/types/channel_full.py +617 -0
- pyrogram/raw/types/channel_location.py +82 -0
- pyrogram/raw/types/channel_location_empty.py +69 -0
- pyrogram/raw/types/channel_messages_filter.py +82 -0
- pyrogram/raw/types/channel_messages_filter_empty.py +69 -0
- pyrogram/raw/types/channel_participant.py +102 -0
- pyrogram/raw/types/channel_participant_admin.py +130 -0
- pyrogram/raw/types/channel_participant_banned.py +115 -0
- pyrogram/raw/types/channel_participant_creator.py +93 -0
- pyrogram/raw/types/channel_participant_left.py +74 -0
- pyrogram/raw/types/channel_participant_self.py +116 -0
- pyrogram/raw/types/channel_participants_admins.py +69 -0
- pyrogram/raw/types/channel_participants_banned.py +74 -0
- pyrogram/raw/types/channel_participants_bots.py +69 -0
- pyrogram/raw/types/channel_participants_contacts.py +74 -0
- pyrogram/raw/types/channel_participants_kicked.py +74 -0
- pyrogram/raw/types/channel_participants_mentions.py +86 -0
- pyrogram/raw/types/channel_participants_recent.py +69 -0
- pyrogram/raw/types/channel_participants_search.py +74 -0
- pyrogram/raw/types/channels/__init__.py +32 -0
- pyrogram/raw/types/channels/admin_log_results.py +99 -0
- pyrogram/raw/types/channels/channel_participant.py +99 -0
- pyrogram/raw/types/channels/channel_participants.py +107 -0
- pyrogram/raw/types/channels/channel_participants_not_modified.py +78 -0
- pyrogram/raw/types/channels/send_as_peers.py +99 -0
- pyrogram/raw/types/channels/sponsored_message_report_result_ads_hidden.py +78 -0
- pyrogram/raw/types/channels/sponsored_message_report_result_choose_option.py +91 -0
- pyrogram/raw/types/channels/sponsored_message_report_result_reported.py +78 -0
- pyrogram/raw/types/chat.py +182 -0
- pyrogram/raw/types/chat_admin_rights.py +170 -0
- pyrogram/raw/types/chat_admin_with_invites.py +90 -0
- pyrogram/raw/types/chat_banned_rights.py +208 -0
- pyrogram/raw/types/chat_empty.py +74 -0
- pyrogram/raw/types/chat_forbidden.py +82 -0
- pyrogram/raw/types/chat_full.py +242 -0
- pyrogram/raw/types/chat_invite.py +211 -0
- pyrogram/raw/types/chat_invite_already.py +83 -0
- pyrogram/raw/types/chat_invite_exported.py +192 -0
- pyrogram/raw/types/chat_invite_importer.py +114 -0
- pyrogram/raw/types/chat_invite_peek.py +91 -0
- pyrogram/raw/types/chat_invite_public_join_requests.py +78 -0
- pyrogram/raw/types/chat_onlines.py +83 -0
- pyrogram/raw/types/chat_participant.py +101 -0
- pyrogram/raw/types/chat_participant_admin.py +101 -0
- pyrogram/raw/types/chat_participant_creator.py +85 -0
- pyrogram/raw/types/chat_participants.py +90 -0
- pyrogram/raw/types/chat_participants_forbidden.py +86 -0
- pyrogram/raw/types/chat_photo.py +99 -0
- pyrogram/raw/types/chat_photo_empty.py +69 -0
- pyrogram/raw/types/chat_reactions_all.py +74 -0
- pyrogram/raw/types/chat_reactions_none.py +69 -0
- pyrogram/raw/types/chat_reactions_some.py +74 -0
- pyrogram/raw/types/chat_theme.py +74 -0
- pyrogram/raw/types/chat_theme_unique_gift.py +82 -0
- pyrogram/raw/types/chatlists/__init__.py +29 -0
- pyrogram/raw/types/chatlists/chatlist_invite.py +124 -0
- pyrogram/raw/types/chatlists/chatlist_invite_already.py +115 -0
- pyrogram/raw/types/chatlists/chatlist_updates.py +99 -0
- pyrogram/raw/types/chatlists/exported_chatlist_invite.py +91 -0
- pyrogram/raw/types/chatlists/exported_invites.py +99 -0
- pyrogram/raw/types/client_dh_inner_data.py +98 -0
- pyrogram/raw/types/code_settings.py +132 -0
- pyrogram/raw/types/config.py +455 -0
- pyrogram/raw/types/connected_bot.py +119 -0
- pyrogram/raw/types/connected_bot_star_ref.py +131 -0
- pyrogram/raw/types/contact.py +82 -0
- pyrogram/raw/types/contact_birthday.py +82 -0
- pyrogram/raw/types/contact_status.py +91 -0
- pyrogram/raw/types/contacts/__init__.py +37 -0
- pyrogram/raw/types/contacts/blocked.py +99 -0
- pyrogram/raw/types/contacts/blocked_slice.py +107 -0
- pyrogram/raw/types/contacts/contact_birthdays.py +91 -0
- pyrogram/raw/types/contacts/contacts.py +99 -0
- pyrogram/raw/types/contacts/contacts_not_modified.py +78 -0
- pyrogram/raw/types/contacts/found.py +107 -0
- pyrogram/raw/types/contacts/imported_contacts.py +107 -0
- pyrogram/raw/types/contacts/resolved_peer.py +100 -0
- pyrogram/raw/types/contacts/sponsored_peers.py +99 -0
- pyrogram/raw/types/contacts/sponsored_peers_empty.py +78 -0
- pyrogram/raw/types/contacts/top_peers.py +99 -0
- pyrogram/raw/types/contacts/top_peers_disabled.py +78 -0
- pyrogram/raw/types/contacts/top_peers_not_modified.py +78 -0
- pyrogram/raw/types/data_json.py +85 -0
- pyrogram/raw/types/dc_option.py +137 -0
- pyrogram/raw/types/default_history_ttl.py +83 -0
- pyrogram/raw/types/destroy_auth_key_fail.py +78 -0
- pyrogram/raw/types/destroy_auth_key_none.py +78 -0
- pyrogram/raw/types/destroy_auth_key_ok.py +78 -0
- pyrogram/raw/types/destroy_session_none.py +83 -0
- pyrogram/raw/types/destroy_session_ok.py +83 -0
- pyrogram/raw/types/dh_gen_fail.py +99 -0
- pyrogram/raw/types/dh_gen_ok.py +99 -0
- pyrogram/raw/types/dh_gen_retry.py +99 -0
- pyrogram/raw/types/dialog.py +195 -0
- pyrogram/raw/types/dialog_filter.py +180 -0
- pyrogram/raw/types/dialog_filter_chatlist.py +130 -0
- pyrogram/raw/types/dialog_filter_default.py +69 -0
- pyrogram/raw/types/dialog_filter_suggested.py +91 -0
- pyrogram/raw/types/dialog_folder.py +130 -0
- pyrogram/raw/types/dialog_peer.py +83 -0
- pyrogram/raw/types/dialog_peer_folder.py +83 -0
- pyrogram/raw/types/disallowed_gifts_settings.py +98 -0
- pyrogram/raw/types/document.py +164 -0
- pyrogram/raw/types/document_attribute_animated.py +69 -0
- pyrogram/raw/types/document_attribute_audio.py +109 -0
- pyrogram/raw/types/document_attribute_custom_emoji.py +96 -0
- pyrogram/raw/types/document_attribute_filename.py +74 -0
- pyrogram/raw/types/document_attribute_has_stickers.py +69 -0
- pyrogram/raw/types/document_attribute_image_size.py +82 -0
- pyrogram/raw/types/document_attribute_sticker.py +100 -0
- pyrogram/raw/types/document_attribute_video.py +137 -0
- pyrogram/raw/types/document_empty.py +86 -0
- pyrogram/raw/types/draft_message.py +155 -0
- pyrogram/raw/types/draft_message_empty.py +77 -0
- pyrogram/raw/types/email_verification_apple.py +74 -0
- pyrogram/raw/types/email_verification_code.py +74 -0
- pyrogram/raw/types/email_verification_google.py +74 -0
- pyrogram/raw/types/email_verify_purpose_login_change.py +69 -0
- pyrogram/raw/types/email_verify_purpose_login_setup.py +82 -0
- pyrogram/raw/types/email_verify_purpose_passport.py +69 -0
- pyrogram/raw/types/emoji_group.py +90 -0
- pyrogram/raw/types/emoji_group_greeting.py +90 -0
- pyrogram/raw/types/emoji_group_premium.py +82 -0
- pyrogram/raw/types/emoji_keyword.py +82 -0
- pyrogram/raw/types/emoji_keyword_deleted.py +82 -0
- pyrogram/raw/types/emoji_keywords_difference.py +108 -0
- pyrogram/raw/types/emoji_language.py +83 -0
- pyrogram/raw/types/emoji_list.py +95 -0
- pyrogram/raw/types/emoji_list_not_modified.py +82 -0
- pyrogram/raw/types/emoji_status.py +85 -0
- pyrogram/raw/types/emoji_status_collectible.py +149 -0
- pyrogram/raw/types/emoji_status_empty.py +69 -0
- pyrogram/raw/types/emoji_url.py +83 -0
- pyrogram/raw/types/encrypted_chat.py +132 -0
- pyrogram/raw/types/encrypted_chat_discarded.py +92 -0
- pyrogram/raw/types/encrypted_chat_empty.py +84 -0
- pyrogram/raw/types/encrypted_chat_requested.py +135 -0
- pyrogram/raw/types/encrypted_chat_waiting.py +116 -0
- pyrogram/raw/types/encrypted_file.py +115 -0
- pyrogram/raw/types/encrypted_file_empty.py +78 -0
- pyrogram/raw/types/encrypted_message.py +106 -0
- pyrogram/raw/types/encrypted_message_service.py +98 -0
- pyrogram/raw/types/exported_chatlist_invite.py +102 -0
- pyrogram/raw/types/exported_contact_token.py +91 -0
- pyrogram/raw/types/exported_message_link.py +91 -0
- pyrogram/raw/types/exported_story_link.py +83 -0
- pyrogram/raw/types/fact_check.py +110 -0
- pyrogram/raw/types/file_hash.py +101 -0
- pyrogram/raw/types/folder.py +112 -0
- pyrogram/raw/types/folder_peer.py +82 -0
- pyrogram/raw/types/forum_topic.py +235 -0
- pyrogram/raw/types/forum_topic_deleted.py +74 -0
- pyrogram/raw/types/found_story.py +82 -0
- pyrogram/raw/types/fragment/__init__.py +25 -0
- pyrogram/raw/types/fragment/collectible_info.py +123 -0
- pyrogram/raw/types/game.py +126 -0
- pyrogram/raw/types/geo_point.py +101 -0
- pyrogram/raw/types/geo_point_address.py +103 -0
- pyrogram/raw/types/geo_point_empty.py +69 -0
- pyrogram/raw/types/global_privacy_settings.py +133 -0
- pyrogram/raw/types/group_call.py +259 -0
- pyrogram/raw/types/group_call_discarded.py +90 -0
- pyrogram/raw/types/group_call_donor.py +98 -0
- pyrogram/raw/types/group_call_message.py +115 -0
- pyrogram/raw/types/group_call_participant.py +217 -0
- pyrogram/raw/types/group_call_participant_video.py +99 -0
- pyrogram/raw/types/group_call_participant_video_source_group.py +82 -0
- pyrogram/raw/types/group_call_stream_channel.py +90 -0
- pyrogram/raw/types/help/__init__.py +56 -0
- pyrogram/raw/types/help/app_config.py +91 -0
- pyrogram/raw/types/help/app_config_not_modified.py +78 -0
- pyrogram/raw/types/help/app_update.py +144 -0
- pyrogram/raw/types/help/config_simple.py +90 -0
- pyrogram/raw/types/help/countries_list.py +91 -0
- pyrogram/raw/types/help/countries_list_not_modified.py +78 -0
- pyrogram/raw/types/help/country.py +107 -0
- pyrogram/raw/types/help/country_code.py +96 -0
- pyrogram/raw/types/help/deep_link_info.py +101 -0
- pyrogram/raw/types/help/deep_link_info_empty.py +78 -0
- pyrogram/raw/types/help/invite_text.py +83 -0
- pyrogram/raw/types/help/no_app_update.py +78 -0
- pyrogram/raw/types/help/passport_config.py +91 -0
- pyrogram/raw/types/help/passport_config_not_modified.py +78 -0
- pyrogram/raw/types/help/peer_color_option.py +120 -0
- pyrogram/raw/types/help/peer_color_profile_set.py +90 -0
- pyrogram/raw/types/help/peer_color_set.py +74 -0
- pyrogram/raw/types/help/peer_colors.py +92 -0
- pyrogram/raw/types/help/peer_colors_not_modified.py +79 -0
- pyrogram/raw/types/help/premium_promo.py +123 -0
- pyrogram/raw/types/help/promo_data.py +161 -0
- pyrogram/raw/types/help/promo_data_empty.py +83 -0
- pyrogram/raw/types/help/recent_me_urls.py +99 -0
- pyrogram/raw/types/help/support.py +91 -0
- pyrogram/raw/types/help/support_name.py +83 -0
- pyrogram/raw/types/help/terms_of_service.py +107 -0
- pyrogram/raw/types/help/terms_of_service_update.py +91 -0
- pyrogram/raw/types/help/terms_of_service_update_empty.py +83 -0
- pyrogram/raw/types/help/timezones_list.py +91 -0
- pyrogram/raw/types/help/timezones_list_not_modified.py +78 -0
- pyrogram/raw/types/help/user_info.py +108 -0
- pyrogram/raw/types/help/user_info_empty.py +79 -0
- pyrogram/raw/types/high_score.py +90 -0
- pyrogram/raw/types/http_wait.py +90 -0
- pyrogram/raw/types/imported_contact.py +82 -0
- pyrogram/raw/types/inline_bot_switch_pm.py +82 -0
- pyrogram/raw/types/inline_bot_web_view.py +82 -0
- pyrogram/raw/types/inline_query_peer_type_bot_pm.py +69 -0
- pyrogram/raw/types/inline_query_peer_type_broadcast.py +69 -0
- pyrogram/raw/types/inline_query_peer_type_chat.py +69 -0
- pyrogram/raw/types/inline_query_peer_type_megagroup.py +69 -0
- pyrogram/raw/types/inline_query_peer_type_pm.py +69 -0
- pyrogram/raw/types/inline_query_peer_type_same_bot_pm.py +69 -0
- pyrogram/raw/types/input_ai_compose_tone_default.py +74 -0
- pyrogram/raw/types/input_ai_compose_tone_id.py +82 -0
- pyrogram/raw/types/input_ai_compose_tone_slug.py +74 -0
- pyrogram/raw/types/input_app_event.py +98 -0
- pyrogram/raw/types/input_bot_app_id.py +82 -0
- pyrogram/raw/types/input_bot_app_short_name.py +82 -0
- pyrogram/raw/types/input_bot_inline_message_game.py +78 -0
- pyrogram/raw/types/input_bot_inline_message_id.py +99 -0
- pyrogram/raw/types/input_bot_inline_message_id64.py +107 -0
- pyrogram/raw/types/input_bot_inline_message_media_auto.py +102 -0
- pyrogram/raw/types/input_bot_inline_message_media_contact.py +110 -0
- pyrogram/raw/types/input_bot_inline_message_media_geo.py +113 -0
- pyrogram/raw/types/input_bot_inline_message_media_invoice.py +136 -0
- pyrogram/raw/types/input_bot_inline_message_media_venue.py +126 -0
- pyrogram/raw/types/input_bot_inline_message_media_web_page.py +128 -0
- pyrogram/raw/types/input_bot_inline_message_rich_message.py +86 -0
- pyrogram/raw/types/input_bot_inline_message_text.py +108 -0
- pyrogram/raw/types/input_bot_inline_result.py +139 -0
- pyrogram/raw/types/input_bot_inline_result_document.py +118 -0
- pyrogram/raw/types/input_bot_inline_result_game.py +90 -0
- pyrogram/raw/types/input_bot_inline_result_photo.py +98 -0
- pyrogram/raw/types/input_business_away_message.py +98 -0
- pyrogram/raw/types/input_business_bot_recipients.py +118 -0
- pyrogram/raw/types/input_business_chat_link.py +95 -0
- pyrogram/raw/types/input_business_greeting_message.py +90 -0
- pyrogram/raw/types/input_business_intro.py +94 -0
- pyrogram/raw/types/input_business_recipients.py +108 -0
- pyrogram/raw/types/input_channel.py +82 -0
- pyrogram/raw/types/input_channel_empty.py +69 -0
- pyrogram/raw/types/input_channel_from_message.py +90 -0
- pyrogram/raw/types/input_chat_photo.py +74 -0
- pyrogram/raw/types/input_chat_photo_empty.py +69 -0
- pyrogram/raw/types/input_chat_theme.py +74 -0
- pyrogram/raw/types/input_chat_theme_empty.py +69 -0
- pyrogram/raw/types/input_chat_theme_unique_gift.py +74 -0
- pyrogram/raw/types/input_chat_uploaded_photo.py +107 -0
- pyrogram/raw/types/input_chatlist_dialog_filter.py +74 -0
- pyrogram/raw/types/input_check_password_empty.py +69 -0
- pyrogram/raw/types/input_check_password_srp.py +90 -0
- pyrogram/raw/types/input_client_proxy.py +82 -0
- pyrogram/raw/types/input_collectible_phone.py +74 -0
- pyrogram/raw/types/input_collectible_username.py +74 -0
- pyrogram/raw/types/input_dialog_peer.py +74 -0
- pyrogram/raw/types/input_dialog_peer_folder.py +74 -0
- pyrogram/raw/types/input_document.py +90 -0
- pyrogram/raw/types/input_document_empty.py +69 -0
- pyrogram/raw/types/input_document_file_location.py +98 -0
- pyrogram/raw/types/input_emoji_status_collectible.py +85 -0
- pyrogram/raw/types/input_encrypted_chat.py +82 -0
- pyrogram/raw/types/input_encrypted_file.py +82 -0
- pyrogram/raw/types/input_encrypted_file_big_uploaded.py +90 -0
- pyrogram/raw/types/input_encrypted_file_empty.py +69 -0
- pyrogram/raw/types/input_encrypted_file_location.py +82 -0
- pyrogram/raw/types/input_encrypted_file_uploaded.py +98 -0
- pyrogram/raw/types/input_file.py +98 -0
- pyrogram/raw/types/input_file_big.py +90 -0
- pyrogram/raw/types/input_file_location.py +98 -0
- pyrogram/raw/types/input_file_story_document.py +74 -0
- pyrogram/raw/types/input_folder_peer.py +82 -0
- pyrogram/raw/types/input_game_id.py +82 -0
- pyrogram/raw/types/input_game_short_name.py +82 -0
- pyrogram/raw/types/input_geo_point.py +93 -0
- pyrogram/raw/types/input_geo_point_empty.py +69 -0
- pyrogram/raw/types/input_group_call.py +82 -0
- pyrogram/raw/types/input_group_call_invite_message.py +74 -0
- pyrogram/raw/types/input_group_call_slug.py +74 -0
- pyrogram/raw/types/input_group_call_stream.py +110 -0
- pyrogram/raw/types/input_invoice_business_bot_transfer_stars.py +82 -0
- pyrogram/raw/types/input_invoice_chat_invite_subscription.py +74 -0
- pyrogram/raw/types/input_invoice_message.py +82 -0
- pyrogram/raw/types/input_invoice_premium_auth_code.py +74 -0
- pyrogram/raw/types/input_invoice_premium_gift_code.py +82 -0
- pyrogram/raw/types/input_invoice_premium_gift_stars.py +94 -0
- pyrogram/raw/types/input_invoice_slug.py +74 -0
- pyrogram/raw/types/input_invoice_star_gift.py +106 -0
- pyrogram/raw/types/input_invoice_star_gift_auction_bid.py +116 -0
- pyrogram/raw/types/input_invoice_star_gift_drop_original_details.py +74 -0
- pyrogram/raw/types/input_invoice_star_gift_prepaid_upgrade.py +82 -0
- pyrogram/raw/types/input_invoice_star_gift_resale.py +90 -0
- pyrogram/raw/types/input_invoice_star_gift_transfer.py +82 -0
- pyrogram/raw/types/input_invoice_star_gift_upgrade.py +82 -0
- pyrogram/raw/types/input_invoice_stars.py +74 -0
- pyrogram/raw/types/input_keyboard_button_request_peer.py +137 -0
- pyrogram/raw/types/input_keyboard_button_url_auth.py +126 -0
- pyrogram/raw/types/input_keyboard_button_user_profile.py +103 -0
- pyrogram/raw/types/input_media_area_channel_post.py +90 -0
- pyrogram/raw/types/input_media_area_venue.py +90 -0
- pyrogram/raw/types/input_media_contact.py +98 -0
- pyrogram/raw/types/input_media_dice.py +74 -0
- pyrogram/raw/types/input_media_document.py +119 -0
- pyrogram/raw/types/input_media_document_external.py +110 -0
- pyrogram/raw/types/input_media_empty.py +69 -0
- pyrogram/raw/types/input_media_game.py +74 -0
- pyrogram/raw/types/input_media_geo_live.py +109 -0
- pyrogram/raw/types/input_media_geo_point.py +74 -0
- pyrogram/raw/types/input_media_invoice.py +146 -0
- pyrogram/raw/types/input_media_paid_media.py +93 -0
- pyrogram/raw/types/input_media_photo.py +107 -0
- pyrogram/raw/types/input_media_photo_external.py +91 -0
- pyrogram/raw/types/input_media_poll.py +125 -0
- pyrogram/raw/types/input_media_stake_dice.py +90 -0
- pyrogram/raw/types/input_media_story.py +82 -0
- pyrogram/raw/types/input_media_todo.py +74 -0
- pyrogram/raw/types/input_media_uploaded_document.py +158 -0
- pyrogram/raw/types/input_media_uploaded_photo.py +117 -0
- pyrogram/raw/types/input_media_venue.py +114 -0
- pyrogram/raw/types/input_media_web_page.py +94 -0
- pyrogram/raw/types/input_message_callback_query.py +82 -0
- pyrogram/raw/types/input_message_entity_mention_name.py +90 -0
- pyrogram/raw/types/input_message_id.py +74 -0
- pyrogram/raw/types/input_message_pinned.py +69 -0
- pyrogram/raw/types/input_message_read_metric.py +114 -0
- pyrogram/raw/types/input_message_reply_to.py +74 -0
- pyrogram/raw/types/input_messages_filter_chat_photos.py +69 -0
- pyrogram/raw/types/input_messages_filter_contacts.py +69 -0
- pyrogram/raw/types/input_messages_filter_document.py +69 -0
- pyrogram/raw/types/input_messages_filter_empty.py +69 -0
- pyrogram/raw/types/input_messages_filter_geo.py +69 -0
- pyrogram/raw/types/input_messages_filter_gif.py +69 -0
- pyrogram/raw/types/input_messages_filter_music.py +69 -0
- pyrogram/raw/types/input_messages_filter_my_mentions.py +69 -0
- pyrogram/raw/types/input_messages_filter_phone_calls.py +74 -0
- pyrogram/raw/types/input_messages_filter_photo_video.py +69 -0
- pyrogram/raw/types/input_messages_filter_photos.py +69 -0
- pyrogram/raw/types/input_messages_filter_pinned.py +69 -0
- pyrogram/raw/types/input_messages_filter_poll.py +69 -0
- pyrogram/raw/types/input_messages_filter_round_video.py +69 -0
- pyrogram/raw/types/input_messages_filter_round_voice.py +69 -0
- pyrogram/raw/types/input_messages_filter_url.py +69 -0
- pyrogram/raw/types/input_messages_filter_video.py +69 -0
- pyrogram/raw/types/input_messages_filter_voice.py +69 -0
- pyrogram/raw/types/input_notify_broadcasts.py +69 -0
- pyrogram/raw/types/input_notify_chats.py +69 -0
- pyrogram/raw/types/input_notify_forum_topic.py +82 -0
- pyrogram/raw/types/input_notify_peer.py +74 -0
- pyrogram/raw/types/input_notify_users.py +69 -0
- pyrogram/raw/types/input_page_block_map.py +106 -0
- pyrogram/raw/types/input_passkey_credential_firebase_pnv.py +74 -0
- pyrogram/raw/types/input_passkey_credential_public_key.py +90 -0
- pyrogram/raw/types/input_passkey_response_login.py +98 -0
- pyrogram/raw/types/input_passkey_response_register.py +82 -0
- pyrogram/raw/types/input_payment_credentials.py +82 -0
- pyrogram/raw/types/input_payment_credentials_apple_pay.py +74 -0
- pyrogram/raw/types/input_payment_credentials_google_pay.py +74 -0
- pyrogram/raw/types/input_payment_credentials_saved.py +82 -0
- pyrogram/raw/types/input_peer_channel.py +82 -0
- pyrogram/raw/types/input_peer_channel_from_message.py +90 -0
- pyrogram/raw/types/input_peer_chat.py +74 -0
- pyrogram/raw/types/input_peer_color_collectible.py +74 -0
- pyrogram/raw/types/input_peer_empty.py +69 -0
- pyrogram/raw/types/input_peer_notify_settings.py +133 -0
- pyrogram/raw/types/input_peer_photo_file_location.py +90 -0
- pyrogram/raw/types/input_peer_self.py +69 -0
- pyrogram/raw/types/input_peer_user.py +82 -0
- pyrogram/raw/types/input_peer_user_from_message.py +90 -0
- pyrogram/raw/types/input_phone_call.py +82 -0
- pyrogram/raw/types/input_phone_contact.py +110 -0
- pyrogram/raw/types/input_photo.py +90 -0
- pyrogram/raw/types/input_photo_empty.py +69 -0
- pyrogram/raw/types/input_photo_file_location.py +98 -0
- pyrogram/raw/types/input_photo_legacy_file_location.py +114 -0
- pyrogram/raw/types/input_poll_answer.py +86 -0
- pyrogram/raw/types/input_privacy_key_about.py +69 -0
- pyrogram/raw/types/input_privacy_key_added_by_phone.py +69 -0
- pyrogram/raw/types/input_privacy_key_birthday.py +69 -0
- pyrogram/raw/types/input_privacy_key_chat_invite.py +69 -0
- pyrogram/raw/types/input_privacy_key_forwards.py +69 -0
- pyrogram/raw/types/input_privacy_key_no_paid_messages.py +69 -0
- pyrogram/raw/types/input_privacy_key_phone_call.py +69 -0
- pyrogram/raw/types/input_privacy_key_phone_number.py +69 -0
- pyrogram/raw/types/input_privacy_key_phone_p2_p.py +69 -0
- pyrogram/raw/types/input_privacy_key_profile_photo.py +69 -0
- pyrogram/raw/types/input_privacy_key_saved_music.py +69 -0
- pyrogram/raw/types/input_privacy_key_star_gifts_auto_save.py +69 -0
- pyrogram/raw/types/input_privacy_key_status_timestamp.py +69 -0
- pyrogram/raw/types/input_privacy_key_voice_messages.py +69 -0
- pyrogram/raw/types/input_privacy_value_allow_all.py +69 -0
- pyrogram/raw/types/input_privacy_value_allow_bots.py +69 -0
- pyrogram/raw/types/input_privacy_value_allow_chat_participants.py +74 -0
- pyrogram/raw/types/input_privacy_value_allow_close_friends.py +69 -0
- pyrogram/raw/types/input_privacy_value_allow_contacts.py +69 -0
- pyrogram/raw/types/input_privacy_value_allow_premium.py +69 -0
- pyrogram/raw/types/input_privacy_value_allow_users.py +74 -0
- pyrogram/raw/types/input_privacy_value_disallow_all.py +69 -0
- pyrogram/raw/types/input_privacy_value_disallow_bots.py +69 -0
- pyrogram/raw/types/input_privacy_value_disallow_chat_participants.py +74 -0
- pyrogram/raw/types/input_privacy_value_disallow_contacts.py +69 -0
- pyrogram/raw/types/input_privacy_value_disallow_users.py +74 -0
- pyrogram/raw/types/input_quick_reply_shortcut.py +74 -0
- pyrogram/raw/types/input_quick_reply_shortcut_id.py +74 -0
- pyrogram/raw/types/input_reply_to_message.py +151 -0
- pyrogram/raw/types/input_reply_to_mono_forum.py +74 -0
- pyrogram/raw/types/input_reply_to_story.py +82 -0
- pyrogram/raw/types/input_report_reason_child_abuse.py +69 -0
- pyrogram/raw/types/input_report_reason_copyright.py +69 -0
- pyrogram/raw/types/input_report_reason_fake.py +69 -0
- pyrogram/raw/types/input_report_reason_geo_irrelevant.py +69 -0
- pyrogram/raw/types/input_report_reason_illegal_drugs.py +69 -0
- pyrogram/raw/types/input_report_reason_other.py +69 -0
- pyrogram/raw/types/input_report_reason_personal_details.py +69 -0
- pyrogram/raw/types/input_report_reason_pornography.py +69 -0
- pyrogram/raw/types/input_report_reason_spam.py +69 -0
- pyrogram/raw/types/input_report_reason_violence.py +69 -0
- pyrogram/raw/types/input_rich_file_document.py +82 -0
- pyrogram/raw/types/input_rich_file_photo.py +82 -0
- pyrogram/raw/types/input_rich_message.py +118 -0
- pyrogram/raw/types/input_rich_message_html.py +98 -0
- pyrogram/raw/types/input_rich_message_markdown.py +98 -0
- pyrogram/raw/types/input_saved_star_gift_chat.py +82 -0
- pyrogram/raw/types/input_saved_star_gift_slug.py +74 -0
- pyrogram/raw/types/input_saved_star_gift_user.py +74 -0
- pyrogram/raw/types/input_secure_file.py +82 -0
- pyrogram/raw/types/input_secure_file_location.py +82 -0
- pyrogram/raw/types/input_secure_file_uploaded.py +106 -0
- pyrogram/raw/types/input_secure_value.py +146 -0
- pyrogram/raw/types/input_send_message_rich_message_draft_action.py +82 -0
- pyrogram/raw/types/input_single_media.py +102 -0
- pyrogram/raw/types/input_star_gift_auction.py +74 -0
- pyrogram/raw/types/input_star_gift_auction_slug.py +74 -0
- pyrogram/raw/types/input_stars_transaction.py +82 -0
- pyrogram/raw/types/input_sticker_set_animated_emoji.py +69 -0
- pyrogram/raw/types/input_sticker_set_animated_emoji_animations.py +69 -0
- pyrogram/raw/types/input_sticker_set_dice.py +74 -0
- pyrogram/raw/types/input_sticker_set_emoji_channel_default_statuses.py +69 -0
- pyrogram/raw/types/input_sticker_set_emoji_default_statuses.py +69 -0
- pyrogram/raw/types/input_sticker_set_emoji_default_topic_icons.py +69 -0
- pyrogram/raw/types/input_sticker_set_emoji_generic_animations.py +69 -0
- pyrogram/raw/types/input_sticker_set_empty.py +69 -0
- pyrogram/raw/types/input_sticker_set_id.py +82 -0
- pyrogram/raw/types/input_sticker_set_item.py +103 -0
- pyrogram/raw/types/input_sticker_set_premium_gifts.py +69 -0
- pyrogram/raw/types/input_sticker_set_short_name.py +74 -0
- pyrogram/raw/types/input_sticker_set_thumb.py +82 -0
- pyrogram/raw/types/input_sticker_set_ton_gifts.py +69 -0
- pyrogram/raw/types/input_stickered_media_document.py +74 -0
- pyrogram/raw/types/input_stickered_media_photo.py +74 -0
- pyrogram/raw/types/input_store_payment_auth_code.py +114 -0
- pyrogram/raw/types/input_store_payment_gift_premium.py +90 -0
- pyrogram/raw/types/input_store_payment_premium_gift_code.py +112 -0
- pyrogram/raw/types/input_store_payment_premium_giveaway.py +149 -0
- pyrogram/raw/types/input_store_payment_premium_subscription.py +80 -0
- pyrogram/raw/types/input_store_payment_stars_gift.py +98 -0
- pyrogram/raw/types/input_store_payment_stars_giveaway.py +165 -0
- pyrogram/raw/types/input_store_payment_stars_topup.py +102 -0
- pyrogram/raw/types/input_takeout_file_location.py +69 -0
- pyrogram/raw/types/input_theme.py +82 -0
- pyrogram/raw/types/input_theme_settings.py +129 -0
- pyrogram/raw/types/input_theme_slug.py +74 -0
- pyrogram/raw/types/input_user.py +82 -0
- pyrogram/raw/types/input_user_empty.py +69 -0
- pyrogram/raw/types/input_user_from_message.py +90 -0
- pyrogram/raw/types/input_user_self.py +69 -0
- pyrogram/raw/types/input_wall_paper.py +82 -0
- pyrogram/raw/types/input_wall_paper_no_file.py +74 -0
- pyrogram/raw/types/input_wall_paper_slug.py +74 -0
- pyrogram/raw/types/input_web_document.py +98 -0
- pyrogram/raw/types/input_web_file_audio_album_thumb_location.py +102 -0
- pyrogram/raw/types/input_web_file_geo_point_location.py +114 -0
- pyrogram/raw/types/input_web_file_location.py +82 -0
- pyrogram/raw/types/invoice.py +175 -0
- pyrogram/raw/types/ip_port.py +82 -0
- pyrogram/raw/types/ip_port_secret.py +90 -0
- pyrogram/raw/types/join_chat_bot_result_approved.py +69 -0
- pyrogram/raw/types/join_chat_bot_result_declined.py +69 -0
- pyrogram/raw/types/join_chat_bot_result_queued.py +69 -0
- pyrogram/raw/types/join_chat_bot_result_web_view.py +74 -0
- pyrogram/raw/types/json_array.py +74 -0
- pyrogram/raw/types/json_bool.py +74 -0
- pyrogram/raw/types/json_null.py +69 -0
- pyrogram/raw/types/json_number.py +74 -0
- pyrogram/raw/types/json_object.py +74 -0
- pyrogram/raw/types/json_object_value.py +82 -0
- pyrogram/raw/types/json_string.py +74 -0
- pyrogram/raw/types/keyboard_button.py +95 -0
- pyrogram/raw/types/keyboard_button_buy.py +95 -0
- pyrogram/raw/types/keyboard_button_callback.py +109 -0
- pyrogram/raw/types/keyboard_button_copy.py +103 -0
- pyrogram/raw/types/keyboard_button_game.py +95 -0
- pyrogram/raw/types/keyboard_button_request_geo_location.py +95 -0
- pyrogram/raw/types/keyboard_button_request_peer.py +119 -0
- pyrogram/raw/types/keyboard_button_request_phone.py +95 -0
- pyrogram/raw/types/keyboard_button_request_poll.py +104 -0
- pyrogram/raw/types/keyboard_button_row.py +74 -0
- pyrogram/raw/types/keyboard_button_simple_web_view.py +103 -0
- pyrogram/raw/types/keyboard_button_style.py +95 -0
- pyrogram/raw/types/keyboard_button_switch_inline.py +119 -0
- pyrogram/raw/types/keyboard_button_url.py +103 -0
- pyrogram/raw/types/keyboard_button_url_auth.py +120 -0
- pyrogram/raw/types/keyboard_button_user_profile.py +103 -0
- pyrogram/raw/types/keyboard_button_web_view.py +103 -0
- pyrogram/raw/types/labeled_price.py +82 -0
- pyrogram/raw/types/lang_pack_difference.py +108 -0
- pyrogram/raw/types/lang_pack_language.py +161 -0
- pyrogram/raw/types/lang_pack_string.py +91 -0
- pyrogram/raw/types/lang_pack_string_deleted.py +83 -0
- pyrogram/raw/types/lang_pack_string_pluralized.py +138 -0
- pyrogram/raw/types/mask_coords.py +98 -0
- pyrogram/raw/types/media_area_channel_post.py +90 -0
- pyrogram/raw/types/media_area_coordinates.py +117 -0
- pyrogram/raw/types/media_area_geo_point.py +94 -0
- pyrogram/raw/types/media_area_star_gift.py +82 -0
- pyrogram/raw/types/media_area_suggested_reaction.py +96 -0
- pyrogram/raw/types/media_area_url.py +82 -0
- pyrogram/raw/types/media_area_venue.py +122 -0
- pyrogram/raw/types/media_area_weather.py +98 -0
- pyrogram/raw/types/message.py +478 -0
- pyrogram/raw/types/message_action_boost_apply.py +74 -0
- pyrogram/raw/types/message_action_bot_allowed.py +99 -0
- pyrogram/raw/types/message_action_change_creator.py +74 -0
- pyrogram/raw/types/message_action_channel_create.py +74 -0
- pyrogram/raw/types/message_action_channel_migrate_from.py +82 -0
- pyrogram/raw/types/message_action_chat_add_user.py +74 -0
- pyrogram/raw/types/message_action_chat_create.py +82 -0
- pyrogram/raw/types/message_action_chat_delete_photo.py +69 -0
- pyrogram/raw/types/message_action_chat_delete_user.py +74 -0
- pyrogram/raw/types/message_action_chat_edit_photo.py +74 -0
- pyrogram/raw/types/message_action_chat_edit_title.py +74 -0
- pyrogram/raw/types/message_action_chat_joined_by_link.py +74 -0
- pyrogram/raw/types/message_action_chat_joined_by_request.py +69 -0
- pyrogram/raw/types/message_action_chat_migrate_to.py +74 -0
- pyrogram/raw/types/message_action_conference_call.py +113 -0
- pyrogram/raw/types/message_action_contact_sign_up.py +69 -0
- pyrogram/raw/types/message_action_custom_action.py +74 -0
- pyrogram/raw/types/message_action_empty.py +69 -0
- pyrogram/raw/types/message_action_game_score.py +82 -0
- pyrogram/raw/types/message_action_geo_proximity_reached.py +90 -0
- pyrogram/raw/types/message_action_gift_code.py +152 -0
- pyrogram/raw/types/message_action_gift_premium.py +120 -0
- pyrogram/raw/types/message_action_gift_stars.py +119 -0
- pyrogram/raw/types/message_action_gift_ton.py +109 -0
- pyrogram/raw/types/message_action_giveaway_launch.py +77 -0
- pyrogram/raw/types/message_action_giveaway_results.py +90 -0
- pyrogram/raw/types/message_action_group_call.py +85 -0
- pyrogram/raw/types/message_action_group_call_scheduled.py +82 -0
- pyrogram/raw/types/message_action_history_clear.py +69 -0
- pyrogram/raw/types/message_action_invite_to_group_call.py +82 -0
- pyrogram/raw/types/message_action_managed_bot_created.py +74 -0
- pyrogram/raw/types/message_action_new_creator_pending.py +74 -0
- pyrogram/raw/types/message_action_no_forwards_request.py +90 -0
- pyrogram/raw/types/message_action_no_forwards_toggle.py +82 -0
- pyrogram/raw/types/message_action_paid_messages_price.py +82 -0
- pyrogram/raw/types/message_action_paid_messages_refunded.py +82 -0
- pyrogram/raw/types/message_action_payment_refunded.py +109 -0
- pyrogram/raw/types/message_action_payment_sent.py +114 -0
- pyrogram/raw/types/message_action_payment_sent_me.py +140 -0
- pyrogram/raw/types/message_action_phone_call.py +101 -0
- pyrogram/raw/types/message_action_pin_message.py +69 -0
- pyrogram/raw/types/message_action_poll_append_answer.py +74 -0
- pyrogram/raw/types/message_action_poll_delete_answer.py +74 -0
- pyrogram/raw/types/message_action_prize_stars.py +106 -0
- pyrogram/raw/types/message_action_requested_peer.py +82 -0
- pyrogram/raw/types/message_action_requested_peer_sent_me.py +82 -0
- pyrogram/raw/types/message_action_screenshot_taken.py +69 -0
- pyrogram/raw/types/message_action_secure_values_sent.py +74 -0
- pyrogram/raw/types/message_action_secure_values_sent_me.py +82 -0
- pyrogram/raw/types/message_action_set_chat_theme.py +74 -0
- pyrogram/raw/types/message_action_set_chat_wall_paper.py +88 -0
- pyrogram/raw/types/message_action_set_messages_ttl.py +85 -0
- pyrogram/raw/types/message_action_star_gift.py +233 -0
- pyrogram/raw/types/message_action_star_gift_purchase_offer.py +104 -0
- pyrogram/raw/types/message_action_star_gift_purchase_offer_declined.py +90 -0
- pyrogram/raw/types/message_action_star_gift_unique.py +217 -0
- pyrogram/raw/types/message_action_suggest_birthday.py +74 -0
- pyrogram/raw/types/message_action_suggest_profile_photo.py +74 -0
- pyrogram/raw/types/message_action_suggested_post_approval.py +108 -0
- pyrogram/raw/types/message_action_suggested_post_refund.py +74 -0
- pyrogram/raw/types/message_action_suggested_post_success.py +74 -0
- pyrogram/raw/types/message_action_todo_append_tasks.py +74 -0
- pyrogram/raw/types/message_action_todo_completions.py +82 -0
- pyrogram/raw/types/message_action_topic_create.py +99 -0
- pyrogram/raw/types/message_action_topic_edit.py +104 -0
- pyrogram/raw/types/message_action_web_view_data_sent.py +74 -0
- pyrogram/raw/types/message_action_web_view_data_sent_me.py +82 -0
- pyrogram/raw/types/message_empty.py +86 -0
- pyrogram/raw/types/message_entity_bank_card.py +82 -0
- pyrogram/raw/types/message_entity_blockquote.py +90 -0
- pyrogram/raw/types/message_entity_bold.py +82 -0
- pyrogram/raw/types/message_entity_bot_command.py +82 -0
- pyrogram/raw/types/message_entity_cashtag.py +82 -0
- pyrogram/raw/types/message_entity_code.py +82 -0
- pyrogram/raw/types/message_entity_custom_emoji.py +90 -0
- pyrogram/raw/types/message_entity_diff_delete.py +82 -0
- pyrogram/raw/types/message_entity_diff_insert.py +82 -0
- pyrogram/raw/types/message_entity_diff_replace.py +90 -0
- pyrogram/raw/types/message_entity_email.py +82 -0
- pyrogram/raw/types/message_entity_formatted_date.py +128 -0
- pyrogram/raw/types/message_entity_hashtag.py +82 -0
- pyrogram/raw/types/message_entity_italic.py +82 -0
- pyrogram/raw/types/message_entity_mention.py +82 -0
- pyrogram/raw/types/message_entity_mention_name.py +90 -0
- pyrogram/raw/types/message_entity_phone.py +82 -0
- pyrogram/raw/types/message_entity_pre.py +90 -0
- pyrogram/raw/types/message_entity_spoiler.py +82 -0
- pyrogram/raw/types/message_entity_strike.py +82 -0
- pyrogram/raw/types/message_entity_text_url.py +90 -0
- pyrogram/raw/types/message_entity_underline.py +82 -0
- pyrogram/raw/types/message_entity_unknown.py +82 -0
- pyrogram/raw/types/message_entity_url.py +82 -0
- pyrogram/raw/types/message_extended_media.py +74 -0
- pyrogram/raw/types/message_extended_media_preview.py +105 -0
- pyrogram/raw/types/message_fwd_header.py +181 -0
- pyrogram/raw/types/message_media_contact.py +116 -0
- pyrogram/raw/types/message_media_dice.py +104 -0
- pyrogram/raw/types/message_media_document.py +156 -0
- pyrogram/raw/types/message_media_empty.py +79 -0
- pyrogram/raw/types/message_media_game.py +84 -0
- pyrogram/raw/types/message_media_geo.py +84 -0
- pyrogram/raw/types/message_media_geo_live.py +112 -0
- pyrogram/raw/types/message_media_giveaway.py +151 -0
- pyrogram/raw/types/message_media_giveaway_results.py +174 -0
- pyrogram/raw/types/message_media_invoice.py +159 -0
- pyrogram/raw/types/message_media_paid_media.py +92 -0
- pyrogram/raw/types/message_media_photo.py +119 -0
- pyrogram/raw/types/message_media_poll.py +104 -0
- pyrogram/raw/types/message_media_story.py +110 -0
- pyrogram/raw/types/message_media_to_do.py +96 -0
- pyrogram/raw/types/message_media_unsupported.py +79 -0
- pyrogram/raw/types/message_media_venue.py +124 -0
- pyrogram/raw/types/message_media_video_stream.py +92 -0
- pyrogram/raw/types/message_media_web_page.py +110 -0
- pyrogram/raw/types/message_peer_reaction.py +110 -0
- pyrogram/raw/types/message_peer_vote.py +90 -0
- pyrogram/raw/types/message_peer_vote_input_option.py +82 -0
- pyrogram/raw/types/message_peer_vote_multiple.py +90 -0
- pyrogram/raw/types/message_range.py +91 -0
- pyrogram/raw/types/message_reactions.py +114 -0
- pyrogram/raw/types/message_reactor.py +104 -0
- pyrogram/raw/types/message_replies.py +127 -0
- pyrogram/raw/types/message_reply_header.py +186 -0
- pyrogram/raw/types/message_reply_story_header.py +82 -0
- pyrogram/raw/types/message_report_option.py +82 -0
- pyrogram/raw/types/message_service.py +191 -0
- pyrogram/raw/types/message_views.py +96 -0
- pyrogram/raw/types/messages/__init__.py +118 -0
- pyrogram/raw/types/messages/affected_found_messages.py +107 -0
- pyrogram/raw/types/messages/affected_history.py +106 -0
- pyrogram/raw/types/messages/affected_messages.py +94 -0
- pyrogram/raw/types/messages/all_stickers.py +93 -0
- pyrogram/raw/types/messages/all_stickers_not_modified.py +80 -0
- pyrogram/raw/types/messages/archived_stickers.py +91 -0
- pyrogram/raw/types/messages/available_effects.py +99 -0
- pyrogram/raw/types/messages/available_effects_not_modified.py +78 -0
- pyrogram/raw/types/messages/available_reactions.py +91 -0
- pyrogram/raw/types/messages/available_reactions_not_modified.py +78 -0
- pyrogram/raw/types/messages/bot_app.py +103 -0
- pyrogram/raw/types/messages/bot_callback_answer.py +121 -0
- pyrogram/raw/types/messages/bot_prepared_inline_message.py +91 -0
- pyrogram/raw/types/messages/bot_results.py +144 -0
- pyrogram/raw/types/messages/channel_messages.py +157 -0
- pyrogram/raw/types/messages/chat_admins_with_invites.py +91 -0
- pyrogram/raw/types/messages/chat_full.py +100 -0
- pyrogram/raw/types/messages/chat_invite_importers.py +99 -0
- pyrogram/raw/types/messages/chat_invite_join_result_ok.py +84 -0
- pyrogram/raw/types/messages/chat_invite_join_result_web_view.py +100 -0
- pyrogram/raw/types/messages/chats.py +90 -0
- pyrogram/raw/types/messages/chats_slice.py +98 -0
- pyrogram/raw/types/messages/checked_history_import_peer.py +83 -0
- pyrogram/raw/types/messages/composed_message_with_ai.py +95 -0
- pyrogram/raw/types/messages/dh_config.py +107 -0
- pyrogram/raw/types/messages/dh_config_not_modified.py +83 -0
- pyrogram/raw/types/messages/dialog_filters.py +91 -0
- pyrogram/raw/types/messages/dialogs.py +107 -0
- pyrogram/raw/types/messages/dialogs_not_modified.py +83 -0
- pyrogram/raw/types/messages/dialogs_slice.py +115 -0
- pyrogram/raw/types/messages/discussion_message.py +136 -0
- pyrogram/raw/types/messages/emoji_game_dice_info.py +118 -0
- pyrogram/raw/types/messages/emoji_game_outcome.py +90 -0
- pyrogram/raw/types/messages/emoji_game_unavailable.py +78 -0
- pyrogram/raw/types/messages/emoji_groups.py +94 -0
- pyrogram/raw/types/messages/emoji_groups_not_modified.py +81 -0
- pyrogram/raw/types/messages/exported_chat_invite.py +92 -0
- pyrogram/raw/types/messages/exported_chat_invite_replaced.py +100 -0
- pyrogram/raw/types/messages/exported_chat_invites.py +99 -0
- pyrogram/raw/types/messages/faved_stickers.py +99 -0
- pyrogram/raw/types/messages/faved_stickers_not_modified.py +78 -0
- pyrogram/raw/types/messages/featured_stickers.py +117 -0
- pyrogram/raw/types/messages/featured_stickers_not_modified.py +85 -0
- pyrogram/raw/types/messages/forum_topics.py +132 -0
- pyrogram/raw/types/messages/found_sticker_sets.py +92 -0
- pyrogram/raw/types/messages/found_sticker_sets_not_modified.py +79 -0
- pyrogram/raw/types/messages/found_stickers.py +102 -0
- pyrogram/raw/types/messages/found_stickers_not_modified.py +86 -0
- pyrogram/raw/types/messages/high_scores.py +92 -0
- pyrogram/raw/types/messages/history_import.py +83 -0
- pyrogram/raw/types/messages/history_import_parsed.py +98 -0
- pyrogram/raw/types/messages/inactive_chats.py +99 -0
- pyrogram/raw/types/messages/invited_users.py +93 -0
- pyrogram/raw/types/messages/message_edit_data.py +83 -0
- pyrogram/raw/types/messages/message_reactions_list.py +118 -0
- pyrogram/raw/types/messages/message_views.py +99 -0
- pyrogram/raw/types/messages/messages.py +124 -0
- pyrogram/raw/types/messages/messages_not_modified.py +100 -0
- pyrogram/raw/types/messages/messages_slice.py +168 -0
- pyrogram/raw/types/messages/my_stickers.py +91 -0
- pyrogram/raw/types/messages/peer_dialogs.py +116 -0
- pyrogram/raw/types/messages/peer_settings.py +99 -0
- pyrogram/raw/types/messages/prepared_inline_message.py +115 -0
- pyrogram/raw/types/messages/quick_replies.py +107 -0
- pyrogram/raw/types/messages/quick_replies_not_modified.py +78 -0
- pyrogram/raw/types/messages/reactions.py +93 -0
- pyrogram/raw/types/messages/reactions_not_modified.py +80 -0
- pyrogram/raw/types/messages/recent_stickers.py +107 -0
- pyrogram/raw/types/messages/recent_stickers_not_modified.py +78 -0
- pyrogram/raw/types/messages/saved_dialogs.py +109 -0
- pyrogram/raw/types/messages/saved_dialogs_not_modified.py +85 -0
- pyrogram/raw/types/messages/saved_dialogs_slice.py +117 -0
- pyrogram/raw/types/messages/saved_gifs.py +91 -0
- pyrogram/raw/types/messages/saved_gifs_not_modified.py +78 -0
- pyrogram/raw/types/messages/saved_reaction_tags.py +91 -0
- pyrogram/raw/types/messages/saved_reaction_tags_not_modified.py +78 -0
- pyrogram/raw/types/messages/search_counter.py +99 -0
- pyrogram/raw/types/messages/search_results_calendar.py +148 -0
- pyrogram/raw/types/messages/search_results_positions.py +91 -0
- pyrogram/raw/types/messages/sent_encrypted_file.py +93 -0
- pyrogram/raw/types/messages/sent_encrypted_message.py +85 -0
- pyrogram/raw/types/messages/sponsored_messages.py +128 -0
- pyrogram/raw/types/messages/sponsored_messages_empty.py +78 -0
- pyrogram/raw/types/messages/sticker_set.py +115 -0
- pyrogram/raw/types/messages/sticker_set_install_result_archive.py +83 -0
- pyrogram/raw/types/messages/sticker_set_install_result_success.py +78 -0
- pyrogram/raw/types/messages/sticker_set_not_modified.py +86 -0
- pyrogram/raw/types/messages/stickers.py +91 -0
- pyrogram/raw/types/messages/stickers_not_modified.py +78 -0
- pyrogram/raw/types/messages/transcribed_audio.py +117 -0
- pyrogram/raw/types/messages/translate_result.py +83 -0
- pyrogram/raw/types/messages/votes_list.py +118 -0
- pyrogram/raw/types/messages/web_page.py +99 -0
- pyrogram/raw/types/messages/web_page_preview.py +99 -0
- pyrogram/raw/types/missing_invitee.py +88 -0
- pyrogram/raw/types/mono_forum_dialog.py +138 -0
- pyrogram/raw/types/msg_detailed_info.py +98 -0
- pyrogram/raw/types/msg_new_detailed_info.py +90 -0
- pyrogram/raw/types/msg_resend_ans_req.py +74 -0
- pyrogram/raw/types/msg_resend_req.py +74 -0
- pyrogram/raw/types/msgs_ack.py +74 -0
- pyrogram/raw/types/msgs_all_info.py +82 -0
- pyrogram/raw/types/msgs_state_info.py +82 -0
- pyrogram/raw/types/msgs_state_req.py +74 -0
- pyrogram/raw/types/my_boost.py +111 -0
- pyrogram/raw/types/nearest_dc.py +99 -0
- pyrogram/raw/types/new_session_created.py +90 -0
- pyrogram/raw/types/notification_sound_default.py +69 -0
- pyrogram/raw/types/notification_sound_local.py +82 -0
- pyrogram/raw/types/notification_sound_none.py +69 -0
- pyrogram/raw/types/notification_sound_ringtone.py +74 -0
- pyrogram/raw/types/notify_broadcasts.py +69 -0
- pyrogram/raw/types/notify_chats.py +69 -0
- pyrogram/raw/types/notify_forum_topic.py +82 -0
- pyrogram/raw/types/notify_peer.py +74 -0
- pyrogram/raw/types/notify_users.py +69 -0
- pyrogram/raw/types/outbox_read_date.py +83 -0
- pyrogram/raw/types/page.py +127 -0
- pyrogram/raw/types/page_block_anchor.py +74 -0
- pyrogram/raw/types/page_block_audio.py +82 -0
- pyrogram/raw/types/page_block_author_date.py +82 -0
- pyrogram/raw/types/page_block_blockquote.py +82 -0
- pyrogram/raw/types/page_block_blockquote_blocks.py +82 -0
- pyrogram/raw/types/page_block_channel.py +74 -0
- pyrogram/raw/types/page_block_collage.py +82 -0
- pyrogram/raw/types/page_block_cover.py +74 -0
- pyrogram/raw/types/page_block_details.py +90 -0
- pyrogram/raw/types/page_block_divider.py +69 -0
- pyrogram/raw/types/page_block_embed.py +133 -0
- pyrogram/raw/types/page_block_embed_post.py +122 -0
- pyrogram/raw/types/page_block_footer.py +74 -0
- pyrogram/raw/types/page_block_header.py +74 -0
- pyrogram/raw/types/page_block_heading1.py +74 -0
- pyrogram/raw/types/page_block_heading2.py +74 -0
- pyrogram/raw/types/page_block_heading3.py +74 -0
- pyrogram/raw/types/page_block_heading4.py +74 -0
- pyrogram/raw/types/page_block_heading5.py +74 -0
- pyrogram/raw/types/page_block_heading6.py +74 -0
- pyrogram/raw/types/page_block_kicker.py +74 -0
- pyrogram/raw/types/page_block_list.py +74 -0
- pyrogram/raw/types/page_block_map.py +106 -0
- pyrogram/raw/types/page_block_math.py +74 -0
- pyrogram/raw/types/page_block_ordered_list.py +100 -0
- pyrogram/raw/types/page_block_paragraph.py +74 -0
- pyrogram/raw/types/page_block_photo.py +108 -0
- pyrogram/raw/types/page_block_preformatted.py +82 -0
- pyrogram/raw/types/page_block_pullquote.py +82 -0
- pyrogram/raw/types/page_block_related_articles.py +82 -0
- pyrogram/raw/types/page_block_slideshow.py +82 -0
- pyrogram/raw/types/page_block_subheader.py +74 -0
- pyrogram/raw/types/page_block_subtitle.py +74 -0
- pyrogram/raw/types/page_block_table.py +96 -0
- pyrogram/raw/types/page_block_thinking.py +74 -0
- pyrogram/raw/types/page_block_title.py +74 -0
- pyrogram/raw/types/page_block_unsupported.py +69 -0
- pyrogram/raw/types/page_block_video.py +102 -0
- pyrogram/raw/types/page_caption.py +82 -0
- pyrogram/raw/types/page_list_item_blocks.py +88 -0
- pyrogram/raw/types/page_list_item_text.py +88 -0
- pyrogram/raw/types/page_list_ordered_item_blocks.py +115 -0
- pyrogram/raw/types/page_list_ordered_item_text.py +115 -0
- pyrogram/raw/types/page_related_article.py +129 -0
- pyrogram/raw/types/page_table_cell.py +126 -0
- pyrogram/raw/types/page_table_row.py +74 -0
- pyrogram/raw/types/paid_reaction_privacy_anonymous.py +69 -0
- pyrogram/raw/types/paid_reaction_privacy_default.py +69 -0
- pyrogram/raw/types/paid_reaction_privacy_peer.py +74 -0
- pyrogram/raw/types/passkey.py +119 -0
- pyrogram/raw/types/password_kdf_algo_sha256_sha256_pbkdf2_hmacsha512iter100000_sha256_mod_pow.py +98 -0
- pyrogram/raw/types/password_kdf_algo_unknown.py +69 -0
- pyrogram/raw/types/payment_charge.py +82 -0
- pyrogram/raw/types/payment_form_method.py +82 -0
- pyrogram/raw/types/payment_requested_info.py +105 -0
- pyrogram/raw/types/payment_saved_credentials_card.py +82 -0
- pyrogram/raw/types/payments/__init__.py +61 -0
- pyrogram/raw/types/payments/bank_card_data.py +91 -0
- pyrogram/raw/types/payments/check_can_send_gift_result_fail.py +83 -0
- pyrogram/raw/types/payments/check_can_send_gift_result_ok.py +78 -0
- pyrogram/raw/types/payments/checked_gift_code.py +152 -0
- pyrogram/raw/types/payments/connected_star_ref_bots.py +102 -0
- pyrogram/raw/types/payments/exported_invoice.py +83 -0
- pyrogram/raw/types/payments/giveaway_info.py +124 -0
- pyrogram/raw/types/payments/giveaway_info_results.py +140 -0
- pyrogram/raw/types/payments/payment_form.py +212 -0
- pyrogram/raw/types/payments/payment_form_star_gift.py +91 -0
- pyrogram/raw/types/payments/payment_form_stars.py +135 -0
- pyrogram/raw/types/payments/payment_receipt.py +196 -0
- pyrogram/raw/types/payments/payment_receipt_stars.py +159 -0
- pyrogram/raw/types/payments/payment_result.py +84 -0
- pyrogram/raw/types/payments/payment_verification_needed.py +84 -0
- pyrogram/raw/types/payments/resale_star_gifts.py +147 -0
- pyrogram/raw/types/payments/saved_info.py +93 -0
- pyrogram/raw/types/payments/saved_star_gifts.py +129 -0
- pyrogram/raw/types/payments/star_gift_active_auctions.py +99 -0
- pyrogram/raw/types/payments/star_gift_active_auctions_not_modified.py +78 -0
- pyrogram/raw/types/payments/star_gift_auction_acquired_gifts.py +99 -0
- pyrogram/raw/types/payments/star_gift_auction_state.py +123 -0
- pyrogram/raw/types/payments/star_gift_collections.py +83 -0
- pyrogram/raw/types/payments/star_gift_collections_not_modified.py +78 -0
- pyrogram/raw/types/payments/star_gift_upgrade_attributes.py +83 -0
- pyrogram/raw/types/payments/star_gift_upgrade_preview.py +99 -0
- pyrogram/raw/types/payments/star_gift_withdrawal_url.py +83 -0
- pyrogram/raw/types/payments/star_gifts.py +107 -0
- pyrogram/raw/types/payments/star_gifts_not_modified.py +78 -0
- pyrogram/raw/types/payments/stars_revenue_ads_account_url.py +83 -0
- pyrogram/raw/types/payments/stars_revenue_stats.py +111 -0
- pyrogram/raw/types/payments/stars_revenue_withdrawal_url.py +83 -0
- pyrogram/raw/types/payments/stars_status.py +151 -0
- pyrogram/raw/types/payments/suggested_star_ref_bots.py +110 -0
- pyrogram/raw/types/payments/unique_star_gift.py +99 -0
- pyrogram/raw/types/payments/unique_star_gift_value_info.py +192 -0
- pyrogram/raw/types/payments/validated_requested_info.py +96 -0
- pyrogram/raw/types/peer_blocked.py +82 -0
- pyrogram/raw/types/peer_channel.py +83 -0
- pyrogram/raw/types/peer_chat.py +83 -0
- pyrogram/raw/types/peer_color.py +86 -0
- pyrogram/raw/types/peer_color_collectible.py +127 -0
- pyrogram/raw/types/peer_located.py +90 -0
- pyrogram/raw/types/peer_notify_settings.py +182 -0
- pyrogram/raw/types/peer_self_located.py +74 -0
- pyrogram/raw/types/peer_settings.py +224 -0
- pyrogram/raw/types/peer_stories.py +93 -0
- pyrogram/raw/types/peer_user.py +83 -0
- pyrogram/raw/types/pending_suggestion.py +98 -0
- pyrogram/raw/types/phone/__init__.py +32 -0
- pyrogram/raw/types/phone/exported_group_call_invite.py +83 -0
- pyrogram/raw/types/phone/group_call.py +115 -0
- pyrogram/raw/types/phone/group_call_stars.py +107 -0
- pyrogram/raw/types/phone/group_call_stream_channels.py +83 -0
- pyrogram/raw/types/phone/group_call_stream_rtmp_url.py +91 -0
- pyrogram/raw/types/phone/group_participants.py +123 -0
- pyrogram/raw/types/phone/join_as_peers.py +99 -0
- pyrogram/raw/types/phone/phone_call.py +93 -0
- pyrogram/raw/types/phone_call.py +176 -0
- pyrogram/raw/types/phone_call_accepted.py +130 -0
- pyrogram/raw/types/phone_call_discard_reason_busy.py +69 -0
- pyrogram/raw/types/phone_call_discard_reason_disconnect.py +69 -0
- pyrogram/raw/types/phone_call_discard_reason_hangup.py +69 -0
- pyrogram/raw/types/phone_call_discard_reason_migrate_conference_call.py +74 -0
- pyrogram/raw/types/phone_call_discard_reason_missed.py +69 -0
- pyrogram/raw/types/phone_call_discarded.py +113 -0
- pyrogram/raw/types/phone_call_empty.py +74 -0
- pyrogram/raw/types/phone_call_protocol.py +104 -0
- pyrogram/raw/types/phone_call_requested.py +130 -0
- pyrogram/raw/types/phone_call_waiting.py +131 -0
- pyrogram/raw/types/phone_connection.py +114 -0
- pyrogram/raw/types/phone_connection_webrtc.py +128 -0
- pyrogram/raw/types/photo.py +132 -0
- pyrogram/raw/types/photo_cached_size.py +98 -0
- pyrogram/raw/types/photo_empty.py +74 -0
- pyrogram/raw/types/photo_path_size.py +82 -0
- pyrogram/raw/types/photo_size.py +98 -0
- pyrogram/raw/types/photo_size_empty.py +74 -0
- pyrogram/raw/types/photo_size_progressive.py +98 -0
- pyrogram/raw/types/photo_stripped_size.py +82 -0
- pyrogram/raw/types/photos/__init__.py +27 -0
- pyrogram/raw/types/photos/photo.py +93 -0
- pyrogram/raw/types/photos/photos.py +91 -0
- pyrogram/raw/types/photos/photos_slice.py +99 -0
- pyrogram/raw/types/poll.py +188 -0
- pyrogram/raw/types/poll_answer.py +113 -0
- pyrogram/raw/types/poll_answer_voters.py +107 -0
- pyrogram/raw/types/poll_results.py +144 -0
- pyrogram/raw/types/pong.py +92 -0
- pyrogram/raw/types/popular_contact.py +82 -0
- pyrogram/raw/types/post_address.py +114 -0
- pyrogram/raw/types/post_interaction_counters_message.py +98 -0
- pyrogram/raw/types/post_interaction_counters_story.py +98 -0
- pyrogram/raw/types/pq_inner_data.py +114 -0
- pyrogram/raw/types/pq_inner_data_dc.py +122 -0
- pyrogram/raw/types/pq_inner_data_temp.py +122 -0
- pyrogram/raw/types/pq_inner_data_temp_dc.py +130 -0
- pyrogram/raw/types/premium/__init__.py +27 -0
- pyrogram/raw/types/premium/boosts_list.py +111 -0
- pyrogram/raw/types/premium/boosts_status.py +163 -0
- pyrogram/raw/types/premium/my_boosts.py +100 -0
- pyrogram/raw/types/premium_gift_code_option.py +127 -0
- pyrogram/raw/types/premium_subscription_option.py +130 -0
- pyrogram/raw/types/prepaid_giveaway.py +98 -0
- pyrogram/raw/types/prepaid_stars_giveaway.py +106 -0
- pyrogram/raw/types/privacy_key_about.py +69 -0
- pyrogram/raw/types/privacy_key_added_by_phone.py +69 -0
- pyrogram/raw/types/privacy_key_birthday.py +69 -0
- pyrogram/raw/types/privacy_key_chat_invite.py +69 -0
- pyrogram/raw/types/privacy_key_forwards.py +69 -0
- pyrogram/raw/types/privacy_key_no_paid_messages.py +69 -0
- pyrogram/raw/types/privacy_key_phone_call.py +69 -0
- pyrogram/raw/types/privacy_key_phone_number.py +69 -0
- pyrogram/raw/types/privacy_key_phone_p2_p.py +69 -0
- pyrogram/raw/types/privacy_key_profile_photo.py +69 -0
- pyrogram/raw/types/privacy_key_saved_music.py +69 -0
- pyrogram/raw/types/privacy_key_star_gifts_auto_save.py +69 -0
- pyrogram/raw/types/privacy_key_status_timestamp.py +69 -0
- pyrogram/raw/types/privacy_key_voice_messages.py +69 -0
- pyrogram/raw/types/privacy_value_allow_all.py +69 -0
- pyrogram/raw/types/privacy_value_allow_bots.py +69 -0
- pyrogram/raw/types/privacy_value_allow_chat_participants.py +74 -0
- pyrogram/raw/types/privacy_value_allow_close_friends.py +69 -0
- pyrogram/raw/types/privacy_value_allow_contacts.py +69 -0
- pyrogram/raw/types/privacy_value_allow_premium.py +69 -0
- pyrogram/raw/types/privacy_value_allow_users.py +74 -0
- pyrogram/raw/types/privacy_value_disallow_all.py +69 -0
- pyrogram/raw/types/privacy_value_disallow_bots.py +69 -0
- pyrogram/raw/types/privacy_value_disallow_chat_participants.py +74 -0
- pyrogram/raw/types/privacy_value_disallow_contacts.py +69 -0
- pyrogram/raw/types/privacy_value_disallow_users.py +74 -0
- pyrogram/raw/types/profile_tab_files.py +69 -0
- pyrogram/raw/types/profile_tab_gifs.py +69 -0
- pyrogram/raw/types/profile_tab_gifts.py +69 -0
- pyrogram/raw/types/profile_tab_links.py +69 -0
- pyrogram/raw/types/profile_tab_media.py +69 -0
- pyrogram/raw/types/profile_tab_music.py +69 -0
- pyrogram/raw/types/profile_tab_posts.py +69 -0
- pyrogram/raw/types/profile_tab_voice.py +69 -0
- pyrogram/raw/types/public_forward_message.py +74 -0
- pyrogram/raw/types/public_forward_story.py +82 -0
- pyrogram/raw/types/quick_reply.py +98 -0
- pyrogram/raw/types/reaction_count.py +93 -0
- pyrogram/raw/types/reaction_custom_emoji.py +74 -0
- pyrogram/raw/types/reaction_emoji.py +74 -0
- pyrogram/raw/types/reaction_empty.py +69 -0
- pyrogram/raw/types/reaction_notifications_from_all.py +69 -0
- pyrogram/raw/types/reaction_notifications_from_contacts.py +69 -0
- pyrogram/raw/types/reaction_paid.py +69 -0
- pyrogram/raw/types/reactions_notify_settings.py +124 -0
- pyrogram/raw/types/read_participant_date.py +91 -0
- pyrogram/raw/types/received_notify_message.py +91 -0
- pyrogram/raw/types/recent_me_url_chat.py +82 -0
- pyrogram/raw/types/recent_me_url_chat_invite.py +82 -0
- pyrogram/raw/types/recent_me_url_sticker_set.py +82 -0
- pyrogram/raw/types/recent_me_url_unknown.py +74 -0
- pyrogram/raw/types/recent_me_url_user.py +82 -0
- pyrogram/raw/types/recent_story.py +92 -0
- pyrogram/raw/types/reply_inline_markup.py +74 -0
- pyrogram/raw/types/reply_keyboard_force_reply.py +89 -0
- pyrogram/raw/types/reply_keyboard_hide.py +74 -0
- pyrogram/raw/types/reply_keyboard_markup.py +109 -0
- pyrogram/raw/types/report_result_add_comment.py +92 -0
- pyrogram/raw/types/report_result_choose_option.py +92 -0
- pyrogram/raw/types/report_result_reported.py +79 -0
- pyrogram/raw/types/request_peer_type_broadcast.py +103 -0
- pyrogram/raw/types/request_peer_type_chat.py +118 -0
- pyrogram/raw/types/request_peer_type_create_bot.py +92 -0
- pyrogram/raw/types/request_peer_type_user.py +86 -0
- pyrogram/raw/types/requested_peer_channel.py +104 -0
- pyrogram/raw/types/requested_peer_chat.py +95 -0
- pyrogram/raw/types/requested_peer_user.py +113 -0
- pyrogram/raw/types/requirement_to_contact_empty.py +78 -0
- pyrogram/raw/types/requirement_to_contact_paid_messages.py +83 -0
- pyrogram/raw/types/requirement_to_contact_premium.py +78 -0
- pyrogram/raw/types/res_pq.py +108 -0
- pyrogram/raw/types/restriction_reason.py +90 -0
- pyrogram/raw/types/rich_message.py +104 -0
- pyrogram/raw/types/rpc_answer_dropped.py +99 -0
- pyrogram/raw/types/rpc_answer_dropped_running.py +78 -0
- pyrogram/raw/types/rpc_answer_unknown.py +78 -0
- pyrogram/raw/types/rpc_error.py +82 -0
- pyrogram/raw/types/rpc_result.py +82 -0
- pyrogram/raw/types/saved_dialog.py +90 -0
- pyrogram/raw/types/saved_phone_contact.py +107 -0
- pyrogram/raw/types/saved_reaction_tag.py +93 -0
- pyrogram/raw/types/saved_star_gift.py +258 -0
- pyrogram/raw/types/search_posts_flood.py +116 -0
- pyrogram/raw/types/search_result_position.py +90 -0
- pyrogram/raw/types/search_results_calendar_period.py +98 -0
- pyrogram/raw/types/secure_credentials_encrypted.py +90 -0
- pyrogram/raw/types/secure_data.py +90 -0
- pyrogram/raw/types/secure_file.py +122 -0
- pyrogram/raw/types/secure_file_empty.py +69 -0
- pyrogram/raw/types/secure_password_kdf_algo_pbkdf2_hmacsha512iter100000.py +74 -0
- pyrogram/raw/types/secure_password_kdf_algo_sha512.py +74 -0
- pyrogram/raw/types/secure_password_kdf_algo_unknown.py +69 -0
- pyrogram/raw/types/secure_plain_email.py +74 -0
- pyrogram/raw/types/secure_plain_phone.py +74 -0
- pyrogram/raw/types/secure_required_type.py +94 -0
- pyrogram/raw/types/secure_required_type_one_of.py +74 -0
- pyrogram/raw/types/secure_secret_settings.py +90 -0
- pyrogram/raw/types/secure_value.py +165 -0
- pyrogram/raw/types/secure_value_error.py +90 -0
- pyrogram/raw/types/secure_value_error_data.py +98 -0
- pyrogram/raw/types/secure_value_error_file.py +90 -0
- pyrogram/raw/types/secure_value_error_files.py +90 -0
- pyrogram/raw/types/secure_value_error_front_side.py +90 -0
- pyrogram/raw/types/secure_value_error_reverse_side.py +90 -0
- pyrogram/raw/types/secure_value_error_selfie.py +90 -0
- pyrogram/raw/types/secure_value_error_translation_file.py +90 -0
- pyrogram/raw/types/secure_value_error_translation_files.py +90 -0
- pyrogram/raw/types/secure_value_hash.py +82 -0
- pyrogram/raw/types/secure_value_type_address.py +69 -0
- pyrogram/raw/types/secure_value_type_bank_statement.py +69 -0
- pyrogram/raw/types/secure_value_type_driver_license.py +69 -0
- pyrogram/raw/types/secure_value_type_email.py +69 -0
- pyrogram/raw/types/secure_value_type_identity_card.py +69 -0
- pyrogram/raw/types/secure_value_type_internal_passport.py +69 -0
- pyrogram/raw/types/secure_value_type_passport.py +69 -0
- pyrogram/raw/types/secure_value_type_passport_registration.py +69 -0
- pyrogram/raw/types/secure_value_type_personal_details.py +69 -0
- pyrogram/raw/types/secure_value_type_phone.py +69 -0
- pyrogram/raw/types/secure_value_type_rental_agreement.py +69 -0
- pyrogram/raw/types/secure_value_type_temporary_registration.py +69 -0
- pyrogram/raw/types/secure_value_type_utility_bill.py +69 -0
- pyrogram/raw/types/send_as_peer.py +82 -0
- pyrogram/raw/types/send_message_cancel_action.py +69 -0
- pyrogram/raw/types/send_message_choose_contact_action.py +69 -0
- pyrogram/raw/types/send_message_choose_sticker_action.py +69 -0
- pyrogram/raw/types/send_message_emoji_interaction.py +90 -0
- pyrogram/raw/types/send_message_emoji_interaction_seen.py +74 -0
- pyrogram/raw/types/send_message_game_play_action.py +69 -0
- pyrogram/raw/types/send_message_geo_location_action.py +69 -0
- pyrogram/raw/types/send_message_history_import_action.py +74 -0
- pyrogram/raw/types/send_message_record_audio_action.py +69 -0
- pyrogram/raw/types/send_message_record_round_action.py +69 -0
- pyrogram/raw/types/send_message_record_video_action.py +69 -0
- pyrogram/raw/types/send_message_rich_message_draft_action.py +82 -0
- pyrogram/raw/types/send_message_text_draft_action.py +82 -0
- pyrogram/raw/types/send_message_typing_action.py +69 -0
- pyrogram/raw/types/send_message_upload_audio_action.py +74 -0
- pyrogram/raw/types/send_message_upload_document_action.py +74 -0
- pyrogram/raw/types/send_message_upload_photo_action.py +74 -0
- pyrogram/raw/types/send_message_upload_round_action.py +74 -0
- pyrogram/raw/types/send_message_upload_video_action.py +74 -0
- pyrogram/raw/types/server_dh_inner_data.py +114 -0
- pyrogram/raw/types/server_dh_params_fail.py +99 -0
- pyrogram/raw/types/server_dh_params_ok.py +99 -0
- pyrogram/raw/types/shipping_option.py +90 -0
- pyrogram/raw/types/sms_job.py +99 -0
- pyrogram/raw/types/smsjobs/__init__.py +26 -0
- pyrogram/raw/types/smsjobs/eligible_to_join.py +91 -0
- pyrogram/raw/types/smsjobs/status.py +140 -0
- pyrogram/raw/types/speaking_in_group_call_action.py +69 -0
- pyrogram/raw/types/sponsored_message.py +196 -0
- pyrogram/raw/types/sponsored_message_report_option.py +82 -0
- pyrogram/raw/types/sponsored_peer.py +102 -0
- pyrogram/raw/types/star_gift.py +297 -0
- pyrogram/raw/types/star_gift_active_auction_state.py +90 -0
- pyrogram/raw/types/star_gift_attribute_backdrop.py +122 -0
- pyrogram/raw/types/star_gift_attribute_counter.py +82 -0
- pyrogram/raw/types/star_gift_attribute_id_backdrop.py +74 -0
- pyrogram/raw/types/star_gift_attribute_id_model.py +74 -0
- pyrogram/raw/types/star_gift_attribute_id_pattern.py +74 -0
- pyrogram/raw/types/star_gift_attribute_model.py +98 -0
- pyrogram/raw/types/star_gift_attribute_original_details.py +104 -0
- pyrogram/raw/types/star_gift_attribute_pattern.py +90 -0
- pyrogram/raw/types/star_gift_attribute_rarity.py +74 -0
- pyrogram/raw/types/star_gift_attribute_rarity_epic.py +69 -0
- pyrogram/raw/types/star_gift_attribute_rarity_legendary.py +69 -0
- pyrogram/raw/types/star_gift_attribute_rarity_rare.py +69 -0
- pyrogram/raw/types/star_gift_attribute_rarity_uncommon.py +69 -0
- pyrogram/raw/types/star_gift_auction_acquired_gift.py +133 -0
- pyrogram/raw/types/star_gift_auction_round.py +82 -0
- pyrogram/raw/types/star_gift_auction_round_extendable.py +98 -0
- pyrogram/raw/types/star_gift_auction_state.py +162 -0
- pyrogram/raw/types/star_gift_auction_state_finished.py +119 -0
- pyrogram/raw/types/star_gift_auction_state_not_modified.py +69 -0
- pyrogram/raw/types/star_gift_auction_user_state.py +119 -0
- pyrogram/raw/types/star_gift_background.py +90 -0
- pyrogram/raw/types/star_gift_collection.py +120 -0
- pyrogram/raw/types/star_gift_unique.py +294 -0
- pyrogram/raw/types/star_gift_upgrade_price.py +82 -0
- pyrogram/raw/types/star_ref_program.py +121 -0
- pyrogram/raw/types/stars_amount.py +82 -0
- pyrogram/raw/types/stars_gift_option.py +116 -0
- pyrogram/raw/types/stars_giveaway_option.py +138 -0
- pyrogram/raw/types/stars_giveaway_winners_option.py +90 -0
- pyrogram/raw/types/stars_rating.py +101 -0
- pyrogram/raw/types/stars_revenue_status.py +107 -0
- pyrogram/raw/types/stars_subscription.py +161 -0
- pyrogram/raw/types/stars_subscription_pricing.py +82 -0
- pyrogram/raw/types/stars_ton_amount.py +74 -0
- pyrogram/raw/types/stars_topup_option.py +116 -0
- pyrogram/raw/types/stars_transaction.py +360 -0
- pyrogram/raw/types/stars_transaction_peer.py +74 -0
- pyrogram/raw/types/stars_transaction_peer_ads.py +69 -0
- pyrogram/raw/types/stars_transaction_peer_api.py +69 -0
- pyrogram/raw/types/stars_transaction_peer_app_store.py +69 -0
- pyrogram/raw/types/stars_transaction_peer_fragment.py +69 -0
- pyrogram/raw/types/stars_transaction_peer_play_market.py +69 -0
- pyrogram/raw/types/stars_transaction_peer_premium_bot.py +69 -0
- pyrogram/raw/types/stars_transaction_peer_unsupported.py +69 -0
- pyrogram/raw/types/stats/__init__.py +30 -0
- pyrogram/raw/types/stats/broadcast_stats.py +251 -0
- pyrogram/raw/types/stats/megagroup_stats.py +211 -0
- pyrogram/raw/types/stats/message_stats.py +91 -0
- pyrogram/raw/types/stats/poll_stats.py +83 -0
- pyrogram/raw/types/stats/public_forwards.py +119 -0
- pyrogram/raw/types/stats/story_stats.py +91 -0
- pyrogram/raw/types/stats_abs_value_and_prev.py +82 -0
- pyrogram/raw/types/stats_date_range_days.py +82 -0
- pyrogram/raw/types/stats_graph.py +94 -0
- pyrogram/raw/types/stats_graph_async.py +83 -0
- pyrogram/raw/types/stats_graph_error.py +83 -0
- pyrogram/raw/types/stats_group_top_admin.py +98 -0
- pyrogram/raw/types/stats_group_top_inviter.py +82 -0
- pyrogram/raw/types/stats_group_top_poster.py +90 -0
- pyrogram/raw/types/stats_percent_value.py +82 -0
- pyrogram/raw/types/stats_url.py +74 -0
- pyrogram/raw/types/sticker_keyword.py +82 -0
- pyrogram/raw/types/sticker_pack.py +82 -0
- pyrogram/raw/types/sticker_set.py +204 -0
- pyrogram/raw/types/sticker_set_covered.py +91 -0
- pyrogram/raw/types/sticker_set_full_covered.py +107 -0
- pyrogram/raw/types/sticker_set_multi_covered.py +91 -0
- pyrogram/raw/types/sticker_set_no_covered.py +83 -0
- pyrogram/raw/types/stickers/__init__.py +25 -0
- pyrogram/raw/types/stickers/suggested_short_name.py +83 -0
- pyrogram/raw/types/storage/__init__.py +34 -0
- pyrogram/raw/types/storage/file_gif.py +69 -0
- pyrogram/raw/types/storage/file_jpeg.py +69 -0
- pyrogram/raw/types/storage/file_mov.py +69 -0
- pyrogram/raw/types/storage/file_mp3.py +69 -0
- pyrogram/raw/types/storage/file_mp4.py +69 -0
- pyrogram/raw/types/storage/file_partial.py +69 -0
- pyrogram/raw/types/storage/file_pdf.py +69 -0
- pyrogram/raw/types/storage/file_png.py +69 -0
- pyrogram/raw/types/storage/file_unknown.py +69 -0
- pyrogram/raw/types/storage/file_webp.py +69 -0
- pyrogram/raw/types/stories/__init__.py +35 -0
- pyrogram/raw/types/stories/albums.py +91 -0
- pyrogram/raw/types/stories/albums_not_modified.py +78 -0
- pyrogram/raw/types/stories/all_stories.py +131 -0
- pyrogram/raw/types/stories/all_stories_not_modified.py +94 -0
- pyrogram/raw/types/stories/can_send_story_count.py +83 -0
- pyrogram/raw/types/stories/found_stories.py +118 -0
- pyrogram/raw/types/stories/peer_stories.py +99 -0
- pyrogram/raw/types/stories/stories.py +122 -0
- pyrogram/raw/types/stories/story_reactions_list.py +118 -0
- pyrogram/raw/types/stories/story_views.py +91 -0
- pyrogram/raw/types/stories/story_views_list.py +142 -0
- pyrogram/raw/types/stories_stealth_mode.py +86 -0
- pyrogram/raw/types/story_album.py +114 -0
- pyrogram/raw/types/story_fwd_header.py +102 -0
- pyrogram/raw/types/story_item.py +253 -0
- pyrogram/raw/types/story_item_deleted.py +74 -0
- pyrogram/raw/types/story_item_skipped.py +104 -0
- pyrogram/raw/types/story_reaction.py +90 -0
- pyrogram/raw/types/story_reaction_public_forward.py +74 -0
- pyrogram/raw/types/story_reaction_public_repost.py +82 -0
- pyrogram/raw/types/story_view.py +106 -0
- pyrogram/raw/types/story_view_public_forward.py +88 -0
- pyrogram/raw/types/story_view_public_repost.py +96 -0
- pyrogram/raw/types/story_views.py +120 -0
- pyrogram/raw/types/suggested_post.py +99 -0
- pyrogram/raw/types/text_anchor.py +82 -0
- pyrogram/raw/types/text_auto_email.py +74 -0
- pyrogram/raw/types/text_auto_phone.py +74 -0
- pyrogram/raw/types/text_auto_url.py +74 -0
- pyrogram/raw/types/text_bank_card.py +74 -0
- pyrogram/raw/types/text_bold.py +74 -0
- pyrogram/raw/types/text_bot_command.py +74 -0
- pyrogram/raw/types/text_cashtag.py +74 -0
- pyrogram/raw/types/text_concat.py +74 -0
- pyrogram/raw/types/text_custom_emoji.py +82 -0
- pyrogram/raw/types/text_date.py +120 -0
- pyrogram/raw/types/text_email.py +82 -0
- pyrogram/raw/types/text_empty.py +69 -0
- pyrogram/raw/types/text_fixed.py +74 -0
- pyrogram/raw/types/text_hashtag.py +74 -0
- pyrogram/raw/types/text_image.py +90 -0
- pyrogram/raw/types/text_italic.py +74 -0
- pyrogram/raw/types/text_marked.py +74 -0
- pyrogram/raw/types/text_math.py +74 -0
- pyrogram/raw/types/text_mention.py +74 -0
- pyrogram/raw/types/text_mention_name.py +82 -0
- pyrogram/raw/types/text_phone.py +82 -0
- pyrogram/raw/types/text_plain.py +74 -0
- pyrogram/raw/types/text_spoiler.py +74 -0
- pyrogram/raw/types/text_strike.py +74 -0
- pyrogram/raw/types/text_subscript.py +74 -0
- pyrogram/raw/types/text_superscript.py +74 -0
- pyrogram/raw/types/text_underline.py +74 -0
- pyrogram/raw/types/text_url.py +90 -0
- pyrogram/raw/types/text_with_entities.py +91 -0
- pyrogram/raw/types/theme.py +167 -0
- pyrogram/raw/types/theme_settings.py +119 -0
- pyrogram/raw/types/timezone.py +90 -0
- pyrogram/raw/types/todo_completion.py +90 -0
- pyrogram/raw/types/todo_item.py +82 -0
- pyrogram/raw/types/todo_list.py +96 -0
- pyrogram/raw/types/top_peer.py +82 -0
- pyrogram/raw/types/top_peer_category_bots_app.py +69 -0
- pyrogram/raw/types/top_peer_category_bots_guest_chat.py +69 -0
- pyrogram/raw/types/top_peer_category_bots_inline.py +69 -0
- pyrogram/raw/types/top_peer_category_bots_pm.py +69 -0
- pyrogram/raw/types/top_peer_category_channels.py +69 -0
- pyrogram/raw/types/top_peer_category_correspondents.py +69 -0
- pyrogram/raw/types/top_peer_category_forward_chats.py +69 -0
- pyrogram/raw/types/top_peer_category_forward_users.py +69 -0
- pyrogram/raw/types/top_peer_category_groups.py +69 -0
- pyrogram/raw/types/top_peer_category_peers.py +90 -0
- pyrogram/raw/types/top_peer_category_phone_calls.py +69 -0
- pyrogram/raw/types/update_ai_compose_tones.py +69 -0
- pyrogram/raw/types/update_attach_menu_bots.py +69 -0
- pyrogram/raw/types/update_auto_save_settings.py +69 -0
- pyrogram/raw/types/update_bot_business_connect.py +82 -0
- pyrogram/raw/types/update_bot_callback_query.py +126 -0
- pyrogram/raw/types/update_bot_chat_boost.py +90 -0
- pyrogram/raw/types/update_bot_chat_invite_requester.py +125 -0
- pyrogram/raw/types/update_bot_commands.py +90 -0
- pyrogram/raw/types/update_bot_delete_business_message.py +98 -0
- pyrogram/raw/types/update_bot_edit_business_message.py +102 -0
- pyrogram/raw/types/update_bot_guest_chat_query.py +102 -0
- pyrogram/raw/types/update_bot_inline_query.py +120 -0
- pyrogram/raw/types/update_bot_inline_send.py +112 -0
- pyrogram/raw/types/update_bot_menu_button.py +82 -0
- pyrogram/raw/types/update_bot_message_reaction.py +122 -0
- pyrogram/raw/types/update_bot_message_reactions.py +106 -0
- pyrogram/raw/types/update_bot_new_business_message.py +102 -0
- pyrogram/raw/types/update_bot_precheckout_query.py +127 -0
- pyrogram/raw/types/update_bot_purchased_paid_media.py +90 -0
- pyrogram/raw/types/update_bot_shipping_query.py +98 -0
- pyrogram/raw/types/update_bot_stopped.py +98 -0
- pyrogram/raw/types/update_bot_webhook_json.py +74 -0
- pyrogram/raw/types/update_bot_webhook_json_query.py +90 -0
- pyrogram/raw/types/update_business_bot_callback_query.py +127 -0
- pyrogram/raw/types/update_channel.py +74 -0
- pyrogram/raw/types/update_channel_available_messages.py +82 -0
- pyrogram/raw/types/update_channel_message_forwards.py +90 -0
- pyrogram/raw/types/update_channel_message_views.py +90 -0
- pyrogram/raw/types/update_channel_participant.py +144 -0
- pyrogram/raw/types/update_channel_read_messages_contents.py +103 -0
- pyrogram/raw/types/update_channel_too_long.py +85 -0
- pyrogram/raw/types/update_channel_user_typing.py +101 -0
- pyrogram/raw/types/update_channel_view_forum_as_messages.py +82 -0
- pyrogram/raw/types/update_channel_web_page.py +98 -0
- pyrogram/raw/types/update_chat.py +74 -0
- pyrogram/raw/types/update_chat_default_banned_rights.py +90 -0
- pyrogram/raw/types/update_chat_participant.py +138 -0
- pyrogram/raw/types/update_chat_participant_add.py +106 -0
- pyrogram/raw/types/update_chat_participant_admin.py +98 -0
- pyrogram/raw/types/update_chat_participant_delete.py +90 -0
- pyrogram/raw/types/update_chat_participant_rank.py +98 -0
- pyrogram/raw/types/update_chat_participants.py +74 -0
- pyrogram/raw/types/update_chat_user_typing.py +90 -0
- pyrogram/raw/types/update_config.py +69 -0
- pyrogram/raw/types/update_contacts_reset.py +69 -0
- pyrogram/raw/types/update_dc_options.py +74 -0
- pyrogram/raw/types/update_delete_channel_messages.py +98 -0
- pyrogram/raw/types/update_delete_group_call_messages.py +82 -0
- pyrogram/raw/types/update_delete_messages.py +90 -0
- pyrogram/raw/types/update_delete_quick_reply.py +74 -0
- pyrogram/raw/types/update_delete_quick_reply_messages.py +82 -0
- pyrogram/raw/types/update_delete_scheduled_messages.py +94 -0
- pyrogram/raw/types/update_dialog_filter.py +86 -0
- pyrogram/raw/types/update_dialog_filter_order.py +74 -0
- pyrogram/raw/types/update_dialog_filters.py +69 -0
- pyrogram/raw/types/update_dialog_pinned.py +91 -0
- pyrogram/raw/types/update_dialog_unread_mark.py +92 -0
- pyrogram/raw/types/update_draft_message.py +103 -0
- pyrogram/raw/types/update_edit_channel_message.py +90 -0
- pyrogram/raw/types/update_edit_message.py +90 -0
- pyrogram/raw/types/update_emoji_game_info.py +74 -0
- pyrogram/raw/types/update_encrypted_chat_typing.py +74 -0
- pyrogram/raw/types/update_encrypted_messages_read.py +90 -0
- pyrogram/raw/types/update_encryption.py +82 -0
- pyrogram/raw/types/update_faved_stickers.py +69 -0
- pyrogram/raw/types/update_folder_peers.py +90 -0
- pyrogram/raw/types/update_geo_live_viewed.py +82 -0
- pyrogram/raw/types/update_group_call.py +92 -0
- pyrogram/raw/types/update_group_call_chain_blocks.py +98 -0
- pyrogram/raw/types/update_group_call_connection.py +82 -0
- pyrogram/raw/types/update_group_call_encrypted_message.py +90 -0
- pyrogram/raw/types/update_group_call_message.py +82 -0
- pyrogram/raw/types/update_group_call_participants.py +90 -0
- pyrogram/raw/types/update_inline_bot_callback_query.py +118 -0
- pyrogram/raw/types/update_join_chat_web_view_decision.py +90 -0
- pyrogram/raw/types/update_lang_pack.py +74 -0
- pyrogram/raw/types/update_lang_pack_too_long.py +74 -0
- pyrogram/raw/types/update_login_token.py +69 -0
- pyrogram/raw/types/update_managed_bot.py +90 -0
- pyrogram/raw/types/update_message_extended_media.py +90 -0
- pyrogram/raw/types/update_message_id.py +82 -0
- pyrogram/raw/types/update_message_poll.py +122 -0
- pyrogram/raw/types/update_message_poll_vote.py +106 -0
- pyrogram/raw/types/update_message_reactions.py +111 -0
- pyrogram/raw/types/update_mono_forum_no_paid_exception.py +90 -0
- pyrogram/raw/types/update_move_sticker_set_to_top.py +88 -0
- pyrogram/raw/types/update_new_authorization.py +109 -0
- pyrogram/raw/types/update_new_bot_connection.py +109 -0
- pyrogram/raw/types/update_new_channel_message.py +90 -0
- pyrogram/raw/types/update_new_encrypted_message.py +82 -0
- pyrogram/raw/types/update_new_message.py +90 -0
- pyrogram/raw/types/update_new_quick_reply.py +74 -0
- pyrogram/raw/types/update_new_scheduled_message.py +74 -0
- pyrogram/raw/types/update_new_sticker_set.py +74 -0
- pyrogram/raw/types/update_new_story_reaction.py +90 -0
- pyrogram/raw/types/update_notify_settings.py +82 -0
- pyrogram/raw/types/update_paid_reaction_privacy.py +74 -0
- pyrogram/raw/types/update_peer_blocked.py +88 -0
- pyrogram/raw/types/update_peer_history_ttl.py +85 -0
- pyrogram/raw/types/update_peer_located.py +74 -0
- pyrogram/raw/types/update_peer_settings.py +82 -0
- pyrogram/raw/types/update_peer_wallpaper.py +92 -0
- pyrogram/raw/types/update_pending_join_requests.py +90 -0
- pyrogram/raw/types/update_phone_call.py +74 -0
- pyrogram/raw/types/update_phone_call_signaling_data.py +82 -0
- pyrogram/raw/types/update_pinned_channel_messages.py +106 -0
- pyrogram/raw/types/update_pinned_dialogs.py +87 -0
- pyrogram/raw/types/update_pinned_forum_topic.py +90 -0
- pyrogram/raw/types/update_pinned_forum_topics.py +86 -0
- pyrogram/raw/types/update_pinned_messages.py +106 -0
- pyrogram/raw/types/update_pinned_saved_dialogs.py +78 -0
- pyrogram/raw/types/update_privacy.py +82 -0
- pyrogram/raw/types/update_pts_changed.py +69 -0
- pyrogram/raw/types/update_quick_replies.py +74 -0
- pyrogram/raw/types/update_quick_reply_message.py +74 -0
- pyrogram/raw/types/update_read_channel_discussion_inbox.py +110 -0
- pyrogram/raw/types/update_read_channel_discussion_outbox.py +90 -0
- pyrogram/raw/types/update_read_channel_inbox.py +109 -0
- pyrogram/raw/types/update_read_channel_outbox.py +82 -0
- pyrogram/raw/types/update_read_featured_emoji_stickers.py +69 -0
- pyrogram/raw/types/update_read_featured_stickers.py +69 -0
- pyrogram/raw/types/update_read_history_inbox.py +126 -0
- pyrogram/raw/types/update_read_history_outbox.py +98 -0
- pyrogram/raw/types/update_read_messages_contents.py +101 -0
- pyrogram/raw/types/update_read_mono_forum_inbox.py +90 -0
- pyrogram/raw/types/update_read_mono_forum_outbox.py +90 -0
- pyrogram/raw/types/update_read_stories.py +82 -0
- pyrogram/raw/types/update_recent_emoji_statuses.py +69 -0
- pyrogram/raw/types/update_recent_reactions.py +69 -0
- pyrogram/raw/types/update_recent_stickers.py +69 -0
- pyrogram/raw/types/update_saved_dialog_pinned.py +82 -0
- pyrogram/raw/types/update_saved_gifs.py +69 -0
- pyrogram/raw/types/update_saved_reaction_tags.py +69 -0
- pyrogram/raw/types/update_saved_ringtones.py +69 -0
- pyrogram/raw/types/update_sent_phone_code.py +74 -0
- pyrogram/raw/types/update_sent_story_reaction.py +90 -0
- pyrogram/raw/types/update_service_notification.py +121 -0
- pyrogram/raw/types/update_short.py +220 -0
- pyrogram/raw/types/update_short_chat_message.py +334 -0
- pyrogram/raw/types/update_short_message.py +326 -0
- pyrogram/raw/types/update_short_sent_message.py +273 -0
- pyrogram/raw/types/update_sms_job.py +74 -0
- pyrogram/raw/types/update_star_gift_auction_state.py +82 -0
- pyrogram/raw/types/update_star_gift_auction_user_state.py +82 -0
- pyrogram/raw/types/update_star_gift_craft_fail.py +69 -0
- pyrogram/raw/types/update_stars_balance.py +74 -0
- pyrogram/raw/types/update_stars_revenue_status.py +82 -0
- pyrogram/raw/types/update_sticker_sets.py +80 -0
- pyrogram/raw/types/update_sticker_sets_order.py +88 -0
- pyrogram/raw/types/update_stories_stealth_mode.py +74 -0
- pyrogram/raw/types/update_story.py +82 -0
- pyrogram/raw/types/update_story_id.py +82 -0
- pyrogram/raw/types/update_theme.py +74 -0
- pyrogram/raw/types/update_transcribed_audio.py +106 -0
- pyrogram/raw/types/update_user.py +74 -0
- pyrogram/raw/types/update_user_emoji_status.py +82 -0
- pyrogram/raw/types/update_user_name.py +98 -0
- pyrogram/raw/types/update_user_phone.py +82 -0
- pyrogram/raw/types/update_user_status.py +82 -0
- pyrogram/raw/types/update_user_typing.py +93 -0
- pyrogram/raw/types/update_web_browser_exception.py +91 -0
- pyrogram/raw/types/update_web_browser_settings.py +80 -0
- pyrogram/raw/types/update_web_page.py +90 -0
- pyrogram/raw/types/update_web_view_result_sent.py +74 -0
- pyrogram/raw/types/updates/__init__.py +32 -0
- pyrogram/raw/types/updates/channel_difference.py +132 -0
- pyrogram/raw/types/updates/channel_difference_empty.py +100 -0
- pyrogram/raw/types/updates/channel_difference_too_long.py +124 -0
- pyrogram/raw/types/updates/difference.py +123 -0
- pyrogram/raw/types/updates/difference_empty.py +91 -0
- pyrogram/raw/types/updates/difference_slice.py +123 -0
- pyrogram/raw/types/updates/difference_too_long.py +83 -0
- pyrogram/raw/types/updates/state.py +115 -0
- pyrogram/raw/types/updates_combined.py +252 -0
- pyrogram/raw/types/updates_t.py +244 -0
- pyrogram/raw/types/updates_too_long.py +207 -0
- pyrogram/raw/types/upload/__init__.py +29 -0
- pyrogram/raw/types/upload/cdn_file.py +83 -0
- pyrogram/raw/types/upload/cdn_file_reupload_needed.py +83 -0
- pyrogram/raw/types/upload/file.py +99 -0
- pyrogram/raw/types/upload/file_cdn_redirect.py +115 -0
- pyrogram/raw/types/upload/web_file.py +115 -0
- pyrogram/raw/types/url_auth_result_accepted.py +87 -0
- pyrogram/raw/types/url_auth_result_default.py +79 -0
- pyrogram/raw/types/url_auth_result_request.py +182 -0
- pyrogram/raw/types/user.py +456 -0
- pyrogram/raw/types/user_empty.py +91 -0
- pyrogram/raw/types/user_full.py +553 -0
- pyrogram/raw/types/user_profile_photo.py +105 -0
- pyrogram/raw/types/user_profile_photo_empty.py +69 -0
- pyrogram/raw/types/user_status_empty.py +69 -0
- pyrogram/raw/types/user_status_last_month.py +74 -0
- pyrogram/raw/types/user_status_last_week.py +74 -0
- pyrogram/raw/types/user_status_offline.py +74 -0
- pyrogram/raw/types/user_status_online.py +74 -0
- pyrogram/raw/types/user_status_recently.py +74 -0
- pyrogram/raw/types/username.py +88 -0
- pyrogram/raw/types/users/__init__.py +29 -0
- pyrogram/raw/types/users/saved_music.py +92 -0
- pyrogram/raw/types/users/saved_music_not_modified.py +84 -0
- pyrogram/raw/types/users/user_full.py +99 -0
- pyrogram/raw/types/users/users.py +83 -0
- pyrogram/raw/types/users/users_slice.py +91 -0
- pyrogram/raw/types/video_size.py +109 -0
- pyrogram/raw/types/video_size_emoji_markup.py +82 -0
- pyrogram/raw/types/video_size_sticker_markup.py +90 -0
- pyrogram/raw/types/wall_paper.py +145 -0
- pyrogram/raw/types/wall_paper_no_file.py +109 -0
- pyrogram/raw/types/wall_paper_settings.py +143 -0
- pyrogram/raw/types/web_authorization.py +138 -0
- pyrogram/raw/types/web_document.py +106 -0
- pyrogram/raw/types/web_document_no_proxy.py +98 -0
- pyrogram/raw/types/web_domain_exception.py +101 -0
- pyrogram/raw/types/web_page.py +242 -0
- pyrogram/raw/types/web_page_attribute_ai_compose_tone.py +74 -0
- pyrogram/raw/types/web_page_attribute_star_gift_auction.py +82 -0
- pyrogram/raw/types/web_page_attribute_star_gift_collection.py +74 -0
- pyrogram/raw/types/web_page_attribute_sticker_set.py +88 -0
- pyrogram/raw/types/web_page_attribute_story.py +94 -0
- pyrogram/raw/types/web_page_attribute_theme.py +88 -0
- pyrogram/raw/types/web_page_attribute_unique_star_gift.py +74 -0
- pyrogram/raw/types/web_page_empty.py +85 -0
- pyrogram/raw/types/web_page_not_modified.py +77 -0
- pyrogram/raw/types/web_page_pending.py +93 -0
- pyrogram/raw/types/web_view_message_sent.py +87 -0
- pyrogram/raw/types/web_view_result_url.py +115 -0
- pyrogram/session/__init__.py +20 -0
- pyrogram/session/auth.py +306 -0
- pyrogram/session/internals/__init__.py +20 -0
- pyrogram/session/internals/msg_factory.py +65 -0
- pyrogram/session/internals/msg_id.py +37 -0
- pyrogram/session/session.py +576 -0
- pyrogram/storage/__init__.py +20 -0
- pyrogram/storage/sqlite_storage.py +432 -0
- pyrogram/storage/storage.py +248 -0
- pyrogram/sync.py +109 -0
- pyrogram/types/__init__.py +27 -0
- pyrogram/types/authorization/__init__.py +39 -0
- pyrogram/types/authorization/active_session.py +179 -0
- pyrogram/types/authorization/active_sessions.py +56 -0
- pyrogram/types/authorization/firebase_authentication_settings.py +57 -0
- pyrogram/types/authorization/phone_number_authentication_settings.py +89 -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 +109 -0
- pyrogram/types/bots_and_keyboards/bot_access_settings.py +54 -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 +350 -0
- pyrogram/types/bots_and_keyboards/chat_boost_updated.py +62 -0
- pyrogram/types/bots_and_keyboards/chat_shared.py +97 -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 +321 -0
- pyrogram/types/bots_and_keyboards/inline_keyboard_markup.py +76 -0
- pyrogram/types/bots_and_keyboards/keyboard_button.py +328 -0
- pyrogram/types/bots_and_keyboards/keyboard_button_poll_type.py +36 -0
- pyrogram/types/bots_and_keyboards/keyboard_button_request_chat.py +97 -0
- pyrogram/types/bots_and_keyboards/keyboard_button_request_managed_bot.py +46 -0
- pyrogram/types/bots_and_keyboards/keyboard_button_request_users.py +73 -0
- pyrogram/types/bots_and_keyboards/labeled_price.py +58 -0
- pyrogram/types/bots_and_keyboards/login_url.py +91 -0
- pyrogram/types/bots_and_keyboards/managed_bot_updated.py +62 -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/message_reaction_count_updated.py +89 -0
- pyrogram/types/bots_and_keyboards/message_reaction_updated.py +125 -0
- pyrogram/types/bots_and_keyboards/order_info.py +57 -0
- pyrogram/types/bots_and_keyboards/pre_checkout_query.py +137 -0
- pyrogram/types/bots_and_keyboards/purchased_paid_media.py +50 -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_guest_message.py +45 -0
- pyrogram/types/bots_and_keyboards/sent_web_app_message.py +42 -0
- pyrogram/types/bots_and_keyboards/shipping_address.py +82 -0
- pyrogram/types/bots_and_keyboards/shipping_option.py +73 -0
- pyrogram/types/bots_and_keyboards/shipping_query.py +121 -0
- pyrogram/types/bots_and_keyboards/users_shared.py +83 -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 +94 -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 +156 -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_content/__init__.py +121 -0
- pyrogram/types/input_content/input_chat_photo.py +113 -0
- pyrogram/types/input_content/input_checklist.py +65 -0
- pyrogram/types/input_content/input_contact_message_content.py +68 -0
- pyrogram/types/input_content/input_credentials.py +38 -0
- pyrogram/types/input_content/input_credentials_apple_pay.py +43 -0
- pyrogram/types/input_content/input_credentials_google_pay.py +43 -0
- pyrogram/types/input_content/input_credentials_new.py +50 -0
- pyrogram/types/input_content/input_credentials_saved.py +59 -0
- pyrogram/types/input_content/input_invoice.py +36 -0
- pyrogram/types/input_content/input_invoice_message.py +51 -0
- pyrogram/types/input_content/input_invoice_message_content.py +176 -0
- pyrogram/types/input_content/input_invoice_name.py +52 -0
- pyrogram/types/input_content/input_location_message_content.py +85 -0
- pyrogram/types/input_content/input_media.py +56 -0
- pyrogram/types/input_content/input_media_animation.py +160 -0
- pyrogram/types/input_content/input_media_audio.py +157 -0
- pyrogram/types/input_content/input_media_document.py +127 -0
- pyrogram/types/input_content/input_media_link.py +52 -0
- pyrogram/types/input_content/input_media_live_photo.py +162 -0
- pyrogram/types/input_content/input_media_location.py +93 -0
- pyrogram/types/input_content/input_media_photo.py +123 -0
- pyrogram/types/input_content/input_media_sticker.py +104 -0
- pyrogram/types/input_content/input_media_venue.py +114 -0
- pyrogram/types/input_content/input_media_video.py +238 -0
- pyrogram/types/input_content/input_message_content.py +41 -0
- pyrogram/types/input_content/input_phone_contact.py +51 -0
- pyrogram/types/input_content/input_poll_media.py +58 -0
- pyrogram/types/input_content/input_poll_option.py +57 -0
- pyrogram/types/input_content/input_poll_option_media.py +57 -0
- pyrogram/types/input_content/input_privacy_rule.py +44 -0
- pyrogram/types/input_content/input_privacy_rule_allow_all.py +33 -0
- pyrogram/types/input_content/input_privacy_rule_allow_bots.py +33 -0
- pyrogram/types/input_content/input_privacy_rule_allow_chats.py +49 -0
- pyrogram/types/input_content/input_privacy_rule_allow_close_friends.py +33 -0
- pyrogram/types/input_content/input_privacy_rule_allow_contacts.py +33 -0
- pyrogram/types/input_content/input_privacy_rule_allow_premium.py +33 -0
- pyrogram/types/input_content/input_privacy_rule_allow_users.py +47 -0
- pyrogram/types/input_content/input_privacy_rule_disallow_all.py +33 -0
- pyrogram/types/input_content/input_privacy_rule_disallow_bots.py +33 -0
- pyrogram/types/input_content/input_privacy_rule_disallow_chats.py +49 -0
- pyrogram/types/input_content/input_privacy_rule_disallow_contacts.py +33 -0
- pyrogram/types/input_content/input_privacy_rule_disallow_users.py +47 -0
- pyrogram/types/input_content/input_rich_message.py +76 -0
- pyrogram/types/input_content/input_rich_message_content.py +50 -0
- pyrogram/types/input_content/input_text_message_content.py +97 -0
- pyrogram/types/input_content/input_venue_message_content.py +88 -0
- pyrogram/types/list.py +30 -0
- pyrogram/types/messages_and_media/__init__.py +411 -0
- pyrogram/types/messages_and_media/animation.py +191 -0
- pyrogram/types/messages_and_media/auction_bid.py +53 -0
- pyrogram/types/messages_and_media/auction_round.py +70 -0
- pyrogram/types/messages_and_media/auction_state.py +172 -0
- pyrogram/types/messages_and_media/audio.py +121 -0
- pyrogram/types/messages_and_media/available_effect.py +88 -0
- pyrogram/types/messages_and_media/boosts_status.py +89 -0
- pyrogram/types/messages_and_media/business_message.py +106 -0
- pyrogram/types/messages_and_media/chat_background.py +167 -0
- pyrogram/types/messages_and_media/chat_boost.py +108 -0
- pyrogram/types/messages_and_media/chat_has_protected_content_disable_requested.py +45 -0
- pyrogram/types/messages_and_media/chat_has_protected_content_toggled.py +64 -0
- pyrogram/types/messages_and_media/chat_owner_changed.py +49 -0
- pyrogram/types/messages_and_media/chat_owner_left.py +49 -0
- pyrogram/types/messages_and_media/chat_theme.py +51 -0
- pyrogram/types/messages_and_media/checked_gift_code.py +98 -0
- pyrogram/types/messages_and_media/checklist.py +111 -0
- pyrogram/types/messages_and_media/checklist_task.py +88 -0
- pyrogram/types/messages_and_media/checklist_tasks_added.py +63 -0
- pyrogram/types/messages_and_media/checklist_tasks_done.py +63 -0
- pyrogram/types/messages_and_media/contact.py +71 -0
- pyrogram/types/messages_and_media/contact_registered.py +29 -0
- pyrogram/types/messages_and_media/craft_gift_result.py +58 -0
- pyrogram/types/messages_and_media/dice.py +47 -0
- pyrogram/types/messages_and_media/direct_message_price_changed.py +56 -0
- pyrogram/types/messages_and_media/direct_messages_topic.py +105 -0
- pyrogram/types/messages_and_media/document.py +98 -0
- pyrogram/types/messages_and_media/external_reply_info.py +334 -0
- pyrogram/types/messages_and_media/fact_check.py +72 -0
- pyrogram/types/messages_and_media/formatted_text.py +80 -0
- pyrogram/types/messages_and_media/forum_topic.py +161 -0
- pyrogram/types/messages_and_media/forum_topic_closed.py +29 -0
- pyrogram/types/messages_and_media/forum_topic_created.py +64 -0
- pyrogram/types/messages_and_media/forum_topic_edited.py +70 -0
- pyrogram/types/messages_and_media/forum_topic_reopened.py +29 -0
- pyrogram/types/messages_and_media/game.py +98 -0
- pyrogram/types/messages_and_media/general_forum_topic_hidden.py +29 -0
- pyrogram/types/messages_and_media/general_forum_topic_unhidden.py +29 -0
- pyrogram/types/messages_and_media/gift.py +1044 -0
- pyrogram/types/messages_and_media/gift_attribute.py +175 -0
- pyrogram/types/messages_and_media/gift_auction.py +55 -0
- pyrogram/types/messages_and_media/gift_auction_state.py +69 -0
- pyrogram/types/messages_and_media/gift_collection.py +73 -0
- pyrogram/types/messages_and_media/gift_purchase_limit.py +52 -0
- pyrogram/types/messages_and_media/gift_resale_parameters.py +69 -0
- pyrogram/types/messages_and_media/gift_resale_price.py +83 -0
- pyrogram/types/messages_and_media/gift_upgrade_preview.py +84 -0
- pyrogram/types/messages_and_media/gift_upgrade_price.py +53 -0
- pyrogram/types/messages_and_media/gift_upgrade_variants.py +72 -0
- pyrogram/types/messages_and_media/gifted_premium.py +135 -0
- pyrogram/types/messages_and_media/gifted_stars.py +120 -0
- pyrogram/types/messages_and_media/gifted_ton.py +96 -0
- pyrogram/types/messages_and_media/giveaway.py +106 -0
- pyrogram/types/messages_and_media/giveaway_completed.py +95 -0
- pyrogram/types/messages_and_media/giveaway_created.py +57 -0
- pyrogram/types/messages_and_media/giveaway_prize_stars.py +119 -0
- pyrogram/types/messages_and_media/giveaway_winners.py +150 -0
- pyrogram/types/messages_and_media/input_checklist_task.py +72 -0
- pyrogram/types/messages_and_media/invoice.py +162 -0
- pyrogram/types/messages_and_media/link_preview_options.py +87 -0
- pyrogram/types/messages_and_media/live_photo.py +102 -0
- pyrogram/types/messages_and_media/location.py +131 -0
- pyrogram/types/messages_and_media/managed_bot_created.py +56 -0
- pyrogram/types/messages_and_media/mask_position.py +70 -0
- pyrogram/types/messages_and_media/media_area.py +287 -0
- pyrogram/types/messages_and_media/message.py +9572 -0
- pyrogram/types/messages_and_media/message_content.py +306 -0
- pyrogram/types/messages_and_media/message_entity.py +205 -0
- pyrogram/types/messages_and_media/message_origin.py +94 -0
- pyrogram/types/messages_and_media/message_origin_channel.py +61 -0
- pyrogram/types/messages_and_media/message_origin_chat.py +56 -0
- pyrogram/types/messages_and_media/message_origin_hidden_user.py +51 -0
- pyrogram/types/messages_and_media/message_origin_import.py +50 -0
- pyrogram/types/messages_and_media/message_origin_user.py +51 -0
- pyrogram/types/messages_and_media/message_reactions.py +90 -0
- pyrogram/types/messages_and_media/my_boost.py +79 -0
- pyrogram/types/messages_and_media/paid_media_info.py +93 -0
- pyrogram/types/messages_and_media/paid_media_preview.py +55 -0
- pyrogram/types/messages_and_media/paid_messages_price_changed.py +48 -0
- pyrogram/types/messages_and_media/paid_messages_refunded.py +54 -0
- pyrogram/types/messages_and_media/paid_reactor.py +86 -0
- pyrogram/types/messages_and_media/payment_form.py +169 -0
- pyrogram/types/messages_and_media/payment_option.py +50 -0
- pyrogram/types/messages_and_media/payment_result.py +66 -0
- pyrogram/types/messages_and_media/photo.py +130 -0
- pyrogram/types/messages_and_media/poll.py +372 -0
- pyrogram/types/messages_and_media/poll_option.py +91 -0
- pyrogram/types/messages_and_media/poll_option_added.py +69 -0
- pyrogram/types/messages_and_media/poll_option_deleted.py +69 -0
- pyrogram/types/messages_and_media/premium_gift_code.py +141 -0
- pyrogram/types/messages_and_media/proximity_alert_triggered.py +65 -0
- pyrogram/types/messages_and_media/reaction.py +97 -0
- pyrogram/types/messages_and_media/refunded_payment.py +81 -0
- pyrogram/types/messages_and_media/reply_parameters.py +88 -0
- pyrogram/types/messages_and_media/restriction_reason.py +62 -0
- pyrogram/types/messages_and_media/rich_block.py +999 -0
- pyrogram/types/messages_and_media/rich_message.py +71 -0
- pyrogram/types/messages_and_media/rich_text.py +692 -0
- pyrogram/types/messages_and_media/saved_credentials.py +50 -0
- pyrogram/types/messages_and_media/screenshot_taken.py +29 -0
- pyrogram/types/messages_and_media/star_amount.py +54 -0
- pyrogram/types/messages_and_media/sticker.py +287 -0
- pyrogram/types/messages_and_media/story.py +2183 -0
- pyrogram/types/messages_and_media/story_view.py +75 -0
- pyrogram/types/messages_and_media/stripped_thumbnail.py +47 -0
- pyrogram/types/messages_and_media/successful_payment.py +141 -0
- pyrogram/types/messages_and_media/suggested_post_approval_failed.py +88 -0
- pyrogram/types/messages_and_media/suggested_post_approved.py +93 -0
- pyrogram/types/messages_and_media/suggested_post_declined.py +86 -0
- pyrogram/types/messages_and_media/suggested_post_info.py +73 -0
- pyrogram/types/messages_and_media/suggested_post_paid.py +101 -0
- pyrogram/types/messages_and_media/suggested_post_parameters.py +53 -0
- pyrogram/types/messages_and_media/suggested_post_price.py +106 -0
- pyrogram/types/messages_and_media/suggested_post_refunded.py +92 -0
- pyrogram/types/messages_and_media/text_quote.py +83 -0
- pyrogram/types/messages_and_media/thumbnail.py +111 -0
- pyrogram/types/messages_and_media/upgraded_gift_attribute_id.py +58 -0
- pyrogram/types/messages_and_media/upgraded_gift_attribute_id_backdrop.py +41 -0
- pyrogram/types/messages_and_media/upgraded_gift_attribute_id_model.py +41 -0
- pyrogram/types/messages_and_media/upgraded_gift_attribute_id_symbol.py +41 -0
- pyrogram/types/messages_and_media/upgraded_gift_attribute_rarity.py +131 -0
- pyrogram/types/messages_and_media/upgraded_gift_original_details.py +74 -0
- pyrogram/types/messages_and_media/upgraded_gift_purchase_offer.py +138 -0
- pyrogram/types/messages_and_media/upgraded_gift_value_info.py +124 -0
- pyrogram/types/messages_and_media/venue.py +76 -0
- pyrogram/types/messages_and_media/video.py +174 -0
- pyrogram/types/messages_and_media/video_note.py +115 -0
- pyrogram/types/messages_and_media/voice.py +102 -0
- pyrogram/types/messages_and_media/web_app_data.py +53 -0
- pyrogram/types/messages_and_media/web_page.py +262 -0
- pyrogram/types/messages_and_media/write_access_allowed.py +57 -0
- pyrogram/types/object.py +127 -0
- pyrogram/types/update.py +27 -0
- pyrogram/types/user_and_chats/__init__.py +124 -0
- pyrogram/types/user_and_chats/accepted_gift_types.py +85 -0
- pyrogram/types/user_and_chats/birthday.py +69 -0
- pyrogram/types/user_and_chats/bot_verification.py +63 -0
- pyrogram/types/user_and_chats/business_bot_rights.py +125 -0
- pyrogram/types/user_and_chats/business_connection.py +85 -0
- pyrogram/types/user_and_chats/business_intro.py +74 -0
- pyrogram/types/user_and_chats/business_recipients.py +78 -0
- pyrogram/types/user_and_chats/business_weekly_open.py +49 -0
- pyrogram/types/user_and_chats/business_working_hours.py +62 -0
- pyrogram/types/user_and_chats/chat.py +1972 -0
- pyrogram/types/user_and_chats/chat_admin_with_invite_links.py +63 -0
- pyrogram/types/user_and_chats/chat_administrator_rights.py +160 -0
- pyrogram/types/user_and_chats/chat_color.py +64 -0
- pyrogram/types/user_and_chats/chat_event.py +536 -0
- pyrogram/types/user_and_chats/chat_event_filter.py +175 -0
- pyrogram/types/user_and_chats/chat_folder_invite_link_info.py +96 -0
- pyrogram/types/user_and_chats/chat_invite_link.py +130 -0
- pyrogram/types/user_and_chats/chat_join_request.py +146 -0
- pyrogram/types/user_and_chats/chat_join_result.py +117 -0
- pyrogram/types/user_and_chats/chat_joiner.py +82 -0
- pyrogram/types/user_and_chats/chat_member.py +247 -0
- pyrogram/types/user_and_chats/chat_member_updated.py +112 -0
- pyrogram/types/user_and_chats/chat_permissions.py +213 -0
- pyrogram/types/user_and_chats/chat_photo.py +125 -0
- pyrogram/types/user_and_chats/chat_reactions.py +69 -0
- pyrogram/types/user_and_chats/chat_settings.py +174 -0
- pyrogram/types/user_and_chats/dialog.py +121 -0
- pyrogram/types/user_and_chats/emoji_status.py +127 -0
- pyrogram/types/user_and_chats/failed_to_add_member.py +55 -0
- pyrogram/types/user_and_chats/folder.py +507 -0
- pyrogram/types/user_and_chats/folder_invite_link.py +57 -0
- pyrogram/types/user_and_chats/found_contacts.py +74 -0
- pyrogram/types/user_and_chats/global_privacy_settings.py +115 -0
- pyrogram/types/user_and_chats/group_call_member.py +149 -0
- pyrogram/types/user_and_chats/history_cleared.py +29 -0
- pyrogram/types/user_and_chats/invite_link_importer.py +61 -0
- pyrogram/types/user_and_chats/phone_call_ended.py +63 -0
- pyrogram/types/user_and_chats/phone_call_started.py +49 -0
- pyrogram/types/user_and_chats/privacy_rule.py +58 -0
- pyrogram/types/user_and_chats/restriction.py +50 -0
- pyrogram/types/user_and_chats/stories_stealth_mode.py +47 -0
- pyrogram/types/user_and_chats/user.py +960 -0
- pyrogram/types/user_and_chats/user_rating.py +72 -0
- pyrogram/types/user_and_chats/username.py +50 -0
- pyrogram/types/user_and_chats/verification_status.py +75 -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 +783 -0
- xn_pyrogram-2.2.23.dist-info/METADATA +159 -0
- xn_pyrogram-2.2.23.dist-info/RECORD +4024 -0
- xn_pyrogram-2.2.23.dist-info/WHEEL +4 -0
- xn_pyrogram-2.2.23.dist-info/licenses/COPYING +674 -0
- xn_pyrogram-2.2.23.dist-info/licenses/COPYING.lesser +165 -0
|
@@ -0,0 +1,4970 @@
|
|
|
1
|
+
# Pyrogram - Telegram MTProto API Client Library for Python
|
|
2
|
+
# Copyright (C) 2017-present Dan <https://github.com/delivrance>
|
|
3
|
+
#
|
|
4
|
+
# This file is part of Pyrogram.
|
|
5
|
+
#
|
|
6
|
+
# Pyrogram is free software: you can redistribute it and/or modify
|
|
7
|
+
# it under the terms of the GNU Lesser General Public License as published
|
|
8
|
+
# by the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
# (at your option) any later version.
|
|
10
|
+
#
|
|
11
|
+
# Pyrogram is distributed in the hope that it will be useful,
|
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
# GNU Lesser General Public License for more details.
|
|
15
|
+
#
|
|
16
|
+
# You should have received a copy of the GNU Lesser General Public License
|
|
17
|
+
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
|
|
18
|
+
|
|
19
|
+
from ..rpc_error import RPCError
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class BadRequest(RPCError):
|
|
23
|
+
"""Bad Request"""
|
|
24
|
+
CODE = 400
|
|
25
|
+
"""``int``: RPC Error Code"""
|
|
26
|
+
NAME = __doc__
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class AboutTooLong(BadRequest):
|
|
30
|
+
"""The provided about/bio text is too long."""
|
|
31
|
+
ID = "ABOUT_TOO_LONG"
|
|
32
|
+
"""``str``: RPC Error ID"""
|
|
33
|
+
MESSAGE = __doc__
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class AccessTokenExpired(BadRequest):
|
|
37
|
+
"""The bot token has expired."""
|
|
38
|
+
ID = "ACCESS_TOKEN_EXPIRED"
|
|
39
|
+
"""``str``: RPC Error ID"""
|
|
40
|
+
MESSAGE = __doc__
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
class AccessTokenInvalid(BadRequest):
|
|
44
|
+
"""The bot access token is invalid."""
|
|
45
|
+
ID = "ACCESS_TOKEN_INVALID"
|
|
46
|
+
"""``str``: RPC Error ID"""
|
|
47
|
+
MESSAGE = __doc__
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class AddressInvalid(BadRequest):
|
|
51
|
+
"""The specified geopoint address is invalid."""
|
|
52
|
+
ID = "ADDRESS_INVALID"
|
|
53
|
+
"""``str``: RPC Error ID"""
|
|
54
|
+
MESSAGE = __doc__
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
class AdminsTooMuch(BadRequest):
|
|
58
|
+
"""The chat has too many administrators."""
|
|
59
|
+
ID = "ADMINS_TOO_MUCH"
|
|
60
|
+
"""``str``: RPC Error ID"""
|
|
61
|
+
MESSAGE = __doc__
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
class AdminIdInvalid(BadRequest):
|
|
65
|
+
"""The specified admin ID is invalid."""
|
|
66
|
+
ID = "ADMIN_ID_INVALID"
|
|
67
|
+
"""``str``: RPC Error ID"""
|
|
68
|
+
MESSAGE = __doc__
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class AdminRankEmojiNotAllowed(BadRequest):
|
|
72
|
+
"""Emoji are not allowed in custom administrator titles."""
|
|
73
|
+
ID = "ADMIN_RANK_EMOJI_NOT_ALLOWED"
|
|
74
|
+
"""``str``: RPC Error ID"""
|
|
75
|
+
MESSAGE = __doc__
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class AdminRankInvalid(BadRequest):
|
|
79
|
+
"""The custom administrator title is invalid or too long."""
|
|
80
|
+
ID = "ADMIN_RANK_INVALID"
|
|
81
|
+
"""``str``: RPC Error ID"""
|
|
82
|
+
MESSAGE = __doc__
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class AdminRightsEmpty(BadRequest):
|
|
86
|
+
"""The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0)."""
|
|
87
|
+
ID = "ADMIN_RIGHTS_EMPTY"
|
|
88
|
+
"""``str``: RPC Error ID"""
|
|
89
|
+
MESSAGE = __doc__
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
class AdExpired(BadRequest):
|
|
93
|
+
"""The ad has expired (too old or not found)."""
|
|
94
|
+
ID = "AD_EXPIRED"
|
|
95
|
+
"""``str``: RPC Error ID"""
|
|
96
|
+
MESSAGE = __doc__
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class AiComposeTaskMissing(BadRequest):
|
|
100
|
+
"""The text composition style is missing."""
|
|
101
|
+
ID = "AI_COMPOSE_TASK_MISSING"
|
|
102
|
+
"""``str``: RPC Error ID"""
|
|
103
|
+
MESSAGE = __doc__
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
class AlbumPhotosTooMany(BadRequest):
|
|
107
|
+
"""Too many photos were included in the album."""
|
|
108
|
+
ID = "ALBUM_PHOTOS_TOO_MANY"
|
|
109
|
+
"""``str``: RPC Error ID"""
|
|
110
|
+
MESSAGE = __doc__
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
class AnonymousOpenInvalid(BadRequest):
|
|
114
|
+
"""allow_adding_options is not supported for anonymous polls and quizzes."""
|
|
115
|
+
ID = "ANONYMOUS_OPEN_INVALID"
|
|
116
|
+
"""``str``: RPC Error ID"""
|
|
117
|
+
MESSAGE = __doc__
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
class AnswerMediaTypeInvalid(BadRequest):
|
|
121
|
+
"""The option media type at index {value} is invalid."""
|
|
122
|
+
ID = "ANSWER_X_MEDIA_TYPE_INVALID"
|
|
123
|
+
"""``str``: RPC Error ID"""
|
|
124
|
+
MESSAGE = __doc__
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
class ApiIdInvalid(BadRequest):
|
|
128
|
+
"""The api_id/api_hash combination is invalid."""
|
|
129
|
+
ID = "API_ID_INVALID"
|
|
130
|
+
"""``str``: RPC Error ID"""
|
|
131
|
+
MESSAGE = __doc__
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
class ApiIdPublishedFlood(BadRequest):
|
|
135
|
+
"""You are using an API key that is limited on the server side because it was published somewhere."""
|
|
136
|
+
ID = "API_ID_PUBLISHED_FLOOD"
|
|
137
|
+
"""``str``: RPC Error ID"""
|
|
138
|
+
MESSAGE = __doc__
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class ArticleTitleEmpty(BadRequest):
|
|
142
|
+
"""The title of the article is empty."""
|
|
143
|
+
ID = "ARTICLE_TITLE_EMPTY"
|
|
144
|
+
"""``str``: RPC Error ID"""
|
|
145
|
+
MESSAGE = __doc__
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
class AttachMediaEmpty(BadRequest):
|
|
149
|
+
"""The attached media is empty."""
|
|
150
|
+
ID = "ATTACH_MEDIA_EMPTY"
|
|
151
|
+
"""``str``: RPC Error ID"""
|
|
152
|
+
MESSAGE = __doc__
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
class AttachMediaTypeInvalid(BadRequest):
|
|
156
|
+
"""The attached_media is invalid."""
|
|
157
|
+
ID = "ATTACH_MEDIA_TYPE_INVALID"
|
|
158
|
+
"""``str``: RPC Error ID"""
|
|
159
|
+
MESSAGE = __doc__
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
class AudioContentUrlEmpty(BadRequest):
|
|
163
|
+
"""The remote URL specified in the content field is empty."""
|
|
164
|
+
ID = "AUDIO_CONTENT_URL_EMPTY"
|
|
165
|
+
"""``str``: RPC Error ID"""
|
|
166
|
+
MESSAGE = __doc__
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
class AudioTitleEmpty(BadRequest):
|
|
170
|
+
"""The title attribute of the audio is empty."""
|
|
171
|
+
ID = "AUDIO_TITLE_EMPTY"
|
|
172
|
+
"""``str``: RPC Error ID"""
|
|
173
|
+
MESSAGE = __doc__
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
class AuthBytesInvalid(BadRequest):
|
|
177
|
+
"""The provided authorization bytes are invalid."""
|
|
178
|
+
ID = "AUTH_BYTES_INVALID"
|
|
179
|
+
"""``str``: RPC Error ID"""
|
|
180
|
+
MESSAGE = __doc__
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
class AuthTokenAlreadyAccepted(BadRequest):
|
|
184
|
+
"""The specified auth token was already used."""
|
|
185
|
+
ID = "AUTH_TOKEN_ALREADY_ACCEPTED"
|
|
186
|
+
"""``str``: RPC Error ID"""
|
|
187
|
+
MESSAGE = __doc__
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
class AuthTokenException(BadRequest):
|
|
191
|
+
"""An error occurred while importing the auth token."""
|
|
192
|
+
ID = "AUTH_TOKEN_EXCEPTION"
|
|
193
|
+
"""``str``: RPC Error ID"""
|
|
194
|
+
MESSAGE = __doc__
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
class AuthTokenExpired(BadRequest):
|
|
198
|
+
"""The provided authorization token has expired and the updated QR-code must be re-scanned."""
|
|
199
|
+
ID = "AUTH_TOKEN_EXPIRED"
|
|
200
|
+
"""``str``: RPC Error ID"""
|
|
201
|
+
MESSAGE = __doc__
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
class AuthTokenInvalid(BadRequest):
|
|
205
|
+
"""An invalid authorization token was provided."""
|
|
206
|
+
ID = "AUTH_TOKEN_INVALID"
|
|
207
|
+
"""``str``: RPC Error ID"""
|
|
208
|
+
MESSAGE = __doc__
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
class AuthTokenInvalid2(BadRequest):
|
|
212
|
+
"""An invalid authorization token was provided."""
|
|
213
|
+
ID = "AUTH_TOKEN_INVALID2"
|
|
214
|
+
"""``str``: RPC Error ID"""
|
|
215
|
+
MESSAGE = __doc__
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
class AuthTokenInvalidx(BadRequest):
|
|
219
|
+
"""The specified auth token is invalid."""
|
|
220
|
+
ID = "AUTH_TOKEN_INVALIDX"
|
|
221
|
+
"""``str``: RPC Error ID"""
|
|
222
|
+
MESSAGE = __doc__
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
class AutoarchiveNotAvailable(BadRequest):
|
|
226
|
+
"""This feature is not yet enabled for your account due to it not receiving too many private messages from strangers."""
|
|
227
|
+
ID = "AUTOARCHIVE_NOT_AVAILABLE"
|
|
228
|
+
"""``str``: RPC Error ID"""
|
|
229
|
+
MESSAGE = __doc__
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
class BalanceTooLow(BadRequest):
|
|
233
|
+
"""The transaction cannot be completed because the current [Telegram Stars balance](https://core.telegram.org/api/stars) is too low."""
|
|
234
|
+
ID = "BALANCE_TOO_LOW"
|
|
235
|
+
"""``str``: RPC Error ID"""
|
|
236
|
+
MESSAGE = __doc__
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
class BankCardNumberInvalid(BadRequest):
|
|
240
|
+
"""The specified credit card number is invalid."""
|
|
241
|
+
ID = "BANK_CARD_NUMBER_INVALID"
|
|
242
|
+
"""``str``: RPC Error ID"""
|
|
243
|
+
MESSAGE = __doc__
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
class BannedRightsInvalid(BadRequest):
|
|
247
|
+
"""You provided a set of restrictions that is invalid."""
|
|
248
|
+
ID = "BANNED_RIGHTS_INVALID"
|
|
249
|
+
"""``str``: RPC Error ID"""
|
|
250
|
+
MESSAGE = __doc__
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
class BasePortLocInvalid(BadRequest):
|
|
254
|
+
"""The base port location is invalid."""
|
|
255
|
+
ID = "BASE_PORT_LOC_INVALID"
|
|
256
|
+
"""``str``: RPC Error ID"""
|
|
257
|
+
MESSAGE = __doc__
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
class BirthdayAlready(BadRequest):
|
|
261
|
+
"""This user has already entered a birthday."""
|
|
262
|
+
ID = "BIRTHDAY_ALREADY"
|
|
263
|
+
"""``str``: RPC Error ID"""
|
|
264
|
+
MESSAGE = __doc__
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
class BirthdayInvalid(BadRequest):
|
|
268
|
+
"""An invalid age was specified, must be between 0 and 150 years."""
|
|
269
|
+
ID = "BIRTHDAY_INVALID"
|
|
270
|
+
"""``str``: RPC Error ID"""
|
|
271
|
+
MESSAGE = __doc__
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
class BoostsEmpty(BadRequest):
|
|
275
|
+
"""No boost slots were specified."""
|
|
276
|
+
ID = "BOOSTS_EMPTY"
|
|
277
|
+
"""``str``: RPC Error ID"""
|
|
278
|
+
MESSAGE = __doc__
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
class BoostsRequired(BadRequest):
|
|
282
|
+
"""The specified channel must first be [boosted by its users](https://core.telegram.org/api/boost) in order to perform this action."""
|
|
283
|
+
ID = "BOOSTS_REQUIRED"
|
|
284
|
+
"""``str``: RPC Error ID"""
|
|
285
|
+
MESSAGE = __doc__
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
class BoostNotModified(BadRequest):
|
|
289
|
+
"""You're already [boosting](https://core.telegram.org/api/boost) the specified channel."""
|
|
290
|
+
ID = "BOOST_NOT_MODIFIED"
|
|
291
|
+
"""``str``: RPC Error ID"""
|
|
292
|
+
MESSAGE = __doc__
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
class BoostPeerInvalid(BadRequest):
|
|
296
|
+
"""The specified `boost_peer` is invalid."""
|
|
297
|
+
ID = "BOOST_PEER_INVALID"
|
|
298
|
+
"""``str``: RPC Error ID"""
|
|
299
|
+
MESSAGE = __doc__
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
class BotsTooMuch(BadRequest):
|
|
303
|
+
"""There are too many bots in this chat/channel."""
|
|
304
|
+
ID = "BOTS_TOO_MUCH"
|
|
305
|
+
"""``str``: RPC Error ID"""
|
|
306
|
+
MESSAGE = __doc__
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
class BotAlreadyDisabled(BadRequest):
|
|
310
|
+
"""The connected business bot was already disabled for the specified peer."""
|
|
311
|
+
ID = "BOT_ALREADY_DISABLED"
|
|
312
|
+
"""``str``: RPC Error ID"""
|
|
313
|
+
MESSAGE = __doc__
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
class BotAppBotInvalid(BadRequest):
|
|
317
|
+
"""The bot_id passed in the inputBotAppShortName constructor is invalid."""
|
|
318
|
+
ID = "BOT_APP_BOT_INVALID"
|
|
319
|
+
"""``str``: RPC Error ID"""
|
|
320
|
+
MESSAGE = __doc__
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
class BotAppInvalid(BadRequest):
|
|
324
|
+
"""The specified bot app is invalid."""
|
|
325
|
+
ID = "BOT_APP_INVALID"
|
|
326
|
+
"""``str``: RPC Error ID"""
|
|
327
|
+
MESSAGE = __doc__
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
class BotAppShortnameInvalid(BadRequest):
|
|
331
|
+
"""The specified bot app short name is invalid."""
|
|
332
|
+
ID = "BOT_APP_SHORTNAME_INVALID"
|
|
333
|
+
"""``str``: RPC Error ID"""
|
|
334
|
+
MESSAGE = __doc__
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
class BotBusinessMissing(BadRequest):
|
|
338
|
+
"""The specified bot is not a business bot (the [user](https://core.telegram.org/constructor/user).`bot_business` flag is not set)."""
|
|
339
|
+
ID = "BOT_BUSINESS_MISSING"
|
|
340
|
+
"""``str``: RPC Error ID"""
|
|
341
|
+
MESSAGE = __doc__
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
class BotChannelsNa(BadRequest):
|
|
345
|
+
"""Bots can't edit admin privileges."""
|
|
346
|
+
ID = "BOT_CHANNELS_NA"
|
|
347
|
+
"""``str``: RPC Error ID"""
|
|
348
|
+
MESSAGE = __doc__
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
class BotCommandDescriptionInvalid(BadRequest):
|
|
352
|
+
"""The specified command description was empty, too long or had invalid characters."""
|
|
353
|
+
ID = "BOT_COMMAND_DESCRIPTION_INVALID"
|
|
354
|
+
"""``str``: RPC Error ID"""
|
|
355
|
+
MESSAGE = __doc__
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
class BotCommandInvalid(BadRequest):
|
|
359
|
+
"""The specified command is invalid."""
|
|
360
|
+
ID = "BOT_COMMAND_INVALID"
|
|
361
|
+
"""``str``: RPC Error ID"""
|
|
362
|
+
MESSAGE = __doc__
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
class BotDomainInvalid(BadRequest):
|
|
366
|
+
"""The domain used for the auth button does not match the one configured in @BotFather."""
|
|
367
|
+
ID = "BOT_DOMAIN_INVALID"
|
|
368
|
+
"""``str``: RPC Error ID"""
|
|
369
|
+
MESSAGE = __doc__
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
class BotFallbackUnsupported(BadRequest):
|
|
373
|
+
"""The fallback flag can't be set for bots."""
|
|
374
|
+
ID = "BOT_FALLBACK_UNSUPPORTED"
|
|
375
|
+
"""``str``: RPC Error ID"""
|
|
376
|
+
MESSAGE = __doc__
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
class BotGamesDisabled(BadRequest):
|
|
380
|
+
"""Bot games cannot be used in this type of chat."""
|
|
381
|
+
ID = "BOT_GAMES_DISABLED"
|
|
382
|
+
"""``str``: RPC Error ID"""
|
|
383
|
+
MESSAGE = __doc__
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
class BotGroupsBlocked(BadRequest):
|
|
387
|
+
"""This bot can't be added to groups."""
|
|
388
|
+
ID = "BOT_GROUPS_BLOCKED"
|
|
389
|
+
"""``str``: RPC Error ID"""
|
|
390
|
+
MESSAGE = __doc__
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
class BotInlineDisabled(BadRequest):
|
|
394
|
+
"""The inline feature of this bot is disabled."""
|
|
395
|
+
ID = "BOT_INLINE_DISABLED"
|
|
396
|
+
"""``str``: RPC Error ID"""
|
|
397
|
+
MESSAGE = __doc__
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
class BotInvalid(BadRequest):
|
|
401
|
+
"""This is not a valid bot."""
|
|
402
|
+
ID = "BOT_INVALID"
|
|
403
|
+
"""``str``: RPC Error ID"""
|
|
404
|
+
MESSAGE = __doc__
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
class BotInvoiceInvalid(BadRequest):
|
|
408
|
+
"""The specified invoice is invalid."""
|
|
409
|
+
ID = "BOT_INVOICE_INVALID"
|
|
410
|
+
"""``str``: RPC Error ID"""
|
|
411
|
+
MESSAGE = __doc__
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
class BotMethodInvalid(BadRequest):
|
|
415
|
+
"""The specified method cannot be used by bots."""
|
|
416
|
+
ID = "BOT_METHOD_INVALID"
|
|
417
|
+
"""``str``: RPC Error ID"""
|
|
418
|
+
MESSAGE = __doc__
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
class BotMissing(BadRequest):
|
|
422
|
+
"""This method can only be run by a bot."""
|
|
423
|
+
ID = "BOT_MISSING"
|
|
424
|
+
"""``str``: RPC Error ID"""
|
|
425
|
+
MESSAGE = __doc__
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
class BotNotConnectedYet(BadRequest):
|
|
429
|
+
"""No [business bot](https://core.telegram.org/api/business#connected-bots) is connected to the currently logged in user."""
|
|
430
|
+
ID = "BOT_NOT_CONNECTED_YET"
|
|
431
|
+
"""``str``: RPC Error ID"""
|
|
432
|
+
MESSAGE = __doc__
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
class BotOnesideNotAvail(BadRequest):
|
|
436
|
+
"""Bots can't pin messages in private chats just for themselves."""
|
|
437
|
+
ID = "BOT_ONESIDE_NOT_AVAIL"
|
|
438
|
+
"""``str``: RPC Error ID"""
|
|
439
|
+
MESSAGE = __doc__
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
class BotPaymentsDisabled(BadRequest):
|
|
443
|
+
"""Please enable bot payments in botfather before calling this method."""
|
|
444
|
+
ID = "BOT_PAYMENTS_DISABLED"
|
|
445
|
+
"""``str``: RPC Error ID"""
|
|
446
|
+
MESSAGE = __doc__
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
class BotPollsDisabled(BadRequest):
|
|
450
|
+
"""Sending polls by bots has been disabled."""
|
|
451
|
+
ID = "BOT_POLLS_DISABLED"
|
|
452
|
+
"""``str``: RPC Error ID"""
|
|
453
|
+
MESSAGE = __doc__
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
class BotResponseTimeout(BadRequest):
|
|
457
|
+
"""The bot did not answer to the callback query in time."""
|
|
458
|
+
ID = "BOT_RESPONSE_TIMEOUT"
|
|
459
|
+
"""``str``: RPC Error ID"""
|
|
460
|
+
MESSAGE = __doc__
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
class BotScoreNotModified(BadRequest):
|
|
464
|
+
"""The bot score wasn't modified."""
|
|
465
|
+
ID = "BOT_SCORE_NOT_MODIFIED"
|
|
466
|
+
"""``str``: RPC Error ID"""
|
|
467
|
+
MESSAGE = __doc__
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
class BotWebviewDisabled(BadRequest):
|
|
471
|
+
"""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."""
|
|
472
|
+
ID = "BOT_WEBVIEW_DISABLED"
|
|
473
|
+
"""``str``: RPC Error ID"""
|
|
474
|
+
MESSAGE = __doc__
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
class BroadcastCallsDisabled(BadRequest):
|
|
478
|
+
"""Broadcast calls disabled."""
|
|
479
|
+
ID = "BROADCAST_CALLS_DISABLED"
|
|
480
|
+
"""``str``: RPC Error ID"""
|
|
481
|
+
MESSAGE = __doc__
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
class BroadcastIdInvalid(BadRequest):
|
|
485
|
+
"""The channel is invalid."""
|
|
486
|
+
ID = "BROADCAST_ID_INVALID"
|
|
487
|
+
"""``str``: RPC Error ID"""
|
|
488
|
+
MESSAGE = __doc__
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
class BroadcastPublicVotersForbidden(BadRequest):
|
|
492
|
+
"""Polls with public voters cannot be sent in channels."""
|
|
493
|
+
ID = "BROADCAST_PUBLIC_VOTERS_FORBIDDEN"
|
|
494
|
+
"""``str``: RPC Error ID"""
|
|
495
|
+
MESSAGE = __doc__
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
class BroadcastRequired(BadRequest):
|
|
499
|
+
"""This method can only be used with a channel."""
|
|
500
|
+
ID = "BROADCAST_REQUIRED"
|
|
501
|
+
"""``str``: RPC Error ID"""
|
|
502
|
+
MESSAGE = __doc__
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
class BusinessBotMissing(BadRequest):
|
|
506
|
+
"""The business bot is missing."""
|
|
507
|
+
ID = "BUSINESS_BOT_MISSING"
|
|
508
|
+
"""``str``: RPC Error ID"""
|
|
509
|
+
MESSAGE = __doc__
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
class BusinessConnectionInvalid(BadRequest):
|
|
513
|
+
"""The business connection is invalid."""
|
|
514
|
+
ID = "BUSINESS_CONNECTION_INVALID"
|
|
515
|
+
"""``str``: RPC Error ID"""
|
|
516
|
+
MESSAGE = __doc__
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
class BusinessConnectionNotAllowed(BadRequest):
|
|
520
|
+
"""This business connection is not allowed."""
|
|
521
|
+
ID = "BUSINESS_CONNECTION_NOT_ALLOWED"
|
|
522
|
+
"""``str``: RPC Error ID"""
|
|
523
|
+
MESSAGE = __doc__
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
class BusinessPeerInvalid(BadRequest):
|
|
527
|
+
"""Messages can't be set to the specified peer through the current [business connection](https://core.telegram.org/api/business#connected-bots)."""
|
|
528
|
+
ID = "BUSINESS_PEER_INVALID"
|
|
529
|
+
"""``str``: RPC Error ID"""
|
|
530
|
+
MESSAGE = __doc__
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
class BusinessPeerUsageMissing(BadRequest):
|
|
534
|
+
"""You cannot send a message to a user through a [business connection](https://core.telegram.org/api/business#connected-bots) if the user hasn't recently contacted us."""
|
|
535
|
+
ID = "BUSINESS_PEER_USAGE_MISSING"
|
|
536
|
+
"""``str``: RPC Error ID"""
|
|
537
|
+
MESSAGE = __doc__
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
class BusinessRecipientsEmpty(BadRequest):
|
|
541
|
+
"""You didn't set any flag in inputBusinessBotRecipients, thus the bot cannot work with *any* peer."""
|
|
542
|
+
ID = "BUSINESS_RECIPIENTS_EMPTY"
|
|
543
|
+
"""``str``: RPC Error ID"""
|
|
544
|
+
MESSAGE = __doc__
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
class BusinessRecipientsInvalid(BadRequest):
|
|
548
|
+
"""The specified inputBusinessBotRecipients is invalid."""
|
|
549
|
+
ID = "BUSINESS_RECIPIENTS_INVALID"
|
|
550
|
+
"""``str``: RPC Error ID"""
|
|
551
|
+
MESSAGE = __doc__
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
class BusinessWorkHoursEmpty(BadRequest):
|
|
555
|
+
"""No work hours were specified."""
|
|
556
|
+
ID = "BUSINESS_WORK_HOURS_EMPTY"
|
|
557
|
+
"""``str``: RPC Error ID"""
|
|
558
|
+
MESSAGE = __doc__
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
class BusinessWorkHoursPeriodInvalid(BadRequest):
|
|
562
|
+
"""The specified work hours are invalid, see [here »](https://core.telegram.org/api/business#opening-hours) for the exact requirements."""
|
|
563
|
+
ID = "BUSINESS_WORK_HOURS_PERIOD_INVALID"
|
|
564
|
+
"""``str``: RPC Error ID"""
|
|
565
|
+
MESSAGE = __doc__
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
class ButtonCopyTextInvalid(BadRequest):
|
|
569
|
+
"""The specified [keyboardButtonCopy](https://core.telegram.org/constructor/keyboardButtonCopy).`copy_text` is invalid."""
|
|
570
|
+
ID = "BUTTON_COPY_TEXT_INVALID"
|
|
571
|
+
"""``str``: RPC Error ID"""
|
|
572
|
+
MESSAGE = __doc__
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
class ButtonDataInvalid(BadRequest):
|
|
576
|
+
"""The button callback data is invalid or too large."""
|
|
577
|
+
ID = "BUTTON_DATA_INVALID"
|
|
578
|
+
"""``str``: RPC Error ID"""
|
|
579
|
+
MESSAGE = __doc__
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
class ButtonIdInvalid(BadRequest):
|
|
583
|
+
"""The specified button_id is invalid."""
|
|
584
|
+
ID = "BUTTON_ID_INVALID"
|
|
585
|
+
"""``str``: RPC Error ID"""
|
|
586
|
+
MESSAGE = __doc__
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
class ButtonInvalid(BadRequest):
|
|
590
|
+
"""The specified button is invalid."""
|
|
591
|
+
ID = "BUTTON_INVALID"
|
|
592
|
+
"""``str``: RPC Error ID"""
|
|
593
|
+
MESSAGE = __doc__
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
class ButtonPosInvalid(BadRequest):
|
|
597
|
+
"""The position of one of the keyboard buttons is invalid (i.e. a Game or Pay button not in the first position, and so on...)."""
|
|
598
|
+
ID = "BUTTON_POS_INVALID"
|
|
599
|
+
"""``str``: RPC Error ID"""
|
|
600
|
+
MESSAGE = __doc__
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
class ButtonTextInvalid(BadRequest):
|
|
604
|
+
"""The specified button text is invalid."""
|
|
605
|
+
ID = "BUTTON_TEXT_INVALID"
|
|
606
|
+
"""``str``: RPC Error ID"""
|
|
607
|
+
MESSAGE = __doc__
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
class ButtonTypeInvalid(BadRequest):
|
|
611
|
+
"""The type of one of the buttons you provided is invalid."""
|
|
612
|
+
ID = "BUTTON_TYPE_INVALID"
|
|
613
|
+
"""``str``: RPC Error ID"""
|
|
614
|
+
MESSAGE = __doc__
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
class ButtonUrlInvalid(BadRequest):
|
|
618
|
+
"""The button url is invalid."""
|
|
619
|
+
ID = "BUTTON_URL_INVALID"
|
|
620
|
+
"""``str``: RPC Error ID"""
|
|
621
|
+
MESSAGE = __doc__
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
class ButtonUserInvalid(BadRequest):
|
|
625
|
+
"""The user_id passed to inputKeyboardButtonUserProfile is invalid!."""
|
|
626
|
+
ID = "BUTTON_USER_INVALID"
|
|
627
|
+
"""``str``: RPC Error ID"""
|
|
628
|
+
MESSAGE = __doc__
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
class ButtonUserPrivacyRestricted(BadRequest):
|
|
632
|
+
"""The privacy setting of the user specified in a [inputKeyboardButtonUserProfile](https://core.telegram.org/constructor/inputKeyboardButtonUserProfile) button do not allow creating such a button."""
|
|
633
|
+
ID = "BUTTON_USER_PRIVACY_RESTRICTED"
|
|
634
|
+
"""``str``: RPC Error ID"""
|
|
635
|
+
MESSAGE = __doc__
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
class CallAlreadyAccepted(BadRequest):
|
|
639
|
+
"""The call was already accepted."""
|
|
640
|
+
ID = "CALL_ALREADY_ACCEPTED"
|
|
641
|
+
"""``str``: RPC Error ID"""
|
|
642
|
+
MESSAGE = __doc__
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
class CallAlreadyDeclined(BadRequest):
|
|
646
|
+
"""The call was already declined."""
|
|
647
|
+
ID = "CALL_ALREADY_DECLINED"
|
|
648
|
+
"""``str``: RPC Error ID"""
|
|
649
|
+
MESSAGE = __doc__
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
class CallOccupyFailed(BadRequest):
|
|
653
|
+
"""The call failed because the user is already making another call."""
|
|
654
|
+
ID = "CALL_OCCUPY_FAILED"
|
|
655
|
+
"""``str``: RPC Error ID"""
|
|
656
|
+
MESSAGE = __doc__
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
class CallPeerInvalid(BadRequest):
|
|
660
|
+
"""The provided call peer object is invalid."""
|
|
661
|
+
ID = "CALL_PEER_INVALID"
|
|
662
|
+
"""``str``: RPC Error ID"""
|
|
663
|
+
MESSAGE = __doc__
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
class CallProtocolFlagsInvalid(BadRequest):
|
|
667
|
+
"""Call protocol flags invalid."""
|
|
668
|
+
ID = "CALL_PROTOCOL_FLAGS_INVALID"
|
|
669
|
+
"""``str``: RPC Error ID"""
|
|
670
|
+
MESSAGE = __doc__
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
class CallProtocolLayerInvalid(BadRequest):
|
|
674
|
+
"""The specified protocol layer version range is invalid."""
|
|
675
|
+
ID = "CALL_PROTOCOL_LAYER_INVALID"
|
|
676
|
+
"""``str``: RPC Error ID"""
|
|
677
|
+
MESSAGE = __doc__
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
class CdnMethodInvalid(BadRequest):
|
|
681
|
+
"""You can't call this method in a CDN DC."""
|
|
682
|
+
ID = "CDN_METHOD_INVALID"
|
|
683
|
+
"""``str``: RPC Error ID"""
|
|
684
|
+
MESSAGE = __doc__
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
class ChannelsAdminLocatedTooMuch(BadRequest):
|
|
688
|
+
"""The user has reached the limit of public geogroups."""
|
|
689
|
+
ID = "CHANNELS_ADMIN_LOCATED_TOO_MUCH"
|
|
690
|
+
"""``str``: RPC Error ID"""
|
|
691
|
+
MESSAGE = __doc__
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
class ChannelsAdminPublicTooMuch(BadRequest):
|
|
695
|
+
"""You're administrator of too many public channels."""
|
|
696
|
+
ID = "CHANNELS_ADMIN_PUBLIC_TOO_MUCH"
|
|
697
|
+
"""``str``: RPC Error ID"""
|
|
698
|
+
MESSAGE = __doc__
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
class ChannelsTooMuch(BadRequest):
|
|
702
|
+
"""You have joined too many channels/supergroups."""
|
|
703
|
+
ID = "CHANNELS_TOO_MUCH"
|
|
704
|
+
"""``str``: RPC Error ID"""
|
|
705
|
+
MESSAGE = __doc__
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
class ChannelAddInvalid(BadRequest):
|
|
709
|
+
"""Internal error."""
|
|
710
|
+
ID = "CHANNEL_ADD_INVALID"
|
|
711
|
+
"""``str``: RPC Error ID"""
|
|
712
|
+
MESSAGE = __doc__
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
class ChannelBanned(BadRequest):
|
|
716
|
+
"""The channel is banned."""
|
|
717
|
+
ID = "CHANNEL_BANNED"
|
|
718
|
+
"""``str``: RPC Error ID"""
|
|
719
|
+
MESSAGE = __doc__
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
class ChannelForumMissing(BadRequest):
|
|
723
|
+
"""This supergroup is not a forum."""
|
|
724
|
+
ID = "CHANNEL_FORUM_MISSING"
|
|
725
|
+
"""``str``: RPC Error ID"""
|
|
726
|
+
MESSAGE = __doc__
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
class ChannelIdInvalid(BadRequest):
|
|
730
|
+
"""The specified supergroup ID is invalid."""
|
|
731
|
+
ID = "CHANNEL_ID_INVALID"
|
|
732
|
+
"""``str``: RPC Error ID"""
|
|
733
|
+
MESSAGE = __doc__
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
class ChannelInvalid(BadRequest):
|
|
737
|
+
"""The provided channel is invalid."""
|
|
738
|
+
ID = "CHANNEL_INVALID"
|
|
739
|
+
"""``str``: RPC Error ID"""
|
|
740
|
+
MESSAGE = __doc__
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
class ChannelMonoforumUnsupported(BadRequest):
|
|
744
|
+
"""You cannot use this method in direct chats."""
|
|
745
|
+
ID = "CHANNEL_MONOFORUM_UNSUPPORTED"
|
|
746
|
+
"""``str``: RPC Error ID"""
|
|
747
|
+
MESSAGE = __doc__
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
class ChannelParicipantMissing(BadRequest):
|
|
751
|
+
"""The current user is not in the channel."""
|
|
752
|
+
ID = "CHANNEL_PARICIPANT_MISSING"
|
|
753
|
+
"""``str``: RPC Error ID"""
|
|
754
|
+
MESSAGE = __doc__
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
class ChannelPrivate(BadRequest):
|
|
758
|
+
"""You haven't joined this channel/supergroup."""
|
|
759
|
+
ID = "CHANNEL_PRIVATE"
|
|
760
|
+
"""``str``: RPC Error ID"""
|
|
761
|
+
MESSAGE = __doc__
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
class ChannelTooBig(BadRequest):
|
|
765
|
+
"""This channel is too big."""
|
|
766
|
+
ID = "CHANNEL_TOO_BIG"
|
|
767
|
+
"""``str``: RPC Error ID"""
|
|
768
|
+
MESSAGE = __doc__
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
class ChannelTooLarge(BadRequest):
|
|
772
|
+
"""This channel is too large."""
|
|
773
|
+
ID = "CHANNEL_TOO_LARGE"
|
|
774
|
+
"""``str``: RPC Error ID"""
|
|
775
|
+
MESSAGE = __doc__
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
class ChargeAlreadyRefunded(BadRequest):
|
|
779
|
+
"""This transaction was already refunded."""
|
|
780
|
+
ID = "CHARGE_ALREADY_REFUNDED"
|
|
781
|
+
"""``str``: RPC Error ID"""
|
|
782
|
+
MESSAGE = __doc__
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
class ChargeIdEmpty(BadRequest):
|
|
786
|
+
"""The specified charge_id is empty."""
|
|
787
|
+
ID = "CHARGE_ID_EMPTY"
|
|
788
|
+
"""``str``: RPC Error ID"""
|
|
789
|
+
MESSAGE = __doc__
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
class ChargeIdInvalid(BadRequest):
|
|
793
|
+
"""The specified charge_id is invalid."""
|
|
794
|
+
ID = "CHARGE_ID_INVALID"
|
|
795
|
+
"""``str``: RPC Error ID"""
|
|
796
|
+
MESSAGE = __doc__
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
class ChargeNotFound(BadRequest):
|
|
800
|
+
"""The charge id was not found."""
|
|
801
|
+
ID = "CHARGE_NOT_FOUND"
|
|
802
|
+
"""``str``: RPC Error ID"""
|
|
803
|
+
MESSAGE = __doc__
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
class ChatlinksTooMuch(BadRequest):
|
|
807
|
+
"""Too many [business chat links](https://core.telegram.org/api/business#business-chat-links) were created, please delete some older links."""
|
|
808
|
+
ID = "CHATLINKS_TOO_MUCH"
|
|
809
|
+
"""``str``: RPC Error ID"""
|
|
810
|
+
MESSAGE = __doc__
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
class ChatlinkSlugEmpty(BadRequest):
|
|
814
|
+
"""The specified slug is empty."""
|
|
815
|
+
ID = "CHATLINK_SLUG_EMPTY"
|
|
816
|
+
"""``str``: RPC Error ID"""
|
|
817
|
+
MESSAGE = __doc__
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
class ChatlinkSlugExpired(BadRequest):
|
|
821
|
+
"""The specified [business chat link](https://core.telegram.org/api/business#business-chat-links) has expired."""
|
|
822
|
+
ID = "CHATLINK_SLUG_EXPIRED"
|
|
823
|
+
"""``str``: RPC Error ID"""
|
|
824
|
+
MESSAGE = __doc__
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
class ChatlistsTooMuch(BadRequest):
|
|
828
|
+
"""You have created too many folder links, hitting the `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [limits »](https://core.telegram.org/api/config#chatlist-invites-limit-default)."""
|
|
829
|
+
ID = "CHATLISTS_TOO_MUCH"
|
|
830
|
+
"""``str``: RPC Error ID"""
|
|
831
|
+
MESSAGE = __doc__
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
class ChatlistExcludeInvalid(BadRequest):
|
|
835
|
+
"""The specified `exclude_peers` are invalid."""
|
|
836
|
+
ID = "CHATLIST_EXCLUDE_INVALID"
|
|
837
|
+
"""``str``: RPC Error ID"""
|
|
838
|
+
MESSAGE = __doc__
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
class ChatAboutNotModified(BadRequest):
|
|
842
|
+
"""The chat about text was not modified because you tried to edit it using the same content."""
|
|
843
|
+
ID = "CHAT_ABOUT_NOT_MODIFIED"
|
|
844
|
+
"""``str``: RPC Error ID"""
|
|
845
|
+
MESSAGE = __doc__
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
class ChatAboutTooLong(BadRequest):
|
|
849
|
+
"""The chat about text is too long."""
|
|
850
|
+
ID = "CHAT_ABOUT_TOO_LONG"
|
|
851
|
+
"""``str``: RPC Error ID"""
|
|
852
|
+
MESSAGE = __doc__
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
class ChatAdminRequired(BadRequest):
|
|
856
|
+
"""You must be an admin in this chat to do this."""
|
|
857
|
+
ID = "CHAT_ADMIN_REQUIRED"
|
|
858
|
+
"""``str``: RPC Error ID"""
|
|
859
|
+
MESSAGE = __doc__
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
class ChatDiscussionUnallowed(BadRequest):
|
|
863
|
+
"""You can't enable forum topics in a discussion group linked to a channel."""
|
|
864
|
+
ID = "CHAT_DISCUSSION_UNALLOWED"
|
|
865
|
+
"""``str``: RPC Error ID"""
|
|
866
|
+
MESSAGE = __doc__
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
class ChatForwardsRestricted(BadRequest):
|
|
870
|
+
"""You can't forward messages from a protected chat."""
|
|
871
|
+
ID = "CHAT_FORWARDS_RESTRICTED"
|
|
872
|
+
"""``str``: RPC Error ID"""
|
|
873
|
+
MESSAGE = __doc__
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
class ChatIdEmpty(BadRequest):
|
|
877
|
+
"""The provided chat id is empty."""
|
|
878
|
+
ID = "CHAT_ID_EMPTY"
|
|
879
|
+
"""``str``: RPC Error ID"""
|
|
880
|
+
MESSAGE = __doc__
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
class ChatIdInvalid(BadRequest):
|
|
884
|
+
"""The chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it."""
|
|
885
|
+
ID = "CHAT_ID_INVALID"
|
|
886
|
+
"""``str``: RPC Error ID"""
|
|
887
|
+
MESSAGE = __doc__
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
class ChatInvalid(BadRequest):
|
|
891
|
+
"""The chat is invalid."""
|
|
892
|
+
ID = "CHAT_INVALID"
|
|
893
|
+
"""``str``: RPC Error ID"""
|
|
894
|
+
MESSAGE = __doc__
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
class ChatInvitePermanent(BadRequest):
|
|
898
|
+
"""You can't set an expiration date on permanent invite links."""
|
|
899
|
+
ID = "CHAT_INVITE_PERMANENT"
|
|
900
|
+
"""``str``: RPC Error ID"""
|
|
901
|
+
MESSAGE = __doc__
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
class ChatLinkExists(BadRequest):
|
|
905
|
+
"""The action failed because the supergroup is linked to a channel."""
|
|
906
|
+
ID = "CHAT_LINK_EXISTS"
|
|
907
|
+
"""``str``: RPC Error ID"""
|
|
908
|
+
MESSAGE = __doc__
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
class ChatMemberAddFailed(BadRequest):
|
|
912
|
+
"""Could not add participants."""
|
|
913
|
+
ID = "CHAT_MEMBER_ADD_FAILED"
|
|
914
|
+
"""``str``: RPC Error ID"""
|
|
915
|
+
MESSAGE = __doc__
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
class ChatNotModified(BadRequest):
|
|
919
|
+
"""The chat settings (title, permissions, photo, etc..) were not modified because you tried to edit them using the same content."""
|
|
920
|
+
ID = "CHAT_NOT_MODIFIED"
|
|
921
|
+
"""``str``: RPC Error ID"""
|
|
922
|
+
MESSAGE = __doc__
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
class ChatPublicRequired(BadRequest):
|
|
926
|
+
"""You can only enable join requests in public groups."""
|
|
927
|
+
ID = "CHAT_PUBLIC_REQUIRED"
|
|
928
|
+
"""``str``: RPC Error ID"""
|
|
929
|
+
MESSAGE = __doc__
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
class ChatRestricted(BadRequest):
|
|
933
|
+
"""You can't send messages in this chat, you were restricted."""
|
|
934
|
+
ID = "CHAT_RESTRICTED"
|
|
935
|
+
"""``str``: RPC Error ID"""
|
|
936
|
+
MESSAGE = __doc__
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
class ChatRevokeDateUnsupported(BadRequest):
|
|
940
|
+
"""`min_date` and `max_date` are not available for using with non-user peers."""
|
|
941
|
+
ID = "CHAT_REVOKE_DATE_UNSUPPORTED"
|
|
942
|
+
"""``str``: RPC Error ID"""
|
|
943
|
+
MESSAGE = __doc__
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
class ChatSendInlineForbidden(BadRequest):
|
|
947
|
+
"""You cannot use inline bots to send messages in this chat."""
|
|
948
|
+
ID = "CHAT_SEND_INLINE_FORBIDDEN"
|
|
949
|
+
"""``str``: RPC Error ID"""
|
|
950
|
+
MESSAGE = __doc__
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
class ChatTitleEmpty(BadRequest):
|
|
954
|
+
"""The chat title is empty."""
|
|
955
|
+
ID = "CHAT_TITLE_EMPTY"
|
|
956
|
+
"""``str``: RPC Error ID"""
|
|
957
|
+
MESSAGE = __doc__
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
class ChatTooBig(BadRequest):
|
|
961
|
+
"""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)."""
|
|
962
|
+
ID = "CHAT_TOO_BIG"
|
|
963
|
+
"""``str``: RPC Error ID"""
|
|
964
|
+
MESSAGE = __doc__
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
class CodeEmpty(BadRequest):
|
|
968
|
+
"""The provided code is empty."""
|
|
969
|
+
ID = "CODE_EMPTY"
|
|
970
|
+
"""``str``: RPC Error ID"""
|
|
971
|
+
MESSAGE = __doc__
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
class CodeHashInvalid(BadRequest):
|
|
975
|
+
"""The provided code hash invalid."""
|
|
976
|
+
ID = "CODE_HASH_INVALID"
|
|
977
|
+
"""``str``: RPC Error ID"""
|
|
978
|
+
MESSAGE = __doc__
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
class CodeInvalid(BadRequest):
|
|
982
|
+
"""The provided code is invalid (i.e. from email)."""
|
|
983
|
+
ID = "CODE_INVALID"
|
|
984
|
+
"""``str``: RPC Error ID"""
|
|
985
|
+
MESSAGE = __doc__
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
class CollectibleInvalid(BadRequest):
|
|
989
|
+
"""The specified collectible is invalid."""
|
|
990
|
+
ID = "COLLECTIBLE_INVALID"
|
|
991
|
+
"""``str``: RPC Error ID"""
|
|
992
|
+
MESSAGE = __doc__
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
class CollectibleNotFound(BadRequest):
|
|
996
|
+
"""The specified collectible could not be found."""
|
|
997
|
+
ID = "COLLECTIBLE_NOT_FOUND"
|
|
998
|
+
"""``str``: RPC Error ID"""
|
|
999
|
+
MESSAGE = __doc__
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
class ColorInvalid(BadRequest):
|
|
1003
|
+
"""The specified color id is invalid."""
|
|
1004
|
+
ID = "COLOR_INVALID"
|
|
1005
|
+
"""``str``: RPC Error ID"""
|
|
1006
|
+
MESSAGE = __doc__
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
class ConnectionApiIdInvalid(BadRequest):
|
|
1010
|
+
"""The provided API id is invalid."""
|
|
1011
|
+
ID = "CONNECTION_API_ID_INVALID"
|
|
1012
|
+
"""``str``: RPC Error ID"""
|
|
1013
|
+
MESSAGE = __doc__
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
class ConnectionAppVersionEmpty(BadRequest):
|
|
1017
|
+
"""App version is empty."""
|
|
1018
|
+
ID = "CONNECTION_APP_VERSION_EMPTY"
|
|
1019
|
+
"""``str``: RPC Error ID"""
|
|
1020
|
+
MESSAGE = __doc__
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
class ConnectionDeviceModelEmpty(BadRequest):
|
|
1024
|
+
"""The specified device model is empty."""
|
|
1025
|
+
ID = "CONNECTION_DEVICE_MODEL_EMPTY"
|
|
1026
|
+
"""``str``: RPC Error ID"""
|
|
1027
|
+
MESSAGE = __doc__
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
class ConnectionIdInvalid(BadRequest):
|
|
1031
|
+
"""The specified connection ID is invalid."""
|
|
1032
|
+
ID = "CONNECTION_ID_INVALID"
|
|
1033
|
+
"""``str``: RPC Error ID"""
|
|
1034
|
+
MESSAGE = __doc__
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
class ConnectionLangPackInvalid(BadRequest):
|
|
1038
|
+
"""The specified language pack is invalid."""
|
|
1039
|
+
ID = "CONNECTION_LANG_PACK_INVALID"
|
|
1040
|
+
"""``str``: RPC Error ID"""
|
|
1041
|
+
MESSAGE = __doc__
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
class ConnectionLayerInvalid(BadRequest):
|
|
1045
|
+
"""The connection layer is invalid. Missing InvokeWithLayer-InitConnection call."""
|
|
1046
|
+
ID = "CONNECTION_LAYER_INVALID"
|
|
1047
|
+
"""``str``: RPC Error ID"""
|
|
1048
|
+
MESSAGE = __doc__
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
class ConnectionNotInited(BadRequest):
|
|
1052
|
+
"""Please initialize the connection using initConnection before making queries."""
|
|
1053
|
+
ID = "CONNECTION_NOT_INITED"
|
|
1054
|
+
"""``str``: RPC Error ID"""
|
|
1055
|
+
MESSAGE = __doc__
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
class ConnectionSystemEmpty(BadRequest):
|
|
1059
|
+
"""The specified system version is empty."""
|
|
1060
|
+
ID = "CONNECTION_SYSTEM_EMPTY"
|
|
1061
|
+
"""``str``: RPC Error ID"""
|
|
1062
|
+
MESSAGE = __doc__
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
class ConnectionSystemLangCodeEmpty(BadRequest):
|
|
1066
|
+
"""The specified system language code is empty."""
|
|
1067
|
+
ID = "CONNECTION_SYSTEM_LANG_CODE_EMPTY"
|
|
1068
|
+
"""``str``: RPC Error ID"""
|
|
1069
|
+
MESSAGE = __doc__
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
class ContactAddMissing(BadRequest):
|
|
1073
|
+
"""Contact to add is missing."""
|
|
1074
|
+
ID = "CONTACT_ADD_MISSING"
|
|
1075
|
+
"""``str``: RPC Error ID"""
|
|
1076
|
+
MESSAGE = __doc__
|
|
1077
|
+
|
|
1078
|
+
|
|
1079
|
+
class ContactIdInvalid(BadRequest):
|
|
1080
|
+
"""The provided contact ID is invalid."""
|
|
1081
|
+
ID = "CONTACT_ID_INVALID"
|
|
1082
|
+
"""``str``: RPC Error ID"""
|
|
1083
|
+
MESSAGE = __doc__
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
class ContactMissing(BadRequest):
|
|
1087
|
+
"""The specified user is not a contact."""
|
|
1088
|
+
ID = "CONTACT_MISSING"
|
|
1089
|
+
"""``str``: RPC Error ID"""
|
|
1090
|
+
MESSAGE = __doc__
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
class ContactNameEmpty(BadRequest):
|
|
1094
|
+
"""The provided contact name is empty."""
|
|
1095
|
+
ID = "CONTACT_NAME_EMPTY"
|
|
1096
|
+
"""``str``: RPC Error ID"""
|
|
1097
|
+
MESSAGE = __doc__
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
class ContactReqMissing(BadRequest):
|
|
1101
|
+
"""Missing contact request."""
|
|
1102
|
+
ID = "CONTACT_REQ_MISSING"
|
|
1103
|
+
"""``str``: RPC Error ID"""
|
|
1104
|
+
MESSAGE = __doc__
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
class CreateCallFailed(BadRequest):
|
|
1108
|
+
"""An error occurred while creating the call."""
|
|
1109
|
+
ID = "CREATE_CALL_FAILED"
|
|
1110
|
+
"""``str``: RPC Error ID"""
|
|
1111
|
+
MESSAGE = __doc__
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
class CredentialInvalid(BadRequest):
|
|
1115
|
+
"""The credential is invalid."""
|
|
1116
|
+
ID = "CREDENTIAL_INVALID"
|
|
1117
|
+
"""``str``: RPC Error ID"""
|
|
1118
|
+
MESSAGE = __doc__
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
class CurrencyTotalAmountInvalid(BadRequest):
|
|
1122
|
+
"""The total amount of all prices is invalid."""
|
|
1123
|
+
ID = "CURRENCY_TOTAL_AMOUNT_INVALID"
|
|
1124
|
+
"""``str``: RPC Error ID"""
|
|
1125
|
+
MESSAGE = __doc__
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
class CustomReactionsTooMany(BadRequest):
|
|
1129
|
+
"""Too many custom reactions were specified."""
|
|
1130
|
+
ID = "CUSTOM_REACTIONS_TOO_MANY"
|
|
1131
|
+
"""``str``: RPC Error ID"""
|
|
1132
|
+
MESSAGE = __doc__
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
class DataHashSizeInvalid(BadRequest):
|
|
1136
|
+
"""The size of the specified secureValueErrorData.data_hash is invalid."""
|
|
1137
|
+
ID = "DATA_HASH_SIZE_INVALID"
|
|
1138
|
+
"""``str``: RPC Error ID"""
|
|
1139
|
+
MESSAGE = __doc__
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
class DataInvalid(BadRequest):
|
|
1143
|
+
"""The encrypted data is invalid."""
|
|
1144
|
+
ID = "DATA_INVALID"
|
|
1145
|
+
"""``str``: RPC Error ID"""
|
|
1146
|
+
MESSAGE = __doc__
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
class DataJsonInvalid(BadRequest):
|
|
1150
|
+
"""The provided JSON data is invalid."""
|
|
1151
|
+
ID = "DATA_JSON_INVALID"
|
|
1152
|
+
"""``str``: RPC Error ID"""
|
|
1153
|
+
MESSAGE = __doc__
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
class DataTooLong(BadRequest):
|
|
1157
|
+
"""The data is too long."""
|
|
1158
|
+
ID = "DATA_TOO_LONG"
|
|
1159
|
+
"""``str``: RPC Error ID"""
|
|
1160
|
+
MESSAGE = __doc__
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
class DateEmpty(BadRequest):
|
|
1164
|
+
"""The date argument is empty."""
|
|
1165
|
+
ID = "DATE_EMPTY"
|
|
1166
|
+
"""``str``: RPC Error ID"""
|
|
1167
|
+
MESSAGE = __doc__
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
class DcIdInvalid(BadRequest):
|
|
1171
|
+
"""The provided dc_id is invalid."""
|
|
1172
|
+
ID = "DC_ID_INVALID"
|
|
1173
|
+
"""``str``: RPC Error ID"""
|
|
1174
|
+
MESSAGE = __doc__
|
|
1175
|
+
|
|
1176
|
+
|
|
1177
|
+
class DeleteAnswerForbidden(BadRequest):
|
|
1178
|
+
"""You cannot delete the specified option in this poll."""
|
|
1179
|
+
ID = "DELETE_ANSWER_FORBIDDEN"
|
|
1180
|
+
"""``str``: RPC Error ID"""
|
|
1181
|
+
MESSAGE = __doc__
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
class DhGAInvalid(BadRequest):
|
|
1185
|
+
"""The g_a parameter is invalid."""
|
|
1186
|
+
ID = "DH_G_A_INVALID"
|
|
1187
|
+
"""``str``: RPC Error ID"""
|
|
1188
|
+
MESSAGE = __doc__
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
class DocumentInvalid(BadRequest):
|
|
1192
|
+
"""The specified document is invalid."""
|
|
1193
|
+
ID = "DOCUMENT_INVALID"
|
|
1194
|
+
"""``str``: RPC Error ID"""
|
|
1195
|
+
MESSAGE = __doc__
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
class EffectIdInvalid(BadRequest):
|
|
1199
|
+
"""The specified effect id is invalid."""
|
|
1200
|
+
ID = "EFFECT_ID_INVALID"
|
|
1201
|
+
"""``str``: RPC Error ID"""
|
|
1202
|
+
MESSAGE = __doc__
|
|
1203
|
+
|
|
1204
|
+
|
|
1205
|
+
class EmailCodeEmpty(BadRequest):
|
|
1206
|
+
"""The email code is empty."""
|
|
1207
|
+
ID = "EMAIL_CODE_EMPTY"
|
|
1208
|
+
"""``str``: RPC Error ID"""
|
|
1209
|
+
MESSAGE = __doc__
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
class EmailHashExpired(BadRequest):
|
|
1213
|
+
"""The email hash expired and cannot be used to verify it."""
|
|
1214
|
+
ID = "EMAIL_HASH_EXPIRED"
|
|
1215
|
+
"""``str``: RPC Error ID"""
|
|
1216
|
+
MESSAGE = __doc__
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
class EmailInvalid(BadRequest):
|
|
1220
|
+
"""The specified email is invalid."""
|
|
1221
|
+
ID = "EMAIL_INVALID"
|
|
1222
|
+
"""``str``: RPC Error ID"""
|
|
1223
|
+
MESSAGE = __doc__
|
|
1224
|
+
|
|
1225
|
+
|
|
1226
|
+
class EmailNotAllowed(BadRequest):
|
|
1227
|
+
"""The specified email cannot be used to complete the operation."""
|
|
1228
|
+
ID = "EMAIL_NOT_ALLOWED"
|
|
1229
|
+
"""``str``: RPC Error ID"""
|
|
1230
|
+
MESSAGE = __doc__
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
class EmailNotSetup(BadRequest):
|
|
1234
|
+
"""In order to change the login email with emailVerifyPurposeLoginChange, an existing login email must already be set using emailVerifyPurposeLoginSetup."""
|
|
1235
|
+
ID = "EMAIL_NOT_SETUP"
|
|
1236
|
+
"""``str``: RPC Error ID"""
|
|
1237
|
+
MESSAGE = __doc__
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
class EmailUnconfirmed(BadRequest):
|
|
1241
|
+
"""Email unconfirmed."""
|
|
1242
|
+
ID = "EMAIL_UNCONFIRMED"
|
|
1243
|
+
"""``str``: RPC Error ID"""
|
|
1244
|
+
MESSAGE = __doc__
|
|
1245
|
+
|
|
1246
|
+
|
|
1247
|
+
class EmailUnconfirmed(BadRequest):
|
|
1248
|
+
"""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."""
|
|
1249
|
+
ID = "EMAIL_UNCONFIRMED_X"
|
|
1250
|
+
"""``str``: RPC Error ID"""
|
|
1251
|
+
MESSAGE = __doc__
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
class EmailVerifyExpired(BadRequest):
|
|
1255
|
+
"""The verification email has expired."""
|
|
1256
|
+
ID = "EMAIL_VERIFY_EXPIRED"
|
|
1257
|
+
"""``str``: RPC Error ID"""
|
|
1258
|
+
MESSAGE = __doc__
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
class EmojiInvalid(BadRequest):
|
|
1262
|
+
"""The specified theme emoji is valid."""
|
|
1263
|
+
ID = "EMOJI_INVALID"
|
|
1264
|
+
"""``str``: RPC Error ID"""
|
|
1265
|
+
MESSAGE = __doc__
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
class EmojiMarkupInvalid(BadRequest):
|
|
1269
|
+
"""The specified `video_emoji_markup` was invalid."""
|
|
1270
|
+
ID = "EMOJI_MARKUP_INVALID"
|
|
1271
|
+
"""``str``: RPC Error ID"""
|
|
1272
|
+
MESSAGE = __doc__
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
class EmojiNotModified(BadRequest):
|
|
1276
|
+
"""The theme wasn't changed."""
|
|
1277
|
+
ID = "EMOJI_NOT_MODIFIED"
|
|
1278
|
+
"""``str``: RPC Error ID"""
|
|
1279
|
+
MESSAGE = __doc__
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
class EmoticonEmpty(BadRequest):
|
|
1283
|
+
"""The provided emoji parameter is empty."""
|
|
1284
|
+
ID = "EMOTICON_EMPTY"
|
|
1285
|
+
"""``str``: RPC Error ID"""
|
|
1286
|
+
MESSAGE = __doc__
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
class EmoticonInvalid(BadRequest):
|
|
1290
|
+
"""The specified emoji is invalid."""
|
|
1291
|
+
ID = "EMOTICON_INVALID"
|
|
1292
|
+
"""``str``: RPC Error ID"""
|
|
1293
|
+
MESSAGE = __doc__
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
class EmoticonStickerpackMissing(BadRequest):
|
|
1297
|
+
"""The emoticon sticker pack you are trying to obtain is missing."""
|
|
1298
|
+
ID = "EMOTICON_STICKERPACK_MISSING"
|
|
1299
|
+
"""``str``: RPC Error ID"""
|
|
1300
|
+
MESSAGE = __doc__
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
class EncryptedMessageInvalid(BadRequest):
|
|
1304
|
+
"""The special binding message (bind_auth_key_inner) contains invalid data."""
|
|
1305
|
+
ID = "ENCRYPTED_MESSAGE_INVALID"
|
|
1306
|
+
"""``str``: RPC Error ID"""
|
|
1307
|
+
MESSAGE = __doc__
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
class EncryptionAlreadyAccepted(BadRequest):
|
|
1311
|
+
"""The secret chat was already accepted."""
|
|
1312
|
+
ID = "ENCRYPTION_ALREADY_ACCEPTED"
|
|
1313
|
+
"""``str``: RPC Error ID"""
|
|
1314
|
+
MESSAGE = __doc__
|
|
1315
|
+
|
|
1316
|
+
|
|
1317
|
+
class EncryptionAlreadyDeclined(BadRequest):
|
|
1318
|
+
"""The secret chat was already declined."""
|
|
1319
|
+
ID = "ENCRYPTION_ALREADY_DECLINED"
|
|
1320
|
+
"""``str``: RPC Error ID"""
|
|
1321
|
+
MESSAGE = __doc__
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
class EncryptionDeclined(BadRequest):
|
|
1325
|
+
"""The secret chat was declined."""
|
|
1326
|
+
ID = "ENCRYPTION_DECLINED"
|
|
1327
|
+
"""``str``: RPC Error ID"""
|
|
1328
|
+
MESSAGE = __doc__
|
|
1329
|
+
|
|
1330
|
+
|
|
1331
|
+
class EncryptionIdInvalid(BadRequest):
|
|
1332
|
+
"""The provided secret chat id is invalid."""
|
|
1333
|
+
ID = "ENCRYPTION_ID_INVALID"
|
|
1334
|
+
"""``str``: RPC Error ID"""
|
|
1335
|
+
MESSAGE = __doc__
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
class EntitiesTooLong(BadRequest):
|
|
1339
|
+
"""The entity provided contains data that is too long, or you passed too many entities to this message."""
|
|
1340
|
+
ID = "ENTITIES_TOO_LONG"
|
|
1341
|
+
"""``str``: RPC Error ID"""
|
|
1342
|
+
MESSAGE = __doc__
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
class EntityBoundsInvalid(BadRequest):
|
|
1346
|
+
"""A specified [entity offset or length](https://core.telegram.org/api/entities#entity-length) is invalid, see [here »](https://core.telegram.org/api/entities#entity-length) for info on how to properly compute the entity offset/length."""
|
|
1347
|
+
ID = "ENTITY_BOUNDS_INVALID"
|
|
1348
|
+
"""``str``: RPC Error ID"""
|
|
1349
|
+
MESSAGE = __doc__
|
|
1350
|
+
|
|
1351
|
+
|
|
1352
|
+
class EntityDateInvalid(BadRequest):
|
|
1353
|
+
"""A specified date/time entity is invalid."""
|
|
1354
|
+
ID = "ENTITY_DATE_INVALID"
|
|
1355
|
+
"""``str``: RPC Error ID"""
|
|
1356
|
+
MESSAGE = __doc__
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
class EntityMentionUserInvalid(BadRequest):
|
|
1360
|
+
"""The mentioned entity is not an user."""
|
|
1361
|
+
ID = "ENTITY_MENTION_USER_INVALID"
|
|
1362
|
+
"""``str``: RPC Error ID"""
|
|
1363
|
+
MESSAGE = __doc__
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
class ErrorTextEmpty(BadRequest):
|
|
1367
|
+
"""The provided error message is empty."""
|
|
1368
|
+
ID = "ERROR_TEXT_EMPTY"
|
|
1369
|
+
"""``str``: RPC Error ID"""
|
|
1370
|
+
MESSAGE = __doc__
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
class ExpiresAtInvalid(BadRequest):
|
|
1374
|
+
"""The specified `expires_at` timestamp is invalid."""
|
|
1375
|
+
ID = "EXPIRES_AT_INVALID"
|
|
1376
|
+
"""``str``: RPC Error ID"""
|
|
1377
|
+
MESSAGE = __doc__
|
|
1378
|
+
|
|
1379
|
+
|
|
1380
|
+
class ExpireDateInvalid(BadRequest):
|
|
1381
|
+
"""The specified expiration date is invalid."""
|
|
1382
|
+
ID = "EXPIRE_DATE_INVALID"
|
|
1383
|
+
"""``str``: RPC Error ID"""
|
|
1384
|
+
MESSAGE = __doc__
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
class ExpireForbidden(BadRequest):
|
|
1388
|
+
"""Expire forbidden."""
|
|
1389
|
+
ID = "EXPIRE_FORBIDDEN"
|
|
1390
|
+
"""``str``: RPC Error ID"""
|
|
1391
|
+
MESSAGE = __doc__
|
|
1392
|
+
|
|
1393
|
+
|
|
1394
|
+
class ExportCardInvalid(BadRequest):
|
|
1395
|
+
"""The provided card is invalid."""
|
|
1396
|
+
ID = "EXPORT_CARD_INVALID"
|
|
1397
|
+
"""``str``: RPC Error ID"""
|
|
1398
|
+
MESSAGE = __doc__
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
class ExtendedMediaAmountInvalid(BadRequest):
|
|
1402
|
+
"""The specified `stars_amount` of the passed [inputMediaPaidMedia](https://core.telegram.org/constructor/inputMediaPaidMedia) is invalid."""
|
|
1403
|
+
ID = "EXTENDED_MEDIA_AMOUNT_INVALID"
|
|
1404
|
+
"""``str``: RPC Error ID"""
|
|
1405
|
+
MESSAGE = __doc__
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
class ExtendedMediaInvalid(BadRequest):
|
|
1409
|
+
"""The specified paid media is invalid."""
|
|
1410
|
+
ID = "EXTENDED_MEDIA_INVALID"
|
|
1411
|
+
"""``str``: RPC Error ID"""
|
|
1412
|
+
MESSAGE = __doc__
|
|
1413
|
+
|
|
1414
|
+
|
|
1415
|
+
class ExtendedMediaPeerInvalid(BadRequest):
|
|
1416
|
+
"""The specified chat type is invalid."""
|
|
1417
|
+
ID = "EXTENDED_MEDIA_PEER_INVALID"
|
|
1418
|
+
"""``str``: RPC Error ID"""
|
|
1419
|
+
MESSAGE = __doc__
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
class ExtendedMediaTypeInvalid(BadRequest):
|
|
1423
|
+
"""The specified extended media type is unsupported."""
|
|
1424
|
+
ID = "EXTENDED_MEDIA_TYPE_INVALID"
|
|
1425
|
+
"""``str``: RPC Error ID"""
|
|
1426
|
+
MESSAGE = __doc__
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
class ExternalUrlInvalid(BadRequest):
|
|
1430
|
+
"""The external media URL is invalid."""
|
|
1431
|
+
ID = "EXTERNAL_URL_INVALID"
|
|
1432
|
+
"""``str``: RPC Error ID"""
|
|
1433
|
+
MESSAGE = __doc__
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
class FeatureDisabled(BadRequest):
|
|
1437
|
+
"""This feature is disabled."""
|
|
1438
|
+
ID = "FEATURE_DISABLED"
|
|
1439
|
+
"""``str``: RPC Error ID"""
|
|
1440
|
+
MESSAGE = __doc__
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
class FieldNameEmpty(BadRequest):
|
|
1444
|
+
"""The field with the name FIELD_NAME is missing."""
|
|
1445
|
+
ID = "FIELD_NAME_EMPTY"
|
|
1446
|
+
"""``str``: RPC Error ID"""
|
|
1447
|
+
MESSAGE = __doc__
|
|
1448
|
+
|
|
1449
|
+
|
|
1450
|
+
class FieldNameInvalid(BadRequest):
|
|
1451
|
+
"""The field with the name FIELD_NAME is invalid."""
|
|
1452
|
+
ID = "FIELD_NAME_INVALID"
|
|
1453
|
+
"""``str``: RPC Error ID"""
|
|
1454
|
+
MESSAGE = __doc__
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
class FileContentTypeInvalid(BadRequest):
|
|
1458
|
+
"""File content-type is invalid."""
|
|
1459
|
+
ID = "FILE_CONTENT_TYPE_INVALID"
|
|
1460
|
+
"""``str``: RPC Error ID"""
|
|
1461
|
+
MESSAGE = __doc__
|
|
1462
|
+
|
|
1463
|
+
|
|
1464
|
+
class FileEmtpy(BadRequest):
|
|
1465
|
+
"""An empty file was provided."""
|
|
1466
|
+
ID = "FILE_EMTPY"
|
|
1467
|
+
"""``str``: RPC Error ID"""
|
|
1468
|
+
MESSAGE = __doc__
|
|
1469
|
+
|
|
1470
|
+
|
|
1471
|
+
class FileIdInvalid(BadRequest):
|
|
1472
|
+
"""The provided file id is invalid."""
|
|
1473
|
+
ID = "FILE_ID_INVALID"
|
|
1474
|
+
"""``str``: RPC Error ID"""
|
|
1475
|
+
MESSAGE = __doc__
|
|
1476
|
+
|
|
1477
|
+
|
|
1478
|
+
class FileMigrate(BadRequest):
|
|
1479
|
+
"""The file currently being accessed is stored in DC{value}, please re-send the query to that DC."""
|
|
1480
|
+
ID = "FILE_MIGRATE_X"
|
|
1481
|
+
"""``str``: RPC Error ID"""
|
|
1482
|
+
MESSAGE = __doc__
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
class FilePartsInvalid(BadRequest):
|
|
1486
|
+
"""The number of file parts is invalid."""
|
|
1487
|
+
ID = "FILE_PARTS_INVALID"
|
|
1488
|
+
"""``str``: RPC Error ID"""
|
|
1489
|
+
MESSAGE = __doc__
|
|
1490
|
+
|
|
1491
|
+
|
|
1492
|
+
class FilePart0Missing(BadRequest):
|
|
1493
|
+
"""File part 0 missing."""
|
|
1494
|
+
ID = "FILE_PART_0_MISSING"
|
|
1495
|
+
"""``str``: RPC Error ID"""
|
|
1496
|
+
MESSAGE = __doc__
|
|
1497
|
+
|
|
1498
|
+
|
|
1499
|
+
class FilePartEmpty(BadRequest):
|
|
1500
|
+
"""The provided file part is empty."""
|
|
1501
|
+
ID = "FILE_PART_EMPTY"
|
|
1502
|
+
"""``str``: RPC Error ID"""
|
|
1503
|
+
MESSAGE = __doc__
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
class FilePartInvalid(BadRequest):
|
|
1507
|
+
"""The file part number is invalid."""
|
|
1508
|
+
ID = "FILE_PART_INVALID"
|
|
1509
|
+
"""``str``: RPC Error ID"""
|
|
1510
|
+
MESSAGE = __doc__
|
|
1511
|
+
|
|
1512
|
+
|
|
1513
|
+
class FilePartLengthInvalid(BadRequest):
|
|
1514
|
+
"""The length of a file part is invalid."""
|
|
1515
|
+
ID = "FILE_PART_LENGTH_INVALID"
|
|
1516
|
+
"""``str``: RPC Error ID"""
|
|
1517
|
+
MESSAGE = __doc__
|
|
1518
|
+
|
|
1519
|
+
|
|
1520
|
+
class FilePartSizeChanged(BadRequest):
|
|
1521
|
+
"""The part size is different from the size of one of the previous parts in the same file."""
|
|
1522
|
+
ID = "FILE_PART_SIZE_CHANGED"
|
|
1523
|
+
"""``str``: RPC Error ID"""
|
|
1524
|
+
MESSAGE = __doc__
|
|
1525
|
+
|
|
1526
|
+
|
|
1527
|
+
class FilePartSizeInvalid(BadRequest):
|
|
1528
|
+
"""The provided file part size is invalid."""
|
|
1529
|
+
ID = "FILE_PART_SIZE_INVALID"
|
|
1530
|
+
"""``str``: RPC Error ID"""
|
|
1531
|
+
MESSAGE = __doc__
|
|
1532
|
+
|
|
1533
|
+
|
|
1534
|
+
class FilePartTooBig(BadRequest):
|
|
1535
|
+
"""The uploaded file part is too big."""
|
|
1536
|
+
ID = "FILE_PART_TOO_BIG"
|
|
1537
|
+
"""``str``: RPC Error ID"""
|
|
1538
|
+
MESSAGE = __doc__
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
class FilePartTooSmall(BadRequest):
|
|
1542
|
+
"""The size limit for the content of the file part has been exceeded."""
|
|
1543
|
+
ID = "FILE_PART_TOO_SMALL"
|
|
1544
|
+
"""``str``: RPC Error ID"""
|
|
1545
|
+
MESSAGE = __doc__
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
class FilePartMissing(BadRequest):
|
|
1549
|
+
"""Part {value} of the file is missing from storage. Try repeating the method call to resave the part."""
|
|
1550
|
+
ID = "FILE_PART_X_MISSING"
|
|
1551
|
+
"""``str``: RPC Error ID"""
|
|
1552
|
+
MESSAGE = __doc__
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
class FileReferenceEmpty(BadRequest):
|
|
1556
|
+
"""The file id contains an empty [file reference](https://core.telegram.org/api/file_reference), you must obtain a valid one by fetching the message from the origin context."""
|
|
1557
|
+
ID = "FILE_REFERENCE_EMPTY"
|
|
1558
|
+
"""``str``: RPC Error ID"""
|
|
1559
|
+
MESSAGE = __doc__
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
|
+
class FileReferenceExpired(BadRequest):
|
|
1563
|
+
"""The file id contains an expired [file reference](https://core.telegram.org/api/file_reference), you must obtain a valid one by fetching the message from the origin context."""
|
|
1564
|
+
ID = "FILE_REFERENCE_EXPIRED"
|
|
1565
|
+
"""``str``: RPC Error ID"""
|
|
1566
|
+
MESSAGE = __doc__
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
|
+
class FileReferenceInvalid(BadRequest):
|
|
1570
|
+
"""The file id contains an invalid [file reference](https://core.telegram.org/api/file_reference), you must obtain a valid one by fetching the message from the origin context."""
|
|
1571
|
+
ID = "FILE_REFERENCE_INVALID"
|
|
1572
|
+
"""``str``: RPC Error ID"""
|
|
1573
|
+
MESSAGE = __doc__
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
class FileReferenceExpired(BadRequest):
|
|
1577
|
+
"""The [file reference](https://core.telegram.org/api/file_reference) of the media file at index {value} in the passed media array expired, it must be refreshed."""
|
|
1578
|
+
ID = "FILE_REFERENCE_X_EXPIRED"
|
|
1579
|
+
"""``str``: RPC Error ID"""
|
|
1580
|
+
MESSAGE = __doc__
|
|
1581
|
+
|
|
1582
|
+
|
|
1583
|
+
class FileReferenceInvalid(BadRequest):
|
|
1584
|
+
"""The [file reference](https://core.telegram.org/api/file_reference) of the media file at index {value} in the passed media array is invalid."""
|
|
1585
|
+
ID = "FILE_REFERENCE_X_INVALID"
|
|
1586
|
+
"""``str``: RPC Error ID"""
|
|
1587
|
+
MESSAGE = __doc__
|
|
1588
|
+
|
|
1589
|
+
|
|
1590
|
+
class FileTitleEmpty(BadRequest):
|
|
1591
|
+
"""An empty file title was specified."""
|
|
1592
|
+
ID = "FILE_TITLE_EMPTY"
|
|
1593
|
+
"""``str``: RPC Error ID"""
|
|
1594
|
+
MESSAGE = __doc__
|
|
1595
|
+
|
|
1596
|
+
|
|
1597
|
+
class FileTokenInvalid(BadRequest):
|
|
1598
|
+
"""The master DC did not accept the `file_token` (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile."""
|
|
1599
|
+
ID = "FILE_TOKEN_INVALID"
|
|
1600
|
+
"""``str``: RPC Error ID"""
|
|
1601
|
+
MESSAGE = __doc__
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
class FilterIdInvalid(BadRequest):
|
|
1605
|
+
"""The specified filter ID is invalid."""
|
|
1606
|
+
ID = "FILTER_ID_INVALID"
|
|
1607
|
+
"""``str``: RPC Error ID"""
|
|
1608
|
+
MESSAGE = __doc__
|
|
1609
|
+
|
|
1610
|
+
|
|
1611
|
+
class FilterIncludeEmpty(BadRequest):
|
|
1612
|
+
"""The list of include_peers of the folder is empty."""
|
|
1613
|
+
ID = "FILTER_INCLUDE_EMPTY"
|
|
1614
|
+
"""``str``: RPC Error ID"""
|
|
1615
|
+
MESSAGE = __doc__
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
class FilterIncludeTooMuch(BadRequest):
|
|
1619
|
+
"""You can't add more chats to this folder."""
|
|
1620
|
+
ID = "FILTER_INCLUDE_TOO_MUCH"
|
|
1621
|
+
"""``str``: RPC Error ID"""
|
|
1622
|
+
MESSAGE = __doc__
|
|
1623
|
+
|
|
1624
|
+
|
|
1625
|
+
class FilterNotSupported(BadRequest):
|
|
1626
|
+
"""The specified filter cannot be used in this context."""
|
|
1627
|
+
ID = "FILTER_NOT_SUPPORTED"
|
|
1628
|
+
"""``str``: RPC Error ID"""
|
|
1629
|
+
MESSAGE = __doc__
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
class FilterTitleEmpty(BadRequest):
|
|
1633
|
+
"""The title field of the filter is empty."""
|
|
1634
|
+
ID = "FILTER_TITLE_EMPTY"
|
|
1635
|
+
"""``str``: RPC Error ID"""
|
|
1636
|
+
MESSAGE = __doc__
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
class FirstnameInvalid(BadRequest):
|
|
1640
|
+
"""The first name is invalid."""
|
|
1641
|
+
ID = "FIRSTNAME_INVALID"
|
|
1642
|
+
"""``str``: RPC Error ID"""
|
|
1643
|
+
MESSAGE = __doc__
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
class FloodskipNotAllowed(BadRequest):
|
|
1647
|
+
"""You can't execute the specified action because in order to enable this feature [the following conditions](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) must be satisfied."""
|
|
1648
|
+
ID = "FLOODSKIP_NOT_ALLOWED"
|
|
1649
|
+
"""``str``: RPC Error ID"""
|
|
1650
|
+
MESSAGE = __doc__
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
class FolderIdEmpty(BadRequest):
|
|
1654
|
+
"""An empty folder ID was specified."""
|
|
1655
|
+
ID = "FOLDER_ID_EMPTY"
|
|
1656
|
+
"""``str``: RPC Error ID"""
|
|
1657
|
+
MESSAGE = __doc__
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
class FolderIdInvalid(BadRequest):
|
|
1661
|
+
"""The specified folder id is invalid."""
|
|
1662
|
+
ID = "FOLDER_ID_INVALID"
|
|
1663
|
+
"""``str``: RPC Error ID"""
|
|
1664
|
+
MESSAGE = __doc__
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
class FormExpired(BadRequest):
|
|
1668
|
+
"""The form was generated more than 10 minutes ago and has expired, please re-generate it using [payments.getPaymentForm](https://core.telegram.org/method/payments.getPaymentForm) and pass the new `form_id`."""
|
|
1669
|
+
ID = "FORM_EXPIRED"
|
|
1670
|
+
"""``str``: RPC Error ID"""
|
|
1671
|
+
MESSAGE = __doc__
|
|
1672
|
+
|
|
1673
|
+
|
|
1674
|
+
class FormIdEmpty(BadRequest):
|
|
1675
|
+
"""The specified form id is empty."""
|
|
1676
|
+
ID = "FORM_ID_EMPTY"
|
|
1677
|
+
"""``str``: RPC Error ID"""
|
|
1678
|
+
MESSAGE = __doc__
|
|
1679
|
+
|
|
1680
|
+
|
|
1681
|
+
class FormIdExpired(BadRequest):
|
|
1682
|
+
"""The specified form id has expired."""
|
|
1683
|
+
ID = "FORM_ID_EXPIRED"
|
|
1684
|
+
"""``str``: RPC Error ID"""
|
|
1685
|
+
MESSAGE = __doc__
|
|
1686
|
+
|
|
1687
|
+
|
|
1688
|
+
class FormSubmitDuplicate(BadRequest):
|
|
1689
|
+
"""The specified form is duplicated."""
|
|
1690
|
+
ID = "FORM_SUBMIT_DUPLICATE"
|
|
1691
|
+
"""``str``: RPC Error ID"""
|
|
1692
|
+
MESSAGE = __doc__
|
|
1693
|
+
|
|
1694
|
+
|
|
1695
|
+
class FormUnsupported(BadRequest):
|
|
1696
|
+
"""The specified form is unsupported. Please update your client."""
|
|
1697
|
+
ID = "FORM_UNSUPPORTED"
|
|
1698
|
+
"""``str``: RPC Error ID"""
|
|
1699
|
+
MESSAGE = __doc__
|
|
1700
|
+
|
|
1701
|
+
|
|
1702
|
+
class ForumEnabled(BadRequest):
|
|
1703
|
+
"""You can't execute the specified action because the group is a [forum](https://core.telegram.org/api/forum), disable forum functionality to continue."""
|
|
1704
|
+
ID = "FORUM_ENABLED"
|
|
1705
|
+
"""``str``: RPC Error ID"""
|
|
1706
|
+
MESSAGE = __doc__
|
|
1707
|
+
|
|
1708
|
+
|
|
1709
|
+
class FreshChangeAdminsForbidden(BadRequest):
|
|
1710
|
+
"""You can't change administrator settings in this chat because your session was logged-in recently."""
|
|
1711
|
+
ID = "FRESH_CHANGE_ADMINS_FORBIDDEN"
|
|
1712
|
+
"""``str``: RPC Error ID"""
|
|
1713
|
+
MESSAGE = __doc__
|
|
1714
|
+
|
|
1715
|
+
|
|
1716
|
+
class FromMessageBotDisabled(BadRequest):
|
|
1717
|
+
"""Bots can't use fromMessage min constructors."""
|
|
1718
|
+
ID = "FROM_MESSAGE_BOT_DISABLED"
|
|
1719
|
+
"""``str``: RPC Error ID"""
|
|
1720
|
+
MESSAGE = __doc__
|
|
1721
|
+
|
|
1722
|
+
|
|
1723
|
+
class FromPeerInvalid(BadRequest):
|
|
1724
|
+
"""The specified from_id is invalid."""
|
|
1725
|
+
ID = "FROM_PEER_INVALID"
|
|
1726
|
+
"""``str``: RPC Error ID"""
|
|
1727
|
+
MESSAGE = __doc__
|
|
1728
|
+
|
|
1729
|
+
|
|
1730
|
+
class FrozenParticipantMissing(BadRequest):
|
|
1731
|
+
"""The account is frozen and cannot access the chat participant."""
|
|
1732
|
+
ID = "FROZEN_PARTICIPANT_MISSING"
|
|
1733
|
+
"""``str``: RPC Error ID"""
|
|
1734
|
+
MESSAGE = __doc__
|
|
1735
|
+
|
|
1736
|
+
|
|
1737
|
+
class FutureCreatorNone(BadRequest):
|
|
1738
|
+
"""The future creator after leave is only applicable to supergroups."""
|
|
1739
|
+
ID = "FUTURE_CREATOR_NONE"
|
|
1740
|
+
"""``str``: RPC Error ID"""
|
|
1741
|
+
MESSAGE = __doc__
|
|
1742
|
+
|
|
1743
|
+
|
|
1744
|
+
class GameBotInvalid(BadRequest):
|
|
1745
|
+
"""You cannot send that game with the current bot."""
|
|
1746
|
+
ID = "GAME_BOT_INVALID"
|
|
1747
|
+
"""``str``: RPC Error ID"""
|
|
1748
|
+
MESSAGE = __doc__
|
|
1749
|
+
|
|
1750
|
+
|
|
1751
|
+
class GeneralModifyIconForbidden(BadRequest):
|
|
1752
|
+
"""You can't modify the icon of the "General" topic."""
|
|
1753
|
+
ID = "GENERAL_MODIFY_ICON_FORBIDDEN"
|
|
1754
|
+
"""``str``: RPC Error ID"""
|
|
1755
|
+
MESSAGE = __doc__
|
|
1756
|
+
|
|
1757
|
+
|
|
1758
|
+
class GeoPointInvalid(BadRequest):
|
|
1759
|
+
"""Invalid geo point provided."""
|
|
1760
|
+
ID = "GEO_POINT_INVALID"
|
|
1761
|
+
"""``str``: RPC Error ID"""
|
|
1762
|
+
MESSAGE = __doc__
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
class GiftMonthsInvalid(BadRequest):
|
|
1766
|
+
"""The value passed in invoice.inputInvoicePremiumGiftStars.months is invalid."""
|
|
1767
|
+
ID = "GIFT_MONTHS_INVALID"
|
|
1768
|
+
"""``str``: RPC Error ID"""
|
|
1769
|
+
MESSAGE = __doc__
|
|
1770
|
+
|
|
1771
|
+
|
|
1772
|
+
class GiftSlugExpired(BadRequest):
|
|
1773
|
+
"""The specified gift slug has expired."""
|
|
1774
|
+
ID = "GIFT_SLUG_EXPIRED"
|
|
1775
|
+
"""``str``: RPC Error ID"""
|
|
1776
|
+
MESSAGE = __doc__
|
|
1777
|
+
|
|
1778
|
+
|
|
1779
|
+
class GiftSlugInvalid(BadRequest):
|
|
1780
|
+
"""The specified slug is invalid."""
|
|
1781
|
+
ID = "GIFT_SLUG_INVALID"
|
|
1782
|
+
"""``str``: RPC Error ID"""
|
|
1783
|
+
MESSAGE = __doc__
|
|
1784
|
+
|
|
1785
|
+
|
|
1786
|
+
class GiftStarsInvalid(BadRequest):
|
|
1787
|
+
"""The specified amount of stars is invalid."""
|
|
1788
|
+
ID = "GIFT_STARS_INVALID"
|
|
1789
|
+
"""``str``: RPC Error ID"""
|
|
1790
|
+
MESSAGE = __doc__
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
class GifContentTypeInvalid(BadRequest):
|
|
1794
|
+
"""GIF content-type invalid."""
|
|
1795
|
+
ID = "GIF_CONTENT_TYPE_INVALID"
|
|
1796
|
+
"""``str``: RPC Error ID"""
|
|
1797
|
+
MESSAGE = __doc__
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
class GifIdInvalid(BadRequest):
|
|
1801
|
+
"""The provided animation id is invalid."""
|
|
1802
|
+
ID = "GIF_ID_INVALID"
|
|
1803
|
+
"""``str``: RPC Error ID"""
|
|
1804
|
+
MESSAGE = __doc__
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
class GraphExpiredReload(BadRequest):
|
|
1808
|
+
"""This graph has expired, please obtain a new graph token."""
|
|
1809
|
+
ID = "GRAPH_EXPIRED_RELOAD"
|
|
1810
|
+
"""``str``: RPC Error ID"""
|
|
1811
|
+
MESSAGE = __doc__
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
class GraphInvalidReload(BadRequest):
|
|
1815
|
+
"""Invalid graph token provided, please reload the stats and provide the updated token."""
|
|
1816
|
+
ID = "GRAPH_INVALID_RELOAD"
|
|
1817
|
+
"""``str``: RPC Error ID"""
|
|
1818
|
+
MESSAGE = __doc__
|
|
1819
|
+
|
|
1820
|
+
|
|
1821
|
+
class GraphOutdatedReload(BadRequest):
|
|
1822
|
+
"""The graph is outdated, please get a new async token using stats.getBroadcastStats."""
|
|
1823
|
+
ID = "GRAPH_OUTDATED_RELOAD"
|
|
1824
|
+
"""``str``: RPC Error ID"""
|
|
1825
|
+
MESSAGE = __doc__
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
class GroupcallAlreadyDiscarded(BadRequest):
|
|
1829
|
+
"""The group call was already discarded."""
|
|
1830
|
+
ID = "GROUPCALL_ALREADY_DISCARDED"
|
|
1831
|
+
"""``str``: RPC Error ID"""
|
|
1832
|
+
MESSAGE = __doc__
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
class GroupcallForbidden(BadRequest):
|
|
1836
|
+
"""The group call has already ended."""
|
|
1837
|
+
ID = "GROUPCALL_FORBIDDEN"
|
|
1838
|
+
"""``str``: RPC Error ID"""
|
|
1839
|
+
MESSAGE = __doc__
|
|
1840
|
+
|
|
1841
|
+
|
|
1842
|
+
class GroupcallInvalid(BadRequest):
|
|
1843
|
+
"""The specified group call is invalid."""
|
|
1844
|
+
ID = "GROUPCALL_INVALID"
|
|
1845
|
+
"""``str``: RPC Error ID"""
|
|
1846
|
+
MESSAGE = __doc__
|
|
1847
|
+
|
|
1848
|
+
|
|
1849
|
+
class GroupcallJoinMissing(BadRequest):
|
|
1850
|
+
"""You haven't joined this group call."""
|
|
1851
|
+
ID = "GROUPCALL_JOIN_MISSING"
|
|
1852
|
+
"""``str``: RPC Error ID"""
|
|
1853
|
+
MESSAGE = __doc__
|
|
1854
|
+
|
|
1855
|
+
|
|
1856
|
+
class GroupcallNotModified(BadRequest):
|
|
1857
|
+
"""Group call settings weren't modified."""
|
|
1858
|
+
ID = "GROUPCALL_NOT_MODIFIED"
|
|
1859
|
+
"""``str``: RPC Error ID"""
|
|
1860
|
+
MESSAGE = __doc__
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
class GroupcallSsrcDuplicateMuch(BadRequest):
|
|
1864
|
+
"""The app needs to retry joining the group call with a new SSRC value."""
|
|
1865
|
+
ID = "GROUPCALL_SSRC_DUPLICATE_MUCH"
|
|
1866
|
+
"""``str``: RPC Error ID"""
|
|
1867
|
+
MESSAGE = __doc__
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
class GroupedMediaInvalid(BadRequest):
|
|
1871
|
+
"""The album contains invalid media."""
|
|
1872
|
+
ID = "GROUPED_MEDIA_INVALID"
|
|
1873
|
+
"""``str``: RPC Error ID"""
|
|
1874
|
+
MESSAGE = __doc__
|
|
1875
|
+
|
|
1876
|
+
|
|
1877
|
+
class GroupCallInvalid(BadRequest):
|
|
1878
|
+
"""The group call is invalid."""
|
|
1879
|
+
ID = "GROUP_CALL_INVALID"
|
|
1880
|
+
"""``str``: RPC Error ID"""
|
|
1881
|
+
MESSAGE = __doc__
|
|
1882
|
+
|
|
1883
|
+
|
|
1884
|
+
class HashtagInvalid(BadRequest):
|
|
1885
|
+
"""The specified hashtag is invalid."""
|
|
1886
|
+
ID = "HASHTAG_INVALID"
|
|
1887
|
+
"""``str``: RPC Error ID"""
|
|
1888
|
+
MESSAGE = __doc__
|
|
1889
|
+
|
|
1890
|
+
|
|
1891
|
+
class HashInvalid(BadRequest):
|
|
1892
|
+
"""The provided hash is invalid."""
|
|
1893
|
+
ID = "HASH_INVALID"
|
|
1894
|
+
"""``str``: RPC Error ID"""
|
|
1895
|
+
MESSAGE = __doc__
|
|
1896
|
+
|
|
1897
|
+
|
|
1898
|
+
class HashSizeInvalid(BadRequest):
|
|
1899
|
+
"""The size of the specified secureValueError.hash is invalid."""
|
|
1900
|
+
ID = "HASH_SIZE_INVALID"
|
|
1901
|
+
"""``str``: RPC Error ID"""
|
|
1902
|
+
MESSAGE = __doc__
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
class HideRequesterMissing(BadRequest):
|
|
1906
|
+
"""The join request was missing or was already handled."""
|
|
1907
|
+
ID = "HIDE_REQUESTER_MISSING"
|
|
1908
|
+
"""``str``: RPC Error ID"""
|
|
1909
|
+
MESSAGE = __doc__
|
|
1910
|
+
|
|
1911
|
+
|
|
1912
|
+
class IdExpired(BadRequest):
|
|
1913
|
+
"""The passed prepared inline message ID has expired."""
|
|
1914
|
+
ID = "ID_EXPIRED"
|
|
1915
|
+
"""``str``: RPC Error ID"""
|
|
1916
|
+
MESSAGE = __doc__
|
|
1917
|
+
|
|
1918
|
+
|
|
1919
|
+
class IdInvalid(BadRequest):
|
|
1920
|
+
"""The passed ID is invalid."""
|
|
1921
|
+
ID = "ID_INVALID"
|
|
1922
|
+
"""``str``: RPC Error ID"""
|
|
1923
|
+
MESSAGE = __doc__
|
|
1924
|
+
|
|
1925
|
+
|
|
1926
|
+
class ImageProcessFailed(BadRequest):
|
|
1927
|
+
"""The server failed to process your image."""
|
|
1928
|
+
ID = "IMAGE_PROCESS_FAILED"
|
|
1929
|
+
"""``str``: RPC Error ID"""
|
|
1930
|
+
MESSAGE = __doc__
|
|
1931
|
+
|
|
1932
|
+
|
|
1933
|
+
class ImportFileInvalid(BadRequest):
|
|
1934
|
+
"""The specified chat export file is invalid."""
|
|
1935
|
+
ID = "IMPORT_FILE_INVALID"
|
|
1936
|
+
"""``str``: RPC Error ID"""
|
|
1937
|
+
MESSAGE = __doc__
|
|
1938
|
+
|
|
1939
|
+
|
|
1940
|
+
class ImportFormatDateInvalid(BadRequest):
|
|
1941
|
+
"""The date specified in the import file is invalid."""
|
|
1942
|
+
ID = "IMPORT_FORMAT_DATE_INVALID"
|
|
1943
|
+
"""``str``: RPC Error ID"""
|
|
1944
|
+
MESSAGE = __doc__
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+
class ImportFormatUnrecognized(BadRequest):
|
|
1948
|
+
"""The specified chat export file was exported from an unsupported chat app."""
|
|
1949
|
+
ID = "IMPORT_FORMAT_UNRECOGNIZED"
|
|
1950
|
+
"""``str``: RPC Error ID"""
|
|
1951
|
+
MESSAGE = __doc__
|
|
1952
|
+
|
|
1953
|
+
|
|
1954
|
+
class ImportHistoryLogEmpty(BadRequest):
|
|
1955
|
+
"""The specified chat export file is empty or has an invalid indentation."""
|
|
1956
|
+
ID = "IMPORT_HISTORY_LOG_EMPTY"
|
|
1957
|
+
"""``str``: RPC Error ID"""
|
|
1958
|
+
MESSAGE = __doc__
|
|
1959
|
+
|
|
1960
|
+
|
|
1961
|
+
class ImportIdInvalid(BadRequest):
|
|
1962
|
+
"""The specified import id is invalid."""
|
|
1963
|
+
ID = "IMPORT_ID_INVALID"
|
|
1964
|
+
"""``str``: RPC Error ID"""
|
|
1965
|
+
MESSAGE = __doc__
|
|
1966
|
+
|
|
1967
|
+
|
|
1968
|
+
class ImportTokenInvalid(BadRequest):
|
|
1969
|
+
"""The specified token is invalid."""
|
|
1970
|
+
ID = "IMPORT_TOKEN_INVALID"
|
|
1971
|
+
"""``str``: RPC Error ID"""
|
|
1972
|
+
MESSAGE = __doc__
|
|
1973
|
+
|
|
1974
|
+
|
|
1975
|
+
class InlineResultExpired(BadRequest):
|
|
1976
|
+
"""The inline bot query expired."""
|
|
1977
|
+
ID = "INLINE_RESULT_EXPIRED"
|
|
1978
|
+
"""``str``: RPC Error ID"""
|
|
1979
|
+
MESSAGE = __doc__
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
class InputChatlistInvalid(BadRequest):
|
|
1983
|
+
"""The specified folder is invalid."""
|
|
1984
|
+
ID = "INPUT_CHATLIST_INVALID"
|
|
1985
|
+
"""``str``: RPC Error ID"""
|
|
1986
|
+
MESSAGE = __doc__
|
|
1987
|
+
|
|
1988
|
+
|
|
1989
|
+
class InputConstructorInvalid(BadRequest):
|
|
1990
|
+
"""The specified TL constructor is invalid."""
|
|
1991
|
+
ID = "INPUT_CONSTRUCTOR_INVALID"
|
|
1992
|
+
"""``str``: RPC Error ID"""
|
|
1993
|
+
MESSAGE = __doc__
|
|
1994
|
+
|
|
1995
|
+
|
|
1996
|
+
class InputFetchError(BadRequest):
|
|
1997
|
+
"""An error occurred while deserializing the provided TL constructor."""
|
|
1998
|
+
ID = "INPUT_FETCH_ERROR"
|
|
1999
|
+
"""``str``: RPC Error ID"""
|
|
2000
|
+
MESSAGE = __doc__
|
|
2001
|
+
|
|
2002
|
+
|
|
2003
|
+
class InputFetchError(BadRequest):
|
|
2004
|
+
"""An error occurred while parsing the provided TL {value} constructor."""
|
|
2005
|
+
ID = "INPUT_FETCH_ERROR_X"
|
|
2006
|
+
"""``str``: RPC Error ID"""
|
|
2007
|
+
MESSAGE = __doc__
|
|
2008
|
+
|
|
2009
|
+
|
|
2010
|
+
class InputFetchFail(BadRequest):
|
|
2011
|
+
"""Failed deserializing TL payload."""
|
|
2012
|
+
ID = "INPUT_FETCH_FAIL"
|
|
2013
|
+
"""``str``: RPC Error ID"""
|
|
2014
|
+
MESSAGE = __doc__
|
|
2015
|
+
|
|
2016
|
+
|
|
2017
|
+
class InputFileInvalid(BadRequest):
|
|
2018
|
+
"""The specified [InputFile](https://core.telegram.org/type/InputFile) is invalid."""
|
|
2019
|
+
ID = "INPUT_FILE_INVALID"
|
|
2020
|
+
"""``str``: RPC Error ID"""
|
|
2021
|
+
MESSAGE = __doc__
|
|
2022
|
+
|
|
2023
|
+
|
|
2024
|
+
class InputFilterInvalid(BadRequest):
|
|
2025
|
+
"""The specified filter is invalid."""
|
|
2026
|
+
ID = "INPUT_FILTER_INVALID"
|
|
2027
|
+
"""``str``: RPC Error ID"""
|
|
2028
|
+
MESSAGE = __doc__
|
|
2029
|
+
|
|
2030
|
+
|
|
2031
|
+
class InputLayerInvalid(BadRequest):
|
|
2032
|
+
"""The specified layer is invalid."""
|
|
2033
|
+
ID = "INPUT_LAYER_INVALID"
|
|
2034
|
+
"""``str``: RPC Error ID"""
|
|
2035
|
+
MESSAGE = __doc__
|
|
2036
|
+
|
|
2037
|
+
|
|
2038
|
+
class InputMethodInvalid(BadRequest):
|
|
2039
|
+
"""The method invoked is invalid in the current schema."""
|
|
2040
|
+
ID = "INPUT_METHOD_INVALID"
|
|
2041
|
+
"""``str``: RPC Error ID"""
|
|
2042
|
+
MESSAGE = __doc__
|
|
2043
|
+
|
|
2044
|
+
|
|
2045
|
+
class InputPeersEmpty(BadRequest):
|
|
2046
|
+
"""The specified peer array is empty."""
|
|
2047
|
+
ID = "INPUT_PEERS_EMPTY"
|
|
2048
|
+
"""``str``: RPC Error ID"""
|
|
2049
|
+
MESSAGE = __doc__
|
|
2050
|
+
|
|
2051
|
+
|
|
2052
|
+
class InputPurposeInvalid(BadRequest):
|
|
2053
|
+
"""The specified payment purpose is invalid."""
|
|
2054
|
+
ID = "INPUT_PURPOSE_INVALID"
|
|
2055
|
+
"""``str``: RPC Error ID"""
|
|
2056
|
+
MESSAGE = __doc__
|
|
2057
|
+
|
|
2058
|
+
|
|
2059
|
+
class InputRequestTooLong(BadRequest):
|
|
2060
|
+
"""The request payload is too long."""
|
|
2061
|
+
ID = "INPUT_REQUEST_TOO_LONG"
|
|
2062
|
+
"""``str``: RPC Error ID"""
|
|
2063
|
+
MESSAGE = __doc__
|
|
2064
|
+
|
|
2065
|
+
|
|
2066
|
+
class InputStarsNanosInvalid(BadRequest):
|
|
2067
|
+
"""The specified stars nano amount is invalid."""
|
|
2068
|
+
ID = "INPUT_STARS_NANOS_INVALID"
|
|
2069
|
+
"""``str``: RPC Error ID"""
|
|
2070
|
+
MESSAGE = __doc__
|
|
2071
|
+
|
|
2072
|
+
|
|
2073
|
+
class InputTextEmpty(BadRequest):
|
|
2074
|
+
"""The specified text is empty."""
|
|
2075
|
+
ID = "INPUT_TEXT_EMPTY"
|
|
2076
|
+
"""``str``: RPC Error ID"""
|
|
2077
|
+
MESSAGE = __doc__
|
|
2078
|
+
|
|
2079
|
+
|
|
2080
|
+
class InputTextTooLong(BadRequest):
|
|
2081
|
+
"""The specified text is too long."""
|
|
2082
|
+
ID = "INPUT_TEXT_TOO_LONG"
|
|
2083
|
+
"""``str``: RPC Error ID"""
|
|
2084
|
+
MESSAGE = __doc__
|
|
2085
|
+
|
|
2086
|
+
|
|
2087
|
+
class InputUserDeactivated(BadRequest):
|
|
2088
|
+
"""The target user has been deleted/deactivated."""
|
|
2089
|
+
ID = "INPUT_USER_DEACTIVATED"
|
|
2090
|
+
"""``str``: RPC Error ID"""
|
|
2091
|
+
MESSAGE = __doc__
|
|
2092
|
+
|
|
2093
|
+
|
|
2094
|
+
class InvitesTooMuch(BadRequest):
|
|
2095
|
+
"""The maximum number of per-folder invites specified by the `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [client configuration parameters »](https://core.telegram.org/api/config#chatlist-invites-limit-default) was reached."""
|
|
2096
|
+
ID = "INVITES_TOO_MUCH"
|
|
2097
|
+
"""``str``: RPC Error ID"""
|
|
2098
|
+
MESSAGE = __doc__
|
|
2099
|
+
|
|
2100
|
+
|
|
2101
|
+
class InviteForbiddenWithJoinas(BadRequest):
|
|
2102
|
+
"""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."""
|
|
2103
|
+
ID = "INVITE_FORBIDDEN_WITH_JOINAS"
|
|
2104
|
+
"""``str``: RPC Error ID"""
|
|
2105
|
+
MESSAGE = __doc__
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
class InviteHashEmpty(BadRequest):
|
|
2109
|
+
"""The invite hash is empty."""
|
|
2110
|
+
ID = "INVITE_HASH_EMPTY"
|
|
2111
|
+
"""``str``: RPC Error ID"""
|
|
2112
|
+
MESSAGE = __doc__
|
|
2113
|
+
|
|
2114
|
+
|
|
2115
|
+
class InviteHashExpired(BadRequest):
|
|
2116
|
+
"""The invite link is no longer valid."""
|
|
2117
|
+
ID = "INVITE_HASH_EXPIRED"
|
|
2118
|
+
"""``str``: RPC Error ID"""
|
|
2119
|
+
MESSAGE = __doc__
|
|
2120
|
+
|
|
2121
|
+
|
|
2122
|
+
class InviteHashInvalid(BadRequest):
|
|
2123
|
+
"""The invite hash is invalid."""
|
|
2124
|
+
ID = "INVITE_HASH_INVALID"
|
|
2125
|
+
"""``str``: RPC Error ID"""
|
|
2126
|
+
MESSAGE = __doc__
|
|
2127
|
+
|
|
2128
|
+
|
|
2129
|
+
class InviteRequestSent(BadRequest):
|
|
2130
|
+
"""You have successfully requested to join this chat or channel."""
|
|
2131
|
+
ID = "INVITE_REQUEST_SENT"
|
|
2132
|
+
"""``str``: RPC Error ID"""
|
|
2133
|
+
MESSAGE = __doc__
|
|
2134
|
+
|
|
2135
|
+
|
|
2136
|
+
class InviteRevokedMissing(BadRequest):
|
|
2137
|
+
"""The action required a chat invite link to be revoked first."""
|
|
2138
|
+
ID = "INVITE_REVOKED_MISSING"
|
|
2139
|
+
"""``str``: RPC Error ID"""
|
|
2140
|
+
MESSAGE = __doc__
|
|
2141
|
+
|
|
2142
|
+
|
|
2143
|
+
class InviteSlugEmpty(BadRequest):
|
|
2144
|
+
"""The specified invite slug is empty."""
|
|
2145
|
+
ID = "INVITE_SLUG_EMPTY"
|
|
2146
|
+
"""``str``: RPC Error ID"""
|
|
2147
|
+
MESSAGE = __doc__
|
|
2148
|
+
|
|
2149
|
+
|
|
2150
|
+
class InviteSlugExpired(BadRequest):
|
|
2151
|
+
"""The specified invite slug has expired."""
|
|
2152
|
+
ID = "INVITE_SLUG_EXPIRED"
|
|
2153
|
+
"""``str``: RPC Error ID"""
|
|
2154
|
+
MESSAGE = __doc__
|
|
2155
|
+
|
|
2156
|
+
|
|
2157
|
+
class InviteSlugInvalid(BadRequest):
|
|
2158
|
+
"""The specified invite slug is invalid."""
|
|
2159
|
+
ID = "INVITE_SLUG_INVALID"
|
|
2160
|
+
"""``str``: RPC Error ID"""
|
|
2161
|
+
MESSAGE = __doc__
|
|
2162
|
+
|
|
2163
|
+
|
|
2164
|
+
class InvoiceInvalid(BadRequest):
|
|
2165
|
+
"""The specified invoice is invalid."""
|
|
2166
|
+
ID = "INVOICE_INVALID"
|
|
2167
|
+
"""``str``: RPC Error ID"""
|
|
2168
|
+
MESSAGE = __doc__
|
|
2169
|
+
|
|
2170
|
+
|
|
2171
|
+
class InvoicePayloadInvalid(BadRequest):
|
|
2172
|
+
"""The specified invoice payload is invalid."""
|
|
2173
|
+
ID = "INVOICE_PAYLOAD_INVALID"
|
|
2174
|
+
"""``str``: RPC Error ID"""
|
|
2175
|
+
MESSAGE = __doc__
|
|
2176
|
+
|
|
2177
|
+
|
|
2178
|
+
class JoinAsPeerInvalid(BadRequest):
|
|
2179
|
+
"""The specified peer cannot be used to join a group call."""
|
|
2180
|
+
ID = "JOIN_AS_PEER_INVALID"
|
|
2181
|
+
"""``str``: RPC Error ID"""
|
|
2182
|
+
MESSAGE = __doc__
|
|
2183
|
+
|
|
2184
|
+
|
|
2185
|
+
class LanguageInvalid(BadRequest):
|
|
2186
|
+
"""The specified lang_code is invalid."""
|
|
2187
|
+
ID = "LANGUAGE_INVALID"
|
|
2188
|
+
"""``str``: RPC Error ID"""
|
|
2189
|
+
MESSAGE = __doc__
|
|
2190
|
+
|
|
2191
|
+
|
|
2192
|
+
class LangCodeInvalid(BadRequest):
|
|
2193
|
+
"""The specified language code is invalid."""
|
|
2194
|
+
ID = "LANG_CODE_INVALID"
|
|
2195
|
+
"""``str``: RPC Error ID"""
|
|
2196
|
+
MESSAGE = __doc__
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
class LangCodeNotSupported(BadRequest):
|
|
2200
|
+
"""The specified language code is not supported."""
|
|
2201
|
+
ID = "LANG_CODE_NOT_SUPPORTED"
|
|
2202
|
+
"""``str``: RPC Error ID"""
|
|
2203
|
+
MESSAGE = __doc__
|
|
2204
|
+
|
|
2205
|
+
|
|
2206
|
+
class LangPackInvalid(BadRequest):
|
|
2207
|
+
"""The provided language pack is invalid."""
|
|
2208
|
+
ID = "LANG_PACK_INVALID"
|
|
2209
|
+
"""``str``: RPC Error ID"""
|
|
2210
|
+
MESSAGE = __doc__
|
|
2211
|
+
|
|
2212
|
+
|
|
2213
|
+
class LastnameInvalid(BadRequest):
|
|
2214
|
+
"""The last name is invalid."""
|
|
2215
|
+
ID = "LASTNAME_INVALID"
|
|
2216
|
+
"""``str``: RPC Error ID"""
|
|
2217
|
+
MESSAGE = __doc__
|
|
2218
|
+
|
|
2219
|
+
|
|
2220
|
+
class LimitInvalid(BadRequest):
|
|
2221
|
+
"""The provided limit is invalid."""
|
|
2222
|
+
ID = "LIMIT_INVALID"
|
|
2223
|
+
"""``str``: RPC Error ID"""
|
|
2224
|
+
MESSAGE = __doc__
|
|
2225
|
+
|
|
2226
|
+
|
|
2227
|
+
class LinkNotModified(BadRequest):
|
|
2228
|
+
"""The chat link was not modified because you tried to link to the same target."""
|
|
2229
|
+
ID = "LINK_NOT_MODIFIED"
|
|
2230
|
+
"""``str``: RPC Error ID"""
|
|
2231
|
+
MESSAGE = __doc__
|
|
2232
|
+
|
|
2233
|
+
|
|
2234
|
+
class LocationInvalid(BadRequest):
|
|
2235
|
+
"""The provided location is invalid."""
|
|
2236
|
+
ID = "LOCATION_INVALID"
|
|
2237
|
+
"""``str``: RPC Error ID"""
|
|
2238
|
+
MESSAGE = __doc__
|
|
2239
|
+
|
|
2240
|
+
|
|
2241
|
+
class ManagerInvalid(BadRequest):
|
|
2242
|
+
"""The provided bot manager is invalid. Bot Management Mode should be enabled for the bot in the @BotFather Mini App."""
|
|
2243
|
+
ID = "MANAGER_INVALID"
|
|
2244
|
+
"""``str``: RPC Error ID"""
|
|
2245
|
+
MESSAGE = __doc__
|
|
2246
|
+
|
|
2247
|
+
|
|
2248
|
+
class ManagerPermissionMissing(BadRequest):
|
|
2249
|
+
"""The bot manager permission is missing. Bot Management Mode should be enabled for the bot in the @BotFather Mini App."""
|
|
2250
|
+
ID = "MANAGER_PERMISSION_MISSING"
|
|
2251
|
+
"""``str``: RPC Error ID"""
|
|
2252
|
+
MESSAGE = __doc__
|
|
2253
|
+
|
|
2254
|
+
|
|
2255
|
+
class MaxDateInvalid(BadRequest):
|
|
2256
|
+
"""The specified maximum date is invalid."""
|
|
2257
|
+
ID = "MAX_DATE_INVALID"
|
|
2258
|
+
"""``str``: RPC Error ID"""
|
|
2259
|
+
MESSAGE = __doc__
|
|
2260
|
+
|
|
2261
|
+
|
|
2262
|
+
class MaxIdInvalid(BadRequest):
|
|
2263
|
+
"""The provided max_id is invalid."""
|
|
2264
|
+
ID = "MAX_ID_INVALID"
|
|
2265
|
+
"""``str``: RPC Error ID"""
|
|
2266
|
+
MESSAGE = __doc__
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
class MaxQtsInvalid(BadRequest):
|
|
2270
|
+
"""The specified qts is invalid."""
|
|
2271
|
+
ID = "MAX_QTS_INVALID"
|
|
2272
|
+
"""``str``: RPC Error ID"""
|
|
2273
|
+
MESSAGE = __doc__
|
|
2274
|
+
|
|
2275
|
+
|
|
2276
|
+
class Md5ChecksumInvalid(BadRequest):
|
|
2277
|
+
"""The file's checksum did not match the md5_checksum parameter."""
|
|
2278
|
+
ID = "MD5_CHECKSUM_INVALID"
|
|
2279
|
+
"""``str``: RPC Error ID"""
|
|
2280
|
+
MESSAGE = __doc__
|
|
2281
|
+
|
|
2282
|
+
|
|
2283
|
+
class MediaAlreadyPaid(BadRequest):
|
|
2284
|
+
"""The specified paid media is already paid."""
|
|
2285
|
+
ID = "MEDIA_ALREADY_PAID"
|
|
2286
|
+
"""``str``: RPC Error ID"""
|
|
2287
|
+
MESSAGE = __doc__
|
|
2288
|
+
|
|
2289
|
+
|
|
2290
|
+
class MediaCaptionTooLong(BadRequest):
|
|
2291
|
+
"""The media caption is too long."""
|
|
2292
|
+
ID = "MEDIA_CAPTION_TOO_LONG"
|
|
2293
|
+
"""``str``: RPC Error ID"""
|
|
2294
|
+
MESSAGE = __doc__
|
|
2295
|
+
|
|
2296
|
+
|
|
2297
|
+
class MediaEmpty(BadRequest):
|
|
2298
|
+
"""The provided media you tried to send is invalid."""
|
|
2299
|
+
ID = "MEDIA_EMPTY"
|
|
2300
|
+
"""``str``: RPC Error ID"""
|
|
2301
|
+
MESSAGE = __doc__
|
|
2302
|
+
|
|
2303
|
+
|
|
2304
|
+
class MediaFileInvalid(BadRequest):
|
|
2305
|
+
"""The specified media file is invalid."""
|
|
2306
|
+
ID = "MEDIA_FILE_INVALID"
|
|
2307
|
+
"""``str``: RPC Error ID"""
|
|
2308
|
+
MESSAGE = __doc__
|
|
2309
|
+
|
|
2310
|
+
|
|
2311
|
+
class MediaGroupedInvalid(BadRequest):
|
|
2312
|
+
"""You tried to send media of different types in an album."""
|
|
2313
|
+
ID = "MEDIA_GROUPED_INVALID"
|
|
2314
|
+
"""``str``: RPC Error ID"""
|
|
2315
|
+
MESSAGE = __doc__
|
|
2316
|
+
|
|
2317
|
+
|
|
2318
|
+
class MediaInvalid(BadRequest):
|
|
2319
|
+
"""Media invalid."""
|
|
2320
|
+
ID = "MEDIA_INVALID"
|
|
2321
|
+
"""``str``: RPC Error ID"""
|
|
2322
|
+
MESSAGE = __doc__
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
class MediaNewInvalid(BadRequest):
|
|
2326
|
+
"""The new media to edit the message with is invalid."""
|
|
2327
|
+
ID = "MEDIA_NEW_INVALID"
|
|
2328
|
+
"""``str``: RPC Error ID"""
|
|
2329
|
+
MESSAGE = __doc__
|
|
2330
|
+
|
|
2331
|
+
|
|
2332
|
+
class MediaPrevInvalid(BadRequest):
|
|
2333
|
+
"""The previous media cannot be edited with anything else."""
|
|
2334
|
+
ID = "MEDIA_PREV_INVALID"
|
|
2335
|
+
"""``str``: RPC Error ID"""
|
|
2336
|
+
MESSAGE = __doc__
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
class MediaTtlInvalid(BadRequest):
|
|
2340
|
+
"""The specified media TTL is invalid."""
|
|
2341
|
+
ID = "MEDIA_TTL_INVALID"
|
|
2342
|
+
"""``str``: RPC Error ID"""
|
|
2343
|
+
MESSAGE = __doc__
|
|
2344
|
+
|
|
2345
|
+
|
|
2346
|
+
class MediaTypeInvalid(BadRequest):
|
|
2347
|
+
"""The specified media type cannot be used in stories."""
|
|
2348
|
+
ID = "MEDIA_TYPE_INVALID"
|
|
2349
|
+
"""``str``: RPC Error ID"""
|
|
2350
|
+
MESSAGE = __doc__
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
class MediaVideoStoryMissing(BadRequest):
|
|
2354
|
+
"""A non-story video cannot be repubblished as a story (emitted when trying to resend a non-story video as a story using inputDocument)."""
|
|
2355
|
+
ID = "MEDIA_VIDEO_STORY_MISSING"
|
|
2356
|
+
"""``str``: RPC Error ID"""
|
|
2357
|
+
MESSAGE = __doc__
|
|
2358
|
+
|
|
2359
|
+
|
|
2360
|
+
class MegagroupGeoRequired(BadRequest):
|
|
2361
|
+
"""This method can only be invoked on a geogroup."""
|
|
2362
|
+
ID = "MEGAGROUP_GEO_REQUIRED"
|
|
2363
|
+
"""``str``: RPC Error ID"""
|
|
2364
|
+
MESSAGE = __doc__
|
|
2365
|
+
|
|
2366
|
+
|
|
2367
|
+
class MegagroupIdInvalid(BadRequest):
|
|
2368
|
+
"""The supergroup is invalid."""
|
|
2369
|
+
ID = "MEGAGROUP_ID_INVALID"
|
|
2370
|
+
"""``str``: RPC Error ID"""
|
|
2371
|
+
MESSAGE = __doc__
|
|
2372
|
+
|
|
2373
|
+
|
|
2374
|
+
class MegagroupPrehistoryHidden(BadRequest):
|
|
2375
|
+
"""The action failed because the supergroup has the pre-history hidden."""
|
|
2376
|
+
ID = "MEGAGROUP_PREHISTORY_HIDDEN"
|
|
2377
|
+
"""``str``: RPC Error ID"""
|
|
2378
|
+
MESSAGE = __doc__
|
|
2379
|
+
|
|
2380
|
+
|
|
2381
|
+
class MegagroupRequired(BadRequest):
|
|
2382
|
+
"""The request can only be used with a supergroup."""
|
|
2383
|
+
ID = "MEGAGROUP_REQUIRED"
|
|
2384
|
+
"""``str``: RPC Error ID"""
|
|
2385
|
+
MESSAGE = __doc__
|
|
2386
|
+
|
|
2387
|
+
|
|
2388
|
+
class MessageEditTimeExpired(BadRequest):
|
|
2389
|
+
"""You can't edit this message anymore, too much time has passed since its creation."""
|
|
2390
|
+
ID = "MESSAGE_EDIT_TIME_EXPIRED"
|
|
2391
|
+
"""``str``: RPC Error ID"""
|
|
2392
|
+
MESSAGE = __doc__
|
|
2393
|
+
|
|
2394
|
+
|
|
2395
|
+
class MessageEmpty(BadRequest):
|
|
2396
|
+
"""The message sent is empty or contains invalid characters."""
|
|
2397
|
+
ID = "MESSAGE_EMPTY"
|
|
2398
|
+
"""``str``: RPC Error ID"""
|
|
2399
|
+
MESSAGE = __doc__
|
|
2400
|
+
|
|
2401
|
+
|
|
2402
|
+
class MessageIdsEmpty(BadRequest):
|
|
2403
|
+
"""The requested message doesn't exist or you provided no message id."""
|
|
2404
|
+
ID = "MESSAGE_IDS_EMPTY"
|
|
2405
|
+
"""``str``: RPC Error ID"""
|
|
2406
|
+
MESSAGE = __doc__
|
|
2407
|
+
|
|
2408
|
+
|
|
2409
|
+
class MessageIdInvalid(BadRequest):
|
|
2410
|
+
"""The provided message id is invalid."""
|
|
2411
|
+
ID = "MESSAGE_ID_INVALID"
|
|
2412
|
+
"""``str``: RPC Error ID"""
|
|
2413
|
+
MESSAGE = __doc__
|
|
2414
|
+
|
|
2415
|
+
|
|
2416
|
+
class MessageNotModified(BadRequest):
|
|
2417
|
+
"""The message was not modified because you tried to edit it using the same content."""
|
|
2418
|
+
ID = "MESSAGE_NOT_MODIFIED"
|
|
2419
|
+
"""``str``: RPC Error ID"""
|
|
2420
|
+
MESSAGE = __doc__
|
|
2421
|
+
|
|
2422
|
+
|
|
2423
|
+
class MessageNotReadYet(BadRequest):
|
|
2424
|
+
"""The specified message wasn't read yet."""
|
|
2425
|
+
ID = "MESSAGE_NOT_READ_YET"
|
|
2426
|
+
"""``str``: RPC Error ID"""
|
|
2427
|
+
MESSAGE = __doc__
|
|
2428
|
+
|
|
2429
|
+
|
|
2430
|
+
class MessagePollClosed(BadRequest):
|
|
2431
|
+
"""You can't interact with a closed poll."""
|
|
2432
|
+
ID = "MESSAGE_POLL_CLOSED"
|
|
2433
|
+
"""``str``: RPC Error ID"""
|
|
2434
|
+
MESSAGE = __doc__
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
class MessageTooLong(BadRequest):
|
|
2438
|
+
"""The provided message text is too long."""
|
|
2439
|
+
ID = "MESSAGE_TOO_LONG"
|
|
2440
|
+
"""``str``: RPC Error ID"""
|
|
2441
|
+
MESSAGE = __doc__
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
class MessageTooOld(BadRequest):
|
|
2445
|
+
"""The message is too old, the requested information is not available."""
|
|
2446
|
+
ID = "MESSAGE_TOO_OLD"
|
|
2447
|
+
"""``str``: RPC Error ID"""
|
|
2448
|
+
MESSAGE = __doc__
|
|
2449
|
+
|
|
2450
|
+
|
|
2451
|
+
class MethodInvalid(BadRequest):
|
|
2452
|
+
"""The specified API method is invalid and cannot be used."""
|
|
2453
|
+
ID = "METHOD_INVALID"
|
|
2454
|
+
"""``str``: RPC Error ID"""
|
|
2455
|
+
MESSAGE = __doc__
|
|
2456
|
+
|
|
2457
|
+
|
|
2458
|
+
class MinDateInvalid(BadRequest):
|
|
2459
|
+
"""The specified minimum date is invalid."""
|
|
2460
|
+
ID = "MIN_DATE_INVALID"
|
|
2461
|
+
"""``str``: RPC Error ID"""
|
|
2462
|
+
MESSAGE = __doc__
|
|
2463
|
+
|
|
2464
|
+
|
|
2465
|
+
class MonoforumFilterInvalid(BadRequest):
|
|
2466
|
+
"""The specified filter is invalid."""
|
|
2467
|
+
ID = "MONOFORUM_FILTER_INVALID"
|
|
2468
|
+
"""``str``: RPC Error ID"""
|
|
2469
|
+
MESSAGE = __doc__
|
|
2470
|
+
|
|
2471
|
+
|
|
2472
|
+
class MonthInvalid(BadRequest):
|
|
2473
|
+
"""The number of months specified in inputInvoicePremiumGiftStars.months is invalid."""
|
|
2474
|
+
ID = "MONTH_INVALID"
|
|
2475
|
+
"""``str``: RPC Error ID"""
|
|
2476
|
+
MESSAGE = __doc__
|
|
2477
|
+
|
|
2478
|
+
|
|
2479
|
+
class MsgIdInvalid(BadRequest):
|
|
2480
|
+
"""The message ID used in the peer was invalid."""
|
|
2481
|
+
ID = "MSG_ID_INVALID"
|
|
2482
|
+
"""``str``: RPC Error ID"""
|
|
2483
|
+
MESSAGE = __doc__
|
|
2484
|
+
|
|
2485
|
+
|
|
2486
|
+
class MsgTooOld(BadRequest):
|
|
2487
|
+
"""chat_read_mark_expire_period have passed since the message was sent, read receipts were deleted."""
|
|
2488
|
+
ID = "MSG_TOO_OLD"
|
|
2489
|
+
"""``str``: RPC Error ID"""
|
|
2490
|
+
MESSAGE = __doc__
|
|
2491
|
+
|
|
2492
|
+
|
|
2493
|
+
class MsgVoiceMissing(BadRequest):
|
|
2494
|
+
"""The message does not contain a voice message."""
|
|
2495
|
+
ID = "MSG_VOICE_MISSING"
|
|
2496
|
+
"""``str``: RPC Error ID"""
|
|
2497
|
+
MESSAGE = __doc__
|
|
2498
|
+
|
|
2499
|
+
|
|
2500
|
+
class MsgWaitFailed(BadRequest):
|
|
2501
|
+
"""A waiting call returned an error."""
|
|
2502
|
+
ID = "MSG_WAIT_FAILED"
|
|
2503
|
+
"""``str``: RPC Error ID"""
|
|
2504
|
+
MESSAGE = __doc__
|
|
2505
|
+
|
|
2506
|
+
|
|
2507
|
+
class MtprotoClusterInvalid(BadRequest):
|
|
2508
|
+
"""The MTProto cluster is invalid."""
|
|
2509
|
+
ID = "MTPROTO_CLUSTER_INVALID"
|
|
2510
|
+
"""``str``: RPC Error ID"""
|
|
2511
|
+
MESSAGE = __doc__
|
|
2512
|
+
|
|
2513
|
+
|
|
2514
|
+
class MultiMediaTooLong(BadRequest):
|
|
2515
|
+
"""The album contains too many items."""
|
|
2516
|
+
ID = "MULTI_MEDIA_TOO_LONG"
|
|
2517
|
+
"""``str``: RPC Error ID"""
|
|
2518
|
+
MESSAGE = __doc__
|
|
2519
|
+
|
|
2520
|
+
|
|
2521
|
+
class NewSaltInvalid(BadRequest):
|
|
2522
|
+
"""The new salt is invalid."""
|
|
2523
|
+
ID = "NEW_SALT_INVALID"
|
|
2524
|
+
"""``str``: RPC Error ID"""
|
|
2525
|
+
MESSAGE = __doc__
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
class NewSettingsEmpty(BadRequest):
|
|
2529
|
+
"""No password is set on the current account, and no new password was specified in `new_settings`."""
|
|
2530
|
+
ID = "NEW_SETTINGS_EMPTY"
|
|
2531
|
+
"""``str``: RPC Error ID"""
|
|
2532
|
+
MESSAGE = __doc__
|
|
2533
|
+
|
|
2534
|
+
|
|
2535
|
+
class NewSettingsInvalid(BadRequest):
|
|
2536
|
+
"""The new settings are invalid."""
|
|
2537
|
+
ID = "NEW_SETTINGS_INVALID"
|
|
2538
|
+
"""``str``: RPC Error ID"""
|
|
2539
|
+
MESSAGE = __doc__
|
|
2540
|
+
|
|
2541
|
+
|
|
2542
|
+
class NextOffsetInvalid(BadRequest):
|
|
2543
|
+
"""The next offset value is invalid."""
|
|
2544
|
+
ID = "NEXT_OFFSET_INVALID"
|
|
2545
|
+
"""``str``: RPC Error ID"""
|
|
2546
|
+
MESSAGE = __doc__
|
|
2547
|
+
|
|
2548
|
+
|
|
2549
|
+
class NogeneralHideForbidden(BadRequest):
|
|
2550
|
+
"""The hidden parameter is only valid for the General topic message_thread_id=1."""
|
|
2551
|
+
ID = "NOGENERAL_HIDE_FORBIDDEN"
|
|
2552
|
+
"""``str``: RPC Error ID"""
|
|
2553
|
+
MESSAGE = __doc__
|
|
2554
|
+
|
|
2555
|
+
|
|
2556
|
+
class NotEligible(BadRequest):
|
|
2557
|
+
"""The current user is not eligible to join the Peer-to-Peer Login Program."""
|
|
2558
|
+
ID = "NOT_ELIGIBLE"
|
|
2559
|
+
"""``str``: RPC Error ID"""
|
|
2560
|
+
MESSAGE = __doc__
|
|
2561
|
+
|
|
2562
|
+
|
|
2563
|
+
class NotJoined(BadRequest):
|
|
2564
|
+
"""The current user hasn't joined the Peer-to-Peer Login Program."""
|
|
2565
|
+
ID = "NOT_JOINED"
|
|
2566
|
+
"""``str``: RPC Error ID"""
|
|
2567
|
+
MESSAGE = __doc__
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
class NoPaymentNeeded(BadRequest):
|
|
2571
|
+
"""The upgrade/transfer of the specified gift was already paid for or is free."""
|
|
2572
|
+
ID = "NO_PAYMENT_NEEDED"
|
|
2573
|
+
"""``str``: RPC Error ID"""
|
|
2574
|
+
MESSAGE = __doc__
|
|
2575
|
+
|
|
2576
|
+
|
|
2577
|
+
class OffsetInvalid(BadRequest):
|
|
2578
|
+
"""The provided offset parameter is invalid."""
|
|
2579
|
+
ID = "OFFSET_INVALID"
|
|
2580
|
+
"""``str``: RPC Error ID"""
|
|
2581
|
+
MESSAGE = __doc__
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
class OffsetPeerIdInvalid(BadRequest):
|
|
2585
|
+
"""The provided offset peer is invalid."""
|
|
2586
|
+
ID = "OFFSET_PEER_ID_INVALID"
|
|
2587
|
+
"""``str``: RPC Error ID"""
|
|
2588
|
+
MESSAGE = __doc__
|
|
2589
|
+
|
|
2590
|
+
|
|
2591
|
+
class OptionsTooMuch(BadRequest):
|
|
2592
|
+
"""Too many poll options provided."""
|
|
2593
|
+
ID = "OPTIONS_TOO_MUCH"
|
|
2594
|
+
"""``str``: RPC Error ID"""
|
|
2595
|
+
MESSAGE = __doc__
|
|
2596
|
+
|
|
2597
|
+
|
|
2598
|
+
class OptionInvalid(BadRequest):
|
|
2599
|
+
"""The option specified is invalid and does not exist in the target poll."""
|
|
2600
|
+
ID = "OPTION_INVALID"
|
|
2601
|
+
"""``str``: RPC Error ID"""
|
|
2602
|
+
MESSAGE = __doc__
|
|
2603
|
+
|
|
2604
|
+
|
|
2605
|
+
class OrderInvalid(BadRequest):
|
|
2606
|
+
"""The specified username order is invalid."""
|
|
2607
|
+
ID = "ORDER_INVALID"
|
|
2608
|
+
"""``str``: RPC Error ID"""
|
|
2609
|
+
MESSAGE = __doc__
|
|
2610
|
+
|
|
2611
|
+
|
|
2612
|
+
class PackShortNameInvalid(BadRequest):
|
|
2613
|
+
"""Invalid sticker pack name. It must begin with a letter, can't contain consecutive underscores and must end in '_by_<bot username>'."""
|
|
2614
|
+
ID = "PACK_SHORT_NAME_INVALID"
|
|
2615
|
+
"""``str``: RPC Error ID"""
|
|
2616
|
+
MESSAGE = __doc__
|
|
2617
|
+
|
|
2618
|
+
|
|
2619
|
+
class PackShortNameOccupied(BadRequest):
|
|
2620
|
+
"""A sticker pack with this name already exists."""
|
|
2621
|
+
ID = "PACK_SHORT_NAME_OCCUPIED"
|
|
2622
|
+
"""``str``: RPC Error ID"""
|
|
2623
|
+
MESSAGE = __doc__
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
class PackTitleInvalid(BadRequest):
|
|
2627
|
+
"""The sticker pack title is invalid."""
|
|
2628
|
+
ID = "PACK_TITLE_INVALID"
|
|
2629
|
+
"""``str``: RPC Error ID"""
|
|
2630
|
+
MESSAGE = __doc__
|
|
2631
|
+
|
|
2632
|
+
|
|
2633
|
+
class PackTypeInvalid(BadRequest):
|
|
2634
|
+
"""The masks and emojis flags are mutually exclusive."""
|
|
2635
|
+
ID = "PACK_TYPE_INVALID"
|
|
2636
|
+
"""``str``: RPC Error ID"""
|
|
2637
|
+
MESSAGE = __doc__
|
|
2638
|
+
|
|
2639
|
+
|
|
2640
|
+
class ParentPeerInvalid(BadRequest):
|
|
2641
|
+
"""The specified `parent_peer` is invalid."""
|
|
2642
|
+
ID = "PARENT_PEER_INVALID"
|
|
2643
|
+
"""``str``: RPC Error ID"""
|
|
2644
|
+
MESSAGE = __doc__
|
|
2645
|
+
|
|
2646
|
+
|
|
2647
|
+
class ParticipantsTooFew(BadRequest):
|
|
2648
|
+
"""The chat doesn't have enough participants."""
|
|
2649
|
+
ID = "PARTICIPANTS_TOO_FEW"
|
|
2650
|
+
"""``str``: RPC Error ID"""
|
|
2651
|
+
MESSAGE = __doc__
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
class ParticipantIdInvalid(BadRequest):
|
|
2655
|
+
"""The specified participant ID is invalid."""
|
|
2656
|
+
ID = "PARTICIPANT_ID_INVALID"
|
|
2657
|
+
"""``str``: RPC Error ID"""
|
|
2658
|
+
MESSAGE = __doc__
|
|
2659
|
+
|
|
2660
|
+
|
|
2661
|
+
class ParticipantJoinMissing(BadRequest):
|
|
2662
|
+
"""Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall)."""
|
|
2663
|
+
ID = "PARTICIPANT_JOIN_MISSING"
|
|
2664
|
+
"""``str``: RPC Error ID"""
|
|
2665
|
+
MESSAGE = __doc__
|
|
2666
|
+
|
|
2667
|
+
|
|
2668
|
+
class ParticipantVersionOutdated(BadRequest):
|
|
2669
|
+
"""The other participant is using an outdated Telegram app version."""
|
|
2670
|
+
ID = "PARTICIPANT_VERSION_OUTDATED"
|
|
2671
|
+
"""``str``: RPC Error ID"""
|
|
2672
|
+
MESSAGE = __doc__
|
|
2673
|
+
|
|
2674
|
+
|
|
2675
|
+
class PasskeyCredentialNotFound(BadRequest):
|
|
2676
|
+
"""The passkey credential not found."""
|
|
2677
|
+
ID = "PASSKEY_CREDENTIAL_NOT_FOUND"
|
|
2678
|
+
"""``str``: RPC Error ID"""
|
|
2679
|
+
MESSAGE = __doc__
|
|
2680
|
+
|
|
2681
|
+
|
|
2682
|
+
class PasswordEmpty(BadRequest):
|
|
2683
|
+
"""The provided password is empty."""
|
|
2684
|
+
ID = "PASSWORD_EMPTY"
|
|
2685
|
+
"""``str``: RPC Error ID"""
|
|
2686
|
+
MESSAGE = __doc__
|
|
2687
|
+
|
|
2688
|
+
|
|
2689
|
+
class PasswordHashInvalid(BadRequest):
|
|
2690
|
+
"""The two-step verification password is invalid."""
|
|
2691
|
+
ID = "PASSWORD_HASH_INVALID"
|
|
2692
|
+
"""``str``: RPC Error ID"""
|
|
2693
|
+
MESSAGE = __doc__
|
|
2694
|
+
|
|
2695
|
+
|
|
2696
|
+
class PasswordMissing(BadRequest):
|
|
2697
|
+
"""You must [enable 2FA](https://core.telegram.org/api/srp) before executing this operation."""
|
|
2698
|
+
ID = "PASSWORD_MISSING"
|
|
2699
|
+
"""``str``: RPC Error ID"""
|
|
2700
|
+
MESSAGE = __doc__
|
|
2701
|
+
|
|
2702
|
+
|
|
2703
|
+
class PasswordRecoveryExpired(BadRequest):
|
|
2704
|
+
"""The recovery code has expired."""
|
|
2705
|
+
ID = "PASSWORD_RECOVERY_EXPIRED"
|
|
2706
|
+
"""``str``: RPC Error ID"""
|
|
2707
|
+
MESSAGE = __doc__
|
|
2708
|
+
|
|
2709
|
+
|
|
2710
|
+
class PasswordRecoveryNa(BadRequest):
|
|
2711
|
+
"""No email was set, can't recover password via email."""
|
|
2712
|
+
ID = "PASSWORD_RECOVERY_NA"
|
|
2713
|
+
"""``str``: RPC Error ID"""
|
|
2714
|
+
MESSAGE = __doc__
|
|
2715
|
+
|
|
2716
|
+
|
|
2717
|
+
class PasswordRequired(BadRequest):
|
|
2718
|
+
"""The two-step verification password is required for this method."""
|
|
2719
|
+
ID = "PASSWORD_REQUIRED"
|
|
2720
|
+
"""``str``: RPC Error ID"""
|
|
2721
|
+
MESSAGE = __doc__
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
class PasswordTooFresh(BadRequest):
|
|
2725
|
+
"""The two-step verification password was modified less than 24 hours ago, try again in {value} seconds."""
|
|
2726
|
+
ID = "PASSWORD_TOO_FRESH_X"
|
|
2727
|
+
"""``str``: RPC Error ID"""
|
|
2728
|
+
MESSAGE = __doc__
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
class PaymentCredentialsInvalid(BadRequest):
|
|
2732
|
+
"""The specified payment credentials are invalid."""
|
|
2733
|
+
ID = "PAYMENT_CREDENTIALS_INVALID"
|
|
2734
|
+
"""``str``: RPC Error ID"""
|
|
2735
|
+
MESSAGE = __doc__
|
|
2736
|
+
|
|
2737
|
+
|
|
2738
|
+
class PaymentProviderInvalid(BadRequest):
|
|
2739
|
+
"""The payment provider was not recognised or its token was invalid."""
|
|
2740
|
+
ID = "PAYMENT_PROVIDER_INVALID"
|
|
2741
|
+
"""``str``: RPC Error ID"""
|
|
2742
|
+
MESSAGE = __doc__
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
class PaymentRequired(BadRequest):
|
|
2746
|
+
"""The payment is required."""
|
|
2747
|
+
ID = "PAYMENT_REQUIRED"
|
|
2748
|
+
"""``str``: RPC Error ID"""
|
|
2749
|
+
MESSAGE = __doc__
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
class PeersListEmpty(BadRequest):
|
|
2753
|
+
"""The specified list of peers is empty."""
|
|
2754
|
+
ID = "PEERS_LIST_EMPTY"
|
|
2755
|
+
"""``str``: RPC Error ID"""
|
|
2756
|
+
MESSAGE = __doc__
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
class PeerFlood(BadRequest):
|
|
2760
|
+
"""The current account is limited, you cannot execute this action, check @spambot for more info."""
|
|
2761
|
+
ID = "PEER_FLOOD"
|
|
2762
|
+
"""``str``: RPC Error ID"""
|
|
2763
|
+
MESSAGE = __doc__
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
class PeerHistoryEmpty(BadRequest):
|
|
2767
|
+
"""You can't pin an empty chat with a user."""
|
|
2768
|
+
ID = "PEER_HISTORY_EMPTY"
|
|
2769
|
+
"""``str``: RPC Error ID"""
|
|
2770
|
+
MESSAGE = __doc__
|
|
2771
|
+
|
|
2772
|
+
|
|
2773
|
+
class PeerIdInvalid(BadRequest):
|
|
2774
|
+
"""The peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it."""
|
|
2775
|
+
ID = "PEER_ID_INVALID"
|
|
2776
|
+
"""``str``: RPC Error ID"""
|
|
2777
|
+
MESSAGE = __doc__
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
class PeerIdNotSupported(BadRequest):
|
|
2781
|
+
"""The provided peer id is not supported."""
|
|
2782
|
+
ID = "PEER_ID_NOT_SUPPORTED"
|
|
2783
|
+
"""``str``: RPC Error ID"""
|
|
2784
|
+
MESSAGE = __doc__
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
class PeerTypesInvalid(BadRequest):
|
|
2788
|
+
"""The passed [keyboardButtonSwitchInline](https://core.telegram.org/constructor/keyboardButtonSwitchInline).`peer_types` field is invalid."""
|
|
2789
|
+
ID = "PEER_TYPES_INVALID"
|
|
2790
|
+
"""``str``: RPC Error ID"""
|
|
2791
|
+
MESSAGE = __doc__
|
|
2792
|
+
|
|
2793
|
+
|
|
2794
|
+
class PersistentTimestampEmpty(BadRequest):
|
|
2795
|
+
"""The pts argument is empty."""
|
|
2796
|
+
ID = "PERSISTENT_TIMESTAMP_EMPTY"
|
|
2797
|
+
"""``str``: RPC Error ID"""
|
|
2798
|
+
MESSAGE = __doc__
|
|
2799
|
+
|
|
2800
|
+
|
|
2801
|
+
class PersistentTimestampInvalid(BadRequest):
|
|
2802
|
+
"""The persistent timestamp is invalid."""
|
|
2803
|
+
ID = "PERSISTENT_TIMESTAMP_INVALID"
|
|
2804
|
+
"""``str``: RPC Error ID"""
|
|
2805
|
+
MESSAGE = __doc__
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
class PhoneCodeEmpty(BadRequest):
|
|
2809
|
+
"""The phone code is missing."""
|
|
2810
|
+
ID = "PHONE_CODE_EMPTY"
|
|
2811
|
+
"""``str``: RPC Error ID"""
|
|
2812
|
+
MESSAGE = __doc__
|
|
2813
|
+
|
|
2814
|
+
|
|
2815
|
+
class PhoneCodeExpired(BadRequest):
|
|
2816
|
+
"""The provided confirmation code has expired. Make sure you haven't sent it to anyone else and use the code on the same connection."""
|
|
2817
|
+
ID = "PHONE_CODE_EXPIRED"
|
|
2818
|
+
"""``str``: RPC Error ID"""
|
|
2819
|
+
MESSAGE = __doc__
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
class PhoneCodeHashEmpty(BadRequest):
|
|
2823
|
+
"""The phone code hash is missing."""
|
|
2824
|
+
ID = "PHONE_CODE_HASH_EMPTY"
|
|
2825
|
+
"""``str``: RPC Error ID"""
|
|
2826
|
+
MESSAGE = __doc__
|
|
2827
|
+
|
|
2828
|
+
|
|
2829
|
+
class PhoneCodeInvalid(BadRequest):
|
|
2830
|
+
"""The provided confirmation code is invalid."""
|
|
2831
|
+
ID = "PHONE_CODE_INVALID"
|
|
2832
|
+
"""``str``: RPC Error ID"""
|
|
2833
|
+
MESSAGE = __doc__
|
|
2834
|
+
|
|
2835
|
+
|
|
2836
|
+
class PhoneHashExpired(BadRequest):
|
|
2837
|
+
"""An invalid or expired phone code hash was provided."""
|
|
2838
|
+
ID = "PHONE_HASH_EXPIRED"
|
|
2839
|
+
"""``str``: RPC Error ID"""
|
|
2840
|
+
MESSAGE = __doc__
|
|
2841
|
+
|
|
2842
|
+
|
|
2843
|
+
class PhoneNotOccupied(BadRequest):
|
|
2844
|
+
"""No user is associated to the specified phone number."""
|
|
2845
|
+
ID = "PHONE_NOT_OCCUPIED"
|
|
2846
|
+
"""``str``: RPC Error ID"""
|
|
2847
|
+
MESSAGE = __doc__
|
|
2848
|
+
|
|
2849
|
+
|
|
2850
|
+
class PhoneNumberAppSignupForbidden(BadRequest):
|
|
2851
|
+
"""You can't sign up using this app."""
|
|
2852
|
+
ID = "PHONE_NUMBER_APP_SIGNUP_FORBIDDEN"
|
|
2853
|
+
"""``str``: RPC Error ID"""
|
|
2854
|
+
MESSAGE = __doc__
|
|
2855
|
+
|
|
2856
|
+
|
|
2857
|
+
class PhoneNumberBanned(BadRequest):
|
|
2858
|
+
"""The specified phone number is banned from Telegram and cannot be used."""
|
|
2859
|
+
ID = "PHONE_NUMBER_BANNED"
|
|
2860
|
+
"""``str``: RPC Error ID"""
|
|
2861
|
+
MESSAGE = __doc__
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
class PhoneNumberFlood(BadRequest):
|
|
2865
|
+
"""This number has tried to login too many times."""
|
|
2866
|
+
ID = "PHONE_NUMBER_FLOOD"
|
|
2867
|
+
"""``str``: RPC Error ID"""
|
|
2868
|
+
MESSAGE = __doc__
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
class PhoneNumberInvalid(BadRequest):
|
|
2872
|
+
"""The phone number is invalid."""
|
|
2873
|
+
ID = "PHONE_NUMBER_INVALID"
|
|
2874
|
+
"""``str``: RPC Error ID"""
|
|
2875
|
+
MESSAGE = __doc__
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
class PhoneNumberOccupied(BadRequest):
|
|
2879
|
+
"""The phone number is already in use."""
|
|
2880
|
+
ID = "PHONE_NUMBER_OCCUPIED"
|
|
2881
|
+
"""``str``: RPC Error ID"""
|
|
2882
|
+
MESSAGE = __doc__
|
|
2883
|
+
|
|
2884
|
+
|
|
2885
|
+
class PhoneNumberUnoccupied(BadRequest):
|
|
2886
|
+
"""The phone number is not yet being used."""
|
|
2887
|
+
ID = "PHONE_NUMBER_UNOCCUPIED"
|
|
2888
|
+
"""``str``: RPC Error ID"""
|
|
2889
|
+
MESSAGE = __doc__
|
|
2890
|
+
|
|
2891
|
+
|
|
2892
|
+
class PhonePasswordProtected(BadRequest):
|
|
2893
|
+
"""This phone is password protected."""
|
|
2894
|
+
ID = "PHONE_PASSWORD_PROTECTED"
|
|
2895
|
+
"""``str``: RPC Error ID"""
|
|
2896
|
+
MESSAGE = __doc__
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
class PhotoContentTypeInvalid(BadRequest):
|
|
2900
|
+
"""The photo content type is invalid."""
|
|
2901
|
+
ID = "PHOTO_CONTENT_TYPE_INVALID"
|
|
2902
|
+
"""``str``: RPC Error ID"""
|
|
2903
|
+
MESSAGE = __doc__
|
|
2904
|
+
|
|
2905
|
+
|
|
2906
|
+
class PhotoContentUrlEmpty(BadRequest):
|
|
2907
|
+
"""The photo content URL is empty."""
|
|
2908
|
+
ID = "PHOTO_CONTENT_URL_EMPTY"
|
|
2909
|
+
"""``str``: RPC Error ID"""
|
|
2910
|
+
MESSAGE = __doc__
|
|
2911
|
+
|
|
2912
|
+
|
|
2913
|
+
class PhotoCropFileMissing(BadRequest):
|
|
2914
|
+
"""Photo crop file missing."""
|
|
2915
|
+
ID = "PHOTO_CROP_FILE_MISSING"
|
|
2916
|
+
"""``str``: RPC Error ID"""
|
|
2917
|
+
MESSAGE = __doc__
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+
class PhotoCropSizeSmall(BadRequest):
|
|
2921
|
+
"""Photo is too small."""
|
|
2922
|
+
ID = "PHOTO_CROP_SIZE_SMALL"
|
|
2923
|
+
"""``str``: RPC Error ID"""
|
|
2924
|
+
MESSAGE = __doc__
|
|
2925
|
+
|
|
2926
|
+
|
|
2927
|
+
class PhotoExtInvalid(BadRequest):
|
|
2928
|
+
"""The extension of the photo is invalid."""
|
|
2929
|
+
ID = "PHOTO_EXT_INVALID"
|
|
2930
|
+
"""``str``: RPC Error ID"""
|
|
2931
|
+
MESSAGE = __doc__
|
|
2932
|
+
|
|
2933
|
+
|
|
2934
|
+
class PhotoFileMissing(BadRequest):
|
|
2935
|
+
"""Profile photo file missing."""
|
|
2936
|
+
ID = "PHOTO_FILE_MISSING"
|
|
2937
|
+
"""``str``: RPC Error ID"""
|
|
2938
|
+
MESSAGE = __doc__
|
|
2939
|
+
|
|
2940
|
+
|
|
2941
|
+
class PhotoIdInvalid(BadRequest):
|
|
2942
|
+
"""Photo ID invalid."""
|
|
2943
|
+
ID = "PHOTO_ID_INVALID"
|
|
2944
|
+
"""``str``: RPC Error ID"""
|
|
2945
|
+
MESSAGE = __doc__
|
|
2946
|
+
|
|
2947
|
+
|
|
2948
|
+
class PhotoInvalid(BadRequest):
|
|
2949
|
+
"""Photo invalid."""
|
|
2950
|
+
ID = "PHOTO_INVALID"
|
|
2951
|
+
"""``str``: RPC Error ID"""
|
|
2952
|
+
MESSAGE = __doc__
|
|
2953
|
+
|
|
2954
|
+
|
|
2955
|
+
class PhotoInvalidDimensions(BadRequest):
|
|
2956
|
+
"""The photo dimensions are invalid."""
|
|
2957
|
+
ID = "PHOTO_INVALID_DIMENSIONS"
|
|
2958
|
+
"""``str``: RPC Error ID"""
|
|
2959
|
+
MESSAGE = __doc__
|
|
2960
|
+
|
|
2961
|
+
|
|
2962
|
+
class PhotoSaveFileInvalid(BadRequest):
|
|
2963
|
+
"""The photo you tried to send cannot be saved by Telegram."""
|
|
2964
|
+
ID = "PHOTO_SAVE_FILE_INVALID"
|
|
2965
|
+
"""``str``: RPC Error ID"""
|
|
2966
|
+
MESSAGE = __doc__
|
|
2967
|
+
|
|
2968
|
+
|
|
2969
|
+
class PhotoThumbUrlEmpty(BadRequest):
|
|
2970
|
+
"""The photo thumbnail URL is empty."""
|
|
2971
|
+
ID = "PHOTO_THUMB_URL_EMPTY"
|
|
2972
|
+
"""``str``: RPC Error ID"""
|
|
2973
|
+
MESSAGE = __doc__
|
|
2974
|
+
|
|
2975
|
+
|
|
2976
|
+
class PhotoThumbUrlInvalid(BadRequest):
|
|
2977
|
+
"""The photo thumb URL is invalid."""
|
|
2978
|
+
ID = "PHOTO_THUMB_URL_INVALID"
|
|
2979
|
+
"""``str``: RPC Error ID"""
|
|
2980
|
+
MESSAGE = __doc__
|
|
2981
|
+
|
|
2982
|
+
|
|
2983
|
+
class PinnedDialogsTooMuch(BadRequest):
|
|
2984
|
+
"""Too many pinned dialogs."""
|
|
2985
|
+
ID = "PINNED_DIALOGS_TOO_MUCH"
|
|
2986
|
+
"""``str``: RPC Error ID"""
|
|
2987
|
+
MESSAGE = __doc__
|
|
2988
|
+
|
|
2989
|
+
|
|
2990
|
+
class PinnedTooMuch(BadRequest):
|
|
2991
|
+
"""There are too many pinned topics, unpin some first."""
|
|
2992
|
+
ID = "PINNED_TOO_MUCH"
|
|
2993
|
+
"""``str``: RPC Error ID"""
|
|
2994
|
+
MESSAGE = __doc__
|
|
2995
|
+
|
|
2996
|
+
|
|
2997
|
+
class PinnedTopicNotModified(BadRequest):
|
|
2998
|
+
"""The pinned topic was not modified."""
|
|
2999
|
+
ID = "PINNED_TOPIC_NOT_MODIFIED"
|
|
3000
|
+
"""``str``: RPC Error ID"""
|
|
3001
|
+
MESSAGE = __doc__
|
|
3002
|
+
|
|
3003
|
+
|
|
3004
|
+
class PinRestricted(BadRequest):
|
|
3005
|
+
"""You can't pin messages in private chats with other people."""
|
|
3006
|
+
ID = "PIN_RESTRICTED"
|
|
3007
|
+
"""``str``: RPC Error ID"""
|
|
3008
|
+
MESSAGE = __doc__
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
class PlatformInvalid(BadRequest):
|
|
3012
|
+
"""The provided platform is invalid. Allowed values are "android", "ios", "wp", "bb", "desktop", "web", "ubp", "other"."""
|
|
3013
|
+
ID = "PLATFORM_INVALID"
|
|
3014
|
+
"""``str``: RPC Error ID"""
|
|
3015
|
+
MESSAGE = __doc__
|
|
3016
|
+
|
|
3017
|
+
|
|
3018
|
+
class PollAnswersInvalid(BadRequest):
|
|
3019
|
+
"""Invalid poll answers were provided."""
|
|
3020
|
+
ID = "POLL_ANSWERS_INVALID"
|
|
3021
|
+
"""``str``: RPC Error ID"""
|
|
3022
|
+
MESSAGE = __doc__
|
|
3023
|
+
|
|
3024
|
+
|
|
3025
|
+
class PollAnswerInvalid(BadRequest):
|
|
3026
|
+
"""One of the poll answers is not acceptable."""
|
|
3027
|
+
ID = "POLL_ANSWER_INVALID"
|
|
3028
|
+
"""``str``: RPC Error ID"""
|
|
3029
|
+
MESSAGE = __doc__
|
|
3030
|
+
|
|
3031
|
+
|
|
3032
|
+
class PollOptionDuplicate(BadRequest):
|
|
3033
|
+
"""A duplicate option was sent in the same poll."""
|
|
3034
|
+
ID = "POLL_OPTION_DUPLICATE"
|
|
3035
|
+
"""``str``: RPC Error ID"""
|
|
3036
|
+
MESSAGE = __doc__
|
|
3037
|
+
|
|
3038
|
+
|
|
3039
|
+
class PollOptionInvalid(BadRequest):
|
|
3040
|
+
"""IA poll option used invalid data (the data may be too long)."""
|
|
3041
|
+
ID = "POLL_OPTION_INVALID"
|
|
3042
|
+
"""``str``: RPC Error ID"""
|
|
3043
|
+
MESSAGE = __doc__
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
class PollQuestionInvalid(BadRequest):
|
|
3047
|
+
"""The poll question is invalid."""
|
|
3048
|
+
ID = "POLL_QUESTION_INVALID"
|
|
3049
|
+
"""``str``: RPC Error ID"""
|
|
3050
|
+
MESSAGE = __doc__
|
|
3051
|
+
|
|
3052
|
+
|
|
3053
|
+
class PollUnsupported(BadRequest):
|
|
3054
|
+
"""This layer does not support polls in the invoked method."""
|
|
3055
|
+
ID = "POLL_UNSUPPORTED"
|
|
3056
|
+
"""``str``: RPC Error ID"""
|
|
3057
|
+
MESSAGE = __doc__
|
|
3058
|
+
|
|
3059
|
+
|
|
3060
|
+
class PollVoteRequired(BadRequest):
|
|
3061
|
+
"""Cast a vote in the poll before calling this method."""
|
|
3062
|
+
ID = "POLL_VOTE_REQUIRED"
|
|
3063
|
+
"""``str``: RPC Error ID"""
|
|
3064
|
+
MESSAGE = __doc__
|
|
3065
|
+
|
|
3066
|
+
|
|
3067
|
+
class PrecheckoutFailed(BadRequest):
|
|
3068
|
+
"""Precheckout failed. Probably you don't have enough funds to complete the purchase."""
|
|
3069
|
+
ID = "PRECHECKOUT_FAILED"
|
|
3070
|
+
"""``str``: RPC Error ID"""
|
|
3071
|
+
MESSAGE = __doc__
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
class PremiumAccountRequired(BadRequest):
|
|
3075
|
+
"""A premium account is required to execute this action."""
|
|
3076
|
+
ID = "PREMIUM_ACCOUNT_REQUIRED"
|
|
3077
|
+
"""``str``: RPC Error ID"""
|
|
3078
|
+
MESSAGE = __doc__
|
|
3079
|
+
|
|
3080
|
+
|
|
3081
|
+
class PremiumGiftcodeWasRefunded(BadRequest):
|
|
3082
|
+
"""This gift code can't be redeemed because the giveaway organizer requested a refund."""
|
|
3083
|
+
ID = "PREMIUM_GIFTCODE_WAS_REFUNDED"
|
|
3084
|
+
"""``str``: RPC Error ID"""
|
|
3085
|
+
MESSAGE = __doc__
|
|
3086
|
+
|
|
3087
|
+
|
|
3088
|
+
class PricingChatInvalid(BadRequest):
|
|
3089
|
+
"""The pricing for the [subscription](https://core.telegram.org/api/subscriptions) is invalid, the maximum price is specified in the [`stars_subscription_amount_max` config key »](https://core.telegram.org/api/config#stars-subscription-amount-max)."""
|
|
3090
|
+
ID = "PRICING_CHAT_INVALID"
|
|
3091
|
+
"""``str``: RPC Error ID"""
|
|
3092
|
+
MESSAGE = __doc__
|
|
3093
|
+
|
|
3094
|
+
|
|
3095
|
+
class PrivacyKeyInvalid(BadRequest):
|
|
3096
|
+
"""The privacy key is invalid."""
|
|
3097
|
+
ID = "PRIVACY_KEY_INVALID"
|
|
3098
|
+
"""``str``: RPC Error ID"""
|
|
3099
|
+
MESSAGE = __doc__
|
|
3100
|
+
|
|
3101
|
+
|
|
3102
|
+
class PrivacyTooLong(BadRequest):
|
|
3103
|
+
"""Your privacy exception list has exceeded the maximum capacity."""
|
|
3104
|
+
ID = "PRIVACY_TOO_LONG"
|
|
3105
|
+
"""``str``: RPC Error ID"""
|
|
3106
|
+
MESSAGE = __doc__
|
|
3107
|
+
|
|
3108
|
+
|
|
3109
|
+
class PrivacyValueInvalid(BadRequest):
|
|
3110
|
+
"""The specified privacy rule combination is invalid."""
|
|
3111
|
+
ID = "PRIVACY_VALUE_INVALID"
|
|
3112
|
+
"""``str``: RPC Error ID"""
|
|
3113
|
+
MESSAGE = __doc__
|
|
3114
|
+
|
|
3115
|
+
|
|
3116
|
+
class PublicBroadcastExpected(BadRequest):
|
|
3117
|
+
"""A public channel was expected, but something else was provided."""
|
|
3118
|
+
ID = "PUBLIC_BROADCAST_EXPECTED"
|
|
3119
|
+
"""``str``: RPC Error ID"""
|
|
3120
|
+
MESSAGE = __doc__
|
|
3121
|
+
|
|
3122
|
+
|
|
3123
|
+
class PublicKeyRequired(BadRequest):
|
|
3124
|
+
"""A public key is required."""
|
|
3125
|
+
ID = "PUBLIC_KEY_REQUIRED"
|
|
3126
|
+
"""``str``: RPC Error ID"""
|
|
3127
|
+
MESSAGE = __doc__
|
|
3128
|
+
|
|
3129
|
+
|
|
3130
|
+
class PurposeInvalid(BadRequest):
|
|
3131
|
+
"""The specified payment purpose is invalid."""
|
|
3132
|
+
ID = "PURPOSE_INVALID"
|
|
3133
|
+
"""``str``: RPC Error ID"""
|
|
3134
|
+
MESSAGE = __doc__
|
|
3135
|
+
|
|
3136
|
+
|
|
3137
|
+
class QueryIdEmpty(BadRequest):
|
|
3138
|
+
"""The query ID is empty."""
|
|
3139
|
+
ID = "QUERY_ID_EMPTY"
|
|
3140
|
+
"""``str``: RPC Error ID"""
|
|
3141
|
+
MESSAGE = __doc__
|
|
3142
|
+
|
|
3143
|
+
|
|
3144
|
+
class QueryIdInvalid(BadRequest):
|
|
3145
|
+
"""The query ID is invalid."""
|
|
3146
|
+
ID = "QUERY_ID_INVALID"
|
|
3147
|
+
"""``str``: RPC Error ID"""
|
|
3148
|
+
MESSAGE = __doc__
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
class QueryTooShort(BadRequest):
|
|
3152
|
+
"""The query string is too short."""
|
|
3153
|
+
ID = "QUERY_TOO_SHORT"
|
|
3154
|
+
"""``str``: RPC Error ID"""
|
|
3155
|
+
MESSAGE = __doc__
|
|
3156
|
+
|
|
3157
|
+
|
|
3158
|
+
class QuickRepliesBotNotAllowed(BadRequest):
|
|
3159
|
+
"""[Quick replies](https://core.telegram.org/api/business#quick-reply-shortcuts) cannot be used by bots."""
|
|
3160
|
+
ID = "QUICK_REPLIES_BOT_NOT_ALLOWED"
|
|
3161
|
+
"""``str``: RPC Error ID"""
|
|
3162
|
+
MESSAGE = __doc__
|
|
3163
|
+
|
|
3164
|
+
|
|
3165
|
+
class QuickRepliesTooMuch(BadRequest):
|
|
3166
|
+
"""A maximum of [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config#quick-replies-limit) shortcuts may be created, the limit was reached."""
|
|
3167
|
+
ID = "QUICK_REPLIES_TOO_MUCH"
|
|
3168
|
+
"""``str``: RPC Error ID"""
|
|
3169
|
+
MESSAGE = __doc__
|
|
3170
|
+
|
|
3171
|
+
|
|
3172
|
+
class QuizAnswerMissing(BadRequest):
|
|
3173
|
+
"""You can forward a quiz while hiding the original author only after choosing an option in the quiz."""
|
|
3174
|
+
ID = "QUIZ_ANSWER_MISSING"
|
|
3175
|
+
"""``str``: RPC Error ID"""
|
|
3176
|
+
MESSAGE = __doc__
|
|
3177
|
+
|
|
3178
|
+
|
|
3179
|
+
class QuizCorrectAnswersEmpty(BadRequest):
|
|
3180
|
+
"""No correct quiz answer was specified."""
|
|
3181
|
+
ID = "QUIZ_CORRECT_ANSWERS_EMPTY"
|
|
3182
|
+
"""``str``: RPC Error ID"""
|
|
3183
|
+
MESSAGE = __doc__
|
|
3184
|
+
|
|
3185
|
+
|
|
3186
|
+
class QuizCorrectAnswersTooMuch(BadRequest):
|
|
3187
|
+
"""You specified too many correct answers in a quiz, quizzes can only have one right answer!."""
|
|
3188
|
+
ID = "QUIZ_CORRECT_ANSWERS_TOO_MUCH"
|
|
3189
|
+
"""``str``: RPC Error ID"""
|
|
3190
|
+
MESSAGE = __doc__
|
|
3191
|
+
|
|
3192
|
+
|
|
3193
|
+
class QuizCorrectAnswerInvalid(BadRequest):
|
|
3194
|
+
"""An invalid value was provided to the correct_answers field."""
|
|
3195
|
+
ID = "QUIZ_CORRECT_ANSWER_INVALID"
|
|
3196
|
+
"""``str``: RPC Error ID"""
|
|
3197
|
+
MESSAGE = __doc__
|
|
3198
|
+
|
|
3199
|
+
|
|
3200
|
+
class QuizMultipleInvalid(BadRequest):
|
|
3201
|
+
"""A quiz can't have multiple answers."""
|
|
3202
|
+
ID = "QUIZ_MULTIPLE_INVALID"
|
|
3203
|
+
"""``str``: RPC Error ID"""
|
|
3204
|
+
MESSAGE = __doc__
|
|
3205
|
+
|
|
3206
|
+
|
|
3207
|
+
class QuoteTextInvalid(BadRequest):
|
|
3208
|
+
"""The specified quote text is invalid."""
|
|
3209
|
+
ID = "QUOTE_TEXT_INVALID"
|
|
3210
|
+
"""``str``: RPC Error ID"""
|
|
3211
|
+
MESSAGE = __doc__
|
|
3212
|
+
|
|
3213
|
+
|
|
3214
|
+
class RaiseHandForbidden(BadRequest):
|
|
3215
|
+
"""You cannot raise your hand."""
|
|
3216
|
+
ID = "RAISE_HAND_FORBIDDEN"
|
|
3217
|
+
"""``str``: RPC Error ID"""
|
|
3218
|
+
MESSAGE = __doc__
|
|
3219
|
+
|
|
3220
|
+
|
|
3221
|
+
class RandomIdEmpty(BadRequest):
|
|
3222
|
+
"""The random ID is empty."""
|
|
3223
|
+
ID = "RANDOM_ID_EMPTY"
|
|
3224
|
+
"""``str``: RPC Error ID"""
|
|
3225
|
+
MESSAGE = __doc__
|
|
3226
|
+
|
|
3227
|
+
|
|
3228
|
+
class RandomIdExpired(BadRequest):
|
|
3229
|
+
"""The specified `random_id` was expired (most likely it didn't follow the required `uint64_t random_id = (time() << 32) | ((uint64_t)random_uint32_t())` format, or the specified time is too far in the past)."""
|
|
3230
|
+
ID = "RANDOM_ID_EXPIRED"
|
|
3231
|
+
"""``str``: RPC Error ID"""
|
|
3232
|
+
MESSAGE = __doc__
|
|
3233
|
+
|
|
3234
|
+
|
|
3235
|
+
class RandomIdInvalid(BadRequest):
|
|
3236
|
+
"""The provided random ID is invalid."""
|
|
3237
|
+
ID = "RANDOM_ID_INVALID"
|
|
3238
|
+
"""``str``: RPC Error ID"""
|
|
3239
|
+
MESSAGE = __doc__
|
|
3240
|
+
|
|
3241
|
+
|
|
3242
|
+
class RandomLengthInvalid(BadRequest):
|
|
3243
|
+
"""The random length is invalid."""
|
|
3244
|
+
ID = "RANDOM_LENGTH_INVALID"
|
|
3245
|
+
"""``str``: RPC Error ID"""
|
|
3246
|
+
MESSAGE = __doc__
|
|
3247
|
+
|
|
3248
|
+
|
|
3249
|
+
class RangesInvalid(BadRequest):
|
|
3250
|
+
"""Invalid range provided."""
|
|
3251
|
+
ID = "RANGES_INVALID"
|
|
3252
|
+
"""``str``: RPC Error ID"""
|
|
3253
|
+
MESSAGE = __doc__
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
class RankInvalid(BadRequest):
|
|
3257
|
+
"""The specified member tag is invalid."""
|
|
3258
|
+
ID = "RANK_INVALID"
|
|
3259
|
+
"""``str``: RPC Error ID"""
|
|
3260
|
+
MESSAGE = __doc__
|
|
3261
|
+
|
|
3262
|
+
|
|
3263
|
+
class ReactionsCountInvalid(BadRequest):
|
|
3264
|
+
"""The count of the reactions should be less than `stars_paid_reaction_amount_max` stars, you can't react with more number of stars, see [the docs for more info](https://core.telegram.org/api/config#client-configuration)."""
|
|
3265
|
+
ID = "REACTIONS_COUNT_INVALID"
|
|
3266
|
+
"""``str``: RPC Error ID"""
|
|
3267
|
+
MESSAGE = __doc__
|
|
3268
|
+
|
|
3269
|
+
|
|
3270
|
+
class ReactionsTooMany(BadRequest):
|
|
3271
|
+
"""Non-premium users, can set up only one reaction per message."""
|
|
3272
|
+
ID = "REACTIONS_TOO_MANY"
|
|
3273
|
+
"""``str``: RPC Error ID"""
|
|
3274
|
+
MESSAGE = __doc__
|
|
3275
|
+
|
|
3276
|
+
|
|
3277
|
+
class ReactionEmpty(BadRequest):
|
|
3278
|
+
"""The specified reaction is empty."""
|
|
3279
|
+
ID = "REACTION_EMPTY"
|
|
3280
|
+
"""``str``: RPC Error ID"""
|
|
3281
|
+
MESSAGE = __doc__
|
|
3282
|
+
|
|
3283
|
+
|
|
3284
|
+
class ReactionInvalid(BadRequest):
|
|
3285
|
+
"""The specified reaction is invalid (only valid emoji are allowed)."""
|
|
3286
|
+
ID = "REACTION_INVALID"
|
|
3287
|
+
"""``str``: RPC Error ID"""
|
|
3288
|
+
MESSAGE = __doc__
|
|
3289
|
+
|
|
3290
|
+
|
|
3291
|
+
class ReceiptEmpty(BadRequest):
|
|
3292
|
+
"""The specified receipt is empty."""
|
|
3293
|
+
ID = "RECEIPT_EMPTY"
|
|
3294
|
+
"""``str``: RPC Error ID"""
|
|
3295
|
+
MESSAGE = __doc__
|
|
3296
|
+
|
|
3297
|
+
|
|
3298
|
+
class ReflectorNotAvailable(BadRequest):
|
|
3299
|
+
"""The call reflector is not available."""
|
|
3300
|
+
ID = "REFLECTOR_NOT_AVAILABLE"
|
|
3301
|
+
"""``str``: RPC Error ID"""
|
|
3302
|
+
MESSAGE = __doc__
|
|
3303
|
+
|
|
3304
|
+
|
|
3305
|
+
class ReplyMarkupBuyEmpty(BadRequest):
|
|
3306
|
+
"""Reply markup for buy button empty."""
|
|
3307
|
+
ID = "REPLY_MARKUP_BUY_EMPTY"
|
|
3308
|
+
"""``str``: RPC Error ID"""
|
|
3309
|
+
MESSAGE = __doc__
|
|
3310
|
+
|
|
3311
|
+
|
|
3312
|
+
class ReplyMarkupGameEmpty(BadRequest):
|
|
3313
|
+
"""A game message is being edited, but the newly provided keyboard doesn't have a keyboardButtonGame button."""
|
|
3314
|
+
ID = "REPLY_MARKUP_GAME_EMPTY"
|
|
3315
|
+
"""``str``: RPC Error ID"""
|
|
3316
|
+
MESSAGE = __doc__
|
|
3317
|
+
|
|
3318
|
+
|
|
3319
|
+
class ReplyMarkupInvalid(BadRequest):
|
|
3320
|
+
"""The provided reply markup is invalid."""
|
|
3321
|
+
ID = "REPLY_MARKUP_INVALID"
|
|
3322
|
+
"""``str``: RPC Error ID"""
|
|
3323
|
+
MESSAGE = __doc__
|
|
3324
|
+
|
|
3325
|
+
|
|
3326
|
+
class ReplyMarkupTooLong(BadRequest):
|
|
3327
|
+
"""The specified reply markup is too long."""
|
|
3328
|
+
ID = "REPLY_MARKUP_TOO_LONG"
|
|
3329
|
+
"""``str``: RPC Error ID"""
|
|
3330
|
+
MESSAGE = __doc__
|
|
3331
|
+
|
|
3332
|
+
|
|
3333
|
+
class ReplyMessagesTooMuch(BadRequest):
|
|
3334
|
+
"""Each shortcut can contain a maximum of [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config#quick-reply-messages-limit) messages, the limit was reached."""
|
|
3335
|
+
ID = "REPLY_MESSAGES_TOO_MUCH"
|
|
3336
|
+
"""``str``: RPC Error ID"""
|
|
3337
|
+
MESSAGE = __doc__
|
|
3338
|
+
|
|
3339
|
+
|
|
3340
|
+
class ReplyMessageIdInvalid(BadRequest):
|
|
3341
|
+
"""The specified reply message id is invalid."""
|
|
3342
|
+
ID = "REPLY_MESSAGE_ID_INVALID"
|
|
3343
|
+
"""``str``: RPC Error ID"""
|
|
3344
|
+
MESSAGE = __doc__
|
|
3345
|
+
|
|
3346
|
+
|
|
3347
|
+
class ReplyToInvalid(BadRequest):
|
|
3348
|
+
"""The specified `reply_to` field is invalid."""
|
|
3349
|
+
ID = "REPLY_TO_INVALID"
|
|
3350
|
+
"""``str``: RPC Error ID"""
|
|
3351
|
+
MESSAGE = __doc__
|
|
3352
|
+
|
|
3353
|
+
|
|
3354
|
+
class ReplyToMonoforumPeerInvalid(BadRequest):
|
|
3355
|
+
"""The specified `reply_to` field is invalid."""
|
|
3356
|
+
ID = "REPLY_TO_MONOFORUM_PEER_INVALID"
|
|
3357
|
+
"""``str``: RPC Error ID"""
|
|
3358
|
+
MESSAGE = __doc__
|
|
3359
|
+
|
|
3360
|
+
|
|
3361
|
+
class ReplyToUserInvalid(BadRequest):
|
|
3362
|
+
"""The replied-to user is invalid."""
|
|
3363
|
+
ID = "REPLY_TO_USER_INVALID"
|
|
3364
|
+
"""``str``: RPC Error ID"""
|
|
3365
|
+
MESSAGE = __doc__
|
|
3366
|
+
|
|
3367
|
+
|
|
3368
|
+
class RequestTokenInvalid(BadRequest):
|
|
3369
|
+
"""The master DC did not accept the `request_token` from the CDN DC. Continue downloading the file from the master DC using upload.getFile."""
|
|
3370
|
+
ID = "REQUEST_TOKEN_INVALID"
|
|
3371
|
+
"""``str``: RPC Error ID"""
|
|
3372
|
+
MESSAGE = __doc__
|
|
3373
|
+
|
|
3374
|
+
|
|
3375
|
+
class ResetRequestMissing(BadRequest):
|
|
3376
|
+
"""No password reset is in progress."""
|
|
3377
|
+
ID = "RESET_REQUEST_MISSING"
|
|
3378
|
+
"""``str``: RPC Error ID"""
|
|
3379
|
+
MESSAGE = __doc__
|
|
3380
|
+
|
|
3381
|
+
|
|
3382
|
+
class ResultsTooMuch(BadRequest):
|
|
3383
|
+
"""The result contains too many items."""
|
|
3384
|
+
ID = "RESULTS_TOO_MUCH"
|
|
3385
|
+
"""``str``: RPC Error ID"""
|
|
3386
|
+
MESSAGE = __doc__
|
|
3387
|
+
|
|
3388
|
+
|
|
3389
|
+
class ResultIdDuplicate(BadRequest):
|
|
3390
|
+
"""The result contains items with duplicated identifiers."""
|
|
3391
|
+
ID = "RESULT_ID_DUPLICATE"
|
|
3392
|
+
"""``str``: RPC Error ID"""
|
|
3393
|
+
MESSAGE = __doc__
|
|
3394
|
+
|
|
3395
|
+
|
|
3396
|
+
class ResultIdEmpty(BadRequest):
|
|
3397
|
+
"""Result ID empty."""
|
|
3398
|
+
ID = "RESULT_ID_EMPTY"
|
|
3399
|
+
"""``str``: RPC Error ID"""
|
|
3400
|
+
MESSAGE = __doc__
|
|
3401
|
+
|
|
3402
|
+
|
|
3403
|
+
class ResultIdInvalid(BadRequest):
|
|
3404
|
+
"""The given result cannot be used to send the selection to the bot."""
|
|
3405
|
+
ID = "RESULT_ID_INVALID"
|
|
3406
|
+
"""``str``: RPC Error ID"""
|
|
3407
|
+
MESSAGE = __doc__
|
|
3408
|
+
|
|
3409
|
+
|
|
3410
|
+
class ResultTypeInvalid(BadRequest):
|
|
3411
|
+
"""The result type is invalid."""
|
|
3412
|
+
ID = "RESULT_TYPE_INVALID"
|
|
3413
|
+
"""``str``: RPC Error ID"""
|
|
3414
|
+
MESSAGE = __doc__
|
|
3415
|
+
|
|
3416
|
+
|
|
3417
|
+
class RevoteNotAllowed(BadRequest):
|
|
3418
|
+
"""You cannot change your vote."""
|
|
3419
|
+
ID = "REVOTE_NOT_ALLOWED"
|
|
3420
|
+
"""``str``: RPC Error ID"""
|
|
3421
|
+
MESSAGE = __doc__
|
|
3422
|
+
|
|
3423
|
+
|
|
3424
|
+
class RightsNotModified(BadRequest):
|
|
3425
|
+
"""The new admin rights are equal to the old rights, no change was made."""
|
|
3426
|
+
ID = "RIGHTS_NOT_MODIFIED"
|
|
3427
|
+
"""``str``: RPC Error ID"""
|
|
3428
|
+
MESSAGE = __doc__
|
|
3429
|
+
|
|
3430
|
+
|
|
3431
|
+
class RingtoneInvalid(BadRequest):
|
|
3432
|
+
"""The specified ringtone is invalid."""
|
|
3433
|
+
ID = "RINGTONE_INVALID"
|
|
3434
|
+
"""``str``: RPC Error ID"""
|
|
3435
|
+
MESSAGE = __doc__
|
|
3436
|
+
|
|
3437
|
+
|
|
3438
|
+
class RingtoneMimeInvalid(BadRequest):
|
|
3439
|
+
"""The MIME type for the ringtone is invalid."""
|
|
3440
|
+
ID = "RINGTONE_MIME_INVALID"
|
|
3441
|
+
"""``str``: RPC Error ID"""
|
|
3442
|
+
MESSAGE = __doc__
|
|
3443
|
+
|
|
3444
|
+
|
|
3445
|
+
class RsaDecryptFailed(BadRequest):
|
|
3446
|
+
"""Internal RSA decryption failed."""
|
|
3447
|
+
ID = "RSA_DECRYPT_FAILED"
|
|
3448
|
+
"""``str``: RPC Error ID"""
|
|
3449
|
+
MESSAGE = __doc__
|
|
3450
|
+
|
|
3451
|
+
|
|
3452
|
+
class SavedDialogsUnsupported(BadRequest):
|
|
3453
|
+
"""You cannot use this method."""
|
|
3454
|
+
ID = "SAVED_DIALOGS_UNSUPPORTED"
|
|
3455
|
+
"""``str``: RPC Error ID"""
|
|
3456
|
+
MESSAGE = __doc__
|
|
3457
|
+
|
|
3458
|
+
|
|
3459
|
+
class SavedIdEmpty(BadRequest):
|
|
3460
|
+
"""The passed inputSavedStarGiftChat.saved_id is empty."""
|
|
3461
|
+
ID = "SAVED_ID_EMPTY"
|
|
3462
|
+
"""``str``: RPC Error ID"""
|
|
3463
|
+
MESSAGE = __doc__
|
|
3464
|
+
|
|
3465
|
+
|
|
3466
|
+
class SavedPeerInvalid(BadRequest):
|
|
3467
|
+
"""The saved peer is invalid."""
|
|
3468
|
+
ID = "SAVED_PEER_INVALID"
|
|
3469
|
+
"""``str``: RPC Error ID"""
|
|
3470
|
+
MESSAGE = __doc__
|
|
3471
|
+
|
|
3472
|
+
|
|
3473
|
+
class ScheduleBotNotAllowed(BadRequest):
|
|
3474
|
+
"""Bots are not allowed to schedule messages."""
|
|
3475
|
+
ID = "SCHEDULE_BOT_NOT_ALLOWED"
|
|
3476
|
+
"""``str``: RPC Error ID"""
|
|
3477
|
+
MESSAGE = __doc__
|
|
3478
|
+
|
|
3479
|
+
|
|
3480
|
+
class ScheduleDateInvalid(BadRequest):
|
|
3481
|
+
"""Invalid schedule date provided."""
|
|
3482
|
+
ID = "SCHEDULE_DATE_INVALID"
|
|
3483
|
+
"""``str``: RPC Error ID"""
|
|
3484
|
+
MESSAGE = __doc__
|
|
3485
|
+
|
|
3486
|
+
|
|
3487
|
+
class ScheduleDateTooLate(BadRequest):
|
|
3488
|
+
"""The date you tried to schedule is too far in the future (more than one year)."""
|
|
3489
|
+
ID = "SCHEDULE_DATE_TOO_LATE"
|
|
3490
|
+
"""``str``: RPC Error ID"""
|
|
3491
|
+
MESSAGE = __doc__
|
|
3492
|
+
|
|
3493
|
+
|
|
3494
|
+
class ScheduleStatusPrivate(BadRequest):
|
|
3495
|
+
"""You cannot schedule a message until the person comes online if their privacy does not show this information."""
|
|
3496
|
+
ID = "SCHEDULE_STATUS_PRIVATE"
|
|
3497
|
+
"""``str``: RPC Error ID"""
|
|
3498
|
+
MESSAGE = __doc__
|
|
3499
|
+
|
|
3500
|
+
|
|
3501
|
+
class ScheduleTooMuch(BadRequest):
|
|
3502
|
+
"""You tried to schedule too many messages in this chat."""
|
|
3503
|
+
ID = "SCHEDULE_TOO_MUCH"
|
|
3504
|
+
"""``str``: RPC Error ID"""
|
|
3505
|
+
MESSAGE = __doc__
|
|
3506
|
+
|
|
3507
|
+
|
|
3508
|
+
class ScoreInvalid(BadRequest):
|
|
3509
|
+
"""The specified game score is invalid."""
|
|
3510
|
+
ID = "SCORE_INVALID"
|
|
3511
|
+
"""``str``: RPC Error ID"""
|
|
3512
|
+
MESSAGE = __doc__
|
|
3513
|
+
|
|
3514
|
+
|
|
3515
|
+
class SearchQueryEmpty(BadRequest):
|
|
3516
|
+
"""The search query is empty."""
|
|
3517
|
+
ID = "SEARCH_QUERY_EMPTY"
|
|
3518
|
+
"""``str``: RPC Error ID"""
|
|
3519
|
+
MESSAGE = __doc__
|
|
3520
|
+
|
|
3521
|
+
|
|
3522
|
+
class SearchWithLinkNotSupported(BadRequest):
|
|
3523
|
+
"""You cannot provide a search query and an invite link at the same time."""
|
|
3524
|
+
ID = "SEARCH_WITH_LINK_NOT_SUPPORTED"
|
|
3525
|
+
"""``str``: RPC Error ID"""
|
|
3526
|
+
MESSAGE = __doc__
|
|
3527
|
+
|
|
3528
|
+
|
|
3529
|
+
class SecondsInvalid(BadRequest):
|
|
3530
|
+
"""The seconds interval is invalid."""
|
|
3531
|
+
ID = "SECONDS_INVALID"
|
|
3532
|
+
"""``str``: RPC Error ID"""
|
|
3533
|
+
MESSAGE = __doc__
|
|
3534
|
+
|
|
3535
|
+
|
|
3536
|
+
class SecureSecretRequired(BadRequest):
|
|
3537
|
+
"""A secure secret is required."""
|
|
3538
|
+
ID = "SECURE_SECRET_REQUIRED"
|
|
3539
|
+
"""``str``: RPC Error ID"""
|
|
3540
|
+
MESSAGE = __doc__
|
|
3541
|
+
|
|
3542
|
+
|
|
3543
|
+
class SelfDeleteRestricted(BadRequest):
|
|
3544
|
+
"""Business bots can't delete messages just for the user, `revoke` **must** be set."""
|
|
3545
|
+
ID = "SELF_DELETE_RESTRICTED"
|
|
3546
|
+
"""``str``: RPC Error ID"""
|
|
3547
|
+
MESSAGE = __doc__
|
|
3548
|
+
|
|
3549
|
+
|
|
3550
|
+
class SendAsPeerInvalid(BadRequest):
|
|
3551
|
+
"""You can't send messages as the specified peer."""
|
|
3552
|
+
ID = "SEND_AS_PEER_INVALID"
|
|
3553
|
+
"""``str``: RPC Error ID"""
|
|
3554
|
+
MESSAGE = __doc__
|
|
3555
|
+
|
|
3556
|
+
|
|
3557
|
+
class SendMessageGameInvalid(BadRequest):
|
|
3558
|
+
"""An inputBotInlineMessageGame can only be contained in an inputBotInlineResultGame, not in an inputBotInlineResult/inputBotInlineResultPhoto/etc."""
|
|
3559
|
+
ID = "SEND_MESSAGE_GAME_INVALID"
|
|
3560
|
+
"""``str``: RPC Error ID"""
|
|
3561
|
+
MESSAGE = __doc__
|
|
3562
|
+
|
|
3563
|
+
|
|
3564
|
+
class SendMessageMediaInvalid(BadRequest):
|
|
3565
|
+
"""The message media is invalid."""
|
|
3566
|
+
ID = "SEND_MESSAGE_MEDIA_INVALID"
|
|
3567
|
+
"""``str``: RPC Error ID"""
|
|
3568
|
+
MESSAGE = __doc__
|
|
3569
|
+
|
|
3570
|
+
|
|
3571
|
+
class SendMessageTypeInvalid(BadRequest):
|
|
3572
|
+
"""The message type is invalid."""
|
|
3573
|
+
ID = "SEND_MESSAGE_TYPE_INVALID"
|
|
3574
|
+
"""``str``: RPC Error ID"""
|
|
3575
|
+
MESSAGE = __doc__
|
|
3576
|
+
|
|
3577
|
+
|
|
3578
|
+
class SessionTooFresh(BadRequest):
|
|
3579
|
+
"""This session was created less than 24 hours ago, try again in {value} seconds."""
|
|
3580
|
+
ID = "SESSION_TOO_FRESH_X"
|
|
3581
|
+
"""``str``: RPC Error ID"""
|
|
3582
|
+
MESSAGE = __doc__
|
|
3583
|
+
|
|
3584
|
+
|
|
3585
|
+
class SettingsInvalid(BadRequest):
|
|
3586
|
+
"""Invalid settings were provided."""
|
|
3587
|
+
ID = "SETTINGS_INVALID"
|
|
3588
|
+
"""``str``: RPC Error ID"""
|
|
3589
|
+
MESSAGE = __doc__
|
|
3590
|
+
|
|
3591
|
+
|
|
3592
|
+
class Sha256HashInvalid(BadRequest):
|
|
3593
|
+
"""The provided SHA256 hash is invalid."""
|
|
3594
|
+
ID = "SHA256_HASH_INVALID"
|
|
3595
|
+
"""``str``: RPC Error ID"""
|
|
3596
|
+
MESSAGE = __doc__
|
|
3597
|
+
|
|
3598
|
+
|
|
3599
|
+
class ShortcutInvalid(BadRequest):
|
|
3600
|
+
"""The specified shortcut is invalid."""
|
|
3601
|
+
ID = "SHORTCUT_INVALID"
|
|
3602
|
+
"""``str``: RPC Error ID"""
|
|
3603
|
+
MESSAGE = __doc__
|
|
3604
|
+
|
|
3605
|
+
|
|
3606
|
+
class ShortnameOccupyFailed(BadRequest):
|
|
3607
|
+
"""An error occurred when trying to register the short-name used for the sticker pack. Try a different name."""
|
|
3608
|
+
ID = "SHORTNAME_OCCUPY_FAILED"
|
|
3609
|
+
"""``str``: RPC Error ID"""
|
|
3610
|
+
MESSAGE = __doc__
|
|
3611
|
+
|
|
3612
|
+
|
|
3613
|
+
class ShortNameInvalid(BadRequest):
|
|
3614
|
+
"""The specified short name is invalid."""
|
|
3615
|
+
ID = "SHORT_NAME_INVALID"
|
|
3616
|
+
"""``str``: RPC Error ID"""
|
|
3617
|
+
MESSAGE = __doc__
|
|
3618
|
+
|
|
3619
|
+
|
|
3620
|
+
class ShortNameOccupied(BadRequest):
|
|
3621
|
+
"""The specified short name is already in use."""
|
|
3622
|
+
ID = "SHORT_NAME_OCCUPIED"
|
|
3623
|
+
"""``str``: RPC Error ID"""
|
|
3624
|
+
MESSAGE = __doc__
|
|
3625
|
+
|
|
3626
|
+
|
|
3627
|
+
class SlotsEmpty(BadRequest):
|
|
3628
|
+
"""The specified slot list is empty."""
|
|
3629
|
+
ID = "SLOTS_EMPTY"
|
|
3630
|
+
"""``str``: RPC Error ID"""
|
|
3631
|
+
MESSAGE = __doc__
|
|
3632
|
+
|
|
3633
|
+
|
|
3634
|
+
class SlowmodeMultiMsgsDisabled(BadRequest):
|
|
3635
|
+
"""Slowmode is enabled, you cannot forward multiple messages to this group."""
|
|
3636
|
+
ID = "SLOWMODE_MULTI_MSGS_DISABLED"
|
|
3637
|
+
"""``str``: RPC Error ID"""
|
|
3638
|
+
MESSAGE = __doc__
|
|
3639
|
+
|
|
3640
|
+
|
|
3641
|
+
class SlugInvalid(BadRequest):
|
|
3642
|
+
"""The specified invoice slug is invalid."""
|
|
3643
|
+
ID = "SLUG_INVALID"
|
|
3644
|
+
"""``str``: RPC Error ID"""
|
|
3645
|
+
MESSAGE = __doc__
|
|
3646
|
+
|
|
3647
|
+
|
|
3648
|
+
class SmsjobIdInvalid(BadRequest):
|
|
3649
|
+
"""The specified job ID is invalid."""
|
|
3650
|
+
ID = "SMSJOB_ID_INVALID"
|
|
3651
|
+
"""``str``: RPC Error ID"""
|
|
3652
|
+
MESSAGE = __doc__
|
|
3653
|
+
|
|
3654
|
+
|
|
3655
|
+
class SmsCodeCreateFailed(BadRequest):
|
|
3656
|
+
"""An error occurred while creating the SMS code."""
|
|
3657
|
+
ID = "SMS_CODE_CREATE_FAILED"
|
|
3658
|
+
"""``str``: RPC Error ID"""
|
|
3659
|
+
MESSAGE = __doc__
|
|
3660
|
+
|
|
3661
|
+
|
|
3662
|
+
class SolutionMediaEmpty(BadRequest):
|
|
3663
|
+
"""The solution_media is empty."""
|
|
3664
|
+
ID = "SOLUTION_MEDIA_EMPTY"
|
|
3665
|
+
"""``str``: RPC Error ID"""
|
|
3666
|
+
MESSAGE = __doc__
|
|
3667
|
+
|
|
3668
|
+
|
|
3669
|
+
class SolutionMediaTypeInvalid(BadRequest):
|
|
3670
|
+
"""The solution_media is invalid."""
|
|
3671
|
+
ID = "SOLUTION_MEDIA_TYPE_INVALID"
|
|
3672
|
+
"""``str``: RPC Error ID"""
|
|
3673
|
+
MESSAGE = __doc__
|
|
3674
|
+
|
|
3675
|
+
|
|
3676
|
+
class SrpAInvalid(BadRequest):
|
|
3677
|
+
"""The specified inputCheckPasswordSRP.A value is invalid."""
|
|
3678
|
+
ID = "SRP_A_INVALID"
|
|
3679
|
+
"""``str``: RPC Error ID"""
|
|
3680
|
+
MESSAGE = __doc__
|
|
3681
|
+
|
|
3682
|
+
|
|
3683
|
+
class SrpIdInvalid(BadRequest):
|
|
3684
|
+
"""Invalid SRP ID provided."""
|
|
3685
|
+
ID = "SRP_ID_INVALID"
|
|
3686
|
+
"""``str``: RPC Error ID"""
|
|
3687
|
+
MESSAGE = __doc__
|
|
3688
|
+
|
|
3689
|
+
|
|
3690
|
+
class SrpPasswordChanged(BadRequest):
|
|
3691
|
+
"""The password has changed."""
|
|
3692
|
+
ID = "SRP_PASSWORD_CHANGED"
|
|
3693
|
+
"""``str``: RPC Error ID"""
|
|
3694
|
+
MESSAGE = __doc__
|
|
3695
|
+
|
|
3696
|
+
|
|
3697
|
+
class StargiftAlreadyBurned(BadRequest):
|
|
3698
|
+
"""The provided gift is already burned."""
|
|
3699
|
+
ID = "STARGIFT_ALREADY_BURNED"
|
|
3700
|
+
"""``str``: RPC Error ID"""
|
|
3701
|
+
MESSAGE = __doc__
|
|
3702
|
+
|
|
3703
|
+
|
|
3704
|
+
class StargiftAlreadyConverted(BadRequest):
|
|
3705
|
+
"""The provided star gift already converted to stars."""
|
|
3706
|
+
ID = "STARGIFT_ALREADY_CONVERTED"
|
|
3707
|
+
"""``str``: RPC Error ID"""
|
|
3708
|
+
MESSAGE = __doc__
|
|
3709
|
+
|
|
3710
|
+
|
|
3711
|
+
class StargiftAlreadyRefunded(BadRequest):
|
|
3712
|
+
"""The specified star gift was already refunded."""
|
|
3713
|
+
ID = "STARGIFT_ALREADY_REFUNDED"
|
|
3714
|
+
"""``str``: RPC Error ID"""
|
|
3715
|
+
MESSAGE = __doc__
|
|
3716
|
+
|
|
3717
|
+
|
|
3718
|
+
class StargiftAlreadyTransferred(BadRequest):
|
|
3719
|
+
"""The provided star gift is already transferred."""
|
|
3720
|
+
ID = "STARGIFT_ALREADY_TRANSFERRED"
|
|
3721
|
+
"""``str``: RPC Error ID"""
|
|
3722
|
+
MESSAGE = __doc__
|
|
3723
|
+
|
|
3724
|
+
|
|
3725
|
+
class StargiftAlreadyUpgraded(BadRequest):
|
|
3726
|
+
"""This star gift was already upgraded before."""
|
|
3727
|
+
ID = "STARGIFT_ALREADY_UPGRADED"
|
|
3728
|
+
"""``str``: RPC Error ID"""
|
|
3729
|
+
MESSAGE = __doc__
|
|
3730
|
+
|
|
3731
|
+
|
|
3732
|
+
class StargiftAttributeInvalid(BadRequest):
|
|
3733
|
+
"""The provided gift attribute is invalid."""
|
|
3734
|
+
ID = "STARGIFT_ATTRIBUTE_INVALID"
|
|
3735
|
+
"""``str``: RPC Error ID"""
|
|
3736
|
+
MESSAGE = __doc__
|
|
3737
|
+
|
|
3738
|
+
|
|
3739
|
+
class StargiftConvertTooOld(BadRequest):
|
|
3740
|
+
"""This gift can no longer be converted into stars."""
|
|
3741
|
+
ID = "STARGIFT_CONVERT_TOO_OLD"
|
|
3742
|
+
"""``str``: RPC Error ID"""
|
|
3743
|
+
MESSAGE = __doc__
|
|
3744
|
+
|
|
3745
|
+
|
|
3746
|
+
class StargiftExportUnavailable(BadRequest):
|
|
3747
|
+
"""This gift is not available for export yet."""
|
|
3748
|
+
ID = "STARGIFT_EXPORT_UNAVAILABLE"
|
|
3749
|
+
"""``str``: RPC Error ID"""
|
|
3750
|
+
MESSAGE = __doc__
|
|
3751
|
+
|
|
3752
|
+
|
|
3753
|
+
class StargiftInvalid(BadRequest):
|
|
3754
|
+
"""The passed [inputInvoiceStarGift](https://core.telegram.org/constructor/inputInvoiceStarGift) is invalid."""
|
|
3755
|
+
ID = "STARGIFT_INVALID"
|
|
3756
|
+
"""``str``: RPC Error ID"""
|
|
3757
|
+
MESSAGE = __doc__
|
|
3758
|
+
|
|
3759
|
+
|
|
3760
|
+
class StargiftMessageInvalid(BadRequest):
|
|
3761
|
+
"""The provided message for this gift is invalid."""
|
|
3762
|
+
ID = "STARGIFT_MESSAGE_INVALID"
|
|
3763
|
+
"""``str``: RPC Error ID"""
|
|
3764
|
+
MESSAGE = __doc__
|
|
3765
|
+
|
|
3766
|
+
|
|
3767
|
+
class StargiftNotFound(BadRequest):
|
|
3768
|
+
"""The specified star gift was not found."""
|
|
3769
|
+
ID = "STARGIFT_NOT_FOUND"
|
|
3770
|
+
"""``str``: RPC Error ID"""
|
|
3771
|
+
MESSAGE = __doc__
|
|
3772
|
+
|
|
3773
|
+
|
|
3774
|
+
class StargiftNotOwner(BadRequest):
|
|
3775
|
+
"""You can't control this gift because it doesn't belong to you."""
|
|
3776
|
+
ID = "STARGIFT_NOT_OWNER"
|
|
3777
|
+
"""``str``: RPC Error ID"""
|
|
3778
|
+
MESSAGE = __doc__
|
|
3779
|
+
|
|
3780
|
+
|
|
3781
|
+
class StargiftOwnerInvalid(BadRequest):
|
|
3782
|
+
"""The specified gift owner is invalid."""
|
|
3783
|
+
ID = "STARGIFT_OWNER_INVALID"
|
|
3784
|
+
"""``str``: RPC Error ID"""
|
|
3785
|
+
MESSAGE = __doc__
|
|
3786
|
+
|
|
3787
|
+
|
|
3788
|
+
class StargiftPeerInvalid(BadRequest):
|
|
3789
|
+
"""The specified inputSavedStarGiftChat.peer is invalid."""
|
|
3790
|
+
ID = "STARGIFT_PEER_INVALID"
|
|
3791
|
+
"""``str``: RPC Error ID"""
|
|
3792
|
+
MESSAGE = __doc__
|
|
3793
|
+
|
|
3794
|
+
|
|
3795
|
+
class StargiftResellCurrencyNotAllowed(BadRequest):
|
|
3796
|
+
"""The currency provided for gift resell is not allowed."""
|
|
3797
|
+
ID = "STARGIFT_RESELL_CURRENCY_NOT_ALLOWED"
|
|
3798
|
+
"""``str``: RPC Error ID"""
|
|
3799
|
+
MESSAGE = __doc__
|
|
3800
|
+
|
|
3801
|
+
|
|
3802
|
+
class StargiftResellNotAllowed(BadRequest):
|
|
3803
|
+
"""You can't buy this gift. Someone else may have already bought it or this gift is not for sale."""
|
|
3804
|
+
ID = "STARGIFT_RESELL_NOT_ALLOWED"
|
|
3805
|
+
"""``str``: RPC Error ID"""
|
|
3806
|
+
MESSAGE = __doc__
|
|
3807
|
+
|
|
3808
|
+
|
|
3809
|
+
class StargiftResellTooEarly(BadRequest):
|
|
3810
|
+
"""A wait of {value} seconds is required to resell this gift."""
|
|
3811
|
+
ID = "STARGIFT_RESELL_TOO_EARLY_X"
|
|
3812
|
+
"""``str``: RPC Error ID"""
|
|
3813
|
+
MESSAGE = __doc__
|
|
3814
|
+
|
|
3815
|
+
|
|
3816
|
+
class StargiftSlugInvalid(BadRequest):
|
|
3817
|
+
"""The provided star gift slug is invalid (must match the format CollectionName-123)."""
|
|
3818
|
+
ID = "STARGIFT_SLUG_INVALID"
|
|
3819
|
+
"""``str``: RPC Error ID"""
|
|
3820
|
+
MESSAGE = __doc__
|
|
3821
|
+
|
|
3822
|
+
|
|
3823
|
+
class StargiftTransferTooEarly(BadRequest):
|
|
3824
|
+
"""A wait of {value} seconds is required to transfer this gift."""
|
|
3825
|
+
ID = "STARGIFT_TRANSFER_TOO_EARLY_X"
|
|
3826
|
+
"""``str``: RPC Error ID"""
|
|
3827
|
+
MESSAGE = __doc__
|
|
3828
|
+
|
|
3829
|
+
|
|
3830
|
+
class StargiftUpgradeUnavailable(BadRequest):
|
|
3831
|
+
"""Gift is not available for upgrade yet."""
|
|
3832
|
+
ID = "STARGIFT_UPGRADE_UNAVAILABLE"
|
|
3833
|
+
"""``str``: RPC Error ID"""
|
|
3834
|
+
MESSAGE = __doc__
|
|
3835
|
+
|
|
3836
|
+
|
|
3837
|
+
class StargiftUsageLimited(BadRequest):
|
|
3838
|
+
"""The gift is sold out."""
|
|
3839
|
+
ID = "STARGIFT_USAGE_LIMITED"
|
|
3840
|
+
"""``str``: RPC Error ID"""
|
|
3841
|
+
MESSAGE = __doc__
|
|
3842
|
+
|
|
3843
|
+
|
|
3844
|
+
class StargiftUserUsageLimited(BadRequest):
|
|
3845
|
+
"""You've reached the starGift.limited_per_user limit, you can't buy any more gifts of this type."""
|
|
3846
|
+
ID = "STARGIFT_USER_USAGE_LIMITED"
|
|
3847
|
+
"""``str``: RPC Error ID"""
|
|
3848
|
+
MESSAGE = __doc__
|
|
3849
|
+
|
|
3850
|
+
|
|
3851
|
+
class StarrefAwaitingEnd(BadRequest):
|
|
3852
|
+
"""The previous referral program was terminated less than 24 hours ago: further changes can be made after the date specified in userFull.starref_program.end_date."""
|
|
3853
|
+
ID = "STARREF_AWAITING_END"
|
|
3854
|
+
"""``str``: RPC Error ID"""
|
|
3855
|
+
MESSAGE = __doc__
|
|
3856
|
+
|
|
3857
|
+
|
|
3858
|
+
class StarrefExpired(BadRequest):
|
|
3859
|
+
"""The specified referral link is expired."""
|
|
3860
|
+
ID = "STARREF_EXPIRED"
|
|
3861
|
+
"""``str``: RPC Error ID"""
|
|
3862
|
+
MESSAGE = __doc__
|
|
3863
|
+
|
|
3864
|
+
|
|
3865
|
+
class StarrefHashRevoked(BadRequest):
|
|
3866
|
+
"""The specified affiliate link was already revoked."""
|
|
3867
|
+
ID = "STARREF_HASH_REVOKED"
|
|
3868
|
+
"""``str``: RPC Error ID"""
|
|
3869
|
+
MESSAGE = __doc__
|
|
3870
|
+
|
|
3871
|
+
|
|
3872
|
+
class StarrefMonthsTooLow(BadRequest):
|
|
3873
|
+
"""The `duration_months` parameter must be between 0 and 36."""
|
|
3874
|
+
ID = "STARREF_MONTHS_TOO_LOW"
|
|
3875
|
+
"""``str``: RPC Error ID"""
|
|
3876
|
+
MESSAGE = __doc__
|
|
3877
|
+
|
|
3878
|
+
|
|
3879
|
+
class StarrefPermilleInvalid(BadRequest):
|
|
3880
|
+
"""The specified commission_permille is invalid: the minimum and maximum values for this parameter are contained in the [starref_min_commission_permille](https://core.telegram.org/api/config#starref-min-commission-permille) and [starref_max_commission_permille](https://core.telegram.org/api/config#starref-max-commission-permille) client configuration parameters."""
|
|
3881
|
+
ID = "STARREF_PERMILLE_INVALID"
|
|
3882
|
+
"""``str``: RPC Error ID"""
|
|
3883
|
+
MESSAGE = __doc__
|
|
3884
|
+
|
|
3885
|
+
|
|
3886
|
+
class StarrefPermilleTooLow(BadRequest):
|
|
3887
|
+
"""The specified commission_permille is too low: the minimum and maximum values for this parameter are contained in the [starref_min_commission_permille](https://core.telegram.org/api/config#starref-min-commission-permille) and [starref_max_commission_permille](https://core.telegram.org/api/config#starref-max-commission-permille) client configuration parameters."""
|
|
3888
|
+
ID = "STARREF_PERMILLE_TOO_LOW"
|
|
3889
|
+
"""``str``: RPC Error ID"""
|
|
3890
|
+
MESSAGE = __doc__
|
|
3891
|
+
|
|
3892
|
+
|
|
3893
|
+
class StarsAmountInvalid(BadRequest):
|
|
3894
|
+
"""The specified `paid_stars` amount is invalid."""
|
|
3895
|
+
ID = "STARS_AMOUNT_INVALID"
|
|
3896
|
+
"""``str``: RPC Error ID"""
|
|
3897
|
+
MESSAGE = __doc__
|
|
3898
|
+
|
|
3899
|
+
|
|
3900
|
+
class StarsFormAmountMismatch(BadRequest):
|
|
3901
|
+
"""The stars form amount mismatch."""
|
|
3902
|
+
ID = "STARS_FORM_AMOUNT_MISMATCH"
|
|
3903
|
+
"""``str``: RPC Error ID"""
|
|
3904
|
+
MESSAGE = __doc__
|
|
3905
|
+
|
|
3906
|
+
|
|
3907
|
+
class StarsInvoiceInvalid(BadRequest):
|
|
3908
|
+
"""The specified Telegram Star invoice is invalid."""
|
|
3909
|
+
ID = "STARS_INVOICE_INVALID"
|
|
3910
|
+
"""``str``: RPC Error ID"""
|
|
3911
|
+
MESSAGE = __doc__
|
|
3912
|
+
|
|
3913
|
+
|
|
3914
|
+
class StarsPaymentRequired(BadRequest):
|
|
3915
|
+
"""To import this chat invite link, you must first [pay for the associated Telegram Star subscription »](https://core.telegram.org/api/subscriptions#channel-subscriptions)."""
|
|
3916
|
+
ID = "STARS_PAYMENT_REQUIRED"
|
|
3917
|
+
"""``str``: RPC Error ID"""
|
|
3918
|
+
MESSAGE = __doc__
|
|
3919
|
+
|
|
3920
|
+
|
|
3921
|
+
class StartParamEmpty(BadRequest):
|
|
3922
|
+
"""The start parameter is empty."""
|
|
3923
|
+
ID = "START_PARAM_EMPTY"
|
|
3924
|
+
"""``str``: RPC Error ID"""
|
|
3925
|
+
MESSAGE = __doc__
|
|
3926
|
+
|
|
3927
|
+
|
|
3928
|
+
class StartParamInvalid(BadRequest):
|
|
3929
|
+
"""The start parameter invalid."""
|
|
3930
|
+
ID = "START_PARAM_INVALID"
|
|
3931
|
+
"""``str``: RPC Error ID"""
|
|
3932
|
+
MESSAGE = __doc__
|
|
3933
|
+
|
|
3934
|
+
|
|
3935
|
+
class StartParamTooLong(BadRequest):
|
|
3936
|
+
"""The start parameter is too long."""
|
|
3937
|
+
ID = "START_PARAM_TOO_LONG"
|
|
3938
|
+
"""``str``: RPC Error ID"""
|
|
3939
|
+
MESSAGE = __doc__
|
|
3940
|
+
|
|
3941
|
+
|
|
3942
|
+
class StickerpackStickersTooMuch(BadRequest):
|
|
3943
|
+
"""There are too many stickers in this stickerpack, you can't add any more."""
|
|
3944
|
+
ID = "STICKERPACK_STICKERS_TOO_MUCH"
|
|
3945
|
+
"""``str``: RPC Error ID"""
|
|
3946
|
+
MESSAGE = __doc__
|
|
3947
|
+
|
|
3948
|
+
|
|
3949
|
+
class StickersetInvalid(BadRequest):
|
|
3950
|
+
"""The requested sticker set is invalid."""
|
|
3951
|
+
ID = "STICKERSET_INVALID"
|
|
3952
|
+
"""``str``: RPC Error ID"""
|
|
3953
|
+
MESSAGE = __doc__
|
|
3954
|
+
|
|
3955
|
+
|
|
3956
|
+
class StickersetNotModified(BadRequest):
|
|
3957
|
+
"""TThe sticker set is not modified."""
|
|
3958
|
+
ID = "STICKERSET_NOT_MODIFIED"
|
|
3959
|
+
"""``str``: RPC Error ID"""
|
|
3960
|
+
MESSAGE = __doc__
|
|
3961
|
+
|
|
3962
|
+
|
|
3963
|
+
class StickersEmpty(BadRequest):
|
|
3964
|
+
"""No sticker provided."""
|
|
3965
|
+
ID = "STICKERS_EMPTY"
|
|
3966
|
+
"""``str``: RPC Error ID"""
|
|
3967
|
+
MESSAGE = __doc__
|
|
3968
|
+
|
|
3969
|
+
|
|
3970
|
+
class StickersTooMuch(BadRequest):
|
|
3971
|
+
"""There are too many stickers in this stickerpack, you can't add any more."""
|
|
3972
|
+
ID = "STICKERS_TOO_MUCH"
|
|
3973
|
+
"""``str``: RPC Error ID"""
|
|
3974
|
+
MESSAGE = __doc__
|
|
3975
|
+
|
|
3976
|
+
|
|
3977
|
+
class StickerDocumentInvalid(BadRequest):
|
|
3978
|
+
"""The specified sticker document is invalid."""
|
|
3979
|
+
ID = "STICKER_DOCUMENT_INVALID"
|
|
3980
|
+
"""``str``: RPC Error ID"""
|
|
3981
|
+
MESSAGE = __doc__
|
|
3982
|
+
|
|
3983
|
+
|
|
3984
|
+
class StickerEmojiInvalid(BadRequest):
|
|
3985
|
+
"""Sticker emoji invalid."""
|
|
3986
|
+
ID = "STICKER_EMOJI_INVALID"
|
|
3987
|
+
"""``str``: RPC Error ID"""
|
|
3988
|
+
MESSAGE = __doc__
|
|
3989
|
+
|
|
3990
|
+
|
|
3991
|
+
class StickerFileInvalid(BadRequest):
|
|
3992
|
+
"""Sticker file invalid."""
|
|
3993
|
+
ID = "STICKER_FILE_INVALID"
|
|
3994
|
+
"""``str``: RPC Error ID"""
|
|
3995
|
+
MESSAGE = __doc__
|
|
3996
|
+
|
|
3997
|
+
|
|
3998
|
+
class StickerGifDimensions(BadRequest):
|
|
3999
|
+
"""The specified video sticker has invalid dimensions."""
|
|
4000
|
+
ID = "STICKER_GIF_DIMENSIONS"
|
|
4001
|
+
"""``str``: RPC Error ID"""
|
|
4002
|
+
MESSAGE = __doc__
|
|
4003
|
+
|
|
4004
|
+
|
|
4005
|
+
class StickerIdInvalid(BadRequest):
|
|
4006
|
+
"""The provided sticker ID is invalid."""
|
|
4007
|
+
ID = "STICKER_ID_INVALID"
|
|
4008
|
+
"""``str``: RPC Error ID"""
|
|
4009
|
+
MESSAGE = __doc__
|
|
4010
|
+
|
|
4011
|
+
|
|
4012
|
+
class StickerInvalid(BadRequest):
|
|
4013
|
+
"""The provided sticker is invalid."""
|
|
4014
|
+
ID = "STICKER_INVALID"
|
|
4015
|
+
"""``str``: RPC Error ID"""
|
|
4016
|
+
MESSAGE = __doc__
|
|
4017
|
+
|
|
4018
|
+
|
|
4019
|
+
class StickerMimeInvalid(BadRequest):
|
|
4020
|
+
"""The specified sticker MIME type is invalid. Make sure to pass a valid image file for the right InputFile parameter."""
|
|
4021
|
+
ID = "STICKER_MIME_INVALID"
|
|
4022
|
+
"""``str``: RPC Error ID"""
|
|
4023
|
+
MESSAGE = __doc__
|
|
4024
|
+
|
|
4025
|
+
|
|
4026
|
+
class StickerPngDimensions(BadRequest):
|
|
4027
|
+
"""SThe sticker png dimensions are invalid."""
|
|
4028
|
+
ID = "STICKER_PNG_DIMENSIONS"
|
|
4029
|
+
"""``str``: RPC Error ID"""
|
|
4030
|
+
MESSAGE = __doc__
|
|
4031
|
+
|
|
4032
|
+
|
|
4033
|
+
class StickerPngNopng(BadRequest):
|
|
4034
|
+
"""Stickers must be png files but the provided image was not a png."""
|
|
4035
|
+
ID = "STICKER_PNG_NOPNG"
|
|
4036
|
+
"""``str``: RPC Error ID"""
|
|
4037
|
+
MESSAGE = __doc__
|
|
4038
|
+
|
|
4039
|
+
|
|
4040
|
+
class StickerTgsNodoc(BadRequest):
|
|
4041
|
+
"""You must send the animated sticker as a document."""
|
|
4042
|
+
ID = "STICKER_TGS_NODOC"
|
|
4043
|
+
"""``str``: RPC Error ID"""
|
|
4044
|
+
MESSAGE = __doc__
|
|
4045
|
+
|
|
4046
|
+
|
|
4047
|
+
class StickerTgsNotgs(BadRequest):
|
|
4048
|
+
"""A tgs sticker file was expected, but something else was provided."""
|
|
4049
|
+
ID = "STICKER_TGS_NOTGS"
|
|
4050
|
+
"""``str``: RPC Error ID"""
|
|
4051
|
+
MESSAGE = __doc__
|
|
4052
|
+
|
|
4053
|
+
|
|
4054
|
+
class StickerThumbPngNopng(BadRequest):
|
|
4055
|
+
"""IA png sticker thumbnail file was expected, but something else was provided."""
|
|
4056
|
+
ID = "STICKER_THUMB_PNG_NOPNG"
|
|
4057
|
+
"""``str``: RPC Error ID"""
|
|
4058
|
+
MESSAGE = __doc__
|
|
4059
|
+
|
|
4060
|
+
|
|
4061
|
+
class StickerThumbTgsNotgs(BadRequest):
|
|
4062
|
+
"""Incorrect stickerset TGS thumb file provided."""
|
|
4063
|
+
ID = "STICKER_THUMB_TGS_NOTGS"
|
|
4064
|
+
"""``str``: RPC Error ID"""
|
|
4065
|
+
MESSAGE = __doc__
|
|
4066
|
+
|
|
4067
|
+
|
|
4068
|
+
class StickerVideoBig(BadRequest):
|
|
4069
|
+
"""The specified video sticker is too big."""
|
|
4070
|
+
ID = "STICKER_VIDEO_BIG"
|
|
4071
|
+
"""``str``: RPC Error ID"""
|
|
4072
|
+
MESSAGE = __doc__
|
|
4073
|
+
|
|
4074
|
+
|
|
4075
|
+
class StickerVideoNodoc(BadRequest):
|
|
4076
|
+
"""You must send the video sticker as a document."""
|
|
4077
|
+
ID = "STICKER_VIDEO_NODOC"
|
|
4078
|
+
"""``str``: RPC Error ID"""
|
|
4079
|
+
MESSAGE = __doc__
|
|
4080
|
+
|
|
4081
|
+
|
|
4082
|
+
class StickerVideoNowebm(BadRequest):
|
|
4083
|
+
"""A webm video file was expected, but something else was provided."""
|
|
4084
|
+
ID = "STICKER_VIDEO_NOWEBM"
|
|
4085
|
+
"""``str``: RPC Error ID"""
|
|
4086
|
+
MESSAGE = __doc__
|
|
4087
|
+
|
|
4088
|
+
|
|
4089
|
+
class StorageKeyRequired(BadRequest):
|
|
4090
|
+
"""A cloud storage key is required."""
|
|
4091
|
+
ID = "STORAGE_KEY_REQUIRED"
|
|
4092
|
+
"""``str``: RPC Error ID"""
|
|
4093
|
+
MESSAGE = __doc__
|
|
4094
|
+
|
|
4095
|
+
|
|
4096
|
+
class StoriesNeverCreated(BadRequest):
|
|
4097
|
+
"""This peer hasn't ever posted any stories."""
|
|
4098
|
+
ID = "STORIES_NEVER_CREATED"
|
|
4099
|
+
"""``str``: RPC Error ID"""
|
|
4100
|
+
MESSAGE = __doc__
|
|
4101
|
+
|
|
4102
|
+
|
|
4103
|
+
class StoriesTooMuch(BadRequest):
|
|
4104
|
+
"""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](https://core.telegram.org/api/premium) subscription, delete an active story, or wait for the oldest story to expire."""
|
|
4105
|
+
ID = "STORIES_TOO_MUCH"
|
|
4106
|
+
"""``str``: RPC Error ID"""
|
|
4107
|
+
MESSAGE = __doc__
|
|
4108
|
+
|
|
4109
|
+
|
|
4110
|
+
class StoryIdEmpty(BadRequest):
|
|
4111
|
+
"""You specified no story IDs."""
|
|
4112
|
+
ID = "STORY_ID_EMPTY"
|
|
4113
|
+
"""``str``: RPC Error ID"""
|
|
4114
|
+
MESSAGE = __doc__
|
|
4115
|
+
|
|
4116
|
+
|
|
4117
|
+
class StoryIdInvalid(BadRequest):
|
|
4118
|
+
"""The specified story ID is invalid."""
|
|
4119
|
+
ID = "STORY_ID_INVALID"
|
|
4120
|
+
"""``str``: RPC Error ID"""
|
|
4121
|
+
MESSAGE = __doc__
|
|
4122
|
+
|
|
4123
|
+
|
|
4124
|
+
class StoryLiveAlready(BadRequest):
|
|
4125
|
+
"""The user or the chat has an active live story with identifier {value}."""
|
|
4126
|
+
ID = "STORY_LIVE_ALREADY_X"
|
|
4127
|
+
"""``str``: RPC Error ID"""
|
|
4128
|
+
MESSAGE = __doc__
|
|
4129
|
+
|
|
4130
|
+
|
|
4131
|
+
class StoryNotModified(BadRequest):
|
|
4132
|
+
"""The new story information you passed is equal to the previous story information, thus it wasn't modified."""
|
|
4133
|
+
ID = "STORY_NOT_MODIFIED"
|
|
4134
|
+
"""``str``: RPC Error ID"""
|
|
4135
|
+
MESSAGE = __doc__
|
|
4136
|
+
|
|
4137
|
+
|
|
4138
|
+
class StoryPeriodInvalid(BadRequest):
|
|
4139
|
+
"""The specified story period is invalid for this account."""
|
|
4140
|
+
ID = "STORY_PERIOD_INVALID"
|
|
4141
|
+
"""``str``: RPC Error ID"""
|
|
4142
|
+
MESSAGE = __doc__
|
|
4143
|
+
|
|
4144
|
+
|
|
4145
|
+
class StoryPublicMissing(BadRequest):
|
|
4146
|
+
"""The story you are trying to access or manipulate is not publicly available."""
|
|
4147
|
+
ID = "STORY_PUBLIC_MISSING"
|
|
4148
|
+
"""``str``: RPC Error ID"""
|
|
4149
|
+
MESSAGE = __doc__
|
|
4150
|
+
|
|
4151
|
+
|
|
4152
|
+
class StorySendFloodMonthly(BadRequest):
|
|
4153
|
+
"""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 {value} seconds before posting a new story."""
|
|
4154
|
+
ID = "STORY_SEND_FLOOD_MONTHLY_X"
|
|
4155
|
+
"""``str``: RPC Error ID"""
|
|
4156
|
+
MESSAGE = __doc__
|
|
4157
|
+
|
|
4158
|
+
|
|
4159
|
+
class StorySendFloodWeekly(BadRequest):
|
|
4160
|
+
"""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 {value} seconds before posting a new story."""
|
|
4161
|
+
ID = "STORY_SEND_FLOOD_WEEKLY_X"
|
|
4162
|
+
"""``str``: RPC Error ID"""
|
|
4163
|
+
MESSAGE = __doc__
|
|
4164
|
+
|
|
4165
|
+
|
|
4166
|
+
class SubscriptionExportMissing(BadRequest):
|
|
4167
|
+
"""You cannot send a [bot subscription invoice](https://core.telegram.org/api/subscriptions#bot-subscriptions) directly, you may only create invoice links using [payments.exportInvoice](https://core.telegram.org/method/payments.exportInvoice)."""
|
|
4168
|
+
ID = "SUBSCRIPTION_EXPORT_MISSING"
|
|
4169
|
+
"""``str``: RPC Error ID"""
|
|
4170
|
+
MESSAGE = __doc__
|
|
4171
|
+
|
|
4172
|
+
|
|
4173
|
+
class SubscriptionIdInvalid(BadRequest):
|
|
4174
|
+
"""The specified subscription_id is invalid."""
|
|
4175
|
+
ID = "SUBSCRIPTION_ID_INVALID"
|
|
4176
|
+
"""``str``: RPC Error ID"""
|
|
4177
|
+
MESSAGE = __doc__
|
|
4178
|
+
|
|
4179
|
+
|
|
4180
|
+
class SubscriptionPeriodInvalid(BadRequest):
|
|
4181
|
+
"""The specified subscription_pricing.period is invalid."""
|
|
4182
|
+
ID = "SUBSCRIPTION_PERIOD_INVALID"
|
|
4183
|
+
"""``str``: RPC Error ID"""
|
|
4184
|
+
MESSAGE = __doc__
|
|
4185
|
+
|
|
4186
|
+
|
|
4187
|
+
class SuggestedPostAmountInvalid(BadRequest):
|
|
4188
|
+
"""The specified price for the suggested post is invalid."""
|
|
4189
|
+
ID = "SUGGESTED_POST_AMOUNT_INVALID"
|
|
4190
|
+
"""``str``: RPC Error ID"""
|
|
4191
|
+
MESSAGE = __doc__
|
|
4192
|
+
|
|
4193
|
+
|
|
4194
|
+
class SuggestedPostPeerInvalid(BadRequest):
|
|
4195
|
+
"""You cannot send suggested posts to non-[monoforum](https://core.telegram.org/api/monoforum) peers."""
|
|
4196
|
+
ID = "SUGGESTED_POST_PEER_INVALID"
|
|
4197
|
+
"""``str``: RPC Error ID"""
|
|
4198
|
+
MESSAGE = __doc__
|
|
4199
|
+
|
|
4200
|
+
|
|
4201
|
+
class SwitchPmTextEmpty(BadRequest):
|
|
4202
|
+
"""The switch_pm.text field was empty."""
|
|
4203
|
+
ID = "SWITCH_PM_TEXT_EMPTY"
|
|
4204
|
+
"""``str``: RPC Error ID"""
|
|
4205
|
+
MESSAGE = __doc__
|
|
4206
|
+
|
|
4207
|
+
|
|
4208
|
+
class SwitchWebviewUrlInvalid(BadRequest):
|
|
4209
|
+
"""The URL specified in switch_webview.url is invalid!."""
|
|
4210
|
+
ID = "SWITCH_WEBVIEW_URL_INVALID"
|
|
4211
|
+
"""``str``: RPC Error ID"""
|
|
4212
|
+
MESSAGE = __doc__
|
|
4213
|
+
|
|
4214
|
+
|
|
4215
|
+
class TakeoutInvalid(BadRequest):
|
|
4216
|
+
"""The specified takeout ID is invalid."""
|
|
4217
|
+
ID = "TAKEOUT_INVALID"
|
|
4218
|
+
"""``str``: RPC Error ID"""
|
|
4219
|
+
MESSAGE = __doc__
|
|
4220
|
+
|
|
4221
|
+
|
|
4222
|
+
class TakeoutRequired(BadRequest):
|
|
4223
|
+
"""The method must be invoked inside a [takeout](https://core.telegram.org/api/takeout) session."""
|
|
4224
|
+
ID = "TAKEOUT_REQUIRED"
|
|
4225
|
+
"""``str``: RPC Error ID"""
|
|
4226
|
+
MESSAGE = __doc__
|
|
4227
|
+
|
|
4228
|
+
|
|
4229
|
+
class TaskAlreadyExists(BadRequest):
|
|
4230
|
+
"""An email reset was already requested."""
|
|
4231
|
+
ID = "TASK_ALREADY_EXISTS"
|
|
4232
|
+
"""``str``: RPC Error ID"""
|
|
4233
|
+
MESSAGE = __doc__
|
|
4234
|
+
|
|
4235
|
+
|
|
4236
|
+
class TempAuthKeyAlreadyBound(BadRequest):
|
|
4237
|
+
"""The passed temporary key is already bound to another **perm_auth_key_id**."""
|
|
4238
|
+
ID = "TEMP_AUTH_KEY_ALREADY_BOUND"
|
|
4239
|
+
"""``str``: RPC Error ID"""
|
|
4240
|
+
MESSAGE = __doc__
|
|
4241
|
+
|
|
4242
|
+
|
|
4243
|
+
class TempAuthKeyEmpty(BadRequest):
|
|
4244
|
+
"""The temporary auth key provided is empty."""
|
|
4245
|
+
ID = "TEMP_AUTH_KEY_EMPTY"
|
|
4246
|
+
"""``str``: RPC Error ID"""
|
|
4247
|
+
MESSAGE = __doc__
|
|
4248
|
+
|
|
4249
|
+
|
|
4250
|
+
class TermsUrlInvalid(BadRequest):
|
|
4251
|
+
"""The specified [invoice](https://core.telegram.org/constructor/invoice).`terms_url` is invalid."""
|
|
4252
|
+
ID = "TERMS_URL_INVALID"
|
|
4253
|
+
"""``str``: RPC Error ID"""
|
|
4254
|
+
MESSAGE = __doc__
|
|
4255
|
+
|
|
4256
|
+
|
|
4257
|
+
class TextdraftPeerInvalid(BadRequest):
|
|
4258
|
+
"""The specified peer is invalid."""
|
|
4259
|
+
ID = "TEXTDRAFT_PEER_INVALID"
|
|
4260
|
+
"""``str``: RPC Error ID"""
|
|
4261
|
+
MESSAGE = __doc__
|
|
4262
|
+
|
|
4263
|
+
|
|
4264
|
+
class ThemeFileInvalid(BadRequest):
|
|
4265
|
+
"""Invalid theme file provided."""
|
|
4266
|
+
ID = "THEME_FILE_INVALID"
|
|
4267
|
+
"""``str``: RPC Error ID"""
|
|
4268
|
+
MESSAGE = __doc__
|
|
4269
|
+
|
|
4270
|
+
|
|
4271
|
+
class ThemeFormatInvalid(BadRequest):
|
|
4272
|
+
"""Invalid theme format provided."""
|
|
4273
|
+
ID = "THEME_FORMAT_INVALID"
|
|
4274
|
+
"""``str``: RPC Error ID"""
|
|
4275
|
+
MESSAGE = __doc__
|
|
4276
|
+
|
|
4277
|
+
|
|
4278
|
+
class ThemeInvalid(BadRequest):
|
|
4279
|
+
"""Invalid theme provided."""
|
|
4280
|
+
ID = "THEME_INVALID"
|
|
4281
|
+
"""``str``: RPC Error ID"""
|
|
4282
|
+
MESSAGE = __doc__
|
|
4283
|
+
|
|
4284
|
+
|
|
4285
|
+
class ThemeMimeInvalid(BadRequest):
|
|
4286
|
+
"""You cannot create this theme because the mime-type is invalid."""
|
|
4287
|
+
ID = "THEME_MIME_INVALID"
|
|
4288
|
+
"""``str``: RPC Error ID"""
|
|
4289
|
+
MESSAGE = __doc__
|
|
4290
|
+
|
|
4291
|
+
|
|
4292
|
+
class ThemeParamsInvalid(BadRequest):
|
|
4293
|
+
"""The specified `theme_params` field is invalid."""
|
|
4294
|
+
ID = "THEME_PARAMS_INVALID"
|
|
4295
|
+
"""``str``: RPC Error ID"""
|
|
4296
|
+
MESSAGE = __doc__
|
|
4297
|
+
|
|
4298
|
+
|
|
4299
|
+
class ThemeSlugInvalid(BadRequest):
|
|
4300
|
+
"""The specified theme slug is invalid."""
|
|
4301
|
+
ID = "THEME_SLUG_INVALID"
|
|
4302
|
+
"""``str``: RPC Error ID"""
|
|
4303
|
+
MESSAGE = __doc__
|
|
4304
|
+
|
|
4305
|
+
|
|
4306
|
+
class ThemeTitleInvalid(BadRequest):
|
|
4307
|
+
"""The specified theme title is invalid."""
|
|
4308
|
+
ID = "THEME_TITLE_INVALID"
|
|
4309
|
+
"""``str``: RPC Error ID"""
|
|
4310
|
+
MESSAGE = __doc__
|
|
4311
|
+
|
|
4312
|
+
|
|
4313
|
+
class TimezoneInvalid(BadRequest):
|
|
4314
|
+
"""The specified timezone does not exist."""
|
|
4315
|
+
ID = "TIMEZONE_INVALID"
|
|
4316
|
+
"""``str``: RPC Error ID"""
|
|
4317
|
+
MESSAGE = __doc__
|
|
4318
|
+
|
|
4319
|
+
|
|
4320
|
+
class TitleInvalid(BadRequest):
|
|
4321
|
+
"""The specified stickerpack title is invalid."""
|
|
4322
|
+
ID = "TITLE_INVALID"
|
|
4323
|
+
"""``str``: RPC Error ID"""
|
|
4324
|
+
MESSAGE = __doc__
|
|
4325
|
+
|
|
4326
|
+
|
|
4327
|
+
class TmpPasswordDisabled(BadRequest):
|
|
4328
|
+
"""The temporary password is disabled."""
|
|
4329
|
+
ID = "TMP_PASSWORD_DISABLED"
|
|
4330
|
+
"""``str``: RPC Error ID"""
|
|
4331
|
+
MESSAGE = __doc__
|
|
4332
|
+
|
|
4333
|
+
|
|
4334
|
+
class TmpPasswordInvalid(BadRequest):
|
|
4335
|
+
"""The temporary password is invalid."""
|
|
4336
|
+
ID = "TMP_PASSWORD_INVALID"
|
|
4337
|
+
"""``str``: RPC Error ID"""
|
|
4338
|
+
MESSAGE = __doc__
|
|
4339
|
+
|
|
4340
|
+
|
|
4341
|
+
class TodoItemsEmpty(BadRequest):
|
|
4342
|
+
"""A checklist was specified, but no [checklist items](https://core.telegram.org/api/todo) were passed."""
|
|
4343
|
+
ID = "TODO_ITEMS_EMPTY"
|
|
4344
|
+
"""``str``: RPC Error ID"""
|
|
4345
|
+
MESSAGE = __doc__
|
|
4346
|
+
|
|
4347
|
+
|
|
4348
|
+
class TodoItemDuplicate(BadRequest):
|
|
4349
|
+
"""The provided ToDo task already exists."""
|
|
4350
|
+
ID = "TODO_ITEM_DUPLICATE"
|
|
4351
|
+
"""``str``: RPC Error ID"""
|
|
4352
|
+
MESSAGE = __doc__
|
|
4353
|
+
|
|
4354
|
+
|
|
4355
|
+
class TodoNotModified(BadRequest):
|
|
4356
|
+
"""No todo items were specified, so no changes were made to the todo list."""
|
|
4357
|
+
ID = "TODO_NOT_MODIFIED"
|
|
4358
|
+
"""``str``: RPC Error ID"""
|
|
4359
|
+
MESSAGE = __doc__
|
|
4360
|
+
|
|
4361
|
+
|
|
4362
|
+
class TokenEmpty(BadRequest):
|
|
4363
|
+
"""The specified token is empty."""
|
|
4364
|
+
ID = "TOKEN_EMPTY"
|
|
4365
|
+
"""``str``: RPC Error ID"""
|
|
4366
|
+
MESSAGE = __doc__
|
|
4367
|
+
|
|
4368
|
+
|
|
4369
|
+
class TokenInvalid(BadRequest):
|
|
4370
|
+
"""The provided token is invalid."""
|
|
4371
|
+
ID = "TOKEN_INVALID"
|
|
4372
|
+
"""``str``: RPC Error ID"""
|
|
4373
|
+
MESSAGE = __doc__
|
|
4374
|
+
|
|
4375
|
+
|
|
4376
|
+
class TokenSecretInvalid(BadRequest):
|
|
4377
|
+
"""The specified token secret is invalid."""
|
|
4378
|
+
ID = "TOKEN_SECRET_INVALID"
|
|
4379
|
+
"""``str``: RPC Error ID"""
|
|
4380
|
+
MESSAGE = __doc__
|
|
4381
|
+
|
|
4382
|
+
|
|
4383
|
+
class TokenTypeInvalid(BadRequest):
|
|
4384
|
+
"""The specified token type is invalid."""
|
|
4385
|
+
ID = "TOKEN_TYPE_INVALID"
|
|
4386
|
+
"""``str``: RPC Error ID"""
|
|
4387
|
+
MESSAGE = __doc__
|
|
4388
|
+
|
|
4389
|
+
|
|
4390
|
+
class TopicsEmpty(BadRequest):
|
|
4391
|
+
"""You specified no topic IDs."""
|
|
4392
|
+
ID = "TOPICS_EMPTY"
|
|
4393
|
+
"""``str``: RPC Error ID"""
|
|
4394
|
+
MESSAGE = __doc__
|
|
4395
|
+
|
|
4396
|
+
|
|
4397
|
+
class TopicClosed(BadRequest):
|
|
4398
|
+
"""This topic was closed, you can't send messages to it anymore."""
|
|
4399
|
+
ID = "TOPIC_CLOSED"
|
|
4400
|
+
"""``str``: RPC Error ID"""
|
|
4401
|
+
MESSAGE = __doc__
|
|
4402
|
+
|
|
4403
|
+
|
|
4404
|
+
class TopicCloseSeparately(BadRequest):
|
|
4405
|
+
"""The `close` flag cannot be provided together with any of the other flags."""
|
|
4406
|
+
ID = "TOPIC_CLOSE_SEPARATELY"
|
|
4407
|
+
"""``str``: RPC Error ID"""
|
|
4408
|
+
MESSAGE = __doc__
|
|
4409
|
+
|
|
4410
|
+
|
|
4411
|
+
class TopicDeleted(BadRequest):
|
|
4412
|
+
"""The specified topic was deleted."""
|
|
4413
|
+
ID = "TOPIC_DELETED"
|
|
4414
|
+
"""``str``: RPC Error ID"""
|
|
4415
|
+
MESSAGE = __doc__
|
|
4416
|
+
|
|
4417
|
+
|
|
4418
|
+
class TopicHideSeparately(BadRequest):
|
|
4419
|
+
"""The `hide` flag cannot be provided together with any of the other flags."""
|
|
4420
|
+
ID = "TOPIC_HIDE_SEPARATELY"
|
|
4421
|
+
"""``str``: RPC Error ID"""
|
|
4422
|
+
MESSAGE = __doc__
|
|
4423
|
+
|
|
4424
|
+
|
|
4425
|
+
class TopicIdInvalid(BadRequest):
|
|
4426
|
+
"""The specified topic ID is invalid."""
|
|
4427
|
+
ID = "TOPIC_ID_INVALID"
|
|
4428
|
+
"""``str``: RPC Error ID"""
|
|
4429
|
+
MESSAGE = __doc__
|
|
4430
|
+
|
|
4431
|
+
|
|
4432
|
+
class TopicNotModified(BadRequest):
|
|
4433
|
+
"""The updated topic info is equal to the current topic info, nothing was changed."""
|
|
4434
|
+
ID = "TOPIC_NOT_MODIFIED"
|
|
4435
|
+
"""``str``: RPC Error ID"""
|
|
4436
|
+
MESSAGE = __doc__
|
|
4437
|
+
|
|
4438
|
+
|
|
4439
|
+
class TopicTitleEmpty(BadRequest):
|
|
4440
|
+
"""The specified topic title is empty."""
|
|
4441
|
+
ID = "TOPIC_TITLE_EMPTY"
|
|
4442
|
+
"""``str``: RPC Error ID"""
|
|
4443
|
+
MESSAGE = __doc__
|
|
4444
|
+
|
|
4445
|
+
|
|
4446
|
+
class ToIdInvalid(BadRequest):
|
|
4447
|
+
"""The specified `to_id` of the passed inputInvoiceStarGiftResale or inputInvoiceStarGiftTransfer is invalid."""
|
|
4448
|
+
ID = "TO_ID_INVALID"
|
|
4449
|
+
"""``str``: RPC Error ID"""
|
|
4450
|
+
MESSAGE = __doc__
|
|
4451
|
+
|
|
4452
|
+
|
|
4453
|
+
class ToLangInvalid(BadRequest):
|
|
4454
|
+
"""The specified destination language is invalid."""
|
|
4455
|
+
ID = "TO_LANG_INVALID"
|
|
4456
|
+
"""``str``: RPC Error ID"""
|
|
4457
|
+
MESSAGE = __doc__
|
|
4458
|
+
|
|
4459
|
+
|
|
4460
|
+
class TransactionIdInvalid(BadRequest):
|
|
4461
|
+
"""The specified transaction ID is invalid."""
|
|
4462
|
+
ID = "TRANSACTION_ID_INVALID"
|
|
4463
|
+
"""``str``: RPC Error ID"""
|
|
4464
|
+
MESSAGE = __doc__
|
|
4465
|
+
|
|
4466
|
+
|
|
4467
|
+
class TranscriptionFailed(BadRequest):
|
|
4468
|
+
"""Telegram is having internal problems. Please try again later to transcribe the audio."""
|
|
4469
|
+
ID = "TRANSCRIPTION_FAILED"
|
|
4470
|
+
"""``str``: RPC Error ID"""
|
|
4471
|
+
MESSAGE = __doc__
|
|
4472
|
+
|
|
4473
|
+
|
|
4474
|
+
class TranslateReqQuotaExceeded(BadRequest):
|
|
4475
|
+
"""Translation is currently unavailable due to a temporary server-side lack of resources."""
|
|
4476
|
+
ID = "TRANSLATE_REQ_QUOTA_EXCEEDED"
|
|
4477
|
+
"""``str``: RPC Error ID"""
|
|
4478
|
+
MESSAGE = __doc__
|
|
4479
|
+
|
|
4480
|
+
|
|
4481
|
+
class TranslationsDisabled(BadRequest):
|
|
4482
|
+
"""Translation is disabled."""
|
|
4483
|
+
ID = "TRANSLATIONS_DISABLED"
|
|
4484
|
+
"""``str``: RPC Error ID"""
|
|
4485
|
+
MESSAGE = __doc__
|
|
4486
|
+
|
|
4487
|
+
|
|
4488
|
+
class TranslationsDisabledAlt(BadRequest):
|
|
4489
|
+
"""Translation is disabled."""
|
|
4490
|
+
ID = "TRANSLATIONS_DISABLED_ALT"
|
|
4491
|
+
"""``str``: RPC Error ID"""
|
|
4492
|
+
MESSAGE = __doc__
|
|
4493
|
+
|
|
4494
|
+
|
|
4495
|
+
class TtlDaysInvalid(BadRequest):
|
|
4496
|
+
"""The provided TTL days is invalid."""
|
|
4497
|
+
ID = "TTL_DAYS_INVALID"
|
|
4498
|
+
"""``str``: RPC Error ID"""
|
|
4499
|
+
MESSAGE = __doc__
|
|
4500
|
+
|
|
4501
|
+
|
|
4502
|
+
class TtlMediaInvalid(BadRequest):
|
|
4503
|
+
"""The media does not support self-destruction."""
|
|
4504
|
+
ID = "TTL_MEDIA_INVALID"
|
|
4505
|
+
"""``str``: RPC Error ID"""
|
|
4506
|
+
MESSAGE = __doc__
|
|
4507
|
+
|
|
4508
|
+
|
|
4509
|
+
class TtlPeriodInvalid(BadRequest):
|
|
4510
|
+
"""The specified TTL period is invalid."""
|
|
4511
|
+
ID = "TTL_PERIOD_INVALID"
|
|
4512
|
+
"""``str``: RPC Error ID"""
|
|
4513
|
+
MESSAGE = __doc__
|
|
4514
|
+
|
|
4515
|
+
|
|
4516
|
+
class TypesEmpty(BadRequest):
|
|
4517
|
+
"""The types parameter is empty."""
|
|
4518
|
+
ID = "TYPES_EMPTY"
|
|
4519
|
+
"""``str``: RPC Error ID"""
|
|
4520
|
+
MESSAGE = __doc__
|
|
4521
|
+
|
|
4522
|
+
|
|
4523
|
+
class TypeConstructorInvalid(BadRequest):
|
|
4524
|
+
"""The type constructor is invalid."""
|
|
4525
|
+
ID = "TYPE_CONSTRUCTOR_INVALID"
|
|
4526
|
+
"""``str``: RPC Error ID"""
|
|
4527
|
+
MESSAGE = __doc__
|
|
4528
|
+
|
|
4529
|
+
|
|
4530
|
+
class UnknownError(BadRequest):
|
|
4531
|
+
"""Unknown error."""
|
|
4532
|
+
ID = "UNKNOWN_ERROR"
|
|
4533
|
+
"""``str``: RPC Error ID"""
|
|
4534
|
+
MESSAGE = __doc__
|
|
4535
|
+
|
|
4536
|
+
|
|
4537
|
+
class Unsupported(BadRequest):
|
|
4538
|
+
"""This method is not supported."""
|
|
4539
|
+
ID = "UNSUPPORTED"
|
|
4540
|
+
"""``str``: RPC Error ID"""
|
|
4541
|
+
MESSAGE = __doc__
|
|
4542
|
+
|
|
4543
|
+
|
|
4544
|
+
class UntilDateInvalid(BadRequest):
|
|
4545
|
+
"""That date parameter is invalid."""
|
|
4546
|
+
ID = "UNTIL_DATE_INVALID"
|
|
4547
|
+
"""``str``: RPC Error ID"""
|
|
4548
|
+
MESSAGE = __doc__
|
|
4549
|
+
|
|
4550
|
+
|
|
4551
|
+
class UrlInvalid(BadRequest):
|
|
4552
|
+
"""The URL provided is invalid."""
|
|
4553
|
+
ID = "URL_INVALID"
|
|
4554
|
+
"""``str``: RPC Error ID"""
|
|
4555
|
+
MESSAGE = __doc__
|
|
4556
|
+
|
|
4557
|
+
|
|
4558
|
+
class UsageLimitInvalid(BadRequest):
|
|
4559
|
+
"""The specified usage limit is invalid."""
|
|
4560
|
+
ID = "USAGE_LIMIT_INVALID"
|
|
4561
|
+
"""``str``: RPC Error ID"""
|
|
4562
|
+
MESSAGE = __doc__
|
|
4563
|
+
|
|
4564
|
+
|
|
4565
|
+
class UsernamesActiveTooMuch(BadRequest):
|
|
4566
|
+
"""The maximum number of active usernames was reached."""
|
|
4567
|
+
ID = "USERNAMES_ACTIVE_TOO_MUCH"
|
|
4568
|
+
"""``str``: RPC Error ID"""
|
|
4569
|
+
MESSAGE = __doc__
|
|
4570
|
+
|
|
4571
|
+
|
|
4572
|
+
class UsernameInvalid(BadRequest):
|
|
4573
|
+
"""The provided username is not valid."""
|
|
4574
|
+
ID = "USERNAME_INVALID"
|
|
4575
|
+
"""``str``: RPC Error ID"""
|
|
4576
|
+
MESSAGE = __doc__
|
|
4577
|
+
|
|
4578
|
+
|
|
4579
|
+
class UsernameNotModified(BadRequest):
|
|
4580
|
+
"""The username was not modified because you tried to edit it using the same one."""
|
|
4581
|
+
ID = "USERNAME_NOT_MODIFIED"
|
|
4582
|
+
"""``str``: RPC Error ID"""
|
|
4583
|
+
MESSAGE = __doc__
|
|
4584
|
+
|
|
4585
|
+
|
|
4586
|
+
class UsernameNotOccupied(BadRequest):
|
|
4587
|
+
"""The provided username is not occupied by anyone."""
|
|
4588
|
+
ID = "USERNAME_NOT_OCCUPIED"
|
|
4589
|
+
"""``str``: RPC Error ID"""
|
|
4590
|
+
MESSAGE = __doc__
|
|
4591
|
+
|
|
4592
|
+
|
|
4593
|
+
class UsernameOccupied(BadRequest):
|
|
4594
|
+
"""The provided username is already in use by someone else."""
|
|
4595
|
+
ID = "USERNAME_OCCUPIED"
|
|
4596
|
+
"""``str``: RPC Error ID"""
|
|
4597
|
+
MESSAGE = __doc__
|
|
4598
|
+
|
|
4599
|
+
|
|
4600
|
+
class UsernamePurchaseAvailable(BadRequest):
|
|
4601
|
+
"""The specified username can be purchased on https://fragment.com."""
|
|
4602
|
+
ID = "USERNAME_PURCHASE_AVAILABLE"
|
|
4603
|
+
"""``str``: RPC Error ID"""
|
|
4604
|
+
MESSAGE = __doc__
|
|
4605
|
+
|
|
4606
|
+
|
|
4607
|
+
class UsernameSuffixMissing(BadRequest):
|
|
4608
|
+
"""Bot username must end in `bot`."""
|
|
4609
|
+
ID = "USERNAME_SUFFIX_MISSING"
|
|
4610
|
+
"""``str``: RPC Error ID"""
|
|
4611
|
+
MESSAGE = __doc__
|
|
4612
|
+
|
|
4613
|
+
|
|
4614
|
+
class UserpicUploadRequired(BadRequest):
|
|
4615
|
+
"""You are required to upload a profile picture for this action."""
|
|
4616
|
+
ID = "USERPIC_UPLOAD_REQUIRED"
|
|
4617
|
+
"""``str``: RPC Error ID"""
|
|
4618
|
+
MESSAGE = __doc__
|
|
4619
|
+
|
|
4620
|
+
|
|
4621
|
+
class UsersTooFew(BadRequest):
|
|
4622
|
+
"""Not enough users (to create a chat, for example)."""
|
|
4623
|
+
ID = "USERS_TOO_FEW"
|
|
4624
|
+
"""``str``: RPC Error ID"""
|
|
4625
|
+
MESSAGE = __doc__
|
|
4626
|
+
|
|
4627
|
+
|
|
4628
|
+
class UsersTooMuch(BadRequest):
|
|
4629
|
+
"""The maximum number of users has been exceeded (to create a chat, for example)."""
|
|
4630
|
+
ID = "USERS_TOO_MUCH"
|
|
4631
|
+
"""``str``: RPC Error ID"""
|
|
4632
|
+
MESSAGE = __doc__
|
|
4633
|
+
|
|
4634
|
+
|
|
4635
|
+
class UserAdminInvalid(BadRequest):
|
|
4636
|
+
"""The action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to."""
|
|
4637
|
+
ID = "USER_ADMIN_INVALID"
|
|
4638
|
+
"""``str``: RPC Error ID"""
|
|
4639
|
+
MESSAGE = __doc__
|
|
4640
|
+
|
|
4641
|
+
|
|
4642
|
+
class UserAlreadyInvited(BadRequest):
|
|
4643
|
+
"""You have already invited this user."""
|
|
4644
|
+
ID = "USER_ALREADY_INVITED"
|
|
4645
|
+
"""``str``: RPC Error ID"""
|
|
4646
|
+
MESSAGE = __doc__
|
|
4647
|
+
|
|
4648
|
+
|
|
4649
|
+
class UserAlreadyParticipant(BadRequest):
|
|
4650
|
+
"""The user is already a participant of this chat."""
|
|
4651
|
+
ID = "USER_ALREADY_PARTICIPANT"
|
|
4652
|
+
"""``str``: RPC Error ID"""
|
|
4653
|
+
MESSAGE = __doc__
|
|
4654
|
+
|
|
4655
|
+
|
|
4656
|
+
class UserBannedInChannel(BadRequest):
|
|
4657
|
+
"""You're limited from sending messages in supergroups/channels, check @spambot for details."""
|
|
4658
|
+
ID = "USER_BANNED_IN_CHANNEL"
|
|
4659
|
+
"""``str``: RPC Error ID"""
|
|
4660
|
+
MESSAGE = __doc__
|
|
4661
|
+
|
|
4662
|
+
|
|
4663
|
+
class UserBlocked(BadRequest):
|
|
4664
|
+
"""The user is blocked."""
|
|
4665
|
+
ID = "USER_BLOCKED"
|
|
4666
|
+
"""``str``: RPC Error ID"""
|
|
4667
|
+
MESSAGE = __doc__
|
|
4668
|
+
|
|
4669
|
+
|
|
4670
|
+
class UserBot(BadRequest):
|
|
4671
|
+
"""Bots in channels can only be administrators, not members."""
|
|
4672
|
+
ID = "USER_BOT"
|
|
4673
|
+
"""``str``: RPC Error ID"""
|
|
4674
|
+
MESSAGE = __doc__
|
|
4675
|
+
|
|
4676
|
+
|
|
4677
|
+
class UserBotInvalid(BadRequest):
|
|
4678
|
+
"""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."""
|
|
4679
|
+
ID = "USER_BOT_INVALID"
|
|
4680
|
+
"""``str``: RPC Error ID"""
|
|
4681
|
+
MESSAGE = __doc__
|
|
4682
|
+
|
|
4683
|
+
|
|
4684
|
+
class UserBotRequired(BadRequest):
|
|
4685
|
+
"""This method can only be called by a bot."""
|
|
4686
|
+
ID = "USER_BOT_REQUIRED"
|
|
4687
|
+
"""``str``: RPC Error ID"""
|
|
4688
|
+
MESSAGE = __doc__
|
|
4689
|
+
|
|
4690
|
+
|
|
4691
|
+
class UserChannelsTooMuch(BadRequest):
|
|
4692
|
+
"""One of the users you tried to add is already in too many channels/supergroups."""
|
|
4693
|
+
ID = "USER_CHANNELS_TOO_MUCH"
|
|
4694
|
+
"""``str``: RPC Error ID"""
|
|
4695
|
+
MESSAGE = __doc__
|
|
4696
|
+
|
|
4697
|
+
|
|
4698
|
+
class UserCreator(BadRequest):
|
|
4699
|
+
"""The user id being used is invalid or not known yet. Make sure you meet the user before interacting with it."""
|
|
4700
|
+
ID = "USER_CREATOR"
|
|
4701
|
+
"""``str``: RPC Error ID"""
|
|
4702
|
+
MESSAGE = __doc__
|
|
4703
|
+
|
|
4704
|
+
|
|
4705
|
+
class UserGiftUnavailable(BadRequest):
|
|
4706
|
+
"""Gifts are not available in the current region ([stars_gifts_enabled](https://core.telegram.org/api/config#stars-gifts-enabled) is equal to false)."""
|
|
4707
|
+
ID = "USER_GIFT_UNAVAILABLE"
|
|
4708
|
+
"""``str``: RPC Error ID"""
|
|
4709
|
+
MESSAGE = __doc__
|
|
4710
|
+
|
|
4711
|
+
|
|
4712
|
+
class UserHandleMismatch(BadRequest):
|
|
4713
|
+
"""The user handle mismatch."""
|
|
4714
|
+
ID = "USER_HANDLE_MISMATCH"
|
|
4715
|
+
"""``str``: RPC Error ID"""
|
|
4716
|
+
MESSAGE = __doc__
|
|
4717
|
+
|
|
4718
|
+
|
|
4719
|
+
class UserIdInvalid(BadRequest):
|
|
4720
|
+
"""The provided user id is invalid."""
|
|
4721
|
+
ID = "USER_ID_INVALID"
|
|
4722
|
+
"""``str``: RPC Error ID"""
|
|
4723
|
+
MESSAGE = __doc__
|
|
4724
|
+
|
|
4725
|
+
|
|
4726
|
+
class UserInvalid(BadRequest):
|
|
4727
|
+
"""The provided user is invalid."""
|
|
4728
|
+
ID = "USER_INVALID"
|
|
4729
|
+
"""``str``: RPC Error ID"""
|
|
4730
|
+
MESSAGE = __doc__
|
|
4731
|
+
|
|
4732
|
+
|
|
4733
|
+
class UserIsBlocked(BadRequest):
|
|
4734
|
+
"""You were blocked by this user."""
|
|
4735
|
+
ID = "USER_IS_BLOCKED"
|
|
4736
|
+
"""``str``: RPC Error ID"""
|
|
4737
|
+
MESSAGE = __doc__
|
|
4738
|
+
|
|
4739
|
+
|
|
4740
|
+
class UserIsBot(BadRequest):
|
|
4741
|
+
"""A bot cannot send messages to other bots or to itself."""
|
|
4742
|
+
ID = "USER_IS_BOT"
|
|
4743
|
+
"""``str``: RPC Error ID"""
|
|
4744
|
+
MESSAGE = __doc__
|
|
4745
|
+
|
|
4746
|
+
|
|
4747
|
+
class UserKicked(BadRequest):
|
|
4748
|
+
"""This user was kicked from this chat."""
|
|
4749
|
+
ID = "USER_KICKED"
|
|
4750
|
+
"""``str``: RPC Error ID"""
|
|
4751
|
+
MESSAGE = __doc__
|
|
4752
|
+
|
|
4753
|
+
|
|
4754
|
+
class UserNotMutualContact(BadRequest):
|
|
4755
|
+
"""The provided user is not a mutual contact."""
|
|
4756
|
+
ID = "USER_NOT_MUTUAL_CONTACT"
|
|
4757
|
+
"""``str``: RPC Error ID"""
|
|
4758
|
+
MESSAGE = __doc__
|
|
4759
|
+
|
|
4760
|
+
|
|
4761
|
+
class UserNotParticipant(BadRequest):
|
|
4762
|
+
"""You're not a member of this chat."""
|
|
4763
|
+
ID = "USER_NOT_PARTICIPANT"
|
|
4764
|
+
"""``str``: RPC Error ID"""
|
|
4765
|
+
MESSAGE = __doc__
|
|
4766
|
+
|
|
4767
|
+
|
|
4768
|
+
class UserPublicMissing(BadRequest):
|
|
4769
|
+
"""The accounts username is missing."""
|
|
4770
|
+
ID = "USER_PUBLIC_MISSING"
|
|
4771
|
+
"""``str``: RPC Error ID"""
|
|
4772
|
+
MESSAGE = __doc__
|
|
4773
|
+
|
|
4774
|
+
|
|
4775
|
+
class UserRightsMissing(BadRequest):
|
|
4776
|
+
"""The user rights is missing."""
|
|
4777
|
+
ID = "USER_RIGHTS_MISSING"
|
|
4778
|
+
"""``str``: RPC Error ID"""
|
|
4779
|
+
MESSAGE = __doc__
|
|
4780
|
+
|
|
4781
|
+
|
|
4782
|
+
class UserVolumeInvalid(BadRequest):
|
|
4783
|
+
"""The specified user volume is invalid."""
|
|
4784
|
+
ID = "USER_VOLUME_INVALID"
|
|
4785
|
+
"""``str``: RPC Error ID"""
|
|
4786
|
+
MESSAGE = __doc__
|
|
4787
|
+
|
|
4788
|
+
|
|
4789
|
+
class VenueIdInvalid(BadRequest):
|
|
4790
|
+
"""The specified venue ID is invalid."""
|
|
4791
|
+
ID = "VENUE_ID_INVALID"
|
|
4792
|
+
"""``str``: RPC Error ID"""
|
|
4793
|
+
MESSAGE = __doc__
|
|
4794
|
+
|
|
4795
|
+
|
|
4796
|
+
class VideoContentTypeInvalid(BadRequest):
|
|
4797
|
+
"""The video content type is invalid (i.e.: not streamable)."""
|
|
4798
|
+
ID = "VIDEO_CONTENT_TYPE_INVALID"
|
|
4799
|
+
"""``str``: RPC Error ID"""
|
|
4800
|
+
MESSAGE = __doc__
|
|
4801
|
+
|
|
4802
|
+
|
|
4803
|
+
class VideoFileInvalid(BadRequest):
|
|
4804
|
+
"""The specified video file is invalid."""
|
|
4805
|
+
ID = "VIDEO_FILE_INVALID"
|
|
4806
|
+
"""``str``: RPC Error ID"""
|
|
4807
|
+
MESSAGE = __doc__
|
|
4808
|
+
|
|
4809
|
+
|
|
4810
|
+
class VideoPauseForbidden(BadRequest):
|
|
4811
|
+
"""You cannot pause the video stream."""
|
|
4812
|
+
ID = "VIDEO_PAUSE_FORBIDDEN"
|
|
4813
|
+
"""``str``: RPC Error ID"""
|
|
4814
|
+
MESSAGE = __doc__
|
|
4815
|
+
|
|
4816
|
+
|
|
4817
|
+
class VideoStopForbidden(BadRequest):
|
|
4818
|
+
"""You cannot stop the video stream."""
|
|
4819
|
+
ID = "VIDEO_STOP_FORBIDDEN"
|
|
4820
|
+
"""``str``: RPC Error ID"""
|
|
4821
|
+
MESSAGE = __doc__
|
|
4822
|
+
|
|
4823
|
+
|
|
4824
|
+
class VideoTitleEmpty(BadRequest):
|
|
4825
|
+
"""The specified video title is empty."""
|
|
4826
|
+
ID = "VIDEO_TITLE_EMPTY"
|
|
4827
|
+
"""``str``: RPC Error ID"""
|
|
4828
|
+
MESSAGE = __doc__
|
|
4829
|
+
|
|
4830
|
+
|
|
4831
|
+
class VoiceMessagesForbidden(BadRequest):
|
|
4832
|
+
"""This user's privacy settings forbid you from sending voice messages."""
|
|
4833
|
+
ID = "VOICE_MESSAGES_FORBIDDEN"
|
|
4834
|
+
"""``str``: RPC Error ID"""
|
|
4835
|
+
MESSAGE = __doc__
|
|
4836
|
+
|
|
4837
|
+
|
|
4838
|
+
class VolumeLocNotFound(BadRequest):
|
|
4839
|
+
"""The volume location can't be found."""
|
|
4840
|
+
ID = "VOLUME_LOC_NOT_FOUND"
|
|
4841
|
+
"""``str``: RPC Error ID"""
|
|
4842
|
+
MESSAGE = __doc__
|
|
4843
|
+
|
|
4844
|
+
|
|
4845
|
+
class WallpaperFileInvalid(BadRequest):
|
|
4846
|
+
"""TThe provided file cannot be used as a wallpaper."""
|
|
4847
|
+
ID = "WALLPAPER_FILE_INVALID"
|
|
4848
|
+
"""``str``: RPC Error ID"""
|
|
4849
|
+
MESSAGE = __doc__
|
|
4850
|
+
|
|
4851
|
+
|
|
4852
|
+
class WallpaperInvalid(BadRequest):
|
|
4853
|
+
"""The specified wallpaper is invalid."""
|
|
4854
|
+
ID = "WALLPAPER_INVALID"
|
|
4855
|
+
"""``str``: RPC Error ID"""
|
|
4856
|
+
MESSAGE = __doc__
|
|
4857
|
+
|
|
4858
|
+
|
|
4859
|
+
class WallpaperMimeInvalid(BadRequest):
|
|
4860
|
+
"""The specified wallpaper MIME type is invalid."""
|
|
4861
|
+
ID = "WALLPAPER_MIME_INVALID"
|
|
4862
|
+
"""``str``: RPC Error ID"""
|
|
4863
|
+
MESSAGE = __doc__
|
|
4864
|
+
|
|
4865
|
+
|
|
4866
|
+
class WallpaperNotFound(BadRequest):
|
|
4867
|
+
"""The specified wallpaper could not be found."""
|
|
4868
|
+
ID = "WALLPAPER_NOT_FOUND"
|
|
4869
|
+
"""``str``: RPC Error ID"""
|
|
4870
|
+
MESSAGE = __doc__
|
|
4871
|
+
|
|
4872
|
+
|
|
4873
|
+
class WcConvertUrlInvalid(BadRequest):
|
|
4874
|
+
"""WC convert URL invalid."""
|
|
4875
|
+
ID = "WC_CONVERT_URL_INVALID"
|
|
4876
|
+
"""``str``: RPC Error ID"""
|
|
4877
|
+
MESSAGE = __doc__
|
|
4878
|
+
|
|
4879
|
+
|
|
4880
|
+
class WebdocumentInvalid(BadRequest):
|
|
4881
|
+
"""Invalid webdocument URL provided."""
|
|
4882
|
+
ID = "WEBDOCUMENT_INVALID"
|
|
4883
|
+
"""``str``: RPC Error ID"""
|
|
4884
|
+
MESSAGE = __doc__
|
|
4885
|
+
|
|
4886
|
+
|
|
4887
|
+
class WebdocumentMimeInvalid(BadRequest):
|
|
4888
|
+
"""Invalid webdocument mime type provided."""
|
|
4889
|
+
ID = "WEBDOCUMENT_MIME_INVALID"
|
|
4890
|
+
"""``str``: RPC Error ID"""
|
|
4891
|
+
MESSAGE = __doc__
|
|
4892
|
+
|
|
4893
|
+
|
|
4894
|
+
class WebdocumentSizeTooBig(BadRequest):
|
|
4895
|
+
"""Webdocument is too big!."""
|
|
4896
|
+
ID = "WEBDOCUMENT_SIZE_TOO_BIG"
|
|
4897
|
+
"""``str``: RPC Error ID"""
|
|
4898
|
+
MESSAGE = __doc__
|
|
4899
|
+
|
|
4900
|
+
|
|
4901
|
+
class WebdocumentUrlEmpty(BadRequest):
|
|
4902
|
+
"""The passed web document URL is empty."""
|
|
4903
|
+
ID = "WEBDOCUMENT_URL_EMPTY"
|
|
4904
|
+
"""``str``: RPC Error ID"""
|
|
4905
|
+
MESSAGE = __doc__
|
|
4906
|
+
|
|
4907
|
+
|
|
4908
|
+
class WebdocumentUrlInvalid(BadRequest):
|
|
4909
|
+
"""The specified webdocument URL is invalid."""
|
|
4910
|
+
ID = "WEBDOCUMENT_URL_INVALID"
|
|
4911
|
+
"""``str``: RPC Error ID"""
|
|
4912
|
+
MESSAGE = __doc__
|
|
4913
|
+
|
|
4914
|
+
|
|
4915
|
+
class WebpageCurlFailed(BadRequest):
|
|
4916
|
+
"""Telegram server could not fetch the provided URL."""
|
|
4917
|
+
ID = "WEBPAGE_CURL_FAILED"
|
|
4918
|
+
"""``str``: RPC Error ID"""
|
|
4919
|
+
MESSAGE = __doc__
|
|
4920
|
+
|
|
4921
|
+
|
|
4922
|
+
class WebpageMediaEmpty(BadRequest):
|
|
4923
|
+
"""The URL doesn't contain any valid media."""
|
|
4924
|
+
ID = "WEBPAGE_MEDIA_EMPTY"
|
|
4925
|
+
"""``str``: RPC Error ID"""
|
|
4926
|
+
MESSAGE = __doc__
|
|
4927
|
+
|
|
4928
|
+
|
|
4929
|
+
class WebpageNotFound(BadRequest):
|
|
4930
|
+
"""A preview for the specified webpage `url` could not be generated."""
|
|
4931
|
+
ID = "WEBPAGE_NOT_FOUND"
|
|
4932
|
+
"""``str``: RPC Error ID"""
|
|
4933
|
+
MESSAGE = __doc__
|
|
4934
|
+
|
|
4935
|
+
|
|
4936
|
+
class WebpageUrlInvalid(BadRequest):
|
|
4937
|
+
"""The specified webpage `url` is invalid."""
|
|
4938
|
+
ID = "WEBPAGE_URL_INVALID"
|
|
4939
|
+
"""``str``: RPC Error ID"""
|
|
4940
|
+
MESSAGE = __doc__
|
|
4941
|
+
|
|
4942
|
+
|
|
4943
|
+
class WebpushAuthInvalid(BadRequest):
|
|
4944
|
+
"""The specified web push authentication secret is invalid."""
|
|
4945
|
+
ID = "WEBPUSH_AUTH_INVALID"
|
|
4946
|
+
"""``str``: RPC Error ID"""
|
|
4947
|
+
MESSAGE = __doc__
|
|
4948
|
+
|
|
4949
|
+
|
|
4950
|
+
class WebpushKeyInvalid(BadRequest):
|
|
4951
|
+
"""The specified web push elliptic curve Diffie-Hellman public key is invalid."""
|
|
4952
|
+
ID = "WEBPUSH_KEY_INVALID"
|
|
4953
|
+
"""``str``: RPC Error ID"""
|
|
4954
|
+
MESSAGE = __doc__
|
|
4955
|
+
|
|
4956
|
+
|
|
4957
|
+
class WebpushTokenInvalid(BadRequest):
|
|
4958
|
+
"""The specified web push token is invalid."""
|
|
4959
|
+
ID = "WEBPUSH_TOKEN_INVALID"
|
|
4960
|
+
"""``str``: RPC Error ID"""
|
|
4961
|
+
MESSAGE = __doc__
|
|
4962
|
+
|
|
4963
|
+
|
|
4964
|
+
class YouBlockedUser(BadRequest):
|
|
4965
|
+
"""You blocked this user."""
|
|
4966
|
+
ID = "YOU_BLOCKED_USER"
|
|
4967
|
+
"""``str``: RPC Error ID"""
|
|
4968
|
+
MESSAGE = __doc__
|
|
4969
|
+
|
|
4970
|
+
|