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

one use

	github.com/gotd/td/tg (current package)
		tl_input_invoice_slices_gen.go#L178: func (s InputInvoiceMessageArray) Retain(keep func(x InputInvoiceMessage) bool) InputInvoiceMessageArray {