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

Added parse_mode argument

This commit is contained in:
Kondra007 2015-09-08 19:35:46 +03:00
parent e4bb2ff4f9
commit b6812f5456

View File

@ -202,11 +202,12 @@ class TeleBot:
:param disable_web_page_preview:
:param reply_to_message_id:
:param reply_markup:
:param parse_mode: if set to Markdown, tries to parse message as Markdown text
:return: API reply.
"""
return types.Message.de_json(
apihelper.send_message(self.token, chat_id, text, disable_web_page_preview, reply_to_message_id,
reply_markup))
reply_markup, parse_mode))
def forward_message(self, chat_id, from_chat_id, message_id):
"""