WPyrogram 2.0.149__tar.gz → 2.0.151__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 (678) hide show
  1. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/PKG-INFO +1 -1
  2. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/WPyrogram.egg-info/PKG-INFO +1 -1
  3. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/docs/compiler.py +1 -0
  4. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/errors/source/400_BAD_REQUEST.tsv +48 -0
  5. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/errors/source/403_FORBIDDEN.tsv +4 -1
  6. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/errors/source/406_NOT_ACCEPTABLE.tsv +3 -1
  7. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/errors/source/420_FLOOD.tsv +1 -0
  8. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/__init__.py +1 -1
  9. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/client.py +114 -17
  10. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/dispatcher.py +62 -99
  11. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/filters.py +31 -10
  12. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_forum_topics_by_id.py +1 -1
  13. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/utils.py +177 -109
  14. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/tests/parser/test_markdown.py +8 -0
  15. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/COPYING +0 -0
  16. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/COPYING.lesser +0 -0
  17. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/MANIFEST.in +0 -0
  18. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/NOTICE +0 -0
  19. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/README.md +0 -0
  20. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/WPyrogram.egg-info/SOURCES.txt +0 -0
  21. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/WPyrogram.egg-info/dependency_links.txt +0 -0
  22. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/WPyrogram.egg-info/not-zip-safe +0 -0
  23. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/WPyrogram.egg-info/requires.txt +0 -0
  24. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/WPyrogram.egg-info/top_level.txt +0 -0
  25. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/__init__.py +0 -0
  26. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/api/__init__.py +0 -0
  27. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/api/compiler.py +0 -0
  28. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/api/source/auth_key.tl +0 -0
  29. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/api/source/main_api.tl +0 -0
  30. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/api/source/sys_msgs.tl +0 -0
  31. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/api/template/combinator.txt +0 -0
  32. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/api/template/type.txt +0 -0
  33. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/docs/__init__.py +0 -0
  34. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/docs/template/page.txt +0 -0
  35. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/docs/template/toctree.txt +0 -0
  36. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/errors/__init__.py +0 -0
  37. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/errors/compiler.py +0 -0
  38. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/errors/sort.py +0 -0
  39. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/errors/source/303_SEE_OTHER.tsv +0 -0
  40. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/errors/source/401_UNAUTHORIZED.tsv +0 -0
  41. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/errors/source/500_INTERNAL_SERVER_ERROR.tsv +0 -0
  42. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/errors/source/503_SERVICE_UNAVAILABLE.tsv +0 -0
  43. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/errors/template/class.txt +0 -0
  44. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/compiler/errors/template/sub_class.txt +0 -0
  45. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/connection/__init__.py +0 -0
  46. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/connection/connection.py +0 -0
  47. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/connection/transport/__init__.py +0 -0
  48. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/connection/transport/tcp/__init__.py +0 -0
  49. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/connection/transport/tcp/tcp.py +0 -0
  50. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/connection/transport/tcp/tcp_abridged.py +0 -0
  51. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/connection/transport/tcp/tcp_abridged_o.py +0 -0
  52. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/connection/transport/tcp/tcp_full.py +0 -0
  53. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/connection/transport/tcp/tcp_intermediate.py +0 -0
  54. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/connection/transport/tcp/tcp_intermediate_o.py +0 -0
  55. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/crypto/__init__.py +0 -0
  56. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/crypto/aes.py +0 -0
  57. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/crypto/mtproto.py +0 -0
  58. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/crypto/prime.py +0 -0
  59. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/crypto/rsa.py +0 -0
  60. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/emoji.py +0 -0
  61. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/__init__.py +0 -0
  62. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/auto_name.py +0 -0
  63. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/business_schedule.py +0 -0
  64. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/chat_action.py +0 -0
  65. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/chat_event_action.py +0 -0
  66. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/chat_join_type.py +0 -0
  67. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/chat_member_status.py +0 -0
  68. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/chat_members_filter.py +0 -0
  69. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/chat_type.py +0 -0
  70. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/client_platform.py +0 -0
  71. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/folder_color.py +0 -0
  72. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/message_entity_type.py +0 -0
  73. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/message_media_type.py +0 -0
  74. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/message_service_type.py +0 -0
  75. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/messages_filter.py +0 -0
  76. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/next_code_type.py +0 -0
  77. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/parse_mode.py +0 -0
  78. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/phone_call_discard_reason.py +0 -0
  79. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/poll_type.py +0 -0
  80. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/privacy_key.py +0 -0
  81. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/profile_color.py +0 -0
  82. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/reply_color.py +0 -0
  83. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/sent_code_type.py +0 -0
  84. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/stories_privacy_rules.py +0 -0
  85. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/enums/user_status.py +0 -0
  86. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/errors/__init__.py +0 -0
  87. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/errors/rpc_error.py +0 -0
  88. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/file_id.py +0 -0
  89. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/__init__.py +0 -0
  90. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/callback_query_handler.py +0 -0
  91. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/chat_boost_handler.py +0 -0
  92. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/chat_join_request_handler.py +0 -0
  93. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/chat_member_updated_handler.py +0 -0
  94. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/chosen_inline_result_handler.py +0 -0
  95. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/deleted_messages_handler.py +0 -0
  96. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/disconnect_handler.py +0 -0
  97. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/edited_message_handler.py +0 -0
  98. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/handler.py +0 -0
  99. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/inline_query_handler.py +0 -0
  100. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/message_handler.py +0 -0
  101. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/message_reaction_count_handler.py +0 -0
  102. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/message_reaction_handler.py +0 -0
  103. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/poll_handler.py +0 -0
  104. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/pre_checkout_query_handler.py +0 -0
  105. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/purchased_paid_media_handler.py +0 -0
  106. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/raw_update_handler.py +0 -0
  107. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/shipping_query_handler.py +0 -0
  108. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/story_handler.py +0 -0
  109. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/handlers/user_status_handler.py +0 -0
  110. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/helpers/__init__.py +0 -0
  111. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/helpers/helpers.py +0 -0
  112. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/__init__.py +0 -0
  113. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/account/__init__.py +0 -0
  114. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/account/get_account_ttl.py +0 -0
  115. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/account/get_privacy.py +0 -0
  116. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/account/set_account_ttl.py +0 -0
  117. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/account/set_privacy.py +0 -0
  118. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/advanced/__init__.py +0 -0
  119. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/advanced/invoke.py +0 -0
  120. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/advanced/resolve_peer.py +0 -0
  121. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/advanced/save_file.py +0 -0
  122. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/__init__.py +0 -0
  123. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/accept_terms_of_service.py +0 -0
  124. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/check_password.py +0 -0
  125. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/connect.py +0 -0
  126. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/disconnect.py +0 -0
  127. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/get_active_sessions.py +0 -0
  128. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/get_password_hint.py +0 -0
  129. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/initialize.py +0 -0
  130. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/log_out.py +0 -0
  131. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/recover_password.py +0 -0
  132. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/resend_code.py +0 -0
  133. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/reset_session.py +0 -0
  134. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/reset_sessions.py +0 -0
  135. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/send_code.py +0 -0
  136. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/send_recovery_code.py +0 -0
  137. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/sign_in.py +0 -0
  138. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/sign_in_bot.py +0 -0
  139. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/sign_up.py +0 -0
  140. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/auth/terminate.py +0 -0
  141. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/__init__.py +0 -0
  142. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/answer_callback_query.py +0 -0
  143. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/answer_inline_query.py +0 -0
  144. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/answer_pre_checkout_query.py +0 -0
  145. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/answer_shipping_query.py +0 -0
  146. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/answer_web_app_query.py +0 -0
  147. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/create_invoice_link.py +0 -0
  148. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/delete_bot_commands.py +0 -0
  149. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/get_bot_commands.py +0 -0
  150. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/get_bot_default_privileges.py +0 -0
  151. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/get_bot_info_description.py +0 -0
  152. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/get_bot_info_short_description.py +0 -0
  153. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/get_bot_name.py +0 -0
  154. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/get_chat_menu_button.py +0 -0
  155. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/get_game_high_scores.py +0 -0
  156. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/get_inline_bot_results.py +0 -0
  157. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/refund_star_payment.py +0 -0
  158. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/request_callback_answer.py +0 -0
  159. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/send_game.py +0 -0
  160. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/send_inline_bot_result.py +0 -0
  161. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/send_invoice.py +0 -0
  162. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/set_bot_commands.py +0 -0
  163. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/set_bot_default_privileges.py +0 -0
  164. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/set_bot_info_description.py +0 -0
  165. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/set_bot_info_short_description.py +0 -0
  166. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/set_bot_name.py +0 -0
  167. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/set_chat_menu_button.py +0 -0
  168. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/bots/set_game_score.py +0 -0
  169. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/business/__init__.py +0 -0
  170. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/business/get_business_connection.py +0 -0
  171. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/__init__.py +0 -0
  172. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/add_chat_members.py +0 -0
  173. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/archive_chats.py +0 -0
  174. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/ban_chat_member.py +0 -0
  175. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/close_forum_topic.py +0 -0
  176. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/create_channel.py +0 -0
  177. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/create_forum_topic.py +0 -0
  178. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/create_group.py +0 -0
  179. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/create_supergroup.py +0 -0
  180. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/delete_channel.py +0 -0
  181. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/delete_chat_photo.py +0 -0
  182. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/delete_folder.py +0 -0
  183. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/delete_forum_topic.py +0 -0
  184. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/delete_supergroup.py +0 -0
  185. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/delete_user_history.py +0 -0
  186. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/edit_forum_topic.py +0 -0
  187. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/export_folder_link.py +0 -0
  188. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_chat.py +0 -0
  189. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_chat_event_log.py +0 -0
  190. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_chat_member.py +0 -0
  191. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_chat_members.py +0 -0
  192. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_chat_members_count.py +0 -0
  193. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_chat_online_count.py +0 -0
  194. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_dialogs.py +0 -0
  195. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_dialogs_count.py +0 -0
  196. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_folders.py +0 -0
  197. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_forum_topics.py +0 -0
  198. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_nearby_chats.py +0 -0
  199. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_personal_channels.py +0 -0
  200. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_send_as_chats.py +0 -0
  201. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/get_similar_channels.py +0 -0
  202. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/join_chat.py +0 -0
  203. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/join_folder.py +0 -0
  204. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/leave_chat.py +0 -0
  205. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/leave_folder.py +0 -0
  206. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/mark_chat_unread.py +0 -0
  207. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/pin_chat_message.py +0 -0
  208. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/pin_forum_topic.py +0 -0
  209. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/promote_chat_member.py +0 -0
  210. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/restrict_chat_member.py +0 -0
  211. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/set_administrator_title.py +0 -0
  212. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/set_chat_description.py +0 -0
  213. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/set_chat_permissions.py +0 -0
  214. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/set_chat_photo.py +0 -0
  215. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/set_chat_protected_content.py +0 -0
  216. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/set_chat_title.py +0 -0
  217. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/set_chat_ttl.py +0 -0
  218. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/set_chat_username.py +0 -0
  219. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/set_send_as_chat.py +0 -0
  220. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/set_slow_mode.py +0 -0
  221. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/toggle_folder_tags.py +0 -0
  222. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/toggle_forum_topics.py +0 -0
  223. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/toggle_join_to_send.py +0 -0
  224. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/unarchive_chats.py +0 -0
  225. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/unban_chat_member.py +0 -0
  226. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/unpin_all_chat_messages.py +0 -0
  227. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/unpin_chat_message.py +0 -0
  228. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/unpin_forum_topic.py +0 -0
  229. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/update_chat_notifications.py +0 -0
  230. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/update_color.py +0 -0
  231. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/chats/update_folder.py +0 -0
  232. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/contacts/__init__.py +0 -0
  233. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/contacts/add_contact.py +0 -0
  234. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/contacts/delete_contacts.py +0 -0
  235. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/contacts/get_contacts.py +0 -0
  236. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/contacts/get_contacts_count.py +0 -0
  237. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/contacts/import_contacts.py +0 -0
  238. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/contacts/search_contacts.py +0 -0
  239. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/__init__.py +0 -0
  240. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_callback_query.py +0 -0
  241. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_chat_boost.py +0 -0
  242. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_chat_join_request.py +0 -0
  243. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_chat_member_updated.py +0 -0
  244. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_chosen_inline_result.py +0 -0
  245. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_deleted_messages.py +0 -0
  246. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_disconnect.py +0 -0
  247. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_edited_message.py +0 -0
  248. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_inline_query.py +0 -0
  249. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_message.py +0 -0
  250. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_message_reaction.py +0 -0
  251. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_message_reaction_count.py +0 -0
  252. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_poll.py +0 -0
  253. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_pre_checkout_query.py +0 -0
  254. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_purchased_paid_media.py +0 -0
  255. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_raw_update.py +0 -0
  256. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_shipping_query.py +0 -0
  257. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_story.py +0 -0
  258. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/decorators/on_user_status.py +0 -0
  259. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/__init__.py +0 -0
  260. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/approve_all_chat_join_requests.py +0 -0
  261. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/approve_chat_join_request.py +0 -0
  262. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/create_chat_invite_link.py +0 -0
  263. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/decline_all_chat_join_requests.py +0 -0
  264. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/decline_chat_join_request.py +0 -0
  265. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/delete_chat_admin_invite_links.py +0 -0
  266. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/delete_chat_invite_link.py +0 -0
  267. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/edit_chat_invite_link.py +0 -0
  268. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/export_chat_invite_link.py +0 -0
  269. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/get_chat_admin_invite_links.py +0 -0
  270. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/get_chat_admin_invite_links_count.py +0 -0
  271. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/get_chat_admins_with_invite_links.py +0 -0
  272. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/get_chat_invite_link.py +0 -0
  273. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/get_chat_invite_link_joiners.py +0 -0
  274. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/get_chat_invite_link_joiners_count.py +0 -0
  275. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/get_chat_join_requests.py +0 -0
  276. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/invite_links/revoke_chat_invite_link.py +0 -0
  277. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/__init__.py +0 -0
  278. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/business_session.py +0 -0
  279. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/copy_media_group.py +0 -0
  280. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/copy_message.py +0 -0
  281. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/delete_chat_history.py +0 -0
  282. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/delete_messages.py +0 -0
  283. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/download_media.py +0 -0
  284. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/edit_inline_caption.py +0 -0
  285. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/edit_inline_media.py +0 -0
  286. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/edit_inline_reply_markup.py +0 -0
  287. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/edit_inline_text.py +0 -0
  288. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/edit_message_caption.py +0 -0
  289. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/edit_message_media.py +0 -0
  290. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/edit_message_reply_markup.py +0 -0
  291. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/edit_message_text.py +0 -0
  292. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/forward_media_group.py +0 -0
  293. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/forward_messages.py +0 -0
  294. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/get_available_effects.py +0 -0
  295. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/get_chat_history.py +0 -0
  296. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/get_chat_history_count.py +0 -0
  297. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/get_custom_emoji_stickers.py +0 -0
  298. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/get_discussion_message.py +0 -0
  299. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/get_discussion_replies.py +0 -0
  300. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/get_discussion_replies_count.py +0 -0
  301. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/get_history.py +0 -0
  302. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/get_media_group.py +0 -0
  303. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/get_message_by_link.py +0 -0
  304. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/get_messages.py +0 -0
  305. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/get_scheduled_messages.py +0 -0
  306. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/get_stickers.py +0 -0
  307. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/inline_session.py +0 -0
  308. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/read_chat_history.py +0 -0
  309. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/read_mentions.py +0 -0
  310. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/read_reactions.py +0 -0
  311. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/retract_vote.py +0 -0
  312. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/search_global.py +0 -0
  313. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/search_global_count.py +0 -0
  314. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/search_messages.py +0 -0
  315. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/search_messages_count.py +0 -0
  316. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/search_posts.py +0 -0
  317. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/search_posts_count.py +0 -0
  318. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_animation.py +0 -0
  319. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_audio.py +0 -0
  320. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_cached_media.py +0 -0
  321. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_chat_action.py +0 -0
  322. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_contact.py +0 -0
  323. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_dice.py +0 -0
  324. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_document.py +0 -0
  325. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_location.py +0 -0
  326. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_media_group.py +0 -0
  327. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_message.py +0 -0
  328. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_paid_media.py +0 -0
  329. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_paid_reaction.py +0 -0
  330. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_photo.py +0 -0
  331. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_poll.py +0 -0
  332. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_reaction.py +0 -0
  333. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_sticker.py +0 -0
  334. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_venue.py +0 -0
  335. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_video.py +0 -0
  336. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_video_note.py +0 -0
  337. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_voice.py +0 -0
  338. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/send_web_page.py +0 -0
  339. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/start_bot.py +0 -0
  340. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/stop_poll.py +0 -0
  341. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/stream_media.py +0 -0
  342. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/view_messages.py +0 -0
  343. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/vote_poll.py +0 -0
  344. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/wait_for_callback_query.py +0 -0
  345. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/messages/wait_for_message.py +0 -0
  346. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/password/__init__.py +0 -0
  347. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/password/change_cloud_password.py +0 -0
  348. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/password/enable_cloud_password.py +0 -0
  349. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/password/remove_cloud_password.py +0 -0
  350. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/payments/__init__.py +0 -0
  351. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/payments/apply_gift_code.py +0 -0
  352. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/payments/check_gift_code.py +0 -0
  353. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/payments/check_giftcode.py +0 -0
  354. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/payments/convert_star_gift.py +0 -0
  355. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/payments/get_payment_form.py +0 -0
  356. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/payments/get_star_gifts.py +0 -0
  357. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/payments/get_user_star_gifts.py +0 -0
  358. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/payments/get_user_star_gifts_count.py +0 -0
  359. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/payments/hide_star_gift.py +0 -0
  360. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/payments/send_payment_form.py +0 -0
  361. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/payments/send_star_gift.py +0 -0
  362. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/payments/show_star_gift.py +0 -0
  363. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/phone/__init__.py +0 -0
  364. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/phone/get_call_members.py +0 -0
  365. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/premium/__init__.py +0 -0
  366. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/premium/apply_boost.py +0 -0
  367. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/premium/get_boosts.py +0 -0
  368. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/premium/get_boosts_status.py +0 -0
  369. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/__init__.py +0 -0
  370. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/can_post_stories.py +0 -0
  371. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/can_send_story.py +0 -0
  372. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/copy_story.py +0 -0
  373. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/delete_stories.py +0 -0
  374. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/edit_story_caption.py +0 -0
  375. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/edit_story_media.py +0 -0
  376. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/edit_story_privacy.py +0 -0
  377. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/export_story_link.py +0 -0
  378. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/forward_story.py +0 -0
  379. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/get_all_stories.py +0 -0
  380. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/get_archived_stories.py +0 -0
  381. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/get_chat_stories.py +0 -0
  382. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/get_pinned_stories.py +0 -0
  383. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/get_stories.py +0 -0
  384. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/get_stories_archive.py +0 -0
  385. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/hide_chat_stories.py +0 -0
  386. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/hide_stories.py +0 -0
  387. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/increment_story_views.py +0 -0
  388. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/pin_chat_stories.py +0 -0
  389. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/pin_stories.py +0 -0
  390. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/read_chat_stories.py +0 -0
  391. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/read_stories.py +0 -0
  392. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/send_story.py +0 -0
  393. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/show_chat_stories.py +0 -0
  394. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/unpin_chat_stories.py +0 -0
  395. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/stories/view_stories.py +0 -0
  396. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/__init__.py +0 -0
  397. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/block_user.py +0 -0
  398. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/check_username.py +0 -0
  399. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/delete_profile_photos.py +0 -0
  400. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/get_chat_photos.py +0 -0
  401. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/get_chat_photos_count.py +0 -0
  402. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/get_common_chats.py +0 -0
  403. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/get_default_emoji_statuses.py +0 -0
  404. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/get_me.py +0 -0
  405. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/get_users.py +0 -0
  406. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/set_emoji_status.py +0 -0
  407. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/set_personal_channel.py +0 -0
  408. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/set_profile_photo.py +0 -0
  409. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/set_username.py +0 -0
  410. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/unblock_user.py +0 -0
  411. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/update_birthday.py +0 -0
  412. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/update_personal_channel.py +0 -0
  413. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/update_profile.py +0 -0
  414. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/users/update_status.py +0 -0
  415. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/utilities/__init__.py +0 -0
  416. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/utilities/add_handler.py +0 -0
  417. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/utilities/compose.py +0 -0
  418. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/utilities/export_session_string.py +0 -0
  419. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/utilities/idle.py +0 -0
  420. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/utilities/remove_handler.py +0 -0
  421. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/utilities/restart.py +0 -0
  422. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/utilities/run.py +0 -0
  423. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/utilities/start.py +0 -0
  424. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/utilities/stop.py +0 -0
  425. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/methods/utilities/stop_transmission.py +0 -0
  426. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/mime_types.py +0 -0
  427. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/nav/__init__.py +0 -0
  428. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/nav/pagination.py +0 -0
  429. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/parser/__init__.py +0 -0
  430. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/parser/html.py +0 -0
  431. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/parser/markdown.py +0 -0
  432. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/parser/parser.py +0 -0
  433. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/parser/utils.py +0 -0
  434. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/py.typed +0 -0
  435. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/__init__.py +0 -0
  436. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/__init__.py +0 -0
  437. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/future_salt.py +0 -0
  438. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/future_salts.py +0 -0
  439. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/gzip_packed.py +0 -0
  440. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/list.py +0 -0
  441. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/message.py +0 -0
  442. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/msg_container.py +0 -0
  443. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/primitives/__init__.py +0 -0
  444. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/primitives/bool.py +0 -0
  445. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/primitives/bytes.py +0 -0
  446. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/primitives/double.py +0 -0
  447. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/primitives/int.py +0 -0
  448. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/primitives/string.py +0 -0
  449. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/primitives/vector.py +0 -0
  450. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/raw/core/tl_object.py +0 -0
  451. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/session/__init__.py +0 -0
  452. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/session/auth.py +0 -0
  453. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/session/internals/__init__.py +0 -0
  454. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/session/internals/data_center.py +0 -0
  455. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/session/internals/msg_factory.py +0 -0
  456. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/session/internals/msg_id.py +0 -0
  457. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/session/internals/seq_no.py +0 -0
  458. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/session/session.py +0 -0
  459. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/storage/__init__.py +0 -0
  460. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/storage/file_storage.py +0 -0
  461. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/storage/memory_storage.py +0 -0
  462. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/storage/sqlite_storage.py +0 -0
  463. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/storage/storage.py +0 -0
  464. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/sync.py +0 -0
  465. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/__init__.py +0 -0
  466. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/authorization/__init__.py +0 -0
  467. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/authorization/active_session.py +0 -0
  468. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/authorization/active_sessions.py +0 -0
  469. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/authorization/sent_code.py +0 -0
  470. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/authorization/terms_of_service.py +0 -0
  471. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/__init__.py +0 -0
  472. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/bot_command.py +0 -0
  473. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/bot_command_scope.py +0 -0
  474. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/bot_command_scope_all_chat_administrators.py +0 -0
  475. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/bot_command_scope_all_group_chats.py +0 -0
  476. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/bot_command_scope_all_private_chats.py +0 -0
  477. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/bot_command_scope_chat.py +0 -0
  478. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/bot_command_scope_chat_administrators.py +0 -0
  479. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/bot_command_scope_chat_member.py +0 -0
  480. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/bot_command_scope_default.py +0 -0
  481. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/callback_game.py +0 -0
  482. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/callback_query.py +0 -0
  483. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/chat_boost_updated.py +0 -0
  484. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/force_reply.py +0 -0
  485. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/game_high_score.py +0 -0
  486. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/inline_keyboard_button.py +0 -0
  487. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/inline_keyboard_markup.py +0 -0
  488. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/keyboard_button.py +0 -0
  489. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/labeled_price.py +0 -0
  490. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/login_url.py +0 -0
  491. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/menu_button.py +0 -0
  492. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/menu_button_commands.py +0 -0
  493. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/menu_button_default.py +0 -0
  494. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/menu_button_web_app.py +0 -0
  495. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/message_reaction_count_updated.py +0 -0
  496. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/message_reaction_updated.py +0 -0
  497. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/order_info.py +0 -0
  498. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/pre_checkout_query.py +0 -0
  499. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/purchased_paid_media.py +0 -0
  500. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/reply_keyboard_markup.py +0 -0
  501. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/reply_keyboard_remove.py +0 -0
  502. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/request_channel_info.py +0 -0
  503. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/request_chat_info.py +0 -0
  504. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/request_poll_info.py +0 -0
  505. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/request_user_info.py +0 -0
  506. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/requested_chats.py +0 -0
  507. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/sent_web_app_message.py +0 -0
  508. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/shipping_address.py +0 -0
  509. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/shipping_option.py +0 -0
  510. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/shipping_query.py +0 -0
  511. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/successful_payment.py +0 -0
  512. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/bots_and_keyboards/web_app_info.py +0 -0
  513. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/__init__.py +0 -0
  514. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/chosen_inline_result.py +0 -0
  515. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query.py +0 -0
  516. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result.py +0 -0
  517. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_animation.py +0 -0
  518. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_article.py +0 -0
  519. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_audio.py +0 -0
  520. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_cached_animation.py +0 -0
  521. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_cached_audio.py +0 -0
  522. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_cached_document.py +0 -0
  523. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_cached_photo.py +0 -0
  524. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_cached_sticker.py +0 -0
  525. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_cached_video.py +0 -0
  526. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_cached_voice.py +0 -0
  527. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_contact.py +0 -0
  528. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_document.py +0 -0
  529. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_location.py +0 -0
  530. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_photo.py +0 -0
  531. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_venue.py +0 -0
  532. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_video.py +0 -0
  533. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/inline_mode/inline_query_result_voice.py +0 -0
  534. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_media/__init__.py +0 -0
  535. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_media/input_media.py +0 -0
  536. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_media/input_media_animation.py +0 -0
  537. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_media/input_media_audio.py +0 -0
  538. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_media/input_media_document.py +0 -0
  539. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_media/input_media_photo.py +0 -0
  540. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_media/input_media_video.py +0 -0
  541. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_media/input_phone_contact.py +0 -0
  542. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_message_content/__init__.py +0 -0
  543. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_message_content/input_message_content.py +0 -0
  544. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_message_content/input_reply_to_message.py +0 -0
  545. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_message_content/input_reply_to_story.py +0 -0
  546. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_message_content/input_text_message_content.py +0 -0
  547. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_privacy_rule/__init__.py +0 -0
  548. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_privacy_rule/input_privacy_rule.py +0 -0
  549. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_all.py +0 -0
  550. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_chats.py +0 -0
  551. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_contacts.py +0 -0
  552. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_premium.py +0 -0
  553. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_privacy_rule/input_privacy_rule_allow_users.py +0 -0
  554. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_privacy_rule/input_privacy_rule_disallow_all.py +0 -0
  555. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_privacy_rule/input_privacy_rule_disallow_chats.py +0 -0
  556. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_privacy_rule/input_privacy_rule_disallow_contacts.py +0 -0
  557. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/input_privacy_rule/input_privacy_rule_disallow_users.py +0 -0
  558. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/list.py +0 -0
  559. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/__init__.py +0 -0
  560. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/animation.py +0 -0
  561. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/audio.py +0 -0
  562. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/auto_name.py +0 -0
  563. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/available_effect.py +0 -0
  564. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/boosts_status.py +0 -0
  565. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/business_message.py +0 -0
  566. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/chat_action.py +0 -0
  567. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/chat_boost.py +0 -0
  568. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/chat_event_action.py +0 -0
  569. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/chat_member_status.py +0 -0
  570. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/chat_members_filter.py +0 -0
  571. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/chat_type.py +0 -0
  572. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/checked_gift_code.py +0 -0
  573. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/contact.py +0 -0
  574. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/contact_registered.py +0 -0
  575. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/dice.py +0 -0
  576. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/document.py +0 -0
  577. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/forum_topic.py +0 -0
  578. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/forum_topic_closed.py +0 -0
  579. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/forum_topic_created.py +0 -0
  580. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/forum_topic_edited.py +0 -0
  581. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/forum_topic_reopened.py +0 -0
  582. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/game.py +0 -0
  583. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/general_forum_topic_hidden.py +0 -0
  584. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/general_forum_topic_unhidden.py +0 -0
  585. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/gift_code.py +0 -0
  586. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/giveaway.py +0 -0
  587. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/giveaway_completed.py +0 -0
  588. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/giveaway_created.py +0 -0
  589. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/giveaway_result.py +0 -0
  590. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/giveaway_winners.py +0 -0
  591. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/invoice.py +0 -0
  592. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/location.py +0 -0
  593. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/message.py +0 -0
  594. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/message_entity.py +0 -0
  595. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/message_entity_type.py +0 -0
  596. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/message_media_type.py +0 -0
  597. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/message_reactions.py +0 -0
  598. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/message_service_type.py +0 -0
  599. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/message_story.py +0 -0
  600. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/messages_filter.py +0 -0
  601. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/my_boost.py +0 -0
  602. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/next_code_type.py +0 -0
  603. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/paid_media_info.py +0 -0
  604. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/paid_media_preview.py +0 -0
  605. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/parse_mode.py +0 -0
  606. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/payment_form.py +0 -0
  607. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/photo.py +0 -0
  608. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/poll.py +0 -0
  609. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/poll_option.py +0 -0
  610. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/poll_type.py +0 -0
  611. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/reaction.py +0 -0
  612. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/refunded_payment.py +0 -0
  613. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/screenshot_taken.py +0 -0
  614. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/sent_code_type.py +0 -0
  615. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/star_gift.py +0 -0
  616. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/sticker.py +0 -0
  617. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/story.py +0 -0
  618. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/stripped_thumbnail.py +0 -0
  619. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/successful_payment.py +0 -0
  620. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/thumbnail.py +0 -0
  621. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/user_status.py +0 -0
  622. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/venue.py +0 -0
  623. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/video.py +0 -0
  624. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/video_note.py +0 -0
  625. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/voice.py +0 -0
  626. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/web_app_data.py +0 -0
  627. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/web_page.py +0 -0
  628. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/messages_and_media/write_access_allowed.py +0 -0
  629. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/object.py +0 -0
  630. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/update.py +0 -0
  631. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/__init__.py +0 -0
  632. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/birthday.py +0 -0
  633. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/business_connection.py +0 -0
  634. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/business_info.py +0 -0
  635. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/business_intro.py +0 -0
  636. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/business_message.py +0 -0
  637. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/business_recipients.py +0 -0
  638. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/business_weekly_open.py +0 -0
  639. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/business_working_hours.py +0 -0
  640. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat.py +0 -0
  641. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat_admin_with_invite_links.py +0 -0
  642. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat_color.py +0 -0
  643. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat_event.py +0 -0
  644. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat_event_filter.py +0 -0
  645. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat_invite_link.py +0 -0
  646. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat_join_request.py +0 -0
  647. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat_joiner.py +0 -0
  648. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat_member.py +0 -0
  649. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat_member_updated.py +0 -0
  650. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat_permissions.py +0 -0
  651. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat_photo.py +0 -0
  652. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat_privileges.py +0 -0
  653. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/chat_reactions.py +0 -0
  654. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/dialog.py +0 -0
  655. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/emoji_status.py +0 -0
  656. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/folder.py +0 -0
  657. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/found_contacts.py +0 -0
  658. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/group_call_member.py +0 -0
  659. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/invite_link_importer.py +0 -0
  660. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/phone_call_ended.py +0 -0
  661. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/phone_call_started.py +0 -0
  662. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/privacy_rule.py +0 -0
  663. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/restriction.py +0 -0
  664. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/user.py +0 -0
  665. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/username.py +0 -0
  666. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/video_chat_ended.py +0 -0
  667. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/video_chat_members_invited.py +0 -0
  668. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/video_chat_scheduled.py +0 -0
  669. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/pyrogram/types/user_and_chats/video_chat_started.py +0 -0
  670. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/requirements.txt +0 -0
  671. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/setup.cfg +0 -0
  672. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/setup.py +0 -0
  673. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/tests/__init__.py +0 -0
  674. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/tests/filters/__init__.py +0 -0
  675. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/tests/filters/test_command.py +0 -0
  676. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/tests/parser/__init__.py +0 -0
  677. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/tests/parser/test_html.py +0 -0
  678. {wpyrogram-2.0.149 → wpyrogram-2.0.151}/tests/test_file_id.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: WPyrogram
