Skip to content

Commit

Permalink
update for v22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz0u committed Nov 18, 2024
1 parent 67c5446 commit bff1970
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/migrate/Version-22.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
If you're migrating from version 19.x, you might want to read our [migration doc for v21](Version-21.x.md) first.
There were lots of interesting changes in versions v21.x.

We are back on [Nuget.org](https://www.nuget.org/packages/Telegram.Bot/#versions-body-tab)!
And our old nuget feed nuget.voids.site is no more, so please remove this line from your nuget.config file, or from your IDE settings (Package sources)

## ⚠️ Breaking changes

We removed the `Async` suffix from our API method names, and renamed `SendTextMessageAsync` to `SendMessage`.
Expand Down Expand Up @@ -68,3 +71,8 @@ _(if you use this [non-recommended](Version-21.x.md#request-structures) method)_
It can tell you which type of object/media is referenced by a FileId string
- Huge rewrite of our serialization code to make it more performant and straightforward.
- Updated System.Text.Json due to vulnerability [CVE-2024-43485](https://github.com/advisories/GHSA-8g4q-xg66-9fp4)

## What's new in version 22.1

- Support for [Bot API 8.0](https://core.telegram.org/bots/api-changelog#november-17-2024)
- new helper `message.MessageLink()` to get the <u>t.me</u> link to that message (Supergroup and Channel only)

0 comments on commit bff1970

Please sign in to comment.