From 380f6686fcbacba91ffd85492f6de274301cbf1a Mon Sep 17 00:00:00 2001 From: Max Melentiev Date: Sat, 12 Mar 2022 19:37:53 +0000 Subject: [PATCH] Update to Bot API 5.7 --- CHANGELOG.md | 3 +++ lib/telegram/bot/client/api_methods.txt | 6 +++++- lib/telegram/bot/version.rb | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6c0c4c..c567bf2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,10 @@ # Unreleased +# 0.15.5 + - Rails 7.0 support. - Fix sending File objects in nested objects in sendMediaGroup. +- Update to Bot API 5.7 # 0.15.4 diff --git a/lib/telegram/bot/client/api_methods.txt b/lib/telegram/bot/client/api_methods.txt index 70a6484..13a68dc 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 5.3 +# Bot API 5.7 getUpdates setWebhook @@ -35,11 +35,15 @@ unbanChatMember restrictChatMember promoteChatMember setChatAdministratorCustomTitle +banChatSenderChat +unbanChatSenderChat setChatPermissions exportChatInviteLink createChatInviteLink editChatInviteLink revokeChatInviteLink +approveChatJoinRequest +declineChatJoinRequest setChatPhoto deleteChatPhoto setChatTitle diff --git a/lib/telegram/bot/version.rb b/lib/telegram/bot/version.rb index f135882..821ffee 100644 --- a/lib/telegram/bot/version.rb +++ b/lib/telegram/bot/version.rb @@ -1,6 +1,6 @@ module Telegram module Bot - VERSION = '0.15.4'.freeze + VERSION = '0.15.5'.freeze def self.gem_version Gem::Version.new VERSION