3
- Version: 2.0.149
3
+ Version: 2.0.151
4
4
  Summary: Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots - Woto's experimental fork
5
5
  Home-page: https://github.com/ALiwoto/WPyrogram
6
6
  Download-URL: https://github.com/ALiwoto/WPyrogram
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: WPyrogram
3
- Version: 2.0.149
3
+ Version: 2.0.151
4
4
  Summary: Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots - Woto's experimental fork
5
5
  Home-page: https://github.com/ALiwoto/WPyrogram
6
6
  Download-URL: https://github.com/ALiwoto/WPyrogram
@@ -890,6 +890,7 @@ def pyrogram_api():
890
890
  ClientPlatform
891
891
  FolderColor
892
892
  MessageEntityType
893
+ MessageMediaType
893
894
  MessageServiceType
894
895
  MessagesFilter
895
896
  NextCodeType
@@ -8,6 +8,7 @@ ADMIN_ID_INVALID The specified admin ID is invalid
8
8
  ADMIN_RANK_EMOJI_NOT_ALLOWED Emoji are not allowed in custom administrator titles
9
9
  ADMIN_RANK_INVALID The custom administrator title is invalid or too long
10
10
  ADMIN_RIGHTS_EMPTY The chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0).
11
+ AD_EXPIRED The ad has expired (too old or not found).
11
12
  ALBUM_PHOTOS_TOO_MANY Too many photos were included in the album
