pub enum MessageTarget {
Client(ClientId),
Channel,
Server,
}
Expand description
Target for message sending
Variants
Client(ClientId)
Tuple Fields
0: ClientId
Send to client
Channel
Send to current channel of this client. You have to join the channel you want to send a message to.
Server
Send to whole server