Skip to content

Commit 6c2ca60

Browse files
author
Pietro Albini
committed
Fix wrongly named method in the API docs
1 parent bea33ea commit 6c2ca60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/bot.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ components.
301301

302302
:return: A frozen instance of the current bot.
303303

304-
.. py:method:: edit(chat, message, text, [syntax=None, preview=True, extra=None])
304+
.. py:method:: edit_message(chat, message, text, [syntax=None, preview=True, extra=None])
305305
306306
With this method you can edit the text of a message the user already
307307
received. This allows you to do a lot of interesting things, like

0 commit comments

Comments
 (0)