pyTelegramBotAPI 4.19.1__tar.gz → 4.20.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/.github/workflows/setup_python.yml +35 -35
  2. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/.readthedocs.yml +26 -26
  3. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/PKG-INFO +4 -4
  4. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/README.md +895 -895
  5. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/conf.py +72 -72
  6. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/en/LC_MESSAGES/async_version.po +5559 -5559
  7. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/en/LC_MESSAGES/sync_version.po +5659 -5659
  8. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/en/LC_MESSAGES/types.po +7240 -7240
  9. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/en/LC_MESSAGES/util.po +355 -355
  10. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/ru/LC_MESSAGES/async_version.po +6641 -6641
  11. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/ru/LC_MESSAGES/calldata.po +130 -130
  12. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/ru/LC_MESSAGES/index.po +128 -128
  13. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/ru/LC_MESSAGES/sync_version.po +6803 -6803
  14. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/ru/LC_MESSAGES/types.po +7240 -7240
  15. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/ru/LC_MESSAGES/util.po +393 -393
  16. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/echo_bot.py +25 -25
  17. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/exception_handler.py +25 -25
  18. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/message_reaction_example.py +35 -35
  19. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/message_reaction_example.py +33 -33
  20. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/poll_example.py +32 -32
  21. pytelegrambotapi-4.20.0/examples/serverless/flask_google_cloud_bot/app.yaml +4 -0
  22. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/serverless/flask_google_cloud_bot/main.py +64 -64
  23. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/serverless/flask_google_cloud_bot/requirements.txt +4 -4
  24. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/pyproject.toml +48 -48
  25. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/requirements.txt +4 -4
  26. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/__init__.py +8721 -8671
  27. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/apihelper.py +2176 -2152
  28. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/async_telebot.py +7834 -7788
  29. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/asyncio_filters.py +454 -454
  30. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/asyncio_handler_backends.py +137 -137
  31. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/asyncio_helper.py +2154 -2132
  32. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/asyncio_storage/pickle_storage.py +109 -109
  33. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/asyncio_storage/redis_storage.py +179 -179
  34. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/custom_filters.py +464 -464
  35. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/formatting.py +463 -463
  36. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/handler_backends.py +295 -295
  37. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/service_utils.py +84 -84
  38. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/storage/pickle_storage.py +116 -116
  39. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/storage/redis_storage.py +183 -183
  40. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/types.py +10363 -10080
  41. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/util.py +700 -700
  42. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/version.py +1 -1
  43. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/tests/test_handler_backends.py +285 -285
  44. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/tests/test_telebot.py +703 -703
  45. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/tests/test_types.py +313 -313
  46. pytelegrambotapi-4.19.1/examples/serverless/flask_google_cloud_bot/app.yaml +0 -4
  47. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/.github/ISSUE_TEMPLATE +0 -0
  48. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  49. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/.gitignore +0 -0
  50. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/.travis.yml +0 -0
  51. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/LICENSE +0 -0
  52. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/doc_req.txt +0 -0
  53. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/Makefile +0 -0
  54. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/_static/logo.png +0 -0
  55. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/_static/logo2.png +0 -0
  56. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/async_version/index.rst +0 -0
  57. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/calldata.rst +0 -0
  58. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/formatting.rst +0 -0
  59. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/index.rst +0 -0
  60. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/install.rst +0 -0
  61. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/en/LC_MESSAGES/calldata.po +0 -0
  62. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/en/LC_MESSAGES/formatting.po +0 -0
  63. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/en/LC_MESSAGES/index.po +0 -0
  64. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/en/LC_MESSAGES/install.po +0 -0
  65. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/en/LC_MESSAGES/quick_start.po +0 -0
  66. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/ru/LC_MESSAGES/formatting.po +0 -0
  67. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/ru/LC_MESSAGES/install.po +0 -0
  68. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/locales/ru/LC_MESSAGES/quick_start.po +0 -0
  69. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/quick_start.rst +0 -0
  70. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/sync_version/index.rst +0 -0
  71. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/types.rst +0 -0
  72. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/docs/source/util.rst +0 -0
  73. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/anonymous_bot.py +0 -0
  74. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/callback_data_examples/advanced_calendar_example/filters.py +0 -0
  75. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/callback_data_examples/advanced_calendar_example/keyboards.py +0 -0
  76. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/callback_data_examples/advanced_calendar_example/main.py +0 -0
  77. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/callback_data_examples/simple_products_example.py +0 -0
  78. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/chat_join_request.py +0 -0
  79. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/chat_member_example.py +0 -0
  80. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/continue_handling.py +0 -0
  81. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/custom_filters/admin_filter_example.py +0 -0
  82. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/custom_filters/advanced_text_filter.py +0 -0
  83. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/custom_filters/general_custom_filters.py +0 -0
  84. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/custom_filters/id_filter_example.py +0 -0
  85. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/custom_filters/is_filter_example.py +0 -0
  86. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/custom_filters/text_filter_example.py +0 -0
  87. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/custom_states.py +0 -0
  88. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/detect_changes.py +0 -0
  89. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/download_file_example.py +0 -0
  90. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/formatting_example.py +0 -0
  91. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/middleware/flooding_middleware.py +0 -0
  92. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/middleware/i18n.py +0 -0
  93. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/middleware/i18n_middleware_example/i18n_base_midddleware.py +0 -0
  94. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/middleware/i18n_middleware_example/keyboards.py +0 -0
  95. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/middleware/i18n_middleware_example/locales/en/LC_MESSAGES/messages.po +0 -0
  96. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/middleware/i18n_middleware_example/locales/ru/LC_MESSAGES/messages.po +0 -0
  97. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/middleware/i18n_middleware_example/locales/uz_Latn/LC_MESSAGES/messages.po +0 -0
  98. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/middleware/i18n_middleware_example/main.py +0 -0
  99. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/multibot/README.MD +0 -0
  100. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/multibot/config.py +0 -0
  101. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/multibot/handlers.py +0 -0
  102. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/multibot/main.py +0 -0
  103. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/multibot/nginx_conf.conf +0 -0
  104. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/register_handler.py +0 -0
  105. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/send_file_example.py +0 -0
  106. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/set_command_example.py +0 -0
  107. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/skip_updates_example.py +0 -0
  108. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/timer_bot_async.py +0 -0
  109. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/update_listener.py +0 -0
  110. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/webhooks/async_webhook_aiohttp_echo_bot.py +0 -0
  111. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/webhooks/run_webhooks.py +0 -0
  112. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/asynchronous_telebot/webhooks/webhook_starlette_echo_bot.py +0 -0
  113. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/callback_data_examples/advanced_calendar_example/filters.py +0 -0
  114. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/callback_data_examples/advanced_calendar_example/keyboards.py +0 -0
  115. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/callback_data_examples/advanced_calendar_example/main.py +0 -0
  116. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/callback_data_examples/simple_products_example.py +0 -0
  117. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/chat_join_request.py +0 -0
  118. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/chat_member_example.py +0 -0
  119. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/continue_handling.py +0 -0
  120. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/create_invite_link.py +0 -0
  121. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/custom_filters/admin_filter_example.py +0 -0
  122. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/custom_filters/advanced_text_filter.py +0 -0
  123. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/custom_filters/general_custom_filters.py +0 -0
  124. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/custom_filters/id_filter_example.py +0 -0
  125. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/custom_filters/is_filter_example.py +0 -0
  126. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/custom_filters/text_filter_example.py +0 -0
  127. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/custom_states.py +0 -0
  128. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/deep_linking.py +0 -0
  129. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/detailed_example/detailed_example.py +0 -0
  130. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/detailed_example/kitten.jpg +0 -0
  131. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/detailed_example/rooster.jpg +0 -0
  132. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/detect_changes.py +0 -0
  133. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/download_file_example.py +0 -0
  134. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/echo_bot.py +0 -0
  135. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/formatting_example.py +0 -0
  136. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/inline_example.py +0 -0
  137. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/inline_keyboard_example.py +0 -0
  138. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/README.md +0 -0
  139. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/class_based/antiflood_middleware.py +0 -0
  140. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/class_based/basic_example.py +0 -0
  141. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/class_based/i18n_middleware/i18n_base_middleware.py +0 -0
  142. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/class_based/i18n_middleware/keyboards.py +0 -0
  143. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/class_based/i18n_middleware/locales/en/LC_MESSAGES/messages.po +0 -0
  144. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/class_based/i18n_middleware/locales/ru/LC_MESSAGES/messages.po +0 -0
  145. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/class_based/i18n_middleware/locales/uz_Latn/LC_MESSAGES/messages.po +0 -0
  146. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/class_based/i18n_middleware/main.py +0 -0
  147. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/function_based/i18n.py +0 -0
  148. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/function_based/i18n_gettext/i18n_class.py +0 -0
  149. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/function_based/i18n_gettext/keyboards.py +0 -0
  150. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/function_based/i18n_gettext/locales/en/LC_MESSAGES/messages.po +0 -0
  151. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/function_based/i18n_gettext/locales/ru/LC_MESSAGES/messages.po +0 -0
  152. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/function_based/i18n_gettext/locales/uz_Latn/LC_MESSAGES/messages.po +0 -0
  153. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/function_based/i18n_gettext/main.py +0 -0
  154. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/middleware/function_based/session.py +0 -0
  155. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/multibot/README.MD +0 -0
  156. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/multibot/config.py +0 -0
  157. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/multibot/handlers.py +0 -0
  158. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/multibot/main.py +0 -0
  159. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/multibot/nginx_conf.conf +0 -0
  160. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/payments_example.py +0 -0
  161. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/register_handler.py +0 -0
  162. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/reply_keyboard_markup_example.py +0 -0
  163. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/serverless/aws_lambda_function.py +0 -0
  164. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/serverless/azure_functions +0 -0
  165. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/serverless/flask_google_cloud_bot/.gcloudignore +0 -0
  166. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/set_command_example.py +0 -0
  167. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/skip_updates_example.py +0 -0
  168. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/step_example.py +0 -0
  169. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/telebot_bot/telebot_bot.py +0 -0
  170. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/timer_bot.py +0 -0
  171. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/webhook_examples/README.md +0 -0
  172. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/webhook_examples/run_webhooks.py +0 -0
  173. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/webhook_examples/webhook_aiohttp_echo_bot.py +0 -0
  174. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/webhook_examples/webhook_cherrypy_echo_bot.py +0 -0
  175. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/webhook_examples/webhook_cpython_echo_bot.py +0 -0
  176. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/webhook_examples/webhook_fastapi_echo_bot.py +0 -0
  177. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/webhook_examples/webhook_flask_echo_bot.py +0 -0
  178. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/webhook_examples/webhook_flask_heroku_echo.py +0 -0
  179. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/webhook_examples/webhook_tornado_echo_bot.py +0 -0
  180. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/examples/webhook_examples/webhook_twisted_echo_bot.py +0 -0
  181. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/asyncio_storage/__init__.py +0 -0
  182. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/asyncio_storage/base_storage.py +0 -0
  183. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/asyncio_storage/memory_storage.py +0 -0
  184. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/callback_data.py +0 -0
  185. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/ext/__init__.py +0 -0
  186. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/ext/aio/__init__.py +0 -0
  187. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/ext/aio/webhooks.py +0 -0
  188. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/ext/reloader.py +0 -0
  189. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/ext/sync/__init__.py +0 -0
  190. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/ext/sync/webhooks.py +0 -0
  191. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/storage/__init__.py +0 -0
  192. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/storage/base_storage.py +0 -0
  193. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/telebot/storage/memory_storage.py +0 -0
  194. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/tests/__init__.py +0 -0
  195. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/tests/test_data/record.mp3 +0 -0
  196. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/tests/test_data/record.ogg +0 -0
  197. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/tests/test_data/record.wav +0 -0
  198. {pytelegrambotapi-4.19.1 → pytelegrambotapi-4.20.0}/tests/test_data/test_video.mp4 +0 -0
