mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 06:16:06 +00:00
Rename CallbackQuery edit_* bound methods to edit_message_*
We are editing the message the callback query comes from, not the callback query itself.
This commit is contained in:
@@ -81,13 +81,13 @@ CallbackQuery
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
.. hlist::
|
||||
:columns: 5
|
||||
:columns: 3
|
||||
|
||||
- :meth:`~CallbackQuery.answer`
|
||||
- :meth:`~CallbackQuery.edit_text`
|
||||
- :meth:`~CallbackQuery.edit_caption`
|
||||
- :meth:`~CallbackQuery.edit_media`
|
||||
- :meth:`~CallbackQuery.edit_reply_markup`
|
||||
- :meth:`~CallbackQuery.edit_message_text`
|
||||
- :meth:`~CallbackQuery.edit_message_caption`
|
||||
- :meth:`~CallbackQuery.edit_message_media`
|
||||
- :meth:`~CallbackQuery.edit_message_reply_markup`
|
||||
|
||||
InlineQuery
|
||||
^^^^^^^^^^^
|
||||
@@ -141,10 +141,10 @@ Details
|
||||
|
||||
.. CallbackQuery
|
||||
.. automethod:: CallbackQuery.answer()
|
||||
.. automethod:: CallbackQuery.edit_text()
|
||||
.. automethod:: CallbackQuery.edit_caption()
|
||||
.. automethod:: CallbackQuery.edit_media()
|
||||
.. automethod:: CallbackQuery.edit_reply_markup()
|
||||
.. automethod:: CallbackQuery.edit_message_text()
|
||||
.. automethod:: CallbackQuery.edit_message_caption()
|
||||
.. automethod:: CallbackQuery.edit_message_media()
|
||||
.. automethod:: CallbackQuery.edit_message_reply_markup()
|
||||
|
||||
.. InlineQuery
|
||||
.. automethod:: InlineQuery.answer()
|
||||
|
Reference in New Issue
Block a user