def send_game(self, chat_id, game_short_name, disable_notification=None, reply_to_message_id=None, reply_markup=None):
        """
        Use this method to send a game. On success, the sent Message is returned.

        https://core.telegram.org/bots/api#sendgame

        
        Parameters:
        
        :param chat_id: Unique identifier for the target chat
        :type  chat_id: int
        
        :param game_short_name: Short name of the game, serves as the unique identifier for the game. Set up your games via Botfather.
        :type  game_short_name: str|unicode
        
        
        Optional keyword parameters:
        
        :param disable_notification: Sends the message silently. Users will receive a notification with no sound.
        :type  disable_notification: bool
        
        :param reply_to_message_id: If the message is a reply, ID of the original message
        :type  reply_to_message_id: int
        
        :param reply_markup: A JSON-serialized object for an inline keyboard. If empty, one ‘Play game_title’ button will be shown. If not empty, the first button must launch the game.
        :type  reply_markup: pytgbot.api_types.sendable.reply_markup.InlineKeyboardMarkup
        
        Returns:

        :return: On success, the sent Message is returned
        :rtype:  pytgbot.api_types.receivable.updates.Message
        """
        from pytgbot.api_types.sendable.reply_markup import InlineKeyboardMarkup
        
        assert_type_or_raise(chat_id, int, parameter_name="chat_id")
        
        assert_type_or_raise(game_short_name, unicode_type, parameter_name="game_short_name")
        
        assert_type_or_raise(disable_notification, None, bool, parameter_name="disable_notification")
        
        assert_type_or_raise(reply_to_message_id, None, int, parameter_name="reply_to_message_id")
        
        assert_type_or_raise(reply_markup, None, InlineKeyboardMarkup, parameter_name="reply_markup")
        
        result = self.do("sendGame", chat_id=chat_id, game_short_name=game_short_name, disable_notification=disable_notification, reply_to_message_id=reply_to_message_id, reply_markup=reply_markup)
        if self.return_python_objects:
            logger.debug("Trying to parse {data}".format(data=repr(result)))
            from pytgbot.api_types.receivable.updates import Message
            try:
                return Message.from_array(result)
            except TgApiParseException:
                logger.debug("Failed parsing as api_type Message", exc_info=True)
            # end try
            # no valid parsing so far
            raise TgApiParseException("Could not parse result.")  # See debug log for details!
        # end if return_python_objects
        return result
def send_game ( self , chat_id , game_short_name , disable_notification = None , reply_to_message_id = None , reply_markup = None ) : from pytgbot . api_types . sendable . reply_markup import InlineKeyboardMarkup assert_type_or_raise ( chat_id , int , parameter_name = "chat_id" ) assert_type_or_raise ( game_short_name , unicode_type , parameter_name = "game_short_name" ) assert_type_or_raise ( disable_notification , None , bool , parameter_name = "disable_notification" ) assert_type_or_raise ( reply_to_message_id , None , int , parameter_name = "reply_to_message_id" ) assert_type_or_raise ( reply_markup , None , InlineKeyboardMarkup , parameter_name = "reply_markup" ) result = self . do ( "sendGame" , chat_id = chat_id , game_short_name = game_short_name , disable_notification = disable_notification , reply_to_message_id = reply_to_message_id , reply_markup = reply_markup ) if self . return_python_objects : logger . debug ( "Trying to parse {data}" . format ( data = repr ( result ) ) ) from pytgbot . api_types . receivable . updates import Message try : return Message . from_array ( result ) except TgApiParseException : logger . debug ( "Failed parsing as api_type Message" , exc_info = True ) raise TgApiParseException ( "Could not parse result." ) return result
Use this method to send a game. On success, the sent Message is returned.

        https://core.telegram.org/bots/api#sendgame

        
        Parameters:
        
        :param chat_id: Unique identifier for the target chat
        :type  chat_id: int
        
        :param game_short_name: Short name of the game, serves as the unique identifier for the game. Set up your games via Botfather.
        :type  game_short_name: str|unicode
        
        
        Optional keyword parameters:
        
        :param disable_notification: Sends the message silently. Users will receive a notification with no sound.
        :type  disable_notification: bool
        
        :param reply_to_message_id: If the message is a reply, ID of the original message
        :type  reply_to_message_id: int
        
        :param reply_markup: A JSON-serialized object for an inline keyboard. If empty, one ‘Play game_title’ button will be shown. If not empty, the first button must launch the game.
        :type  reply_markup: pytgbot.api_types.sendable.reply_markup.InlineKeyboardMarkup
        
        Returns:

        :return: On success, the sent Message is returned
        :rtype:  pytgbot.api_types.receivable.updates.Message