Пример #1
0
        public void InviteUser(string account)
        {
            this.socket.NotNull();
            account.NotEmpty();

            PackageRequest request = new ChatInvitationRequest(account);

            NotificationServerRedirectionResponse response = this.socket.SendAndBlock(request) as NotificationServerRedirectionResponse;
        }
Пример #2
0
        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)
        }