зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-09-03 09:46:17 +03:00
Сравнить коммиты
4 Коммитов
| Автор | SHA1 | Дата | |
|---|---|---|---|
|
|
533d84c9ce | ||
|
|
7ddebcb1e2 | ||
|
|
e7b7e2a219 | ||
|
|
7a34c0aa88 |
@@ -1,5 +1,10 @@
|
|||||||
# Unreleased
|
# Unreleased
|
||||||
|
|
||||||
|
# 0.16.3
|
||||||
|
|
||||||
|
- Update to Bot API 7.7
|
||||||
|
- Added `pre_checkout_query` to PAYLOAD_TYPES
|
||||||
|
|
||||||
# 0.16.2
|
# 0.16.2
|
||||||
|
|
||||||
- Update to Bot API 7.3
|
- Update to Bot API 7.3
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Generated with bin/fetch-telegram-methods
|
# Generated with bin/fetch-telegram-methods
|
||||||
# Bot API 7.3
|
# Bot API 7.7
|
||||||
|
|
||||||
getUpdates
|
getUpdates
|
||||||
setWebhook
|
setWebhook
|
||||||
@@ -21,6 +21,7 @@ sendVideo
|
|||||||
sendAnimation
|
sendAnimation
|
||||||
sendVoice
|
sendVoice
|
||||||
sendVideoNote
|
sendVideoNote
|
||||||
|
sendPaidMedia
|
||||||
sendMediaGroup
|
sendMediaGroup
|
||||||
sendLocation
|
sendLocation
|
||||||
sendVenue
|
sendVenue
|
||||||
@@ -123,6 +124,8 @@ sendInvoice
|
|||||||
createInvoiceLink
|
createInvoiceLink
|
||||||
answerShippingQuery
|
answerShippingQuery
|
||||||
answerPreCheckoutQuery
|
answerPreCheckoutQuery
|
||||||
|
getStarTransactions
|
||||||
|
refundStarPayment
|
||||||
|
|
||||||
setPassportDataErrors
|
setPassportDataErrors
|
||||||
|
|
||||||
|
|||||||
@@ -112,6 +112,7 @@ module Telegram
|
|||||||
chat_join_request
|
chat_join_request
|
||||||
chat_boost
|
chat_boost
|
||||||
removed_chat_boost
|
removed_chat_boost
|
||||||
|
pre_checkout_query
|
||||||
].freeze)
|
].freeze)
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
module Telegram
|
module Telegram
|
||||||
module Bot
|
module Bot
|
||||||
VERSION = '0.16.2'
|
VERSION = '0.16.3'
|
||||||
|
|
||||||
def self.gem_version
|
def self.gem_version
|
||||||
Gem::Version.new VERSION
|
Gem::Version.new VERSION
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ RSpec.describe Telegram::Bot::UpdatesController::TypedUpdate do
|
|||||||
message_reaction_count
|
message_reaction_count
|
||||||
chat_boost
|
chat_boost
|
||||||
removed_chat_boost
|
removed_chat_boost
|
||||||
|
pre_checkout_query
|
||||||
]).
|
]).
|
||||||
map { |x| [x, Telegram::Bot::Types.const_get(x.camelize)] }.to_h.
|
map { |x| [x, Telegram::Bot::Types.const_get(x.camelize)] }.to_h.
|
||||||
merge(
|
merge(
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ RSpec.describe Telegram::Bot::UpdatesController do
|
|||||||
callback_query
|
callback_query
|
||||||
poll_answer
|
poll_answer
|
||||||
chat_join_request
|
chat_join_request
|
||||||
|
pre_checkout_query
|
||||||
]
|
]
|
||||||
(described_class::PAYLOAD_TYPES - custom_payload_types).each do |type|
|
(described_class::PAYLOAD_TYPES - custom_payload_types).each do |type|
|
||||||
context "when payload is #{type}" do
|
context "when payload is #{type}" do
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user