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: tl_set_sticker_position_in_set_gen.go
    path of file: ./repos/td/tdapi
    
    the code of the file until where you have to start completion: // Code generated by gotdgen, DO NOT EDIT.

package tdapi

import (
	"context"
	"errors"
	"fmt"
	"sort"
	"strings"

	"go.uber.org/multierr"

	"github.com/gotd/td/bin"
	"github.com/gotd/td/tdjson"
	"github.com/gotd/td/tdp"
	"github.com/gotd/td/tgerr"
)

// No-op definition for keeping imports.
var (
	_ = bin.Buffer{}
	_ = context.Background()
	_ = fmt.Stringer(nil)
	_ = strings.Builder{}
	_ = errors.Is
	_ = multierr.AppendInto
	_ = sort.Ints
	_ = tdp.Format
	_ = tgerr.Error{}
	_ = tdjson.Encoder{}
)

// SetStickerPositionInSetRequest represents TL type `setStickerPositionInSet#7bb24721`.
type SetStickerPositionInSetRequest struct {
	// Sticker
	Sticker InputFileClass
	// New position
    
func (s *SetStickerPositionInSetRequest) DecodeTDLibJSON(b tdjson.Decoder) error {
	if s == nil {
		return fmt.Errorf("can't decode setStickerPositionInSet#7bb24721 to nil")
	}

	return b.Obj(func(b tdjson.Decoder, key []byte) error {
		switch string(key) {
		case tdjson.TypeField:
			if err := b.ConsumeID("setStickerPositionInSet"); err != nil {
				return fmt.Errorf("unable to decode setStickerPositionInSet#7bb24721: %w", err)
			}
		case "sticker":
			value, err := DecodeTDLibJSONInputFile(b)
			if err != nil {
				return fmt.Errorf("unable to decode setStickerPositionInSet#7bb24721: field sticker: %w", err)
			}
			s.Sticker = value
		case "position":
			value, err := b.Int32()
			if err != nil {
				return fmt.Errorf("unable to decode setStickerPositionInSet#7bb24721: field position: %w", err)
			}
			s.Position = value
		default:
			return b.Skip()
		}
		return nil
	})
}