1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fix typo.

This commit is contained in:
eternnoir 2016-04-23 01:21:45 +08:00
parent 5b234920c7
commit 84257b6ba9
2 changed files with 3 additions and 3 deletions

View File

@ -484,9 +484,9 @@ class TeleBot:
return result return result
return types.Message.de_json(result) return types.Message.de_json(result)
def edit_message_replay_markup(self, chat_id=None, message_id=None, inline_message_id=None, reply_markup=None): def edit_message_reply_markup(self, chat_id=None, message_id=None, inline_message_id=None, reply_markup=None):
return types.Message.de_json( return types.Message.de_json(
apihelper.edit_message_replay_markup(self.token, chat_id, message_id, inline_message_id, reply_markup) apihelper.edit_message_reply_markup(self.token, chat_id, message_id, inline_message_id, reply_markup)
) )
def edit_message_caption(self, caption, chat_id=None, message_id=None, inline_message_id=None, reply_markup=None): def edit_message_caption(self, caption, chat_id=None, message_id=None, inline_message_id=None, reply_markup=None):

View File

@ -361,7 +361,7 @@ def edit_message_caption(token, caption, chat_id=None, message_id=None, inline_m
return _make_request(token, method_url, params=payload) return _make_request(token, method_url, params=payload)
def edit_message_replay_markup(token, chat_id=None, message_id=None, inline_message_id=None, reply_markup=None): def edit_message_reply_markup(token, chat_id=None, message_id=None, inline_message_id=None, reply_markup=None):
method_url = r'editMessageReplyMarkup' method_url = r'editMessageReplyMarkup'
payload = {} payload = {}
if chat_id: if chat_id: