static void ShowDeleteRes(DelRes res)
 {
     if (res != null)
     {
         Console.WriteLine($"ok: {res.ok}");
     }
 }
    static async Task <DelRes> DeleteMsgAsync(string path)
    {
        DelRes res = null;
        HttpResponseMessage response = await client.GetAsync(path);

        if (response.IsSuccessStatusCode)
        {
            res = await response.Content.ReadAsAsync <DelRes>();
        }
        return(res);
    }