erc-send-input

erc-send-input is a compiled Lisp function in `erc.el'.

(erc-send-input INPUT)

Treat INPUT as typed in by the user. It is assumed that the input
and the prompt is already deleted.
This returns non-nil only if we actually send anything.