python-trueconf-bot 1.1.9__tar.gz → 1.2.0b2__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.
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/.gitignore +2 -1
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/PKG-INFO +3 -3
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/ru/learn/files.md +45 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/pyproject.toml +2 -4
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/python_trueconf_bot.egg-info/PKG-INFO +3 -3
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/python_trueconf_bot.egg-info/SOURCES.txt +7 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/python_trueconf_bot.egg-info/requires.txt +4 -1
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/_version.py +3 -3
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/client/bot.py +218 -109
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/dispatcher/router.py +2 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/enums/incoming_update_method.py +2 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/enums/message_type.py +4 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/__init__.py +2 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/auth.py +3 -2
- python_trueconf_bot-1.2.0b2/trueconf/methods/edit_chat_title.py +22 -0
- python_trueconf_bot-1.2.0b2/trueconf/methods/get_file_upload_limits.py +16 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/remove_participant_from_chat.py +3 -1
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/send_file.py +13 -7
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/upload_file.py +2 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/__init__.py +4 -0
- python_trueconf_bot-1.2.0b2/trueconf/types/content/location.py +10 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/input_file.py +172 -87
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/message.py +9 -1
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/parser.py +22 -7
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/requests/__init__.py +4 -0
- python_trueconf_bot-1.2.0b2/trueconf/types/requests/changed_file_upload_limits.py +18 -0
- python_trueconf_bot-1.2.0b2/trueconf/types/requests/edited_chat_title.py +9 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/__init__.py +46 -42
- python_trueconf_bot-1.2.0b2/trueconf/types/responses/edit_chat_title_response.py +9 -0
- python_trueconf_bot-1.2.0b2/trueconf/types/responses/get_file_upload_limits_response.py +16 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/.github/workflows/docs.yml +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/.github/workflows/release-test.yml +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/.github/workflows/release.yml +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/LICENSE +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/README-PyPI.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/README-ru.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/README.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/assets/head_en.png +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/assets/head_ru.png +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/assets/logo.svg +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/examples/echo_bot.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/examples/multibot.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/features.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/img/head.png +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/img/router_scheme_en.svg +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/index.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/learn/enums.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/learn/files.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/learn/filters.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/learn/getting-started.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/learn/parse-messages.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/learn/types.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/reference/Bot.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/reference/Dispatcher.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/reference/Enums.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/reference/Responses.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/reference/Router.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/reference/Types.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/reference/index.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/en/release_notes.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/img/chatbot.svg +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/img/favicon.ico +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/img/logo.svg +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/overrides/main.html +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/ru/examples/echo_bot.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/ru/examples/multibot.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/ru/features.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/ru/img/head.png +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/ru/img/router_scheme_ru.svg +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/ru/index.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/ru/learn/enums.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/ru/learn/filters.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/ru/learn/getting-started.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/ru/learn/parse-messages.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/ru/learn/types.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/ru/release_notes.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/docs/stylesheets/extra.css +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/examples/README-ru.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/examples/README.md +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/examples/add_big_list_users_to_channel.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/examples/filters.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/examples/report_bot.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/examples/update_token.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/examples/webhook.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/mkdocs.yml +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/python_trueconf_bot.egg-info/dependency_links.txt +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/python_trueconf_bot.egg-info/top_level.txt +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/requirements-docs.txt +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/requirements.txt +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/setup.cfg +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/__init__.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/client/__init__.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/client/context_controller.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/client/session.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/dispatcher/__init__.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/dispatcher/dispatcher.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/enums/__init__.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/enums/aouth_error.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/enums/chat_participant_role.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/enums/chat_type.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/enums/envelope_author_type.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/enums/file_ready_state.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/enums/parse_mode.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/enums/survey_type.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/enums/update_type.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/exceptions.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/filters/__init__.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/filters/base.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/filters/command.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/filters/instance_of.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/filters/message.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/filters/method.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/loggers.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/add_participant_to_chat.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/base.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/change_participant_role.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/create_channel.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/create_favorites_chat.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/create_group_chat.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/create_p2p_chat.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/edit_message.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/edit_survey.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/forward_message.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/get_chat_by_id.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/get_chat_history.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/get_chat_participants.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/get_chats.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/get_file_info.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/get_message_by_id.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/get_user_display_name.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/has_chat_participant.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/remove_chat.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/remove_message.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/send_message.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/send_survey.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/subscribe_file_progress.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/methods/unsubscribe_file_progress.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/py.typed +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/author_box.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/chat_participant.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/content/__init__.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/content/attachment.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/content/base.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/content/chat_created.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/content/document.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/content/forward_message.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/content/photo.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/content/remove_participant.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/content/sticker.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/content/survey.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/content/text.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/content/video.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/last_message.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/requests/added_chat_participant.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/requests/changed_participant_role.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/requests/created_channel.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/requests/created_favorites_chat.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/requests/created_group_chat.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/requests/created_personal_chat.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/requests/edited_message.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/requests/removed_chat.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/requests/removed_chat_participant.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/requests/removed_message.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/requests/uploading_progress.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/add_chat_participant_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/api_error.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/auth_response_payload.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/change_participant_role_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/create_channel_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/create_favorites_chat_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/create_group_chat_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/create_p2p_chat_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/edit_message_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/edit_survey_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/forward_message_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/get_chat_by_id_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/get_chat_history_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/get_chat_participants_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/get_chats_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/get_file_info_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/get_message_by_id_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/get_user_display_name_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/has_chat_participant_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/remove_chat_participant_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/remove_chat_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/remove_message_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/send_file_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/send_message_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/send_survey_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/subscribe_file_progress_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/unsubscribe_file_progress_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/responses/upload_file_response.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/types/update.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/utils/__init__.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/utils/generate_secret_for_survey.py +0 -0
- {python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/trueconf/utils/token.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-trueconf-bot
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0b2
|
|
4
4
|
Summary: Lightweight and powerful framework for the TrueConf Server Chatbot API
|
|
5
5
|
Author-email: TrueConf LLC <info@trueconf.com>, Anton Baadzhi <baadzhianton@gmail.com>
|
|
6
6
|
License-Expression: BSD-3-Clause-Clear
|
|
@@ -31,8 +31,8 @@ Requires-Dist: magic-filter
|
|
|
31
31
|
Requires-Dist: aiohttp
|
|
32
32
|
Requires-Dist: async-property
|
|
33
33
|
Requires-Dist: typing_extensions>=4.15.0
|
|
34
|
-
|
|
35
|
-
Requires-Dist: python-magic>=0.4.27;
|
|
34
|
+
Requires-Dist: python-magic>=0.4.27; sys_platform != "win32"
|
|
35
|
+
Requires-Dist: python-magic-bin>=0.4.27; sys_platform == "win32"
|
|
36
36
|
Dynamic: license-file
|
|
37
37
|
|
|
38
38
|
<p align="center">
|
|
@@ -133,6 +133,51 @@ await bot.download_file_by_id(
|
|
|
133
133
|
)
|
|
134
134
|
```
|
|
135
135
|
|
|
136
|
+
## Определение MIME-типа с помощью python-magic
|
|
137
|
+
|
|
138
|
+
MIME‑тип файла может определяться автоматически. В библиотеке поддерживаются два подхода:
|
|
139
|
+
|
|
140
|
+
* **По расширению файла** — работает без дополнительных зависимостей, но может быть неточным.
|
|
141
|
+
* **По содержимому файла (bytes)** — заметно точнее, но требует `python-magic`.
|
|
142
|
+
|
|
143
|
+
### Как это работает
|
|
144
|
+
|
|
145
|
+
Пакет `python-magic` сам по себе MIME‑типы не определяет. Это Python‑обёртка над нативной (C‑шной) библиотекой **libmagic**, которая и выполняет распознавание типа файла по содержимому.
|
|
146
|
+
|
|
147
|
+
Именно поэтому `python-magic` может не работать «из коробки» на некоторых системах: Python‑пакет устанавливается через `pip`, но системная библиотека `libmagic` должна быть установлена отдельно.
|
|
148
|
+
|
|
149
|
+
Если `libmagic` отсутствует, импорт `magic` может завершиться ошибкой вида:
|
|
150
|
+
|
|
151
|
+
* `ImportError: failed to find libmagic. Check your installation`
|
|
152
|
+
|
|
153
|
+
### Установка
|
|
154
|
+
|
|
155
|
+
Установите системные зависимости:
|
|
156
|
+
|
|
157
|
+
* **macOS (Homebrew):**
|
|
158
|
+
|
|
159
|
+
```bash
|
|
160
|
+
brew install libmagic
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
* **Linux (Debian/Ubuntu):**
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
sudo apt install libmagic1
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
* **Windows:**
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
pip install python-magic-bin
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
Также рекомендуем ознакомиться с репозиторием [https://github.com/ahupp/python-magic](https://github.com/ahupp/python-magic).
|
|
176
|
+
|
|
177
|
+
### Примечания
|
|
178
|
+
|
|
179
|
+
* При наличии `python-magic` MIME‑тип определяется **по байтам файла**, что обычно точнее, чем определение по имени или расширению.
|
|
180
|
+
|
|
136
181
|
|
|
137
182
|
|
|
138
183
|
|
|
@@ -49,12 +49,10 @@ dependencies = [
|
|
|
49
49
|
"aiohttp",
|
|
50
50
|
"async-property",
|
|
51
51
|
"typing_extensions>=4.15.0",
|
|
52
|
+
"python-magic>=0.4.27 ; sys_platform != 'win32'",
|
|
53
|
+
"python-magic-bin>=0.4.27 ; sys_platform == 'win32'",
|
|
52
54
|
]
|
|
53
55
|
|
|
54
|
-
[project.optional-dependencies]
|
|
55
|
-
python-magic = ["python-magic>=0.4.27"]
|
|
56
|
-
|
|
57
|
-
|
|
58
56
|
[tool.setuptools]
|
|
59
57
|
packages = ["trueconf"]
|
|
60
58
|
|
{python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/python_trueconf_bot.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-trueconf-bot
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0b2
|
|
4
4
|
Summary: Lightweight and powerful framework for the TrueConf Server Chatbot API
|
|
5
5
|
Author-email: TrueConf LLC <info@trueconf.com>, Anton Baadzhi <baadzhianton@gmail.com>
|
|
6
6
|
License-Expression: BSD-3-Clause-Clear
|
|
@@ -31,8 +31,8 @@ Requires-Dist: magic-filter
|
|
|
31
31
|
Requires-Dist: aiohttp
|
|
32
32
|
Requires-Dist: async-property
|
|
33
33
|
Requires-Dist: typing_extensions>=4.15.0
|
|
34
|
-
|
|
35
|
-
Requires-Dist: python-magic>=0.4.27;
|
|
34
|
+
Requires-Dist: python-magic>=0.4.27; sys_platform != "win32"
|
|
35
|
+
Requires-Dist: python-magic-bin>=0.4.27; sys_platform == "win32"
|
|
36
36
|
Dynamic: license-file
|
|
37
37
|
|
|
38
38
|
<p align="center">
|
{python_trueconf_bot-1.1.9 → python_trueconf_bot-1.2.0b2}/python_trueconf_bot.egg-info/SOURCES.txt
RENAMED
|
@@ -101,6 +101,7 @@ trueconf/methods/create_channel.py
|
|
|
101
101
|
trueconf/methods/create_favorites_chat.py
|
|
102
102
|
trueconf/methods/create_group_chat.py
|
|
103
103
|
trueconf/methods/create_p2p_chat.py
|
|
104
|
+
trueconf/methods/edit_chat_title.py
|
|
104
105
|
trueconf/methods/edit_message.py
|
|
105
106
|
trueconf/methods/edit_survey.py
|
|
106
107
|
trueconf/methods/forward_message.py
|
|
@@ -109,6 +110,7 @@ trueconf/methods/get_chat_history.py
|
|
|
109
110
|
trueconf/methods/get_chat_participants.py
|
|
110
111
|
trueconf/methods/get_chats.py
|
|
111
112
|
trueconf/methods/get_file_info.py
|
|
113
|
+
trueconf/methods/get_file_upload_limits.py
|
|
112
114
|
trueconf/methods/get_message_by_id.py
|
|
113
115
|
trueconf/methods/get_user_display_name.py
|
|
114
116
|
trueconf/methods/has_chat_participant.py
|
|
@@ -135,6 +137,7 @@ trueconf/types/content/base.py
|
|
|
135
137
|
trueconf/types/content/chat_created.py
|
|
136
138
|
trueconf/types/content/document.py
|
|
137
139
|
trueconf/types/content/forward_message.py
|
|
140
|
+
trueconf/types/content/location.py
|
|
138
141
|
trueconf/types/content/photo.py
|
|
139
142
|
trueconf/types/content/remove_participant.py
|
|
140
143
|
trueconf/types/content/sticker.py
|
|
@@ -143,11 +146,13 @@ trueconf/types/content/text.py
|
|
|
143
146
|
trueconf/types/content/video.py
|
|
144
147
|
trueconf/types/requests/__init__.py
|
|
145
148
|
trueconf/types/requests/added_chat_participant.py
|
|
149
|
+
trueconf/types/requests/changed_file_upload_limits.py
|
|
146
150
|
trueconf/types/requests/changed_participant_role.py
|
|
147
151
|
trueconf/types/requests/created_channel.py
|
|
148
152
|
trueconf/types/requests/created_favorites_chat.py
|
|
149
153
|
trueconf/types/requests/created_group_chat.py
|
|
150
154
|
trueconf/types/requests/created_personal_chat.py
|
|
155
|
+
trueconf/types/requests/edited_chat_title.py
|
|
151
156
|
trueconf/types/requests/edited_message.py
|
|
152
157
|
trueconf/types/requests/removed_chat.py
|
|
153
158
|
trueconf/types/requests/removed_chat_participant.py
|
|
@@ -162,6 +167,7 @@ trueconf/types/responses/create_channel_response.py
|
|
|
162
167
|
trueconf/types/responses/create_favorites_chat_response.py
|
|
163
168
|
trueconf/types/responses/create_group_chat_response.py
|
|
164
169
|
trueconf/types/responses/create_p2p_chat_response.py
|
|
170
|
+
trueconf/types/responses/edit_chat_title_response.py
|
|
165
171
|
trueconf/types/responses/edit_message_response.py
|
|
166
172
|
trueconf/types/responses/edit_survey_response.py
|
|
167
173
|
trueconf/types/responses/forward_message_response.py
|
|
@@ -170,6 +176,7 @@ trueconf/types/responses/get_chat_history_response.py
|
|
|
170
176
|
trueconf/types/responses/get_chat_participants_response.py
|
|
171
177
|
trueconf/types/responses/get_chats_response.py
|
|
172
178
|
trueconf/types/responses/get_file_info_response.py
|
|
179
|
+
trueconf/types/responses/get_file_upload_limits_response.py
|
|
173
180
|
trueconf/types/responses/get_message_by_id_response.py
|
|
174
181
|
trueconf/types/responses/get_user_display_name_response.py
|
|
175
182
|
trueconf/types/responses/has_chat_participant_response.py
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '1.
|
|
22
|
-
__version_tuple__ = version_tuple = (1,
|
|
21
|
+
__version__ = version = '1.2.0b2'
|
|
22
|
+
__version_tuple__ = version_tuple = (1, 2, 0, 'b2')
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g9480296c8'
|