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_business_info_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{}
)

// BusinessInfo represents TL type `businessInfo#773c5066`.
type BusinessInfo struct {
	// Location of the business; may be null if none
	Location BusinessLocation
	// Opening hours of the business; may be null if none. The hours are guaranteed to 
    
func (b *BusinessInfo) DecodeTDLibJSON(buf tdjson.Decoder) error {
	if b == nil {
		return fmt.Errorf("can't decode businessInfo#773c5066 to nil")
	}

	return buf.Obj(func(buf tdjson.Decoder, key []byte) error {
		switch string(key) {
		case tdjson.TypeField:
			if err := buf.ConsumeID("businessInfo"); err != nil {
				return fmt.Errorf("unable to decode businessInfo#773c5066: %w", err)
			}
		case "location":
			if err := b.Location.DecodeTDLibJSON(buf); err != nil {
				return fmt.Errorf("unable to decode businessInfo#773c5066: field location: %w", err)
			}
		case "opening_hours":
			if err := b.OpeningHours.DecodeTDLibJSON(buf); err != nil {
				return fmt.Errorf("unable to decode businessInfo#773c5066: field opening_hours: %w", err)
			}
		case "greeting_message_settings":
			if err := b.GreetingMessageSettings.DecodeTDLibJSON(buf); err != nil {
				return fmt.Errorf("unable to decode businessInfo#773c5066: field greeting_message_settings: %w", err)
			}
		case "away_message_settings":
			if err := b.AwayMessageSettings.DecodeTDLibJSON(buf); err != nil {
				return fmt.Errorf("unable to decode businessInfo#773c5066: field away_message_settings: %w", err)
			}
		default:
			return buf.Skip()
		}
		return nil
	})
}