Skip to content
Merged

API 7.0 #4034

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
3b7e750
Feat: Introduce my take on MaybeInaccessibleMessage
Poolitzer Dec 28, 2023
fb09a3f
update readme and add new multiple message action methods
clot27 Dec 29, 2023
fdebe95
Update version number in readme
Bibo-Joshi Dec 29, 2023
d89dcad
Update `constants.BOT_API_VERSION(_INFO)`
Bibo-Joshi Dec 29, 2023
58357d4
add shortcuts for new multiple action methods
clot27 Dec 29, 2023
7364d74
Add classes `Giveaway{, Created, Winners, Completed}`
Bibo-Joshi Dec 29, 2023
cda7e47
Add `Message.giveaway{, winners, completed, created}`
Bibo-Joshi Dec 29, 2023
56543e5
Add filters for giveaways
Bibo-Joshi Dec 29, 2023
caf9052
Fix `telegram.constants.__all__`
Bibo-Joshi Dec 29, 2023
9dc37ca
Fix Docs build
Bibo-Joshi Dec 29, 2023
76510e4
Merge branch 'master' into api-7.0
Bibo-Joshi Dec 29, 2023
748918e
KeyboardButtonRequestUser → Users
Bibo-Joshi Dec 29, 2023
37f2820
`KeyboardButton.request_user` → `KeyboardButton.request_users`
Bibo-Joshi Dec 29, 2023
c6fe89c
`telegram.constants.KeyboardButtonRequestUsersLimit`, docs & a bit re…
Bibo-Joshi Dec 29, 2023
044b2e2
Slots for `TestKeyboardButtonRequestUser`
Bibo-Joshi Dec 29, 2023
96ef98b
Freeze `KeyboardButtonRequestUser`
Bibo-Joshi Dec 29, 2023
3424107
Add the `LinkPreviewOptions` class
harshil21 Dec 30, 2023
e6b61e9
Add `LinkPreviewOptions` to `Message`
harshil21 Dec 30, 2023
7fdea9f
Add `blockquote` message entity.
aelkheir Dec 30, 2023
cf7fc22
add tests for new methods and shortcuts
clot27 Dec 30, 2023
d4c1512
Add `UsersShared` and deprecate `UserShared`
Bibo-Joshi Dec 30, 2023
5ba99ef
Add missing doc fixe
Bibo-Joshi Dec 30, 2023
04a575f
* Add `Message.users_shared`
Bibo-Joshi Dec 30, 2023
35dbea5
Doc fixes
Bibo-Joshi Dec 30, 2023
497baa8
Add LPO to `Defaults`, bot methods, & adjust defaults handling
harshil21 Dec 31, 2023
f41e91c
Use unified transition warnings for `UserShared`, `KeyboardButtonRequ…
Bibo-Joshi Dec 31, 2023
7544564
Update test for `constants.MessageType` completeness for LPO
Bibo-Joshi Dec 31, 2023
2d42c5b
`filters.StatusUpdate.USERS_SHARED`
Bibo-Joshi Dec 31, 2023
bf635f7
Fix Type Completeness
Bibo-Joshi Dec 31, 2023
6ee210e
Add `constants.(Profile)?AccentColor`
Bibo-Joshi Dec 31, 2023
6f38f16
Add `Chat.{(profile_)?accent_color_id, (profile_)?background_custom_e…
Bibo-Joshi Dec 31, 2023
12c19aa
Merge remote-tracking branch 'upstream/api-7.0' into blockquote-api-7.0
aelkheir Dec 31, 2023
1d5c3b1
Update `Message._parse(html/markdown)` to account for 'blockquote'
aelkheir Dec 31, 2023
0af70b3
Adapt tests to include `blockquote` message entity
aelkheir Dec 31, 2023
f8514d7
Add LPO to InputTextMessageContent
harshil21 Jan 1, 2024
01db8a2
Added the ChatBoost classes
harshil21 Jan 1, 2024
b644d5c
Add ExternalReplyInfo, TextQuote and ReplyParameters classes
clot27 Jan 1, 2024
4018c4f
Add TextQuote, ExternalReplyInfo to telegram.Message and tests. Also …
clot27 Jan 1, 2024
4037697
Fix a bug regarding UserShared in `Message`
Bibo-Joshi Jan 1, 2024
d0f1ac6
Update docstring for `Chat.emoji_status_{custom_emoji_id, expiration_…
Bibo-Joshi Jan 1, 2024
e9e788c
Feat: ReactionType
Poolitzer Jan 2, 2024
c98e16e
Merge branch 'temp-api-7.0' into api-7.0
Poolitzer Jan 2, 2024
44a3b9f
Add `Chat.has_visible_history` & fix some pre-commit & merge problems
Bibo-Joshi Jan 2, 2024
6d7156b
add classes
clot27 Jan 3, 2024
479c2b5
Merge branch 'master' into api-7.0
Bibo-Joshi Jan 3, 2024
ba9cfcf
Add support for parsing multi-line blockquotes
aelkheir Jan 5, 2024
877d6d6
Merge remote-tracking branch 'upstream/api-7.0' into blockquote-api-7.0
aelkheir Jan 5, 2024
be206e6
Add chat boost to `Update`, docs, constants, & write tests
harshil21 Jan 6, 2024
0dd0529
Try fixing blockquote things and clean up `Message._parse_*` in the p…
Bibo-Joshi Jan 6, 2024
6cb2c38
review 1 and add new params in Message tests
clot27 Jan 7, 2024
3e8a95b
Apply suggestions from code review
Poolitzer Jan 7, 2024
ce80402
Missed this
Poolitzer Jan 7, 2024
9f2f8fa
Fix: Apply suggestions for MaybeInaccessible
Poolitzer Jan 7, 2024
cd77c9e
Add `Bot.get_user_chat_boosts` with shortcuts and tests.
harshil21 Jan 8, 2024
23b948a
Merge remote-tracking branch 'origin/api-7.0' into api-7.0
Poolitzer Jan 8, 2024
82ae8b3
Feat: Rest of status
Poolitzer Jan 8, 2024
f682d17
`blockquote` message entity api-7.0. (#4038)
aelkheir Jan 8, 2024
d255936
Merge master
Bibo-Joshi Jan 8, 2024
8aecdc5
Add new param, constants and review
clot27 Jan 9, 2024
1605a23
Do a bit of review addressing
Bibo-Joshi Jan 10, 2024
1c5ba85
add reply_parameters to extbot, change type of RP.aswr
clot27 Jan 12, 2024
a8a5f53
Try to deprecate rtm, aswr and forward_* params
clot27 Jan 13, 2024
9592a36
Reuse `tg._utils` warnings in `InputTextMessageContent`
Bibo-Joshi Jan 13, 2024
01a713d
Do fix
Bibo-Joshi Jan 13, 2024
dcb7e60
Make `MIM.is_accessible` a property, add `MIM.__bool__`, add tests fo…
Bibo-Joshi Jan 13, 2024
d20f748
Get pre-commit on track. Includes rewrite of `MRH.check_update`.
Bibo-Joshi Jan 14, 2024
9073949
Extract helper functions for parsing user_name and chat_id
Bibo-Joshi Jan 14, 2024
78f6619
Update docs of `Update.effective_user`
Bibo-Joshi Jan 14, 2024
b29eddc
`User.get_user_chat_boots` -> `User.get_chat_boots`
Bibo-Joshi Jan 14, 2024
482d431
Review comments on `_reaction.py`
Bibo-Joshi Jan 14, 2024
8fd53ef
Convert `MessageOrigin.type` to `constants.MessageOriginType`
Bibo-Joshi Jan 14, 2024
0235ae7
Address review comments on `MessageReaction*`
Bibo-Joshi Jan 14, 2024
0ea6cfa
`Message.set_message_reaction` -> `Message.set_reaction`
Bibo-Joshi Jan 14, 2024
b0c7f3b
Get Documentation build to (hopefully) pass and Rework `*Message.__bo…
Bibo-Joshi Jan 14, 2024
e8395a7
Resolve a todo
Bibo-Joshi Jan 14, 2024
a65c516
DeepSource + TypeCompleteness
Bibo-Joshi Jan 14, 2024
7d6c03c
Get started on updating `test_official`. Accordingly, fix some bugs a…
Bibo-Joshi Jan 14, 2024
d2629b9
Add warning about future behavior change to `Update.effective_message`
Bibo-Joshi Jan 14, 2024
37d86ea
Hopefull finish test_official except for `Defaults` stuff
Bibo-Joshi Jan 14, 2024
cca9b73
More DeepSource and Pre-Commit
Bibo-Joshi Jan 14, 2024
16f9633
Merge branch 'master' into api-7.0
Bibo-Joshi Jan 14, 2024
ad55105
Review commonts on `Bot.set_message_reaction`
Bibo-Joshi Jan 14, 2024
b667123
Two docstring updates
Bibo-Joshi Jan 14, 2024
5a4d27e
More docstring
Bibo-Joshi Jan 14, 2024
e63d5e9
Small fixes for `Chat.available_reactions`
Bibo-Joshi Jan 14, 2024
e424ee2
Introduce helper function for handling `dwpp` and `lpo`
Bibo-Joshi Jan 14, 2024
076539d
Update `filters` to use `Message.forward_origin`
Bibo-Joshi Jan 14, 2024
2e726a0
Fix an import error
Bibo-Joshi Jan 14, 2024
631be41
add send_media_group test, remove rtm aswr return check test for now
clot27 Jan 15, 2024
adf9867
Add ChatBoostHandler to docs and tests
harshil21 Jan 15, 2024
63d172e
address one review comment + add _log decorators
harshil21 Jan 15, 2024
66ac971
adjust the mutually exclusive dwpp and lpo test
harshil21 Jan 15, 2024
7765dc7
Review: add depr note to Defaults.DWPP
harshil21 Jan 15, 2024
873f13a
Add tests for ExternalReplyInfo, TextQuote and ReplyParameters
clot27 Jan 15, 2024
40834d2
Add a comment for future us
Bibo-Joshi Jan 14, 2024
e0fb47c
Merge master
Bibo-Joshi Jan 15, 2024
8a6046c
Change warning behavior for `Update.effective_message`
Bibo-Joshi Jan 15, 2024
f6f2622
Get started on tests
Bibo-Joshi Jan 15, 2024
a82e69f
Fix two more tests
Bibo-Joshi Jan 15, 2024
3f20a3b
Fix docs build
Bibo-Joshi Jan 15, 2024
13ff8ba
Merge branch 'master' into api-7.0
Bibo-Joshi Jan 17, 2024
821e9dc
Work a bit on failing tests - Mostly add new parameters to shortcut m…
Bibo-Joshi Jan 17, 2024
ec40c79
Add MessageOrigin tests
clot27 Jan 18, 2024
f47fcb4
Drive work on `Defaults`
Bibo-Joshi Jan 19, 2024
6d493ea
Get failing tests down to ~30. testing defaults handling is still WIP
Bibo-Joshi Jan 19, 2024
f3a4775
Get defaults checks to work and overhaul them greatly in the process …
Bibo-Joshi Jan 22, 2024
8e21be3
test_official now passes.
harshil21 Jan 24, 2024
3c71bcb
add a comment
harshil21 Jan 24, 2024
83608b0
Merge Master
Bibo-Joshi Jan 24, 2024
2aa1ae3
Add defaults handling for `RP.quote_parse_mode`
Bibo-Joshi Jan 24, 2024
749e4d1
Add explicit test cases for `quote_parse_mode`
Bibo-Joshi Jan 24, 2024
6f7aeb7
Elaborate docs on `Defautls.lpo`
Bibo-Joshi Jan 26, 2024
1c06639
Add explicit test for `edit_message_text.lpo`
Bibo-Joshi Jan 26, 2024
17653be
Fix 3 more tests - now only Message.reply_* fails :)
Bibo-Joshi Jan 26, 2024
1def5ef
DeepSource
Bibo-Joshi Jan 26, 2024
4abbc51
Temporarliy skip `check_defaults_handling` to make code coverage acce…
Bibo-Joshi Jan 26, 2024
3cdbcf9
Increase coverage in `TestUpdate`
Bibo-Joshi Jan 26, 2024
72d02e2
Increase coverage in `TestCallbackQuery`
Bibo-Joshi Jan 26, 2024
d74c90f
Fix tests for Update & fix ReactionCount.de_json in the progress
Bibo-Joshi Jan 26, 2024
d270ae8
Add internal helper method for `CallbackQuery`
Bibo-Joshi Jan 27, 2024
1fcfc74
Merge branch 'api-7.0' into blockquote-api-7.0-branched
Bibo-Joshi Jan 27, 2024
5a1e5c7
Update docstrings in `Message`
Bibo-Joshi Jan 27, 2024
f75fc09
Update tests
Bibo-Joshi Jan 27, 2024
f9e1548
Make unit tests run
Bibo-Joshi Jan 27, 2024
090b09b
Add reply_parameters for Message.reply_* methods
clot27 Jan 28, 2024
a1d4947
Fix docstring: cross references and substitutions
clot27 Jan 28, 2024
87043fd
Fix circular imports and add tests for `ReactionCount`
Bibo-Joshi Jan 28, 2024
7551915
Feat: Add rest of emojis
Poolitzer Jan 28, 2024
6ce89de
Get `Message.reply_*` shortcuts tests to work. Marked test for defaul…
Bibo-Joshi Jan 28, 2024
57a6f2b
Merge branch 'api-7.0' into blockquote-api-7.0-branched
Poolitzer Jan 29, 2024
eb5c138
Tests for `MessageReactionHandler`
Bibo-Joshi Jan 29, 2024
bbb714d
Increase coverage a bit
Bibo-Joshi Jan 29, 2024
7e0c922
Add defaults and fix docstrings
clot27 Feb 1, 2024
2384df8
Re-enable & improve `test_default_(do_)quote`
Bibo-Joshi Feb 2, 2024
e8a62dc
Mix message tests
Bibo-Joshi Feb 3, 2024
7fc535a
Work on `Message.{build_reply_arguments, compute_quote_position_and_e…
Bibo-Joshi Feb 3, 2024
459bbfe
Fix tests again
Bibo-Joshi Feb 3, 2024
fc6f516
Add first batch of tests for `compute_quote_…`
Bibo-Joshi Feb 3, 2024
7c7da9d
Work on `Message.{compute_quote…, build_reply_arguemnts}`: Tests & do…
Bibo-Joshi Feb 4, 2024
6950e48
Merge branch 'blockquote-api-7.0-branched' into api-7.0
Bibo-Joshi Feb 4, 2024
43c393f
Merge branch 'master' into api-7.0
Bibo-Joshi Feb 4, 2024
fdc4799
Finish tests on `Message` by adding tests on quote handling
Bibo-Joshi Feb 4, 2024
0593f45
Make `reply_to_message_id` and `reply_parameters` mut. exl. in `Messa…
Bibo-Joshi Feb 4, 2024
cb4d17a
Remove api-7.0 branch from unit tests workflow
Bibo-Joshi Feb 4, 2024
2c26df9
Review, mostly adding new shortcut methods to `User`
Bibo-Joshi Feb 4, 2024
bedb2ce
A bit more review & double-checking doc changes from TG
Bibo-Joshi Feb 4, 2024
bedef17
Merge master
Bibo-Joshi Feb 5, 2024
da32d4e
Fix a test
Bibo-Joshi Feb 5, 2024
048f3d4
Fix whatever I could find in 1st round of reviews
harshil21 Feb 6, 2024
34dc49c
Merge branch 'master' into api-7.0
clot27 Feb 8, 2024
ba009a8
Fix precommit
clot27 Feb 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ on:
pull_request:
branches:
- master

