mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-09 03:43:47 +01:00
send_game has differnt kwargs.
This commit is contained in:
parent
305ff93018
commit
3754cdafb2
1 changed files with 1 additions and 7 deletions
|
@ -743,12 +743,7 @@ class Bot(TelegramObject):
|
|||
|
||||
@log
|
||||
@message
|
||||
def sendGame(self,
|
||||
chat_id,
|
||||
game_short_name,
|
||||
parse_mode=None,
|
||||
disable_web_page_preview=None,
|
||||
**kwargs):
|
||||
def sendGame(self, chat_id, game_short_name, **kwargs):
|
||||
"""Use this method to send a game.
|
||||
|
||||
Args:
|
||||
|
@ -756,7 +751,6 @@ class Bot(TelegramObject):
|
|||
the format @channelusername).
|
||||
game_short_name (str): Short name of the game, serves as the unique identifier for the
|
||||
game.
|
||||
**kwargs (dict): Arbitrary keyword arguments.
|
||||
|
||||
Keyword Args:
|
||||
disable_notification (Optional[bool]): Sends the message silently. iOS users will not
|
||||
|
|
Loading…
Reference in a new issue