PySPlusthon 0.5.0__tar.gz → 0.5.3__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 (291) hide show
  1. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PKG-INFO +1 -1
  2. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/client.py +2 -11
  3. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/messages/send_message.py +2 -1
  4. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/__init__.py +0 -1
  5. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/inline_keyboard_button.py +0 -12
  6. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/reply_keyboard_button.py +0 -2
  7. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon.egg-info/PKG-INFO +1 -1
  8. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon.egg-info/SOURCES.txt +0 -1
  9. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/pyproject.toml +2 -2
  10. pysplusthon-0.5.0/PySPlusthon/objects/copy_text_button.py +0 -18
  11. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/LICENSE +0 -0
  12. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/__init__.py +0 -0
  13. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/__init__.py +0 -0
  14. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/attachments/__init__.py +0 -0
  15. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/attachments/get_file.py +0 -0
  16. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/attachments/send_animation.py +0 -0
  17. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/attachments/send_audio.py +0 -0
  18. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/attachments/send_contact.py +0 -0
  19. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/attachments/send_document.py +0 -0
  20. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/attachments/send_location.py +0 -0
  21. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/attachments/send_media_group.py +0 -0
  22. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/attachments/send_photo.py +0 -0
  23. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/attachments/send_sticker.py +0 -0
  24. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/attachments/send_video.py +0 -0
  25. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/attachments/send_voice.py +0 -0
  26. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/attachments/upload_file.py +0 -0
  27. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/__init__.py +0 -0
  28. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/ban_chat_member.py +0 -0
  29. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/delete_chat_photo.py +0 -0
  30. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/get_chat.py +0 -0
  31. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/get_chat_administrators.py +0 -0
  32. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/get_chat_history.py +0 -0
  33. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/get_chat_member.py +0 -0
  34. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/get_chat_members.py +0 -0
  35. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/get_chat_members_count.py +0 -0
  36. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/join_chat.py +0 -0
  37. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/leave_chat.py +0 -0
  38. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/pin_chat_message.py +0 -0
  39. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/promote_chat_member.py +0 -0
  40. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/restrict_chat_member.py +0 -0
  41. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/set_chat_description.py +0 -0
  42. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/set_chat_photo.py +0 -0
  43. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/set_chat_title.py +0 -0
  44. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/unban_chat_member.py +0 -0
  45. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/unpin_all_chat_messages.py +0 -0
  46. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/chats/unpin_chat_message.py +0 -0
  47. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/invite_links/__init__.py +0 -0
  48. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/invite_links/create_chat_invite_link.py +0 -0
  49. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/invite_links/export_chat_invite_link.py +0 -0
  50. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/invite_links/revoke_chat_invite_link.py +0 -0
  51. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/messages/__init__.py +0 -0
  52. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/messages/answer_callback_query.py +0 -0
  53. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/messages/copy_message.py +0 -0
  54. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/messages/delete_message.py +0 -0
  55. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/messages/edit_message_caption.py +0 -0
  56. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/messages/edit_message_reply_markup.py +0 -0
  57. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/messages/edit_message_text.py +0 -0
  58. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/messages/forward_message.py +0 -0
  59. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/stickers/__init__.py +0 -0
  60. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/stickers/add_sticker_to_set.py +0 -0
  61. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/stickers/create_new_sticker_set.py +0 -0
  62. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/stickers/delete_sticker_from_set.py +0 -0
  63. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/stickers/get_sticker_set.py +0 -0
  64. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/stickers/upload_sticker_file.py +0 -0
  65. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/updates/__init__.py +0 -0
  66. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/updates/delete_webhook.py +0 -0
  67. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/updates/get_updates.py +0 -0
  68. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/updates/get_webhook_info.py +0 -0
  69. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/updates/set_webhook.py +0 -0
  70. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/users/__init__.py +0 -0
  71. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/users/ask_review.py +0 -0
  72. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/client/users/get_me.py +0 -0
  73. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/__init__.py +0 -0
  74. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/all.py +0 -0
  75. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/animation.py +0 -0
  76. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/at_state.py +0 -0
  77. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/audio.py +0 -0
  78. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/author.py +0 -0
  79. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/caption.py +0 -0
  80. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/channel.py +0 -0
  81. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/channel_chat_created.py +0 -0
  82. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/chat.py +0 -0
  83. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/click.py +0 -0
  84. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/command.py +0 -0
  85. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/condition.py +0 -0
  86. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/contact.py +0 -0
  87. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/content.py +0 -0
  88. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/delete_chat_photo.py +0 -0
  89. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/document.py +0 -0
  90. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/entities.py +0 -0
  91. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/equals.py +0 -0
  92. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/forward.py +0 -0
  93. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/group.py +0 -0
  94. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/group_chat_created.py +0 -0
  95. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/is_admin.py +0 -0
  96. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/is_instance.py +0 -0
  97. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/is_joined.py +0 -0
  98. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/left_chat_member.py +0 -0
  99. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/location.py +0 -0
  100. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/media.py +0 -0
  101. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/media_group.py +0 -0
  102. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/new_chat_members.py +0 -0
  103. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/new_chat_photo.py +0 -0
  104. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/new_chat_title.py +0 -0
  105. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/number.py +0 -0
  106. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/photo.py +0 -0
  107. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/pinned_message.py +0 -0
  108. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/poll.py +0 -0
  109. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/private.py +0 -0
  110. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/regex.py +0 -0
  111. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/reply.py +0 -0
  112. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/sticker.py +0 -0
  113. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/supergroup_chat_created.py +0 -0
  114. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/text.py +0 -0
  115. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/video.py +0 -0
  116. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/conditions/voice.py +0 -0
  117. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/dispatcher/__init__.py +0 -0
  118. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/dispatcher/chain.py +0 -0
  119. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/dispatcher/dispatcher.py +0 -0
  120. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/dispatcher/logging_chain.py +0 -0
  121. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/dispatcher/monitoring_chain.py +0 -0
  122. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/dispatcher/printing_chain.py +0 -0
  123. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/enums/__init__.py +0 -0
  124. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/enums/chat_member_status.py +0 -0
  125. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/enums/chat_type.py +0 -0
  126. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/enums/message_media_type.py +0 -0
  127. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/enums/name_enum.py +0 -0
  128. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/enums/peer_type.py +0 -0
  129. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/enums/poll_type.py +0 -0
  130. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/enums/transaction_status.py +0 -0
  131. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/errors/__init__.py +0 -0
  132. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/errors/dispatching_errors/__init__.py +0 -0
  133. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/errors/dispatching_errors/break_dispatching.py +0 -0
  134. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/errors/dispatching_errors/continue_dispatching.py +0 -0
  135. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/errors/rpc_errors/__init__.py +0 -0
  136. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/errors/rpc_errors/bad_request_error.py +0 -0
  137. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/errors/rpc_errors/flood_error.py +0 -0
  138. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/errors/rpc_errors/forbidden_error.py +0 -0
  139. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/errors/rpc_errors/internal_error.py +0 -0
  140. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/errors/rpc_errors/not_found_error.py +0 -0
  141. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/errors/rpc_errors/rpc_error.py +0 -0
  142. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/errors/rpc_errors/too_many_requests.py +0 -0
  143. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/errors/rpc_errors/unauthorized_error.py +0 -0
  144. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/event_handlers/__init__.py +0 -0
  145. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/event_handlers/callback_query_handler.py +0 -0
  146. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/event_handlers/command_handler.py +0 -0
  147. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/event_handlers/connect_handler.py +0 -0
  148. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/event_handlers/disconnect_handler.py +0 -0
  149. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/event_handlers/edited_message_handler.py +0 -0
  150. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/event_handlers/error_handler.py +0 -0
  151. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/event_handlers/event_handler.py +0 -0
  152. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/event_handlers/initialize_handler.py +0 -0
  153. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/event_handlers/message_handler.py +0 -0
  154. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/event_handlers/shipping_query_handler.py +0 -0
  155. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/event_handlers/shutdown_handler.py +0 -0
  156. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/event_handlers/update_handler.py +0 -0
  157. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/network/__init__.py +0 -0
  158. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/network/httpconnection.py +0 -0
  159. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/animation.py +0 -0
  160. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/audio.py +0 -0
  161. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/callback_query.py +0 -0
  162. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/chat.py +0 -0
  163. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/chat_member.py +0 -0
  164. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/chat_permissions.py +0 -0
  165. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/chat_photo.py +0 -0
  166. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/contact.py +0 -0
  167. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/date.py +0 -0
  168. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/document.py +0 -0
  169. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/edited_message.py +0 -0
  170. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/entity.py +0 -0
  171. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/file.py +0 -0
  172. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/forward_origin.py +0 -0
  173. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/inline_keyboard.py +0 -0
  174. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/input_media.py +0 -0
  175. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/input_media_photo.py +0 -0
  176. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/input_media_video.py +0 -0
  177. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/invite_link.py +0 -0
  178. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/list.py +0 -0
  179. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/location.py +0 -0
  180. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/message.py +0 -0
  181. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/message_id.py +0 -0
  182. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/object.py +0 -0
  183. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/order_info.py +0 -0
  184. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/photo.py +0 -0
  185. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/poll.py +0 -0
  186. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/poll_option.py +0 -0
  187. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/reply_keyboard.py +0 -0
  188. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/reply_keyboard_remove.py +0 -0
  189. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/reply_markup.py +0 -0
  190. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/shipping_address.py +0 -0
  191. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/shipping_query.py +0 -0
  192. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/sticker.py +0 -0
  193. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/sticker_set.py +0 -0
  194. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/transaction.py +0 -0
  195. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/update.py +0 -0
  196. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/user.py +0 -0
  197. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/video.py +0 -0
  198. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/voice.py +0 -0
  199. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/objects/webhook_info.py +0 -0
  200. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/__init__.py +0 -0
  201. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/enums_pb2.py +0 -0
  202. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/enums_pb2.pyi +0 -0
  203. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/enums_pb2_grpc.py +0 -0
  204. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/__init__.py +0 -0
  205. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/abacus_pb2.py +0 -0
  206. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/abacus_pb2.pyi +0 -0
  207. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/abacus_pb2_grpc.py +0 -0
  208. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/auth_pb2.py +0 -0
  209. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/auth_pb2.pyi +0 -0
  210. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/auth_pb2_grpc.py +0 -0
  211. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/configs_pb2.py +0 -0
  212. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/configs_pb2.pyi +0 -0
  213. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/configs_pb2_grpc.py +0 -0
  214. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/files_pb2.py +0 -0
  215. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/files_pb2.pyi +0 -0
  216. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/files_pb2_grpc.py +0 -0
  217. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/groups_pb2.py +0 -0
  218. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/groups_pb2.pyi +0 -0
  219. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/groups_pb2_grpc.py +0 -0
  220. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/messaging_pb2.py +0 -0
  221. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/messaging_pb2.pyi +0 -0
  222. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/messaging_pb2_grpc.py +0 -0
  223. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/presence_pb2.py +0 -0
  224. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/presence_pb2.pyi +0 -0
  225. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/presence_pb2_grpc.py +0 -0
  226. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/request_pb2.py +0 -0
  227. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/request_pb2.pyi +0 -0
  228. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/request_pb2_grpc.py +0 -0
  229. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/users_pb2.py +0 -0
  230. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/users_pb2.pyi +0 -0
  231. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/requests/users_pb2_grpc.py +0 -0
  232. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/__init__.py +0 -0
  233. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/abacus_pb2.py +0 -0
  234. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/abacus_pb2.pyi +0 -0
  235. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/abacus_pb2_grpc.py +0 -0
  236. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/auth_pb2.py +0 -0
  237. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/auth_pb2.pyi +0 -0
  238. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/auth_pb2_grpc.py +0 -0
  239. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/files_pb2.py +0 -0
  240. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/files_pb2.pyi +0 -0
  241. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/files_pb2_grpc.py +0 -0
  242. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/groups_pb2.py +0 -0
  243. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/groups_pb2.pyi +0 -0
  244. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/groups_pb2_grpc.py +0 -0
  245. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/messaging_pb2.py +0 -0
  246. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/messaging_pb2.pyi +0 -0
  247. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/messaging_pb2_grpc.py +0 -0
  248. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/users_pb2.py +0 -0
  249. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/users_pb2.pyi +0 -0
  250. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/responses/users_pb2_grpc.py +0 -0
  251. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/__init__.py +0 -0
  252. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/collections_pb2.py +0 -0
  253. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/collections_pb2.pyi +0 -0
  254. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/collections_pb2_grpc.py +0 -0
  255. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/files_pb2.py +0 -0
  256. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/files_pb2.pyi +0 -0
  257. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/files_pb2_grpc.py +0 -0
  258. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/groups_pb2.py +0 -0
  259. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/groups_pb2.pyi +0 -0
  260. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/groups_pb2_grpc.py +0 -0
  261. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/messaging_pb2.py +0 -0
  262. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/messaging_pb2.pyi +0 -0
  263. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/messaging_pb2_grpc.py +0 -0
  264. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/peers_pb2.py +0 -0
  265. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/peers_pb2.pyi +0 -0
  266. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/peers_pb2_grpc.py +0 -0
  267. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/set_updates_pb2.py +0 -0
  268. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/set_updates_pb2.pyi +0 -0
  269. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/set_updates_pb2_grpc.py +0 -0
  270. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/users_pb2.py +0 -0
  271. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/users_pb2.pyi +0 -0
  272. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/structs/users_pb2_grpc.py +0 -0
  273. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/updates/__init__.py +0 -0
  274. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/updates/messaging_pb2.py +0 -0
  275. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/updates/messaging_pb2.pyi +0 -0
  276. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/updates/messaging_pb2_grpc.py +0 -0
  277. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/ws_pb2.py +0 -0
  278. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/ws_pb2.pyi +0 -0
  279. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/proto/ws_pb2_grpc.py +0 -0
  280. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/smart_call.py +0 -0
  281. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/states/__init__.py +0 -0
  282. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/states/state.py +0 -0
  283. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/states/state_group.py +0 -0
  284. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/states/state_machine.py +0 -0
  285. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon/sync_support.py +0 -0
  286. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon.egg-info/dependency_links.txt +0 -0
  287. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon.egg-info/requires.txt +0 -0
  288. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/PySPlusthon.egg-info/top_level.txt +0 -0
  289. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/README.md +0 -0
  290. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/setup.cfg +0 -0
  291. {pysplusthon-0.5.0 → pysplusthon-0.5.3}/tests/test_bot.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PySPlusthon
