public async Task <SetWebhookResponse> SetWebHookAsync() { string webHook = $"{_webHook}{_viberUrl}"; SetWebhookResponse res = await _viberBotClient.SetWebhookAsync(webHook); return(res); }
// *** Webhook *** *** *** *** *** *** *** *** *** *** *** *** *** *** #region Webhook // *** Webhook/ Viber.Bot +++ +++ +++ +++ +++ #region Webhook. Viber.Bot /// <summary> /// Webhook. Установить /// </summary> public async Task SetWebhookAsync(string webhookUrl) { var result = await _viberBotClient.SetWebhookAsync(webhookUrl); return; }