Class: Telegram::Bot::Types::Update
- Defined in:
- lib/telegram/bot/types/update.rb
Instance Method Summary collapse
Methods included from PatternMatching
Methods included from Compactable
Instance Method Details
#current_message ⇒ Object
32 33 34 35 |
# File 'lib/telegram/bot/types/update.rb', line 32 def @current_message ||= Hash[*attributes.find { |k, v| k != :update_id && v }].values.first end |