github.com/gotd/td/tg.InputPrivacyRuleBox.Encode (method, view implemented interface methods)

one use

	github.com/gotd/td/tg (current package)
		tl_input_privacy_rule_gen.go#L1297: func (b *InputPrivacyRuleBox) Encode(buf *bin.Buffer) error {