code: func HandleDownloadData(logger *logrus.Entry, msg *config.Message, name, comment, url string, data *[]byte, general *config.Protocol) {
  	var avatar bool
  	logger.Debugf("Download OK %#v %#v", name, len(*data))
  	if msg.Event == config.EventAvatarDownload {
  		avatar = true
  	}
  	msg.Extra["file"] = append(msg.Extra["file"], config.FileInfo{
  		Name:    name,
  		Data:    data,
  		URL:     url,
  		Comment: comment,
  		Avatar:  avatar,
  	})
  }
docs: // HandleDownloadData adds the data for a remote file into a Matterbridge gateway message.