12
13
  API_ID_INVALID The api_id/api_hash combination is invalid
13
14
  API_ID_PUBLISHED_FLOOD You are using an API key that is limited on the server side because it was published somewhere
@@ -32,8 +33,11 @@ BOOSTS_REQUIRED Boosts required
32
33
  BOOST_NOT_MODIFIED You're already [boosting](https://core.telegram.org/api/boost) the specified channel.
33
34
  BOOST_PEER_INVALID The specified `boost_peer` is invalid.
34
35
  BOTS_TOO_MUCH The chat has too many bots
36
+ BOT_ALREADY_DISABLED The connected business bot was already disabled for the specified peer.
37
+ BOT_APP_BOT_INVALID The bot_id passed in the inputBotAppShortName constructor is invalid.
35
38
  BOT_APP_INVALID The specified bot app is invalid.
36
39
  BOT_APP_SHORTNAME_INVALID The specified bot app short name is invalid.
40
+ BOT_BUSINESS_MISSING The specified bot is not a business bot (the [user](https://core.telegram.org/constructor/user).`bot_business` flag is not set).
37
41
  BOT_CHANNELS_NA Bots can't edit admin privileges
38
42
  BOT_COMMAND_DESCRIPTION_INVALID The command description was empty, too long or had invalid characters
39
43
  BOT_COMMAND_INVALID The specified command is invalid
@@ -44,6 +48,7 @@ BOT_INLINE_DISABLED The inline feature of the bot is disabled
44
48
  BOT_INVALID This is not a valid bot
45
49
  BOT_METHOD_INVALID The method can't be used by bots
46
50
  BOT_MISSING This method can only be run by a bot
51
+ BOT_NOT_CONNECTED_YET No [business bot](https://core.telegram.org/api/business#connected-bots) is connected to the currently logged in user.
47
52
  BOT_ONESIDE_NOT_AVAIL Bots can't pin messages for one side only in private chats
48
53
  BOT_PAYMENTS_DISABLED This method can only be run by a bot
49
54
  BOT_POLLS_DISABLED Sending polls by bots has been disabled
@@ -54,8 +59,14 @@ BROADCAST_CALLS_DISABLED Broadcast calls disabled
54
59
  BROADCAST_ID_INVALID The channel is invalid
55
60
  BROADCAST_PUBLIC_VOTERS_FORBIDDEN Polls with public voters cannot be sent in channels
56
61
  BROADCAST_REQUIRED The request can only be used with a channel
62
+ BUSINESS_PEER_INVALID Messages can't be set to the specified peer through the current [business connection](https://core.telegram.org/api/business#connected-bots).
63
+ BUSINESS_RECIPIENTS_EMPTY You didn't set any flag in inputBusinessBotRecipients, thus the bot cannot work with *any* peer.
64
+ BUSINESS_WORK_HOURS_EMPTY No work hours were specified.
65
+ BUSINESS_WORK_HOURS_PERIOD_INVALID The specified work hours are invalid, see [here »](https://core.telegram.org/api/business#opening-hours) for the exact requirements.
66
+ BUTTON_COPY_TEXT_INVALID The `copy_text` of one or more of the buttons you provided is invalid.
57
67
  BUTTON_DATA_INVALID The button callback data is invalid or too large
58
68
  BUTTON_ID_INVALID The button_id parameter is invalid
69
+ BUTTON_POS_INVALID The position of one of the keyboard buttons is invalid (i.e. a Game or Pay button not in the first position, and so on...).
59
70
  BUTTON_TEXT_INVALID The specified button text is invalid
60
71
  BUTTON_TYPE_INVALID The type of one of the buttons you provided is invalid
61
72
  BUTTON_URL_INVALID The button url is invalid
@@ -81,6 +92,9 @@ CHANNEL_TOO_BIG The channel too big
81
92
  CHANNEL_TOO_LARGE The channel is too large
82
93
  CHARGE_ALREADY_REFUNDED The charge id was already used for a refund.
83
94
  CHARGE_NOT_FOUND The charge id was not found.
95
+ CHATLINKS_TOO_MUCH Too many [business chat links](https://core.telegram.org/api/business#business-chat-links) were created, please delete some older links.
96
+ CHATLINK_SLUG_EMPTY The specified slug is empty.
97
+ CHATLINK_SLUG_EXPIRED The specified [business chat link](https://core.telegram.org/api/business#business-chat-links) has expired.
84
98
  CHATLISTS_TOO_MUCH You have too much chatlists on your account
85
99
  CHATLIST_EXCLUDE_INVALID The specified `exclude_peers` are invalid.
86
100
  CHAT_ABOUT_NOT_MODIFIED The chat about text was not modified because you tried to edit it using the same content
@@ -103,10 +117,13 @@ CHAT_TOO_BIG The chat is too big for this action
103
117
  CODE_EMPTY The provided code is empty
104
118
  CODE_HASH_INVALID The provided code hash invalid
105
119
  CODE_INVALID The provided code is invalid (i.e. from email)
120
+ COLLECTIBLE_INVALID The specified collectible is invalid.
121
+ COLLECTIBLE_NOT_FOUND The specified collectible could not be found.
106
122
  COLOR_INVALID The provided color is invalid
107
123
  CONNECTION_API_ID_INVALID The provided API id is invalid
108
124
  CONNECTION_APP_VERSION_EMPTY App version is empty
109
125
  CONNECTION_DEVICE_MODEL_EMPTY The device model is empty
126
+ CONNECTION_ID_INVALID The specified connection ID is invalid.
110
127
  CONNECTION_LANG_PACK_INVALID The specified language pack is not valid
111
128
  CONNECTION_LAYER_INVALID The connection layer is invalid. Missing InvokeWithLayer-InitConnection call
112
129
  CONNECTION_NOT_INITED The connection was not initialized
@@ -174,6 +191,8 @@ FILE_PART_X_MISSING Part {value} of the file is missing from storage
174
191
  FILE_REFERENCE_EMPTY The file id contains an empty file reference, you must obtain a valid one by fetching the message from the origin context
175
192
  FILE_REFERENCE_EXPIRED The file id contains an expired file reference, you must obtain a valid one by fetching the message from the origin context
176
193
  FILE_REFERENCE_INVALID The file id contains an invalid file reference, you must obtain a valid one by fetching the message from the origin context
194
+ FILE_REFERENCE_X_EXPIRED The file reference of the media file at index {value} in the passed media array expired, it [must be refreshed](https://core.telegram.org/api/file_reference).
195
+ FILE_REFERENCE_X_INVALID The file reference of the media file at index {value} in the passed media array is invalid.
177
196
  FILE_TITLE_EMPTY An empty file title was specified
178
197
  FILE_TOKEN_INVALID The specified file token is invalid.
179
198
  FILTER_ID_INVALID The specified filter ID is invalid
@@ -181,8 +200,10 @@ FILTER_INCLUDE_EMPTY The filter include is empty
181
200
  FILTER_NOT_SUPPORTED The specified filter cannot be used in this context
182
201
  FILTER_TITLE_EMPTY The title field of the filter is empty
183
202
  FIRSTNAME_INVALID The first name is invalid
203
+ FLOODSKIP_NOT_ALLOWED You can't execute the specified action because in order to enable this feature [the following conditions](https://core.telegram.org/bots/faq#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) must be satisfied.
184
204
  FOLDER_ID_EMPTY The folder you tried to delete was already empty
185
205
  FOLDER_ID_INVALID The folder id is invalid
206
+ FORM_EXPIRED The form was generated more than 10 minutes ago and has expired, please re-generate it using [payments.getPaymentForm](https://core.telegram.org/method/payments.getPaymentForm) and pass the new `form_id`.
186
207
  FORM_ID_EXPIRED The specified id has expired.
187
208
  FORUM_ENABLED You can't execute the specified action because the group is a [forum](https://core.telegram.org/api/forum), disable forum functionality to continue.
188
209
  FRESH_CHANGE_ADMINS_FORBIDDEN You can't change administrator settings in this chat because your session was logged-in recently
@@ -206,10 +227,12 @@ GROUPCALL_NOT_MODIFIED Group call settings weren't modified
206
227
  GROUPCALL_SSRC_DUPLICATE_MUCH Too many group call synchronization source duplicates
207
228
  GROUPED_MEDIA_INVALID The album contains invalid media
208
229
  GROUP_CALL_INVALID The group call is invalid
230
+ HASHTAG_INVALID The specified hashtag is invalid.
209
231
  HASH_INVALID The provided hash is invalid
210
232
  HIDE_REQUESTER_MISSING The join request was missing or was already handled
211
233
  IMAGE_PROCESS_FAILED The server failed to process your image
212
234
  IMPORT_FILE_INVALID The imported file is invalid
235
+ IMPORT_FORMAT_DATE_INVALID The date specified in the import file is invalid.
213
236
  IMPORT_FORMAT_UNRECOGNIZED The imported format is unrecognized
214
237
  IMPORT_ID_INVALID The import id is invalid
215
238
  IMPORT_TOKEN_INVALID The specified token is invalid.
@@ -218,6 +241,7 @@ INPUT_CHATLIST_INVALID The specified folder is invalid.
218
241
  INPUT_CONSTRUCTOR_INVALID The provided constructor is invalid
219
242
  INPUT_FETCH_ERROR An error occurred while deserializing TL parameters
220
243
  INPUT_FETCH_FAIL Failed deserializing TL payload
244
+ INPUT_FILE_INVALID The specified [InputFile](https://core.telegram.org/type/InputFile) is invalid.
221
245
  INPUT_FILTER_INVALID The filter is invalid for this query
222
246
  INPUT_LAYER_INVALID The provided layer is invalid
223
247
  INPUT_METHOD_INVALID The method invoked is invalid in the current schema
@@ -236,6 +260,7 @@ INVITE_SLUG_EMPTY The invite slug is empty
236
260
  INVITE_SLUG_EXPIRED The invite slug is expired
237
261
  INVOICE_PAYLOAD_INVALID The specified invoice payload is invalid
238
262
  JOIN_AS_PEER_INVALID The specified peer cannot be used to join a group call
263
+ LANGUAGE_INVALID The specified lang_code is invalid.
239
264
  LANG_CODE_INVALID The specified language code is invalid
240
265
  LANG_CODE_NOT_SUPPORTED The specified language code is not supported
241
266
  LANG_PACK_INVALID The provided language pack is invalid
@@ -247,6 +272,7 @@ MAX_DATE_INVALID The specified maximum date is invalid
247
272
  MAX_ID_INVALID The max_id parameter is invalid
248
273
  MAX_QTS_INVALID The provided QTS is invalid
249
274
  MD5_CHECKSUM_INVALID The file's checksum did not match the md5_checksum parameter
275
+ MEDIA_ALREADY_PAID The specified paid media is already paid.
250
276
  MEDIA_CAPTION_TOO_LONG The media caption is too long
251
277
  MEDIA_EMPTY The media you tried to send is invalid
252
278
  MEDIA_FILE_INVALID The provided media file is invalid
@@ -266,8 +292,10 @@ MESSAGE_EMPTY The message sent is empty or contains invalid characters
266
292
  MESSAGE_IDS_EMPTY The requested message doesn't exist or you provided no message id
267
293
  MESSAGE_ID_INVALID The message id is invalid
268
294
  MESSAGE_NOT_MODIFIED The message was not modified because you tried to edit it using the same content
295
+ MESSAGE_NOT_READ_YET The specified message wasn't read yet.
269
296
  MESSAGE_POLL_CLOSED You can't interact with a closed poll
270
297
  MESSAGE_TOO_LONG The message text is too long
298
+ MESSAGE_TOO_OLD The message is too old, the requested information is not available.
271
299
  METHOD_INVALID The API method is invalid and cannot be used
272
300
  MIN_DATE_INVALID The specified minimum date is invalid
273
301
  MSG_ID_INVALID The message ID used in the peer was invalid
@@ -280,6 +308,8 @@ NEW_SETTINGS_EMPTY No password is set on the current account, and no new passwor
280
308
  NEW_SETTINGS_INVALID The new settings are invalid
281
309
  NEXT_OFFSET_INVALID The next offset value is invalid
282
310
  NOGENERAL_HIDE_FORBIDDEN The hidden parameter is only valid for the General topic message_thread_id=1
311
+ NOT_ELIGIBLE The current user is not eligible to join the Peer-to-Peer Login Program.
312
+ NOT_JOINED The current user hasn't joined the Peer-to-Peer Login Program.
283
313
  OFFSET_INVALID The offset parameter is invalid
284
314
  OFFSET_PEER_ID_INVALID The provided offset peer is invalid
285
315
  OPTIONS_TOO_MUCH The poll options are too many
@@ -333,6 +363,7 @@ PHOTO_SAVE_FILE_INVALID The photo you tried to send cannot be saved by Telegram
333
363
  PHOTO_THUMB_URL_EMPTY The photo thumb URL is empty
334
364
  PHOTO_THUMB_URL_INVALID The photo thumb URL is invalid
335
365
  PINNED_DIALOGS_TOO_MUCH Too many pinned dialogs
366
+ PINNED_TOPIC_NOT_MODIFIED The pinned topic was not modified.
336
367
  PIN_RESTRICTED You can't pin messages in private chats with other people
337
368
  PLATFORM_INVALID The provided platform is invalid. Allowed values are "android", "ios", "wp", "bb", "desktop", "web", "ubp", "other".
338
369
  POLL_ANSWERS_INVALID The poll answers are invalid
@@ -352,27 +383,33 @@ PUBLIC_KEY_REQUIRED A public key is required
352
383
  QUERY_ID_EMPTY The query ID is empty
353
384
  QUERY_ID_INVALID The callback query id is invalid
354
385
  QUERY_TOO_SHORT The query is too short
386
+ QUICK_REPLIES_TOO_MUCH A maximum of [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config#quick-replies-limit) shortcuts may be created, the limit was reached.
355
387
  QUIZ_ANSWER_MISSING You can forward a quiz while hiding the original author only after choosing an option in the quiz
356
388
  QUIZ_CORRECT_ANSWERS_EMPTY The correct answers of the quiz are empty
357
389
  QUIZ_CORRECT_ANSWERS_TOO_MUCH The quiz contains too many correct answers
358
390
  QUIZ_CORRECT_ANSWER_INVALID The correct answers of the quiz are invalid
359
391
  QUIZ_MULTIPLE_INVALID A quiz can't have multiple answers
360
392
  QUOTE_TEXT_INVALID The quote text is invalid
393
+ RAISE_HAND_FORBIDDEN You cannot raise your hand.
361
394
  RANDOM_ID_EMPTY The random ID is empty
362
395
  RANDOM_ID_INVALID The provided random ID is invalid
363
396
  RANDOM_LENGTH_INVALID The random length is invalid
364
397
  RANGES_INVALID Invalid range provided
398
+ REACTIONS_COUNT_INVALID The count of the reactions should be less than `stars_paid_reaction_amount_max` stars, you can't react with more number of stars, see [the docs for more info](https://core.telegram.org/api/config#client-configuration).
365
399
  REACTIONS_TOO_MANY Non-premium users, can set up only one reaction per message
366
400
  REACTION_EMPTY The reaction provided is empty
367
401
  REACTION_INVALID Invalid reaction provided (only valid emoji are allowed)
402
+ RECEIPT_EMPTY The specified receipt is empty.
368
403
  REFLECTOR_NOT_AVAILABLE The call reflector is not available
369
404
  REPLY_MARKUP_BUY_EMPTY Reply markup for buy button empty
370
405
  REPLY_MARKUP_GAME_EMPTY The provided reply markup for the game is empty
371
406
  REPLY_MARKUP_INVALID The provided reply markup is invalid
372
407
  REPLY_MARKUP_TOO_LONG The reply markup is too long
408
+ REPLY_MESSAGES_TOO_MUCH Each shortcut can contain a maximum of [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config#quick-reply-messages-limit) messages, the limit was reached.
373
409
  REPLY_MESSAGE_ID_INVALID The reply message id is invalid
374
410
  REPLY_TO_INVALID The specified `reply_to` field is invalid.
375
411
  REPLY_TO_USER_INVALID The replied-to user is invalid.
412
+ REQUEST_TOKEN_INVALID The master DC did not accept the `request_token` from the CDN DC. Continue downloading the file from the master DC using upload.getFile.
376
413
  RESET_REQUEST_MISSING No password reset is in progress
377
414
  RESULTS_TOO_MUCH The result contains too many items
378
415
  RESULT_ID_DUPLICATE The result contains items with duplicated identifiers
@@ -381,6 +418,8 @@ RESULT_ID_INVALID The given result cannot be used to send the selection to the b
381
418
  RESULT_TYPE_INVALID The result type is invalid
382
419
  REVOTE_NOT_ALLOWED You cannot change your vote
383
420
  RIGHTS_NOT_MODIFIED The new admin rights are equal to the old rights, no change was made
421
+ RINGTONE_INVALID The specified ringtone is invalid.
422
+ RINGTONE_MIME_INVALID The MIME type for the ringtone is invalid.
384
423
  RSA_DECRYPT_FAILED Internal RSA decryption failed
385
424
  SAVED_DIALOGS_UNSUPPORTED You cannot use this method
386
425
  SCHEDULE_BOT_NOT_ALLOWED Bots are not allowed to schedule messages
@@ -392,21 +431,25 @@ SCORE_INVALID The specified game score is invalid
392
431
  SEARCH_QUERY_EMPTY The search query is empty
393
432
  SEARCH_WITH_LINK_NOT_SUPPORTED You cannot provide a search query and an invite link at the same time
394
433
  SECONDS_INVALID The seconds interval is invalid
434
+ SECURE_SECRET_REQUIRED A secure secret is required.
395
435
  SEND_AS_PEER_INVALID You can't send messages as the specified peer
396
436
  SEND_MESSAGE_MEDIA_INVALID The message media is invalid
397
437
  SEND_MESSAGE_TYPE_INVALID The message type is invalid
398
438
  SESSION_TOO_FRESH_X You can't do this action because the current session was logged-in recently
399
439
  SETTINGS_INVALID Invalid settings were provided
400
440
  SHA256_HASH_INVALID The provided SHA256 hash is invalid
441
+ SHORTCUT_INVALID The specified shortcut is invalid.
401
442
  SHORTNAME_OCCUPY_FAILED An error occurred when trying to register the short-name used for the sticker pack. Try a different name
402
443
  SHORT_NAME_INVALID The specified short name is invalid
403
444
  SHORT_NAME_OCCUPIED The specified short name is already in use
404
445
  SLOTS_EMPTY The specified slot list is empty.
405
446
  SLOWMODE_MULTI_MSGS_DISABLED Slowmode is enabled, you cannot forward multiple messages to this group
406
447
  SLUG_INVALID The specified invoice slug is invalid.
448
+ SMSJOB_ID_INVALID The specified job ID is invalid.
407
449
  SMS_CODE_CREATE_FAILED An error occurred while creating the SMS code
408
450
  SRP_ID_INVALID Invalid SRP ID provided
409
451
  SRP_PASSWORD_CHANGED The password has changed
452
+ STARGIFT_ALREADY_CONVERTED The provided star gift already converted to stars
410
453
  START_PARAM_EMPTY The start parameter is empty
411
454
  START_PARAM_INVALID The start parameter is invalid
412
455
  START_PARAM_TOO_LONG The start parameter is too long
@@ -441,6 +484,7 @@ STORY_PERIOD_INVALID The story period is invalid
441
484
  STORY_SEND_FLOOD_MONTHLY_X You've hit the monthly story limit as specified by the [`stories_sent_monthly_limit_*` client configuration parameters](https://core.telegram.org/api/config#stories-sent-monthly-limit-default): wait for the specified number of seconds before posting a new story.
442
485
  STORY_SEND_FLOOD_WEEKLY_X You've hit the weekly story limit as specified by the [`stories_sent_weekly_limit_*` client configuration parameters](https://core.telegram.org/api/config#stories-sent-weekly-limit-default): wait for the specified number of seconds before posting a new story.
443
486
  SWITCH_PM_TEXT_EMPTY The switch_pm.text field was empty
487
+ SWITCH_WEBVIEW_URL_INVALID The URL specified in switch_webview.url is invalid!
444
488
  TAKEOUT_INVALID The takeout id is invalid
445
489
  TAKEOUT_REQUIRED The method must be invoked inside a takeout session
446
490
  TASK_ALREADY_EXISTS An email reset was already requested.
@@ -451,6 +495,7 @@ THEME_FORMAT_INVALID Invalid theme format provided
451
495
  THEME_INVALID Invalid theme provided
452
496
  THEME_MIME_INVALID You cannot create this theme because the mime-type is invalid
453
497
  THEME_TITLE_INVALID The specified theme title is invalid
498
+ TIMEZONE_INVALID The specified timezone does not exist.
454
499
  TITLE_INVALID The specified stickerpack title is invalid
455
500
  TMP_PASSWORD_DISABLED The temporary password is disabled
456
501
  TMP_PASSWORD_INVALID The temporary password is invalid
@@ -468,6 +513,7 @@ TOPIC_NOT_MODIFIED The topic was not modified
468
513
  TOPIC_TITLE_EMPTY The specified topic title is empty.
469
514
  TO_LANG_INVALID The specified destination language is invalid
470
515
  TRANSCRIPTION_FAILED Telegram is having internal problems. Please try again later to transcribe the audio.
516
+ TRANSLATE_REQ_QUOTA_EXCEEDED Translation is currently unavailable due to a temporary server-side lack of resources.
471
517
  TTL_DAYS_INVALID The provided TTL days is invalid
472
518
  TTL_MEDIA_INVALID The media does not support self-destruction
473
519
  TTL_PERIOD_INVALID The provided TTL period is invalid
@@ -508,6 +554,8 @@ USER_VOLUME_INVALID The specified user volume is invalid
508
554
  VENUE_ID_INVALID The specified venue ID is invalid.
509
555
  VIDEO_CONTENT_TYPE_INVALID The video content type is invalid (i.e.: not streamable)
510
556
  VIDEO_FILE_INVALID The video file is invalid
557
+ VIDEO_PAUSE_FORBIDDEN You cannot pause the video stream.
558
+ VIDEO_STOP_FORBIDDEN You cannot stop the video stream.
511
559
  VIDEO_TITLE_EMPTY The specified video title is empty
512
560
  VOICE_MESSAGES_FORBIDDEN Voice messages are restricted
513
561
  VOLUME_LOC_NOT_FOUND The volume location can't be found
@@ -2,6 +2,7 @@ id message
2
2
  ANONYMOUS_REACTIONS_DISABLED Sorry, anonymous administrators cannot leave reactions or participate in polls.
3
3
  BROADCAST_FORBIDDEN The request can't be used in channels
4
4
  CHANNEL_PUBLIC_GROUP_NA The channel/supergroup is not available
5
+ CHAT_ACTION_FORBIDDEN You cannot execute this action.
5
6
  CHAT_ADMIN_INVITE_REQUIRED You don't have rights to invite other users
6
7
  CHAT_ADMIN_REQUIRED The method requires chat admin privileges
7
8
  CHAT_FORBIDDEN You cannot write in this chat
@@ -43,6 +44,8 @@ USER_DELETED You can't send this secret message because the other participant de
43
44
  USER_INVALID The provided user is invalid
44
45
  USER_IS_BLOCKED The user is blocked
45
46
  USER_NOT_MUTUAL_CONTACT The provided user is not a mutual contact
47
+ USER_NOT_PARTICIPANT You're not a member of this supergroup/channel.
46
48
  USER_PRIVACY_RESTRICTED The user's privacy settings is preventing you to perform this action
47
49
  USER_RESTRICTED You are limited/restricted. You can't perform this action
48
- VOICE_MESSAGES_FORBIDDEN This user's privacy settings forbid you from sending voice messages.
50
+ VOICE_MESSAGES_FORBIDDEN This user's privacy settings forbid you from sending voice messages.
51
+ YOUR_PRIVACY_RESTRICTED You cannot fetch the read date of this message because you have disallowed other users to do so for *your* messages; to fix, allow other users to see *your* exact last online date OR purchase a [Telegram Premium](https://core.telegram.org/api/premium) subscription.
@@ -2,6 +2,7 @@ id message
2
2
  AUTH_KEY_DUPLICATED The same authorization key (session file) was used in more than one place simultaneously. You must delete your session file and log in again with your phone number or bot token
3
3
  BANNED_RIGHTS_INVALID You provided some invalid flags in the banned rights.
4
4
  BOT_PRECHECKOUT_FAILED Bot precheckout is failed
5
+ BUSINESS_ADDRESS_ACTIVE The user is currently advertising a [Business Location](https://core.telegram.org/api/business#location), the location may only be changed (or removed) using [account.updateBusinessLocation »](https://core.telegram.org/method/account.updateBusinessLocation). .
5
6
  CALL_PROTOCOL_COMPAT_LAYER_INVALID The other side of the call does not support any of the VoIP protocols supported by the local client, as specified by the `protocol.layer` and `protocol.library_versions` fields.
6
7
  CHANNEL_PRIVATE The channel/supergroup is not accessible
7
8
  CHANNEL_TOO_LARGE Сhannel is too large to be deleted. Contact support for removal
@@ -19,6 +20,7 @@ PREMIUM_CURRENTLY_UNAVAILABLE Premium currently unavailable
19
20
  PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_XMIN Similar to a flood wait, must wait {value} minutes
20
21
  PRIVACY_PREMIUM_REQUIRED You need a [Telegram Premium subscription](https://core.telegram.org/api/premium) to send a message to this user.
21
22
  SEND_CODE_UNAVAILABLE Returned when all available options for this type of number were already used (e.g. flash-call, then SMS, then this error might be returned to trigger a second resend)
23
+ STARGIFT_USAGE_LIMITED Star gift usage limited
22
24
  STICKERSET_INVALID The sticker set is invalid
23
25
  STICKERSET_OWNER_ANONYMOUS This sticker set can't be used as the group's sticker set because it was created by one of its anonymous admins
24
26
  TOPIC_CLOSED This topic was closed, you can't send messages to it anymore.
@@ -26,4 +28,4 @@ TOPIC_DELETED The specified topic was deleted.
26
28
  UPDATE_APP_TO_LOGIN Update app to login
27
29
  USERPIC_PRIVACY_REQUIRED You need to disable privacy settings for your profile picture in order to make your geolocation public
28
30
  USERPIC_UPLOAD_REQUIRED You must have a profile picture to publish your geolocation
29
- USER_RESTRICTED You are limited/restricted. You can't perform this action
31
+ USER_RESTRICTED You are limited/restricted. You can't perform this action
@@ -1,5 +1,6 @@
1
1
  id message
2
2
  2FA_CONFIRM_WAIT_X A wait of {value} seconds is required because this account is active and protected by a 2FA password
3
+ ADDRESS_INVALID The specified geopoint address is invalid.
3
4
  FLOOD_PREMIUM_WAIT_X A wait of {value} seconds is required
4
5
  FLOOD_TEST_PHONE_WAIT_X A wait of {value} seconds is required in the test servers
5
6
  FLOOD_WAIT_X A wait of {value} seconds is required
@@ -16,7 +16,7 @@
16
16
  # You should have received a copy of the GNU Lesser General Public License
17
17
  # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
18
18
 
19
- __version__ = "2.0.149"
19
+ __version__ = "2.0.151"
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
 
@@ -32,7 +32,7 @@ from importlib import import_module
32
32
  from io import StringIO, BytesIO
33
33
  from mimetypes import MimeTypes
34
34
  from pathlib import Path
35
- from typing import Union, List, Optional, Callable, AsyncGenerator
35
+ from typing import Union, List, Optional, Callable, AsyncGenerator, Type, Tuple
36
36
 
37
37
  import pyrogram
38
38
  from pyrogram import __version__, __license__
@@ -45,7 +45,8 @@ from pyrogram.errors import (
45
45
  SessionPasswordNeeded,
46
46
  VolumeLocNotFound, ChannelPrivate,
47
47
  BadRequest, AuthBytesInvalid,
48
- FloodWait, FloodPremiumWait
48
+ FloodWait, FloodPremiumWait,
49
+ ChannelInvalid, PersistentTimestampInvalid, PersistentTimestampOutdated
49
50
  )
50
51
  from pyrogram.handlers.handler import Handler
51
52
  from pyrogram.methods import Methods
@@ -53,6 +54,8 @@ from pyrogram.session import Auth, Session
53
54
  from pyrogram.storage import Storage, FileStorage, MemoryStorage
54
55
  from pyrogram.types import User, TermsOfService
55
56
  from pyrogram.utils import ainput
57
+ from .connection import Connection
58
+ from .connection.transport import TCP, TCPAbridged
56
59
  from .dispatcher import Dispatcher
57
60
  from .file_id import FileId, FileType, ThumbnailSource
58
61
  from .mime_types import mime_types
@@ -264,7 +267,9 @@ class Client(Methods):
264
267
  max_message_cache_size: int = MAX_MESSAGE_CACHE_SIZE,
265
268
  storage_engine: Optional[Storage] = None,
266
269
  client_platform: "enums.ClientPlatform" = enums.ClientPlatform.OTHER,
267
- init_connection_params: Optional["raw.base.JSONValue"] = None
270
+ init_connection_params: Optional["raw.base.JSONValue"] = None,
271
+ connection_factory: Type[Connection] = Connection,
272
+ protocol_factory: Type[TCP] = TCPAbridged
268
273
  ):
269
274
  super().__init__()
270
275
 
@@ -299,6 +304,8 @@ class Client(Methods):
299
304
  self.max_message_cache_size = max_message_cache_size
300
305
  self.client_platform = client_platform
301
306
  self.init_connection_params = init_connection_params
307
+ self.connection_factory = connection_factory
308
+ self.protocol_factory = protocol_factory
302
309
 
303
310
  self.executor = ThreadPoolExecutor(self.workers, thread_name_prefix="Handler")
304
311
 
@@ -541,25 +548,26 @@ class Client(Methods):
541
548
  async def fetch_peers(self, peers: List[Union[raw.types.User, raw.types.Chat, raw.types.Channel]]) -> bool:
542
549
  is_min = False
543
550
  parsed_peers = []
551
+ parsed_usernames = []
544
552
 
545
553
  for peer in peers:
546
554
  if getattr(peer, "min", False):
547
555
  is_min = True
548
556
  continue
549
557
 
550
- usernames = None
558
+ usernames = []
551
559
  phone_number = None
552
560
 
553
561
  if isinstance(peer, raw.types.User):
554
562
  peer_id = peer.id
555
563
  access_hash = peer.access_hash
556
- usernames = (
557
- [peer.username.lower()] if peer.username
558
- else [username.username.lower() for username in peer.usernames] if peer.usernames
559
- else None
560
- )
561
564
  phone_number = peer.phone
562
565
  peer_type = "bot" if peer.bot else "user"
566
+
567
+ if peer.username:
568
+ usernames.append(peer.username.lower())
569
+ elif peer.usernames:
570
+ usernames.extend(username.username.lower() for username in peer.usernames)
563
571
  elif isinstance(peer, (raw.types.Chat, raw.types.ChatForbidden)):
564
572
  peer_id = -peer.id
565
573
  access_hash = 0
@@ -567,12 +575,12 @@ class Client(Methods):
567
575
  elif isinstance(peer, raw.types.Channel):
568
576
  peer_id = utils.get_channel_id(peer.id)
569
577
  access_hash = peer.access_hash
570
- usernames = (
571
- [peer.username.lower()] if peer.username
572
- else [username.username.lower() for username in peer.usernames] if peer.usernames
573
- else None
574
- )
575
578
  peer_type = "channel" if peer.broadcast else "supergroup"
579
+
580
+ if peer.username:
581
+ usernames.append(peer.username.lower())
582
+ elif peer.usernames:
583
+ usernames.extend(username.username.lower() for username in peer.usernames)
576
584
  elif isinstance(peer, raw.types.ChannelForbidden):
577
585
  peer_id = utils.get_channel_id(peer.id)
578
586
  access_hash = peer.access_hash
@@ -580,9 +588,11 @@ class Client(Methods):
580
588
  else:
581
589
  continue
582
590
 
583
- parsed_peers.append((peer_id, access_hash, peer_type, usernames, phone_number))
591
+ parsed_peers.append((peer_id, access_hash, peer_type, phone_number))
592
+ parsed_usernames.append((peer_id, usernames))
584
593
 
585
594
  await self.storage.update_peers(parsed_peers)
595
+ await self.storage.update_usernames(parsed_usernames)
586
596
 
587
597
  return is_min
588
598
 
@@ -639,10 +649,11 @@ class Client(Methods):
639
649
  )]
640
650
  ),
641
651
  pts=pts - pts_count,
642
- limit=pts
652
+ limit=pts,
653
+ force=False
643
654
  )
644
655
  )
645
- except ChannelPrivate:
656
+ except (ChannelPrivate, PersistentTimestampOutdated, PersistentTimestampInvalid):
646
657
  pass
647
658
  else:
648
659
  if not isinstance(diff, raw.types.updates.ChannelDifferenceEmpty):
@@ -688,6 +699,92 @@ class Client(Methods):
688
699
  elif isinstance(updates, raw.types.UpdatesTooLong):
689
700
  log.info(updates)
690
701
 
702
+ async def recover_gaps(self) -> Tuple[int, int]:
703
+ states = await self.storage.update_state()
704
+
705
+ message_updates_counter = 0
706
+ other_updates_counter = 0
707
+
708
+ if not states:
709
+ log.info("No states found, skipping recovery.")
710
+ return (message_updates_counter, other_updates_counter)
711
+
712
+ for state in states:
713
+ id, local_pts, _, local_date, _ = state
714
+
715
+ prev_pts = 0
716
+
717
+ while True:
718
+ try:
719
+ diff = await self.invoke(
720
+ raw.functions.updates.GetChannelDifference(
721
+ channel=await self.resolve_peer(id),
722
+ filter=raw.types.ChannelMessagesFilterEmpty(),
723
+ pts=local_pts,
724
+ limit=10000,
725
+ force=False
726
+ ) if id < 0 else
727
+ raw.functions.updates.GetDifference(
728
+ pts=local_pts,
729
+ date=local_date,
730
+ qts=0
731
+ )
732
+ )
733
+ except (ChannelPrivate, ChannelInvalid, PersistentTimestampOutdated, PersistentTimestampInvalid):
734
+ break
735
+
736
+ if isinstance(diff, raw.types.updates.DifferenceEmpty):
737
+ break
738
+ elif isinstance(diff, raw.types.updates.DifferenceTooLong):
739
+ break
740
+ elif isinstance(diff, raw.types.updates.Difference):
741
+ local_pts = diff.state.pts
742
+ elif isinstance(diff, raw.types.updates.DifferenceSlice):
743
+ local_pts = diff.intermediate_state.pts
744
+ local_date = diff.intermediate_state.date
745
+
746
+ if prev_pts == local_pts:
747
+ break
748
+
749
+ prev_pts = local_pts
750
+ elif isinstance(diff, raw.types.updates.ChannelDifferenceEmpty):
751
+ break
752
+ elif isinstance(diff, raw.types.updates.ChannelDifferenceTooLong):
753
+ break
754
+ elif isinstance(diff, raw.types.updates.ChannelDifference):
755
+ local_pts = diff.pts
756
+
757
+ users = {i.id: i for i in diff.users}
758
+ chats = {i.id: i for i in diff.chats}
759
+
760
+ for message in diff.new_messages:
761
+ message_updates_counter += 1
762
+ self.dispatcher.updates_queue.put_nowait(
763
+ (
764
+ raw.types.UpdateNewMessage(
765
+ message=message,
766
+ pts=local_pts,
767
+ pts_count=-1
768
+ ),
769
+ users,
770
+ chats
771
+ )
772
+ )
773
+
774
+ for update in diff.other_updates:
775
+ other_updates_counter += 1
776
+ self.dispatcher.updates_queue.put_nowait(
777
+ (update, users, chats)
778
+ )
779
+
780
+ if isinstance(diff, (raw.types.updates.Difference, raw.types.updates.ChannelDifference)):
781
+ break
782
+
783
+ await self.storage.update_state(id)
784
+
785
+ log.info("Recovered %s messages and %s updates.", message_updates_counter, other_updates_counter)
786
+ return (message_updates_counter, other_updates_counter)
787
+
691
788
  async def load_session(self):
692
789
  await self.storage.open()
693
790