You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inline_mode Improvements according to Bot API 6.6 (#156)
- Added the class InlineQueryResultGame.
- Added the bound methods ChosenInlineResult.edit_message_text, ChosenInlineResult.edit_message_caption, ChosenInlineResult.edit_message_media and ChosenInlineResult.edit_message_reply_markup.
- Renamed the fields thumb_url, thumb_width, and thumb_height in the classes InlineQueryResultArticle, InlineQueryResultContact, InlineQueryResultDocument, InlineQueryResultLocation, and InlineQueryResultVenue to thumbnail_url, thumbnail_width, and thumbnail_height respectively.
- Renamed the field thumb_url in the classes InlineQueryResultPhoto and InlineQueryResultVideo to thumbnail_url.
- Added the field animation_mime_type and renamed the fields thumb_url and thumb_mime_type in the classes InlineQueryResultAnimation to thumbnail_url and thumbnail_mime_type respectively.
- Fixed a bug with _client being None in ChosenInlineResultHandler.
Co-authored-by: anonymousx97 <[email protected]>
Copy file name to clipboardExpand all lines: docs/source/releases/changes-in-this-fork.rst
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,7 @@
1
1
2
+
Changes in this Fork
3
+
=====================
4
+
2
5
.. admonition :: A Word of Warning
3
6
:class: tip
4
7
@@ -29,6 +32,12 @@ Changes in this Fork
29
32
| Scheme layer used: 199 |
30
33
+------------------------+
31
34
35
+
- Added the class :obj:`~pyrogram.types.InlineQueryResultGame`.
36
+
- Added the bound methods :meth:`~pyrogram.types.ChosenInlineResult.edit_message_text`, :meth:`~pyrogram.types.ChosenInlineResult.edit_message_caption`, :meth:`~pyrogram.types.ChosenInlineResult.edit_message_media` and :meth:`~pyrogram.types.ChosenInlineResult.edit_message_reply_markup`.
37
+
- Renamed the fields ``thumb_url``, ``thumb_width``, and ``thumb_height`` in the classes :obj:`~pyrogram.types.InlineQueryResultArticle`, :obj:`~pyrogram.types.InlineQueryResultContact`, :obj:`~pyrogram.types.InlineQueryResultDocument`, :obj:`~pyrogram.types.InlineQueryResultLocation`, and :obj:`~pyrogram.types.InlineQueryResultVenue` to ``thumbnail_url``, ``thumbnail_width``, and ``thumbnail_height`` respectively.
38
+
- Renamed the field ``thumb_url`` in the classes :obj:`~pyrogram.types.InlineQueryResultPhoto` and :obj:`~pyrogram.types.InlineQueryResultVideo` to ``thumbnail_url``.
39
+
- Added the field ``animation_mime_type`` and renamed the fields ``thumb_url`` and ``thumb_mime_type`` in the classes :obj:`~pyrogram.types.InlineQueryResultAnimation` to ``thumbnail_url`` and ``thumbnail_mime_type`` respectively.
40
+
- Fixed a bug with ``_client`` being None in :obj:`~pyrogram.handlers.ChosenInlineResultHandler`.
32
41
- Added the parameters ``video_cover`` and ``video_start_timestamp`` to the method :meth:`~pyrogram.Client.copy_message`, allowing bots to change the start timestamp for copied videos.
33
42
- Added ``for_paid_reactions`` in :meth:`~pyrogram.Client.get_send_as_chats`.
34
43
- `Updated documentation and parameter names according to BOT API 8.3 <https://github.com/TelegramPlayGround/pyrogram/commit/7675b40>`__
0 commit comments