Ejemplo n.º 1
0
 public Task UpdateUser(string chatId, Auth auth)
 {
     return(restClient.ExecuteWithAuth <StartProcessResult>($"/PublicAPI/REST/EleWise.ELMA.ELMAHelperBot/Bot/UpdateUser?chatId={chatId}&userId={auth.CurrentUserId}", null, RestSharp.Method.POST, auth));
 }
 public Task <StartProcessResult> StartProcessAsync(StartProcessBody body, Auth auth)
 {
     return(restClient.ExecuteWithAuth <StartProcessResult>($"/api/rest/Workflow/StartProcessAsync", body, RestSharp.Method.POST, auth));
 }