docs: def edit_message_text(self, text, chat_id=None, message_id=None, inline_message_id=None, parse_mode=None, disable_web_page_preview=None, reply_markup=None):
          """
          Use this method to edit text and game messages sent by the bot or via the bot (for inline bots). On success, if edited message is sent by the bot, the edited Message is returned, otherwise True is returned.
  
          https://core.telegram.org/bots/api#editmessagetext
  
          
          Parameters:
          
          :param text: New text of the message
          :type  text: str|unicode
          
          
          Optional keyword parameters:
          
          :param chat_id: Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername)
          :type  chat_id: int | str|unicode
          
          :param message_id: Required if inline_message_id is not specified. Identifier of the sent message
          :type  message_id: int
          
          :param inline_message_id: Required if chat_id and message_id are not specified. Identifier of the inline message
          :type  inline_message_id: str|unicode
          
          :param parse_mode: Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message.
          :type  parse_mode: str|unicode
          
          :param disable_web_page_preview: Disables link previews for links in this message
          :type  disable_web_page_preview: bool
          
          :param reply_markup: A JSON-serialized object for an inline keyboard.
          :type  reply_markup: pytgbot.api_types.sendable.reply_markup.InlineKeyboardMarkup
          
          Returns:
  
          :return: On success, if edited message is sent by the bot, the edited Message is returned, otherwise True is returned
          :rtype:  pytgbot.api_types.receivable.updates.Message | bool
          """
          from pytgbot.api_types.sendable.reply_markup import InlineKeyboardMarkup
          
          assert_type_or_raise(text, unicode_type, parameter_name="text")
          
          assert_type_or_raise(chat_id, None, (int, unicode_type), parameter_name="chat_id")
          
          assert_type_or_raise(message_id, None, int, parameter_name="message_id")
          
          assert_type_or_raise(inline_message_id, None, unicode_type, parameter_name="inline_message_id")
          
          assert_type_or_raise(parse_mode, None, unicode_type, parameter_name="parse_mode")
          
          assert_type_or_raise(disable_web_page_preview, None, bool, parameter_name="disable_web_page_preview")
          
          assert_type_or_raise(reply_markup, None, InlineKeyboardMarkup, parameter_name="reply_markup")
          
          result = self.do("editMessageText", text=text, chat_id=chat_id, message_id=message_id, inline_message_id=inline_message_id, parse_mode=parse_mode, disable_web_page_preview=disable_web_page_preview, 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
          
              try:
                  return from_array_list(bool, result, list_level=0, is_builtin=True)
              except TgApiParseException:
                  logger.debug("Failed parsing as primitive bool", 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