mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Remove type in InlineQueryResultGame.
This commit is contained in:
parent
e342b9fa6b
commit
7a6bb4dcc8
@ -1471,8 +1471,8 @@ class InlineQueryResultCachedAudio(BaseInlineQueryResultCached):
|
|||||||
# Games
|
# Games
|
||||||
|
|
||||||
class InlineQueryResultGame(JsonSerializable):
|
class InlineQueryResultGame(JsonSerializable):
|
||||||
def __init__(self, type, id, game_short_name, reply_markup=None):
|
def __init__(self, id, game_short_name, reply_markup=None):
|
||||||
self.type = type
|
self.type = 'game'
|
||||||
self.id = id
|
self.id = id
|
||||||
self.game_short_name = game_short_name
|
self.game_short_name = game_short_name
|
||||||
self.reply_markup = reply_markup
|
self.reply_markup = reply_markup
|
||||||
|
Loading…
Reference in New Issue
Block a user