code: def stop_message_live_location(chat_id=None, message_id=None, inline_message_id=None, reply_markup=None,
                                 **kwargs):
      
  
      if not chat_id and not message_id and not inline_message_id:
          raise ValueError("Must specify chat_id and message_id or inline_message_id")
      if (chat_id and not message_id) or (not chat_id and message_id):
          raise ValueError("Must specify chat_id and message_id together")
  
      # optional args
      params = dict(
          _clean_params(
              chat_id=chat_id,
              message_id=message_id,
              inline_message_id=inline_message_id,
              reply_markup=reply_markup,
          )
      )
  
      return TelegramBotRPCRequest('stopMessageLiveLocation', params=params, on_result=Message.from_result, **kwargs)
docs: Use this method to stop updating a live location message sent by the bot or via the bot (for inline bots) before
      live_period expires.
      On success, if the message was sent by the bot, the sent Message is returned, otherwise True is returned.
  
  
      :param chat_id: Unique identifier for the target chat or username of the target channel (in the format @channelusername)
      :param message_id: Required if inline_message_id is not specified. Identifier of the sent message
      :param inline_message_id: Required if chat_id and message_id are not specified. Identifier of the inline message
      :param reply_markup: Additional interface options. A JSON-serialized object for a
                           custom reply keyboard, instructions to hide keyboard or to
                           force a reply from the user.
      :param kwargs: Args that get passed down to :class:`TelegramBotRPCRequest`
  
      :type chat_id: int or str
      :type message_id: Integer
      :type inline_message_id: string
      :type reply_markup: ReplyKeyboardMarkup or ReplyKeyboardHide or ForceReply
  
      :returns: On success, if the edited message was sent by the bot, the edited Message is returned, otherwise True is returned.
      :rtype:  TelegramBotRPCRequest or Bool