python-trueconf-bot 1.2.0b2__tar.gz → 1.2.0b3__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.2.0b2 → python_trueconf_bot-1.2.0b3}/PKG-INFO +3 -2
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/pyproject.toml +2 -1
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/python_trueconf_bot.egg-info/PKG-INFO +3 -2
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/python_trueconf_bot.egg-info/requires.txt +2 -1
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/_version.py +3 -3
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/input_file.py +15 -3
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/.github/workflows/docs.yml +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/.github/workflows/release-test.yml +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/.github/workflows/release.yml +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/.gitignore +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/LICENSE +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/README-PyPI.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/README-ru.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/README.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/assets/head_en.png +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/assets/head_ru.png +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/assets/logo.svg +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/examples/echo_bot.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/examples/multibot.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/features.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/img/head.png +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/img/router_scheme_en.svg +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/index.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/learn/enums.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/learn/files.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/learn/filters.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/learn/getting-started.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/learn/parse-messages.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/learn/types.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/reference/Bot.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/reference/Dispatcher.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/reference/Enums.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/reference/Responses.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/reference/Router.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/reference/Types.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/reference/index.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/release_notes.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/img/chatbot.svg +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/img/favicon.ico +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/img/logo.svg +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/overrides/main.html +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/examples/echo_bot.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/examples/multibot.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/features.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/img/head.png +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/img/router_scheme_ru.svg +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/index.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/learn/enums.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/learn/files.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/learn/filters.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/learn/getting-started.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/learn/parse-messages.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/learn/types.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/release_notes.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/stylesheets/extra.css +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/examples/README-ru.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/examples/README.md +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/examples/add_big_list_users_to_channel.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/examples/filters.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/examples/report_bot.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/examples/update_token.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/examples/webhook.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/mkdocs.yml +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/python_trueconf_bot.egg-info/SOURCES.txt +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/python_trueconf_bot.egg-info/dependency_links.txt +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/python_trueconf_bot.egg-info/top_level.txt +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/requirements-docs.txt +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/requirements.txt +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/setup.cfg +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/__init__.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/client/__init__.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/client/bot.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/client/context_controller.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/client/session.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/dispatcher/__init__.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/dispatcher/dispatcher.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/dispatcher/router.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/__init__.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/aouth_error.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/chat_participant_role.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/chat_type.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/envelope_author_type.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/file_ready_state.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/incoming_update_method.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/message_type.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/parse_mode.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/survey_type.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/update_type.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/exceptions.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/filters/__init__.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/filters/base.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/filters/command.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/filters/instance_of.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/filters/message.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/filters/method.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/loggers.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/__init__.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/add_participant_to_chat.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/auth.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/base.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/change_participant_role.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/create_channel.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/create_favorites_chat.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/create_group_chat.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/create_p2p_chat.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/edit_chat_title.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/edit_message.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/edit_survey.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/forward_message.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/get_chat_by_id.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/get_chat_history.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/get_chat_participants.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/get_chats.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/get_file_info.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/get_file_upload_limits.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/get_message_by_id.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/get_user_display_name.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/has_chat_participant.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/remove_chat.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/remove_message.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/remove_participant_from_chat.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/send_file.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/send_message.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/send_survey.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/subscribe_file_progress.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/unsubscribe_file_progress.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/upload_file.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/py.typed +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/__init__.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/author_box.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/chat_participant.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/__init__.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/attachment.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/base.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/chat_created.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/document.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/forward_message.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/location.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/photo.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/remove_participant.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/sticker.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/survey.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/text.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/video.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/last_message.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/message.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/parser.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/__init__.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/added_chat_participant.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/changed_file_upload_limits.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/changed_participant_role.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/created_channel.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/created_favorites_chat.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/created_group_chat.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/created_personal_chat.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/edited_chat_title.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/edited_message.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/removed_chat.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/removed_chat_participant.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/removed_message.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/uploading_progress.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/__init__.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/add_chat_participant_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/api_error.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/auth_response_payload.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/change_participant_role_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/create_channel_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/create_favorites_chat_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/create_group_chat_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/create_p2p_chat_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/edit_chat_title_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/edit_message_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/edit_survey_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/forward_message_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/get_chat_by_id_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/get_chat_history_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/get_chat_participants_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/get_chats_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/get_file_info_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/get_file_upload_limits_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/get_message_by_id_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/get_user_display_name_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/has_chat_participant_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/remove_chat_participant_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/remove_chat_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/remove_message_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/send_file_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/send_message_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/send_survey_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/subscribe_file_progress_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/unsubscribe_file_progress_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/upload_file_response.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/update.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/utils/__init__.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/utils/generate_secret_for_survey.py +0 -0
- {python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/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.2.
|
|
3
|
+
Version: 1.2.0b3
|
|
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
|
|
@@ -32,7 +32,8 @@ Requires-Dist: aiohttp
|
|
|
32
32
|
Requires-Dist: async-property
|
|
33
33
|
Requires-Dist: typing_extensions>=4.15.0
|
|
34
34
|
Requires-Dist: python-magic>=0.4.27; sys_platform != "win32"
|
|
35
|
-
Requires-Dist: python-magic-bin
|
|
35
|
+
Requires-Dist: python-magic-bin==0.4.14; sys_platform == "win32"
|
|
36
|
+
Requires-Dist: filetype
|
|
36
37
|
Dynamic: license-file
|
|
37
38
|
|
|
38
39
|
<p align="center">
|
|
@@ -50,7 +50,8 @@ dependencies = [
|
|
|
50
50
|
"async-property",
|
|
51
51
|
"typing_extensions>=4.15.0",
|
|
52
52
|
"python-magic>=0.4.27 ; sys_platform != 'win32'",
|
|
53
|
-
"python-magic-bin
|
|
53
|
+
"python-magic-bin==0.4.14 ; sys_platform == 'win32'",
|
|
54
|
+
"filetype"
|
|
54
55
|
]
|
|
55
56
|
|
|
56
57
|
[tool.setuptools]
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/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.2.
|
|
3
|
+
Version: 1.2.0b3
|
|
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
|
|
@@ -32,7 +32,8 @@ Requires-Dist: aiohttp
|
|
|
32
32
|
Requires-Dist: async-property
|
|
33
33
|
Requires-Dist: typing_extensions>=4.15.0
|
|
34
34
|
Requires-Dist: python-magic>=0.4.27; sys_platform != "win32"
|
|
35
|
-
Requires-Dist: python-magic-bin
|
|
35
|
+
Requires-Dist: python-magic-bin==0.4.14; sys_platform == "win32"
|
|
36
|
+
Requires-Dist: filetype
|
|
36
37
|
Dynamic: license-file
|
|
37
38
|
|
|
38
39
|
<p align="center">
|
|
@@ -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.2.
|
|
22
|
-
__version_tuple__ = version_tuple = (1, 2, 0, '
|
|
21
|
+
__version__ = version = '1.2.0b3'
|
|
22
|
+
__version_tuple__ = version_tuple = (1, 2, 0, 'b3')
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g10fd0ed7a'
|
|
@@ -4,12 +4,13 @@ import io
|
|
|
4
4
|
import re
|
|
5
5
|
import os
|
|
6
6
|
import aiofiles
|
|
7
|
+
import filetype
|
|
7
8
|
from urllib.parse import urlparse, unquote
|
|
8
9
|
from abc import ABC, abstractmethod
|
|
9
10
|
from pathlib import Path
|
|
10
11
|
from typing import Any, Dict, Optional
|
|
11
12
|
from typing_extensions import Self
|
|
12
|
-
from mimetypes import guess_type
|
|
13
|
+
from mimetypes import guess_type, guess_extension
|
|
13
14
|
from trueconf import loggers
|
|
14
15
|
from httpx import AsyncClient
|
|
15
16
|
import warnings
|
|
@@ -32,8 +33,14 @@ except ImportError as e:
|
|
|
32
33
|
) from e
|
|
33
34
|
|
|
34
35
|
def detect_mime_type(data: bytes, file_name: str = "") -> str:
|
|
35
|
-
mime_type = guess_type(file_name
|
|
36
|
-
|
|
36
|
+
mime_type, _ = guess_type(file_name) if file_name else (None, None)
|
|
37
|
+
|
|
38
|
+
if not mime_type or mime_type == "application/octet-stream":
|
|
39
|
+
kind = filetype.guess(data)
|
|
40
|
+
if kind:
|
|
41
|
+
mime_type = kind.mime
|
|
42
|
+
|
|
43
|
+
if (not mime_type or mime_type == "application/octet-stream") and magic:
|
|
37
44
|
try:
|
|
38
45
|
mime_type = magic.from_buffer(data, mime=True)
|
|
39
46
|
except Exception as error:
|
|
@@ -90,6 +97,11 @@ class InputFile(ABC):
|
|
|
90
97
|
file_size: int | None = None,
|
|
91
98
|
mime_type: str | None = None,
|
|
92
99
|
):
|
|
100
|
+
|
|
101
|
+
if not guess_type(file_name)[0]:
|
|
102
|
+
if ext := guess_extension(mime_type):
|
|
103
|
+
file_name = file_name+ext
|
|
104
|
+
|
|
93
105
|
self.file_name = file_name
|
|
94
106
|
self.file_size = file_size
|
|
95
107
|
self.mime_type = mime_type
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/.github/workflows/release-test.yml
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
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/img/router_scheme_en.svg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/en/learn/getting-started.md
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
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/img/router_scheme_ru.svg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/docs/ru/learn/getting-started.md
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
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/python_trueconf_bot.egg-info/SOURCES.txt
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
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/client/context_controller.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/dispatcher/dispatcher.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/chat_participant_role.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/envelope_author_type.py
RENAMED
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/file_ready_state.py
RENAMED
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/enums/incoming_update_method.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
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/create_channel.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/create_group_chat.py
RENAMED
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/create_p2p_chat.py
RENAMED
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/edit_chat_title.py
RENAMED
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/edit_message.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/forward_message.py
RENAMED
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/get_chat_by_id.py
RENAMED
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/get_chat_history.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/get_file_info.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/get_message_by_id.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/has_chat_participant.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/remove_message.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/methods/send_message.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
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/chat_participant.py
RENAMED
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/__init__.py
RENAMED
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/attachment.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/chat_created.py
RENAMED
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/document.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/location.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/sticker.py
RENAMED
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/content/survey.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/__init__.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
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/requests/removed_chat.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_trueconf_bot-1.2.0b2 → python_trueconf_bot-1.2.0b3}/trueconf/types/responses/api_error.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
|