From bfb16280b069d2d27172842edb2fd3216943c142 Mon Sep 17 00:00:00 2001 From: ruben Date: Sun, 11 Jun 2023 13:22:48 +0100 Subject: [PATCH] Wiki --- TelegramBots.wiki/Changelog.md | 5 +++++ TelegramBots.wiki/How-To-Update.md | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/TelegramBots.wiki/Changelog.md b/TelegramBots.wiki/Changelog.md index 11922915..cf999b4e 100644 --- a/TelegramBots.wiki/Changelog.md +++ b/TelegramBots.wiki/Changelog.md @@ -1,3 +1,8 @@ +### 6.7.0 ### +1. Update Api version [6.7](https://core.telegram.org/bots/api-changelog#april-21-2023) + +**[[How to update to version 6.7.0|How-To-Update#6.7.0]]** + ### 6.6.0 ### 1. Update Api version [6.6](https://core.telegram.org/bots/api-changelog#march-9-2023) diff --git a/TelegramBots.wiki/How-To-Update.md b/TelegramBots.wiki/How-To-Update.md index edff83fd..15940d46 100644 --- a/TelegramBots.wiki/How-To-Update.md +++ b/TelegramBots.wiki/How-To-Update.md @@ -1,3 +1,10 @@ +### To version 6.7.0 ### +1. Api methods with thumbnails have changed the field, use getThumbnail()/setThumbnail() instead of getThumb()/setThumb() +2. In `AddStickerToSet`/`CreateNewStickerSet`/`UploadStickerFile`/etc, use field `sticker` instead of the deprecated fields. +3. `ChatMember` has more details permissions, use those instead of the legacy general ones. +4. All classes with mandatory fields will lose the default no-arg constructor in the future. +5. In `AnswerInlineQuery`, start using the `button` field instead of deprecated parameters. + ### To version 6.1.0 ### 1. As per API guidelines, FileSize can now have 64 bits size, hence they are now using Long datatype instead of Integer. 2. Methods accept chatId as Long or String.