github.com/gotd/td/tg.PhotoSize.Encode (method, view implemented interface methods)

one use

	github.com/gotd/td/tg (current package)
		tl_photo_size_gen.go#L292: func (p *PhotoSize) Encode(b *bin.Buffer) error {