@@ -1,35 +1,35 @@
1
- # This is a basic workflow to help you get started with Actions
2
-
3
- name: Setup
4
-
5
- # Controls when the action will run.
6
- on:
7
- # Triggers the workflow on push or pull request events but only for the master branch
8
- push:
9
- branches: [ master ]
10
- pull_request:
11
- branches: [ master ]
12
-
13
- # Allows you to run this workflow manually from the Actions tab
14
- #workflow_dispatch:
15
-
16
- # A workflow run is made up of one or more jobs that can run sequentially or in parallel
17
- jobs:
18
- # This workflow contains a single job called "build"
19
- all-setups:
20
- runs-on: ubuntu-latest
21
- strategy:
22
- matrix:
23
- python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10']
24
- name: ${{ matrix.python-version }} and tests
25
- steps:
26
- - uses: actions/checkout@v2
27
- - name: Setup python
28
- uses: actions/setup-python@v2
29
- with:
30
- python-version: ${{ matrix.python-version }}
31
- architecture: x64
32
- - run: |
33
- pip3 install -r requirements.txt
34
- pip3 install .
35
- cd tests && py.test
1
+ # This is a basic workflow to help you get started with Actions
2
+
3
+ name: Setup
4
+
5
+ # Controls when the action will run.
6
+ on:
7
+ # Triggers the workflow on push or pull request events but only for the master branch
8
+ push:
9
+ branches: [ master ]
10
+ pull_request:
11
+ branches: [ master ]
12
+
13
+ # Allows you to run this workflow manually from the Actions tab
14
+ #workflow_dispatch:
15
+
16
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
17
+ jobs:
18
+ # This workflow contains a single job called "build"
19
+ all-setups:
20
+ runs-on: ubuntu-latest
21
+ strategy:
22
+ matrix:
23
+ python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10']
24
+ name: ${{ matrix.python-version }} and tests
25
+ steps:
26
+ - uses: actions/checkout@v2
27
+ - name: Setup python
28
+ uses: actions/setup-python@v2
29
+ with:
30
+ python-version: ${{ matrix.python-version }}
31
+ architecture: x64
32
+ - run: |
33
+ pip3 install -r requirements.txt
34
+ pip3 install .
35
+ cd tests && py.test
@@ -1,26 +1,26 @@
1
- # Read the Docs configuration file for Sphinx projects
2
- # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
-
4
- # Required
5
- version: 2
6
-
7
- # Set the OS, Python version and other tools you might need
8
- build:
9
- os: ubuntu-22.04
10
- tools:
11
- python: "3.11"
12
-
13
- # Build documentation in the "docs/" directory with Sphinx
14
- sphinx:
15
- configuration: docs/source/conf.py
16
- # You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
17
- # builder: "dirhtml"
18
- # Fail on all warnings to avoid broken references
19
- # fail_on_warning: true
20
-
21
- formats: all
22
-
23
- # Optionally set the version of Python and requirements required to build your docs
24
- python:
25
- install:
26
- - requirements: doc_req.txt
1
+ # Read the Docs configuration file for Sphinx projects
2
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
+
4
+ # Required
5
+ version: 2
6
+
7
+ # Set the OS, Python version and other tools you might need
8
+ build:
9
+ os: ubuntu-22.04
10
+ tools:
11
+ python: "3.11"
12
+
13
+ # Build documentation in the "docs/" directory with Sphinx
14
+ sphinx:
15
+ configuration: docs/source/conf.py
16
+ # You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
17
+ # builder: "dirhtml"
18
+ # Fail on all warnings to avoid broken references
19
+ # fail_on_warning: true
20
+
21
+ formats: all
22
+
23
+ # Optionally set the version of Python and requirements required to build your docs
24
+ python:
25
+ install:
26
+ - requirements: doc_req.txt
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyTelegramBotAPI
3
- Version: 4.19.1
3
+ Version: 4.20.0
4
4
  Summary: Python Telegram bot api.
