github.com/gotd/td/tg.PhotoSizeArray.Retain (method)

one use

	github.com/gotd/td/tg (current package)
		tl_photo_size_slices_gen.go#L354: func (s PhotoSizeArray) Retain(keep func(x PhotoSize) bool) PhotoSizeArray {