Method: TelegramBot::Update#to_body

Defined in:
lib/telegram-bot/models/update.rb

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



403
404
405
# File 'lib/telegram-bot/models/update.rb', line 403

def to_body
  to_hash
end