MessagingProxy.privmsg

Sends either a channel message or a private query message depending on the arguments passed to it.

This reflects how channel messages and private messages are both the underlying same type; dialect.defs.IRCEvent.Type.PRIVMSG.

mixintemplate MessagingProxy(Flag!"debug_" debug_ = No.debug_)
private pragma(inline, true)
void
privmsg
(
const string channel
,
const string nickname
,
const string content
,,
const string caller = __FUNCTION__
)