Class: TD::Types::CurrentWeather

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/current_weather.rb

Overview

Describes the current weather.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#emojiTD::Types::String

Emoji representing the weather.

Returns:

  • (TD::Types::String)

    the current value of emoji



6
7
8
# File 'lib/tdlib/types/current_weather.rb', line 6

def emoji
  @emoji
end

#temperatureFloat

Temperature, in degree Celsius.

Returns:

  • (Float)

    the current value of temperature



6
7
8
# File 'lib/tdlib/types/current_weather.rb', line 6

def temperature
  @temperature
end