hypergram 1.0.3__tar.gz → 1.0.4__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 (893) hide show
  1. hypergram-1.0.4/Developers/saif.py +0 -0
  2. {hypergram-1.0.3 → hypergram-1.0.4}/PKG-INFO +1 -1
  3. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/__init__.py +1 -1
  4. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/client.py +17 -4
  5. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/chat_action.py +1 -1
  6. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/copy_message.py +1 -1
  7. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/place_gift_auction_bid.py +1 -1
  8. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/utilities/run.py +12 -1
  9. hypergram-1.0.4/hypergram/py.typed +0 -0
  10. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/session/__init__.py +1 -1
  11. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/session/session.py +45 -84
  12. hypergram-1.0.3/hypergram/enums/folder_color.py +0 -47
  13. {hypergram-1.0.3 → hypergram-1.0.4}/.gitignore +0 -0
  14. {hypergram-1.0.3 → hypergram-1.0.4}/COPYING +0 -0
  15. {hypergram-1.0.3 → hypergram-1.0.4}/COPYING.lesser +0 -0
  16. /hypergram-1.0.3/hypergram/py.typed → /hypergram-1.0.4/Developers/jana.py +0 -0
  17. {hypergram-1.0.3 → hypergram-1.0.4}/MANIFEST.in +0 -0
  18. {hypergram-1.0.3 → hypergram-1.0.4}/Makefile +0 -0
  19. {hypergram-1.0.3 → hypergram-1.0.4}/NOTICE +0 -0
  20. {hypergram-1.0.3 → hypergram-1.0.4}/README.md +0 -0
  21. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/__init__.py +0 -0
  22. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/api/__init__.py +0 -0
  23. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/api/compiler.py +0 -0
  24. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/api/source/auth_key.tl +0 -0
  25. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/api/source/main_api.tl +0 -0
  26. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/api/source/sys_msgs.tl +0 -0
  27. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/api/template/combinator.txt +0 -0
  28. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/api/template/type.txt +0 -0
  29. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/errors/__init__.py +0 -0
  30. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/errors/compiler.py +0 -0
  31. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/errors/sort.py +0 -0
  32. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/errors/source/303_SEE_OTHER.tsv +0 -0
  33. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/errors/source/400_BAD_REQUEST.tsv +0 -0
  34. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/errors/source/401_UNAUTHORIZED.tsv +0 -0
  35. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/errors/source/403_FORBIDDEN.tsv +0 -0
  36. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/errors/source/406_NOT_ACCEPTABLE.tsv +0 -0
  37. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/errors/source/420_FLOOD.tsv +0 -0
  38. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/errors/source/500_INTERNAL_SERVER_ERROR.tsv +0 -0
  39. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/errors/source/503_SERVICE_UNAVAILABLE.tsv +0 -0
  40. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/errors/template/class.txt +0 -0
  41. {hypergram-1.0.3 → hypergram-1.0.4}/compiler/errors/template/sub_class.txt +0 -0
  42. {hypergram-1.0.3 → hypergram-1.0.4}/hatch_build.py +0 -0
  43. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/connection/__init__.py +0 -0
  44. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/connection/connection.py +0 -0
  45. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/connection/transport/__init__.py +0 -0
  46. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/connection/transport/tcp/__init__.py +0 -0
  47. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/connection/transport/tcp/tcp.py +0 -0
  48. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/connection/transport/tcp/tcp_abridged.py +0 -0
  49. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/connection/transport/tcp/tcp_abridged_o.py +0 -0
  50. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/connection/transport/tcp/tcp_full.py +0 -0
  51. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/connection/transport/tcp/tcp_intermediate.py +0 -0
  52. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/connection/transport/tcp/tcp_intermediate_o.py +0 -0
  53. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/crypto/__init__.py +0 -0
  54. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/crypto/aes.py +0 -0
  55. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/crypto/mtproto.py +0 -0
  56. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/crypto/prime.py +0 -0
  57. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/crypto/rsa.py +0 -0
  58. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/dispatcher.py +0 -0
  59. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/__init__.py +0 -0
  60. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/auto_name.py +0 -0
  61. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/block_list.py +0 -0
  62. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/business_schedule.py +0 -0
  63. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/button_style.py +0 -0
  64. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/chat_event_action.py +0 -0
  65. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/chat_join_request_query_result.py +0 -0
  66. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/chat_join_type.py +0 -0
  67. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/chat_member_status.py +0 -0
  68. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/chat_members_filter.py +0 -0
  69. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/chat_type.py +0 -0
  70. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/client_platform.py +0 -0
  71. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/gift_attribute_type.py +0 -0
  72. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/gift_for_resale_order.py +0 -0
  73. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/gift_purchase_offer_state.py +0 -0
  74. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/gift_type.py +0 -0
  75. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/mask_point_type.py +0 -0
  76. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/media_area_type.py +0 -0
  77. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/message_entity_type.py +0 -0
  78. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/message_media_type.py +0 -0
  79. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/message_origin_type.py +0 -0
  80. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/message_service_type.py +0 -0
  81. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/messages_filter.py +0 -0
  82. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/next_code_type.py +0 -0
  83. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/paid_reaction_privacy.py +0 -0
  84. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/parse_mode.py +0 -0
  85. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/payment_form_type.py +0 -0
  86. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/phone_call_discard_reason.py +0 -0
  87. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/phone_number_code_type.py +0 -0
  88. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/poll_type.py +0 -0
  89. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/privacy_key.py +0 -0
  90. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/privacy_rule_type.py +0 -0
  91. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/profile_color.py +0 -0
  92. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/profile_tab.py +0 -0
  93. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/reply_color.py +0 -0
  94. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/sent_code_type.py +0 -0
  95. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/sticker_type.py +0 -0
  96. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/stories_privacy_rules.py +0 -0
  97. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/suggested_post_refund_reason.py +0 -0
  98. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/suggested_post_state.py +0 -0
  99. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/top_chat_category.py +0 -0
  100. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/upgraded_gift_origin.py +0 -0
  101. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/enums/user_status.py +0 -0
  102. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/errors/__init__.py +0 -0
  103. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/errors/rpc_error.py +0 -0
  104. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/file_id.py +0 -0
  105. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/filters.py +0 -0
  106. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/__init__.py +0 -0
  107. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/business_connection_handler.py +0 -0
  108. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/business_message_handler.py +0 -0
  109. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/callback_query_handler.py +0 -0
  110. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/chat_boost_handler.py +0 -0
  111. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/chat_join_request_handler.py +0 -0
  112. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/chat_member_updated_handler.py +0 -0
  113. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/chosen_inline_result_handler.py +0 -0
  114. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/connect_handler.py +0 -0
  115. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/deleted_business_messages_handler.py +0 -0
  116. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/deleted_messages_handler.py +0 -0
  117. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/disconnect_handler.py +0 -0
  118. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/edited_business_message_handler.py +0 -0
  119. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/edited_message_handler.py +0 -0
  120. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/error_handler.py +0 -0
  121. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/guest_message_handler.py +0 -0
  122. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/handler.py +0 -0
  123. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/inline_query_handler.py +0 -0
  124. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/managed_bot_updated_handler.py +0 -0
  125. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/message_handler.py +0 -0
  126. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/message_reaction_count_handler.py +0 -0
  127. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/message_reaction_handler.py +0 -0
  128. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/poll_handler.py +0 -0
  129. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/pre_checkout_query_handler.py +0 -0
  130. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/purchased_paid_media_handler.py +0 -0
  131. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/raw_update_handler.py +0 -0
  132. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/shipping_query_handler.py +0 -0
  133. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/start_handler.py +0 -0
  134. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/stop_handler.py +0 -0
  135. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/story_handler.py +0 -0
  136. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/handlers/user_status_handler.py +0 -0
  137. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/__init__.py +0 -0
  138. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/account/__init__.py +0 -0
  139. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/account/add_profile_audio.py +0 -0
  140. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/account/get_account_ttl.py +0 -0
  141. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/account/get_global_privacy_settings.py +0 -0
  142. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/account/get_privacy.py +0 -0
  143. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/account/remove_profile_audio.py +0 -0
  144. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/account/set_account_ttl.py +0 -0
  145. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/account/set_global_privacy_settings.py +0 -0
  146. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/account/set_inactive_session_ttl.py +0 -0
  147. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/account/set_privacy.py +0 -0
  148. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/account/set_profile_audio_position.py +0 -0
  149. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/advanced/__init__.py +0 -0
  150. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/advanced/invoke.py +0 -0
  151. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/advanced/recover_gaps.py +0 -0
  152. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/advanced/resolve_peer.py +0 -0
  153. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/advanced/save_file.py +0 -0
  154. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/__init__.py +0 -0
  155. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/accept_terms_of_service.py +0 -0
  156. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/change_phone_number.py +0 -0
  157. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/check_password.py +0 -0
  158. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/connect.py +0 -0
  159. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/disconnect.py +0 -0
  160. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/get_active_sessions.py +0 -0
  161. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/get_password_hint.py +0 -0
  162. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/initialize.py +0 -0
  163. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/log_out.py +0 -0
  164. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/recover_password.py +0 -0
  165. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/resend_phone_number_code.py +0 -0
  166. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/reset_session.py +0 -0
  167. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/reset_sessions.py +0 -0
  168. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/send_phone_number_code.py +0 -0
  169. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/send_recovery_code.py +0 -0
  170. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/sign_in.py +0 -0
  171. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/sign_in_bot.py +0 -0
  172. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/sign_up.py +0 -0
  173. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/auth/terminate.py +0 -0
  174. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/__init__.py +0 -0
  175. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/answer_callback_query.py +0 -0
  176. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/answer_chat_join_request_query.py +0 -0
  177. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/answer_guest_query.py +0 -0
  178. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/answer_inline_query.py +0 -0
  179. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/answer_pre_checkout_query.py +0 -0
  180. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/answer_shipping_query.py +0 -0
  181. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/answer_web_app_query.py +0 -0
  182. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/check_bot_username.py +0 -0
  183. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/create_bot.py +0 -0
  184. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/create_invoice_link.py +0 -0
  185. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/delete_bot_commands.py +0 -0
  186. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/edit_user_star_subscription.py +0 -0
  187. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/get_bot_commands.py +0 -0
  188. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/get_bot_default_privileges.py +0 -0
  189. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/get_bot_info_description.py +0 -0
  190. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/get_bot_info_short_description.py +0 -0
  191. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/get_bot_name.py +0 -0
  192. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/get_chat_menu_button.py +0 -0
  193. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/get_game_high_scores.py +0 -0
  194. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/get_inline_bot_results.py +0 -0
  195. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/get_managed_bot_access_settings.py +0 -0
  196. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/get_managed_bot_token.py +0 -0
  197. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/get_owned_bots.py +0 -0
  198. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/refund_star_payment.py +0 -0
  199. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/replace_managed_bot_token.py +0 -0
  200. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/request_callback_answer.py +0 -0
  201. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/send_chat_join_request_web_app.py +0 -0
  202. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/send_game.py +0 -0
  203. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/send_inline_bot_result.py +0 -0
  204. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/send_invoice.py +0 -0
  205. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/set_bot_commands.py +0 -0
  206. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/set_bot_default_privileges.py +0 -0
  207. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/set_bot_info_description.py +0 -0
  208. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/set_bot_info_short_description.py +0 -0
  209. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/set_bot_name.py +0 -0
  210. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/set_chat_menu_button.py +0 -0
  211. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/set_game_score.py +0 -0
  212. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/bots/set_managed_bot_access_settings.py +0 -0
  213. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/business/__init__.py +0 -0
  214. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/business/delete_business_messages.py +0 -0
  215. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/business/get_business_account_gifts.py +0 -0
  216. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/business/get_business_account_star_balance.py +0 -0
  217. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/business/get_business_connection.py +0 -0
  218. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/business/transfer_business_account_stars.py +0 -0
  219. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/__init__.py +0 -0
  220. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/add_chat_members.py +0 -0
  221. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/archive_chats.py +0 -0
  222. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/ban_chat_member.py +0 -0
  223. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/close_forum_topic.py +0 -0
  224. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/create_channel.py +0 -0
  225. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/create_folder.py +0 -0
  226. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/create_folder_invite_link.py +0 -0
  227. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/create_forum_topic.py +0 -0
  228. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/create_group.py +0 -0
  229. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/create_supergroup.py +0 -0
  230. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/delete_all_message_reactions.py +0 -0
  231. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/delete_channel.py +0 -0
  232. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/delete_chat_photo.py +0 -0
  233. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/delete_folder.py +0 -0
  234. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/delete_folder_invite_link.py +0 -0
  235. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/delete_forum_topic.py +0 -0
  236. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/delete_message_reaction.py +0 -0
  237. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/delete_supergroup.py +0 -0
  238. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/delete_user_history.py +0 -0
  239. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/edit_folder.py +0 -0
  240. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/edit_folder_invite_link.py +0 -0
  241. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/edit_forum_topic.py +0 -0
  242. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_chat.py +0 -0
  243. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_chat_event_log.py +0 -0
  244. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_chat_member.py +0 -0
  245. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_chat_members.py +0 -0
  246. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_chat_members_count.py +0 -0
  247. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_chat_online_count.py +0 -0
  248. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_chat_settings.py +0 -0
  249. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_chats_for_folder_invite_link.py +0 -0
  250. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_dialogs.py +0 -0
  251. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_dialogs_count.py +0 -0
  252. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_direct_messages_topics.py +0 -0
  253. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_direct_messages_topics_by_id.py +0 -0
  254. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_folder_invite_links.py +0 -0
  255. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_folders.py +0 -0
  256. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_forum_topics.py +0 -0
  257. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_forum_topics_by_id.py +0 -0
  258. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_personal_channels.py +0 -0
  259. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_send_as_chats.py +0 -0
  260. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_similar_channels.py +0 -0
  261. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_suitable_discussion_chats.py +0 -0
  262. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/get_top_chats.py +0 -0
  263. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/join_chat.py +0 -0
  264. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/join_folder.py +0 -0
  265. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/leave_chat.py +0 -0
  266. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/leave_folder.py +0 -0
  267. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/mark_chat_unread.py +0 -0
  268. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/pin_chat_message.py +0 -0
  269. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/pin_forum_topic.py +0 -0
  270. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/process_chat_has_protected_content_disable_request.py +0 -0
  271. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/promote_chat_member.py +0 -0
  272. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/reorder_folders.py +0 -0
  273. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/restrict_chat_member.py +0 -0
  274. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_administrator_title.py +0 -0
  275. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_chat_description.py +0 -0
  276. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_chat_direct_messages_group.py +0 -0
  277. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_chat_discussion_group.py +0 -0
  278. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_chat_member_tag.py +0 -0
  279. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_chat_permissions.py +0 -0
  280. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_chat_photo.py +0 -0
  281. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_chat_protected_content.py +0 -0
  282. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_chat_title.py +0 -0
  283. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_chat_ttl.py +0 -0
  284. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_chat_username.py +0 -0
  285. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_main_profile_tab.py +0 -0
  286. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_send_as_chat.py +0 -0
  287. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_slow_mode.py +0 -0
  288. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/set_upgraded_gift_colors.py +0 -0
  289. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/toggle_folder_tags.py +0 -0
  290. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/toggle_forum_topics.py +0 -0
  291. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/toggle_join_to_send.py +0 -0
  292. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/transfer_chat_ownership.py +0 -0
  293. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/unarchive_chats.py +0 -0
  294. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/unban_chat_member.py +0 -0
  295. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/unpin_all_chat_messages.py +0 -0
  296. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/unpin_chat_message.py +0 -0
  297. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/unpin_forum_topic.py +0 -0
  298. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/update_chat_notifications.py +0 -0
  299. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/chats/update_color.py +0 -0
  300. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/contacts/__init__.py +0 -0
  301. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/contacts/add_contact.py +0 -0
  302. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/contacts/delete_contacts.py +0 -0
  303. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/contacts/get_blocked_message_senders.py +0 -0
  304. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/contacts/get_contacts.py +0 -0
  305. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/contacts/get_contacts_count.py +0 -0
  306. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/contacts/import_contacts.py +0 -0
  307. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/contacts/search_contacts.py +0 -0
  308. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/contacts/set_contact_note.py +0 -0
  309. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/__init__.py +0 -0
  310. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_business_connection.py +0 -0
  311. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_business_message.py +0 -0
  312. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_callback_query.py +0 -0
  313. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_chat_boost.py +0 -0
  314. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_chat_join_request.py +0 -0
  315. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_chat_member_updated.py +0 -0
  316. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_chosen_inline_result.py +0 -0
  317. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_connect.py +0 -0
  318. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_deleted_business_messages.py +0 -0
  319. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_deleted_messages.py +0 -0
  320. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_disconnect.py +0 -0
  321. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_edited_business_message.py +0 -0
  322. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_edited_message.py +0 -0
  323. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_error.py +0 -0
  324. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_guest_message.py +0 -0
  325. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_inline_query.py +0 -0
  326. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_managed_bot.py +0 -0
  327. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_message.py +0 -0
  328. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_message_reaction.py +0 -0
  329. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_message_reaction_count.py +0 -0
  330. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_poll.py +0 -0
  331. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_pre_checkout_query.py +0 -0
  332. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_purchased_paid_media.py +0 -0
  333. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_raw_update.py +0 -0
  334. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_shipping_query.py +0 -0
  335. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_start.py +0 -0
  336. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_stop.py +0 -0
  337. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_story.py +0 -0
  338. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/decorators/on_user_status.py +0 -0
  339. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/folders/__init__.py +0 -0
  340. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/folders/check_chat_folder_invite_link.py +0 -0
  341. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/__init__.py +0 -0
  342. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/approve_all_chat_join_requests.py +0 -0
  343. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/approve_chat_join_request.py +0 -0
  344. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/create_chat_invite_link.py +0 -0
  345. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/decline_all_chat_join_requests.py +0 -0
  346. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/decline_chat_join_request.py +0 -0
  347. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/delete_chat_admin_invite_links.py +0 -0
  348. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/delete_chat_invite_link.py +0 -0
  349. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/edit_chat_invite_link.py +0 -0
  350. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/export_chat_invite_link.py +0 -0
  351. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/get_chat_admin_invite_links.py +0 -0
  352. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/get_chat_admin_invite_links_count.py +0 -0
  353. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/get_chat_admins_with_invite_links.py +0 -0
  354. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/get_chat_invite_link.py +0 -0
  355. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/get_chat_invite_link_joiners.py +0 -0
  356. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/get_chat_invite_link_joiners_count.py +0 -0
  357. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/get_chat_join_requests.py +0 -0
  358. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/invite_links/revoke_chat_invite_link.py +0 -0
  359. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/__init__.py +0 -0
  360. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/add_checklist_tasks.py +0 -0
  361. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/add_poll_option.py +0 -0
  362. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/add_to_gifs.py +0 -0
  363. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/approve_suggested_post.py +0 -0
  364. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/compose_text_with_ai.py +0 -0
  365. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/copy_media_group.py +0 -0
  366. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/decline_suggested_post.py +0 -0
  367. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/delete_chat_history.py +0 -0
  368. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/delete_direct_messages_chat_topic_history.py +0 -0
  369. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/delete_messages.py +0 -0
  370. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/delete_poll_option.py +0 -0
  371. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/download_media.py +0 -0
  372. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/edit_inline_caption.py +0 -0
  373. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/edit_inline_media.py +0 -0
  374. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/edit_inline_reply_markup.py +0 -0
  375. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/edit_inline_text.py +0 -0
  376. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/edit_message_caption.py +0 -0
  377. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/edit_message_checklist.py +0 -0
  378. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/edit_message_media.py +0 -0
  379. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/edit_message_reply_markup.py +0 -0
  380. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/edit_message_text.py +0 -0
  381. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/fix_text_with_ai.py +0 -0
  382. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/forward_media_group.py +0 -0
  383. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/forward_messages.py +0 -0
  384. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_available_effects.py +0 -0
  385. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_chat_history.py +0 -0
  386. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_chat_history_count.py +0 -0
  387. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_custom_emoji_stickers.py +0 -0
  388. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_direct_messages_chat_topic_history.py +0 -0
  389. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_discussion_message.py +0 -0
  390. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_discussion_replies.py +0 -0
  391. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_discussion_replies_count.py +0 -0
  392. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_main_web_app.py +0 -0
  393. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_media_group.py +0 -0
  394. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_messages.py +0 -0
  395. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_scheduled_messages.py +0 -0
  396. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_stickers.py +0 -0
  397. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_user_personal_chat_messages.py +0 -0
  398. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_web_app_link_url.py +0 -0
  399. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/get_web_app_url.py +0 -0
  400. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/mark_checklist_tasks_as_done.py +0 -0
  401. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/open_web_app.py +0 -0
  402. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/read_chat_history.py +0 -0
  403. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/read_mentions.py +0 -0
  404. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/read_reactions.py +0 -0
  405. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/retract_vote.py +0 -0
  406. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/search_global.py +0 -0
  407. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/search_global_count.py +0 -0
  408. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/search_messages.py +0 -0
  409. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/search_messages_count.py +0 -0
  410. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/search_posts.py +0 -0
  411. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/search_posts_count.py +0 -0
  412. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_animation.py +0 -0
  413. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_audio.py +0 -0
  414. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_cached_media.py +0 -0
  415. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_chat_action.py +0 -0
  416. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_checklist.py +0 -0
  417. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_contact.py +0 -0
  418. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_dice.py +0 -0
  419. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_document.py +0 -0
  420. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_live_photo.py +0 -0
  421. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_location.py +0 -0
  422. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_media_group.py +0 -0
  423. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_message.py +0 -0
  424. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_message_draft.py +0 -0
  425. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_paid_media.py +0 -0
  426. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_paid_reaction.py +0 -0
  427. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_photo.py +0 -0
  428. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_poll.py +0 -0
  429. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_reaction.py +0 -0
  430. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_rich_message.py +0 -0
  431. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_rich_message_draft.py +0 -0
  432. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_screenshot_notification.py +0 -0
  433. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_sticker.py +0 -0
  434. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_venue.py +0 -0
  435. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_video.py +0 -0
  436. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_video_note.py +0 -0
  437. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_voice.py +0 -0
  438. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/send_web_page.py +0 -0
  439. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/set_direct_messages_chat_topic_is_marked_as_unread.py +0 -0
  440. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/start_bot.py +0 -0
  441. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/stop_poll.py +0 -0
  442. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/stream_media.py +0 -0
  443. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/summarize_message.py +0 -0
  444. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/translate_message_text.py +0 -0
  445. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/translate_text.py +0 -0
  446. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/view_messages.py +0 -0
  447. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/messages/vote_poll.py +0 -0
  448. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/password/__init__.py +0 -0
  449. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/password/change_cloud_password.py +0 -0
  450. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/password/enable_cloud_password.py +0 -0
  451. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/password/remove_cloud_password.py +0 -0
  452. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/__init__.py +0 -0
  453. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/add_collection_gifts.py +0 -0
  454. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/apply_gift_code.py +0 -0
  455. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/buy_gift_upgrade.py +0 -0
  456. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/check_gift_code.py +0 -0
  457. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/convert_gift_to_stars.py +0 -0
  458. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/craft_gift.py +0 -0
  459. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/create_gift_collection.py +0 -0
  460. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/delete_gift_collection.py +0 -0
  461. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/drop_gift_original_details.py +0 -0
  462. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/edit_star_subscription.py +0 -0
  463. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/get_available_gifts.py +0 -0
  464. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/get_chat_gifts.py +0 -0
  465. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/get_chat_gifts_count.py +0 -0
  466. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/get_gift_auction_state.py +0 -0
  467. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/get_gift_collections.py +0 -0
  468. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/get_gift_upgrade_preview.py +0 -0
  469. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/get_gift_upgrade_variants.py +0 -0
  470. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/get_gifts_for_crafting.py +0 -0
  471. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/get_payment_form.py +0 -0
  472. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/get_stars_balance.py +0 -0
  473. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/get_ton_balance.py +0 -0
  474. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/get_upgraded_gift.py +0 -0
  475. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/get_upgraded_gift_value_info.py +0 -0
  476. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/gift_premium_with_stars.py +0 -0
  477. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/hide_gift.py +0 -0
  478. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/increase_gift_auction_bid.py +0 -0
  479. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/process_gift_purchase_offer.py +0 -0
  480. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/remove_collection_gifts.py +0 -0
  481. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/reorder_collection_gifts.py +0 -0
  482. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/reorder_gift_collections.py +0 -0
  483. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/reuse_star_subscription.py +0 -0
  484. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/search_gifts_for_resale.py +0 -0
  485. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/send_gift.py +0 -0
  486. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/send_gift_purchase_offer.py +0 -0
  487. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/send_payment_form.py +0 -0
  488. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/send_resold_gift.py +0 -0
  489. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/set_gift_collection_name.py +0 -0
  490. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/set_gift_resale_price.py +0 -0
  491. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/set_pinned_gifts.py +0 -0
  492. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/show_gift.py +0 -0
  493. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/suggest_birthday.py +0 -0
  494. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/transfer_gift.py +0 -0
  495. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/payments/upgrade_gift.py +0 -0
  496. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/phone/__init__.py +0 -0
  497. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/phone/get_call_members.py +0 -0
  498. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/premium/__init__.py +0 -0
  499. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/premium/apply_boost.py +0 -0
  500. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/premium/get_boosts.py +0 -0
  501. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/premium/get_boosts_status.py +0 -0
  502. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/__init__.py +0 -0
  503. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/can_post_stories.py +0 -0
  504. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/copy_story.py +0 -0
  505. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/delete_stories.py +0 -0
  506. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/edit_story_caption.py +0 -0
  507. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/edit_story_media.py +0 -0
  508. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/edit_story_privacy.py +0 -0
  509. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/enable_stealth_mode.py +0 -0
  510. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/forward_story.py +0 -0
  511. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/get_all_stories.py +0 -0
  512. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/get_archived_stories.py +0 -0
  513. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/get_chat_stories.py +0 -0
  514. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/get_pinned_stories.py +0 -0
  515. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/get_stories.py +0 -0
  516. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/get_story_views.py +0 -0
  517. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/hide_chat_stories.py +0 -0
  518. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/pin_chat_stories.py +0 -0
  519. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/read_chat_stories.py +0 -0
  520. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/send_story.py +0 -0
  521. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/show_chat_stories.py +0 -0
  522. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/unpin_chat_stories.py +0 -0
  523. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/stories/view_stories.py +0 -0
  524. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/__init__.py +0 -0
  525. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/block_user.py +0 -0
  526. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/check_username.py +0 -0
  527. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/delete_profile_photos.py +0 -0
  528. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/get_chat_audios.py +0 -0
  529. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/get_chat_audios_count.py +0 -0
  530. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/get_chat_photos.py +0 -0
  531. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/get_chat_photos_count.py +0 -0
  532. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/get_common_chats.py +0 -0
  533. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/get_default_emoji_statuses.py +0 -0
  534. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/get_me.py +0 -0
  535. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/get_users.py +0 -0
  536. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/set_emoji_status.py +0 -0
  537. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/set_personal_channel.py +0 -0
  538. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/set_profile_photo.py +0 -0
  539. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/set_username.py +0 -0
  540. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/unblock_user.py +0 -0
  541. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/update_birthday.py +0 -0
  542. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/update_profile.py +0 -0
  543. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/users/update_status.py +0 -0
  544. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/utilities/__init__.py +0 -0
  545. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/utilities/add_handler.py +0 -0
  546. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/utilities/compose.py +0 -0
  547. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/utilities/export_session_string.py +0 -0
  548. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/utilities/idle.py +0 -0
  549. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/utilities/remove_handler.py +0 -0
  550. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/utilities/restart.py +0 -0
  551. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/utilities/start.py +0 -0
  552. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/utilities/stop.py +0 -0
  553. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/methods/utilities/stop_transmission.py +0 -0
  554. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/mime_types.py +0 -0
  555. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/parser/__init__.py +0 -0
  556. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/parser/html.py +0 -0
  557. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/parser/markdown.py +0 -0
  558. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/parser/parser.py +0 -0
  559. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/parser/utils.py +0 -0
  560. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/qrlogin.py +0 -0
  561. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/__init__.py +0 -0
  562. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/__init__.py +0 -0
  563. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/base_type_meta.py +0 -0
  564. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/future_salt.py +0 -0
  565. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/future_salts.py +0 -0
  566. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/gzip_packed.py +0 -0
  567. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/list.py +0 -0
  568. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/message.py +0 -0
  569. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/msg_container.py +0 -0
  570. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/primitives/__init__.py +0 -0
  571. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/primitives/bool.py +0 -0
  572. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/primitives/bytes.py +0 -0
  573. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/primitives/double.py +0 -0
  574. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/primitives/int.py +0 -0
  575. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/primitives/string.py +0 -0
  576. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/primitives/vector.py +0 -0
  577. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/raw/core/tl_object.py +0 -0
  578. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/session/auth.py +0 -0
  579. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/session/internals/__init__.py +0 -0
  580. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/session/internals/msg_factory.py +0 -0
  581. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/session/internals/msg_id.py +0 -0
  582. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/storage/__init__.py +0 -0
  583. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/storage/sqlite_storage.py +0 -0
  584. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/storage/storage.py +0 -0
  585. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/sync.py +0 -0
  586. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/__init__.py +0 -0
  587. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/authorization/__init__.py +0 -0
  588. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/authorization/active_session.py +0 -0
  589. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/authorization/active_sessions.py +0 -0
  590. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/authorization/firebase_authentication_settings.py +0 -0
  591. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/authorization/phone_number_authentication_settings.py +0 -0
  592. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/authorization/sent_code.py +0 -0
  593. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/authorization/terms_of_service.py +0 -0
  594. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/__init__.py +0 -0
  595. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/bot_access_settings.py +0 -0
  596. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/bot_command.py +0 -0
  597. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/bot_command_scope.py +0 -0
  598. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/bot_command_scope_all_chat_administrators.py +0 -0
  599. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/bot_command_scope_all_group_chats.py +0 -0
  600. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/bot_command_scope_all_private_chats.py +0 -0
  601. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/bot_command_scope_chat.py +0 -0
  602. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/bot_command_scope_chat_administrators.py +0 -0
  603. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/bot_command_scope_chat_member.py +0 -0
  604. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/bot_command_scope_default.py +0 -0
  605. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/callback_game.py +0 -0
  606. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/callback_query.py +0 -0
  607. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/chat_boost_updated.py +0 -0
  608. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/chat_shared.py +0 -0
  609. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/force_reply.py +0 -0
  610. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/game_high_score.py +0 -0
  611. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/inline_keyboard_button.py +0 -0
  612. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/inline_keyboard_markup.py +0 -0
  613. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/keyboard_button.py +0 -0
  614. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/keyboard_button_poll_type.py +0 -0
  615. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/keyboard_button_request_chat.py +0 -0
  616. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/keyboard_button_request_managed_bot.py +0 -0
  617. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/keyboard_button_request_users.py +0 -0
  618. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/labeled_price.py +0 -0
  619. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/login_url.py +0 -0
  620. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/managed_bot_updated.py +0 -0
  621. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/menu_button.py +0 -0
  622. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/menu_button_commands.py +0 -0
  623. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/menu_button_default.py +0 -0
  624. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/menu_button_web_app.py +0 -0
  625. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/message_reaction_count_updated.py +0 -0
  626. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/message_reaction_updated.py +0 -0
  627. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/order_info.py +0 -0
  628. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/pre_checkout_query.py +0 -0
  629. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/purchased_paid_media.py +0 -0
  630. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/reply_keyboard_markup.py +0 -0
  631. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/reply_keyboard_remove.py +0 -0
  632. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/sent_guest_message.py +0 -0
  633. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/sent_web_app_message.py +0 -0
  634. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/shipping_address.py +0 -0
  635. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/shipping_option.py +0 -0
  636. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/shipping_query.py +0 -0
  637. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/users_shared.py +0 -0
  638. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/bots_and_keyboards/web_app_info.py +0 -0
  639. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/__init__.py +0 -0
  640. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/chosen_inline_result.py +0 -0
  641. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query.py +0 -0
  642. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result.py +0 -0
  643. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_animation.py +0 -0
  644. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_article.py +0 -0
  645. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_audio.py +0 -0
  646. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_cached_animation.py +0 -0
  647. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_cached_audio.py +0 -0
  648. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_cached_document.py +0 -0
  649. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_cached_photo.py +0 -0
  650. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_cached_sticker.py +0 -0
  651. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_cached_video.py +0 -0
  652. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_cached_voice.py +0 -0
  653. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_contact.py +0 -0
  654. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_document.py +0 -0
  655. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_location.py +0 -0
  656. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_photo.py +0 -0
  657. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_venue.py +0 -0
  658. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_video.py +0 -0
  659. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/inline_mode/inline_query_result_voice.py +0 -0
  660. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/__init__.py +0 -0
  661. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_chat_photo.py +0 -0
  662. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_checklist.py +0 -0
  663. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_contact_message_content.py +0 -0
  664. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_credentials.py +0 -0
  665. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_credentials_apple_pay.py +0 -0
  666. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_credentials_google_pay.py +0 -0
  667. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_credentials_new.py +0 -0
  668. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_credentials_saved.py +0 -0
  669. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_invoice.py +0 -0
  670. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_invoice_message.py +0 -0
  671. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_invoice_message_content.py +0 -0
  672. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_invoice_name.py +0 -0
  673. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_location_message_content.py +0 -0
  674. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_media.py +0 -0
  675. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_media_animation.py +0 -0
  676. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_media_audio.py +0 -0
  677. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_media_document.py +0 -0
  678. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_media_link.py +0 -0
  679. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_media_live_photo.py +0 -0
  680. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_media_location.py +0 -0
  681. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_media_photo.py +0 -0
  682. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_media_sticker.py +0 -0
  683. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_media_venue.py +0 -0
  684. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_media_video.py +0 -0
  685. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_message_content.py +0 -0
  686. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_phone_contact.py +0 -0
  687. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_poll_media.py +0 -0
  688. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_poll_option.py +0 -0
  689. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_poll_option_media.py +0 -0
  690. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_privacy_rule.py +0 -0
  691. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_privacy_rule_allow_all.py +0 -0
  692. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_privacy_rule_allow_bots.py +0 -0
  693. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_privacy_rule_allow_chats.py +0 -0
  694. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_privacy_rule_allow_close_friends.py +0 -0
  695. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_privacy_rule_allow_contacts.py +0 -0
  696. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_privacy_rule_allow_premium.py +0 -0
  697. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_privacy_rule_allow_users.py +0 -0
  698. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_privacy_rule_disallow_all.py +0 -0
  699. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_privacy_rule_disallow_bots.py +0 -0
  700. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_privacy_rule_disallow_chats.py +0 -0
  701. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_privacy_rule_disallow_contacts.py +0 -0
  702. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_privacy_rule_disallow_users.py +0 -0
  703. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_rich_message.py +0 -0
  704. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_rich_message_content.py +0 -0
  705. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_text_message_content.py +0 -0
  706. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/input_content/input_venue_message_content.py +0 -0
  707. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/list.py +0 -0
  708. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/__init__.py +0 -0
  709. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/animation.py +0 -0
  710. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/auction_bid.py +0 -0
  711. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/auction_round.py +0 -0
  712. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/auction_state.py +0 -0
  713. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/audio.py +0 -0
  714. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/available_effect.py +0 -0
  715. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/boosts_status.py +0 -0
  716. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/business_message.py +0 -0
  717. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/chat_background.py +0 -0
  718. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/chat_boost.py +0 -0
  719. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/chat_has_protected_content_disable_requested.py +0 -0
  720. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/chat_has_protected_content_toggled.py +0 -0
  721. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/chat_owner_changed.py +0 -0
  722. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/chat_owner_left.py +0 -0
  723. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/chat_theme.py +0 -0
  724. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/checked_gift_code.py +0 -0
  725. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/checklist.py +0 -0
  726. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/checklist_task.py +0 -0
  727. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/checklist_tasks_added.py +0 -0
  728. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/checklist_tasks_done.py +0 -0
  729. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/contact.py +0 -0
  730. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/contact_registered.py +0 -0
  731. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/craft_gift_result.py +0 -0
  732. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/dice.py +0 -0
  733. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/direct_message_price_changed.py +0 -0
  734. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/direct_messages_topic.py +0 -0
  735. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/document.py +0 -0
  736. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/external_reply_info.py +0 -0
  737. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/fact_check.py +0 -0
  738. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/formatted_text.py +0 -0
  739. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/forum_topic.py +0 -0
  740. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/forum_topic_closed.py +0 -0
  741. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/forum_topic_created.py +0 -0
  742. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/forum_topic_edited.py +0 -0
  743. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/forum_topic_reopened.py +0 -0
  744. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/game.py +0 -0
  745. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/general_forum_topic_hidden.py +0 -0
  746. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/general_forum_topic_unhidden.py +0 -0
  747. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gift.py +0 -0
  748. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gift_attribute.py +0 -0
  749. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gift_auction.py +0 -0
  750. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gift_auction_state.py +0 -0
  751. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gift_collection.py +0 -0
  752. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gift_purchase_limit.py +0 -0
  753. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gift_resale_parameters.py +0 -0
  754. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gift_resale_price.py +0 -0
  755. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gift_upgrade_preview.py +0 -0
  756. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gift_upgrade_price.py +0 -0
  757. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gift_upgrade_variants.py +0 -0
  758. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gifted_premium.py +0 -0
  759. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gifted_stars.py +0 -0
  760. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/gifted_ton.py +0 -0
  761. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/giveaway.py +0 -0
  762. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/giveaway_completed.py +0 -0
  763. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/giveaway_created.py +0 -0
  764. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/giveaway_prize_stars.py +0 -0
  765. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/giveaway_winners.py +0 -0
  766. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/input_checklist_task.py +0 -0
  767. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/invoice.py +0 -0
  768. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/link_preview_options.py +0 -0
  769. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/live_photo.py +0 -0
  770. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/location.py +0 -0
  771. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/managed_bot_created.py +0 -0
  772. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/mask_position.py +0 -0
  773. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/media_area.py +0 -0
  774. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/message.py +0 -0
  775. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/message_content.py +0 -0
  776. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/message_entity.py +0 -0
  777. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/message_origin.py +0 -0
  778. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/message_origin_channel.py +0 -0
  779. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/message_origin_chat.py +0 -0
  780. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/message_origin_hidden_user.py +0 -0
  781. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/message_origin_import.py +0 -0
  782. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/message_origin_user.py +0 -0
  783. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/message_reactions.py +0 -0
  784. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/my_boost.py +0 -0
  785. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/paid_media_info.py +0 -0
  786. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/paid_media_preview.py +0 -0
  787. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/paid_messages_price_changed.py +0 -0
  788. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/paid_messages_refunded.py +0 -0
  789. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/paid_reactor.py +0 -0
  790. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/payment_form.py +0 -0
  791. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/payment_option.py +0 -0
  792. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/payment_result.py +0 -0
  793. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/photo.py +0 -0
  794. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/poll.py +0 -0
  795. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/poll_option.py +0 -0
  796. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/poll_option_added.py +0 -0
  797. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/poll_option_deleted.py +0 -0
  798. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/premium_gift_code.py +0 -0
  799. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/proximity_alert_triggered.py +0 -0
  800. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/reaction.py +0 -0
  801. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/refunded_payment.py +0 -0
  802. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/reply_parameters.py +0 -0
  803. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/restriction_reason.py +0 -0
  804. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/rich_block.py +0 -0
  805. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/rich_message.py +0 -0
  806. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/rich_text.py +0 -0
  807. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/saved_credentials.py +0 -0
  808. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/screenshot_taken.py +0 -0
  809. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/star_amount.py +0 -0
  810. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/sticker.py +0 -0
  811. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/story.py +0 -0
  812. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/story_view.py +0 -0
  813. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/stripped_thumbnail.py +0 -0
  814. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/successful_payment.py +0 -0
  815. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/suggested_post_approval_failed.py +0 -0
  816. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/suggested_post_approved.py +0 -0
  817. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/suggested_post_declined.py +0 -0
  818. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/suggested_post_info.py +0 -0
  819. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/suggested_post_paid.py +0 -0
  820. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/suggested_post_parameters.py +0 -0
  821. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/suggested_post_price.py +0 -0
  822. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/suggested_post_refunded.py +0 -0
  823. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/text_quote.py +0 -0
  824. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/thumbnail.py +0 -0
  825. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/upgraded_gift_attribute_id.py +0 -0
  826. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/upgraded_gift_attribute_id_backdrop.py +0 -0
  827. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/upgraded_gift_attribute_id_model.py +0 -0
  828. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/upgraded_gift_attribute_id_symbol.py +0 -0
  829. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/upgraded_gift_attribute_rarity.py +0 -0
  830. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/upgraded_gift_original_details.py +0 -0
  831. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/upgraded_gift_purchase_offer.py +0 -0
  832. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/upgraded_gift_value_info.py +0 -0
  833. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/venue.py +0 -0
  834. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/video.py +0 -0
  835. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/video_note.py +0 -0
  836. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/voice.py +0 -0
  837. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/web_app_data.py +0 -0
  838. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/web_page.py +0 -0
  839. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/messages_and_media/write_access_allowed.py +0 -0
  840. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/object.py +0 -0
  841. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/update.py +0 -0
  842. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/__init__.py +0 -0
  843. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/accepted_gift_types.py +0 -0
  844. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/birthday.py +0 -0
  845. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/bot_verification.py +0 -0
  846. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/business_bot_rights.py +0 -0
  847. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/business_connection.py +0 -0
  848. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/business_intro.py +0 -0
  849. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/business_recipients.py +0 -0
  850. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/business_weekly_open.py +0 -0
  851. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/business_working_hours.py +0 -0
  852. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat.py +0 -0
  853. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_admin_with_invite_links.py +0 -0
  854. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_administrator_rights.py +0 -0
  855. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_color.py +0 -0
  856. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_event.py +0 -0
  857. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_event_filter.py +0 -0
  858. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_folder_invite_link_info.py +0 -0
  859. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_invite_link.py +0 -0
  860. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_join_request.py +0 -0
  861. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_join_result.py +0 -0
  862. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_joiner.py +0 -0
  863. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_member.py +0 -0
  864. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_member_updated.py +0 -0
  865. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_permissions.py +0 -0
  866. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_photo.py +0 -0
  867. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_reactions.py +0 -0
  868. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/chat_settings.py +0 -0
  869. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/dialog.py +0 -0
  870. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/emoji_status.py +0 -0
  871. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/failed_to_add_member.py +0 -0
  872. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/folder.py +0 -0
  873. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/folder_invite_link.py +0 -0
  874. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/found_contacts.py +0 -0
  875. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/global_privacy_settings.py +0 -0
  876. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/group_call_member.py +0 -0
  877. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/history_cleared.py +0 -0
  878. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/invite_link_importer.py +0 -0
  879. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/phone_call_ended.py +0 -0
  880. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/phone_call_started.py +0 -0
  881. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/privacy_rule.py +0 -0
  882. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/restriction.py +0 -0
  883. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/stories_stealth_mode.py +0 -0
  884. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/user.py +0 -0
  885. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/user_rating.py +0 -0
  886. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/username.py +0 -0
  887. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/verification_status.py +0 -0
  888. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/video_chat_ended.py +0 -0
  889. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/video_chat_members_invited.py +0 -0
  890. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/video_chat_scheduled.py +0 -0
  891. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/types/user_and_chats/video_chat_started.py +0 -0
  892. {hypergram-1.0.3 → hypergram-1.0.4}/hypergram/utils.py +0 -0
  893. {hypergram-1.0.3 → hypergram-1.0.4}/pyproject.toml +0 -0
