github.com/gotd/td/tg.User.AsInputPeer (method)

one use

	github.com/gotd/td/tg (current package)
		tl_user_gen.go#L2000: func (u *User) AsInputPeer() *InputPeerUser {