IrcClient.send

Send lines of chat to a channel or user. Each line in message is sent as one _message. Lines exceeding the IRC _message length limit will be split up into multiple messages.

  1. void send(in char[] target, in char[] message)
  2. void send(in char[] target, Range message)
    class IrcClient
    void
    send
    (
    Range
    )
    (
    in char[] target
    ,
    Range message
    )
    if (
    isInputRange!Range &&
    isSomeChar!(ElementType!Range)
    )

Parameters

target
Type: char[]

channel or nick name to send to

message
Type: Range

_message(s) to send. Can contain multiple lines.

Throws

$(DPREF exception, UnconnectedClientException) if this client is not connected.

Meta