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.
Files changed (768) hide show
  1. pyronext-0.3.230/.gitignore +26 -0
  2. pyronext-0.3.230/AGENTS.md +16 -0
  3. pyronext-0.3.230/LICENSE +21 -0
  4. pyronext-0.3.230/MANIFEST.in +11 -0
  5. pyronext-0.3.230/Makefile +46 -0
  6. pyronext-0.3.230/PKG-INFO +35 -0
  7. pyronext-0.3.230/README.md +52 -0
  8. pyronext-0.3.230/build-docs.sh +40 -0
  9. pyronext-0.3.230/compiler/__init__.py +0 -0
  10. pyronext-0.3.230/compiler/api/__init__.py +0 -0
  11. pyronext-0.3.230/compiler/api/compiler.py +666 -0
  12. pyronext-0.3.230/compiler/api/docs.json +20085 -0
  13. pyronext-0.3.230/compiler/api/scrape_docs.py +180 -0
  14. pyronext-0.3.230/compiler/api/source/auth_key.tl +36 -0
  15. pyronext-0.3.230/compiler/api/source/main_api.tl +3124 -0
  16. pyronext-0.3.230/compiler/api/source/sys_msgs.tl +50 -0
  17. pyronext-0.3.230/compiler/api/template/combinator.txt +35 -0
  18. pyronext-0.3.230/compiler/api/template/type.txt +14 -0
  19. pyronext-0.3.230/compiler/docs/__init__.py +0 -0
  20. pyronext-0.3.230/compiler/docs/compiler.py +534 -0
  21. pyronext-0.3.230/compiler/docs/template/page.txt +22 -0
  22. pyronext-0.3.230/compiler/docs/template/toctree.txt +9 -0
  23. pyronext-0.3.230/compiler/docs/tl_generator.py +421 -0
  24. pyronext-0.3.230/compiler/errors/__init__.py +0 -0
  25. pyronext-0.3.230/compiler/errors/compiler.py +126 -0
  26. pyronext-0.3.230/compiler/errors/sort.py +67 -0
  27. pyronext-0.3.230/compiler/errors/source/303_SEE_OTHER.tsv +6 -0
  28. pyronext-0.3.230/compiler/errors/source/400_BAD_REQUEST.tsv +650 -0
  29. pyronext-0.3.230/compiler/errors/source/401_UNAUTHORIZED.tsv +10 -0
  30. pyronext-0.3.230/compiler/errors/source/403_FORBIDDEN.tsv +58 -0
  31. pyronext-0.3.230/compiler/errors/source/406_NOT_ACCEPTABLE.tsv +36 -0
  32. pyronext-0.3.230/compiler/errors/source/420_FLOOD.tsv +11 -0
  33. pyronext-0.3.230/compiler/errors/source/500_INTERNAL_SERVER_ERROR.tsv +56 -0
  34. pyronext-0.3.230/compiler/errors/source/503_SERVICE_UNAVAILABLE.tsv +4 -0
  35. pyronext-0.3.230/compiler/errors/template/class.txt +11 -0
  36. pyronext-0.3.230/compiler/errors/template/sub_class.txt +5 -0
  37. pyronext-0.3.230/dev_tools/check_api_schema_updates.py +232 -0
  38. pyronext-0.3.230/docs/source/_includes/usable-by/bots.rst +7 -0
  39. pyronext-0.3.230/docs/source/_includes/usable-by/users-bots.rst +7 -0
  40. pyronext-0.3.230/docs/source/_includes/usable-by/users.rst +7 -0
  41. pyronext-0.3.230/docs/source/_static/css/all.min.css +1 -0
  42. pyronext-0.3.230/docs/source/_static/css/custom.css +169 -0
  43. pyronext-0.3.230/docs/source/_static/fav.svg +14 -0
  44. pyronext-0.3.230/docs/source/api/client.rst +24 -0
  45. pyronext-0.3.230/docs/source/api/decorators.rst +84 -0
  46. pyronext-0.3.230/docs/source/api/enums/AccentColor.rst +5 -0
  47. pyronext-0.3.230/docs/source/api/enums/BusinessSchedule.rst +5 -0
  48. pyronext-0.3.230/docs/source/api/enums/ButtonStyle.rst +5 -0
  49. pyronext-0.3.230/docs/source/api/enums/ChatAction.rst +5 -0
  50. pyronext-0.3.230/docs/source/api/enums/ChatEventAction.rst +5 -0
  51. pyronext-0.3.230/docs/source/api/enums/ChatJoinType.rst +5 -0
  52. pyronext-0.3.230/docs/source/api/enums/ChatMemberStatus.rst +5 -0
  53. pyronext-0.3.230/docs/source/api/enums/ChatMembersFilter.rst +5 -0
  54. pyronext-0.3.230/docs/source/api/enums/ChatType.rst +5 -0
  55. pyronext-0.3.230/docs/source/api/enums/ClientPlatform.rst +5 -0
  56. pyronext-0.3.230/docs/source/api/enums/FolderColor.rst +5 -0
  57. pyronext-0.3.230/docs/source/api/enums/ListenerTypes.rst +5 -0
  58. pyronext-0.3.230/docs/source/api/enums/MessageEntityType.rst +5 -0
  59. pyronext-0.3.230/docs/source/api/enums/MessageMediaType.rst +5 -0
  60. pyronext-0.3.230/docs/source/api/enums/MessageServiceType.rst +5 -0
  61. pyronext-0.3.230/docs/source/api/enums/MessagesFilter.rst +5 -0
  62. pyronext-0.3.230/docs/source/api/enums/NextCodeType.rst +5 -0
  63. pyronext-0.3.230/docs/source/api/enums/ParseMode.rst +5 -0
  64. pyronext-0.3.230/docs/source/api/enums/PollType.rst +5 -0
  65. pyronext-0.3.230/docs/source/api/enums/PrivacyKey.rst +5 -0
  66. pyronext-0.3.230/docs/source/api/enums/ProfileColor.rst +5 -0
  67. pyronext-0.3.230/docs/source/api/enums/ReactionType.rst +5 -0
  68. pyronext-0.3.230/docs/source/api/enums/ReplyColor.rst +5 -0
  69. pyronext-0.3.230/docs/source/api/enums/SentCodeType.rst +5 -0
  70. pyronext-0.3.230/docs/source/api/enums/StoriesPrivacyRules.rst +5 -0
  71. pyronext-0.3.230/docs/source/api/enums/StoryPrivacy.rst +5 -0
  72. pyronext-0.3.230/docs/source/api/enums/UserStatus.rst +5 -0
  73. pyronext-0.3.230/docs/source/api/enums/index.rst +168 -0
  74. pyronext-0.3.230/docs/source/api/errors/bad-request.rst +7 -0
  75. pyronext-0.3.230/docs/source/api/errors/flood.rst +7 -0
  76. pyronext-0.3.230/docs/source/api/errors/forbidden.rst +7 -0
  77. pyronext-0.3.230/docs/source/api/errors/index.rst +37 -0
  78. pyronext-0.3.230/docs/source/api/errors/internal-server-error.rst +7 -0
  79. pyronext-0.3.230/docs/source/api/errors/not-acceptable.rst +7 -0
  80. pyronext-0.3.230/docs/source/api/errors/see-other.rst +7 -0
  81. pyronext-0.3.230/docs/source/api/errors/unauthorized.rst +7 -0
  82. pyronext-0.3.230/docs/source/api/filters.rst +11 -0
  83. pyronext-0.3.230/docs/source/api/handlers.rst +82 -0
  84. pyronext-0.3.230/docs/source/conf.py +145 -0
  85. pyronext-0.3.230/docs/source/faq/client-started-but-nothing-happens.rst +11 -0
  86. pyronext-0.3.230/docs/source/faq/code-hangs-when-calling-stop-restart-add-remove-handler.rst +12 -0
  87. pyronext-0.3.230/docs/source/faq/how-to-avoid-flood-waits.rst +23 -0
  88. pyronext-0.3.230/docs/source/faq/how-to-use-webhooks.rst +9 -0
  89. pyronext-0.3.230/docs/source/faq/index.rst +45 -0
  90. pyronext-0.3.230/docs/source/faq/migrating-the-account-to-another-data-center.rst +10 -0
  91. pyronext-0.3.230/docs/source/faq/peer-id-invalid-error.rst +14 -0
  92. pyronext-0.3.230/docs/source/faq/socket-send-oserror-timeouterror-connection-lost-reset.rst +10 -0
  93. pyronext-0.3.230/docs/source/faq/sqlite3-interfaceerror-error-binding-parameter.rst +13 -0
  94. pyronext-0.3.230/docs/source/faq/sqlite3-operationalerror-database-is-locked.rst +17 -0
  95. pyronext-0.3.230/docs/source/faq/the-account-has-been-limited-deactivated.rst +16 -0
  96. pyronext-0.3.230/docs/source/faq/unicodeencodeerror-codec-cant-encode.rst +7 -0
  97. pyronext-0.3.230/docs/source/faq/uploading-with-urls-gives-error-webpage-curl-failed.rst +7 -0
  98. pyronext-0.3.230/docs/source/faq/using-multiple-clients-at-once-on-the-same-account.rst +7 -0
  99. pyronext-0.3.230/docs/source/faq/using-the-same-file-id-across-different-accounts.rst +6 -0
  100. pyronext-0.3.230/docs/source/faq/what-are-the-ip-addresses-of-telegram-data-centers.rst +30 -0
  101. pyronext-0.3.230/docs/source/faq/why-is-the-api-key-needed-for-bots.rst +12 -0
  102. pyronext-0.3.230/docs/source/faq/why-is-the-client-reacting-slowly-in-supergroups-channels.rst +18 -0
  103. pyronext-0.3.230/docs/source/index.rst +139 -0
  104. pyronext-0.3.230/docs/source/intro/install.rst +35 -0
  105. pyronext-0.3.230/docs/source/intro/quickstart.rst +50 -0
  106. pyronext-0.3.230/docs/source/start/auth.rst +93 -0
  107. pyronext-0.3.230/docs/source/start/errors.rst +101 -0
  108. pyronext-0.3.230/docs/source/start/examples/bot_keyboards.rst +68 -0
  109. pyronext-0.3.230/docs/source/start/examples/callback_queries.rst +21 -0
  110. pyronext-0.3.230/docs/source/start/examples/echo_bot.rst +21 -0
  111. pyronext-0.3.230/docs/source/start/examples/get_chat_history.rst +20 -0
  112. pyronext-0.3.230/docs/source/start/examples/get_chat_members.rst +22 -0
  113. pyronext-0.3.230/docs/source/start/examples/get_dialogs.rst +19 -0
  114. pyronext-0.3.230/docs/source/start/examples/hello_world.rst +20 -0
  115. pyronext-0.3.230/docs/source/start/examples/index.rst +46 -0
  116. pyronext-0.3.230/docs/source/start/examples/inline_queries.rst +59 -0
  117. pyronext-0.3.230/docs/source/start/examples/raw_updates.rst +18 -0
  118. pyronext-0.3.230/docs/source/start/examples/use_inline_bots.rst +25 -0
  119. pyronext-0.3.230/docs/source/start/examples/welcome_bot.rst +30 -0
  120. pyronext-0.3.230/docs/source/start/invoking.rst +110 -0
  121. pyronext-0.3.230/docs/source/start/setup.rst +40 -0
  122. pyronext-0.3.230/docs/source/start/updates.rst +78 -0
  123. pyronext-0.3.230/docs/source/support.rst +41 -0
  124. pyronext-0.3.230/docs/source/topics/advanced-usage.rst +124 -0
  125. pyronext-0.3.230/docs/source/topics/client-settings.rst +46 -0
  126. pyronext-0.3.230/docs/source/topics/create-filters.rst +109 -0
  127. pyronext-0.3.230/docs/source/topics/debugging.rst +122 -0
  128. pyronext-0.3.230/docs/source/topics/more-on-updates.rst +226 -0
  129. pyronext-0.3.230/docs/source/topics/mtproto-vs-botapi.rst +109 -0
  130. pyronext-0.3.230/docs/source/topics/proxy.rst +34 -0
  131. pyronext-0.3.230/docs/source/topics/scheduling.rst +40 -0
  132. pyronext-0.3.230/docs/source/topics/serializing.rst +56 -0
  133. pyronext-0.3.230/docs/source/topics/smart-plugins.rst +306 -0
  134. pyronext-0.3.230/docs/source/topics/storage-engines.rst +124 -0
  135. pyronext-0.3.230/docs/source/topics/test-servers.rst +41 -0
  136. pyronext-0.3.230/docs/source/topics/text-formatting.rst +248 -0
  137. pyronext-0.3.230/docs/source/topics/use-filters.rst +114 -0
  138. pyronext-0.3.230/docs/source/topics/voice-calls.rst +19 -0
  139. pyronext-0.3.230/hatch_build.py +20 -0
  140. pyronext-0.3.230/pyproject.toml +140 -0
  141. pyronext-0.3.230/pyrogram/__init__.py +43 -0
  142. pyronext-0.3.230/pyrogram/client.py +1303 -0
  143. pyronext-0.3.230/pyrogram/connection/__init__.py +5 -0
  144. pyronext-0.3.230/pyrogram/connection/connection.py +72 -0
  145. pyronext-0.3.230/pyrogram/connection/transport/__init__.py +3 -0
  146. pyronext-0.3.230/pyrogram/connection/transport/tcp/__init__.py +18 -0
  147. pyronext-0.3.230/pyrogram/connection/transport/tcp/tcp.py +140 -0
  148. pyronext-0.3.230/pyrogram/connection/transport/tcp/tcp_abridged.py +43 -0
  149. pyronext-0.3.230/pyrogram/connection/transport/tcp/tcp_abridged_o.py +96 -0
  150. pyronext-0.3.230/pyrogram/connection/transport/tcp/tcp_full.py +48 -0
  151. pyronext-0.3.230/pyrogram/connection/transport/tcp/tcp_intermediate.py +29 -0
  152. pyronext-0.3.230/pyrogram/connection/transport/tcp/tcp_intermediate_o.py +71 -0
  153. pyronext-0.3.230/pyrogram/crypto/__init__.py +0 -0
  154. pyronext-0.3.230/pyrogram/crypto/aes.py +41 -0
  155. pyronext-0.3.230/pyrogram/crypto/mtproto.py +96 -0
  156. pyronext-0.3.230/pyrogram/crypto/prime.py +65 -0
  157. pyronext-0.3.230/pyrogram/crypto/rsa.py +146 -0
  158. pyronext-0.3.230/pyrogram/dispatcher.py +555 -0
  159. pyronext-0.3.230/pyrogram/enums/__init__.py +59 -0
  160. pyronext-0.3.230/pyrogram/enums/accent_color.py +81 -0
  161. pyronext-0.3.230/pyrogram/enums/auto_name.py +12 -0
  162. pyronext-0.3.230/pyrogram/enums/business_schedule.py +18 -0
  163. pyronext-0.3.230/pyrogram/enums/button_style.py +21 -0
  164. pyronext-0.3.230/pyrogram/enums/chat_action.py +66 -0
  165. pyronext-0.3.230/pyrogram/enums/chat_event_action.py +141 -0
  166. pyronext-0.3.230/pyrogram/enums/chat_join_type.py +18 -0
  167. pyronext-0.3.230/pyrogram/enums/chat_member_status.py +27 -0
  168. pyronext-0.3.230/pyrogram/enums/chat_members_filter.py +27 -0
  169. pyronext-0.3.230/pyrogram/enums/chat_type.py +24 -0
  170. pyronext-0.3.230/pyrogram/enums/client_platform.py +33 -0
  171. pyronext-0.3.230/pyrogram/enums/folder_color.py +31 -0
  172. pyronext-0.3.230/pyrogram/enums/listener_types.py +15 -0
  173. pyronext-0.3.230/pyrogram/enums/message_entity_type.py +72 -0
  174. pyronext-0.3.230/pyrogram/enums/message_media_type.py +69 -0
  175. pyronext-0.3.230/pyrogram/enums/message_service_type.py +114 -0
  176. pyronext-0.3.230/pyrogram/enums/messages_filter.py +60 -0
  177. pyronext-0.3.230/pyrogram/enums/next_code_type.py +24 -0
  178. pyronext-0.3.230/pyrogram/enums/parse_mode.py +21 -0
  179. pyronext-0.3.230/pyrogram/enums/poll_type.py +15 -0
  180. pyronext-0.3.230/pyrogram/enums/privacy_key.py +42 -0
  181. pyronext-0.3.230/pyrogram/enums/profile_color.py +55 -0
  182. pyronext-0.3.230/pyrogram/enums/reaction_type.py +15 -0
  183. pyronext-0.3.230/pyrogram/enums/reply_color.py +77 -0
  184. pyronext-0.3.230/pyrogram/enums/sent_code_type.py +30 -0
  185. pyronext-0.3.230/pyrogram/enums/stories_privacy_rules.py +24 -0
  186. pyronext-0.3.230/pyrogram/enums/story_privacy.py +24 -0
  187. pyronext-0.3.230/pyrogram/enums/user_status.py +27 -0
  188. pyronext-0.3.230/pyrogram/errors/__init__.py +58 -0
  189. pyronext-0.3.230/pyrogram/errors/rpc_error.py +102 -0
  190. pyronext-0.3.230/pyrogram/file_id.py +503 -0
  191. pyronext-0.3.230/pyrogram/filters.py +954 -0
  192. pyronext-0.3.230/pyrogram/handlers/__init__.py +51 -0
  193. pyronext-0.3.230/pyrogram/handlers/bot_business_connect_handler.py +36 -0
  194. pyronext-0.3.230/pyrogram/handlers/bot_business_message_handler.py +36 -0
  195. pyronext-0.3.230/pyrogram/handlers/callback_query_handler.py +36 -0
  196. pyronext-0.3.230/pyrogram/handlers/chat_join_request_handler.py +36 -0
  197. pyronext-0.3.230/pyrogram/handlers/chat_member_updated_handler.py +36 -0
  198. pyronext-0.3.230/pyrogram/handlers/chosen_inline_result_handler.py +37 -0
  199. pyronext-0.3.230/pyrogram/handlers/conversation_handler.py +69 -0
  200. pyronext-0.3.230/pyrogram/handlers/deleted_bot_business_messages_handler.py +49 -0
  201. pyronext-0.3.230/pyrogram/handlers/deleted_messages_handler.py +51 -0
  202. pyronext-0.3.230/pyrogram/handlers/disconnect_handler.py +30 -0
  203. pyronext-0.3.230/pyrogram/handlers/edited_bot_business_message_handler.py +36 -0
  204. pyronext-0.3.230/pyrogram/handlers/edited_message_handler.py +36 -0
  205. pyronext-0.3.230/pyrogram/handlers/handler.py +30 -0
  206. pyronext-0.3.230/pyrogram/handlers/inline_query_handler.py +36 -0
  207. pyronext-0.3.230/pyrogram/handlers/message_handler.py +36 -0
  208. pyronext-0.3.230/pyrogram/handlers/message_reaction_count_updated_handler.py +38 -0
  209. pyronext-0.3.230/pyrogram/handlers/message_reaction_updated_handler.py +38 -0
  210. pyronext-0.3.230/pyrogram/handlers/poll_handler.py +37 -0
  211. pyronext-0.3.230/pyrogram/handlers/pre_checkout_query_handler.py +37 -0
  212. pyronext-0.3.230/pyrogram/handlers/raw_update_handler.py +54 -0
  213. pyronext-0.3.230/pyrogram/handlers/shipping_query_handler.py +38 -0
  214. pyronext-0.3.230/pyrogram/handlers/story_handler.py +36 -0
  215. pyronext-0.3.230/pyrogram/handlers/user_status_handler.py +34 -0
  216. pyronext-0.3.230/pyrogram/methods/__init__.py +37 -0
  217. pyronext-0.3.230/pyrogram/methods/account/__init__.py +10 -0
  218. pyronext-0.3.230/pyrogram/methods/account/get_account_ttl.py +26 -0
  219. pyronext-0.3.230/pyrogram/methods/account/get_privacy.py +36 -0
  220. pyronext-0.3.230/pyrogram/methods/account/set_account_ttl.py +30 -0
  221. pyronext-0.3.230/pyrogram/methods/account/set_privacy.py +57 -0
  222. pyronext-0.3.230/pyrogram/methods/advanced/__init__.py +9 -0
  223. pyronext-0.3.230/pyrogram/methods/advanced/invoke.py +83 -0
  224. pyronext-0.3.230/pyrogram/methods/advanced/resolve_peer.py +112 -0
  225. pyronext-0.3.230/pyrogram/methods/advanced/save_file.py +264 -0
  226. pyronext-0.3.230/pyrogram/methods/auth/__init__.py +43 -0
  227. pyronext-0.3.230/pyrogram/methods/auth/accept_terms_of_service.py +26 -0
  228. pyronext-0.3.230/pyrogram/methods/auth/check_password.py +42 -0
  229. pyronext-0.3.230/pyrogram/methods/auth/connect.py +41 -0
  230. pyronext-0.3.230/pyrogram/methods/auth/disconnect.py +27 -0
  231. pyronext-0.3.230/pyrogram/methods/auth/get_active_sessions.py +17 -0
  232. pyronext-0.3.230/pyrogram/methods/auth/get_password_hint.py +22 -0
  233. pyronext-0.3.230/pyrogram/methods/auth/initialize.py +38 -0
  234. pyronext-0.3.230/pyrogram/methods/auth/log_out.py +35 -0
  235. pyronext-0.3.230/pyrogram/methods/auth/recover_password.py +36 -0
  236. pyronext-0.3.230/pyrogram/methods/auth/resend_code.py +47 -0
  237. pyronext-0.3.230/pyrogram/methods/auth/reset_session.py +18 -0
  238. pyronext-0.3.230/pyrogram/methods/auth/reset_sessions.py +16 -0
  239. pyronext-0.3.230/pyrogram/methods/auth/send_code.py +65 -0
  240. pyronext-0.3.230/pyrogram/methods/auth/send_recovery_code.py +27 -0
  241. pyronext-0.3.230/pyrogram/methods/auth/sign_in.py +63 -0
  242. pyronext-0.3.230/pyrogram/methods/auth/sign_in_bot.py +67 -0
  243. pyronext-0.3.230/pyrogram/methods/auth/sign_up.py +56 -0
  244. pyronext-0.3.230/pyrogram/methods/auth/terminate.py +45 -0
  245. pyronext-0.3.230/pyrogram/methods/bots/__init__.py +45 -0
  246. pyronext-0.3.230/pyrogram/methods/bots/answer_callback_query.py +65 -0
  247. pyronext-0.3.230/pyrogram/methods/bots/answer_inline_query.py +102 -0
  248. pyronext-0.3.230/pyrogram/methods/bots/answer_web_app_query.py +39 -0
  249. pyronext-0.3.230/pyrogram/methods/bots/delete_bot_commands.py +48 -0
  250. pyronext-0.3.230/pyrogram/methods/bots/get_bot_commands.py +51 -0
  251. pyronext-0.3.230/pyrogram/methods/bots/get_bot_default_privileges.py +42 -0
  252. pyronext-0.3.230/pyrogram/methods/bots/get_bot_info.py +46 -0
  253. pyronext-0.3.230/pyrogram/methods/bots/get_chat_menu_button.py +52 -0
  254. pyronext-0.3.230/pyrogram/methods/bots/get_collectible_item_info.py +50 -0
  255. pyronext-0.3.230/pyrogram/methods/bots/get_game_high_scores.py +64 -0
  256. pyronext-0.3.230/pyrogram/methods/bots/get_inline_bot_results.py +76 -0
  257. pyronext-0.3.230/pyrogram/methods/bots/request_callback_answer.py +89 -0
  258. pyronext-0.3.230/pyrogram/methods/bots/send_game.py +209 -0
  259. pyronext-0.3.230/pyrogram/methods/bots/send_inline_bot_result.py +113 -0
  260. pyronext-0.3.230/pyrogram/methods/bots/set_bot_commands.py +56 -0
  261. pyronext-0.3.230/pyrogram/methods/bots/set_bot_default_privileges.py +68 -0
  262. pyronext-0.3.230/pyrogram/methods/bots/set_bot_info.py +51 -0
  263. pyronext-0.3.230/pyrogram/methods/bots/set_chat_menu_button.py +42 -0
  264. pyronext-0.3.230/pyrogram/methods/bots/set_game_score.py +96 -0
  265. pyronext-0.3.230/pyrogram/methods/business/__init__.py +37 -0
  266. pyronext-0.3.230/pyrogram/methods/business/answer_pre_checkout_query.py +48 -0
  267. pyronext-0.3.230/pyrogram/methods/business/answer_shipping_query.py +64 -0
  268. pyronext-0.3.230/pyrogram/methods/business/create_invoice_link.py +149 -0
  269. pyronext-0.3.230/pyrogram/methods/business/get_available_gifts.py +25 -0
  270. pyronext-0.3.230/pyrogram/methods/business/get_business_connection.py +35 -0
  271. pyronext-0.3.230/pyrogram/methods/business/get_payment_form.py +63 -0
  272. pyronext-0.3.230/pyrogram/methods/business/get_stars_transactions.py +76 -0
  273. pyronext-0.3.230/pyrogram/methods/business/get_stars_transactions_by_id.py +70 -0
  274. pyronext-0.3.230/pyrogram/methods/business/get_user_gifts.py +83 -0
  275. pyronext-0.3.230/pyrogram/methods/business/refund_stars_charge.py +42 -0
  276. pyronext-0.3.230/pyrogram/methods/business/sell_gift.py +45 -0
  277. pyronext-0.3.230/pyrogram/methods/business/send_gift.py +86 -0
  278. pyronext-0.3.230/pyrogram/methods/business/send_invoice.py +234 -0
  279. pyronext-0.3.230/pyrogram/methods/business/send_payment_form.py +84 -0
  280. pyronext-0.3.230/pyrogram/methods/business/toggle_gift_is_saved.py +49 -0
  281. pyronext-0.3.230/pyrogram/methods/chats/__init__.py +117 -0
  282. pyronext-0.3.230/pyrogram/methods/chats/add_chat_members.py +85 -0
  283. pyronext-0.3.230/pyrogram/methods/chats/archive_chats.py +50 -0
  284. pyronext-0.3.230/pyrogram/methods/chats/ban_chat_member.py +127 -0
  285. pyronext-0.3.230/pyrogram/methods/chats/close_forum_topic.py +40 -0
  286. pyronext-0.3.230/pyrogram/methods/chats/close_general_topic.py +33 -0
  287. pyronext-0.3.230/pyrogram/methods/chats/create_channel.py +40 -0
  288. pyronext-0.3.230/pyrogram/methods/chats/create_forum_topic.py +51 -0
  289. pyronext-0.3.230/pyrogram/methods/chats/create_group.py +53 -0
  290. pyronext-0.3.230/pyrogram/methods/chats/create_supergroup.py +44 -0
  291. pyronext-0.3.230/pyrogram/methods/chats/delete_channel.py +38 -0
  292. pyronext-0.3.230/pyrogram/methods/chats/delete_chat_photo.py +54 -0
  293. pyronext-0.3.230/pyrogram/methods/chats/delete_folder.py +28 -0
  294. pyronext-0.3.230/pyrogram/methods/chats/delete_forum_topic.py +43 -0
  295. pyronext-0.3.230/pyrogram/methods/chats/delete_supergroup.py +38 -0
  296. pyronext-0.3.230/pyrogram/methods/chats/delete_user_history.py +47 -0
  297. pyronext-0.3.230/pyrogram/methods/chats/edit_forum_topic.py +49 -0
  298. pyronext-0.3.230/pyrogram/methods/chats/edit_general_topic.py +40 -0
  299. pyronext-0.3.230/pyrogram/methods/chats/export_folder_link.py +55 -0
  300. pyronext-0.3.230/pyrogram/methods/chats/get_chat.py +78 -0
  301. pyronext-0.3.230/pyrogram/methods/chats/get_chat_event_log.py +105 -0
  302. pyronext-0.3.230/pyrogram/methods/chats/get_chat_member.py +76 -0
  303. pyronext-0.3.230/pyrogram/methods/chats/get_chat_members.py +151 -0
  304. pyronext-0.3.230/pyrogram/methods/chats/get_chat_members_count.py +59 -0
  305. pyronext-0.3.230/pyrogram/methods/chats/get_chat_online_count.py +36 -0
  306. pyronext-0.3.230/pyrogram/methods/chats/get_dialogs.py +110 -0
  307. pyronext-0.3.230/pyrogram/methods/chats/get_dialogs_count.py +56 -0
  308. pyronext-0.3.230/pyrogram/methods/chats/get_folders.py +95 -0
  309. pyronext-0.3.230/pyrogram/methods/chats/get_forum_topics.py +60 -0
  310. pyronext-0.3.230/pyrogram/methods/chats/get_forum_topics_by_id.py +74 -0
  311. pyronext-0.3.230/pyrogram/methods/chats/get_send_as_chats.py +51 -0
  312. pyronext-0.3.230/pyrogram/methods/chats/hide_general_topic.py +33 -0
  313. pyronext-0.3.230/pyrogram/methods/chats/join_chat.py +57 -0
  314. pyronext-0.3.230/pyrogram/methods/chats/leave_chat.py +64 -0
  315. pyronext-0.3.230/pyrogram/methods/chats/mark_chat_unread.py +32 -0
  316. pyronext-0.3.230/pyrogram/methods/chats/pin_chat_message.py +67 -0
  317. pyronext-0.3.230/pyrogram/methods/chats/promote_chat_member.py +112 -0
  318. pyronext-0.3.230/pyrogram/methods/chats/reopen_forum_topic.py +40 -0
  319. pyronext-0.3.230/pyrogram/methods/chats/reopen_general_topic.py +36 -0
  320. pyronext-0.3.230/pyrogram/methods/chats/restrict_chat_member.py +256 -0
  321. pyronext-0.3.230/pyrogram/methods/chats/set_administrator_title.py +84 -0
  322. pyronext-0.3.230/pyrogram/methods/chats/set_chat_description.py +49 -0
  323. pyronext-0.3.230/pyrogram/methods/chats/set_chat_permissions.py +231 -0
  324. pyronext-0.3.230/pyrogram/methods/chats/set_chat_photo.py +113 -0
  325. pyronext-0.3.230/pyrogram/methods/chats/set_chat_protected_content.py +36 -0
  326. pyronext-0.3.230/pyrogram/methods/chats/set_chat_title.py +65 -0
  327. pyronext-0.3.230/pyrogram/methods/chats/set_chat_username.py +54 -0
  328. pyronext-0.3.230/pyrogram/methods/chats/set_send_as_chat.py +48 -0
  329. pyronext-0.3.230/pyrogram/methods/chats/set_slow_mode.py +51 -0
  330. pyronext-0.3.230/pyrogram/methods/chats/unarchive_chats.py +55 -0
  331. pyronext-0.3.230/pyrogram/methods/chats/unban_chat_member.py +53 -0
  332. pyronext-0.3.230/pyrogram/methods/chats/unhide_general_topic.py +36 -0
  333. pyronext-0.3.230/pyrogram/methods/chats/unpin_all_chat_messages.py +38 -0
  334. pyronext-0.3.230/pyrogram/methods/chats/unpin_chat_message.py +44 -0
  335. pyronext-0.3.230/pyrogram/methods/chats/update_color.py +63 -0
  336. pyronext-0.3.230/pyrogram/methods/chats/update_folder.py +129 -0
  337. pyronext-0.3.230/pyrogram/methods/contacts/__init__.py +19 -0
  338. pyronext-0.3.230/pyrogram/methods/contacts/add_contact.py +60 -0
  339. pyronext-0.3.230/pyrogram/methods/contacts/delete_contacts.py +47 -0
  340. pyronext-0.3.230/pyrogram/methods/contacts/get_contacts.py +29 -0
  341. pyronext-0.3.230/pyrogram/methods/contacts/get_contacts_count.py +25 -0
  342. pyronext-0.3.230/pyrogram/methods/contacts/import_contacts.py +35 -0
  343. pyronext-0.3.230/pyrogram/methods/contacts/search_contacts.py +36 -0
  344. pyronext-0.3.230/pyrogram/methods/decorators/__init__.py +53 -0
  345. pyronext-0.3.230/pyrogram/methods/decorators/on_bot_business_connect.py +47 -0
  346. pyronext-0.3.230/pyrogram/methods/decorators/on_bot_business_message.py +47 -0
  347. pyronext-0.3.230/pyrogram/methods/decorators/on_callback_query.py +47 -0
  348. pyronext-0.3.230/pyrogram/methods/decorators/on_chat_join_request.py +46 -0
  349. pyronext-0.3.230/pyrogram/methods/decorators/on_chat_member_updated.py +46 -0
  350. pyronext-0.3.230/pyrogram/methods/decorators/on_chosen_inline_result.py +47 -0
  351. pyronext-0.3.230/pyrogram/methods/decorators/on_deleted_bot_business_messages.py +57 -0
  352. pyronext-0.3.230/pyrogram/methods/decorators/on_deleted_messages.py +47 -0
  353. pyronext-0.3.230/pyrogram/methods/decorators/on_disconnect.py +30 -0
  354. pyronext-0.3.230/pyrogram/methods/decorators/on_edited_bot_business_message.py +54 -0
  355. pyronext-0.3.230/pyrogram/methods/decorators/on_edited_message.py +47 -0
  356. pyronext-0.3.230/pyrogram/methods/decorators/on_inline_query.py +47 -0
  357. pyronext-0.3.230/pyrogram/methods/decorators/on_message.py +47 -0
  358. pyronext-0.3.230/pyrogram/methods/decorators/on_message_reaction_count_updated.py +56 -0
  359. pyronext-0.3.230/pyrogram/methods/decorators/on_message_reaction_updated.py +50 -0
  360. pyronext-0.3.230/pyrogram/methods/decorators/on_poll.py +47 -0
  361. pyronext-0.3.230/pyrogram/methods/decorators/on_pre_checkout_query.py +51 -0
  362. pyronext-0.3.230/pyrogram/methods/decorators/on_raw_update.py +36 -0
  363. pyronext-0.3.230/pyrogram/methods/decorators/on_shipping_query.py +52 -0
  364. pyronext-0.3.230/pyrogram/methods/decorators/on_story.py +47 -0
  365. pyronext-0.3.230/pyrogram/methods/decorators/on_user_status.py +45 -0
  366. pyronext-0.3.230/pyrogram/methods/invite_links/__init__.py +47 -0
  367. pyronext-0.3.230/pyrogram/methods/invite_links/approve_all_chat_join_requests.py +38 -0
  368. pyronext-0.3.230/pyrogram/methods/invite_links/approve_chat_join_request.py +41 -0
  369. pyronext-0.3.230/pyrogram/methods/invite_links/create_chat_invite_link.py +73 -0
  370. pyronext-0.3.230/pyrogram/methods/invite_links/decline_all_chat_join_requests.py +38 -0
  371. pyronext-0.3.230/pyrogram/methods/invite_links/decline_chat_join_request.py +41 -0
  372. pyronext-0.3.230/pyrogram/methods/invite_links/delete_chat_admin_invite_links.py +38 -0
  373. pyronext-0.3.230/pyrogram/methods/invite_links/delete_chat_invite_link.py +35 -0
  374. pyronext-0.3.230/pyrogram/methods/invite_links/edit_chat_invite_link.py +78 -0
  375. pyronext-0.3.230/pyrogram/methods/invite_links/export_chat_invite_link.py +60 -0
  376. pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_admin_invite_links.py +88 -0
  377. pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_admin_invite_links_count.py +46 -0
  378. pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_admins_with_invite_links.py +42 -0
  379. pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_invite_link.py +38 -0
  380. pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_invite_link_joiners.py +74 -0
  381. pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_invite_link_joiners_count.py +39 -0
  382. pyronext-0.3.230/pyrogram/methods/invite_links/get_chat_join_requests.py +75 -0
  383. pyronext-0.3.230/pyrogram/methods/invite_links/revoke_chat_invite_link.py +50 -0
  384. pyronext-0.3.230/pyrogram/methods/messages/__init__.py +127 -0
  385. pyronext-0.3.230/pyrogram/methods/messages/copy_media_group.py +164 -0
  386. pyronext-0.3.230/pyrogram/methods/messages/copy_message.py +186 -0
  387. pyronext-0.3.230/pyrogram/methods/messages/delete_chat_history.py +85 -0
  388. pyronext-0.3.230/pyrogram/methods/messages/delete_messages.py +74 -0
  389. pyronext-0.3.230/pyrogram/methods/messages/delete_scheduled_messages.py +59 -0
  390. pyronext-0.3.230/pyrogram/methods/messages/download_media.py +195 -0
  391. pyronext-0.3.230/pyrogram/methods/messages/edit_inline_caption.py +56 -0
  392. pyronext-0.3.230/pyrogram/methods/messages/edit_inline_media.py +301 -0
  393. pyronext-0.3.230/pyrogram/methods/messages/edit_inline_reply_markup.py +54 -0
  394. pyronext-0.3.230/pyrogram/methods/messages/edit_inline_text.py +82 -0
  395. pyronext-0.3.230/pyrogram/methods/messages/edit_message_caption.py +73 -0
  396. pyronext-0.3.230/pyrogram/methods/messages/edit_message_media.py +407 -0
  397. pyronext-0.3.230/pyrogram/methods/messages/edit_message_reply_markup.py +76 -0
  398. pyronext-0.3.230/pyrogram/methods/messages/edit_message_text.py +143 -0
  399. pyronext-0.3.230/pyrogram/methods/messages/forward_messages.py +179 -0
  400. pyronext-0.3.230/pyrogram/methods/messages/get_available_effects.py +41 -0
  401. pyronext-0.3.230/pyrogram/methods/messages/get_chat_history.py +125 -0
  402. pyronext-0.3.230/pyrogram/methods/messages/get_chat_history_count.py +55 -0
  403. pyronext-0.3.230/pyrogram/methods/messages/get_custom_emoji_stickers.py +44 -0
  404. pyronext-0.3.230/pyrogram/methods/messages/get_discussion_message.py +47 -0
  405. pyronext-0.3.230/pyrogram/methods/messages/get_discussion_replies.py +80 -0
  406. pyronext-0.3.230/pyrogram/methods/messages/get_discussion_replies_count.py +45 -0
  407. pyronext-0.3.230/pyrogram/methods/messages/get_media_group.py +66 -0
  408. pyronext-0.3.230/pyrogram/methods/messages/get_messages.py +190 -0
  409. pyronext-0.3.230/pyrogram/methods/messages/get_scheduled_messages.py +72 -0
  410. pyronext-0.3.230/pyrogram/methods/messages/inline_session.py +51 -0
  411. pyronext-0.3.230/pyrogram/methods/messages/read_chat_history.py +57 -0
  412. pyronext-0.3.230/pyrogram/methods/messages/retract_vote.py +43 -0
  413. pyronext-0.3.230/pyrogram/methods/messages/search_global.py +101 -0
  414. pyronext-0.3.230/pyrogram/methods/messages/search_global_count.py +45 -0
  415. pyronext-0.3.230/pyrogram/methods/messages/search_global_hashtag_messages.py +91 -0
  416. pyronext-0.3.230/pyrogram/methods/messages/search_global_hashtag_messages_count.py +38 -0
  417. pyronext-0.3.230/pyrogram/methods/messages/search_messages.py +140 -0
  418. pyronext-0.3.230/pyrogram/methods/messages/search_messages_count.py +69 -0
  419. pyronext-0.3.230/pyrogram/methods/messages/send_animation.py +418 -0
  420. pyronext-0.3.230/pyrogram/methods/messages/send_audio.py +314 -0
  421. pyronext-0.3.230/pyrogram/methods/messages/send_cached_media.py +227 -0
  422. pyronext-0.3.230/pyrogram/methods/messages/send_chat_action.py +123 -0
  423. pyronext-0.3.230/pyrogram/methods/messages/send_contact.py +225 -0
  424. pyronext-0.3.230/pyrogram/methods/messages/send_dice.py +173 -0
  425. pyronext-0.3.230/pyrogram/methods/messages/send_document.py +300 -0
  426. pyronext-0.3.230/pyrogram/methods/messages/send_location.py +217 -0
  427. pyronext-0.3.230/pyrogram/methods/messages/send_media_group.py +654 -0
  428. pyronext-0.3.230/pyrogram/methods/messages/send_message.py +324 -0
  429. pyronext-0.3.230/pyrogram/methods/messages/send_message_draft.py +85 -0
  430. pyronext-0.3.230/pyrogram/methods/messages/send_paid_media.py +320 -0
  431. pyronext-0.3.230/pyrogram/methods/messages/send_paid_reaction.py +63 -0
  432. pyronext-0.3.230/pyrogram/methods/messages/send_photo.py +346 -0
  433. pyronext-0.3.230/pyrogram/methods/messages/send_poll.py +314 -0
  434. pyronext-0.3.230/pyrogram/methods/messages/send_reaction.py +116 -0
  435. pyronext-0.3.230/pyrogram/methods/messages/send_rich_message.py +236 -0
  436. pyronext-0.3.230/pyrogram/methods/messages/send_sticker.py +260 -0
  437. pyronext-0.3.230/pyrogram/methods/messages/send_venue.py +230 -0
  438. pyronext-0.3.230/pyrogram/methods/messages/send_video.py +394 -0
  439. pyronext-0.3.230/pyrogram/methods/messages/send_video_note.py +289 -0
  440. pyronext-0.3.230/pyrogram/methods/messages/send_voice.py +273 -0
  441. pyronext-0.3.230/pyrogram/methods/messages/send_web_page.py +219 -0
  442. pyronext-0.3.230/pyrogram/methods/messages/stop_poll.py +70 -0
  443. pyronext-0.3.230/pyrogram/methods/messages/stream_media.py +103 -0
  444. pyronext-0.3.230/pyrogram/methods/messages/translate_text.py +111 -0
  445. pyronext-0.3.230/pyrogram/methods/messages/vote_poll.py +55 -0
  446. pyronext-0.3.230/pyrogram/methods/password/__init__.py +9 -0
  447. pyronext-0.3.230/pyrogram/methods/password/change_cloud_password.py +71 -0
  448. pyronext-0.3.230/pyrogram/methods/password/enable_cloud_password.py +72 -0
  449. pyronext-0.3.230/pyrogram/methods/password/remove_cloud_password.py +45 -0
  450. pyronext-0.3.230/pyrogram/methods/stickers/__init__.py +9 -0
  451. pyronext-0.3.230/pyrogram/methods/stickers/add_sticker_to_set.py +65 -0
  452. pyronext-0.3.230/pyrogram/methods/stickers/create_sticker_set.py +85 -0
  453. pyronext-0.3.230/pyrogram/methods/stickers/get_sticker_set.py +37 -0
  454. pyronext-0.3.230/pyrogram/methods/stories/__init__.py +25 -0
  455. pyronext-0.3.230/pyrogram/methods/stories/delete_stories.py +64 -0
  456. pyronext-0.3.230/pyrogram/methods/stories/edit_story.py +265 -0
  457. pyronext-0.3.230/pyrogram/methods/stories/export_story_link.py +53 -0
  458. pyronext-0.3.230/pyrogram/methods/stories/forward_story.py +109 -0
  459. pyronext-0.3.230/pyrogram/methods/stories/get_all_stories.py +43 -0
  460. pyronext-0.3.230/pyrogram/methods/stories/get_peer_stories.py +54 -0
  461. pyronext-0.3.230/pyrogram/methods/stories/get_stories.py +82 -0
  462. pyronext-0.3.230/pyrogram/methods/stories/get_stories_history.py +66 -0
  463. pyronext-0.3.230/pyrogram/methods/stories/send_story.py +273 -0
  464. pyronext-0.3.230/pyrogram/methods/users/__init__.py +39 -0
  465. pyronext-0.3.230/pyrogram/methods/users/block_user.py +32 -0
  466. pyronext-0.3.230/pyrogram/methods/users/delete_account.py +45 -0
  467. pyronext-0.3.230/pyrogram/methods/users/delete_profile_photos.py +45 -0
  468. pyronext-0.3.230/pyrogram/methods/users/get_chat_photos.py +144 -0
  469. pyronext-0.3.230/pyrogram/methods/users/get_chat_photos_count.py +55 -0
  470. pyronext-0.3.230/pyrogram/methods/users/get_common_chats.py +49 -0
  471. pyronext-0.3.230/pyrogram/methods/users/get_default_emoji_statuses.py +26 -0
  472. pyronext-0.3.230/pyrogram/methods/users/get_me.py +28 -0
  473. pyronext-0.3.230/pyrogram/methods/users/get_users.py +59 -0
  474. pyronext-0.3.230/pyrogram/methods/users/set_emoji_status.py +40 -0
  475. pyronext-0.3.230/pyrogram/methods/users/set_profile_photo.py +59 -0
  476. pyronext-0.3.230/pyrogram/methods/users/set_username.py +34 -0
  477. pyronext-0.3.230/pyrogram/methods/users/unblock_user.py +32 -0
  478. pyronext-0.3.230/pyrogram/methods/users/update_birthday.py +44 -0
  479. pyronext-0.3.230/pyrogram/methods/users/update_personal_chat.py +34 -0
  480. pyronext-0.3.230/pyrogram/methods/users/update_profile.py +56 -0
  481. pyronext-0.3.230/pyrogram/methods/utilities/__init__.py +25 -0
  482. pyronext-0.3.230/pyrogram/methods/utilities/add_handler.py +51 -0
  483. pyronext-0.3.230/pyrogram/methods/utilities/compose.py +61 -0
  484. pyronext-0.3.230/pyrogram/methods/utilities/export_session_string.py +25 -0
  485. pyronext-0.3.230/pyrogram/methods/utilities/idle.py +73 -0
  486. pyronext-0.3.230/pyrogram/methods/utilities/listening.py +53 -0
  487. pyronext-0.3.230/pyrogram/methods/utilities/remove_handler.py +51 -0
  488. pyronext-0.3.230/pyrogram/methods/utilities/restart.py +56 -0
  489. pyronext-0.3.230/pyrogram/methods/utilities/run.py +64 -0
  490. pyronext-0.3.230/pyrogram/methods/utilities/start.py +60 -0
  491. pyronext-0.3.230/pyrogram/methods/utilities/stop.py +53 -0
  492. pyronext-0.3.230/pyrogram/methods/utilities/stop_transmission.py +30 -0
  493. pyronext-0.3.230/pyrogram/mime_types.py +773 -0
  494. pyronext-0.3.230/pyrogram/parser/__init__.py +5 -0
  495. pyronext-0.3.230/pyrogram/parser/html.py +248 -0
  496. pyronext-0.3.230/pyrogram/parser/markdown.py +271 -0
  497. pyronext-0.3.230/pyrogram/parser/parser.py +60 -0
  498. pyronext-0.3.230/pyrogram/parser/utils.py +26 -0
  499. pyronext-0.3.230/pyrogram/py.typed +0 -0
  500. pyronext-0.3.230/pyrogram/raw/__init__.py +12 -0
  501. pyronext-0.3.230/pyrogram/raw/core/__init__.py +36 -0
  502. pyronext-0.3.230/pyrogram/raw/core/future_salt.py +37 -0
  503. pyronext-0.3.230/pyrogram/raw/core/future_salts.py +47 -0
  504. pyronext-0.3.230/pyrogram/raw/core/gzip_packed.py +37 -0
  505. pyronext-0.3.230/pyrogram/raw/core/list.py +10 -0
  506. pyronext-0.3.230/pyrogram/raw/core/message.py +46 -0
  507. pyronext-0.3.230/pyrogram/raw/core/msg_container.py +37 -0
  508. pyronext-0.3.230/pyrogram/raw/core/primitives/__init__.py +22 -0
  509. pyronext-0.3.230/pyrogram/raw/core/primitives/bool.py +34 -0
  510. pyronext-0.3.230/pyrogram/raw/core/primitives/bytes.py +33 -0
  511. pyronext-0.3.230/pyrogram/raw/core/primitives/double.py +18 -0
  512. pyronext-0.3.230/pyrogram/raw/core/primitives/int.py +36 -0
  513. pyronext-0.3.230/pyrogram/raw/core/primitives/string.py +19 -0
  514. pyronext-0.3.230/pyrogram/raw/core/primitives/vector.py +50 -0
  515. pyronext-0.3.230/pyrogram/raw/core/tl_object.py +73 -0
  516. pyronext-0.3.230/pyrogram/session/__init__.py +6 -0
  517. pyronext-0.3.230/pyrogram/session/auth.py +293 -0
  518. pyronext-0.3.230/pyrogram/session/internals/__init__.py +7 -0
  519. pyronext-0.3.230/pyrogram/session/internals/data_center.py +68 -0
  520. pyronext-0.3.230/pyrogram/session/internals/msg_factory.py +23 -0
  521. pyronext-0.3.230/pyrogram/session/internals/msg_id.py +22 -0
  522. pyronext-0.3.230/pyrogram/session/internals/seq_no.py +16 -0
  523. pyronext-0.3.230/pyrogram/session/session.py +611 -0
  524. pyronext-0.3.230/pyrogram/storage/__init__.py +7 -0
  525. pyronext-0.3.230/pyrogram/storage/file_storage.py +76 -0
  526. pyronext-0.3.230/pyrogram/storage/memory_storage.py +87 -0
  527. pyronext-0.3.230/pyrogram/storage/sqlite_storage.py +278 -0
  528. pyronext-0.3.230/pyrogram/storage/storage.py +112 -0
  529. pyronext-0.3.230/pyrogram/types/__init__.py +629 -0
  530. pyronext-0.3.230/pyrogram/types/authorization/__init__.py +13 -0
  531. pyronext-0.3.230/pyrogram/types/authorization/active_session.py +171 -0
  532. pyronext-0.3.230/pyrogram/types/authorization/active_sessions.py +42 -0
  533. pyronext-0.3.230/pyrogram/types/authorization/sent_code.py +49 -0
  534. pyronext-0.3.230/pyrogram/types/authorization/terms_of_service.py +51 -0
  535. pyronext-0.3.230/pyrogram/types/bot_commands/__init__.py +25 -0
  536. pyronext-0.3.230/pyrogram/types/bot_commands/bot_command.py +33 -0
  537. pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope.py +61 -0
  538. pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_all_chat_administrators.py +19 -0
  539. pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_all_group_chats.py +19 -0
  540. pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_all_private_chats.py +19 -0
  541. pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_chat.py +26 -0
  542. pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_chat_administrators.py +26 -0
  543. pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_chat_member.py +31 -0
  544. pyronext-0.3.230/pyrogram/types/bot_commands/bot_command_scope_default.py +21 -0
  545. pyronext-0.3.230/pyrogram/types/bots/__init__.py +13 -0
  546. pyronext-0.3.230/pyrogram/types/bots/bot_allowed.py +53 -0
  547. pyronext-0.3.230/pyrogram/types/bots/bot_app.py +67 -0
  548. pyronext-0.3.230/pyrogram/types/bots/bot_business_connection.py +71 -0
  549. pyronext-0.3.230/pyrogram/types/bots/bot_info.py +41 -0
  550. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/__init__.py +96 -0
  551. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/callback_game.py +13 -0
  552. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/callback_query.py +404 -0
  553. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/collectible_item_info.py +63 -0
  554. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/force_reply.py +46 -0
  555. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/game_high_score.py +60 -0
  556. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/inline_keyboard_button.py +299 -0
  557. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/inline_keyboard_button_buy.py +53 -0
  558. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/inline_keyboard_markup.py +63 -0
  559. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/keyboard_button.py +189 -0
  560. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/keyboard_button_style.py +73 -0
  561. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/login_url.py +78 -0
  562. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/menu_button.py +32 -0
  563. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/menu_button_commands.py +19 -0
  564. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/menu_button_default.py +19 -0
  565. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/menu_button_web_app.py +32 -0
  566. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/reply_keyboard_markup.py +95 -0
  567. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/reply_keyboard_remove.py +35 -0
  568. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/request_peer_type_channel.py +54 -0
  569. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/request_peer_type_chat.py +64 -0
  570. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/request_peer_type_user.py +53 -0
  571. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/requested_chat.py +65 -0
  572. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/requested_chats.py +58 -0
  573. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/requested_user.py +65 -0
  574. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/rich_button_style.py +103 -0
  575. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/sent_web_app_message.py +31 -0
  576. pyronext-0.3.230/pyrogram/types/bots_and_keyboards/web_app_info.py +22 -0
  577. pyronext-0.3.230/pyrogram/types/business/__init__.py +37 -0
  578. pyronext-0.3.230/pyrogram/types/business/extended_media_preview.py +53 -0
  579. pyronext-0.3.230/pyrogram/types/business/input_stars_transaction.py +25 -0
  580. pyronext-0.3.230/pyrogram/types/business/invoice.py +153 -0
  581. pyronext-0.3.230/pyrogram/types/business/paid_media.py +96 -0
  582. pyronext-0.3.230/pyrogram/types/business/paid_media_preview.py +38 -0
  583. pyronext-0.3.230/pyrogram/types/business/payment_info.py +41 -0
  584. pyronext-0.3.230/pyrogram/types/business/payment_refunded.py +76 -0
  585. pyronext-0.3.230/pyrogram/types/business/pre_checkout_query.py +136 -0
  586. pyronext-0.3.230/pyrogram/types/business/shipping_address.py +46 -0
  587. pyronext-0.3.230/pyrogram/types/business/shipping_option.py +54 -0
  588. pyronext-0.3.230/pyrogram/types/business/shipping_query.py +110 -0
  589. pyronext-0.3.230/pyrogram/types/business/stars_amount.py +44 -0
  590. pyronext-0.3.230/pyrogram/types/business/stars_status.py +33 -0
  591. pyronext-0.3.230/pyrogram/types/business/stars_transaction.py +121 -0
  592. pyronext-0.3.230/pyrogram/types/business/successful_payment.py +101 -0
  593. pyronext-0.3.230/pyrogram/types/business/suggested_post.py +64 -0
  594. pyronext-0.3.230/pyrogram/types/inline_mode/__init__.py +59 -0
  595. pyronext-0.3.230/pyrogram/types/inline_mode/chosen_inline_result.py +95 -0
  596. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query.py +173 -0
  597. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result.py +50 -0
  598. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_animation.py +145 -0
  599. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_article.py +87 -0
  600. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_audio.py +131 -0
  601. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_animation.py +98 -0
  602. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_audio.py +91 -0
  603. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_document.py +103 -0
  604. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_photo.py +101 -0
  605. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_sticker.py +65 -0
  606. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_video.py +104 -0
  607. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_cached_voice.py +98 -0
  608. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_contact.py +103 -0
  609. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_document.py +139 -0
  610. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_location.py +109 -0
  611. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_photo.py +137 -0
  612. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_venue.py +120 -0
  613. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_video.py +143 -0
  614. pyronext-0.3.230/pyrogram/types/inline_mode/inline_query_result_voice.py +106 -0
  615. pyronext-0.3.230/pyrogram/types/input_media/__init__.py +26 -0
  616. pyronext-0.3.230/pyrogram/types/input_media/input_media.py +36 -0
  617. pyronext-0.3.230/pyrogram/types/input_media/input_media_animation.py +71 -0
  618. pyronext-0.3.230/pyrogram/types/input_media/input_media_audio.py +68 -0
  619. pyronext-0.3.230/pyrogram/types/input_media/input_media_document.py +51 -0
  620. pyronext-0.3.230/pyrogram/types/input_media/input_media_photo.py +49 -0
  621. pyronext-0.3.230/pyrogram/types/input_media/input_media_video.py +77 -0
  622. pyronext-0.3.230/pyrogram/types/input_media/input_phone_contact.py +36 -0
  623. pyronext-0.3.230/pyrogram/types/input_message_content/__init__.py +79 -0
  624. pyronext-0.3.230/pyrogram/types/input_message_content/input_contact_message_content.py +52 -0
  625. pyronext-0.3.230/pyrogram/types/input_message_content/input_invoice_message_content.py +162 -0
  626. pyronext-0.3.230/pyrogram/types/input_message_content/input_location_message_content.py +66 -0
  627. pyronext-0.3.230/pyrogram/types/input_message_content/input_message_content.py +28 -0
  628. pyronext-0.3.230/pyrogram/types/input_message_content/input_reply_to_message.py +68 -0
  629. pyronext-0.3.230/pyrogram/types/input_message_content/input_reply_to_story.py +34 -0
  630. pyronext-0.3.230/pyrogram/types/input_message_content/input_rich_block.py +930 -0
  631. pyronext-0.3.230/pyrogram/types/input_message_content/input_rich_message.py +114 -0
  632. pyronext-0.3.230/pyrogram/types/input_message_content/input_rich_message_media.py +114 -0
  633. pyronext-0.3.230/pyrogram/types/input_message_content/input_text_message_content.py +56 -0
  634. pyronext-0.3.230/pyrogram/types/input_message_content/input_venue_message_content.py +71 -0
  635. pyronext-0.3.230/pyrogram/types/input_privacy_rule/__init__.py +25 -0
  636. pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule.py +31 -0
  637. pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_all.py +21 -0
  638. pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_chats.py +41 -0
  639. pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_contacts.py +21 -0
  640. pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_premium.py +21 -0
  641. pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_users.py +39 -0
  642. pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_disallow_all.py +21 -0
  643. pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_disallow_chats.py +41 -0
  644. pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_disallow_contacts.py +21 -0
  645. pyronext-0.3.230/pyrogram/types/input_privacy_rule/input_privacy_rule_disallow_users.py +39 -0
  646. pyronext-0.3.230/pyrogram/types/list.py +15 -0
  647. pyronext-0.3.230/pyrogram/types/messages_and_media/__init__.py +245 -0
  648. pyronext-0.3.230/pyrogram/types/messages_and_media/alternative_video.py +137 -0
  649. pyronext-0.3.230/pyrogram/types/messages_and_media/animation.py +153 -0
  650. pyronext-0.3.230/pyrogram/types/messages_and_media/audio.py +111 -0
  651. pyronext-0.3.230/pyrogram/types/messages_and_media/available_effect.py +74 -0
  652. pyronext-0.3.230/pyrogram/types/messages_and_media/contact.py +62 -0
  653. pyronext-0.3.230/pyrogram/types/messages_and_media/contact_registered.py +12 -0
  654. pyronext-0.3.230/pyrogram/types/messages_and_media/dice.py +37 -0
  655. pyronext-0.3.230/pyrogram/types/messages_and_media/document.py +90 -0
  656. pyronext-0.3.230/pyrogram/types/messages_and_media/draft_message.py +202 -0
  657. pyronext-0.3.230/pyrogram/types/messages_and_media/exported_story_link.py +29 -0
  658. pyronext-0.3.230/pyrogram/types/messages_and_media/fact_check.py +59 -0
  659. pyronext-0.3.230/pyrogram/types/messages_and_media/game.py +82 -0
  660. pyronext-0.3.230/pyrogram/types/messages_and_media/gifted_premium.py +66 -0
  661. pyronext-0.3.230/pyrogram/types/messages_and_media/giveaway.py +97 -0
  662. pyronext-0.3.230/pyrogram/types/messages_and_media/giveaway_launched.py +13 -0
  663. pyronext-0.3.230/pyrogram/types/messages_and_media/giveaway_result.py +121 -0
  664. pyronext-0.3.230/pyrogram/types/messages_and_media/labeled_price.py +26 -0
  665. pyronext-0.3.230/pyrogram/types/messages_and_media/link_preview_options.py +64 -0
  666. pyronext-0.3.230/pyrogram/types/messages_and_media/location.py +39 -0
  667. pyronext-0.3.230/pyrogram/types/messages_and_media/message.py +6072 -0
  668. pyronext-0.3.230/pyrogram/types/messages_and_media/message_entity.py +121 -0
  669. pyronext-0.3.230/pyrogram/types/messages_and_media/message_reaction_count_updated.py +81 -0
  670. pyronext-0.3.230/pyrogram/types/messages_and_media/message_reaction_updated.py +124 -0
  671. pyronext-0.3.230/pyrogram/types/messages_and_media/message_reactions.py +60 -0
  672. pyronext-0.3.230/pyrogram/types/messages_and_media/message_reactor.py +70 -0
  673. pyronext-0.3.230/pyrogram/types/messages_and_media/message_story.py +72 -0
  674. pyronext-0.3.230/pyrogram/types/messages_and_media/payment_form.py +102 -0
  675. pyronext-0.3.230/pyrogram/types/messages_and_media/photo.py +126 -0
  676. pyronext-0.3.230/pyrogram/types/messages_and_media/poll.py +326 -0
  677. pyronext-0.3.230/pyrogram/types/messages_and_media/poll_option.py +57 -0
  678. pyronext-0.3.230/pyrogram/types/messages_and_media/reaction.py +214 -0
  679. pyronext-0.3.230/pyrogram/types/messages_and_media/rich_block.py +1128 -0
  680. pyronext-0.3.230/pyrogram/types/messages_and_media/rich_message.py +62 -0
  681. pyronext-0.3.230/pyrogram/types/messages_and_media/rich_text.py +895 -0
  682. pyronext-0.3.230/pyrogram/types/messages_and_media/screenshot_taken.py +12 -0
  683. pyronext-0.3.230/pyrogram/types/messages_and_media/sticker.py +225 -0
  684. pyronext-0.3.230/pyrogram/types/messages_and_media/stickerset.py +60 -0
  685. pyronext-0.3.230/pyrogram/types/messages_and_media/stripped_thumbnail.py +32 -0
  686. pyronext-0.3.230/pyrogram/types/messages_and_media/thumbnail.py +104 -0
  687. pyronext-0.3.230/pyrogram/types/messages_and_media/translated_text.py +43 -0
  688. pyronext-0.3.230/pyrogram/types/messages_and_media/venue.py +62 -0
  689. pyronext-0.3.230/pyrogram/types/messages_and_media/video.py +124 -0
  690. pyronext-0.3.230/pyrogram/types/messages_and_media/video_note.py +98 -0
  691. pyronext-0.3.230/pyrogram/types/messages_and_media/voice.py +92 -0
  692. pyronext-0.3.230/pyrogram/types/messages_and_media/web_app_data.py +36 -0
  693. pyronext-0.3.230/pyrogram/types/messages_and_media/web_page.py +175 -0
  694. pyronext-0.3.230/pyrogram/types/messages_and_media/web_page_empty.py +31 -0
  695. pyronext-0.3.230/pyrogram/types/messages_and_media/web_page_preview.py +57 -0
  696. pyronext-0.3.230/pyrogram/types/object.py +110 -0
  697. pyronext-0.3.230/pyrogram/types/payments/__init__.py +6 -0
  698. pyronext-0.3.230/pyrogram/types/payments/gift.py +306 -0
  699. pyronext-0.3.230/pyrogram/types/payments/user_gift.py +180 -0
  700. pyronext-0.3.230/pyrogram/types/stories/__init__.py +27 -0
  701. pyronext-0.3.230/pyrogram/types/stories/input_media_area.py +24 -0
  702. pyronext-0.3.230/pyrogram/types/stories/input_media_area_channel_post.py +45 -0
  703. pyronext-0.3.230/pyrogram/types/stories/media_area.py +27 -0
  704. pyronext-0.3.230/pyrogram/types/stories/media_area_channel_post.py +58 -0
  705. pyronext-0.3.230/pyrogram/types/stories/media_area_coordinates.py +61 -0
  706. pyronext-0.3.230/pyrogram/types/stories/stories_privacy_rules.py +30 -0
  707. pyronext-0.3.230/pyrogram/types/stories/story.py +2043 -0
  708. pyronext-0.3.230/pyrogram/types/stories/story_deleted.py +60 -0
  709. pyronext-0.3.230/pyrogram/types/stories/story_forward_header.py +72 -0
  710. pyronext-0.3.230/pyrogram/types/stories/story_skipped.py +83 -0
  711. pyronext-0.3.230/pyrogram/types/stories/story_views.py +70 -0
  712. pyronext-0.3.230/pyrogram/types/update.py +15 -0
  713. pyronext-0.3.230/pyrogram/types/user_and_chats/__init__.py +94 -0
  714. pyronext-0.3.230/pyrogram/types/user_and_chats/birthday.py +33 -0
  715. pyronext-0.3.230/pyrogram/types/user_and_chats/business_info.py +69 -0
  716. pyronext-0.3.230/pyrogram/types/user_and_chats/business_message.py +115 -0
  717. pyronext-0.3.230/pyrogram/types/user_and_chats/business_recipients.py +65 -0
  718. pyronext-0.3.230/pyrogram/types/user_and_chats/business_weekly_open.py +38 -0
  719. pyronext-0.3.230/pyrogram/types/user_and_chats/business_working_hours.py +45 -0
  720. pyronext-0.3.230/pyrogram/types/user_and_chats/chat.py +1493 -0
  721. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_admin_with_invite_links.py +52 -0
  722. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_color.py +53 -0
  723. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_event.py +772 -0
  724. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_event_filter.py +183 -0
  725. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_invite_link.py +138 -0
  726. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_join_request.py +129 -0
  727. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_joined_by_request.py +13 -0
  728. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_joiner.py +76 -0
  729. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_member.py +228 -0
  730. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_member_updated.py +147 -0
  731. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_permissions.py +220 -0
  732. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_photo.py +118 -0
  733. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_preview.py +71 -0
  734. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_privileges.py +135 -0
  735. pyronext-0.3.230/pyrogram/types/user_and_chats/chat_reactions.py +71 -0
  736. pyronext-0.3.230/pyrogram/types/user_and_chats/dialog.py +101 -0
  737. pyronext-0.3.230/pyrogram/types/user_and_chats/emoji_status.py +69 -0
  738. pyronext-0.3.230/pyrogram/types/user_and_chats/folder.py +496 -0
  739. pyronext-0.3.230/pyrogram/types/user_and_chats/forum_topic.py +138 -0
  740. pyronext-0.3.230/pyrogram/types/user_and_chats/forum_topic_closed.py +13 -0
  741. pyronext-0.3.230/pyrogram/types/user_and_chats/forum_topic_created.py +50 -0
  742. pyronext-0.3.230/pyrogram/types/user_and_chats/forum_topic_edited.py +47 -0
  743. pyronext-0.3.230/pyrogram/types/user_and_chats/forum_topic_reopened.py +13 -0
  744. pyronext-0.3.230/pyrogram/types/user_and_chats/found_contacts.py +56 -0
  745. pyronext-0.3.230/pyrogram/types/user_and_chats/general_forum_topic_hidden.py +13 -0
  746. pyronext-0.3.230/pyrogram/types/user_and_chats/general_forum_topic_unhidden.py +13 -0
  747. pyronext-0.3.230/pyrogram/types/user_and_chats/invite_link_importer.py +50 -0
  748. pyronext-0.3.230/pyrogram/types/user_and_chats/peer_channel.py +30 -0
  749. pyronext-0.3.230/pyrogram/types/user_and_chats/peer_user.py +30 -0
  750. pyronext-0.3.230/pyrogram/types/user_and_chats/privacy_rule.py +102 -0
  751. pyronext-0.3.230/pyrogram/types/user_and_chats/restriction.py +39 -0
  752. pyronext-0.3.230/pyrogram/types/user_and_chats/user.py +612 -0
  753. pyronext-0.3.230/pyrogram/types/user_and_chats/username.py +45 -0
  754. pyronext-0.3.230/pyrogram/types/user_and_chats/video_chat_ended.py +28 -0
  755. pyronext-0.3.230/pyrogram/types/user_and_chats/video_chat_members_invited.py +31 -0
  756. pyronext-0.3.230/pyrogram/types/user_and_chats/video_chat_scheduled.py +31 -0
  757. pyronext-0.3.230/pyrogram/types/user_and_chats/video_chat_started.py +13 -0
  758. pyronext-0.3.230/pyrogram/utils.py +592 -0
  759. pyronext-0.3.230/requirements-dev.lock +907 -0
  760. pyronext-0.3.230/requirements.lock +168 -0
  761. pyronext-0.3.230/tests/__init__.py +0 -0
  762. pyronext-0.3.230/tests/filters/__init__.py +21 -0
  763. pyronext-0.3.230/tests/filters/test_command.py +132 -0
  764. pyronext-0.3.230/tests/parser/__init__.py +0 -0
  765. pyronext-0.3.230/tests/parser/test_html.py +254 -0
  766. pyronext-0.3.230/tests/parser/test_markdown.py +215 -0
  767. pyronext-0.3.230/tests/test_file_id.py +191 -0
  768. 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.
@@ -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