mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
fix: reply_markup does not change content_type
This commit is contained in:
parent
decad450d0
commit
32a9e65ecc
@ -387,7 +387,6 @@ class Message(JsonDeserializable):
|
||||
content_type = 'passport_data'
|
||||
if 'reply_markup' in obj:
|
||||
opts['reply_markup'] = InlineKeyboardMarkup.de_json(obj['reply_markup'])
|
||||
content_type = 'reply_markup'
|
||||
return cls(message_id, from_user, date, chat, content_type, opts, json_string)
|
||||
|
||||
@classmethod
|
||||
|
Loading…
Reference in New Issue
Block a user