3
- Version: 0.5.0
3
+ Version: 0.5.3
4
4
  Summary: a Python library for Soroush Plus Bot API
5
5
  Author-email: Mohammad Saleh Peyravi <akhbari87@gmail.com>
6
6
  License-Expression: MIT
@@ -91,17 +91,11 @@ class Client(Chain, Messages, Updates, Users, Attachments, Chats, InviteLinks, S
91
91
  return chat_id
92
92
 
93
93
  async def connect(self):
94
- if self.is_started:
95
- raise ConnectionError("Connection is already started")
96
- self.is_started = True
97
94
  await self.http_connection.start()
98
95
  if get_event_loop().is_running():
99
96
  self.user = await self.get_me()
100
97
 
101
98
  async def disconnect(self):
102
- if not self.is_started:
103
- raise ConnectionError("Connection is already stopped")
104
- self.is_started = False
105
99
  await self.http_connection.stop()
106
100
 
107
101
  async def __aenter__(self):
@@ -149,11 +143,8 @@ class Client(Chain, Messages, Updates, Users, Attachments, Chats, InviteLinks, S
149
143
  return await self.http_connection.request(service, json=data)
150
144
  return await self.http_connection.request(service, data=data, files=files)
151
145
  except RPCError as error:
152
- if error.seconds <= self.sleep_threshold:
153
- print(f"[Too many requests] retry after: {error.seconds} (caused by {service})")
154
- await sleep(error.seconds)
155
- else:
156
- raise error
146
+ print(f"Too many requests (caused by {service})")
147
+ raise error
157
148
 
158
149
  async def execute(self, service: str, json: bool = None, **data):
159
150
  return await self.execute_http(service, json=json, **data)
@@ -12,7 +12,8 @@ class SendMessage:
12
12
  chat_id: Union[int, str],
13
13
  text: str,
14
14
  reply_markup: "objects.ReplyMarkup" = None,
15
- reply_to_message_id: int = None
15
+ reply_to_message_id: int = None,
16
+ parse_mode:str=None
16
17
  ) -> Message:
17
18
  if self.is_userbot():
18
19
  from PySPlusthon.proto import requests, structs
@@ -36,7 +36,6 @@ from .webhook_info import WebhookInfo
36
36
  from .chat_photo import ChatPhoto
37
37
  from .invite_link import InviteLink
38
38
  from .list import List
39
- from .copy_text_button import CopyTextButton
40
39
  from .poll_option import PollOption
41
40
  from .poll import Poll
42
41
  from .forward_origin import ForwardOrigin
@@ -12,20 +12,12 @@ class InlineKeyboardButton(Object):
12
12
  text: str = None,
13
13
  callback_data: str = None,
14
14
  url: str = None,
15
- copy_text: Union["objects.CopyTextButton", str] = None,
16
- switch_inline_query: str = None,
17
- switch_inline_query_current_chat: str = None,
18
- pay: bool = None,
19
15
  **kwargs
20
16
  ):
