github.com/gotd/td/tg.EncryptedChatClassArray.AsEncryptedChat (method)

one use

	github.com/gotd/td/tg (current package)
		tl_encrypted_chat_slices_gen.go#L245: func (s EncryptedChatClassArray) AsEncryptedChat() (to EncryptedChatArray) {