title: Sending messages to groups using SignalR Core
body: <p>This is my first implementation of <code>SignalR</code> and I'm starting with <code>SignalR Core</code> so some of the examples and documentation don't seem to apply to the new version.</p>
  
  <p>My objective is to send the received message to a particular chat room. I understand this could be achieved using <code>Groups</code>.</p>
  
  <p>First question: I'm not seeing a way to check if a connection is already in a group. Do I NOT need to check if a connection is already in the <code>Group</code>? I receive a <code>ChatRoomId</code> with each message so I can easily add the user/connection to a <code>Group</code>. I just want to know if I need to check whether or not the connection is already a member of group.</p>
  
  <p>Second question: I want to exclude the sender from receiving the broadcast of his own message. Looks like <code>OthersInGroup</code> has been removed from <code>SignalR Core</code>. How do I exclude the sender if I'm sending the message to a <code>Group</code>?</p>
  
  <p>These are the options I'm getting from IntelliSense:</p>
  
  <p><a href="https://i.stack.imgur.com/Hd1TC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hd1TC.png" alt="enter image description here"></a></p>