public int JoinGroup(int friendNumber, byte[] data) { ThrowIfDisposed(); if (data == null) throw new ArgumentNullException("data"); return ToxFunctions.JoinGroupchat(_tox, friendNumber, data, (ushort)data.Length); }