зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-08-28 15:26:18 +03:00
Merge branch 'master' into webhook_request
Этот коммит содержится в:
@@ -15,6 +15,7 @@ RSpec.describe Telegram::Bot::UpdatesController::TypedUpdate do
|
||||
edited_channel_post
|
||||
my_chat_member
|
||||
chat_member
|
||||
chat_join_request
|
||||
]).
|
||||
map { |x| [x, Telegram::Bot::Types.const_get(x.camelize)] }.to_h.
|
||||
merge(
|
||||
|
||||
@@ -46,6 +46,7 @@ RSpec.describe Telegram::Bot::UpdatesController do
|
||||
chosen_inline_result
|
||||
callback_query
|
||||
poll_answer
|
||||
chat_join_request
|
||||
]
|
||||
(described_class::PAYLOAD_TYPES - custom_payload_types).each do |type|
|
||||
context "when payload is #{type}" do
|
||||
|
||||
Ссылка в новой задаче
Block a user