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: codec_schema.tl.pb.go
    path of file: ./repos/teamgram-server/app/service/idgen/idgen
    
    the code of the file until where you have to start completion: /*
 * WARNING! All changes made in this file will be lost!
 * Created from 'scheme.tl' by 'mtprotoc'
 *
 * Copyright (c) 2022-present,  Teamgram Authors.
 *  All
    
func (m *TLIdgenNextIds) Encode(x *mtproto.EncodeBuf, layer int32) error {
	switch uint32(m.Constructor) {
	case 0x47c56fae:
		x.UInt(0x47c56fae)

		// no flags

		x.Int(m.GetNum())

	default:
		// log.Errorf("")
	}

	return nil
}