File without changes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hypergram
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
5
5
  Project-URL: Homepage, https://hypergram.icu
6
6
  Project-URL: Documentation, https://docs.hypergram.icu
@@ -16,7 +16,7 @@
16
16
  # You should have received a copy of the GNU Lesser General Public License
17
17
  # along with hypergram. If not, see <http://www.gnu.org/licenses/>.
18
18
 
19
- __version__ = "1.0.3"
19
+ __version__ = "1.0.4"
20
20
  __license__ = "GNU Lesser General Public License v3.0 (LGPL-3.0)"
21
21
  __copyright__ = "Copyright (C) 2017-present Dan <https://github.com/delivrance>"
22
22
 
@@ -322,6 +322,18 @@ class Client(Methods):
322
322
  ):
323
323
  super().__init__()
324
324
 
325
+ # 🚀 حقن المحرك عالي الأداء قبل ما الكلاينت يسحب الـ Loop الافتراضي
326
+ if loop is None:
327
+ try:
328
+ import uvloop
329
+ asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
330
+ except ImportError:
331
+ try:
332
+ import winloop
333
+ asyncio.set_event_loop_policy(winloop.EventLoopPolicy())
334
+ except ImportError:
335
+ pass
336
+
325
337
  self.name = name
326
338
  self.api_id = int(api_id) if api_id else None
