mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Fix InlineQueryResultGame replymarkup do not to_dic.
This commit is contained in:
parent
2e8151cb7d
commit
e342b9fa6b
@ -1480,7 +1480,7 @@ class InlineQueryResultGame(JsonSerializable):
|
|||||||
def to_json(self):
|
def to_json(self):
|
||||||
json_dic = {'type': self.type, 'id': self.id, 'game_short_name': self.game_short_name}
|
json_dic = {'type': self.type, 'id': self.id, 'game_short_name': self.game_short_name}
|
||||||
if self.reply_markup:
|
if self.reply_markup:
|
||||||
json_dic['reply_markup'] = self.reply_markup
|
json_dic['reply_markup'] = self.reply_markup.to_dic()
|
||||||
return json.dumps(json_dic)
|
return json.dumps(json_dic)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user