github.com/gotd/td/tg.DocumentClassArray.PopAsNotEmpty (method)

one use

	github.com/gotd/td/tg (current package)
		tl_document_slices_gen.go#L260: func (s *DocumentClassArray) PopAsNotEmpty() (v *Document, ok bool) {