PySPlusthon 0.5.4__tar.gz → 0.5.6__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.
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PKG-INFO +2 -2
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/attachments/__init__.py +0 -2
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/client.py +1 -2
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/__init__.py +0 -1
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/message.py +30 -27
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon.egg-info/PKG-INFO +2 -2
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon.egg-info/SOURCES.txt +0 -2
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/README.md +1 -1
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/pyproject.toml +1 -1
- pysplusthon-0.5.4/PySPlusthon/client/attachments/send_sticker.py +0 -52
- pysplusthon-0.5.4/PySPlusthon/conditions/sticker.py +0 -7
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/LICENSE +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/attachments/get_file.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/attachments/send_animation.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/attachments/send_audio.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/attachments/send_contact.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/attachments/send_document.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/attachments/send_location.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/attachments/send_media_group.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/attachments/send_photo.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/attachments/send_video.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/attachments/send_voice.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/attachments/upload_file.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/ban_chat_member.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/delete_chat_photo.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/get_chat.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/get_chat_administrators.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/get_chat_history.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/get_chat_member.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/get_chat_members.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/get_chat_members_count.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/join_chat.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/leave_chat.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/pin_chat_message.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/promote_chat_member.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/restrict_chat_member.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/set_chat_description.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/set_chat_photo.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/set_chat_title.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/unban_chat_member.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/unpin_all_chat_messages.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/chats/unpin_chat_message.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/invite_links/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/invite_links/create_chat_invite_link.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/invite_links/export_chat_invite_link.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/invite_links/revoke_chat_invite_link.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/messages/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/messages/answer_callback_query.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/messages/copy_message.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/messages/delete_message.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/messages/edit_message_caption.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/messages/edit_message_reply_markup.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/messages/edit_message_text.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/messages/forward_message.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/messages/send_message.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/updates/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/updates/delete_webhook.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/updates/get_updates.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/updates/get_webhook_info.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/updates/set_webhook.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/users/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/users/ask_review.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/users/get_me.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/all.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/animation.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/at_state.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/audio.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/author.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/caption.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/channel.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/channel_chat_created.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/chat.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/click.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/command.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/condition.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/contact.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/content.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/delete_chat_photo.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/document.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/entities.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/equals.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/forward.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/group.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/group_chat_created.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/is_admin.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/is_instance.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/is_joined.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/left_chat_member.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/location.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/media.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/media_group.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/new_chat_members.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/new_chat_photo.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/new_chat_title.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/number.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/photo.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/pinned_message.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/poll.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/private.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/regex.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/reply.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/supergroup_chat_created.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/text.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/video.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/conditions/voice.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/dispatcher/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/dispatcher/chain.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/dispatcher/dispatcher.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/dispatcher/logging_chain.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/dispatcher/monitoring_chain.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/dispatcher/printing_chain.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/enums/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/enums/chat_member_status.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/enums/chat_type.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/enums/message_media_type.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/enums/name_enum.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/enums/peer_type.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/enums/poll_type.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/enums/transaction_status.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/dispatching_errors/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/dispatching_errors/break_dispatching.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/dispatching_errors/continue_dispatching.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/rpc_errors/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/rpc_errors/bad_request_error.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/rpc_errors/flood_error.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/rpc_errors/forbidden_error.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/rpc_errors/internal_error.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/rpc_errors/not_found_error.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/rpc_errors/rpc_error.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/rpc_errors/too_many_requests.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/rpc_errors/unauthorized_error.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/event_handlers/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/event_handlers/callback_query_handler.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/event_handlers/command_handler.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/event_handlers/connect_handler.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/event_handlers/disconnect_handler.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/event_handlers/edited_message_handler.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/event_handlers/error_handler.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/event_handlers/event_handler.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/event_handlers/initialize_handler.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/event_handlers/message_handler.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/event_handlers/shipping_query_handler.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/event_handlers/shutdown_handler.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/event_handlers/update_handler.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/network/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/network/httpconnection.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/animation.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/audio.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/callback_query.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/chat.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/chat_member.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/chat_permissions.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/chat_photo.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/contact.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/date.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/document.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/edited_message.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/entity.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/file.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/forward_origin.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/inline_keyboard.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/inline_keyboard_button.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/input_media.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/input_media_photo.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/input_media_video.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/invite_link.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/list.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/location.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/message_id.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/object.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/order_info.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/photo.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/poll.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/poll_option.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/reply_keyboard.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/reply_keyboard_button.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/reply_keyboard_remove.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/reply_markup.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/shipping_address.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/shipping_query.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/sticker.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/sticker_set.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/transaction.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/update.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/user.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/video.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/voice.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/objects/webhook_info.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/enums_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/enums_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/enums_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/abacus_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/abacus_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/abacus_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/auth_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/auth_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/auth_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/configs_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/configs_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/configs_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/files_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/files_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/files_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/groups_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/groups_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/groups_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/messaging_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/messaging_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/messaging_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/presence_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/presence_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/presence_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/request_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/request_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/request_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/users_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/users_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/requests/users_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/abacus_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/abacus_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/abacus_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/auth_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/auth_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/auth_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/files_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/files_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/files_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/groups_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/groups_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/groups_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/messaging_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/messaging_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/messaging_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/users_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/users_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/responses/users_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/collections_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/collections_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/collections_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/files_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/files_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/files_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/groups_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/groups_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/groups_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/messaging_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/messaging_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/messaging_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/peers_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/peers_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/peers_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/set_updates_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/set_updates_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/set_updates_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/users_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/users_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/structs/users_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/updates/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/updates/messaging_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/updates/messaging_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/updates/messaging_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/ws_pb2.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/ws_pb2.pyi +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/proto/ws_pb2_grpc.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/smart_call.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/states/__init__.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/states/state.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/states/state_group.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/states/state_machine.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/sync_support.py +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon.egg-info/dependency_links.txt +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon.egg-info/requires.txt +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon.egg-info/top_level.txt +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/setup.cfg +0 -0
- {pysplusthon-0.5.4 → pysplusthon-0.5.6}/tests/test_bot.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PySPlusthon
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.6
|
|
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
|
|
@@ -39,7 +39,7 @@ if __name__ == "__main__":
|
|
|
39
39
|
|
|
40
40
|
## Key Features
|
|
41
41
|
|
|
42
|
-
- **Full Bot API Support**: Send messages, photos, videos, documents, audio, voice,
|
|
42
|
+
- **Full Bot API Support**: Send messages, photos, videos, documents, audio, voice, locations, contacts, and more
|
|
43
43
|
- **Update Handling**: Polling and webhook support with `start_polling()` and `set_webhook()`
|
|
44
44
|
- **Conditional Handlers**: Message filters using conditions (`text`, `command`, `document`, `photo`, `video`, `voice`, and more)
|
|
45
45
|
- **Event Handlers**: Connect, disconnect, initialize, shutdown, edited messages, callback queries, errors, and custom events
|
|
@@ -2,7 +2,6 @@ from .send_photo import SendPhoto
|
|
|
2
2
|
from .send_animation import SendAnimation
|
|
3
3
|
from .send_audio import SendAudio
|
|
4
4
|
from .send_document import SendDocument
|
|
5
|
-
from .send_sticker import SendSticker
|
|
6
5
|
from .send_video import SendVideo
|
|
7
6
|
from .send_voice import SendVoice
|
|
8
7
|
from .send_location import SendLocation
|
|
@@ -19,7 +18,6 @@ class Attachments(
|
|
|
19
18
|
SendDocument,
|
|
20
19
|
SendVideo,
|
|
21
20
|
SendVoice,
|
|
22
|
-
SendSticker,
|
|
23
21
|
SendLocation,
|
|
24
22
|
SendContact,
|
|
25
23
|
SendMediaGroup,
|
|
@@ -17,7 +17,6 @@ from .users import Users
|
|
|
17
17
|
from .attachments import Attachments
|
|
18
18
|
from .chats import Chats
|
|
19
19
|
from .invite_links import InviteLinks
|
|
20
|
-
from .stickers import Stickers
|
|
21
20
|
from ..objects import Object, wrap, unwrap, Chat, User, Message
|
|
22
21
|
from ..errors import TooManyRequestsError, RPCError
|
|
23
22
|
from ..network import HTTPConnection
|
|
@@ -28,7 +27,7 @@ from ..event_handlers import ConnectHandler, DisconnectHandler, InitializeHandle
|
|
|
28
27
|
|
|
29
28
|
|
|
30
29
|
@add_sync_support_to_object
|
|
31
|
-
class Client(Chain, Messages, Updates, Users, Attachments, Chats, InviteLinks
|
|
30
|
+
class Client(Chain, Messages, Updates, Users, Attachments, Chats, InviteLinks):
|
|
32
31
|
WORKDIR = Path(sys.argv[0]).parent
|
|
33
32
|
|
|
34
33
|
def __init__(
|
|
@@ -35,7 +35,6 @@ from .author import Author as author
|
|
|
35
35
|
from .equals import Equals as equals
|
|
36
36
|
from .content import content
|
|
37
37
|
from .media_group import media_group
|
|
38
|
-
from .sticker import sticker
|
|
39
38
|
from .number import number
|
|
40
39
|
from .click import Click as click
|
|
41
40
|
from .audio import audio
|
|
@@ -248,7 +248,8 @@ class Message(Object):
|
|
|
248
248
|
width: int = None,
|
|
249
249
|
height: int = None,
|
|
250
250
|
caption: str = None,
|
|
251
|
-
reply_markup: "objects.ReplyMarkup" = None
|
|
251
|
+
reply_markup: "objects.ReplyMarkup" = None,
|
|
252
|
+
parse_mode : str = None,
|
|
252
253
|
):
|
|
253
254
|
return await self.client.send_animation(
|
|
254
255
|
self.chat.id,
|
|
@@ -258,7 +259,7 @@ class Message(Object):
|
|
|
258
259
|
height,
|
|
259
260
|
caption,
|
|
260
261
|
reply_markup,
|
|
261
|
-
self.id
|
|
262
|
+
self.id,parse_mode=parse_mode
|
|
262
263
|
)
|
|
263
264
|
|
|
264
265
|
async def reply_audio(
|
|
@@ -267,55 +268,54 @@ class Message(Object):
|
|
|
267
268
|
caption: str = None,
|
|
268
269
|
duration: int = None,
|
|
269
270
|
title: str = None,
|
|
270
|
-
reply_markup: "objects.ReplyMarkup" = None
|
|
271
|
+
reply_markup: "objects.ReplyMarkup" = None,
|
|
272
|
+
parse_mode : str = None,
|
|
271
273
|
):
|
|
272
|
-
return await self.client.send_audio(self.chat.id, audio, caption, duration, title, reply_markup, self.id)
|
|
274
|
+
return await self.client.send_audio(self.chat.id, audio, caption, duration, title, reply_markup, self.id,parse_mode=parse_mode)
|
|
273
275
|
|
|
274
276
|
async def reply_contact(
|
|
275
277
|
self,
|
|
276
278
|
phone_number: str,
|
|
277
279
|
first_name: str,
|
|
278
280
|
last_name: str = None,
|
|
279
|
-
reply_markup: "objects.ReplyMarkup" = None
|
|
281
|
+
reply_markup: "objects.ReplyMarkup" = None,
|
|
282
|
+
parse_mode : str = None,
|
|
280
283
|
):
|
|
281
|
-
return await self.client.send_contact(self.chat.id, phone_number, first_name, last_name, reply_markup, self.id)
|
|
284
|
+
return await self.client.send_contact(self.chat.id, phone_number, first_name, last_name, reply_markup, self.id,parse_mode=parse_mode)
|
|
282
285
|
|
|
283
286
|
async def reply_document(
|
|
284
287
|
self,
|
|
285
288
|
document: Union[str, bytes, BinaryIO, "objects.InputMedia"],
|
|
286
289
|
caption: str = None,
|
|
287
|
-
reply_markup: "objects.ReplyMarkup" = None
|
|
290
|
+
reply_markup: "objects.ReplyMarkup" = None,
|
|
291
|
+
parse_mode : str = None,
|
|
288
292
|
):
|
|
289
|
-
return await self.client.send_document(self.chat.id, document, caption, reply_markup, self.id)
|
|
293
|
+
return await self.client.send_document(self.chat.id, document, caption, reply_markup, self.id,parse_mode=parse_mode)
|
|
290
294
|
|
|
291
295
|
async def reply_location(
|
|
292
296
|
self,
|
|
293
297
|
latitude: int,
|
|
294
298
|
longitude: int,
|
|
295
|
-
reply_markup: "objects.ReplyMarkup" = None
|
|
299
|
+
reply_markup: "objects.ReplyMarkup" = None,
|
|
300
|
+
parse_mode : str = None,
|
|
296
301
|
):
|
|
297
|
-
return await self.client.send_location(self.chat.id, longitude, latitude, reply_markup, self.id)
|
|
302
|
+
return await self.client.send_location(self.chat.id, longitude, latitude, reply_markup, self.id,parse_mode=parse_mode)
|
|
298
303
|
|
|
299
304
|
async def reply_media_group(
|
|
300
305
|
self,
|
|
301
|
-
media: List["objects.InputMedia"]
|
|
306
|
+
media: List["objects.InputMedia"],
|
|
307
|
+
parse_mode : str = None,
|
|
302
308
|
):
|
|
303
|
-
return await self.client.send_media_group(self.chat.id, media)
|
|
309
|
+
return await self.client.send_media_group(self.chat.id, media,parse_mode=parse_mode)
|
|
304
310
|
|
|
305
311
|
async def reply_photo(
|
|
306
312
|
self,
|
|
307
313
|
photo: Union[str, bytes, BinaryIO, "objects.InputMedia"],
|
|
308
314
|
caption: str = None,
|
|
309
|
-
reply_markup: "objects.ReplyMarkup" = None
|
|
310
|
-
|
|
311
|
-
return await self.client.send_photo(self.chat.id, photo, caption, reply_markup, self.id)
|
|
312
|
-
|
|
313
|
-
async def reply_sticker(
|
|
314
|
-
self,
|
|
315
|
-
sticker: Union[str, bytes, BinaryIO, "objects.InputMedia"],
|
|
316
|
-
reply_markup: "objects.ReplyMarkup" = None
|
|
315
|
+
reply_markup: "objects.ReplyMarkup" = None,
|
|
316
|
+
parse_mode : str = None,
|
|
317
317
|
):
|
|
318
|
-
return await self.client.
|
|
318
|
+
return await self.client.send_photo(self.chat.id, photo, caption, reply_markup, self.id,parse_mode=parse_mode)
|
|
319
319
|
|
|
320
320
|
async def reply_video(
|
|
321
321
|
self,
|
|
@@ -324,25 +324,28 @@ class Message(Object):
|
|
|
324
324
|
width: int = None,
|
|
325
325
|
height: int = None,
|
|
326
326
|
caption: str = None,
|
|
327
|
-
reply_markup: "objects.ReplyMarkup" = None
|
|
327
|
+
reply_markup: "objects.ReplyMarkup" = None,
|
|
328
|
+
parse_mode : str = None,
|
|
328
329
|
):
|
|
329
|
-
return await self.client.send_video(self.chat.id, video, duration, width, height, caption, reply_markup)
|
|
330
|
+
return await self.client.send_video(self.chat.id, video, duration, width, height, caption, reply_markup,parse_mode=parse_mode)
|
|
330
331
|
|
|
331
332
|
async def reply_voice(
|
|
332
333
|
self,
|
|
333
334
|
voice: Union[str, bytes, BinaryIO, "objects.InputMedia"],
|
|
334
335
|
caption: str = None,
|
|
335
336
|
duration: int = None,
|
|
336
|
-
reply_markup: "objects.ReplyMarkup" = None
|
|
337
|
+
reply_markup: "objects.ReplyMarkup" = None,
|
|
338
|
+
parse_mode : str = None,
|
|
337
339
|
):
|
|
338
|
-
return await self.client.send_voice(self.chat.id, voice, caption, duration, reply_markup, self.id)
|
|
340
|
+
return await self.client.send_voice(self.chat.id, voice, caption, duration, reply_markup, self.id,parse_mode=parse_mode)
|
|
339
341
|
|
|
340
342
|
async def reply(
|
|
341
343
|
self,
|
|
342
344
|
text: str,
|
|
343
|
-
reply_markup: "objects.ReplyMarkup" = None
|
|
345
|
+
reply_markup: "objects.ReplyMarkup" = None,
|
|
346
|
+
parse_mode : str = None,
|
|
344
347
|
):
|
|
345
|
-
return await self.client.send_message(self.chat.id, text, reply_markup, self.id)
|
|
348
|
+
return await self.client.send_message(self.chat.id, text, reply_markup, self.id,parse_mode=parse_mode)
|
|
346
349
|
|
|
347
350
|
async def edit_text(
|
|
348
351
|
self,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PySPlusthon
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.6
|
|
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
|
|
@@ -39,7 +39,7 @@ if __name__ == "__main__":
|
|
|
39
39
|
|
|
40
40
|
## Key Features
|
|
41
41
|
|
|
42
|
-
- **Full Bot API Support**: Send messages, photos, videos, documents, audio, voice,
|
|
42
|
+
- **Full Bot API Support**: Send messages, photos, videos, documents, audio, voice, locations, contacts, and more
|
|
43
43
|
- **Update Handling**: Polling and webhook support with `start_polling()` and `set_webhook()`
|
|
44
44
|
- **Conditional Handlers**: Message filters using conditions (`text`, `command`, `document`, `photo`, `video`, `voice`, and more)
|
|
45
45
|
- **Event Handlers**: Connect, disconnect, initialize, shutdown, edited messages, callback queries, errors, and custom events
|
|
@@ -20,7 +20,6 @@ PySPlusthon/client/attachments/send_document.py
|
|
|
20
20
|
PySPlusthon/client/attachments/send_location.py
|
|
21
21
|
PySPlusthon/client/attachments/send_media_group.py
|
|
22
22
|
PySPlusthon/client/attachments/send_photo.py
|
|
23
|
-
PySPlusthon/client/attachments/send_sticker.py
|
|
24
23
|
PySPlusthon/client/attachments/send_video.py
|
|
25
24
|
PySPlusthon/client/attachments/send_voice.py
|
|
26
25
|
PySPlusthon/client/attachments/upload_file.py
|
|
@@ -104,7 +103,6 @@ PySPlusthon/conditions/poll.py
|
|
|
104
103
|
PySPlusthon/conditions/private.py
|
|
105
104
|
PySPlusthon/conditions/regex.py
|
|
106
105
|
PySPlusthon/conditions/reply.py
|
|
107
|
-
PySPlusthon/conditions/sticker.py
|
|
108
106
|
PySPlusthon/conditions/supergroup_chat_created.py
|
|
109
107
|
PySPlusthon/conditions/text.py
|
|
110
108
|
PySPlusthon/conditions/video.py
|
|
@@ -22,7 +22,7 @@ if __name__ == "__main__":
|
|
|
22
22
|
|
|
23
23
|
## Key Features
|
|
24
24
|
|
|
25
|
-
- **Full Bot API Support**: Send messages, photos, videos, documents, audio, voice,
|
|
25
|
+
- **Full Bot API Support**: Send messages, photos, videos, documents, audio, voice, locations, contacts, and more
|
|
26
26
|
- **Update Handling**: Polling and webhook support with `start_polling()` and `set_webhook()`
|
|
27
27
|
- **Conditional Handlers**: Message filters using conditions (`text`, `command`, `document`, `photo`, `video`, `voice`, and more)
|
|
28
28
|
- **Event Handlers**: Connect, disconnect, initialize, shutdown, edited messages, callback queries, errors, and custom events
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
from typing import Union, BinaryIO
|
|
2
|
-
|
|
3
|
-
import PySPlusthon
|
|
4
|
-
from ...objects import InputMedia, resolve_media, Message, ReplyMarkup
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class SendSticker:
|
|
8
|
-
|
|
9
|
-
async def send_sticker(
|
|
10
|
-
self: "PySPlusthon.Client",
|
|
11
|
-
chat_id: Union[int, str],
|
|
12
|
-
sticker: Union[str, bytes, BinaryIO, InputMedia],
|
|
13
|
-
reply_markup: ReplyMarkup = None,
|
|
14
|
-
reply_to_message_id: int = None,
|
|
15
|
-
parse_mode: str = None
|
|
16
|
-
) -> Message:
|
|
17
|
-
if self.is_userbot():
|
|
18
|
-
from ...proto import requests, structs
|
|
19
|
-
peer_id, peer_type = map(int, chat_id.split("|"))
|
|
20
|
-
file_id, access_hash, file_storage_version, sticker_id, collection_id = map(int, sticker.split(":"))
|
|
21
|
-
return await self.execute(requests.SendMessage(
|
|
22
|
-
peer=structs.Peer(
|
|
23
|
-
type=peer_type,
|
|
24
|
-
id=peer_id
|
|
25
|
-
),
|
|
26
|
-
rid=self.ws_connection.create_rid(),
|
|
27
|
-
message=structs.Message(
|
|
28
|
-
sticker_message=structs.StickerMessage(
|
|
29
|
-
sticker_id=structs.Int32Value(
|
|
30
|
-
value=sticker_id,
|
|
31
|
-
),
|
|
32
|
-
image512=structs.ImageLocation(
|
|
33
|
-
file_location=structs.FileLocation(
|
|
34
|
-
file_id=file_id,
|
|
35
|
-
access_hash=access_hash,
|
|
36
|
-
file_storage_version=structs.Int32Value(value=file_storage_version)
|
|
37
|
-
)
|
|
38
|
-
),
|
|
39
|
-
sticker_collection_id=structs.Int32Value(
|
|
40
|
-
value=collection_id
|
|
41
|
-
)
|
|
42
|
-
),
|
|
43
|
-
),
|
|
44
|
-
ex_peer=structs.Peer(
|
|
45
|
-
type=peer_type,
|
|
46
|
-
id=peer_id
|
|
47
|
-
)
|
|
48
|
-
))
|
|
49
|
-
|
|
50
|
-
chat_id = await self.resolve_peer_id(chat_id)
|
|
51
|
-
sticker = resolve_media(sticker)
|
|
52
|
-
return await self.auto_execute("sendSticker", locals())
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/invite_links/create_chat_invite_link.py
RENAMED
|
File without changes
|
{pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/invite_links/export_chat_invite_link.py
RENAMED
|
File without changes
|
{pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/invite_links/revoke_chat_invite_link.py
RENAMED
|
File without changes
|
|
File without changes
|
{pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/messages/answer_callback_query.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/client/messages/edit_message_reply_markup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pysplusthon-0.5.4 → pysplusthon-0.5.6}/PySPlusthon/errors/dispatching_errors/break_dispatching.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|