push:
branches:
- master

schedule:
# Run monday and friday morning at 03:07 - odd time to spread load on GitHub Actions
- cron: '7 3 * * 1,5'
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
:target: https://pypi.org/project/python-telegram-bot/
:alt: Supported Python versions

.. image:: https://img.shields.io/badge/Bot%20API-6.9-blue?logo=telegram
.. image:: https://img.shields.io/badge/Bot%20API-7.0-blue?logo=telegram
:target: https://core.telegram.org/bots/api-changelog
:alt: Supported Bot API versions

Expand Down Expand Up @@ -93,7 +93,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 **6.9** are supported.
All types and methods of the Telegram Bot API **7.0** are supported.

Installing
==========
Expand Down
4 changes: 2 additions & 2 deletions README_RAW.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
:target: https://pypi.org/project/python-telegram-bot-raw/
:alt: Supported Python versions

.. image:: https://img.shields.io/badge/Bot%20API-6.9-blue?logo=telegram
.. image:: https://img.shields.io/badge/Bot%20API-7.0-blue?logo=telegram
:target: https://core.telegram.org/bots/api-changelog
:alt: Supported Bot API versions

Expand Down Expand Up @@ -89,7 +89,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 **6.9** are supported.
All types and methods of the Telegram Bot API **7.0** are supported.

