Skip to content

Commit

Permalink
fix links in migrate/*
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz0u committed Aug 12, 2024
1 parent 0672c5a commit 234785d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/3/updates/webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
4 changes: 2 additions & 2 deletions src/migrate/Version-17.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/migrate/Version-21.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 234785d

Please sign in to comment.