Skip to content

Commit

Permalink
tests & changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
seorgiy committed Nov 16, 2024
1 parent 191bb95 commit d09bc8e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 2.2.0

### Added

- [Bot API 7.11](https://core.telegram.org/bots/api#october-31-2024)

## 2.1.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion lib/telegram/bot/types/inline_keyboard_button.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ class InlineKeyboardButton < Base
attribute? :switch_inline_query, Types::String
attribute? :switch_inline_query_current_chat, Types::String
attribute? :switch_inline_query_chosen_chat, SwitchInlineQueryChosenChat
attribute? :copy_text, CopyTextButton
attribute? :callback_game, CallbackGame
attribute? :pay, Types::Bool
attribute? :copy_text, CopyTextButton
end
end
end
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,6 +2,6 @@

module Telegram
module Bot
VERSION = '2.1.0'
VERSION = '2.2.0'
end
end
3 changes: 3 additions & 0 deletions spec/support/type_attributes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2011,6 +2011,9 @@ InlineKeyboardButton:
- name: pay
type: Boolean
required: false
- name: copy_text
type: CopyTextButton
required: false
InlineKeyboardMarkup:
- name: inline_keyboard
type: Array of Array of InlineKeyboardButton
Expand Down

0 comments on commit d09bc8e

Please sign in to comment.