327
339
  self.api_hash = api_hash
@@ -428,10 +440,11 @@ class Client(Methods):
428
440
  self.__config: "raw.types.Config" = None
429
441
 
430
442
  @property
431
- def loop(self) -> asyncio.AbstractEventLoop:
432
- if not self._loop:
433
- self._loop = utils.get_event_loop()
434
- return self._loop
443
+ def loop(self):
444
+ try:
445
+ return asyncio.get_running_loop()
446
+ except RuntimeError:
447
+ return asyncio.get_event_loop()
435
448
 
436
449
  @loop.setter
437
450
  def loop(self, value: asyncio.AbstractEventLoop):
@@ -69,4 +69,4 @@ class ChatAction(AutoName):
69
69
  "Choosing sticker"
70
70
 
71
71
  CANCEL = raw.types.SendMessageCancelAction
72
- "Cancel ongoing chat action"
72
+ "Cancel ongoing chat action"
@@ -165,4 +165,4 @@ class CopyMessage:
165
165
  reply_to_message_id=reply_to_message_id,
166
166
  quote_text=quote_text,
167
167
  quote_entities=quote_entities,
168
- )
168
+ )
@@ -71,7 +71,7 @@ class PlaceGiftAuctionBid:
71
71
  await app.place_gift_auction_bid(
72
72
  gift_id=12345,
73
73
  star_count=250,
74
- user_id="@KurimuzonAkuma",
74
+ user_id="@hypergram",
75
75
  text=types.FormattedText(
76
76
  text="Here's a gift for you!"
77
77
  )
@@ -16,6 +16,7 @@
16
16
  # You should have received a copy of the GNU Lesser General Public License
17
17
  # along with hypergram. If not, see <http://www.gnu.org/licenses/>.
18
18
 
19
+ import asyncio
19
20
  import inspect
20
21
  from typing import List
21
22
 
@@ -58,6 +59,16 @@ class Run:
58
59
  ... # Set handlers up
59
60
  app.run()
60
61
  """
62
+ try:
63
+ import uvloop
64
+ asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
65
+ except ImportError:
66
+ try:
67
+ import winloop
68
+ asyncio.set_event_loop_policy(winloop.EventLoopPolicy())
69
+ except ImportError:
70
+ pass
71
+
61
72
  run = self.loop.run_until_complete
62
73
 
63
74
  if inspect.iscoroutinefunction(self.start):
@@ -67,4 +78,4 @@ class Run:
67
78
  else:
68
79
  self.start(use_qr=use_qr, except_ids=except_ids)
69
80
  run(idle())
70
- self.stop()
81
+ self.stop()
File without changes
@@ -17,4 +17,4 @@
17
17
  # along with hypergram. If not, see <http://www.gnu.org/licenses/>.
18
18
 
19
19
  from .auth import Auth
20
- from .session import Session
20
+ from .session import Session
@@ -1,5 +1,5 @@
1
1
  # hypergram - Telegram MTProto API Client Library for Python
2
- # Copyright (C) 2017-present Dan <https://github.com/delivrance>
2
+ # Copyright (C) 2026-present Saif <https://github.com/Shadowc89>
3
3
  #
4
4
  # This file is part of hypergram.
5
5
  #
@@ -7,19 +7,12 @@
7
7
  # it under the terms of the GNU Lesser General Public License as published
8
8
  # by the Free Software Foundation, either version 3 of the License, or
9
9
  # (at your option) any later version.
10
- #
11
- # hypergram is distributed in the hope that it will be useful,
12
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- # GNU Lesser General Public License for more details.
15
- #
16
- # You should have received a copy of the GNU Lesser General Public License
17
- # along with hypergram. If not, see <http://www.gnu.org/licenses/>.
18
10
 
19
11
  import asyncio
20
12
  import bisect
21
13
  import logging
22
14
  import os
15
+ import sys
23
16
  from enum import Enum, auto
24
17
  from hashlib import sha1
25
18
  from io import BytesIO
@@ -47,7 +40,6 @@ from .internals import MsgFactory
47
40
 
48
41
  log = logging.getLogger(__name__)
49
42
 
50
-
51
43
  class SessionState(Enum):
52
44
  STARTING = auto()
53
45
  STARTED = auto()
@@ -160,6 +152,9 @@ class Session:
160
152
 
161
153
  await self._set_state(SessionState.STARTING)
162
154
 
155
+ current_loop = asyncio.get_running_loop()
156
+ log.info("Using Event Loop: %s", current_loop.__class__.__name__)
157
+
163
158
  self.connection = self.client.connection_factory(
164
159
  dc_id=self.dc_id,
165
160
  server_address=self.server_address,
@@ -240,11 +235,8 @@ class Session:
240
235
  await self._set_state(SessionState.STOPPING)
241
236
 
242
237
  self.ignore_count = 0
243
-
244
238
  self.is_started.clear()
245
-
246
239
  self.stored_msg_ids.clear()
247
-
248
240
  self.ping_task_event.set()
249
241
 
250
242
  if self.ping_task is not None:
@@ -252,7 +244,8 @@ class Session:
252
244
 
253
245
  self.ping_task_event.clear()
254
246
 
255
- await self.connection.close()
247
+ if self.connection:
248
+ await self.connection.close()
256
249
 
257
250
  if self.recv_task:
258
251
  await self.recv_task
@@ -271,7 +264,7 @@ class Session:
271
264
  async def restart(self):
272
265
  async with self.restart_lock:
273
266
  if self.stored_msg_ids:
274
- self.recent_msg_ids = self.stored_msg_ids[:30]
267
+ self.recent_msg_ids = self.stored_msg_ids[:30].copy()
275
268
 
276
269
  await self.stop()
277
270
  await self.start()
@@ -315,10 +308,10 @@ class Session:
315
308
  del self.stored_msg_ids[:Session.STORED_MSG_IDS_MAX_SIZE // 2]
316
309
 
317
310
  if msg.msg_id in self.recent_msg_ids:
318
- self.recent_msg_ids.remove(msg.msg_id)
319
- raise SecurityCheckMismatch(
320
- "The msg_id is belong to most recent closed connection."
321
- )
311
+ self.recent_msg_ids.remove(msg.msg_id)
312
+ raise SecurityCheckMismatch(
313
+ "The msg_id belongs to the most recent closed connection."
314
+ )
322
315
 
323
316
  if self.stored_msg_ids:
324
317
  if msg.msg_id < self.stored_msg_ids[0]:
@@ -331,30 +324,26 @@ class Session:
331
324
  "The msg_id is equal to any of the stored values"
332
325
  )
333
326
 
334
- time_diff = (msg.msg_id - (await self.msg_factory.allocate_message_identity())) / 2 ** 32
327
+ time_diff = (msg.msg_id - (await self.msg_factory.allocate_message_identity())) / 2 ** 32
335
328
 
336
- if time_diff > 30:
337
- raise SecurityCheckMismatch(
338
- "The msg_id belongs to over 30 seconds in the future. "
339
- "Most likely the client time has to be synchronized."
340
- )
329
+ if time_diff > 30:
330
+ raise SecurityCheckMismatch(
331
+ "The msg_id belongs to over 30 seconds in the future. Client time sync needed."
332
+ )
341
333
 
342
- if time_diff < -300:
343
- raise SecurityCheckMismatch(
344
- "The msg_id belongs to over 300 seconds in the past. "
345
- "Most likely the client time has to be synchronized."
346
- )
334
+ if time_diff < -300:
335
+ raise SecurityCheckMismatch(
336
+ "The msg_id belongs to over 300 seconds in the past. Client time sync needed."
337
+ )
347
338
 
348
- self.ignore_count = 0
339
+ self.ignore_count = 0
349
340
  except SecurityCheckMismatch as e:
350
341
  log.info("Discarding packet: %s", e)
351
-
352
342
  self.ignore_count += 1
353
343
 
354
344
  if self.ignore_count >= self.MAX_CONSECUTIVE_IGNORED:
355
- log.info("Restarting session due to - %s - %s", e.__class__.__name__, e)
345
+ log.info("Restarting session due to excessive ignored packets - %s - %s", e.__class__.__name__, e)
356
346
  self.client.loop.create_task(self.restart())
357
-
358
347
  return
359
348
  else:
360
349
  bisect.insort(self.stored_msg_ids, msg.msg_id)
@@ -384,7 +373,6 @@ class Session:
384
373
 
385
374
  if len(self.pending_acks) >= self.ACKS_THRESHOLD:
386
375
  log.debug("Sending %s acks", len(self.pending_acks))
387
-
388
376
  try:
389
377
  await self.send(raw.types.MsgsAck(msg_ids=list(self.pending_acks)), False)
390
378
  except OSError:
@@ -394,7 +382,6 @@ class Session:
394
382
 
395
383
  async def ping_worker(self):
396
384
  log.info("PingTask started")
397
-
398
385
  while True:
399
386
  try:
400
387
  await asyncio.wait_for(self.ping_task_event.wait(), self.PING_INTERVAL)
@@ -412,7 +399,7 @@ class Session:
412
399
  wait_response=False
413
400
  )
414
401
  except OSError as e:
415
- log.info("Restarting session due to - %s - %s", e.__class__.__name__, e)
402
+ log.info("Restarting session due to ping failure - %s - %s", e.__class__.__name__, e)
416
403
  self.client.loop.create_task(self.restart())
417
404
  break
418
405
  except RPCError:
@@ -422,49 +409,36 @@ class Session:
422
409
 
423
410
  async def recv_worker(self):
424
411
  log.info("NetworkTask started")
425
-
426
412
  while True:
427
413
  packet = await self.connection.recv()
428
414
 
429
415
  if packet is None or len(packet) == 4:
430
- if packet:
431
- error_code = -Int.read(BytesIO(packet))
432
- error_msg = "unknown error"
433
-
434
- if error_code == 404:
435
- raise AuthKeyNotFound(
436
- "Auth key not found in the system. Try again or delete your session file "
437
- "and log in again with your phone number or bot token."
438
- )
416
+ error_code = -Int.read(BytesIO(packet)) if packet else 0
417
+ error_msg = "unknown error"
439
418
 
440
- try:
441
- if error_code == 429:
442
- raise TransportFlood(
443
- "Transport flood. Please slow down your requests."
444
- )
445
- elif error_code == 444:
446
- raise InvalidDC(
447
- "Invalid data center. Please check your configuration."
448
- )
449
- except TransportError as e:
450
- error_msg = str(e)
419
+ if error_code == 404:
420
+ raise AuthKeyNotFound(
421
+ "Auth key not found in the system. Try again or delete your session file "
422
+ "and log in again with your phone number or bot token."
423
+ )
451
424
 
452
- log.warning("Server sent transport error: %s (%s)", error_code, error_msg)
425
+ try:
426
+ if error_code == 429:
427
+ raise TransportFlood("Transport flood. Please slow down your requests.")
428
+ elif error_code == 444:
429
+ raise InvalidDC("Invalid data center. Please check your configuration.")
430
+ except TransportError as e:
431
+ error_msg = str(e)
453
432
 
433
+ log.warning("Server sent transport error: %s (%s)", error_code, error_msg)
454
434
 
455
435
  if self.is_started.is_set():
456
- if packet:
457
- error = f"Server sent transport error - {error_code} - ({error_msg})."
458
- else:
459
- error = "Server sent a null packet."
460
-
436
+ error = f"Server sent transport error - {error_code} - ({error_msg})." if packet else "Server sent a null packet."
461
437
  log.info("Restarting session due to - %s", error)
462
438
  self.client.loop.create_task(self.restart())
463
-
464
439
  break
465
440
 
466
441
  self.client.loop.create_task(self.handle_packet(packet))
467
-
468
442
  log.info("NetworkTask stopped")
469
443
 
470
444
  async def send(
@@ -506,17 +480,12 @@ class Session:
506
480
  raise TimeoutError("Request timed out")
507
481
 
508
482
  if isinstance(result, raw.types.RpcError):
509
- if isinstance(
510
- data, (raw.functions.InvokeWithoutUpdates, raw.functions.InvokeWithTakeout)
511
- ):
483
+ if isinstance(data, (raw.functions.InvokeWithoutUpdates, raw.functions.InvokeWithTakeout)):
512
484
  data = data.query
513
-
514
485
  RPCError.raise_it(result, type(data))
515
486
 
516
487
  if isinstance(result, raw.types.BadMsgNotification):
517
- log.warning(
518
- "%s: %s", BadMsgNotification.__name__, BadMsgNotification(result.error_code)
519
- )
488
+ log.warning("%s: %s", BadMsgNotification.__name__, BadMsgNotification(result.error_code))
520
489
 
521
490
  if isinstance(result, raw.types.BadServerSalt):
522
491
  self.salt = result.new_server_salt
@@ -537,9 +506,7 @@ class Session:
537
506
  except asyncio.TimeoutError:
538
507
  pass
539
508
 
540
- if isinstance(
541
- query, (raw.functions.InvokeWithoutUpdates, raw.functions.InvokeWithTakeout)
542
- ):
509
+ if isinstance(query, (raw.functions.InvokeWithoutUpdates, raw.functions.InvokeWithTakeout)):
543
510
  inner_query = query.query
544
511
  else:
545
512
  inner_query = query
@@ -551,26 +518,20 @@ class Session:
551
518
  return await self.send(query, timeout=timeout)
552
519
  except (FloodWait, FloodPremiumWait) as e:
553
520
  amount = e.value
554
-
555
521
  if amount > sleep_threshold >= 0:
556
522
  raise
557
-
558
523
  log.warning(
559
524
  '[%s] Waiting for %s seconds before continuing (required by "%s")',
560
525
  self.client.name,
561
526
  amount,
562
527
  query_name,
563
528
  )
564
-
565
529
  await asyncio.sleep(amount)
566
530
  except (OSError, InternalServerError, ServiceUnavailable) as e:
567
- log.warning(
568
- '[%s] Retrying "%s" due to: %s', attempt, query_name, str(e) or repr(e)
569
- )
570
-
531
+ log.warning('[Attempt %s] Retrying "%s" due to: %s', attempt, query_name, str(e) or repr(e))
571
532
  await asyncio.sleep(retry_delay)
572
533
 
573
534
  raise TimeoutError(f'Failed to invoke "{query_name}" after {retries} retries')
574
535
 
575
536
  def __str__(self) -> str:
576
- return f"Session(dc_id={self.dc_id}, test_mode={self.test_mode}, is_media={self.is_media}, is_cdn={self.is_cdn}, state={self._state.name})"
537
+ return f"Session(dc_id={self.dc_id}, test_mode={self.test_mode}, is_media={self.is_media}, is_cdn={self.is_cdn}, state={self._state.name})"
@@ -1,47 +0,0 @@
1
- # hypergram - Telegram MTProto API Client Library for Python
2
- # Copyright (C) 2017-present Dan <https://github.com/delivrance>
3
- #
4
- # This file is part of hypergram.
5
- #
6
- # hypergram is free software: you can redistribute it and/or modify
7
- # it under the terms of the GNU Lesser General Public License as published
8
- # by the Free Software Foundation, either version 3 of the License, or
9
- # (at your option) any later version.
10
- #
11
- # hypergram is distributed in the hope that it will be useful,
12
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- # GNU Lesser General Public License for more details.
15
- #
16
- # You should have received a copy of the GNU Lesser General Public License
17
- # along with hypergram. If not, see <http://www.gnu.org/licenses/>.
18
-
19
- from .auto_name import AutoName
20
-
21
-
22
- class FolderColor(AutoName):
23
- """Folder color enumeration used in :obj:`~hypergram.types.Folder`."""
24
-
25
- NO_COLOR = None
26
- "No color."
27
-
28
- RED = 0
29
- "Red color."
30
-
31
- ORANGE = 1
32
- "Orange color."
33
-
34
- VIOLET = 2
35
- "Violet color."
36
-
37
- GREEN = 3
38
- "Green color."
39
-
40
- CYAN = 4
41
- "Cyan color."
42
-
43
- BLUE = 5
44
- "Blue color."
45
-
46
- PINK = 6
47
- "Pink color."
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes