public void InviteUser(string account) { this.socket.NotNull(); account.NotEmpty(); PackageRequest request = new ChatInvitationRequest(account); NotificationServerRedirectionResponse response = this.socket.SendAndBlock(request) as NotificationServerRedirectionResponse; }
public void InviteUserToChatSession(string account) { this.socket.NotNull(); account.NotEmpty(); PackageRequest request = new StartSwitchboardSessionRequest(); NotificationServerRedirectionResponse response = this.socket.SendAndBlock(request) as NotificationServerRedirectionResponse; if (response == null) { Console.WriteLine("Invitation failed"); return; } //Mixer swb = new Mixer(response.Host) }