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

one use

	github.com/gotd/td/tg (current package)
		tl_input_peer_gen.go#L322: func (i *InputPeerChat) Encode(b *bin.Buffer) error {