Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
97865c7
Feat: Add get_topic_stickers method
Poolitzer Nov 6, 2022
984af10
Fix: Add edit_topic method
Poolitzer Nov 6, 2022
1f1fbd1
Merge branch 'api_6.3_update' into 6.3_new_methods
Poolitzer Nov 7, 2022
be85bc7
Fix: add TopicLimit to the all variable
Poolitzer Nov 7, 2022
fb15e87
Fix: black.
Poolitzer Nov 7, 2022
3501e87
Revert "Fix: black."
Poolitzer Nov 7, 2022
bc7f904
Merge branch 'api_6.3_update' into 6.3_new_methods
Poolitzer Nov 7, 2022
2a2a1c6
fix merge conflict
Poolitzer Nov 11, 2022
d4dc454
Feat: Add shortcuts to edit function
Poolitzer Nov 11, 2022
1239102
Feat: Add shortcut tests
Poolitzer Nov 11, 2022
44aec2f
Merge branch 'api_6.3_update' into 6.3_new_methods
Poolitzer Nov 11, 2022
a4be521
adding remaining new methods
clot27 Nov 12, 2022
d9a09b8
fix some wrong calls in shortcuts
clot27 Nov 12, 2022
777e045
update bot_methods.rst to include new forum methods
harshil21 Nov 12, 2022
bd1bdca
update extbot with new forum methods
harshil21 Nov 12, 2022
0069be7
review: fix method name in message.py
harshil21 Nov 12, 2022
bfb8316
review + feat: fix docstring in bot.py and add new constant class
harshil21 Nov 12, 2022
184b4bd
remove test_forum.py
harshil21 Nov 12, 2022
237a2bd
2 more doc fixes
harshil21 Nov 12, 2022
08d29e6
Merge branch 'api_6.3_update' into 6.3_new_methods
Bibo-Joshi Nov 14, 2022
b80e150
review: improve tests and remove create_topic from message
harshil21 Nov 14, 2022
899efd7
Merge branch 'api_6.3_update' into 6.3_new_methods
Bibo-Joshi Nov 15, 2022
b5a99c1
review: remove Keyword args section in new methods
harshil21 Nov 15, 2022
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
29 changes: 29 additions & 0 deletions docs/source/inclusions/bot_methods.rst
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,35 @@
</details>
<br>

.. raw:: html

<details>
<summary>Forum topic management</summary>

.. list-table::
:align: left
:widths: 1 4

* - :meth:`~telegram.Bot.close_forum_topic`
- Used for closing a forum topic
* - :meth:`~telegram.Bot.create_forum_topic`
- Used to create a topic
* - :meth:`~telegram.Bot.delete_forum_topic`
- Used for deleting a forum topic
* - :meth:`~telegram.Bot.edit_forum_topic`
- Used to edit a topic
* - :meth:`~telegram.Bot.reopen_forum_topic`
- Used to reopen a topic
* - :meth:`~telegram.Bot.get_forum_topic_icon_stickers`
- Used to get custom emojis to use as topic icons
* - :meth:`~telegram.Bot.unpin_all_forum_topic_messages`
- Used to unpin all messages in a forum topic

.. raw:: html

</details>
<br>

.. raw:: html

<details>
Expand Down
2 changes: 2 additions & 0 deletions docs/substitutions/global.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

.. |chat_id_group| replace:: Unique identifier for the target chat or username of the target supergroup (in the format ``@supergroupusername``).

.. |message_thread_id| replace:: Unique identifier for the target message thread of the forum topic.

.. |parse_mode| replace:: Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message. See the constants in :class:`telegram.constants.ParseMode` for the available modes.

.. |allow_sending_without_reply| replace:: Pass :obj:`True`, if the message should be sent even if the specified replied-to message is not found.
Expand Down
Loading