Full support for Bot API 9.4 (#5137)

Co-authored-by: OuYoung <212045739+ouyooung@users.noreply.github.com>
Co-authored-by: poolitzer <github@poolitzer.eu>
Co-authored-by: Hethon <65696516+hethon@users.noreply.github.com>
Co-authored-by: Abdelrahman Elkheir <90580077+aelkheir@users.noreply.github.com>
This commit is contained in:
Harshil
2026-03-07 18:29:00 -05:00
committed by GitHub
parent cb239e7b1e
commit 0ae9f7b6c4
39 changed files with 1433 additions and 25 deletions
+7
View File
@@ -167,6 +167,8 @@
- Used for unpinning a message
* - :meth:`~telegram.Bot.unpin_all_chat_messages`
- Used for unpinning all pinned chat messages
* - :meth:`~telegram.Bot.get_user_profile_audios`
- Used for obtaining user's profile audios
* - :meth:`~telegram.Bot.get_user_profile_photos`
- Used for obtaining user's profile pictures
* - :meth:`~telegram.Bot.get_chat`
@@ -245,6 +247,11 @@
- Used for setting the name of the bot
* - :meth:`~telegram.Bot.get_my_name`
- Used for obtaining the name of the bot
* - :meth:`~telegram.Bot.set_my_profile_photo`
- Used for setting the profile photo of the bot
* - :meth:`~telegram.Bot.remove_my_profile_photo`
- Used for removing the profile photo of the bot
.. raw:: html
+4
View File
@@ -65,6 +65,8 @@ Available Types
telegram.chatmemberowner
telegram.chatmemberrestricted
telegram.chatmemberupdated
telegram.chatownerchanged
telegram.chatownerleft
telegram.chatpermissions
telegram.chatphoto
telegram.chatshared
@@ -191,6 +193,7 @@ Available Types
telegram.update
telegram.user
telegram.userchatboosts
telegram.userprofileaudios
telegram.userprofilephotos
telegram.userrating
telegram.usersshared
@@ -201,6 +204,7 @@ Available Types
telegram.videochatscheduled
telegram.videochatstarted
telegram.videonote
telegram.videoquality
telegram.voice
telegram.webappdata
telegram.webappinfo
@@ -0,0 +1,6 @@
ChatOwnerChanged
================
.. autoclass:: telegram.ChatOwnerChanged
:members:
:show-inheritance:
+6
View File
@@ -0,0 +1,6 @@
ChatOwnerLeft
=============
.. autoclass:: telegram.ChatOwnerLeft
:members:
:show-inheritance:
@@ -0,0 +1,6 @@
UserProfileAudios
=================
.. autoclass:: telegram.UserProfileAudios
:members:
:show-inheritance:
+8
View File
@@ -0,0 +1,8 @@
VideoQuality
=========
.. Also lists methods of _BaseMedium, but not the ones of TelegramObject
.. autoclass:: telegram.VideoQuality
:members:
:show-inheritance:
:inherited-members: TelegramObject, object