The current plugin's IRCPluginState, via which to send messages to the server.
Channel whose topic to change.
Topic body text.
Custom message properties, such as Message.Property.quiet and Message.Property.forced.
String name of the calling function, or something else that gives context.
IRCPluginState state; state.mainThread = thisTid; topic(state, "#channel", "content"); receive( (Message m) { with (m.event) { assert((type == IRCEvent.Type.TOPIC), Enum!(IRCEvent.Type).toString(type)); assert((channel == "#channel"), channel); assert((content == "content"), content); assert(m.properties == Message.Property.init); } } );
Sets the topic of a channel.