github.com/gotd/td/tg.EncryptedMessageClass.GetChatID (method)

one use

	github.com/gotd/td/tg (current package)
		tl_encrypted_message_gen.go#L546: 	GetChatID() (value int)