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

#emoji ⇒ TD::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

#temperature ⇒ Float

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