You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: web.go
    path of file: ./repos/td/telegram/downloader
    
    the code of the file until where you have to start completion: package downloader

import (
	"context"

	"github.com/go-faster/errors"

	"github.com/gotd/td/tg"
)

var errHashesNotSupported = errors.New("this schema does not support hashes fetch")

// web is a web file download schema.
// See https://core.t
    
func (w web) Chunk(ctx context.Context, offset int64, limit int) (chunk, error) {
	file, err := w.client.UploadGetWebFile(ctx, &tg.UploadGetWebFileRequest{
		Location: w.location,
		Offset:   int(offset),
		Limit:    limit,
	})
	if err != nil {
		return chunk{}, err
	}

	return chunk{data: file.Bytes, tag: file.FileType}, nil
}