2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-31 14:25:55 +00:00

Add edit, edit_caption, edit_media and edit_reply_markup bound methods to the CallbackQuery type

This commit is contained in:
Dan
2019-06-14 02:46:27 +02:00
parent 22199b0fe5
commit da4ff268a4
3 changed files with 187 additions and 1 deletions

View File

@@ -81,9 +81,13 @@ CallbackQuery
^^^^^^^^^^^^^
.. hlist::
:columns: 2
:columns: 5
- :meth:`~CallbackQuery.answer`
- :meth:`~CallbackQuery.edit`
- :meth:`~CallbackQuery.edit_caption`
- :meth:`~CallbackQuery.edit_media`
- :meth:`~CallbackQuery.edit_reply_markup`
InlineQuery
^^^^^^^^^^^
@@ -137,6 +141,10 @@ Details
.. CallbackQuery
.. automethod:: CallbackQuery.answer()
.. automethod:: CallbackQuery.edit()
.. automethod:: CallbackQuery.edit_caption()
.. automethod:: CallbackQuery.edit_media()
.. automethod:: CallbackQuery.edit_reply_markup()
.. InlineQuery
.. automethod:: InlineQuery.answer()