Skip to content

Commit 8b3ea5c

Browse files
authored
Add ChatJoinRequest(Handler) to Docs (python-telegram-bot#2771)
1 parent 51a4a66 commit 8b3ea5c

File tree

6 files changed

+21
-2
lines changed

6 files changed

+21
-2
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Hey! You're PRing? Cool! Please have a look at the below checklist. It's here to
77
- [ ] Added `.. versionadded:: version`, `.. versionchanged:: version` or `.. deprecated:: version` to the docstrings for user facing changes (for methods/class descriptions, arguments and attributes)
88
- [ ] Created new or adapted existing unit tests
99
- [ ] Added myself alphabetically to `AUTHORS.rst` (optional)
10+
- [ ] Added new classes & modules to the docs
1011

1112

1213
### If the PR contains API changes (otherwise, you can delete this passage)
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/chatjoinrequest.py
2+
3+
telegram.ChatJoinRequest
4+
========================
5+
6+
.. autoclass:: telegram.ChatJoinRequest
7+
:members:
8+
:show-inheritance:
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
:github_url: https://github.com/python-telegram-bot/python-telegram-bot/blob/master/telegram/ext/chatjoinrequesthandler.py
2+
3+
telegram.ext.ChatJoinRequestHandler
4+
===================================
5+
6+
.. autoclass:: telegram.ext.ChatJoinRequestHandler
7+
:members:
8+
:show-inheritance:

docs/source/telegram.ext.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ Handlers
2222

2323
telegram.ext.handler
2424
telegram.ext.callbackqueryhandler
25-
telegram.ext.choseninlineresulthandler
25+
telegram.ext.chatjoinrequesthandler
2626
telegram.ext.chatmemberhandler
27+
telegram.ext.choseninlineresulthandler
2728
telegram.ext.commandhandler
2829
telegram.ext.conversationhandler
2930
telegram.ext.inlinequeryhandler

docs/source/telegram.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ telegram package
1919
telegram.chat
2020
telegram.chataction
2121
telegram.chatinvitelink
22+
telegram.chatjoinrequest
2223
telegram.chatlocation
2324
telegram.chatmember
2425
telegram.chatmemberowner

telegram/ext/chatjoinrequesthandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class ChatJoinRequestHandler(Handler[Update, CCT]):
4141
When setting ``run_async`` to :obj:`True`, you cannot rely on adding custom
4242
attributes to :class:`telegram.ext.CallbackContext`. See its docs for more info.
4343
44-
.. versionadded:: 13.8
44+
.. versionadded:: 13.8
4545
4646
Args:
4747
callback (:obj:`callable`): The callback function for this handler. Will be called when

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy