Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bot commands to API 7.0 #228

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Unreleased

# 0.16.2

- Update to Bot API 7.0
- Add `# frozen_string_literal: true` to all source files.

# 0.16.1
Expand Down
7 changes: 6 additions & 1 deletion lib/telegram/bot/client/api_methods.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Generated with bin/fetch-telegram-methods
# Bot API 6.8
# Bot API 7.0

getUpdates
setWebhook
Expand All @@ -11,7 +11,9 @@ logOut
close
sendMessage
forwardMessage
forwardMessages
copyMessage
copyMessages
sendPhoto
sendAudio
sendDocument
Expand All @@ -26,6 +28,7 @@ sendContact
sendPoll
sendDice
sendChatAction
setMessageReaction
getUserProfilePhotos
getFile
banChatMember
Expand Down Expand Up @@ -70,6 +73,7 @@ hideGeneralForumTopic
unhideGeneralForumTopic
unpinAllGeneralForumTopicMessages
answerCallbackQuery
getUserChatBoosts
setMyCommands
deleteMyCommands
getMyCommands
Expand All @@ -92,6 +96,7 @@ stopMessageLiveLocation
editMessageReplyMarkup
stopPoll
deleteMessage
deleteMessages

sendSticker
getStickerSet
Expand Down
2 changes: 1 addition & 1 deletion lib/telegram/bot/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module Telegram
module Bot
VERSION = '0.16.1'
VERSION = '0.16.2'

def self.gem_version
Gem::Version.new VERSION
Expand Down