code: async def edit_media(self, media: InputMedia, reply_markup=None):
          
          return await self.bot.edit_message_media(media=media, chat_id=self.chat.id, message_id=self.message_id,
                                                   reply_markup=reply_markup)
docs: Use this method to edit audio, document, photo, or video messages.
          If a message is a part of a message album, then it can be edited only to a photo or a video.
          Otherwise, message type can be changed arbitrarily.
          When inline message is edited, new file can't be uploaded.
          Use previously uploaded file via its file_id or specify a URL.
  
          On success, if the edited message was sent by the bot,
          the edited Message is returned, otherwise True is returned.
  
          Source https://core.telegram.org/bots/api#editmessagemedia
  
          :param media: A JSON-serialized object for a new media content of the message
          :type media: :obj:`types.InputMedia`
          :param reply_markup: A JSON-serialized object for a new inline keyboard
          :type reply_markup: :obj:`typing.Union[types.InlineKeyboardMarkup, None]`
          :return: On success, if the edited message was sent by the bot, the edited Message is returned,
              otherwise True is returned
          :rtype: :obj:`typing.Union[types.Message, base.Boolean]`