From 234785d9f1ab79f44940d84493a67cd734ac6b32 Mon Sep 17 00:00:00 2001 From: Wizou <11647984+wiz0u@users.noreply.github.com> Date: Mon, 12 Aug 2024 18:33:12 +0200 Subject: [PATCH] fix links in migrate/* --- src/3/updates/webhook.md | 2 +- src/migrate/Version-17.x.md | 4 ++-- src/migrate/Version-21.x.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/3/updates/webhook.md b/src/3/updates/webhook.md index b7b3432..90ab742 100644 --- a/src/3/updates/webhook.md +++ b/src/3/updates/webhook.md @@ -2,7 +2,7 @@ [![Webhook guide](https://img.shields.io/badge/Bot_API-Webhook%20guide-blue.svg?style=flat-square)](https://core.telegram.org/bots/webhooks) -With Webhook, your application gets notified automatically by Telegram when new updates arrive for your bot. +With Webhook, your web application gets notified automatically by Telegram when new updates arrive for your bot. Your application will receive HTTP POST requests with an Update structure in the body, using specific JSON serialization settings `Telegram.Bot.JsonBotAPI.Options`. diff --git a/src/migrate/Version-17.x.md b/src/migrate/Version-17.x.md index 367c626..d6c76e0 100644 --- a/src/migrate/Version-17.x.md +++ b/src/migrate/Version-17.x.md @@ -70,7 +70,7 @@ catch (OperationCancelledException exception) ## Removal of events -In v17 we removed events and introduced a new way of getting updates with [Telegram.Bot.Extensions.Polling] package. You can find an example in [First Chat Bot](./1/example-bot.md) article. +In v17 we removed events and introduced a new way of getting updates with [Telegram.Bot.Extensions.Polling] package. You can find an example in [First Chat Bot](../1/example-bot.md) article. ## Removal of API methods from `ITelegramBotClient` interface @@ -105,7 +105,7 @@ Also some default enums values were removed, e.g. `ParseMode.Default` since we s ### Constructor accepting IWebProxy -We removed constructor accepting `IWebProxy`. Now you have to configure HttpClient yourself to use proxy. You can find examples in [Working Behind a Proxy](./4/proxy.md#http-proxy) article. +We removed constructor accepting `IWebProxy`. Now you have to configure HttpClient yourself to use proxy. You can find examples in [Working Behind a Proxy](../4/proxy.md#http-proxy) article. ### InputMediaType diff --git a/src/migrate/Version-21.x.md b/src/migrate/Version-21.x.md index fd7ba76..6c4fd41 100644 --- a/src/migrate/Version-21.x.md +++ b/src/migrate/Version-21.x.md @@ -82,7 +82,7 @@ The library now uses `System.Text.Json` instead of `NewtonsoftJson`. To make it work in your ASP.NET projects, you should now: - Remove package **Microsoft.AspNetCore.Mvc.NewtonsoftJson** from your project dependencies -- Follow our [Webhook page](3/updates/webhook.md) to configure your web app correctly +- Follow our [Webhook page](../3/updates/webhook.md) to configure your web app correctly ## InputPollOption in SendPollAsync