Installing
==========
Expand Down
7 changes: 7 additions & 0 deletions docs/auxil/tg_const_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#
# You should have received a copy of the GNU Lesser Public License
# along with this program. If not, see [http://www.gnu.org/licenses/].
import datetime
from enum import Enum

from docutils.nodes import Element
Expand Down Expand Up @@ -71,6 +72,12 @@ def process_link(
if isinstance(value, tuple) and target in (
"telegram.constants.BOT_API_VERSION_INFO",
"telegram.__version_info__",
):
return str(value), target
if (
isinstance(value, datetime.datetime)
and value == telegram.constants.ZERO_DATE
and target in ("telegram.constants.ZERO_DATE",)
):
return repr(value), target
sphinx_logger.warning(
Expand Down
14 changes: 12 additions & 2 deletions docs/source/inclusions/bot_methods.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,12 @@
- Used for sending voice messages
* - :meth:`~telegram.Bot.copy_message`
- Used for copying the contents of an arbitrary message
* - :meth:`~telegram.Bot.copy_messages`
- Used for copying the contents of an multiple arbitrary messages
* - :meth:`~telegram.Bot.forward_message`
- Used for forwarding messages
* - :meth:`~telegram.Bot.forward_messages`
- Used for forwarding multiple messages at once

.. raw:: html

Expand All @@ -76,6 +80,10 @@
- Used for answering a shipping query
* - :meth:`~telegram.Bot.answer_web_app_query`
- Used for answering a web app query
* - :meth:`~telegram.Bot.delete_message`
- Used for deleting messages.
* - :meth:`~telegram.Bot.delete_messages`
- Used for deleting multiple messages as once.
* - :meth:`~telegram.Bot.edit_message_caption`
- Used for editing captions
* - :meth:`~telegram.Bot.edit_message_media`
Expand All @@ -88,8 +96,8 @@
- Used for editing text messages
* - :meth:`~telegram.Bot.stop_poll`
- Used for stopping the running poll
* - :meth:`~telegram.Bot.delete_message`
- Used for deleting messages.
* - :meth:`~telegram.Bot.set_message_reaction`
- Used for setting reactions on messages

.. raw:: html

Expand Down Expand Up @@ -157,6 +165,8 @@
- Used for getting the number of members in a chat
* - :meth:`~telegram.Bot.get_chat_member`
- Used for getting a member of a chat
* - :meth:`~telegram.Bot.get_user_chat_boosts`
- Used for getting the list of boosts added to a chat
* - :meth:`~telegram.Bot.leave_chat`
- Used for leaving a chat

Expand Down
31 changes: 31 additions & 0 deletions docs/source/telegram.at-tree.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ Available Types
telegram.callbackquery
telegram.chat
telegram.chatadministratorrights
telegram.chatboost
telegram.chatboostremoved
telegram.chatboostsource
telegram.chatboostsourcegiftcode
telegram.chatboostsourcegiveaway
telegram.chatboostsourcepremium
telegram.chatboostupdated
telegram.chatinvitelink
telegram.chatjoinrequest
telegram.chatlocation
Expand All @@ -38,6 +45,7 @@ Available Types
telegram.contact
telegram.dice
telegram.document
telegram.externalreplyinfo
telegram.file
telegram.forcereply
telegram.forumtopic
Expand All @@ -47,6 +55,11 @@ Available Types
telegram.forumtopicreopened
telegram.generalforumtopichidden
telegram.generalforumtopicunhidden
telegram.giveaway
telegram.giveawaycompleted
telegram.giveawaycreated
telegram.giveawaywinners
telegram.inaccessiblemessage
telegram.inlinekeyboardbutton
telegram.inlinekeyboardmarkup
telegram.inputfile
Expand All @@ -61,8 +74,11 @@ Available Types
telegram.keyboardbuttonpolltype
telegram.keyboardbuttonrequestchat
telegram.keyboardbuttonrequestuser
telegram.keyboardbuttonrequestusers
telegram.linkpreviewoptions
telegram.location
telegram.loginurl
telegram.maybeinaccessiblemessage
telegram.menubutton
telegram.menubuttoncommands
telegram.menubuttondefault
Expand All @@ -71,21 +87,36 @@ Available Types
telegram.messageautodeletetimerchanged
telegram.messageentity
telegram.messageid
telegram.messageorigin
telegram.messageoriginchannel
telegram.messageoriginchat
telegram.messageoriginhiddenuser
telegram.messageoriginuser
telegram.messagereactioncountupdated
telegram.messagereactionupdated
telegram.photosize
telegram.poll
telegram.pollanswer
telegram.polloption
telegram.proximityalerttriggered
telegram.reactioncount
telegram.reactiontype
telegram.reactiontypecustomemoji
telegram.reactiontypeemoji
telegram.replykeyboardmarkup
telegram.replykeyboardremove
telegram.replyparameters
telegram.sentwebappmessage
telegram.story
telegram.switchinlinequerychosenchat
telegram.telegramobject
telegram.textquote
telegram.update
telegram.user
telegram.userchatboosts
telegram.userprofilephotos
telegram.usershared
telegram.usersshared
telegram.venue
telegram.video
telegram.videochatended
Expand Down
8 changes: 8 additions & 0 deletions docs/source/telegram.chatboost.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ChatBoost
=========

.. versionadded:: NEXT.VERSION

.. autoclass:: telegram.ChatBoost
:members:
:show-inheritance:
8 changes: 8 additions & 0 deletions docs/source/telegram.chatboostremoved.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ChatBoostRemoved
================

.. versionadded:: NEXT.VERSION

.. autoclass:: telegram.ChatBoostRemoved
:members:
:show-inheritance:
8 changes: 8 additions & 0 deletions docs/source/telegram.chatboostsource.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ChatBoostSource
===============

.. versionadded:: NEXT.VERSION

.. autoclass:: telegram.ChatBoostSource
:members:
:show-inheritance:
8 changes: 8 additions & 0 deletions docs/source/telegram.chatboostsourcegiftcode.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ChatBoostSourceGiftCode
=======================

.. versionadded:: NEXT.VERSION

.. autoclass:: telegram.ChatBoostSourceGiftCode
:members:
:show-inheritance:
8 changes: 8 additions & 0 deletions docs/source/telegram.chatboostsourcegiveaway.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ChatBoostSourceGiveaway
=======================

.. versionadded:: NEXT.VERSION

.. autoclass:: telegram.ChatBoostSourceGiveaway
:members:
:show-inheritance:
8 changes: 8 additions & 0 deletions docs/source/telegram.chatboostsourcepremium.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ChatBoostSourcePremium
======================

.. versionadded:: NEXT.VERSION

.. autoclass:: telegram.ChatBoostSourcePremium
:members:
:show-inheritance:
8 changes: 8 additions & 0 deletions docs/source/telegram.chatboostupdated.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ChatBoostUpdated
================

.. versionadded:: NEXT.VERSION

.. autoclass:: telegram.ChatBoostUpdated
:members:
:show-inheritance:
8 changes: 8 additions & 0 deletions docs/source/telegram.ext.chatboosthandler.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ChatBoostHandler
================

.. versionadded:: NEXT.VERSION

.. autoclass:: telegram.ext.ChatBoostHandler
:members:
:show-inheritance:
2 changes: 2 additions & 0 deletions docs/source/telegram.ext.handlers-tree.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Handlers

telegram.ext.basehandler
telegram.ext.callbackqueryhandler
telegram.ext.chatboosthandler
telegram.ext.chatjoinrequesthandler
telegram.ext.chatmemberhandler
telegram.ext.choseninlineresulthandler
Expand All @@ -14,6 +15,7 @@ Handlers
telegram.ext.filters
telegram.ext.inlinequeryhandler
telegram.ext.messagehandler
telegram.ext.messagereactionhandler
telegram.ext.pollanswerhandler
telegram.ext.pollhandler
telegram.ext.precheckoutqueryhandler
Expand Down
6 changes: 6 additions & 0 deletions docs/source/telegram.ext.messagereactionhandler.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
MessageReactionHandler
======================

.. autoclass:: telegram.ext.MessageReactionHandler
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/telegram.externalreplyinfo.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ExternalReplyInfo
=================

.. autoclass:: telegram.ExternalReplyInfo
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/telegram.giveaway.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Giveaway
========

.. autoclass:: telegram.Giveaway
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/telegram.giveawaycompleted.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
GiveawayCompleted
=================

.. autoclass:: telegram.GiveawayCompleted
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/telegram.giveawaycreated.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
GiveawayCreated
===============

.. autoclass:: telegram.GiveawayCreated
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/telegram.giveawaywinners.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
GiveawayWinners
===============

.. autoclass:: telegram.GiveawayWinners
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/telegram.inaccessiblemessage.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
InaccessibleMessage
===================

.. autoclass:: telegram.InaccessibleMessage
:members:
:show-inheritance:
2 changes: 1 addition & 1 deletion docs/source/telegram.keyboardbuttonrequestuser.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
KeyboardButtonRequestUser
==================================
=========================

.. autoclass:: telegram.KeyboardButtonRequestUser
:members:
Expand Down
6 changes: 6 additions & 0 deletions docs/source/telegram.keyboardbuttonrequestusers.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
KeyboardButtonRequestUsers
==========================

.. autoclass:: telegram.KeyboardButtonRequestUsers
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/telegram.linkpreviewoptions.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
LinkPreviewOptions
==================

.. autoclass:: telegram.LinkPreviewOptions
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/telegram.maybeinaccessiblemessage.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
MaybeInaccessibleMessage
========================

.. autoclass:: telegram.MaybeInaccessibleMessage
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/telegram.messageorigin.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
MessageOrigin
=============

.. autoclass:: telegram.MessageOrigin
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/telegram.messageoriginchannel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
MessageOriginChannel
====================

.. autoclass:: telegram.MessageOriginChannel
:members:
:show-inheritance:
6 changes: 6 additions & 0 deletions docs/source/telegram.messageoriginchat.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
MessageOriginChat
=================

.. autoclass:: telegram.MessageOriginChat
:members:
:show-inheritance:
Loading