21
17
  super().__init__(**kwargs)
22
18
  self.text: str = text
23
19
  self.callback_data: str = callback_data
24
20
  self.url: str = url
25
- self.copy_text = objects.CopyTextButton(copy_text) if isinstance(copy_text, str) else copy_text
26
- self.switch_inline_query: str = switch_inline_query
27
- self.switch_inline_query_current_chat: str = switch_inline_query_current_chat
28
- self.pay: bool = pay
29
21
 
30
22
  def format(self, *args, **kwargs):
31
23
  button = deepcopy(self)
@@ -35,8 +27,4 @@ class InlineKeyboardButton(Object):
35
27
  button.callback_data = button.callback_data.format(*args, **kwargs)
36
28
  if button.url:
37
29
  button.url = button.url.format(*args, **kwargs)
38
- if button.web_app:
39
- button.web_app = button.web_app.format(*args, **kwargs)
40
- if button.copy_text:
41
- button.copy_text = button.copy_text.format(*args, **kwargs)
42
30
  return button
@@ -24,6 +24,4 @@ class ReplyKeyboardButton(Object):
24
24
  button = deepcopy(self)
25
25
  if button.text:
26
26
  button.text = button.text.format(*args, **kwargs)
27
- if button.web_app:
28
- button.web_app = button.web_app.format(*args, **kwargs)
29
27
  return button
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PySPlusthon
3
- Version: 0.5.0
3
+ Version: 0.5.3
4
4
  Summary: a Python library for Soroush Plus Bot API
