Exemplo n.º 1
0
        public async Task TestKick(PitayaSession pitayaSession)
        {
            var ok = await pitayaSession.Kick();

            if (!ok)
            {
                Logger.Error("kick user failed!");
            }
        }
Exemplo n.º 2
0
 public async Task TestKick(PitayaSession pitayaSession)
 {
     try
     {
         await pitayaSession.Kick();
     }
     catch (Exception e)
     {
         Logger.Error($"kick user failed! {e}");
     }
 }