code: def sendMediaGroup(self, chat_id, media,
                         disable_notification=None,
                         reply_to_message_id=None):
          
          p = _strip(locals(), more=['media'])
          legal_media, files_to_attach = _split_input_media_array(media)
  
          p['media'] = legal_media
          return self._api_request('sendMediaGroup', _rectify(p), files_to_attach)
docs: See: https://core.telegram.org/bots/api#sendmediagroup
  
          :type media: array of `InputMedia <https://core.telegram.org/bots/api#inputmedia>`_ objects
          :param media:
              To indicate media locations, each InputMedia object's ``media`` field
              should be one of these:
  
              - string: ``file_id`` for a file existing on Telegram servers
              - string: HTTP URL of a file from the Internet
              - file-like object: obtained by ``open(path, 'rb')``
              - tuple: (form-data name, file-like object)
              - tuple: (form-data name, (filename, file-like object))
  
              In case of uploading, you may supply customized multipart/form-data
              names for each uploaded file (as in last 2 options above). Otherwise,
              telepot assigns unique names to each uploaded file. Names assigned by
              telepot will not collide with user-supplied names, if any.