github.com/gotd/td/tg.PhotoSizeClassArray.AsPhotoSize (method)

one use

	github.com/gotd/td/tg (current package)
		tl_photo_size_slices_gen.go#L133: func (s PhotoSizeClassArray) AsPhotoSize() (to PhotoSizeArray) {