5
5
  Author-email: Mohammad Saleh Peyravi <akhbari87@gmail.com>
6
6
  License-Expression: MIT
@@ -166,7 +166,6 @@ PySPlusthon/objects/chat_member.py
166
166
  PySPlusthon/objects/chat_permissions.py
167
167
  PySPlusthon/objects/chat_photo.py
168
168
  PySPlusthon/objects/contact.py
169
- PySPlusthon/objects/copy_text_button.py
170
169
  PySPlusthon/objects/date.py
171
170
  PySPlusthon/objects/document.py
172
171
  PySPlusthon/objects/edited_message.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "PySPlusthon"
7
- version = "0.5.0"
7
+ version = "0.5.3"
8
8
  description = "a Python library for Soroush Plus Bot API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -18,7 +18,7 @@ keywords = ["splus", "messenger", "bot", "api", "client"]
18
18
  dependencies = [
19
19
  "httpx==0.28.1",
20
20
  "grpcio-tools==1.80.0"
21
- ]
21
+ ]
22
22
 
23
23
 
24
24
  [project.urls]
@@ -1,18 +0,0 @@
1
- from copy import deepcopy
2
-
3
- from PySPlusthon.objects import Object
4
-
5
-
6
- class CopyTextButton(Object):
7
- def __init__(
8
- self,
9
- text: str = None,
10
- **kwargs
11
- ):
12
- super().__init__(**kwargs)
13
- self.text: str = text
14
-
15
- def format(self, *args, **kwargs):
16
- copy_text_button = deepcopy(self)
17
- copy_text_button.text = copy_text_button.text.format(*args, **kwargs)
18
- return copy_text_button
File without changes