pyronext 0.3.230__tar.gz
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.
- pyronext-0.3.230/.gitignore +26 -0
- pyronext-0.3.230/AGENTS.md +16 -0
- pyronext-0.3.230/LICENSE +21 -0
- pyronext-0.3.230/MANIFEST.in +11 -0
- pyronext-0.3.230/Makefile +46 -0
- pyronext-0.3.230/PKG-INFO +35 -0
- pyronext-0.3.230/README.md +52 -0
- pyronext-0.3.230/build-docs.sh +40 -0
- pyronext-0.3.230/compiler/__init__.py +0 -0
- pyronext-0.3.230/compiler/api/__init__.py +0 -0
- pyronext-0.3.230/compiler/api/compiler.py +666 -0
- pyronext-0.3.230/compiler/api/docs.json +20085 -0
- pyronext-0.3.230/compiler/api/scrape_docs.py +180 -0
- pyronext-0.3.230/compiler/api/source/auth_key.tl +36 -0
- pyronext-0.3.230/compiler/api/source/main_api.tl +3124 -0
- pyronext-0.3.230/compiler/api/source/sys_msgs.tl +50 -0
- pyronext-0.3.230/compiler/api/template/combinator.txt +35 -0
- pyronext-0.3.230/compiler/api/template/type.txt +14 -0
- pyronext-0.3.230/compiler/docs/__init__.py +0 -0
- pyronext-0.3.230/compiler/docs/compiler.py +534 -0
- pyronext-0.3.230/compiler/docs/template/page.txt +22 -0
- pyronext-0.3.230/compiler/docs/template/toctree.txt +9 -0
- pyronext-0.3.230/compiler/docs/tl_generator.py +421 -0
- pyronext-0.3.230/compiler/errors/__init__.py +0 -0
- pyronext-0.3.230/compiler/errors/compiler.py +126 -0
- pyronext-0.3.230/compiler/errors/sort.py +67 -0
- pyronext-0.3.230/compiler/errors/source/303_SEE_OTHER.tsv +6 -0
- pyronext-0.3.230/compiler/errors/source/400_BAD_REQUEST.tsv +650 -0
- pyronext-0.3.230/compiler/errors/source/401_UNAUTHORIZED.tsv +10 -0
- pyronext-0.3.230/compiler/errors/source/403_FORBIDDEN.tsv +58 -0
- pyronext-0.3.230/compiler/errors/source/406_NOT_ACCEPTABLE.tsv +36 -0
- pyronext-0.3.230/compiler/errors/source/420_FLOOD.tsv +11 -0
- pyronext-0.3.230/compiler/errors/source/500_INTERNAL_SERVER_ERROR.tsv +56 -0
- pyronext-0.3.230/compiler/errors/source/503_SERVICE_UNAVAILABLE.tsv +4 -0
- pyronext-0.3.230/compiler/errors/template/class.txt +11 -0
- pyronext-0.3.230/compiler/errors/template/sub_class.txt +5 -0
- pyronext-0.3.230/dev_tools/check_api_schema_updates.py +232 -0
- pyronext-0.3.230/docs/source/_includes/usable-by/bots.rst +7 -0
- pyronext-0.3.230/docs/source/_includes/usable-by/users-bots.rst +7 -0
- pyronext-0.3.230/docs/source/_includes/usable-by/users.rst +7 -0
- pyronext-0.3.230/docs/source/_static/css/all.min.css +1 -0
- pyronext-0.3.230/docs/source/_static/css/custom.css +169 -0
- pyronext-0.3.230/docs/source/_static/fav.svg +14 -0
- pyronext-0.3.230/docs/source/api/client.rst +24 -0
- pyronext-0.3.230/docs/source/api/decorators.rst +84 -0
- pyronext-0.3.230/docs/source/api/enums/AccentColor.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/BusinessSchedule.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/ButtonStyle.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/ChatAction.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/ChatEventAction.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/ChatJoinType.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/ChatMemberStatus.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/ChatMembersFilter.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/ChatType.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/ClientPlatform.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/FolderColor.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/ListenerTypes.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/MessageEntityType.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/MessageMediaType.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/MessageServiceType.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/MessagesFilter.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/NextCodeType.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/ParseMode.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/PollType.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/PrivacyKey.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/ProfileColor.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/ReactionType.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/ReplyColor.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/SentCodeType.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/StoriesPrivacyRules.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/StoryPrivacy.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/UserStatus.rst +5 -0
- pyronext-0.3.230/docs/source/api/enums/index.rst +168 -0
- pyronext-0.3.230/docs/source/api/errors/bad-request.rst +7 -0
- pyronext-0.3.230/docs/source/api/errors/flood.rst +7 -0
- pyronext-0.3.230/docs/source/api/errors/forbidden.rst +7 -0
- pyronext-0.3.230/docs/source/api/errors/index.rst +37 -0
- pyronext-0.3.230/docs/source/api/errors/internal-server-error.rst +7 -0
- pyronext-0.3.230/docs/source/api/errors/not-acceptable.rst +7 -0
- pyronext-0.3.230/docs/source/api/errors/see-other.rst +7 -0
- pyronext-0.3.230/docs/source/api/errors/unauthorized.rst +7 -0
- pyronext-0.3.230/docs/source/api/filters.rst +11 -0
- pyronext-0.3.230/docs/source/api/handlers.rst +82 -0
- pyronext-0.3.230/docs/source/conf.py +145 -0
- pyronext-0.3.230/docs/source/faq/client-started-but-nothing-happens.rst +11 -0
- pyronext-0.3.230/docs/source/faq/code-hangs-when-calling-stop-restart-add-remove-handler.rst +12 -0
- pyronext-0.3.230/docs/source/faq/how-to-avoid-flood-waits.rst +23 -0
- pyronext-0.3.230/docs/source/faq/how-to-use-webhooks.rst +9 -0
- pyronext-0.3.230/docs/source/faq/index.rst +45 -0
- pyronext-0.3.230/docs/source/faq/migrating-the-account-to-another-data-center.rst +10 -0
- pyronext-0.3.230/docs/source/faq/peer-id-invalid-error.rst +14 -0
- pyronext-0.3.230/docs/source/faq/socket-send-oserror-timeouterror-connection-lost-reset.rst +10 -0
- pyronext-0.3.230/docs/source/faq/sqlite3-interfaceerror-error-binding-parameter.rst +13 -0
- pyronext-0.3.230/docs/source/faq/sqlite3-operationalerror-database-is-locked.rst +17 -0
- pyronext-0.3.230/docs/source/faq/the-account-has-been-limited-deactivated.rst +16 -0
- pyronext-0.3.230/docs/source/faq/unicodeencodeerror-codec-cant-encode.rst +7 -0
- pyronext-0.3.230/docs/source/faq/uploading-with-urls-gives-error-webpage-curl-failed.rst +7 -0
- pyronext-0.3.230/docs/source/faq/using-multiple-clients-at-once-on-the-same-account.rst +7 -0
- pyronext-0.3.230/docs/source/faq/using-the-same-file-id-across-different-accounts.rst +6 -0
- pyronext-0.3.230/docs/source/faq/what-are-the-ip-addresses-of-telegram-data-centers.rst +30 -0
- pyronext-0.3.230/docs/source/faq/why-is-the-api-key-needed-for-bots.rst +12 -0
- pyronext-0.3.230/docs/source/faq/why-is-the-client-reacting-slowly-in-supergroups-channels.rst +18 -0
- pyronext-0.3.230/docs/source/index.rst +139 -0
- pyronext-0.3.230/docs/source/intro/install.rst +35 -0
- pyronext-0.3.230/docs/source/intro/quickstart.rst +50 -0
- pyronext-0.3.230/docs/source/start/auth.rst +93 -0
- pyronext-0.3.230/docs/source/start/errors.rst +101 -0
- pyronext-0.3.230/docs/source/start/examples/bot_keyboards.rst +68 -0
- pyronext-0.3.230/docs/source/start/examples/callback_queries.rst +21 -0
- pyronext-0.3.230/docs/source/start/examples/echo_bot.rst +21 -0
- pyronext-0.3.230/docs/source/start/examples/get_chat_history.rst +20 -0
- pyronext-0.3.230/docs/source/start/examples/get_chat_members.rst +22 -0
- pyronext-0.3.230/docs/source/start/examples/get_dialogs.rst +19 -0
- pyronext-0.3.230/docs/source/start/examples/hello_world.rst +20 -0
- pyronext-0.3.230/docs/source/start/examples/index.rst +46 -0
- pyronext-0.3.230/docs/source/start/examples/inline_queries.rst +59 -0
- pyronext-0.3.230/docs/source/start/examples/raw_updates.rst +18 -0
- pyronext-0.3.230/docs/source/start/examples/use_inline_bots.rst +25 -0
- pyronext-0.3.230/docs/source/start/examples/welcome_bot.rst +30 -0
- pyronext-0.3.230/docs/source/start/invoking.rst +110 -0
- pyronext-0.3.230/docs/source/start/setup.rst +40 -0
- pyronext-0.3.230/docs/source/start/updates.rst +78 -0
- pyronext-0.3.230/docs/source/support.rst +41 -0
- pyronext-0.3.230/docs/source/topics/advanced-usage.rst +124 -0
- pyronext-0.3.230/docs/source/topics/client-settings.rst +46 -0
- pyronext-0.3.230/docs/source/topics/create-filters.rst +109 -0
- pyronext-0.3.230/docs/source/topics/debugging.rst +122 -0
- pyronext-0.3.230/docs/source/topics/more-on-updates.rst +226 -0
- pyronext-0.3.230/docs/source/topics/mtproto-vs-botapi.rst +109 -0
- pyronext-0.3.230/docs/source/topics/proxy.rst +34 -0
- pyronext-0.3.230/docs/source/topics/scheduling.rst +40 -0
- pyronext-0.3.230/docs/source/topics/serializing.rst +56 -0
- pyronext-0.3.230/docs/source/topics/smart-plugins.rst +306 -0
- pyronext-0.3.230/docs/source/topics/storage-engines.rst +124 -0
- pyronext-0.3.230/docs/source/topics/test-servers.rst +41 -0
- pyronext-0.3.230/docs/source/topics/text-formatting.rst +248 -0
- pyronext-0.3.230/docs/source/topics/use-filters.rst +114 -0
- pyronext-0.3.230/docs/source/topics/voice-calls.rst +19 -0
- pyronext-0.3.230/hatch_build.py +20 -0
- pyronext-0.3.230/pyproject.toml +140 -0
- pyronext-0.3.230/pyrogram/__init__.py +43 -0
- pyronext-0.3.230/pyrogram/client.py +1303 -0
- pyronext-0.3.230/pyrogram/connection/__init__.py +5 -0
- pyronext-0.3.230/pyrogram/connection/connection.py +72 -0
- pyronext-0.3.230/pyrogram/connection/transport/__init__.py +3 -0
- pyronext-0.3.230/pyrogram/connection/transport/tcp/__init__.py +18 -0
- pyronext-0.3.230/pyrogram/connection/transport/tcp/tcp.py +140 -0
- pyronext-0.3.230/pyrogram/connection/transport/tcp/tcp_abridged.py +43 -0
- pyronext-0.3.230/pyrogram/connection/transport/tcp/tcp_abridged_o.py +96 -0
- pyronext-0.3.230/pyrogram/connection/transport/tcp/tcp_full.py +48 -0
- pyronext-0.3.230/pyrogram/connection/transport/tcp/tcp_intermediate.py +29 -0
- pyronext-0.3.230/pyrogram/connection/transport/tcp/tcp_intermediate_o.py +71 -0
- pyronext-0.3.230/pyrogram/crypto/__init__.py +0 -0
- pyronext-0.3.230/pyrogram/crypto/aes.py +41 -0
- pyronext-0.3.230/pyrogram/crypto/mtproto.py +96 -0
- pyronext-0.3.230/pyrogram/crypto/prime.py +65 -0
- pyronext-0.3.230/pyrogram/crypto/rsa.py +146 -0
- pyronext-0.3.230/pyrogram/dispatcher.py +555 -0
- pyronext-0.3.230/pyrogram/enums/__init__.py +59 -0
- pyronext-0.3.230/pyrogram/enums/accent_color.py +81 -0
- pyronext-0.3.230/pyrogram/enums/auto_name.py +12 -0
- pyronext-0.3.230/pyrogram/enums/business_schedule.py +18 -0
- pyronext-0.3.230/pyrogram/enums/button_style.py +21 -0
- pyronext-0.3.230/pyrogram/enums/chat_action.py +66 -0
- pyronext-0.3.230/pyrogram/enums/chat_event_action.py +141 -0
- pyronext-0.3.230/pyrogram/enums/chat_join_type.py +18 -0
- pyronext-0.3.230/pyrogram/enums/chat_member_status.py +27 -0
- pyronext-0.3.230/pyrogram/enums/chat_members_filter.py +27 -0
- pyronext-0.3.230/pyrogram/enums/chat_type.py +24 -0
- pyronext-0.3.230/pyrogram/enums/client_platform.py +33 -0
- pyronext-0.3.230/pyrogram/enums/folder_color.py +31 -0
- pyronext-0.3.230/pyrogram/enums/listener_types.py +15 -0
- pyronext-0.3.230/pyrogram/enums/message_entity_type.py +72 -0
- pyronext-0.3.230/pyrogram/enums/message_media_type.py +69 -0
- pyronext-0.3.230/pyrogram/enums/message_service_type.py +114 -0
- pyronext-0.3.230/pyrogram/enums/messages_filter.py +60 -0
- pyronext-0.3.230/pyrogram/enums/next_code_type.py +24 -0
- pyronext-0.3.230/pyrogram/enums/parse_mode.py +21 -0
- pyronext-0.3.230/pyrogram/enums/poll_type.py +15 -0
- pyronext-0.3.230/pyrogram/enums/privacy_key.py +42 -0
- pyronext-0.3.230/pyrogram/enums/profile_color.py +55 -0
- pyronext-0.3.230/pyrogram/enums/reaction_type.py +15 -0
- pyronext-0.3.230/pyrogram/enums/reply_color.py +77 -0
- pyronext-0.3.230/pyrogram/enums/sent_code_type.py +30 -0
- pyronext-0.3.230/pyrogram/enums/stories_privacy_rules.py +24 -0
- pyronext-0.3.230/pyrogram/enums/story_privacy.py +24 -0
- pyronext-0.3.230/pyrogram/enums/user_status.py +27 -0
- pyronext-0.3.230/pyrogram/errors/__init__.py +58 -0
- pyronext-0.3.230/pyrogram/errors/rpc_error.py +102 -0
- pyronext-0.3.230/pyrogram/file_id.py +503 -0
- pyronext-0.3.230/pyrogram/filters.py +954 -0
- pyronext-0.3.230/pyrogram/handlers/__init__.py +51 -0
- pyronext-0.3.230/pyrogram/handlers/bot_business_connect_handler.py +36 -0
- pyronext-0.3.230/pyrogram/handlers/bot_business_message_handler.py +36 -0
- pyronext-0.3.230/pyrogram/handlers/callback_query_handler.py +36 -0
- pyronext-0.3.230/pyrogram/handlers/chat_join_request_handler.py +36 -0
- pyronext-0.3.230/pyrogram/handlers/chat_member_updated_handler.py +36 -0
- pyronext-0.3.230/pyrogram/handlers/chosen_inline_result_handler.py +37 -0
- pyronext-0.3.230/pyrogram/handlers/conversation_handler.py +69 -0
- pyronext-0.3.230/pyrogram/handlers/deleted_bot_business_messages_handler.py +49 -0
- pyronext-0.3.230/pyrogram/handlers/deleted_messages_handler.py +51 -0
- pyronext-0.3.230/pyrogram/handlers/disconnect_handler.py +30 -0
- pyronext-0.3.230/pyrogram/handlers/edited_bot_business_message_handler.py +36 -0
- pyronext-0.3.230/pyrogram/handlers/edited_message_handler.py +36 -0
- pyronext-0.3.230/pyrogram/handlers/handler.py +30 -0
- pyronext-0.3.230/pyrogram/handlers/inline_query_handler.py +36 -0
- pyronext-0.3.230/pyrogram/handlers/message_handler.py +36 -0
- pyronext-0.3.230/pyrogram/handlers/message_reaction_count_updated_handler.py +38 -0
- pyronext-0.3.230/pyrogram/handlers/message_reaction_updated_handler.py +38 -0
- pyronext-0.3.230/pyrogram/handlers/poll_handler.py +37 -0
- pyronext-0.3.230/pyrogram/handlers/pre_checkout_query_handler.py +37 -0
- pyronext-0.3.230/pyrogram/handlers/raw_update_handler.py +54 -0
- pyronext-0.3.230/pyrogram/handlers/shipping_query_handler.py +38 -0
- pyronext-0.3.230/pyrogram/handlers/story_handler.py +36 -0
- pyronext-0.3.230/pyrogram/handlers/user_status_handler.py +34 -0
- pyronext-0.3.230/pyrogram/methods/__init__.py +37 -0
- pyronext-0.3.230/pyrogram/methods/account/__init__.py +10 -0
- pyronext-0.3.230/pyrogram/methods/account/get_account_ttl.py +26 -0
- pyronext-0.3.230/pyrogram/methods/account/get_privacy.py +36 -0
- pyronext-0.3.230/pyrogram/methods/account/set_account_ttl.py +30 -0
- pyronext-0.3.230/pyrogram/methods/account/set_privacy.py +57 -0
- pyronext-0.3.230/pyrogram/methods/advanced/__init__.py +9 -0
- pyronext-0.3.230/pyrogram/methods/advanced/invoke.py +83 -0
- pyronext-0.3.230/pyrogram/methods/advanced/resolve_peer.py +112 -0
- pyronext-0.3.230/pyrogram/methods/advanced/save_file.py +264 -0
- pyronext-0.3.230/pyrogram/methods/auth/__init__.py +43 -0
- pyronext-0.3.230/pyrogram/methods/auth/accept_terms_of_service.py +26 -0
- pyronext-0.3.230/pyrogram/methods/auth/check_password.py +42 -0
- pyronext-0.3.230/pyrogram/methods/auth/connect.py +41 -0
- pyronext-0.3.230/pyrogram/methods/auth/disconnect.py +27 -0
- pyronext-0.3.230/pyrogram/methods/auth/get_active_sessions.py +17 -0
- pyronext-0.3.230/pyrogram/methods/auth/get_password_hint.py +22 -0
- pyronext-0.3.230/pyrogram/methods/auth/initialize.py +38 -0
- pyronext-0.3.230/pyrogram/methods/auth/log_out.py +35 -0
- pyronext-0.3.230/pyrogram/methods/auth/recover_password.py +36 -0
- pyronext-0.3.230/pyrogram/methods/auth/resend_code.py +47 -0
- pyronext-0.3.230/pyrogram/methods/auth/reset_session.py +18 -0
- pyronext-0.3.230/pyrogram/methods/auth/reset_sessions.py +16 -0
- pyronext-0.3.230/pyrogram/methods/auth/send_code.py +65 -0
- pyronext-0.3.230/pyrogram/methods/auth/send_recovery_code.py +27 -0
- pyronext-0.3.230/pyrogram/methods/auth/sign_in.py +63 -0
- pyronext-0.3.230/pyrogram/methods/auth/sign_in_bot.py +67 -0
- pyronext-0.3.230/pyrogram/methods/auth/sign_up.py +56 -0
- pyronext-0.3.230/pyrogram/methods/auth/terminate.py +45 -0
- pyronext-0.3.230/pyrogram/methods/bots/__init__.py +45 -0
- pyronext-0.3.230/pyrogram/methods/bots/answer_callback_query.py +65 -0
- pyronext-0.3.230/pyrogram/methods/bots/answer_inline_query.py +102 -0
- pyronext-0.3.230/pyrogram/methods/bots/answer_web_app_query.py +39 -0
- pyronext-0.3.230/pyrogram/methods/bots/delete_bot_commands.py +48 -0
- pyronext-0.3.230/pyrogram/methods/bots/get_bot_commands.py +51 -0
- pyronext-0.3.230/pyrogram/methods/bots/get_bot_default_privileges.py +42 -0
- pyronext-0.3.230/pyrogram/methods/bots/get_bot_info.py +46 -0
- pyronext-0.3.230/pyrogram/methods/bots/get_chat_menu_button.py +52 -0
- pyronext-0.3.230/pyrogram/methods/bots/get_collectible_item_info.py +50 -0
- pyronext-0.3.230/pyrogram/methods/bots/get_game_high_scores.py +64 -0
- pyronext-0.3.230/pyrogram/methods/bots/get_inline_bot_results.py +76 -0
- pyronext-0.3.230/pyrogram/methods/bots/request_callback_answer.py +89 -0
- pyronext-0.3.230/pyrogram/methods/bots/send_game.py +209 -0
- pyronext-0.3.230/pyrogram/methods/bots/send_inline_bot_result.py +113 -0
- pyronext-0.3.230/pyrogram/methods/bots/set_bot_commands.py +56 -0
- pyronext-0.3.230/pyrogram/methods/bots/set_bot_default_privileges.py +68 -0
- pyronext-0.3.230/pyrogram/methods/bots/set_bot_info.py +51 -0
- pyronext-0.3.230/pyrogram/methods/bots/set_chat_menu_button.py +42 -0
- pyronext-0.3.230/pyrogram/methods/bots/set_game_score.py +96 -0
- pyronext-0.3.230/pyrogram/methods/business/__init__.py +37 -0
- pyronext-0.3.230/pyrogram/methods/business/answer_pre_checkout_query.py +48 -0
- pyronext-0.3.230/pyrogram/methods/business/answer_shipping_query.py +64 -0
- pyronext-0.3.230/pyrogram/methods/business/create_invoice_link.py +149 -0
- pyronext-0.3.230/pyrogram/methods/business/get_available_gifts.py +25 -0
- pyronext-0.3.230/pyrogram/methods/business/get_business_connection.py +35 -0
- pyronext-0.3.230/pyrogram/methods/business/get_payment_form.py +63 -0
- pyronext-0.3.230/pyrogram/methods/business/get_stars_transactions.py +76 -0
- pyronext-0.3.230/pyrogram/methods/business/get_stars_transactions_by_id.py +70 -0
- pyronext-0.3.230/pyrogram/methods/business/get_user_gifts.py +83 -0
- pyronext-0.3.230/pyrogram/methods/business/refund_stars_charge.py +42 -0
- pyronext-0.3.230/pyrogram/methods/business/sell_gift.py +45 -0
- pyronext-0.3.230/pyrogram/methods/business/send_gift.py +86 -0
- pyronext-0.3.230/pyrogram/methods/business/send_invoice.py +234 -0
- pyronext-0.3.230/pyrogram/methods/business/send_payment_form.py +84 -0
- pyronext-0.3.230/pyrogram/methods/business/toggle_gift_is_saved.py +49 -0
- pyronext-0.3.230/pyrogram/methods/chats/__init__.py +117 -0
- pyronext-0.3.230/pyrogram/methods/chats/add_chat_members.py +85 -0
- pyronext-0.3.230/pyrogram/methods/chats/archive_chats.py +50 -0
- pyronext-0.3.230/pyrogram/methods/chats/ban_chat_member.py +127 -0
- pyronext-0.3.230/pyrogram/methods/chats/close_forum_topic.py +40 -0
- pyronext-0.3.230/pyrogram/methods/chats/close_general_topic.py +33 -0
- pyronext-0.3.230/pyrogram/methods/chats/create_channel.py +40 -0
- pyronext-0.3.230/pyrogram/methods/chats/create_forum_topic.py +51 -0
- pyronext-0.3.230/pyrogram/methods/chats/create_group.py +53 -0
- pyronext-0.3.230/pyrogram/methods/chats/create_supergroup.py +44 -0
- pyronext-0.3.230/pyrogram/methods/chats/delete_channel.py +38 -0
- pyronext-0.3.230/pyrogram/methods/chats/delete_chat_photo.py +54 -0
- pyronext-0.3.230/pyrogram/methods/chats/delete_folder.py +28 -0
- pyronext-0.3.230/pyrogram/methods/chats/delete_forum_topic.py +43 -0
- pyronext-0.3.230/pyrogram/methods/chats/delete_supergroup.py +38 -0
- pyronext-0.3.230/pyrogram/methods/chats/delete_user_history.py +47 -0
- pyronext-0.3.230/pyrogram/methods/chats/edit_forum_topic.py +49 -0
- pyronext-0.3.230/pyrogram/methods/chats/edit_general_topic.py +40 -0
- pyronext-0.3.230/pyrogram/methods/chats/export_folder_link.py +55 -0
- pyronext-0.3.230/pyrogram/methods/chats/get_chat.py +78 -0
- pyronext-0.3.230/pyrogram/methods/chats/get_chat_event_log.py +105 -0
- pyronext-0.3.230/pyrogram/methods/chats/get_chat_member.py +76 -0
- pyronext-0.3.230/pyrogram/methods/chats/get_chat_members.py +151 -0
- pyronext-0.3.230/pyrogram/methods/chats/get_chat_members_count.py +59 -0
- pyronext-0.3.230/pyrogram/methods/chats/get_chat_online_count.py +36 -0
- pyronext-0.3.230/pyrogram/methods/chats/get_dialogs.py +110 -0
- pyronext-0.3.230/pyrogram/methods/chats/get_dialogs_count.py +56 -0
- pyronext-0.3.230/pyrogram/methods/chats/get_folders.py +95 -0
- pyronext-0.3.230/pyrogram/methods/chats/get_forum_topics.py +60 -0
- pyronext-0.3.230/pyrogram/methods/chats/get_forum_topics_by_id.py +74 -0
- pyronext-0.3.230/pyrogram/methods/chats/get_send_as_chats.py +51 -0
- pyronext-0.3.230/pyrogram/methods/chats/hide_general_topic.py +33 -0
- pyronext-0.3.230/pyrogram/methods/chats/join_chat.py +57 -0
- pyronext-0.3.230/pyrogram/methods/chats/leave_chat.py +64 -0
- pyronext-0.3.230/pyrogram/methods/chats/mark_chat_unread.py +32 -0
- pyronext-0.3.230/pyrogram/methods/chats/pin_chat_message.py +67 -0
- pyronext-0.3.230/pyrogram/methods/chats/promote_chat_member.py +112 -0
- pyronext-0.3.230/pyrogram/methods/chats/reopen_forum_topic.py +40 -0
- pyronext-0.3.230/pyrogram/methods/chats/reopen_general_topic.py +36 -0
- pyronext-0.3.230/pyrogram/methods/chats/restrict_chat_member.py +256 -0
- pyronext-0.3.230/pyrogram/methods/chats/set_administrator_title.py +84 -0
- pyronext-0.3.230/pyrogram/methods/chats/set_chat_description.py +49 -0
- pyronext-0.3.230/pyrogram/methods/chats/set_chat_permissions.py +231 -0
- pyronext-0.3.230/pyrogram/methods/chats/set_chat_photo.py +113 -0
- pyronext-0.3.230/pyrogram/methods/chats/set_chat_protected_content.py +36 -0
- pyronext-0.3.230/pyrogram/methods/chats/set_chat_title.py +65 -0
- pyronext-0.3.230/pyrogram/methods/chats/set_chat_username.py +54 -0
- pyronext-0.3.230/pyrogram/methods/chats/set_send_as_chat.py +48 -0
- pyronext-0.3.230/pyrogram/methods/chats/set_slow_mode.py +51 -0
- pyronext-0.3.230/pyrogram/methods/chats/unarchive_chats.py +55 -0
- pyronext-0.3.230/pyrogram/methods/chats/unban_chat_member.py +53 -0
- pyronext-0.3.230/pyrogram/methods/chats/unhide_general_topic.py +36 -0
- pyronext-0.3.230/pyrogram/methods/chats/unpin_all_chat_messages.py +38 -0
- pyronext-0.3.230/pyrogram/methods/chats/unpin_chat_message.py +44 -0
- pyronext-0.3.230/pyrogram/methods/chats/update_color.py +63 -0
- pyronext-0.3.230/pyrogram/methods/chats/update_folder.py +129 -0
- pyronext-0.3.230/pyrogram/methods/contacts/__init__.py +19 -0
- pyronext-0.3.230/pyrogram/methods/contacts/add_contact.py +60 -0
- pyronext-0.3.230/pyrogram/methods/contacts/delete_contacts.py +47 -0
- pyronext-0.3.230/pyrogram/methods/contacts/get_contacts.py +29 -0
- pyronext-0.3.230/pyrogram/methods/contacts/get_contacts_count.py +25 -0
- pyronext-0.3.230/pyrogram/methods/contacts/import_contacts.py +35 -0
- pyronext-0.3.230/pyrogram/methods/contacts/search_contacts.py +36 -0
- pyronext-0.3.230/pyrogram/methods/decorators/__init__.py +53 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_bot_business_connect.py +47 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_bot_business_message.py +47 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_callback_query.py +47 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_chat_join_request.py +46 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_chat_member_updated.py +46 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_chosen_inline_result.py +47 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_deleted_bot_business_messages.py +57 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_deleted_messages.py +47 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_disconnect.py +30 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_edited_bot_business_message.py +54 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_edited_message.py +47 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_inline_query.py +47 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_message.py +47 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_message_reaction_count_updated.py +56 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_message_reaction_updated.py +50 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_poll.py +47 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_pre_checkout_query.py +51 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_raw_update.py +36 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_shipping_query.py +52 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_story.py +47 -0
- pyronext-0.3.230/pyrogram/methods/decorators/on_user_status.py +45 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/__init__.py +47 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/approve_all_chat_join_requests.py +38 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/approve_chat_join_request.py +41 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/create_chat_invite_link.py +73 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/decline_all_chat_join_requests.py +38 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/decline_chat_join_request.py +41 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/delete_chat_admin_invite_links.py +38 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/delete_chat_invite_link.py +35 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/edit_chat_invite_link.py +78 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/export_chat_invite_link.py +60 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_admin_invite_links.py +88 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_admin_invite_links_count.py +46 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_admins_with_invite_links.py +42 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_invite_link.py +38 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_invite_link_joiners.py +74 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_invite_link_joiners_count.py +39 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_join_requests.py +75 -0
- pyronext-0.3.230/pyrogram/methods/invite_links/revoke_chat_invite_link.py +50 -0
- pyronext-0.3.230/pyrogram/methods/messages/__init__.py +127 -0
- pyronext-0.3.230/pyrogram/methods/messages/copy_media_group.py +164 -0
- pyronext-0.3.230/pyrogram/methods/messages/copy_message.py +186 -0
- pyronext-0.3.230/pyrogram/methods/messages/delete_chat_history.py +85 -0
- pyronext-0.3.230/pyrogram/methods/messages/delete_messages.py +74 -0
- pyronext-0.3.230/pyrogram/methods/messages/delete_scheduled_messages.py +59 -0
- pyronext-0.3.230/pyrogram/methods/messages/download_media.py +195 -0
- pyronext-0.3.230/pyrogram/methods/messages/edit_inline_caption.py +56 -0
- pyronext-0.3.230/pyrogram/methods/messages/edit_inline_media.py +301 -0
- pyronext-0.3.230/pyrogram/methods/messages/edit_inline_reply_markup.py +54 -0
- pyronext-0.3.230/pyrogram/methods/messages/edit_inline_text.py +82 -0
- pyronext-0.3.230/pyrogram/methods/messages/edit_message_caption.py +73 -0
- pyronext-0.3.230/pyrogram/methods/messages/edit_message_media.py +407 -0
- pyronext-0.3.230/pyrogram/methods/messages/edit_message_reply_markup.py +76 -0
- pyronext-0.3.230/pyrogram/methods/messages/edit_message_text.py +143 -0
- pyronext-0.3.230/pyrogram/methods/messages/forward_messages.py +179 -0
- pyronext-0.3.230/pyrogram/methods/messages/get_available_effects.py +41 -0
- pyronext-0.3.230/pyrogram/methods/messages/get_chat_history.py +125 -0
- pyronext-0.3.230/pyrogram/methods/messages/get_chat_history_count.py +55 -0
- pyronext-0.3.230/pyrogram/methods/messages/get_custom_emoji_stickers.py +44 -0
- pyronext-0.3.230/pyrogram/methods/messages/get_discussion_message.py +47 -0
- pyronext-0.3.230/pyrogram/methods/messages/get_discussion_replies.py +80 -0
- pyronext-0.3.230/pyrogram/methods/messages/get_discussion_replies_count.py +45 -0
- pyronext-0.3.230/pyrogram/methods/messages/get_media_group.py +66 -0
- pyronext-0.3.230/pyrogram/methods/messages/get_messages.py +190 -0
- pyronext-0.3.230/pyrogram/methods/messages/get_scheduled_messages.py +72 -0
- pyronext-0.3.230/pyrogram/methods/messages/inline_session.py +51 -0
- pyronext-0.3.230/pyrogram/methods/messages/read_chat_history.py +57 -0
- pyronext-0.3.230/pyrogram/methods/messages/retract_vote.py +43 -0
- pyronext-0.3.230/pyrogram/methods/messages/search_global.py +101 -0
- pyronext-0.3.230/pyrogram/methods/messages/search_global_count.py +45 -0
- pyronext-0.3.230/pyrogram/methods/messages/search_global_hashtag_messages.py +91 -0
- pyronext-0.3.230/pyrogram/methods/messages/search_global_hashtag_messages_count.py +38 -0
- pyronext-0.3.230/pyrogram/methods/messages/search_messages.py +140 -0
- pyronext-0.3.230/pyrogram/methods/messages/search_messages_count.py +69 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_animation.py +418 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_audio.py +314 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_cached_media.py +227 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_chat_action.py +123 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_contact.py +225 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_dice.py +173 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_document.py +300 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_location.py +217 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_media_group.py +654 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_message.py +324 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_message_draft.py +85 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_paid_media.py +320 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_paid_reaction.py +63 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_photo.py +346 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_poll.py +314 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_reaction.py +116 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_rich_message.py +236 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_sticker.py +260 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_venue.py +230 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_video.py +394 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_video_note.py +289 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_voice.py +273 -0
- pyronext-0.3.230/pyrogram/methods/messages/send_web_page.py +219 -0
- pyronext-0.3.230/pyrogram/methods/messages/stop_poll.py +70 -0
- pyronext-0.3.230/pyrogram/methods/messages/stream_media.py +103 -0
- pyronext-0.3.230/pyrogram/methods/messages/translate_text.py +111 -0
- pyronext-0.3.230/pyrogram/methods/messages/vote_poll.py +55 -0
- pyronext-0.3.230/pyrogram/methods/password/__init__.py +9 -0
- pyronext-0.3.230/pyrogram/methods/password/change_cloud_password.py +71 -0
- pyronext-0.3.230/pyrogram/methods/password/enable_cloud_password.py +72 -0
- pyronext-0.3.230/pyrogram/methods/password/remove_cloud_password.py +45 -0
- pyronext-0.3.230/pyrogram/methods/stickers/__init__.py +9 -0
- pyronext-0.3.230/pyrogram/methods/stickers/add_sticker_to_set.py +65 -0
- pyronext-0.3.230/pyrogram/methods/stickers/create_sticker_set.py +85 -0
- pyronext-0.3.230/pyrogram/methods/stickers/get_sticker_set.py +37 -0
- pyronext-0.3.230/pyrogram/methods/stories/__init__.py +25 -0
- pyronext-0.3.230/pyrogram/methods/stories/delete_stories.py +64 -0
- pyronext-0.3.230/pyrogram/methods/stories/edit_story.py +265 -0
- pyronext-0.3.230/pyrogram/methods/stories/export_story_link.py +53 -0
- pyronext-0.3.230/pyrogram/methods/stories/forward_story.py +109 -0
- pyronext-0.3.230/pyrogram/methods/stories/get_all_stories.py +43 -0
- pyronext-0.3.230/pyrogram/methods/stories/get_peer_stories.py +54 -0
- pyronext-0.3.230/pyrogram/methods/stories/get_stories.py +82 -0
- pyronext-0.3.230/pyrogram/methods/stories/get_stories_history.py +66 -0
- pyronext-0.3.230/pyrogram/methods/stories/send_story.py +273 -0
- pyronext-0.3.230/pyrogram/methods/users/__init__.py +39 -0
- pyronext-0.3.230/pyrogram/methods/users/block_user.py +32 -0
- pyronext-0.3.230/pyrogram/methods/users/delete_account.py +45 -0
- pyronext-0.3.230/pyrogram/methods/users/delete_profile_photos.py +45 -0
- pyronext-0.3.230/pyrogram/methods/users/get_chat_photos.py +144 -0
- pyronext-0.3.230/pyrogram/methods/users/get_chat_photos_count.py +55 -0
- pyronext-0.3.230/pyrogram/methods/users/get_common_chats.py +49 -0
- pyronext-0.3.230/pyrogram/methods/users/get_default_emoji_statuses.py +26 -0
- pyronext-0.3.230/pyrogram/methods/users/get_me.py +28 -0
- pyronext-0.3.230/pyrogram/methods/users/get_users.py +59 -0
- pyronext-0.3.230/pyrogram/methods/users/set_emoji_status.py +40 -0
- pyronext-0.3.230/pyrogram/methods/users/set_profile_photo.py +59 -0
- pyronext-0.3.230/pyrogram/methods/users/set_username.py +34 -0
- pyronext-0.3.230/pyrogram/methods/users/unblock_user.py +32 -0
- pyronext-0.3.230/pyrogram/methods/users/update_birthday.py +44 -0
- pyronext-0.3.230/pyrogram/methods/users/update_personal_chat.py +34 -0
- pyronext-0.3.230/pyrogram/methods/users/update_profile.py +56 -0
- pyronext-0.3.230/pyrogram/methods/utilities/__init__.py +25 -0
- pyronext-0.3.230/pyrogram/methods/utilities/add_handler.py +51 -0
- pyronext-0.3.230/pyrogram/methods/utilities/compose.py +61 -0
- pyronext-0.3.230/pyrogram/methods/utilities/export_session_string.py +25 -0
- pyronext-0.3.230/pyrogram/methods/utilities/idle.py +73 -0
- pyronext-0.3.230/pyrogram/methods/utilities/listening.py +53 -0
- pyronext-0.3.230/pyrogram/methods/utilities/remove_handler.py +51 -0
- pyronext-0.3.230/pyrogram/methods/utilities/restart.py +56 -0
- pyronext-0.3.230/pyrogram/methods/utilities/run.py +64 -0
- pyronext-0.3.230/pyrogram/methods/utilities/start.py +60 -0
- pyronext-0.3.230/pyrogram/methods/utilities/stop.py +53 -0
- pyronext-0.3.230/pyrogram/methods/utilities/stop_transmission.py +30 -0
- pyronext-0.3.230/pyrogram/mime_types.py +773 -0
- pyronext-0.3.230/pyrogram/parser/__init__.py +5 -0
- pyronext-0.3.230/pyrogram/parser/html.py +248 -0
- pyronext-0.3.230/pyrogram/parser/markdown.py +271 -0
- pyronext-0.3.230/pyrogram/parser/parser.py +60 -0
- pyronext-0.3.230/pyrogram/parser/utils.py +26 -0
- pyronext-0.3.230/pyrogram/py.typed +0 -0
- pyronext-0.3.230/pyrogram/raw/__init__.py +12 -0
- pyronext-0.3.230/pyrogram/raw/core/__init__.py +36 -0
- pyronext-0.3.230/pyrogram/raw/core/future_salt.py +37 -0
- pyronext-0.3.230/pyrogram/raw/core/future_salts.py +47 -0
- pyronext-0.3.230/pyrogram/raw/core/gzip_packed.py +37 -0
- pyronext-0.3.230/pyrogram/raw/core/list.py +10 -0
- pyronext-0.3.230/pyrogram/raw/core/message.py +46 -0
- pyronext-0.3.230/pyrogram/raw/core/msg_container.py +37 -0
- pyronext-0.3.230/pyrogram/raw/core/primitives/__init__.py +22 -0
- pyronext-0.3.230/pyrogram/raw/core/primitives/bool.py +34 -0
- pyronext-0.3.230/pyrogram/raw/core/primitives/bytes.py +33 -0
- pyronext-0.3.230/pyrogram/raw/core/primitives/double.py +18 -0
- pyronext-0.3.230/pyrogram/raw/core/primitives/int.py +36 -0
- pyronext-0.3.230/pyrogram/raw/core/primitives/string.py +19 -0
- pyronext-0.3.230/pyrogram/raw/core/primitives/vector.py +50 -0
- pyronext-0.3.230/pyrogram/raw/core/tl_object.py +73 -0
- pyronext-0.3.230/pyrogram/session/__init__.py +6 -0
- pyronext-0.3.230/pyrogram/session/auth.py +293 -0
- pyronext-0.3.230/pyrogram/session/internals/__init__.py +7 -0
- pyronext-0.3.230/pyrogram/session/internals/data_center.py +68 -0
- pyronext-0.3.230/pyrogram/session/internals/msg_factory.py +23 -0
- pyronext-0.3.230/pyrogram/session/internals/msg_id.py +22 -0
- pyronext-0.3.230/pyrogram/session/internals/seq_no.py +16 -0
- pyronext-0.3.230/pyrogram/session/session.py +611 -0
- pyronext-0.3.230/pyrogram/storage/__init__.py +7 -0
- pyronext-0.3.230/pyrogram/storage/file_storage.py +76 -0
- pyronext-0.3.230/pyrogram/storage/memory_storage.py +87 -0
- pyronext-0.3.230/pyrogram/storage/sqlite_storage.py +278 -0
- pyronext-0.3.230/pyrogram/storage/storage.py +112 -0
- pyronext-0.3.230/pyrogram/types/__init__.py +629 -0
- pyronext-0.3.230/pyrogram/types/authorization/__init__.py +13 -0
- pyronext-0.3.230/pyrogram/types/authorization/active_session.py +171 -0
- pyronext-0.3.230/pyrogram/types/authorization/active_sessions.py +42 -0
- pyronext-0.3.230/pyrogram/types/authorization/sent_code.py +49 -0
- pyronext-0.3.230/pyrogram/types/authorization/terms_of_service.py +51 -0
- pyronext-0.3.230/pyrogram/types/bot_commands/__init__.py +25 -0
- pyronext-0.3.230/pyrogram/types/bot_commands/bot_command.py +33 -0
- pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope.py +61 -0
- pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_all_chat_administrators.py +19 -0
- pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_all_group_chats.py +19 -0
- pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_all_private_chats.py +19 -0
- pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_chat.py +26 -0
- pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_chat_administrators.py +26 -0
- pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_chat_member.py +31 -0
- pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_default.py +21 -0
- pyronext-0.3.230/pyrogram/types/bots/__init__.py +13 -0
- pyronext-0.3.230/pyrogram/types/bots/bot_allowed.py +53 -0
- pyronext-0.3.230/pyrogram/types/bots/bot_app.py +67 -0
- pyronext-0.3.230/pyrogram/types/bots/bot_business_connection.py +71 -0
- pyronext-0.3.230/pyrogram/types/bots/bot_info.py +41 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/__init__.py +96 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/callback_game.py +13 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/callback_query.py +404 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/collectible_item_info.py +63 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/force_reply.py +46 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/game_high_score.py +60 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/inline_keyboard_button.py +299 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/inline_keyboard_button_buy.py +53 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/inline_keyboard_markup.py +63 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/keyboard_button.py +189 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/keyboard_button_style.py +73 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/login_url.py +78 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/menu_button.py +32 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/menu_button_commands.py +19 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/menu_button_default.py +19 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/menu_button_web_app.py +32 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/reply_keyboard_markup.py +95 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/reply_keyboard_remove.py +35 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/request_peer_type_channel.py +54 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/request_peer_type_chat.py +64 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/request_peer_type_user.py +53 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/requested_chat.py +65 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/requested_chats.py +58 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/requested_user.py +65 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/rich_button_style.py +103 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/sent_web_app_message.py +31 -0
- pyronext-0.3.230/pyrogram/types/bots_and_keyboards/web_app_info.py +22 -0
- pyronext-0.3.230/pyrogram/types/business/__init__.py +37 -0
- pyronext-0.3.230/pyrogram/types/business/extended_media_preview.py +53 -0
- pyronext-0.3.230/pyrogram/types/business/input_stars_transaction.py +25 -0
- pyronext-0.3.230/pyrogram/types/business/invoice.py +153 -0
- pyronext-0.3.230/pyrogram/types/business/paid_media.py +96 -0
- pyronext-0.3.230/pyrogram/types/business/paid_media_preview.py +38 -0
- pyronext-0.3.230/pyrogram/types/business/payment_info.py +41 -0
- pyronext-0.3.230/pyrogram/types/business/payment_refunded.py +76 -0
- pyronext-0.3.230/pyrogram/types/business/pre_checkout_query.py +136 -0
- pyronext-0.3.230/pyrogram/types/business/shipping_address.py +46 -0
- pyronext-0.3.230/pyrogram/types/business/shipping_option.py +54 -0
- pyronext-0.3.230/pyrogram/types/business/shipping_query.py +110 -0
- pyronext-0.3.230/pyrogram/types/business/stars_amount.py +44 -0
- pyronext-0.3.230/pyrogram/types/business/stars_status.py +33 -0
- pyronext-0.3.230/pyrogram/types/business/stars_transaction.py +121 -0
- pyronext-0.3.230/pyrogram/types/business/successful_payment.py +101 -0
- pyronext-0.3.230/pyrogram/types/business/suggested_post.py +64 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/__init__.py +59 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/chosen_inline_result.py +95 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query.py +173 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result.py +50 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_animation.py +145 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_article.py +87 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_audio.py +131 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_animation.py +98 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_audio.py +91 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_document.py +103 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_photo.py +101 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_sticker.py +65 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_video.py +104 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_voice.py +98 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_contact.py +103 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_document.py +139 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_location.py +109 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_photo.py +137 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_venue.py +120 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_video.py +143 -0
- pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_voice.py +106 -0
- pyronext-0.3.230/pyrogram/types/input_media/__init__.py +26 -0
- pyronext-0.3.230/pyrogram/types/input_media/input_media.py +36 -0
- pyronext-0.3.230/pyrogram/types/input_media/input_media_animation.py +71 -0
- pyronext-0.3.230/pyrogram/types/input_media/input_media_audio.py +68 -0
- pyronext-0.3.230/pyrogram/types/input_media/input_media_document.py +51 -0
- pyronext-0.3.230/pyrogram/types/input_media/input_media_photo.py +49 -0
- pyronext-0.3.230/pyrogram/types/input_media/input_media_video.py +77 -0
- pyronext-0.3.230/pyrogram/types/input_media/input_phone_contact.py +36 -0
- pyronext-0.3.230/pyrogram/types/input_message_content/__init__.py +79 -0
- pyronext-0.3.230/pyrogram/types/input_message_content/input_contact_message_content.py +52 -0
- pyronext-0.3.230/pyrogram/types/input_message_content/input_invoice_message_content.py +162 -0
- pyronext-0.3.230/pyrogram/types/input_message_content/input_location_message_content.py +66 -0
- pyronext-0.3.230/pyrogram/types/input_message_content/input_message_content.py +28 -0
- pyronext-0.3.230/pyrogram/types/input_message_content/input_reply_to_message.py +68 -0
- pyronext-0.3.230/pyrogram/types/input_message_content/input_reply_to_story.py +34 -0
- pyronext-0.3.230/pyrogram/types/input_message_content/input_rich_block.py +930 -0
- pyronext-0.3.230/pyrogram/types/input_message_content/input_rich_message.py +114 -0
- pyronext-0.3.230/pyrogram/types/input_message_content/input_rich_message_media.py +114 -0
- pyronext-0.3.230/pyrogram/types/input_message_content/input_text_message_content.py +56 -0
- pyronext-0.3.230/pyrogram/types/input_message_content/input_venue_message_content.py +71 -0
- pyronext-0.3.230/pyrogram/types/input_privacy_rule/__init__.py +25 -0
- pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule.py +31 -0
- pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_all.py +21 -0
- pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_chats.py +41 -0
- pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_contacts.py +21 -0
- pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_premium.py +21 -0
- pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_users.py +39 -0
- pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_disallow_all.py +21 -0
- pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_disallow_chats.py +41 -0
- pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_disallow_contacts.py +21 -0
- pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_disallow_users.py +39 -0
- pyronext-0.3.230/pyrogram/types/list.py +15 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/__init__.py +245 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/alternative_video.py +137 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/animation.py +153 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/audio.py +111 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/available_effect.py +74 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/contact.py +62 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/contact_registered.py +12 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/dice.py +37 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/document.py +90 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/draft_message.py +202 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/exported_story_link.py +29 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/fact_check.py +59 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/game.py +82 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/gifted_premium.py +66 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/giveaway.py +97 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/giveaway_launched.py +13 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/giveaway_result.py +121 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/labeled_price.py +26 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/link_preview_options.py +64 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/location.py +39 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/message.py +6072 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/message_entity.py +121 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/message_reaction_count_updated.py +81 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/message_reaction_updated.py +124 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/message_reactions.py +60 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/message_reactor.py +70 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/message_story.py +72 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/payment_form.py +102 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/photo.py +126 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/poll.py +326 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/poll_option.py +57 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/reaction.py +214 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/rich_block.py +1128 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/rich_message.py +62 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/rich_text.py +895 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/screenshot_taken.py +12 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/sticker.py +225 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/stickerset.py +60 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/stripped_thumbnail.py +32 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/thumbnail.py +104 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/translated_text.py +43 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/venue.py +62 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/video.py +124 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/video_note.py +98 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/voice.py +92 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/web_app_data.py +36 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/web_page.py +175 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/web_page_empty.py +31 -0
- pyronext-0.3.230/pyrogram/types/messages_and_media/web_page_preview.py +57 -0
- pyronext-0.3.230/pyrogram/types/object.py +110 -0
- pyronext-0.3.230/pyrogram/types/payments/__init__.py +6 -0
- pyronext-0.3.230/pyrogram/types/payments/gift.py +306 -0
- pyronext-0.3.230/pyrogram/types/payments/user_gift.py +180 -0
- pyronext-0.3.230/pyrogram/types/stories/__init__.py +27 -0
- pyronext-0.3.230/pyrogram/types/stories/input_media_area.py +24 -0
- pyronext-0.3.230/pyrogram/types/stories/input_media_area_channel_post.py +45 -0
- pyronext-0.3.230/pyrogram/types/stories/media_area.py +27 -0
- pyronext-0.3.230/pyrogram/types/stories/media_area_channel_post.py +58 -0
- pyronext-0.3.230/pyrogram/types/stories/media_area_coordinates.py +61 -0
- pyronext-0.3.230/pyrogram/types/stories/stories_privacy_rules.py +30 -0
- pyronext-0.3.230/pyrogram/types/stories/story.py +2043 -0
- pyronext-0.3.230/pyrogram/types/stories/story_deleted.py +60 -0
- pyronext-0.3.230/pyrogram/types/stories/story_forward_header.py +72 -0
- pyronext-0.3.230/pyrogram/types/stories/story_skipped.py +83 -0
- pyronext-0.3.230/pyrogram/types/stories/story_views.py +70 -0
- pyronext-0.3.230/pyrogram/types/update.py +15 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/__init__.py +94 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/birthday.py +33 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/business_info.py +69 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/business_message.py +115 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/business_recipients.py +65 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/business_weekly_open.py +38 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/business_working_hours.py +45 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat.py +1493 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_admin_with_invite_links.py +52 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_color.py +53 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_event.py +772 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_event_filter.py +183 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_invite_link.py +138 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_join_request.py +129 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_joined_by_request.py +13 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_joiner.py +76 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_member.py +228 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_member_updated.py +147 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_permissions.py +220 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_photo.py +118 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_preview.py +71 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_privileges.py +135 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/chat_reactions.py +71 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/dialog.py +101 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/emoji_status.py +69 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/folder.py +496 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/forum_topic.py +138 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/forum_topic_closed.py +13 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/forum_topic_created.py +50 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/forum_topic_edited.py +47 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/forum_topic_reopened.py +13 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/found_contacts.py +56 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/general_forum_topic_hidden.py +13 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/general_forum_topic_unhidden.py +13 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/invite_link_importer.py +50 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/peer_channel.py +30 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/peer_user.py +30 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/privacy_rule.py +102 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/restriction.py +39 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/user.py +612 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/username.py +45 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/video_chat_ended.py +28 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/video_chat_members_invited.py +31 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/video_chat_scheduled.py +31 -0
- pyronext-0.3.230/pyrogram/types/user_and_chats/video_chat_started.py +13 -0
- pyronext-0.3.230/pyrogram/utils.py +592 -0
- pyronext-0.3.230/requirements-dev.lock +907 -0
- pyronext-0.3.230/requirements.lock +168 -0
- pyronext-0.3.230/tests/__init__.py +0 -0
- pyronext-0.3.230/tests/filters/__init__.py +21 -0
- pyronext-0.3.230/tests/filters/test_command.py +132 -0
- pyronext-0.3.230/tests/parser/__init__.py +0 -0
- pyronext-0.3.230/tests/parser/test_html.py +254 -0
- pyronext-0.3.230/tests/parser/test_markdown.py +215 -0
- pyronext-0.3.230/tests/test_file_id.py +191 -0
- pyronext-0.3.230/uv.lock +2188 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Pyrogram generated code
|
|
2
|
+
pyrogram/errors/exceptions/
|
|
3
|
+
pyrogram/raw/functions/
|
|
4
|
+
pyrogram/raw/types/
|
|
5
|
+
pyrogram/raw/base/
|
|
6
|
+
pyrogram/raw/all.py
|
|
7
|
+
|
|
8
|
+
# Python cache
|
|
9
|
+
__pycache__/
|
|
10
|
+
*.py[cod]
|
|
11
|
+
*$py.class
|
|
12
|
+
|
|
13
|
+
# Virtual Environment
|
|
14
|
+
venv/
|
|
15
|
+
.venv/
|
|
16
|
+
|
|
17
|
+
# Docs build
|
|
18
|
+
docs/build/
|
|
19
|
+
docs/source/api/bound-methods/
|
|
20
|
+
docs/source/api/methods/
|
|
21
|
+
docs/source/api/types/
|
|
22
|
+
docs/source/telegram/
|
|
23
|
+
Electrogram-docs/
|
|
24
|
+
|
|
25
|
+
# Ruff
|
|
26
|
+
.ruff_cache/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Agent Instructions
|
|
2
|
+
|
|
3
|
+
This document provides instructions for AI agents working on this codebase.
|
|
4
|
+
|
|
5
|
+
## Dependency Management
|
|
6
|
+
|
|
7
|
+
- Use `uv` instead of `pip` for installing and managing Python packages.
|
|
8
|
+
|
|
9
|
+
## Code Style and Quality for big changes in python code files
|
|
10
|
+
|
|
11
|
+
- Before submitting any changes, always run the following commands from the root of the repository:
|
|
12
|
+
- `ruff check . --fix`: This will check for linting errors and automatically fix many of them.
|
|
13
|
+
- `ruff format .`: This will format the code according to the project's style guide.
|
|
14
|
+
- `uv ty check`: This will check type annotations. after type check must fix at least some type errors
|
|
15
|
+
|
|
16
|
+
## Update this AGENTS.md if any suggestions should be applied in future.
|
pyronext-0.3.230/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Mehedi Hasan Shojib
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
## Include
|
|
2
|
+
include README.md
|
|
3
|
+
recursive-include compiler *.py *.tl *.tsv *.txt
|
|
4
|
+
recursive-include tests *.py
|
|
5
|
+
|
|
6
|
+
## Exclude
|
|
7
|
+
prune pyrogram/errors/exceptions
|
|
8
|
+
prune pyrogram/raw/functions
|
|
9
|
+
prune pyrogram/raw/types
|
|
10
|
+
prune pyrogram/raw/base
|
|
11
|
+
exclude pyrogram/raw/all.py
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
VENV := venv
|
|
2
|
+
PYTHON := $(VENV)/bin/python
|
|
3
|
+
HOST = $(shell ifconfig | grep "inet " | tail -1 | cut -d\ -f2)
|
|
4
|
+
TAG = v$(shell grep -E '__version__ = ".*"' pyrogram/__init__.py | cut -d\" -f2)
|
|
5
|
+
|
|
6
|
+
RM := rm -rf
|
|
7
|
+
|
|
8
|
+
.PHONY: venv clean-build clean-api clean api build
|
|
9
|
+
|
|
10
|
+
venv:
|
|
11
|
+
$(RM) $(VENV)
|
|
12
|
+
python3 -m venv $(VENV)
|
|
13
|
+
$(PYTHON) -m pip install -U pip wheel setuptools
|
|
14
|
+
$(PYTHON) -m pip install -U -e .
|
|
15
|
+
@echo "Created venv with $$($(PYTHON) --version)"
|
|
16
|
+
|
|
17
|
+
clean-docs:
|
|
18
|
+
$(RM) docs/build
|
|
19
|
+
$(RM) docs/source/api/bound-methods docs/source/api/methods docs/source/api/types docs/source/telegram
|
|
20
|
+
|
|
21
|
+
clean-build:
|
|
22
|
+
$(RM) *.egg-info build dist
|
|
23
|
+
|
|
24
|
+
clean-api:
|
|
25
|
+
$(RM) pyrogram/errors/exceptions pyrogram/raw/all.py pyrogram/raw/base pyrogram/raw/functions pyrogram/raw/types
|
|
26
|
+
|
|
27
|
+
clean:
|
|
28
|
+
make clean-build
|
|
29
|
+
make clean-api
|
|
30
|
+
|
|
31
|
+
api:
|
|
32
|
+
cd compiler/api && ../../$(PYTHON) compiler.py
|
|
33
|
+
cd compiler/errors && ../../$(PYTHON) compiler.py
|
|
34
|
+
|
|
35
|
+
build:
|
|
36
|
+
make clean
|
|
37
|
+
$(PYTHON) setup.py sdist
|
|
38
|
+
$(PYTHON) setup.py bdist_wheel
|
|
39
|
+
|
|
40
|
+
tag:
|
|
41
|
+
git tag $(TAG)
|
|
42
|
+
git push origin $(TAG)
|
|
43
|
+
|
|
44
|
+
dtag:
|
|
45
|
+
git tag -d $(TAG)
|
|
46
|
+
git push origin -d $(TAG)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: pyronext
|
|
3
|
+
Version: 0.3.230
|
|
4
|
+
Summary: Telegram MTProto API framework in Python, designed for fluid user and bot interactions.
|
|
5
|
+
Project-URL: homepage, https://github.com/AeonOrg/Electrogram
|
|
6
|
+
Project-URL: community, https://t.me/ProjectAeon
|
|
7
|
+
Project-URL: repository, https://github.com/AeonOrg/Electrogram
|
|
8
|
+
Author-email: Dipesh Chaudhary <dipesh@dipeshchaudhary.in>
|
|
9
|
+
License: MIT License
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Requires-Dist: aiosqlite>=0.22.1
|
|
19
|
+
Requires-Dist: anyio>=4.12.1
|
|
20
|
+
Requires-Dist: pymediainfo>=7.0.1
|
|
21
|
+
Requires-Dist: pymongo>=4.16.0
|
|
22
|
+
Requires-Dist: pysocks>=1.7.1
|
|
23
|
+
Requires-Dist: warpcrypto>=2.0.4
|
|
24
|
+
Provides-Extra: dev
|
|
25
|
+
Requires-Dist: hatch>=1.16.3; extra == 'dev'
|
|
26
|
+
Requires-Dist: pytest-asyncio>=1.3.0; extra == 'dev'
|
|
27
|
+
Requires-Dist: pytest-cov>=7.0.0; extra == 'dev'
|
|
28
|
+
Requires-Dist: pytest>=9.0.2; extra == 'dev'
|
|
29
|
+
Requires-Dist: twine>=6.2.0; extra == 'dev'
|
|
30
|
+
Provides-Extra: docs
|
|
31
|
+
Requires-Dist: sphinx-autobuild; extra == 'docs'
|
|
32
|
+
Requires-Dist: sphinx-copybutton>=0.5.2; extra == 'docs'
|
|
33
|
+
Requires-Dist: sphinx-immaterial>=0.13.9; extra == 'docs'
|
|
34
|
+
Requires-Dist: sphinx<10.0.0; extra == 'docs'
|
|
35
|
+
Requires-Dist: tornado>=6.5.4; extra == 'docs'
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="https://img.icons8.com/color/150/000000/telegram-app.png" alt="Pyronext Logo" width="100"/>
|
|
3
|
+
<h1>🔥 Pyronext</h1>
|
|
4
|
+
<p><b>Advanced, Modern & Fully Customized MTProto API Framework for Telegram</b></p>
|
|
5
|
+
|
|
6
|
+
<p>
|
|
7
|
+
<img src="https://img.shields.io/badge/Python-3.8%2B-blue?style=for-the-badge&logo=python&logoColor=white" alt="Python Version"/>
|
|
8
|
+
<img src="https://img.shields.io/badge/API_Layer-Latest-orange?style=for-the-badge&logo=telegram&logoColor=white" alt="Telegram API Layer"/>
|
|
9
|
+
<img src="https://img.shields.io/badge/Framework-Asyncio-green?style=for-the-badge&logo=python&logoColor=white" alt="Asyncio"/>
|
|
10
|
+
</p>
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## ⚡ About Pyronext
|
|
16
|
+
|
|
17
|
+
**Pyronext** is an advanced fork of Electrogram (which itself stems from Pyrogram). It has been updated for the latest Telegram MTProto layers and specifically modified, patched, and optimized to fix underlying bugs (such as `message.click()` timeouts) to ensure maximum stability for our projects.
|
|
18
|
+
|
|
19
|
+
*We aim to keep everything under our control, delivering reliable automation and bot development tools.*
|
|
20
|
+
|
|
21
|
+
## ✨ Key Features
|
|
22
|
+
|
|
23
|
+
- **Latest MTProto Layer**: Synced with the most recent Telegram API updates.
|
|
24
|
+
- **Enhanced Reliability**: Internal networking, sessions, and callback answer requests are patched for flawless execution.
|
|
25
|
+
- **Fully Asynchronous**: Built heavily on Python's `asyncio` for blazing fast concurrent processing.
|
|
26
|
+
- **Custom Bug Fixes**: Out-of-the-box fixes for inline keyboards, timeouts, and precise type checking.
|
|
27
|
+
|
|
28
|
+
## 🛠 Installation
|
|
29
|
+
|
|
30
|
+
It is recommended to use `uv` for managing dependencies as per our project guidelines.
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
# Clone the repository
|
|
34
|
+
git clone https://github.com/dipeshjatt2/Electrogram.git pyronext
|
|
35
|
+
|
|
36
|
+
# Navigate into the directory
|
|
37
|
+
cd pyronext
|
|
38
|
+
|
|
39
|
+
# Install the package
|
|
40
|
+
uv pip install -e .
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## ⚠️ Disclaimer
|
|
44
|
+
|
|
45
|
+
This repository is **Pyronext (an Electrogram fork)** created specifically for our project and modified to suit our needs.
|
|
46
|
+
|
|
47
|
+
Please understand that any issues, modifications, or deviations from the original project are solely our responsibility. Do not hold the original Pyrogram or Electrogram authors accountable for any problems or discrepancies that may arise from using this repository.
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
<div align="center">
|
|
51
|
+
Developed & Maintained by <b>Dipesh Chaudhary</b>
|
|
52
|
+
</div>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
set -e
|
|
4
|
+
|
|
5
|
+
export GITHUB_TOKEN
|
|
6
|
+
|
|
7
|
+
uv sync --extra docs
|
|
8
|
+
|
|
9
|
+
make clean
|
|
10
|
+
make clean-docs
|
|
11
|
+
(cd compiler/api && uv run python compiler.py)
|
|
12
|
+
(cd compiler/errors && uv run python compiler.py)
|
|
13
|
+
|
|
14
|
+
cd compiler/docs
|
|
15
|
+
uv run python compiler.py
|
|
16
|
+
cd ../..
|
|
17
|
+
|
|
18
|
+
uv run sphinx-build -b html "docs/source" "docs/build/html" -j auto
|
|
19
|
+
|
|
20
|
+
REPO_URL="https://5hojib:$GITHUB_TOKEN@github.com/5hojib/Electrogram-docs.git"
|
|
21
|
+
CLONE_DIR="Electrogram-docs"
|
|
22
|
+
|
|
23
|
+
git clone "$REPO_URL"
|
|
24
|
+
cd "$CLONE_DIR"
|
|
25
|
+
|
|
26
|
+
rm -rf _includes api genindex.html intro py-modindex.html sitemap.xml \
|
|
27
|
+
support.html topics _static faq index.html objects.inv \
|
|
28
|
+
searchindex.js start telegram
|
|
29
|
+
|
|
30
|
+
cp -r ../docs/build/html/* .
|
|
31
|
+
|
|
32
|
+
git config --local user.name "5hojib"
|
|
33
|
+
git config --local user.email "yesiamshojib@gmail.com"
|
|
34
|
+
git add --all
|
|
35
|
+
|
|
36
|
+
git checkout --orphan temp-branch
|
|
37
|
+
git commit -m "Update docs" --signoff
|
|
38
|
+
git branch -D main
|
|
39
|
+
git branch -m main
|
|
40
|
+
git push --force origin main
|
|
File without changes
|
|
File without changes
|