Skip to content

Commit

Permalink
Update to Bot API 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
printercu committed Nov 28, 2024
1 parent 04dc4a7 commit de0a4cd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Unreleased

- Rails 8.0 support
- Update to Bot API 8.0

# 0.16.4

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 7.9
# Bot API 8.0

getUpdates
setWebhook
Expand Down Expand Up @@ -31,6 +31,7 @@ sendDice
sendChatAction
setMessageReaction
getUserProfilePhotos
setUserEmojiStatus
getFile
banChatMember
unbanChatMember
Expand Down Expand Up @@ -118,16 +119,20 @@ setStickerSetTitle
setStickerSetThumbnail
setCustomEmojiStickerSetThumbnail
deleteStickerSet
getAvailableGifts
sendGift

answerInlineQuery
answerWebAppQuery
savePreparedInlineMessage

sendInvoice
createInvoiceLink
answerShippingQuery
answerPreCheckoutQuery
getStarTransactions
refundStarPayment
editUserStarSubscription

setPassportDataErrors

Expand Down
2 changes: 1 addition & 1 deletion lib/telegram/bot/updates_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,14 @@ class UpdatesController < AbstractController::Base # rubocop:disable Metrics/Cla
callback_query
shipping_query
pre_checkout_query
purchased_paid_media
poll
poll_answer
my_chat_member
chat_member
chat_join_request
chat_boost
removed_chat_boost
pre_checkout_query
].freeze)

class << self
Expand Down

0 comments on commit de0a4cd

Please sign in to comment.