From db8bc73354d0c30ba4b4e39ff5353da90934abb5 Mon Sep 17 00:00:00 2001 From: mario_amazing Date: Sat, 30 Dec 2023 18:09:37 +0300 Subject: [PATCH] Update bot commands to API 7.0 --- CHANGELOG.md | 4 ++++ lib/telegram/bot/client/api_methods.txt | 7 ++++++- lib/telegram/bot/version.rb | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48958dc..adc89f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Unreleased +# 0.16.2 + +- Update to Bot API 7.0 + # 0.16.1 - Fix logger in poller mode in rails 7.1 diff --git a/lib/telegram/bot/client/api_methods.txt b/lib/telegram/bot/client/api_methods.txt index 42e42e3..fd5a489 100644 --- a/lib/telegram/bot/client/api_methods.txt +++ b/lib/telegram/bot/client/api_methods.txt @@ -1,5 +1,5 @@ # Generated with bin/fetch-telegram-methods -# Bot API 6.8 +# Bot API 7.0 getUpdates setWebhook @@ -11,7 +11,9 @@ logOut close sendMessage forwardMessage +forwardMessages copyMessage +copyMessages sendPhoto sendAudio sendDocument @@ -26,6 +28,7 @@ sendContact sendPoll sendDice sendChatAction +setMessageReaction getUserProfilePhotos getFile banChatMember @@ -70,6 +73,7 @@ hideGeneralForumTopic unhideGeneralForumTopic unpinAllGeneralForumTopicMessages answerCallbackQuery +getUserChatBoosts setMyCommands deleteMyCommands getMyCommands @@ -92,6 +96,7 @@ stopMessageLiveLocation editMessageReplyMarkup stopPoll deleteMessage +deleteMessages sendSticker getStickerSet diff --git a/lib/telegram/bot/version.rb b/lib/telegram/bot/version.rb index d678e4f..564f2d0 100644 --- a/lib/telegram/bot/version.rb +++ b/lib/telegram/bot/version.rb @@ -1,6 +1,6 @@ module Telegram module Bot - VERSION = '0.16.1'.freeze + VERSION = '0.16.2'.freeze def self.gem_version Gem::Version.new VERSION