Compare commits

..

32 Commits

Author SHA1 Message Date
Hinrich Mahler 680cca8262 Bump version to v13.15 2022-12-06 10:58:30 +01:00
Poolitzer d6c6cc231e API 6.3 (#3392)
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-12-06 10:13:06 +01:00
Bibo-Joshi 01167c805b Fix Bugs in Bot.answer_web_app_query (#3364) 2022-11-18 15:00:13 +01:00
Hinrich Mahler b818dadbad Bump version to v13.14 2022-09-04 09:58:25 +02:00
Poolitzer dca596dd3d API 6.2 (#3203) 2022-09-04 09:15:35 +02:00
Bibo-Joshi d0c1a957c9 Documentation Improvements (#3144, #3140, #3164)
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
Co-authored-by: Javadz <zahiri1994@gmail.com>
2022-09-04 09:14:56 +02:00
Bibo-Joshi 2ae3d4d63c Pin tornado to Version 6.1 (#3145) 2022-07-09 09:25:01 +02:00
Hinrich Mahler 132a3b203d Bump version to v13.13 2022-06-28 19:54:45 +02:00
Poolitzer debe86aea2 API 6.1 (#3117)
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-06-28 19:34:12 +02:00
Poolitzer 7a7465e8e2 Fix: python_requires ammending 2022-06-12 15:35:58 +02:00
Poolitzer 977c54e693 Fix: Making clear that we drop python 3.6 2022-06-12 15:27:50 +02:00
Hinrich Mahler a769861b32 Bump version to v13.11 2022-05-26 15:15:40 +02:00
Bibo-Joshi 0a00a821cb Documentation Improvements (#3029)
Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>

Co-authored-by: Sukka <isukkaw@gmail.com>
2022-05-26 11:10:45 +02:00
Poolitzer ef2a0527fe API 6.0 (#3027)
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2022-05-25 17:40:01 +02:00
Hinrich Mahler 92cb6f3ae8 Bump version to v13.11 2022-02-02 21:16:36 +01:00
Harshil a35ecf4065 API 5.7 (#2881) 2022-02-02 21:05:46 +01:00
Hinrich Mahler ade1529986 Bump version to v13.10 2022-01-03 08:36:27 +01:00
Harshil e6d9f3d057 Update Copyright to 2022 (#2836) 2022-01-03 08:15:18 +01:00
Harshil 98bf378c6e API 5.6 (#2835) 2022-01-03 08:13:33 +01:00
Poolitzer c4b413ef9e Update Documentation of BotCommand (#2820) 2021-12-17 16:12:34 +01:00
Hinrich Mahler a9dd2b1746 Bump version to v13.9 2021-12-11 15:44:21 +01:00
Bibo-Joshi cb95868c4a Api 5.5 (#2809)
Co-authored-by: poolitzer <github@poolitzer.eu>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
2021-12-11 15:21:56 +01:00
Bibo-Joshi 2f6c4075c8 Adjust Automated Locking of Inactive Closed Threads (#2775) 2021-11-10 21:16:59 +01:00
Hinrich Mahler c53dc7dae4 Bump version to v13.8.1 2021-11-08 20:09:23 +01:00
Bibo-Joshi 8b3ea5ce56 Add ChatJoinRequest(Handler) to Docs (#2771) 2021-11-08 19:56:57 +01:00
Hinrich Mahler 51a4a6664c Bump version to v13.8 2021-11-08 19:12:10 +01:00
Bibo-Joshi e4dc80f41d API 5.4 (#2767)
Co-authored-by: poolitzer <25934244+Poolitzer@users.noreply.github.com>
2021-11-08 19:02:20 +01:00
Abshar Mohammed Aslam bc7c422a11 Create Issue Template Forms (#2689) 2021-10-03 20:08:04 +02:00
Yan c3e3bb77e5 Fix camelCase Functions in ExtBot (#2659)
Co-authored-by: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com>
2021-09-15 17:07:11 +02:00
DonalDuck004 a25c76e6a3 Fix Empty Captions not Being Passed by Bot.copy_message (#2651) 2021-09-09 07:50:04 +02:00
Mehdi 0c5085022c Fix Setting Thumbs When Uploading A Single File (#2583)
* Update request.py

If the media has a thumb, we also need to attach it to the data.

* Add test

* Editing syntax

* Debug test

* update request.py

* Update test_inputmedia.py

* Update test_inputmedia.py

* Update test_inputmedia.py

Fix test.

* Update AUTHORS.rst

Adding my name!

* Update AUTHORS.rst
2021-08-11 08:34:47 +02:00
Bibo-Joshi 1fdaaac809 Fix Bug in BasePersistence.insert/replace_bot for Objects with __dict__ not in __slots__ (#2603)
* More special cases with slots

* Fix failing tests
2021-07-24 17:17:25 +02:00
519 changed files with 8953 additions and 1151 deletions
+76
View File
@@ -0,0 +1,76 @@
name: Bug Report
description: Create a report to help us improve
title: "[BUG]"
labels: ["bug :bug:"]
body:
- type: markdown
attributes:
value: |
Thanks for reporting issues of python-telegram-bot!
Use this template to notify us if you found a bug.
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 master branch. Please make sure to upgrade & recreate the issue on the latest version prior to opening an issue.
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
value: |
1.
2.
3.
validations:
required: true
- type: textarea
id: expected-behaviour
attributes:
label: Expected behaviour
description: Tell us what should happen
validations:
required: true
- type: textarea
id: actual-behaviour
attributes:
label: Actual behaviour
description: Tell us what happens instead
validations:
required: true
- type: markdown
attributes:
value: "### Configuration"
- type: input
id: operating-system
attributes:
label: Operating System
validations:
required: true
- type: textarea
id: versions
attributes:
label: Version of Python, python-telegram-bot & dependencies
description: Paste the output of `$ python -m telegram` here. This will be automatically formatted into code, so no need for backticks.
render: shell
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Insert logs here (if necessary). This will be automatically formatted into code, so no need for backticks.
render: python
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: You may provide any other additional context to the bug here.
-43
View File
@@ -1,43 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: 'bug :bug:'
assignees: ''
---
<!--
Thanks for reporting issues of python-telegram-bot!
Use this template to notify us if you found a bug.
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
master branch. Please make sure to upgrade & recreate the issue on the latest
version prior to opening an issue.
-->
### Steps to reproduce
1.
2.
3.
### Expected behaviour
Tell us what should happen
### Actual behaviour
Tell us what happens instead
### Configuration
**Operating System:**
**Version of Python, python-telegram-bot & dependencies:**
``$ python -m telegram``
### Logs
Insert logs here (if necessary)
@@ -0,0 +1,37 @@
name: Feature Request
description: Suggest an idea for this project
title: "[FEATURE]"
labels: ["enhancement"]
body:
- type: textarea
id: related-problem
attributes:
label: "What kind of feature are you missing? Where do you notice a shortcoming of PTB?"
description: "A clear and concise description of what the problem is."
placeholder: "Example: I want to do X, but there is no way to do it."
validations:
required: true
- type: textarea
id: solution
attributes:
label: "Describe the solution you'd like"
description: "A clear and concise description of what you want to happen."
placeholder: "Example: I think it would be nice if you would add feature Y so I can do X."
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: "Describe alternatives you've considered"
description: "A clear and concise description of any alternative solutions or features you've considered."
placeholder: "Example: I considered Z to be able to do X, but that didn't work because..."
- type: textarea
id: additional-context
attributes:
label: "Additional context"
description: "Add any other context or screenshots about the feature request here."
placeholder: "Example: Here's a photo of my cat!"
-24
View File
@@ -1,24 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FEATURE]"
labels: enhancement
assignees: ''
---
#### Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Ex. *I want to do X, but there is no way to do it.*
#### Describe the solution you'd like
A clear and concise description of what you want to happen.
Ex. *I think it would be nice if you would add feature Y so it will make it easier.*
#### Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Ex. *I considered Z, but that didn't work because...*
#### Additional context
Add any other context or screenshots about the feature request here.
Ex. *Here's a photo of my cat!*
-29
View File
@@ -1,29 +0,0 @@
---
name: Question
about: Get help with errors or general questions
title: "[QUESTION]"
labels: question
assignees: ''
---
<!--
Hey there, you have a question? We are happy to answer. Please make sure no similar question was opened already.
To make it easier for us to help you, please read this article https://git.io/JURJO and try to follow the template below as closely as possible.
Please mind that there is also a users' Telegram group at https://t.me/pythontelegrambotgroup for questions about the library. Questions asked there might be answered quicker than here. Moreover, GitHub Discussions at https://git.io/JG3rk offer a slightly better format to discuss usage questions.
-->
### Issue I am facing
Please describe the issue here in as much detail as possible
### Traceback to the issue
```
put it here
```
### Related part of your code
```python
put it here
```
+68
View File
@@ -0,0 +1,68 @@
name: Question
description: Get help with errors or general questions
title: "[QUESTION]"
labels: ["question"]
body:
- type: markdown
attributes:
value: |
Hey there, you have a question? We are happy to answer. Please make sure no similar question was opened already.
To make it easier for us to help you, please read this [article](https://github.com/python-telegram-bot/python-telegram-bot/wiki/Ask-Right).
Please mind that there is also a users' [Telegram group](https://t.me/pythontelegrambotgroup) for questions about the library. Questions asked there might be answered quicker than here. Moreover, [GitHub Discussions](https://github.com/python-telegram-bot/python-telegram-bot/discussions) offer a slightly better format to discuss usage questions.
- type: textarea
id: issue-faced
attributes:
label: "Issue I am facing"
description: "Please describe the issue here in as much detail as possible"
validations:
required: true
- type: textarea
id: traceback
attributes:
label: "Traceback to the issue"
description: "If you are facing a specific error message, please paste the traceback here. This will be automatically formatted into python code, so no need for backticks."
placeholder: |
Traceback (most recent call last):
File "/home/bot.py", line 1, in main
foo = bar()
...
telegram.error.BadRequest: Traceback not found
render: python
- type: textarea
id: related-code
attributes:
label: "Related part of your code"
description: "This will be automatically formatted into code (python), so no need for backticks."
placeholder: |
logging.basicConfig(
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s", level=logging.INFO
)
logger = logging.getLogger(__name__)
render: python
- type: markdown
attributes:
value: "### Configuration"
- type: input
id: operating-system
attributes:
label: Operating System
validations:
required: true
- type: textarea
id: versions
attributes:
label: Version of Python, python-telegram-bot & dependencies
description: Paste the output of `$ python -m telegram` here. This will be automatically formatted into code, so no need for backticks.
render: shell
validations:
required: true
+1
View File
@@ -7,6 +7,7 @@ Hey! You're PRing? Cool! Please have a look at the below checklist. It's here to
- [ ] Added `.. versionadded:: version`, `.. versionchanged:: version` or `.. deprecated:: version` to the docstrings for user facing changes (for methods/class descriptions, arguments and attributes)
- [ ] Created new or adapted existing unit tests
- [ ] Added myself alphabetically to `AUTHORS.rst` (optional)
- [ ] Added new classes & modules to the docs
### If the PR contains API changes (otherwise, you can delete this passage)
+2 -2
View File
@@ -12,7 +12,7 @@ jobs:
- uses: dessant/lock-threads@v2.0.1
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '1'
issue-lock-inactive-days: '7'
issue-lock-reason: ''
pr-lock-inactive-days: '1'
pr-lock-inactive-days: '7'
pr-lock-reason: ''
+3 -25
View File
@@ -3,9 +3,11 @@ on:
pull_request:
branches:
- master
- v13.x
push:
branches:
- master
- v13.x
jobs:
pytest:
@@ -13,7 +15,7 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: False
steps:
@@ -94,27 +96,3 @@ jobs:
env:
TEST_OFFICIAL: "true"
shell: bash --noprofile --norc {0}
test_pre_commit:
name: test-pre-commit
runs-on: ${{matrix.os}}
strategy:
matrix:
python-version: [3.7]
os: [ubuntu-latest]
fail-fast: False
steps:
- uses: actions/checkout@v2
- name: Initialize vendored libs
run:
git submodule update --init --recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -W ignore -m pip install --upgrade pip
python -W ignore -m pip install -r requirements.txt
python -W ignore -m pip install -r requirements-dev.txt
- name: Run pre-commit tests
run: pre-commit run --all-files
+11 -6
View File
@@ -1,15 +1,20 @@
# Make sure that
# * the revs specified here match requirements-dev.txt
# * the additional_dependencies here match requirements.txt
ci:
# We currently only need this behavior on the v13.x branch were we have the vendored urllib
submodules: true
repos:
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 22.3.0
hooks:
- id: black
args:
- --diff
- --check
- repo: https://gitlab.com/pycqa/flake8
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
@@ -22,7 +27,7 @@ repos:
- --rcfile=setup.cfg
additional_dependencies:
- certifi
- tornado>=6.1
- tornado==6.1
- APScheduler==3.6.3
- cachetools==4.2.2
- . # this basically does `pip install -e .`
@@ -34,7 +39,7 @@ repos:
files: ^telegram/.*\.py$
additional_dependencies:
- certifi
- tornado>=6.1
- tornado==6.1
- APScheduler==3.6.3
- cachetools==4.2.2
- . # this basically does `pip install -e .`
@@ -46,12 +51,12 @@ repos:
- --follow-imports=silent
additional_dependencies:
- certifi
- tornado>=6.1
- tornado==6.1
- APScheduler==3.6.3
- cachetools==4.2.2
- . # this basically does `pip install -e .`
- repo: https://github.com/asottile/pyupgrade
rev: v2.19.1
rev: v3.2.2
hooks:
- id: pyupgrade
files: ^(telegram|examples|tests)/.*\.py$
+4
View File
@@ -26,6 +26,7 @@ Contributors
The following wonderful people contributed directly or indirectly to this project:
- `Abshar <https://github.com/abxhr>`_
- `Alateas <https://github.com/alateas>`_
- `Ales Dokshanin <https://github.com/alesdokshanin>`_
- `Ambro17 <https://github.com/Ambro17>`_
@@ -39,6 +40,7 @@ The following wonderful people contributed directly or indirectly to this projec
- `daimajia <https://github.com/daimajia>`_
- `Daniel Reed <https://github.com/nmlorg>`_
- `D David Livingston <https://github.com/daviddl9>`_
- `DonalDuck004 <https://github.com/DonalDuck004>`_
- `Eana Hufwe <https://github.com/blueset>`_
- `Ehsan Online <https://github.com/ehsanonline>`_
- `Eli Gao <https://github.com/eligao>`_
@@ -57,6 +59,7 @@ The following wonderful people contributed directly or indirectly to this projec
- `ihoru <https://github.com/ihoru>`_
- `Jasmin Bom <https://github.com/jsmnbom>`_
- `JASON0916 <https://github.com/JASON0916>`_
- `Javad94 <https://github.com/javad94>`_
- `jeffffc <https://github.com/jeffffc>`_
- `Jelle Besseling <https://github.com/pingiun>`_
- `jh0ker <https://github.com/jh0ker>`_
@@ -84,6 +87,7 @@ The following wonderful people contributed directly or indirectly to this projec
- `Oleg Sushchenko <https://github.com/feuillemorte>`_
- `Or Bin <https://github.com/OrBin>`_
- `overquota <https://github.com/overquota>`_
- `Paradox <https://github.com/paradox70>`_
- `Patrick Hofmann <https://github.com/PH89>`_
- `Paul Larsen <https://github.com/PaulSonOfLars>`_
- `Pieter Schutz <https://github.com/eldinnie>`_
+158 -2
View File
@@ -2,6 +2,162 @@
Changelog
=========
Version 13.15
=============
*Released 2022-12-06*
This is the technical changelog for version 13.15. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>`_.
**Major Changes:**
- Full Support for API 6.3 (`#3392`_)
**Bug Fixes:**
- Fix Bugs in ``Bot.answer_web_app_query`` (`#3364`_)
.. _`#3392`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3392
.. _`#3364`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3364
Version 13.14
=============
*Released 2022-09-04*
This is the technical changelog for version 13.14. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>`_.
**Major Changes:**
- Full Support for API 6.2 (`#3203`_)
**Minor Changes:**
- Documentation Improvements (`#3144`_, `#3140`_, `#3164`_)
- Pin `tornado` to Version 6.1 (`#3145`_)
.. _`#3203`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3203
.. _`#3144`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3144
.. _`#3140`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3140
.. _`#3164`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3164
.. _`#3145`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3145
Version 13.13
=============
*Released 2022-06-28*
This is the technical changelog for version 13.13. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>`_.
**Major Changes:**
- Full Support for API 6.1 (`#3117`_)
.. _`#3117`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3117
Version 13.12
=============
*Released 2022-05-26*
This is the technical changelog for version 13.12. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>`_.
**Breaking changes:**
- Drop support for python 3.6
**Major Changes:**
- Full Support for API 6.0 (`#3027`_)
**Minor Changes:**
- Documentation Improvements (`#3029`_)
.. _`#3027`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3027
.. _`#3029`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3029
Version 13.11
=============
*Released 2022-02-02*
This is the technical changelog for version 13.11. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>`_.
**Major Changes:**
- Full Support for Bot API 5.7 (`#2881`_)
.. _`#2881`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2881
Version 13.10
=============
*Released 2022-01-03*
This is the technical changelog for version 13.10. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>`_.
**Major Changes:**
- Full Support for API 5.6 (`#2835`_)
**Minor Changes & Doc fixes:**
- Update Copyright to 2022 (`#2836`_)
- Update Documentation of ``BotCommand`` (`#2820`_)
.. _`#2835`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2835
.. _`#2836`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2836
.. _`#2820`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2820
Version 13.9
============
*Released 2021-12-11*
This is the technical changelog for version 13.9. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>`_.
**Major Changes:**
- Full Support for Api 5.5 (`#2809`_)
**Minor Changes**
- Adjust Automated Locking of Inactive Issues (`#2775`_)
.. _`#2809`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2809
.. _`#2775`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2775
Version 13.8.1
==============
*Released 2021-11-08*
This is the technical changelog for version 13.8.1. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>`_.
**Doc fixes:**
- Add ``ChatJoinRequest(Handler)`` to Docs (`#2771`_)
.. _`#2771`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2771
Version 13.8
============
*Released 2021-11-08*
This is the technical changelog for version 13.8. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>`_.
**Major Changes:**
- Full support for API 5.4 (`#2767`_)
**Minor changes, CI improvements, Doc fixes and Type hinting:**
- Create Issue Template Forms (`#2689`_)
- Fix ``camelCase`` Functions in ``ExtBot`` (`#2659`_)
- Fix Empty Captions not Being Passed by ``Bot.copy_message`` (`#2651`_)
- Fix Setting Thumbs When Uploading A Single File (`#2583`_)
- Fix Bug in ``BasePersistence.insert``/``replace_bot`` for Objects with ``__dict__`` not in ``__slots__`` (`#2603`_)
.. _`#2767`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2767
.. _`#2689`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2689
.. _`#2659`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2659
.. _`#2651`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2651
.. _`#2583`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2583
.. _`#2603`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2603
Version 13.7
============
*Released 2021-07-01*
@@ -810,7 +966,7 @@ Expect minor releases soon (mainly complete Bot API 4.4 support)
- Error Handler now handles all types of exceptions (`#1485`_)
- Return UTC from from_timestamp() (`#1485`_)
**See the wiki page at https://git.io/fxJuV for a detailed guide on how to migrate from version 11 to version 12.**
**See the wiki page at https://github.com/python-telegram-bot/python-telegram-bot/wiki/Transition-guide-to-Version-12.0 for a detailed guide on how to migrate from version 11 to version 12.**
Context based callbacks (`#1100`_)
----------------------------------
@@ -1015,7 +1171,7 @@ Non Bot API 4.0 changes:
.. _`#1172`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1172
.. _`#1179`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1179
.. _`#1184`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1184
.. _`our telegram passport wiki page`: https://git.io/fAvYd
.. _`our telegram passport wiki page`: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Telegram-Passport
Version 10.1.0
==============
+8 -7
View File
@@ -1,5 +1,5 @@
..
Make user to apply any changes to this file to README_RAW.rst as well!
Make sure to apply any changes to this file to README_RAW.rst as well!
.. image:: https://github.com/python-telegram-bot/logos/blob/master/logo-text/png/ptb-logo-text_768.png?raw=true
:align: center
@@ -20,7 +20,7 @@ We have a vibrant community of developers helping each other in our `Telegram gr
:target: https://pypi.org/project/python-telegram-bot/
:alt: Supported Python versions
.. image:: https://img.shields.io/badge/Bot%20API-5.3-blue?logo=telegram
.. image:: https://img.shields.io/badge/Bot%20API-6.3-blue?logo=telegram
:target: https://core.telegram.org/bots/api-changelog
:alt: Supported Bot API versions
@@ -87,19 +87,20 @@ Table of contents
- `License`_
============
Introduction
============
This library provides a pure Python interface for the
`Telegram Bot API <https://core.telegram.org/bots/api>`_.
It's compatible with Python versions 3.6.8+. PTB might also work on `PyPy <http://pypy.org/>`_, though there have been a lot of issues before. Hence, PyPy is not officially supported.
It's compatible with Python versions 3.7+. PTB might also work on `PyPy <http://pypy.org/>`_, though there have been a lot of issues before. Hence, PyPy is not officially supported.
In addition to the pure API implementation, this library features a number of high-level classes to
make the development of bots easy and straightforward. These classes are contained in the
``telegram.ext`` submodule.
A pure API implementation *without* ``telegram.ext`` is available as the standalone package ``python-telegram-bot-raw``. `See here for details. <https://github.com/python-telegram-bot/python-telegram-bot/blob/master/README_RAW.rst>`_
A pure API implementation *without* ``telegram.ext`` is available as the standalone package ``python-telegram-bot-raw``. `See here for details. <https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/README_RAW.rst>`_
----
Note
@@ -111,7 +112,7 @@ Installing both ``python-telegram-bot`` and ``python-telegram-bot-raw`` in conju
Telegram API support
====================
All types and methods of the Telegram Bot API **5.3** are supported.
All types and methods of the Telegram Bot API **6.2** are supported.
==========
Installing
@@ -171,7 +172,7 @@ look at ``echobot.py``, it is the de facto base for most of the bots out there.
the code for these examples are released to the public domain, so you can start by grabbing the
code and building on top of it.
Visit `this page <https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/README.md>`_ to discover the official examples or look at the examples on the `wiki <https://github.com/python-telegram-bot/python-telegram-bot/wiki/Examples>`_ to see other bots the community has built.
Visit `this page <https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/examples/README.md>`_ to discover the official examples or look at the examples on the `wiki <https://github.com/python-telegram-bot/python-telegram-bot/wiki/Examples>`_ to see other bots the community has built.
-------
Logging
@@ -226,7 +227,7 @@ You can get help in several ways:
Contributing
============
Contributions of all sizes are welcome. Please review our `contribution guidelines <https://github.com/python-telegram-bot/python-telegram-bot/blob/master/.github/CONTRIBUTING.rst>`_ to get started. You can also help by `reporting bugs <https://github.com/python-telegram-bot/python-telegram-bot/issues/new>`_.
Contributions of all sizes are welcome. Please review our `contribution guidelines <https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/.github/CONTRIBUTING.rst>`_ to get started. You can also help by `reporting bugs <https://github.com/python-telegram-bot/python-telegram-bot/issues/new>`_.
========
Donating
+5 -5
View File
@@ -1,5 +1,5 @@
..
Make user to apply any changes to this file to README.rst as well!
Make sure to apply any changes to this file to README.rst as well!
.. image:: https://github.com/python-telegram-bot/logos/blob/master/logo-text/png/ptb-raw-logo-text_768.png?raw=true
:align: center
@@ -20,7 +20,7 @@ We have a vibrant community of developers helping each other in our `Telegram gr
:target: https://pypi.org/project/python-telegram-bot-raw/
:alt: Supported Python versions
.. image:: https://img.shields.io/badge/Bot%20API-5.3-blue?logo=telegram
.. image:: https://img.shields.io/badge/Bot%20API-6.3-blue?logo=telegram
:target: https://core.telegram.org/bots/api-changelog
:alt: Supported Bot API versions
@@ -91,7 +91,7 @@ Introduction
This library provides a pure Python, lightweight interface for the
`Telegram Bot API <https://core.telegram.org/bots/api>`_.
It's compatible with Python versions 3.6.8+. PTB-Raw might also work on `PyPy <http://pypy.org/>`_, though there have been a lot of issues before. Hence, PyPy is not officially supported.
It's compatible with Python versions 3.7+. PTB-Raw might also work on `PyPy <http://pypy.org/>`_, though there have been a lot of issues before. Hence, PyPy is not officially supported.
``python-telegram-bot-raw`` is part of the `python-telegram-bot <https://python-telegram-bot.org>`_ ecosystem and provides the pure API functionality extracted from PTB. It therefore does *not* have independent release schedules, changelogs or documentation. Please consult the PTB resources.
@@ -105,7 +105,7 @@ Installing both ``python-telegram-bot`` and ``python-telegram-bot-raw`` in conju
Telegram API support
====================
All types and methods of the Telegram Bot API **5.3** are supported.
All types and methods of the Telegram Bot API **6.2** are supported.
==========
Installing
@@ -208,7 +208,7 @@ You can get help in several ways:
Contributing
============
Contributions of all sizes are welcome. Please review our `contribution guidelines <https://github.com/python-telegram-bot/python-telegram-bot/blob/master/.github/CONTRIBUTING.rst>`_ to get started. You can also help by `reporting bugs <https://github.com/python-telegram-bot/python-telegram-bot/issues/new>`_.
Contributions of all sizes are welcome. Please review our `contribution guidelines <https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/.github/CONTRIBUTING.rst>`_ to get started. You can also help by `reporting bugs <https://github.com/python-telegram-bot/python-telegram-bot/issues/new>`_.
========
Donating
+5
View File
@@ -1,6 +1,11 @@
sphinx==3.5.4
# sphinx breaks because it relies on an removed param from jinja2, so pinning to old version
Jinja2<3.1
sphinx-pypi-upload
# When bumping this, make sure to rebuild the dark-mode CSS
# More instructions at source/_static/dark.css
# Ofc once https://github.com/readthedocs/sphinx_rtd_theme/issues/224 is closed, we should use that
sphinx_rtd_theme==0.5.2
# Restricted to fix ImportError for v3.1 and higher of Jinja2 alongside sphinx v3.5.4 as discussed in
# https://github.com/python-telegram-bot/python-telegram-bot/pull/3164#issuecomment-1193002217
Jinja2<3.1
+1 -1
View File
@@ -2,7 +2,7 @@
/*
Generated by https://darkreader.org
Instructions: Install the extension on a Chromium-based browser
Then do this to export the CSS: https://git.io/JOM6t and drop it here
Then do this to export the CSS: https://github.com/darkreader/darkreader/issues/604#issuecomment-661107893 and drop it here
Some color values where manually changed - just search for "/*" in this file and insert them in the new css
*/
/* User-Agent Style */
+7 -3
View File
@@ -13,6 +13,7 @@
# serve to show the default.
import sys
import os
from pathlib import Path
# import telegram
# If extensions (or modules to document with autodoc) are in another directory,
@@ -50,9 +51,12 @@ source_suffix = '.rst'
# The master toctree document.
master_doc = 'index'
# Global substitutions
rst_prolog = (Path.cwd() / "../substitutions/global.rst").read_text(encoding="utf-8")
# General information about the project.
project = u'python-telegram-bot'
copyright = u'2015-2021, Leandro Toledo'
copyright = u'2015-2022, Leandro Toledo'
author = u'Leandro Toledo'
# The version info for the project you're documenting, acts as replacement for
@@ -60,9 +64,9 @@ author = u'Leandro Toledo'
# built documents.
#
# The short X.Y version.
version = '13.7' # telegram.__version__[:3]
version = '13.15' # telegram.__version__[:3]
# The full version, including alpha/beta/rc tags.
release = '13.7' # telegram.__version__
release = '13.15' # telegram.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/files/animation.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/files/animation.py
telegram.Animation
==================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/files/audio.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/files/audio.py
telegram.Audio
==============
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/bot.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/bot.py
telegram.Bot
============
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/botcommand.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/botcommand.py
telegram.BotCommand
===================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/botcommandscope.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/botcommandscope.py
telegram.BotCommandScope
========================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/botcommandscope.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/botcommandscope.py
telegram.BotCommandScopeAllChatAdministrators
=============================================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/botcommandscope.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/botcommandscope.py
telegram.BotCommandScopeAllGroupChats
=======================================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/botcommandscope.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/botcommandscope.py
telegram.BotCommandScopeAllPrivateChats
=======================================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/botcommandscope.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/botcommandscope.py
telegram.BotCommandScopeChat
============================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/botcommandscope.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/botcommandscope.py
telegram.BotCommandScopeChatAdministrators
==========================================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/botcommandscope.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/botcommandscope.py
telegram.BotCommandScopeChatMember
==================================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/botcommandscope.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/botcommandscope.py
telegram.BotCommandScopeDefault
===============================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/games/callbackgame.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/games/callbackgame.py
telegram.Callbackgame
=====================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/callbackquery.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/callbackquery.py
telegram.CallbackQuery
======================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chat.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chat.py
telegram.Chat
=============
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chataction.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chataction.py
telegram.ChatAction
===================
@@ -0,0 +1,8 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chatadministratorrights.py
telegram.ChatAdministratorRights
================================
.. autoclass:: telegram.ChatAdministratorRights
:members:
:show-inheritance:
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chatinvitelink.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chatinvitelink.py
telegram.ChatInviteLink
=======================
+8
View File
@@ -0,0 +1,8 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chatjoinrequest.py
telegram.ChatJoinRequest
========================
.. autoclass:: telegram.ChatJoinRequest
:members:
:show-inheritance:
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chatlocation.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chatlocation.py
telegram.ChatLocation
=====================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chatmember.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chatmember.py
telegram.ChatMember
===================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chatmember.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chatmember.py
telegram.ChatMemberAdministrator
================================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chatmember.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chatmember.py
telegram.ChatMemberBanned
=========================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chatmember.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chatmember.py
telegram.ChatMemberLeft
=======================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chatmember.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chatmember.py
telegram.ChatMemberMember
=========================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chatmember.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chatmember.py
telegram.ChatMemberOwner
========================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chatmember.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chatmember.py
telegram.ChatMemberRestricted
=============================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chatmemberupdated.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chatmemberupdated.py
telegram.ChatMemberUpdated
==========================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chatpermissions.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/chatpermissions.py
telegram.ChatPermissions
========================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/files/chatphoto.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/files/chatphoto.py
telegram.ChatPhoto
==================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/choseninlineresult.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/choseninlineresult.py
telegram.ChosenInlineResult
===========================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/constants.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/constants.py
telegram.constants Module
=========================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/files/contact.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/files/contact.py
telegram.Contact
================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/passport/credentials.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/passport/credentials.py
telegram.Credentials
====================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/passport/credentials.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/passport/credentials.py
telegram.DataCredentials
========================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/dice.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/dice.py
telegram.Dice
=============
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/files/document.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/files/document.py
telegram.Document
=================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/passport/credentials.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/passport/credentials.py
telegram.EncryptedCredentials
=============================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/passport/encryptedpassportelement.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/passport/encryptedpassportelement.py
telegram.EncryptedPassportElement
=================================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/error.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/error.py
telegram.error module
=====================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/basepersistence.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/basepersistence.py
telegram.ext.BasePersistence
============================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/callbackcontext.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/callbackcontext.py
telegram.ext.CallbackContext
============================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/callbackdatacache.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/callbackdatacache.py
telegram.ext.CallbackDataCache
==============================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/callbackqueryhandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/callbackqueryhandler.py
telegram.ext.CallbackQueryHandler
=================================
@@ -0,0 +1,8 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/chatjoinrequesthandler.py
telegram.ext.ChatJoinRequestHandler
===================================
.. autoclass:: telegram.ext.ChatJoinRequestHandler
:members:
:show-inheritance:
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/chatmemberhandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/chatmemberhandler.py
telegram.ext.ChatMemberHandler
==============================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/choseninlineresulthandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/choseninlineresulthandler.py
telegram.ext.ChosenInlineResultHandler
======================================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/commandhandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/commandhandler.py
telegram.ext.CommandHandler
===========================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/contexttypes.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/contexttypes.py
telegram.ext.ContextTypes
=========================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/conversationhandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/conversationhandler.py
telegram.ext.ConversationHandler
================================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/defaults.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/defaults.py
telegram.ext.Defaults
=====================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/messagequeue.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/messagequeue.py
telegram.ext.DelayQueue
=======================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/dictpersistence.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/dictpersistence.py
telegram.ext.DictPersistence
============================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/dispatcher.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/dispatcher.py
telegram.ext.Dispatcher
=======================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/dispatcher.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/dispatcher.py
telegram.ext.DispatcherHandlerStop
==================================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/extbot.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/extbot.py
telegram.ext.ExtBot
===================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/filters.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/filters.py
telegram.ext.filters Module
===========================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/handler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/handler.py
telegram.ext.Handler
====================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/inlinequeryhandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/inlinequeryhandler.py
telegram.ext.InlineQueryHandler
===============================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/callbackdatacache.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/callbackdatacache.py
telegram.ext.InvalidCallbackData
================================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/jobqueue.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/jobqueue.py
telegram.ext.Job
=====================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/jobqueue.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/jobqueue.py
telegram.ext.JobQueue
=====================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/messagehandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/messagehandler.py
telegram.ext.MessageHandler
===========================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/messagequeue.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/messagequeue.py
telegram.ext.MessageQueue
=========================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/picklepersistence.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/picklepersistence.py
telegram.ext.PicklePersistence
==============================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/pollanswerhandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/pollanswerhandler.py
telegram.ext.PollAnswerHandler
==============================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/pollhandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/pollhandler.py
telegram.ext.PollHandler
========================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/precheckoutqueryhandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/precheckoutqueryhandler.py
telegram.ext.PreCheckoutQueryHandler
====================================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/commandhandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/commandhandler.py
telegram.ext.PrefixHandler
===========================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/regexhandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/regexhandler.py
telegram.ext.RegexHandler
=========================
+2 -1
View File
@@ -22,8 +22,9 @@ Handlers
telegram.ext.handler
telegram.ext.callbackqueryhandler
telegram.ext.choseninlineresulthandler
telegram.ext.chatjoinrequesthandler
telegram.ext.chatmemberhandler
telegram.ext.choseninlineresulthandler
telegram.ext.commandhandler
telegram.ext.conversationhandler
telegram.ext.inlinequeryhandler
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/shippingqueryhandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/shippingqueryhandler.py
telegram.ext.ShippingQueryHandler
=================================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/stringcommandhandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/stringcommandhandler.py
telegram.ext.StringCommandHandler
=================================
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/stringregexhandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/stringregexhandler.py
telegram.ext.StringRegexHandler
===============================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/typehandler.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/typehandler.py
telegram.ext.TypeHandler
========================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/updater.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/updater.py
telegram.ext.Updater
====================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/utils/promise.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/utils/promise.py
telegram.ext.utils.promise.Promise
==================================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/utils/types.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/ext/utils/types.py
telegram.ext.utils.types Module
================================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/files/file.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/files/file.py
telegram.File
=============
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/passport/credentials.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/passport/credentials.py
telegram.FileCredentials
========================
+1 -1
View File
@@ -1,4 +1,4 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/forcereply.py
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/forcereply.py
telegram.ForceReply
===================
+8
View File
@@ -0,0 +1,8 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/forumtopic.py
telegram.ForumTopic
===================
.. autoclass:: telegram.ForumTopic
:members:
:show-inheritance:
@@ -0,0 +1,8 @@
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/v13.x/telegram/forumtopic.py
telegram.ForumTopicClosed
=========================
.. autoclass:: telegram.ForumTopicClosed
:members:
:show-inheritance:

Some files were not shown because too many files have changed in this diff Show More