github.com/gotd/td/tg.ChatClassArray.AsChannel (method)

one use

	github.com/gotd/td/tg (current package)
		tl_chat_slices_gen.go#L245: func (s ChatClassArray) AsChannel() (to ChannelArray) {