mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2026-06-25 10:44:38 +00:00
Compare commits
234 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6012fa65c1 | |||
| ef9dbacf7e | |||
| e13cd58773 | |||
| 1f5311b473 | |||
| eae139d3e9 | |||
| 160ffed5ad | |||
| 8cda3f7a71 | |||
| d7929a8de4 | |||
| e018445513 | |||
| 4601eedf0f | |||
| 6cd0c14c02 | |||
| b6a0853896 | |||
| 16a49ec659 | |||
| ee34d57521 | |||
| 5d7c6ad541 | |||
| 915cd64140 | |||
| 56f7d18853 | |||
| b04869f36a | |||
| 70057a67c5 | |||
| 8d4b484f7b | |||
| 073bed3a01 | |||
| 5ceb6f8f36 | |||
| b6ef30a454 | |||
| 1b515a16d6 | |||
| b3069348ca | |||
| 454ab050c0 | |||
| d19ae5084a | |||
| 6aacde189e | |||
| 5d3f5575ab | |||
| 13ab6d43d3 | |||
| 2ba7505eaf | |||
| 5ed06df840 | |||
| eef1238d60 | |||
| 2aae602082 | |||
| 796583323d | |||
| 5392bfead0 | |||
| 46d9240f36 | |||
| af56dd5a58 | |||
| e5b0795916 | |||
| ae29620cd6 | |||
| 8d1d38cc4c | |||
| 2d1028acb6 | |||
| 94e0d3c2ac | |||
| f0638df390 | |||
| 2aa31c6faa | |||
| 81987c38d4 | |||
| b3b94240a5 | |||
| 19ce9e4512 | |||
| c02613559d | |||
| 9bd5042cc3 | |||
| 8320227b2a | |||
| 08d298eb60 | |||
| 5a37af6f89 | |||
| 881da40978 | |||
| f72f4090c6 | |||
| 94ed4cb38d | |||
| cbafdc289f | |||
| ebb2556176 | |||
| 564d361cdf | |||
| b4b0eb4686 | |||
| 8703ae0b8d | |||
| 8fcfdca25b | |||
| d216b83728 | |||
| 56949bcad6 | |||
| 470ee86497 | |||
| 5b9bb904c2 | |||
| 9264264a02 | |||
| 3dabc3146a | |||
| cedc38dcdf | |||
| 51759307d7 | |||
| ac0793caa2 | |||
| 28836b7735 | |||
| 4fad382f26 | |||
| 4b16d0937b | |||
| db8ae7602b | |||
| 512ca2643f | |||
| ecfcc69cf9 | |||
| 7e81a1510d | |||
| ca9068f2b5 | |||
| 45d4ea083d | |||
| 7a89dcb911 | |||
| 4b3b0cb4cd | |||
| 3ea16cb1c7 | |||
| 85e52f1930 | |||
| 976ad1b987 | |||
| 1f9f3ae8a1 | |||
| d2f89382a0 | |||
| b49431931a | |||
| fca64f5fc6 | |||
| c92ebc4046 | |||
| 281bd67298 | |||
| f6a98d7888 | |||
| e7b839b69e | |||
| 4fe805ee0c | |||
| 04acbc4117 | |||
| 4bf63d7358 | |||
| 991ee2bc88 | |||
| c91ffc122a | |||
| 7b7c4a81bb | |||
| 6b7ce7b8f0 | |||
| 8a89265c2d | |||
| 4b53ed1c65 | |||
| 1e4248136c | |||
| 9f1b63b165 | |||
| eee0f78b15 | |||
| 0afe83ac30 | |||
| 6cc84b2c32 | |||
| 3bf4399a4f | |||
| 9bccbdab2a | |||
| dba4739f76 | |||
| a964b7bfd0 | |||
| e18ebd035c | |||
| 5a62255675 | |||
| 01f3d88788 | |||
| 2b871e6f93 | |||
| 788b9dab0c | |||
| 4c41f3870c | |||
| d5583190b8 | |||
| 5c2893111a | |||
| faddb92395 | |||
| 9b5e014a0a | |||
| 845312da59 | |||
| 6ffd75e421 | |||
| dfb0ff27d3 | |||
| 9b84a558fb | |||
| 3ca6f6aa0e | |||
| 3863b4f371 | |||
| 25912dca6e | |||
| 6877886f7d | |||
| d16d38530c | |||
| c7ed87d475 | |||
| a68e0ad044 | |||
| ad603bd2f9 | |||
| 179fc141bb | |||
| da8a3cee44 | |||
| bc3669fa4b | |||
| 7def2c53e1 | |||
| 09230e6e84 | |||
| 011e321583 | |||
| 0afb38f45c | |||
| 4247dc0e21 | |||
| 896392d01e | |||
| 61c5d6ff08 | |||
| aa1c4e0e02 | |||
| 92183a5bbc | |||
| 87b096c7f9 | |||
| 3329d15691 | |||
| 0fb00c4c8b | |||
| 2680740316 | |||
| b6ba66ba8e | |||
| eaf765dcbc | |||
| f735a37828 | |||
| e9d08c6f7a | |||
| c0e3453a62 | |||
| 90e9e32632 | |||
| 1e3e8973ba | |||
| 0ed997cc53 | |||
| 760737345d | |||
| 137ffe2e73 | |||
| c4b78673a3 | |||
| ee1cf6b9b0 | |||
| c15371e8c0 | |||
| f66076b06c | |||
| 5b1252ac2d | |||
| 647059735c | |||
| d0f6860bac | |||
| d98b18d1e3 | |||
| 9d6c394b02 | |||
| 1951d6fdcd | |||
| 84b59c8cb2 | |||
| b46bdf5304 | |||
| cd24bb4ba5 | |||
| ae33d33580 | |||
| 706f79fa99 | |||
| a5bfc52326 | |||
| 858684ab64 | |||
| f4c6197c5f | |||
| a7044562af | |||
| 27a4fa8dba | |||
| a41ee3b040 | |||
| 8499dcc33c | |||
| ff897ce9ef | |||
| f314915954 | |||
| 1bf0078573 | |||
| 1210e4ef04 | |||
| 05ed693fb6 | |||
| 18822d1396 | |||
| 73ac259721 | |||
| 96171112bf | |||
| 27238c52e2 | |||
| 43f4128b31 | |||
| 1142953108 | |||
| 1e250f2415 | |||
| 8f2f29c7d4 | |||
| 3767d26fc8 | |||
| a78f72c086 | |||
| cc03649f1c | |||
| ee057e76ef | |||
| 2c05b03fba | |||
| 630b63ec10 | |||
| 23b37c9ea4 | |||
| 01430a24a5 | |||
| acda19b7e7 | |||
| 48fa3d975b | |||
| d220ff4e38 | |||
| 5a15d1b5d6 | |||
| ad347b5c02 | |||
| 017fdeaae8 | |||
| 99ecac5649 | |||
| 7583fa9d65 | |||
| 2dd5290ec2 | |||
| 41299244b7 | |||
| 0e2bcf28a6 | |||
| 2746ab77e5 | |||
| ae39c902ed | |||
| 65929a0813 | |||
| 4426eb0c61 | |||
| d4f2f2e077 | |||
| 73d75b964a | |||
| 45897048aa | |||
| 76db279624 | |||
| a97da5cb20 | |||
| 9f6ec125b9 | |||
| 5f96c507b9 | |||
| 402e1381bb | |||
| b276b06b31 | |||
| b69ecc3015 | |||
| 77f06888cb | |||
| 834c1ab3c5 | |||
| c78d697b0e | |||
| 2929c76248 | |||
| 034bcf0895 | |||
| 8be57198b4 | |||
| 8e62b02ff6 |
@@ -1,8 +0,0 @@
|
||||
[run]
|
||||
source = telegram
|
||||
omit = telegram/vendor/*
|
||||
|
||||
[report]
|
||||
omit =
|
||||
tests/
|
||||
telegram/vendor/*
|
||||
+34
-19
@@ -1,10 +1,10 @@
|
||||
How To Contribute
|
||||
===================
|
||||
=================
|
||||
|
||||
Every open source project lives from the generous help by contributors that sacrifice their time and ``python-telegram-bot`` is no different. To make participation as pleasant as possible, this project adheres to the `Code of Conduct`_ by the Python Software Foundation.
|
||||
|
||||
Setting things up
|
||||
-------------------
|
||||
-----------------
|
||||
|
||||
1. Fork the ``python-telegram-bot`` repository to your GitHub account.
|
||||
|
||||
@@ -12,7 +12,7 @@ Setting things up
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ git clone https://github.com/<your username>/python-telegram-bot
|
||||
$ git clone https://github.com/<your username>/python-telegram-bot --recursive
|
||||
$ cd python-telegram-bot
|
||||
|
||||
3. Add a track to the original repository:
|
||||
@@ -35,7 +35,7 @@ Setting things up
|
||||
$ pre-commit install
|
||||
|
||||
Finding something to do
|
||||
###################
|
||||
#######################
|
||||
|
||||
If you already know what you'd like to work on, you can skip this section.
|
||||
|
||||
@@ -44,7 +44,7 @@ If you have an idea for something to do, first check if it's already been filed
|
||||
Another great way to start contributing is by writing tests. Tests are really important because they help prevent developers from accidentally breaking existing code, allowing them to build cool things faster. If you're interested in helping out, let the development team know by posting to the `developers' mailing list`_, and we'll help you get started.
|
||||
|
||||
Instructions for making a code change
|
||||
####################
|
||||
#####################################
|
||||
|
||||
The central development branch is ``master``, which should be clean and ready for release at any time. In general, all changes should be done as feature branches based off of ``master``.
|
||||
|
||||
@@ -89,7 +89,7 @@ Here's how to make a one-off code change.
|
||||
|
||||
.. code-block::
|
||||
|
||||
$ nosetests -v
|
||||
$ pytest -v
|
||||
|
||||
- To actually make the commit (this will trigger tests for yapf, lint and pep8 automatically):
|
||||
|
||||
@@ -129,13 +129,19 @@ Here's how to make a one-off code change.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ git checkout your-branch-name
|
||||
$ git fetch upstream
|
||||
$ git merge upstream/master
|
||||
$ ...[fix the conflicts]...
|
||||
$ ...[make sure the tests pass before committing]...
|
||||
$ git commit -a
|
||||
$ git push origin your-branch-name
|
||||
$ git checkout your-branch-name
|
||||
$ git fetch upstream
|
||||
$ git merge upstream/master
|
||||
$ ...[fix the conflicts]...
|
||||
$ ...[make sure the tests pass before committing]...
|
||||
$ git commit -a
|
||||
$ git push origin your-branch-name
|
||||
|
||||
- If after merging you see local modified files in ``telegram/vendor/`` directory, that you didn't actually touch, that means you need to update submodules with this command:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ git submodule update --init --recursive
|
||||
|
||||
- At the end, the reviewer will merge the pull request.
|
||||
|
||||
@@ -149,20 +155,29 @@ Here's how to make a one-off code change.
|
||||
7. **Celebrate.** Congratulations, you have contributed to ``python-telegram-bot``!
|
||||
|
||||
Style commandments
|
||||
---------------------
|
||||
------------------
|
||||
|
||||
Specific commandments
|
||||
#####################
|
||||
|
||||
- Avoid using "double quotes" where you can reasonably use 'single quotes'.
|
||||
|
||||
AssertEqual argument order
|
||||
######################
|
||||
Assert comparison order
|
||||
#######################
|
||||
|
||||
- assertEqual method's arguments should be in ('actual', 'expected') order.
|
||||
- assert statements should compare in **actual** == **expected** order.
|
||||
For example (assuming ``test_call`` is the thing being tested):
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
# GOOD
|
||||
assert test_call() == 5
|
||||
|
||||
# BAD
|
||||
assert 5 == test_call()
|
||||
|
||||
Properly calling callables
|
||||
#######################
|
||||
##########################
|
||||
|
||||
Methods, functions and classes can specify optional parameters (with default
|
||||
values) using Python's keyword arg syntax. When providing a value to such a
|
||||
@@ -180,7 +195,7 @@ This gives us the flexibility to re-order arguments and more importantly
|
||||
to add new required arguments. It's also more explicit and easier to read.
|
||||
|
||||
Properly defining optional arguments
|
||||
########################
|
||||
####################################
|
||||
|
||||
It's always good to not initialize optional arguments at class creation,
|
||||
instead use ``**kwargs`` to get them. It's well known Telegram API can
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
<!--
|
||||
Thanks for reporting issues of python-telegram-bot!
|
||||
|
||||
Use this template to notify us if you found a bug, or if you want to request a new feature.
|
||||
If you're looking for help with programming your bot using our library, feel free to ask your
|
||||
questions in out telegram group at: https://t.me/pythontelegrambotgroup
|
||||
|
||||
To make it easier for us to help you please enter detailed information below.
|
||||
|
||||
Please note, we only support the latest version of python-telegram-bot and
|
||||
|
||||
@@ -65,9 +65,11 @@ target/
|
||||
# unitests files
|
||||
telegram.mp3
|
||||
telegram.mp4
|
||||
telegram2.mp4
|
||||
telegram.ogg
|
||||
telegram.png
|
||||
telegram.webp
|
||||
telegram.jpg
|
||||
|
||||
# original files from merges
|
||||
*.orig
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
[submodule "telegram/vendor/urllib3"]
|
||||
path = telegram/vendor/urllib3
|
||||
path = telegram/vendor/ptb_urllib3
|
||||
url = https://github.com/python-telegram-bot/urllib3.git
|
||||
branch = ptb
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
- repo: git://github.com/python-telegram-bot/mirrors-yapf
|
||||
sha: v0.12.2
|
||||
sha: master
|
||||
hooks:
|
||||
- id: yapf
|
||||
files: ^(telegram|tests)/.*\.py$
|
||||
args:
|
||||
- --diff
|
||||
- repo: git://github.com/pre-commit/pre-commit-hooks
|
||||
sha: 18d7035de5388cc7775be57f529c154bf541aab9
|
||||
sha: 78818b90cd694c29333ba54d38f9e60b6359ccfc
|
||||
hooks:
|
||||
- id: flake8
|
||||
files: ^telegram/.*\.py$
|
||||
- repo: git://github.com/pre-commit/mirrors-pylint
|
||||
sha: v1.5.5
|
||||
sha: v1.7.1
|
||||
hooks:
|
||||
- id: pylint
|
||||
files: ^telegram/.*\.py$
|
||||
args:
|
||||
- --errors-only
|
||||
- --disable=no-name-in-module,import-error
|
||||
- --disable=import-error
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
# syntax: https://docs.readthedocs.io/en/latest/yaml-config.html
|
||||
|
||||
formats:
|
||||
- pdf
|
||||
|
||||
python:
|
||||
setup_py_install: true
|
||||
|
||||
requirements_file: docs/requirements-docs.txt
|
||||
+24
-8
@@ -5,18 +5,34 @@ python:
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
- "pypy"
|
||||
- "pypy3"
|
||||
- "pypy-5.7.1"
|
||||
- "pypy3.5-5.8.0"
|
||||
|
||||
dist: trusty
|
||||
sudo: false
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.cache/pip
|
||||
- $HOME/.pre-commit
|
||||
before_cache:
|
||||
- rm -f $HOME/.cache/pip/log/debug.log
|
||||
- rm -f $HOME/.pre-commit/pre-commit.log
|
||||
|
||||
install:
|
||||
- pip install coveralls
|
||||
- pip install -r requirements.txt
|
||||
- pip install -r requirements-dev.txt
|
||||
- pip install coveralls pytest-cov
|
||||
- pip install -U wheel
|
||||
- pip install -U -r requirements.txt
|
||||
- pip install -U -r requirements-dev.txt
|
||||
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]; then pip install ujson; fi
|
||||
|
||||
script:
|
||||
- nosetests -v --with-flaky --no-flaky-report --with-coverage --cover-package=telegram/ tests
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pre-commit run --all-files; fi
|
||||
- pytest -v --cov=telegram
|
||||
|
||||
after_success:
|
||||
coveralls
|
||||
- coverage combine
|
||||
- coveralls
|
||||
+9
-3
@@ -15,8 +15,9 @@ Contributors
|
||||
|
||||
The following wonderful people contributed directly or indirectly to this project:
|
||||
|
||||
- `Avanatiker <https://github.com/Avanatiker>`_
|
||||
- `Alateas <https://github.com/alateas>`_
|
||||
- `Anton Tagunov <https://github.com/anton-tagunov>`_
|
||||
- `Avanatiker <https://github.com/Avanatiker>`_
|
||||
- `Balduro <https://github.com/Balduro>`_
|
||||
- `bimmlerd <https://github.com/bimmlerd>`_
|
||||
- `d-qoi <https://github.com/d-qoi>`_
|
||||
@@ -24,16 +25,21 @@ The following wonderful people contributed directly or indirectly to this projec
|
||||
- `Eli Gao <https://github.com/eligao>`_
|
||||
- `ErgoZ Riftbit Vaper <https://github.com/ergoz>`_
|
||||
- `Eugene Lisitsky <https://github.com/lisitsky>`_
|
||||
- `Eugenio Panadero <https://github.com/azogue>`_
|
||||
- `evgfilim1 <https://github.com/evgfilim1>`_
|
||||
- `franciscod <https://github.com/franciscod>`_
|
||||
- `Hugo Damer <https://github.com/HakimusGIT>`_
|
||||
- `ihoru <https://github.com/ihoru>`_
|
||||
- `Jacob Bom <https://github.com/bomjacob>`_
|
||||
- `JASON0916 <https://github.com/JASON0916>`_
|
||||
- `jeffffc <https://github.com/jeffffc>`_
|
||||
- `Jelle Besseling <https://github.com/pingiun>`_
|
||||
- `jh0ker <https://github.com/jh0ker>`_
|
||||
- `jlmadurga <https://github.com/jlmadurga>`_
|
||||
- `John Yong <https://github.com/whipermr5>`_
|
||||
- `Joscha Götzer <https://github.com/Rostgnom>`_
|
||||
- `jossalgon <https://github.com/jossalgon>`_
|
||||
- `JRoot3D <https://github.com/JRoot3D>`_
|
||||
- `jlmadurga <https://github.com/jlmadurga>`_
|
||||
- `Kjwon15 <https://github.com/kjwon15>`_
|
||||
- `Li-aung Yip <https://github.com/LiaungYip>`_
|
||||
- `macrojames <https://github.com/macrojames>`_
|
||||
@@ -47,7 +53,7 @@ The following wonderful people contributed directly or indirectly to this projec
|
||||
- `Patrick Hofmann <https://github.com/PH89>`_
|
||||
- `Pieter Schutz <https://github.com/eldinnie>`_
|
||||
- `Rahiel Kasim <https://github.com/rahiel>`_
|
||||
- `Joscha Götzer <https://github.com/Rostgnom>`_
|
||||
- `Sascha <https://github.com/saschalalala>`_
|
||||
- `Shelomentsev D <https://github.com/shelomentsevd>`_
|
||||
- `sooyhwang <https://github.com/sooyhwang>`_
|
||||
- `thodnev <https://github.com/thodnev>`_
|
||||
|
||||
+88
-1
@@ -1,8 +1,94 @@
|
||||
=======
|
||||
Changes
|
||||
=======
|
||||
**2017-09-01**
|
||||
*Released 8.0.0*
|
||||
|
||||
**2017-05-21**
|
||||
New features
|
||||
|
||||
- Fully support Bot Api 3.3 (PR `#806`_).
|
||||
- DispatcherHandlerStop (`see docs`_).
|
||||
- Regression fix for text_html & text_markdown (PR `#777`_).
|
||||
- Added effective_attachment to message (PR `#766`_).
|
||||
|
||||
Non backward compatible changes
|
||||
|
||||
- Removed Botan support from the library (PR `#776`_).
|
||||
- Fully support Bot Api 3.3 (PR `#806`_).
|
||||
- Remove de_json() (PR `#789`_).
|
||||
|
||||
Changes
|
||||
|
||||
- Sane defaults for tcp socket options on linux (PR `#754`_).
|
||||
- Add RESTRICTED as constant to ChatMember (PR `#761`_).
|
||||
- Add rich comparison to CallbackQuery (PR `#764`_).
|
||||
- Fix get_game_high_scores (PR `#771`_).
|
||||
- Warn on small con_pool_size during custom initalization of Updater (PR `#793`_).
|
||||
- Catch exceptions in error handlerfor errors that happen during polling (PR `#810`_).
|
||||
- For testing we switched to pytest (PR `#788`_).
|
||||
- Lot's of small improvements to our tests and documentation.
|
||||
|
||||
|
||||
.. _`see docs`: http://python-telegram-bot.readthedocs.io/en/stable/telegram.ext.dispatcher.html#telegram.ext.Dispatcher.add_handler
|
||||
.. _`#777`: https://github.com/python-telegram-bot/python-telegram-bot/pull/777
|
||||
.. _`#806`: https://github.com/python-telegram-bot/python-telegram-bot/pull/806
|
||||
.. _`#766`: https://github.com/python-telegram-bot/python-telegram-bot/pull/766
|
||||
.. _`#776`: https://github.com/python-telegram-bot/python-telegram-bot/pull/776
|
||||
.. _`#789`: https://github.com/python-telegram-bot/python-telegram-bot/pull/789
|
||||
.. _`#754`: https://github.com/python-telegram-bot/python-telegram-bot/pull/754
|
||||
.. _`#761`: https://github.com/python-telegram-bot/python-telegram-bot/pull/761
|
||||
.. _`#764`: https://github.com/python-telegram-bot/python-telegram-bot/pull/764
|
||||
.. _`#771`: https://github.com/python-telegram-bot/python-telegram-bot/pull/771
|
||||
.. _`#788`: https://github.com/python-telegram-bot/python-telegram-bot/pull/788
|
||||
.. _`#793`: https://github.com/python-telegram-bot/python-telegram-bot/pull/793
|
||||
.. _`#810`: https://github.com/python-telegram-bot/python-telegram-bot/pull/810
|
||||
|
||||
**2017-07-28**
|
||||
*Released 7.0.1*
|
||||
|
||||
- Fix TypeError exception in RegexHandler (PR #751).
|
||||
- Small documentation fix (PR #749).
|
||||
|
||||
**2017-07-25**
|
||||
*Released 7.0.0*
|
||||
|
||||
- Fully support Bot API 3.2.
|
||||
- New filters for handling messages from specific chat/user id (PR #677).
|
||||
- Add the possibility to add objects as arguments to send_* methods (PR #742).
|
||||
- Fixed download of URLs with UTF-8 chars in path (PR #688).
|
||||
- Fixed URL parsing for ``Message`` text properties (PR #689).
|
||||
- Fixed args dispatching in ``MessageQueue``'s decorator (PR #705).
|
||||
- Fixed regression preventing IPv6 only hosts from connnecting to Telegram servers (Issue #720).
|
||||
- ConvesationHandler - check if a user exist before using it (PR #699).
|
||||
- Removed deprecated ``telegram.Emoji``.
|
||||
- Removed deprecated ``Botan`` import from ``utils`` (``Botan`` is still available through ``contrib``).
|
||||
- Removed deprecated ``ReplyKeyboardHide``.
|
||||
- Removed deprecated ``edit_message`` argument of ``bot.set_game_score``.
|
||||
- Internal restructure of files.
|
||||
- Improved documentation.
|
||||
- Improved unitests.
|
||||
|
||||
**2017-06-18**
|
||||
|
||||
*Released 6.1.0*
|
||||
|
||||
- Fully support Bot API 3.0
|
||||
- Add more fine-grained filters for status updates
|
||||
- Bug fixes and other improvements
|
||||
|
||||
**2017-05-29**
|
||||
|
||||
*Released 6.0.3*
|
||||
|
||||
- Faulty PyPI release
|
||||
|
||||
**2017-05-29**
|
||||
|
||||
*Released 6.0.2*
|
||||
|
||||
- Avoid confusion with user's ``urllib3`` by renaming vendored ``urllib3`` to ``ptb_urllib3``
|
||||
|
||||
**2017-05-19**
|
||||
|
||||
*Released 6.0.1*
|
||||
|
||||
@@ -80,6 +166,7 @@ Changes
|
||||
|
||||
- Rework ``JobQueue``
|
||||
- Introduce ``ConversationHandler``
|
||||
- Introduce ``telegram.constants`` - https://github.com/python-telegram-bot/python-telegram-bot/pull/342
|
||||
|
||||
**2016-07-12**
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
.PHONY: clean pep257 pep8 yapf lint test install
|
||||
|
||||
PYLINT := pylint
|
||||
NOSETESTS := nosetests
|
||||
PYTEST := pytest
|
||||
PEP257 := pep257
|
||||
PEP8 := flake8
|
||||
YAPF := yapf
|
||||
@@ -29,7 +29,7 @@ lint:
|
||||
$(PYLINT) -E telegram --disable=no-name-in-module,import-error
|
||||
|
||||
test:
|
||||
$(NOSETESTS) -v
|
||||
$(PYTEST) -v
|
||||
|
||||
install:
|
||||
$(PIP) install -r requirements.txt -r requirements-dev.txt
|
||||
@@ -41,11 +41,11 @@ help:
|
||||
@echo "- pep8 Check style with flake8"
|
||||
@echo "- lint Check style with pylint"
|
||||
@echo "- yapf Check style with yapf"
|
||||
@echo "- test Run tests"
|
||||
@echo "- test Run tests using pytest"
|
||||
@echo
|
||||
@echo "Available variables:"
|
||||
@echo "- PYLINT default: $(PYLINT)"
|
||||
@echo "- NOSETESTS default: $(NOSETESTS)"
|
||||
@echo "- PYTEST default: $(PYTEST)"
|
||||
@echo "- PEP257 default: $(PEP257)"
|
||||
@echo "- PEP8 default: $(PEP8)"
|
||||
@echo "- YAPF default: $(YAPF)"
|
||||
|
||||
+5
-1
@@ -15,6 +15,10 @@ We have made you a wrapper you can't refuse
|
||||
:target: https://pypi.python.org/pypi/python-telegram-bot
|
||||
:alt: Supported python versions
|
||||
|
||||
.. image:: https://www.cpu.re/static/python-telegram-bot/downloads.svg
|
||||
:target: https://www.cpu.re/static/python-telegram-bot/downloads-by-python-version.txt
|
||||
:alt: PyPi Package Monthly Download
|
||||
|
||||
.. image:: https://img.shields.io/badge/docs-latest-af1a97.svg
|
||||
:target: https://python-telegram-bot.readthedocs.io/
|
||||
:alt: Documentation Status
|
||||
@@ -84,7 +88,7 @@ make the development of bots easy and straightforward. These classes are contain
|
||||
Telegram API support
|
||||
====================
|
||||
|
||||
As of **4. Dec 2016**, all types and methods of the Telegram Bot API are supported.
|
||||
As of **23. July 2017**, all types and methods of the Telegram Bot API 3.2 are supported.
|
||||
|
||||
==========
|
||||
Installing
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
environment:
|
||||
|
||||
matrix:
|
||||
# For Python versions available on Appveyor, see
|
||||
# http://www.appveyor.com/docs/installed-software#python
|
||||
# The list here is complete (excluding Python 2.6, which
|
||||
# isn't covered by this document) at the time of writing.
|
||||
|
||||
- PYTHON: "C:\\Python27"
|
||||
- PYTHON: "C:\\Python33"
|
||||
- PYTHON: "C:\\Python34"
|
||||
- PYTHON: "C:\\Python35"
|
||||
- PYTHON: "C:\\Python36"
|
||||
|
||||
install:
|
||||
# We need wheel installed to build wheels
|
||||
- "git submodule update --init --recursive"
|
||||
- "%PYTHON%\\python.exe -m pip install -U wheel"
|
||||
- "%PYTHON%\\python.exe -m pip install -r requirements.txt"
|
||||
- "%PYTHON%\\python.exe -m pip install -r requirements-dev.txt"
|
||||
|
||||
build: off
|
||||
|
||||
cache: C:\Users\appveyor\pip\wheels
|
||||
|
||||
test_script:
|
||||
- "%python%\\Scripts\\pytest -v --cov=telegram"
|
||||
@@ -1,3 +1,3 @@
|
||||
sphinx
|
||||
sphinx>=1.5.4
|
||||
sphinx_rtd_theme
|
||||
sphinx-pypi-upload
|
||||
|
||||
+22
-5
@@ -11,7 +11,6 @@
|
||||
#
|
||||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
import sys
|
||||
import os
|
||||
import shlex
|
||||
@@ -25,7 +24,7 @@ sys.path.insert(0, os.path.abspath('../..'))
|
||||
# -- General configuration ------------------------------------------------
|
||||
|
||||
# If your documentation needs a minimal Sphinx version, state it here.
|
||||
#needs_sphinx = '1.0'
|
||||
needs_sphinx = '1.5.4' # fixes issues with autodoc-skip-member and napoleon
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
@@ -59,9 +58,9 @@ author = u'Leandro Toledo'
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '6.0' # telegram.__version__[:3]
|
||||
version = '8.0' # telegram.__version__[:3]
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '6.0.1' # telegram.__version__
|
||||
release = '8.0.0' # telegram.__version__
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
@@ -136,7 +135,7 @@ html_logo = 'ptb-logo-orange.png'
|
||||
# The name of an image file (within the static path) to use as favicon of the
|
||||
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
||||
# pixels large.
|
||||
#html_favicon = None
|
||||
html_favicon = 'ptb-logo-orange.ico'
|
||||
|
||||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
@@ -289,3 +288,21 @@ texinfo_documents = [
|
||||
|
||||
# If true, do not generate a @detailmenu in the "Top" node's menu.
|
||||
#texinfo_no_detailmenu = False
|
||||
|
||||
# -- script stuff --------------------------------------------------------
|
||||
|
||||
import inspect
|
||||
|
||||
|
||||
def autodoc_skip_member(app, what, name, obj, skip, options):
|
||||
try:
|
||||
if inspect.getmodule(obj).__name__.startswith('telegram') and inspect.isfunction(obj):
|
||||
if name.lower() != name:
|
||||
return True
|
||||
except AttributeError:
|
||||
pass
|
||||
# Return None so napoleon can handle it
|
||||
|
||||
|
||||
def setup(app):
|
||||
app.connect('autodoc-skip-member', autodoc_skip_member)
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
Welcome to Python Telegram Bot's documentation!
|
||||
===============================================
|
||||
|
||||
Below you can find the documentation for the python-telegram-bot library. except for the .ext package most of the
|
||||
objects in the package reflect the types as defined by the `telegram bot api <https://core.telegram.org/bots/api>`_.
|
||||
|
||||
.. toctree::
|
||||
telegram
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 361 KiB |
@@ -1,7 +1,6 @@
|
||||
telegram.animation module
|
||||
=========================
|
||||
telegram.Animation
|
||||
==================
|
||||
|
||||
.. automodule:: telegram.animation
|
||||
.. autoclass:: telegram.Animation
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.audio module
|
||||
=====================
|
||||
telegram.Audio
|
||||
==============
|
||||
|
||||
.. automodule:: telegram.audio
|
||||
.. autoclass:: telegram.Audio
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
telegram.base module
|
||||
====================
|
||||
|
||||
.. automodule:: telegram.base
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
@@ -1,6 +1,6 @@
|
||||
telegram.bot module
|
||||
===================
|
||||
telegram.Bot
|
||||
============
|
||||
|
||||
.. automodule:: telegram.bot
|
||||
.. autoclass:: telegram.Bot
|
||||
:members:
|
||||
:show-inheritance:
|
||||
:show-inheritance:
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.callbackgame module
|
||||
============================
|
||||
telegram.Callbackgame
|
||||
=====================
|
||||
|
||||
.. automodule:: telegram.callbackgame
|
||||
.. autoclass:: telegram.CallbackGame
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.callbackquery module
|
||||
=============================
|
||||
telegram.CallbackQuery
|
||||
======================
|
||||
|
||||
.. automodule:: telegram.callbackquery
|
||||
.. autoclass:: telegram.CallbackQuery
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.chat module
|
||||
=========================
|
||||
telegram.Chat
|
||||
=============
|
||||
|
||||
.. automodule:: telegram.chat
|
||||
.. autoclass:: telegram.Chat
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.chataction module
|
||||
==========================
|
||||
telegram.ChatAction
|
||||
===================
|
||||
|
||||
.. automodule:: telegram.chataction
|
||||
.. autoclass:: telegram.ChatAction
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.chatmember module
|
||||
==========================
|
||||
telegram.ChatMember
|
||||
===================
|
||||
|
||||
.. automodule:: telegram.chatmember
|
||||
.. autoclass:: telegram.ChatMember
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
telegram.ChatPhoto
|
||||
==================
|
||||
|
||||
.. autoclass:: telegram.ChatPhoto
|
||||
:members:
|
||||
:show-inheritance:
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.choseninlineresult module
|
||||
==================================
|
||||
telegram.ChosenInlineResult
|
||||
===========================
|
||||
|
||||
.. automodule:: telegram.choseninlineresult
|
||||
.. autoclass:: telegram.ChosenInlineResult
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.constants module
|
||||
telegram.constants Module
|
||||
=========================
|
||||
|
||||
.. automodule:: telegram.constants
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.contact module
|
||||
=======================
|
||||
telegram.Contact
|
||||
================
|
||||
|
||||
.. automodule:: telegram.contact
|
||||
.. autoclass:: telegram.Contact
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
telegram.contrib.botan module
|
||||
=============================
|
||||
|
||||
.. automodule:: telegram.contrib.botan
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
@@ -1,17 +0,0 @@
|
||||
telegram.contrib package
|
||||
========================
|
||||
|
||||
Submodules
|
||||
----------
|
||||
|
||||
.. toctree::
|
||||
|
||||
telegram.contrib.botan
|
||||
|
||||
Module contents
|
||||
---------------
|
||||
|
||||
.. automodule:: telegram.contrib
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.document module
|
||||
========================
|
||||
telegram.Document
|
||||
=================
|
||||
|
||||
.. automodule:: telegram.document
|
||||
.. autoclass:: telegram.Document
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.callbackqueryhandler module
|
||||
========================================
|
||||
telegram.ext.CallbackQueryHandler
|
||||
=================================
|
||||
|
||||
.. automodule:: telegram.ext.callbackqueryhandler
|
||||
.. autoclass:: telegram.ext.CallbackQueryHandler
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.choseninlineresulthandler module
|
||||
=============================================
|
||||
telegram.ext.ChosenInlineResultHandler
|
||||
======================================
|
||||
|
||||
.. automodule:: telegram.ext.choseninlineresulthandler
|
||||
.. autoclass:: telegram.ext.ChosenInlineResultHandler
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.commandhandler module
|
||||
==================================
|
||||
telegram.ext.CommandHandler
|
||||
===========================
|
||||
|
||||
.. automodule:: telegram.ext.commandhandler
|
||||
.. autoclass:: telegram.ext.CommandHandler
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.conversationhandler module
|
||||
=======================================
|
||||
telegram.ext.ConversationHandler
|
||||
================================
|
||||
|
||||
.. automodule:: telegram.ext.conversationhandler
|
||||
.. autoclass:: telegram.ext.ConversationHandler
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
telegram.ext.DelayQueue
|
||||
=======================
|
||||
|
||||
.. autoclass:: telegram.ext.DelayQueue
|
||||
:members:
|
||||
:show-inheritance:
|
||||
:special-members:
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.dispatcher module
|
||||
==============================
|
||||
telegram.ext.Dispatcher
|
||||
=======================
|
||||
|
||||
.. automodule:: telegram.ext.dispatcher
|
||||
.. autoclass:: telegram.ext.Dispatcher
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.filters module
|
||||
telegram.ext.filters Module
|
||||
===========================
|
||||
|
||||
.. automodule:: telegram.ext.filters
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
telegram.ext.handler module
|
||||
===========================
|
||||
telegram.ext.Handler
|
||||
====================
|
||||
|
||||
.. automodule:: telegram.ext.handler
|
||||
.. autoclass:: telegram.ext.Handler
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.inlinequeryhandler module
|
||||
======================================
|
||||
telegram.ext.InlineQueryHandler
|
||||
===============================
|
||||
|
||||
.. automodule:: telegram.ext.inlinequeryhandler
|
||||
.. autoclass:: telegram.ext.InlineQueryHandler
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.jobqueue module
|
||||
============================
|
||||
telegram.ext.JobQueue
|
||||
=====================
|
||||
|
||||
.. automodule:: telegram.ext.jobqueue
|
||||
.. autoclass:: telegram.ext.JobQueue
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.messagehandler module
|
||||
==================================
|
||||
telegram.ext.MessageHandler
|
||||
===========================
|
||||
|
||||
.. automodule:: telegram.ext.messagehandler
|
||||
.. autoclass:: telegram.ext.MessageHandler
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
telegram.ext.messagequeue module
|
||||
================================
|
||||
telegram.ext.MessageQueue
|
||||
=========================
|
||||
|
||||
.. automodule:: telegram.ext.messagequeue
|
||||
.. autoclass:: telegram.ext.MessageQueue
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
:special-members:
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
telegram.ext.PreCheckoutQueryHandler
|
||||
====================================
|
||||
|
||||
.. autoclass:: telegram.ext.PreCheckoutQueryHandler
|
||||
:members:
|
||||
:show-inheritance:
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.regexhandler module
|
||||
================================
|
||||
telegram.ext.RegexHandler
|
||||
=========================
|
||||
|
||||
.. automodule:: telegram.ext.regexhandler
|
||||
.. autoclass:: telegram.ext.RegexHandler
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,14 +1,20 @@
|
||||
telegram.ext package
|
||||
====================
|
||||
|
||||
Submodules
|
||||
----------
|
||||
|
||||
.. toctree::
|
||||
|
||||
telegram.ext.updater
|
||||
telegram.ext.dispatcher
|
||||
telegram.ext.filters
|
||||
telegram.ext.jobqueue
|
||||
telegram.ext.messagequeue
|
||||
telegram.ext.delayqueue
|
||||
|
||||
Handlers
|
||||
--------
|
||||
|
||||
.. toctree::
|
||||
|
||||
telegram.ext.handler
|
||||
telegram.ext.callbackqueryhandler
|
||||
telegram.ext.choseninlineresulthandler
|
||||
@@ -16,17 +22,9 @@ Submodules
|
||||
telegram.ext.commandhandler
|
||||
telegram.ext.inlinequeryhandler
|
||||
telegram.ext.messagehandler
|
||||
telegram.ext.messagequeue
|
||||
telegram.ext.filters
|
||||
telegram.ext.precheckoutqueryhandler
|
||||
telegram.ext.regexhandler
|
||||
telegram.ext.shippingqueryhandler
|
||||
telegram.ext.stringcommandhandler
|
||||
telegram.ext.stringregexhandler
|
||||
telegram.ext.typehandler
|
||||
|
||||
Module contents
|
||||
---------------
|
||||
|
||||
.. automodule:: telegram.ext
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
telegram.ext.ShippingQueryHandler
|
||||
=================================
|
||||
|
||||
.. autoclass:: telegram.ext.ShippingQueryHandler
|
||||
:members:
|
||||
:show-inheritance:
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.stringcommandhandler module
|
||||
========================================
|
||||
telegram.ext.StringCommandHandler
|
||||
=================================
|
||||
|
||||
.. automodule:: telegram.ext.stringcommandhandler
|
||||
.. autoclass:: telegram.ext.StringCommandHandler
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.stringregexhandler module
|
||||
======================================
|
||||
telegram.ext.StringRegexHandler
|
||||
===============================
|
||||
|
||||
.. automodule:: telegram.ext.stringregexhandler
|
||||
.. autoclass:: telegram.ext.StringRegexHandler
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.typehandler module
|
||||
===============================
|
||||
telegram.ext.TypeHandler
|
||||
========================
|
||||
|
||||
.. automodule:: telegram.ext.typehandler
|
||||
.. autoclass:: telegram.ext.TypeHandler
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.ext.updater module
|
||||
===========================
|
||||
telegram.ext.Updater
|
||||
====================
|
||||
|
||||
.. automodule:: telegram.ext.updater
|
||||
.. autoclass:: telegram.ext.Updater
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.file module
|
||||
====================
|
||||
telegram.File
|
||||
=============
|
||||
|
||||
.. automodule:: telegram.file
|
||||
.. autoclass:: telegram.File
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.forcereply module
|
||||
==========================
|
||||
telegram.ForceReply
|
||||
===================
|
||||
|
||||
.. automodule:: telegram.forcereply
|
||||
.. autoclass:: telegram.ForceReply
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.game module
|
||||
====================
|
||||
telegram.Game
|
||||
=============
|
||||
|
||||
.. automodule:: telegram.game
|
||||
.. autoclass:: telegram.Game
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.gamehighscore module
|
||||
=============================
|
||||
telegram.GameHighScore
|
||||
======================
|
||||
|
||||
.. automodule:: telegram.gamehighscore
|
||||
.. autoclass:: telegram.GameHighScore
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinekeyboardbutton module
|
||||
====================================
|
||||
telegram.InlineKeyboardButton
|
||||
=============================
|
||||
|
||||
.. automodule:: telegram.inlinekeyboardbutton
|
||||
.. autoclass:: telegram.InlineKeyboardButton
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinekeyboardmarkup module
|
||||
====================================
|
||||
telegram.InlineKeyboardMarkup
|
||||
=============================
|
||||
|
||||
.. automodule:: telegram.inlinekeyboardmarkup
|
||||
.. autoclass:: telegram.InlineKeyboardMarkup
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequery module
|
||||
===========================
|
||||
telegram.InlineQuery
|
||||
====================
|
||||
|
||||
.. automodule:: telegram.inlinequery
|
||||
.. autoclass:: telegram.InlineQuery
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresult module
|
||||
=================================
|
||||
telegram.InlineQueryResult
|
||||
==========================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresult
|
||||
.. autoclass:: telegram.InlineQueryResult
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultarticle module
|
||||
========================================
|
||||
telegram.InlineQueryResultArticle
|
||||
=================================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultarticle
|
||||
.. autoclass:: telegram.InlineQueryResultArticle
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultaudio module
|
||||
======================================
|
||||
telegram.InlineQueryResultAudio
|
||||
===============================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultaudio
|
||||
.. autoclass:: telegram.InlineQueryResultAudio
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultcachedaudio module
|
||||
============================================
|
||||
telegram.InlineQueryResultCachedAudio
|
||||
=====================================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultcachedaudio
|
||||
.. autoclass:: telegram.InlineQueryResultCachedAudio
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultcacheddocument module
|
||||
===============================================
|
||||
telegram.InlineQueryResultCachedDocument
|
||||
========================================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultcacheddocument
|
||||
.. autoclass:: telegram.InlineQueryResultCachedDocument
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultcachedgif module
|
||||
==========================================
|
||||
telegram.InlineQueryResultCachedGif
|
||||
===================================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultcachedgif
|
||||
.. autoclass:: telegram.InlineQueryResultCachedGif
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultcachedmpeg4gif module
|
||||
===============================================
|
||||
telegram.InlineQueryResultCachedMpeg4Gif
|
||||
========================================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultcachedmpeg4gif
|
||||
.. autoclass:: telegram.InlineQueryResultCachedMpeg4Gif
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultcachedphoto module
|
||||
============================================
|
||||
telegram.InlineQueryResultCachedPhoto
|
||||
=====================================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultcachedphoto
|
||||
.. autoclass:: telegram.InlineQueryResultCachedPhoto
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultcachedsticker module
|
||||
==============================================
|
||||
telegram.InlineQueryResultCachedSticker
|
||||
=======================================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultcachedsticker
|
||||
.. autoclass:: telegram.InlineQueryResultCachedSticker
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultcachedvideo module
|
||||
============================================
|
||||
telegram.InlineQueryResultCachedVideo
|
||||
=====================================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultcachedvideo
|
||||
.. autoclass:: telegram.InlineQueryResultCachedVideo
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultcachedvoice module
|
||||
============================================
|
||||
telegram.InlineQueryResultCachedVoice
|
||||
=====================================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultcachedvoice
|
||||
.. autoclass:: telegram.InlineQueryResultCachedVoice
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultcontact module
|
||||
========================================
|
||||
telegram.InlineQueryResultContact
|
||||
=================================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultcontact
|
||||
.. autoclass:: telegram.InlineQueryResultContact
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultdocument module
|
||||
=========================================
|
||||
telegram.InlineQueryResultDocument
|
||||
==================================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultdocument
|
||||
.. autoclass:: telegram.InlineQueryResultDocument
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultgame module
|
||||
=====================================
|
||||
telegram.InlineQueryResultGame
|
||||
==============================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultgame
|
||||
.. autoclass:: telegram.InlineQueryResultGame
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultgif module
|
||||
====================================
|
||||
telegram.InlineQueryResultGif
|
||||
=============================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultgif
|
||||
.. autoclass:: telegram.InlineQueryResultGif
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultlocation module
|
||||
=========================================
|
||||
telegram.InlineQueryResultLocation
|
||||
==================================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultlocation
|
||||
.. autoclass:: telegram.InlineQueryResultLocation
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultmpeg4gif module
|
||||
=========================================
|
||||
telegram.InlineQueryResultMpeg4Gif
|
||||
==================================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultmpeg4gif
|
||||
.. autoclass:: telegram.InlineQueryResultMpeg4Gif
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultphoto module
|
||||
======================================
|
||||
telegram.InlineQueryResultPhoto
|
||||
===============================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultphoto
|
||||
.. autoclass:: telegram.InlineQueryResultPhoto
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultvenue module
|
||||
======================================
|
||||
telegram.InlineQueryResultVenue
|
||||
===============================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultvenue
|
||||
.. autoclass:: telegram.InlineQueryResultVenue
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultvideo module
|
||||
======================================
|
||||
telegram.InlineQueryResultVideo
|
||||
===============================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultvideo
|
||||
.. autoclass:: telegram.InlineQueryResultVideo
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inlinequeryresultvoice module
|
||||
======================================
|
||||
telegram.InlineQueryResultVoice
|
||||
===============================
|
||||
|
||||
.. automodule:: telegram.inlinequeryresultvoice
|
||||
.. autoclass:: telegram.InlineQueryResultVoice
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inputcontactmessagecontent module
|
||||
==========================================
|
||||
telegram.InputContactMessageContent
|
||||
===================================
|
||||
|
||||
.. automodule:: telegram.inputcontactmessagecontent
|
||||
.. autoclass:: telegram.InputContactMessageContent
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inputfile module
|
||||
=========================
|
||||
telegram.InputFile
|
||||
==================
|
||||
|
||||
.. automodule:: telegram.inputfile
|
||||
.. autoclass:: telegram.InputFile
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inputlocationmessagecontent module
|
||||
===========================================
|
||||
telegram.InputLocationMessageContent
|
||||
====================================
|
||||
|
||||
.. automodule:: telegram.inputlocationmessagecontent
|
||||
.. autoclass:: telegram.InputLocationMessageContent
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inputmessagecontent module
|
||||
===================================
|
||||
telegram.InputMessageContent
|
||||
============================
|
||||
|
||||
.. automodule:: telegram.inputmessagecontent
|
||||
.. autoclass:: telegram.InputMessageContent
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inputtextmessagecontent module
|
||||
=======================================
|
||||
telegram.InputTextMessageContent
|
||||
================================
|
||||
|
||||
.. automodule:: telegram.inputtextmessagecontent
|
||||
.. autoclass:: telegram.InputTextMessageContent
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.inputvenuemessagecontent module
|
||||
========================================
|
||||
telegram.InputVenueMessageContent
|
||||
=================================
|
||||
|
||||
.. automodule:: telegram.inputvenuemessagecontent
|
||||
.. autoclass:: telegram.InputVenueMessageContent
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
telegram.Invoice
|
||||
================
|
||||
|
||||
.. autoclass:: telegram.Invoice
|
||||
:members:
|
||||
:show-inheritance:
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.keyboardbutton module
|
||||
==============================
|
||||
telegram.KeyboardButton
|
||||
=======================
|
||||
|
||||
.. automodule:: telegram.keyboardbutton
|
||||
.. autoclass:: telegram.KeyboardButton
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
telegram.LabeledPrice
|
||||
=====================
|
||||
|
||||
.. autoclass:: telegram.LabeledPrice
|
||||
:members:
|
||||
:show-inheritance:
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.location module
|
||||
========================
|
||||
telegram.Location
|
||||
=================
|
||||
|
||||
.. automodule:: telegram.location
|
||||
.. autoclass:: telegram.Location
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
telegram.MaskPosition
|
||||
=====================
|
||||
|
||||
.. autoclass:: telegram.MaskPosition
|
||||
:members:
|
||||
:show-inheritance:
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.message module
|
||||
=======================
|
||||
telegram.Message
|
||||
================
|
||||
|
||||
.. automodule:: telegram.message
|
||||
.. autoclass:: telegram.Message
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.messageentity module
|
||||
=============================
|
||||
telegram.MessageEntity
|
||||
======================
|
||||
|
||||
.. automodule:: telegram.messageentity
|
||||
.. autoclass:: telegram.MessageEntity
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
telegram.OrderInfo
|
||||
==================
|
||||
|
||||
.. autoclass:: telegram.OrderInfo
|
||||
:members:
|
||||
:show-inheritance:
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.parsemode module
|
||||
=========================
|
||||
telegram.ParseMode
|
||||
==================
|
||||
|
||||
.. automodule:: telegram.parsemode
|
||||
.. autoclass:: telegram.ParseMode
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.photosize module
|
||||
=========================
|
||||
telegram.PhotoSize
|
||||
==================
|
||||
|
||||
.. automodule:: telegram.photosize
|
||||
.. autoclass:: telegram.PhotoSize
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
telegram.PreCheckoutQuery
|
||||
=========================
|
||||
|
||||
.. autoclass:: telegram.PreCheckoutQuery
|
||||
:members:
|
||||
:show-inheritance:
|
||||
@@ -1,7 +1,6 @@
|
||||
telegram.replykeyboardmarkup module
|
||||
===================================
|
||||
telegram.ReplyKeyboardMarkup
|
||||
============================
|
||||
|
||||
.. automodule:: telegram.replykeyboardmarkup
|
||||
.. autoclass:: telegram.ReplyKeyboardMarkup
|
||||
:members:
|
||||
:undoc-members:
|
||||
:show-inheritance:
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user