5
5
  Project-URL: Homepage, https://github.com/eternnoir/pyTelegramBotAPI
6
6
  Project-URL: Documentation, https://pytba.readthedocs.org
@@ -55,7 +55,7 @@ Description-Content-Type: text/markdown
55
55
  <p align="center">A simple, but extensible Python implementation for the <a href="https://core.telegram.org/bots/api">Telegram Bot API</a>.</p>
56
56
  <p align="center">Both synchronous and asynchronous.</p>
57
57
 
58
- ## <p align="center">Supported Bot API version: <a href="https://core.telegram.org/bots/api-changelog#may-28-2024">7.4</a>!
58
+ ## <p align="center">Supported Bot API version: <a href="https://core.telegram.org/bots/api#june-18-2024">7.5</a>!
59
59
 
60
60
  <h2><a href='https://pytba.readthedocs.io/en/latest/index.html'>Official documentation</a></h2>
61
61
  <h2><a href='https://pytba.readthedocs.io/ru/latest/index.html'>Official ru documentation</a></h2>
@@ -307,7 +307,7 @@ Handle shipping queries
307
307
  `@bot.shipping_query_handler() # <- passes a ShippingQuery type object to your function`
308
308
 
309
309
  #### Pre Checkout Query Handler
310
- Handle pre checkoupt queries
310
+ Handle pre checkout queries
311
311
  `@bot.pre_checkout_query_handler() # <- passes a PreCheckoutQuery type object to your function`
312
312
 
313
313
  #### Poll Handler
@@ -348,7 +348,7 @@ def query_text(inline_query):
348
348
 
349
349
  #### Chosen Inline handler
350
350
 
351
- Use chosen_inline_handler to get chosen_inline_result in telebot. Don't forgot add the /setinlinefeedback
351
+ Use chosen_inline_handler to get chosen_inline_result in telebot. Don't forget to add the /setinlinefeedback
352
352
  command for @Botfather.
353
353
 
354
354
  More information : [collecting-feedback](https://core.telegram.org/bots/inline#collecting-feedback)