public static string RemoveWebHook() { var request = WebHookRequest.Create(""); var response = Utils.SendRequest <WebHookRequest>(Utils.set_webhook, request); return(response); }
public static string SetWebHook() { var request = WebHookRequest.Create(BotSettings.WebHookUrl); var response = Utils.SendRequest <WebHookRequest>(Utils.set_webhook, request); return(response); }