lib/telegram/bot/updates_controller.rb in telegram-bot-0.10.0 vs lib/telegram/bot/updates_controller.rb in telegram-bot-0.10.1

- old
+ new

@@ -78,13 +78,15 @@ autoload :TypedUpdate, 'telegram/bot/updates_controller/typed_update' PAYLOAD_TYPES = %w( message + edited_message + channel_post + edited_channel_post inline_query chosen_inline_result callback_query - edited_message ).freeze CMD_REGEX = %r{\A/([a-z\d_]{,31})(@(\S+))?(\s|$)}i CONFLICT_CMD_REGEX = Regexp.new("^(#{PAYLOAD_TYPES.join('|')}|\\d)") class << self