Method: TelegramBot::ChatLocation#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



122
123
124
# File 'lib/telegram-bot/models/chat_location.rb', line 122

def hash
  [location, address].hash
end