X Tutup
Skip to content

Commit 3754cda

Browse files
committed
send_game has differnt kwargs.
1 parent 305ff93 commit 3754cda

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

telegram/bot.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -743,20 +743,14 @@ def sendContact(self, chat_id, phone_number, first_name, last_name=None, **kwarg
743743

744744
@log
745745
@message
746-
def sendGame(self,
747-
chat_id,
748-
game_short_name,
749-
parse_mode=None,
750-
disable_web_page_preview=None,
751-
**kwargs):
746+
def sendGame(self, chat_id, game_short_name, **kwargs):
752747
"""Use this method to send a game.
753748
754749
Args:
755750
chat_id: Unique identifier for the target chat or username of the target channel (in
756751
the format @channelusername).
757752
game_short_name (str): Short name of the game, serves as the unique identifier for the
758753
game.
759-
**kwargs (dict): Arbitrary keyword arguments.
760754
761755
Keyword Args:
762756
disable_notification (Optional[bool]): Sends the message silently. iOS users will not

0 commit comments

Comments
 (0)
X Tutup