Example #1
0
 public R UploadAvatar(System.IO.Stream stream)
 {
     try { tsBaseClient.UploadAvatar(stream); return(R.OkR); }
     catch (Ts3CommandException ts3ex) { return(ts3ex.ErrorStatus.ErrorFormat()); }
 }
Example #2
0
 public R UploadAvatar(System.IO.Stream stream) => tsBaseClient.UploadAvatar(stream).ToR(Extensions.ErrorFormat);